:root{
  --bg:#f8f6f2; --paper:#ffffff; --ink:#1d1b19; --muted:#645e56;
  --green:#0e3b2e; --green-2:#164b3a; --gold:#c7a36a; --border:#e6e0d6;
}
*{box-sizing:border-box} html,body{margin:0;padding:0;background:var(--bg);color:var(--ink)}
body{font-family:Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6}
h1,h2,h3,.brand{font-family:'Playfair Display',Georgia,serif}
a{color:var(--green);text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(1100px,92vw);margin:0 auto}
/*.site-header{background:var(--paper);border-bottom:1px solid var(--border)}*/

/* --- Rifle-style nav --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eee5da;
  padding: 1.2rem 0;
}

.main-nav a {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: #4a453f;
}

.main-nav a:hover {
  color: #b58a6a; /* Warm gold-rose accent */
}

.nav{display:flex;justify-content:space-between;align-items:center;padding:1rem 0}
.brand{font-weight:700;color:var(--green);font-size:1.25rem}
.main-nav a{margin-left:1rem;font-weight:600;color:var(--ink)}
.main-nav .cart-link span{background:var(--green);color:#fff;border-radius:999px;padding:.05rem .5rem;margin-left:.35rem}
.hero{padding:5rem 0 2rem}
.hero .lead{color:var(--muted);max-width:60ch}
.btn{display:inline-block;border:1px solid var(--green);padding:.6rem 1rem;border-radius:999px;color:var(--green);font-weight:600}
.btn:hover{background:#f0eee9}
.btn-primary{background:var(--green);border-color:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-2)}
.btn-danger{border-color:#b23; color:#b23}
.full{display:block;width:100%;text-align:center}
.page-head{padding:2rem 0 1rem;border-bottom:1px solid var(--border);margin-bottom:1.5rem}
.grid{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));margin:1.5rem 0}
.card{background:var(--paper);border:1px solid var(--border);border-radius:12px;box-shadow:0 1px 0 rgba(0,0,0,.03)}
.card-body{padding:1rem}
.book-card img{width:100%;height:280px;object-fit:cover;border-bottom:1px solid var(--border)}
.row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.5rem}
.muted{color:var(--muted)}
.price{font-weight:700}
.tag{display:inline-block;background:#f1ede6;border:1px solid var(--border);color:#5a5143;padding:.15rem .5rem;border-radius:999px;font-size:.8rem}
.select,input,textarea{width:100%;padding:.6rem;border:1px solid var(--border);border-radius:10px;background:var(--paper)}
.cart-list .item{display:flex;gap:.75rem;align-items:center;padding:.75rem 0;border-bottom:1px solid var(--border)}
.thumb{width:64px;height:84px;object-fit:cover;border-radius:6px;border:1px solid var(--border)}
.controls button{border:1px solid var(--border);background:var(--paper);padding:.25rem .5rem;border-radius:6px}
.cart-summary .total{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:.75rem;margin-top:.75rem;font-weight:700}
.checkout{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:880px){.checkout{grid-template-columns:1fr 1fr}}

/* --- Boutique Footer --- */
.site-footer {
  background: #fffdf8;
  border-top: 1px solid #eee4d7;
  padding: 4rem 0 2rem;
  text-align: center;
}

.site-footer .brand {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2f2a26;
  margin-bottom: 0.5rem;
}

.site-footer .muted {
  color: #7b746d;
  font-size: 0.9rem;
}

.foot-links a {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0.3rem 0;
  color: #5a524b;
}

.foot-links a:hover {
  color: #b58a6a;
}

/*.site-footer{margin-top:3rem;padding:2rem 0;background:var(--paper);border-top:1px solid var(--border)}*/
.footer-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:1rem}
@media(min-width:720px){.footer-grid{grid-template-columns:2fr 1fr}}
/*.foot-links a{display:block;color:var(--ink);margin:.15rem 0}*/
.table{width:100%;border-collapse:collapse}
.table th,.table td{border:1px solid var(--border);padding:.5rem;text-align:left;font-size:.92rem}
.form-grid{display:grid;gap:.75rem;grid-template-columns:1fr}
@media(min-width:720px){.form-grid{grid-template-columns:1fr 1fr}}
.alert{padding:.75rem 1rem;border:1px solid var(--border);border-radius:10px;background:#fffbe6}


/* Product Grid */
#shop-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

/* Product Card */
.product-card {
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow .2s;
}

.product-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* Product Image */
.product-card img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Product Title */
.product-card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

/* Description */
.product-card p {
  font-size: .9rem;
  color: #666;
}

/* Button */
.product-card button {
  margin-top: 12px;
  padding: 10px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
}

.product-card button:hover {
  background: #444;
}


.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #0c3924;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

.image-wrap {
  position: relative;
}

.size-select {
  margin: 8px 0;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

.delivery {
  font-size: .85rem;
  color: #777;
  margin-bottom: .5rem;
}

.quick-view {
  background: #fff;
  border: 1px solid #0c3924;
  color: #0c3924;
  margin-top: 6px;
  padding: .6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .85rem;
}

.quick-view:hover {
  background: #0c3924;
  color: #fff;
}

/* Toast (add-to-cart animation) */

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0c3924;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 2000;
}

.toast.show {
  opacity: 1;
}


.modal {
  display:none;
  position:fixed;
  z-index:3000;
  left:0; top:0; width:100%; height:100%;
  background:rgba(0,0,0,0.5);
  justify-content:center;
  align-items:center;
}

.modal-content {
  background:#fff;
  padding:20px;
  border-radius:10px;
  text-align:center;
  max-width:400px;
}

.modal img {
  width:100%;
  max-height:240px;
  object-fit:cover;
  border-radius:8px;
}

.close {
  float:right;
  font-size:24px;
  cursor:pointer;
}

/* PICKS GRID */
#picks-list {
  max-width: 900px;           /* fits 2 books per row on desktop */
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}


/* PICK CARD */
.pick-card img {
  width: 100%;
  height: 320px;              /* taller — like a book cover */
  object-fit: cover;          /* crop nicely */
  object-position: top;       /* show top of cover first */
  border-radius: 8px;
  margin-bottom: 1rem;
}


/* PICK IMAGE */
.pick-card img {
  width: 100%;
  height: 260px; /* controls size */
  object-fit: cover; /* crop nicely */
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

/* TEXT */
.pick-card h3 {
  font-size: 1.1rem;
  margin: 0.4rem 0;
}

.pick-card .author {
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.pick-card .date {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.6rem;
}

.pick-card .blurb {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.35;
}

.pick-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.year-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: #222;
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.pick-card img {
  height: 280px; /* book cover shape */
  width: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 6px;
}

.pick-card {
  transition: transform .2s ease, box-shadow .2s ease;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
}

.pick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}



.short-blurb {
  overflow: hidden;
  max-height: 60px;
  display: block;
}

.short-blurb.expanded {
  max-height: 900px; /* plenty */
}

.read-more-btn {
  background: none;
  color: #7a5335;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* Page transition */
.page-transition {
  opacity: 0;
  transition: opacity .35s ease;
}

.page-visible {
  opacity: 1;
}



/* ---- Rifle Paper Style Page Header ---- */
.page-head {
  background: #fff9f3;
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid #f2e7da;
  margin-bottom: 3rem;
}

.page-head h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #2b2623;
  margin-bottom: 0.5rem;
}

.page-head p {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  color: #665c54;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-head::before {
  content: "✿";
  display: block;
  font-size: 1rem;
  color: #d6b89c;
  margin: 0 auto 0.6rem;
  opacity: 0.75;
}


/* --- Stationery Buttons --- */
button, .btn {
  background: #d9c2a3;
  border: 1px solid #bca387;
  color: #2d251f;
  font-family: "Inter", sans-serif;
  padding: 0.7rem 1.4rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  border-radius: 3px;
  transition: 0.2s ease;
}

button:hover, .btn:hover {
  background: #c3a582;
  border-color: #9e8669;
  cursor: pointer;
}


/* === Hero Section === */
.hero {
  background: url('https://i.pinimg.com/originals/2b/60/00/2b6000a42b3d2d25a8c0b0dcb416dc94.jpg')
    center/cover;
  padding: 8rem 1rem;
  text-align: center;
  color: #2e2824;
  position: relative;
}

/* Stronger overlay */
.hero::after {
  content: "";
  background: rgba(255, 224, 204, 0.4); /* 92% paper cream */
  position: absolute;
  inset: 0;
  backdrop-filter: blur(0.1px) brightness(0.8);
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: auto;
  padding: 1rem;
}

/* Improved text visibility */
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: #000000;
  
}

.hero p {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  color: #2e2e2e;
  text-shadow: 0 2px 4px rgba(255,255,255,0.4);
}




/* === Three Column Section === */
.intro-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.intro-card {
  background: #fffdf8;
  border: 1px solid #eee4d7;
  padding: 2rem;
  text-align: center;
  border-radius: 6px;
}

.intro-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: .8rem;
  color: #2e2824;
}

.intro-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #736b63;
  margin-bottom: 1.3rem;
}

/* Buttons already styled from earlier */
