/* ============================================================
   Qazafi Books — Design System
   Clean · academic · minimal · bookish
   Pine green + ochre accent on paper-cream · Spectral + Hanken Grotesk
   ============================================================ */

:root {
  /* Paper canvas & ink */
  --bg:        oklch(0.985 0.008 95);
  --bg-2:      oklch(0.965 0.012 92);
  --surface:   oklch(0.995 0.004 95);
  --ink:       oklch(0.255 0.018 150);
  --ink-soft:  oklch(0.40 0.016 150);
  --muted:     oklch(0.54 0.014 145);
  --line:      oklch(0.90 0.012 110);
  --line-soft: oklch(0.935 0.009 105);

  /* Pine green (primary) */
  --pine:      oklch(0.45 0.075 160);
  --pine-600:  oklch(0.40 0.078 162);
  --pine-700:  oklch(0.34 0.072 164);
  --pine-300:  oklch(0.70 0.06 158);
  --pine-100:  oklch(0.90 0.035 155);
  --pine-50:   oklch(0.955 0.018 150);

  /* Ochre / amber accent */
  --ochre:     oklch(0.74 0.13 70);
  --ochre-600: oklch(0.67 0.14 64);
  --ochre-700: oklch(0.58 0.13 58);
  --ochre-50:  oklch(0.96 0.035 78);

  /* Deep section */
  --dark:      oklch(0.28 0.04 160);
  --dark-2:    oklch(0.235 0.035 162);

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px oklch(0.3 0.04 150 / 0.05), 0 2px 7px oklch(0.3 0.04 150 / 0.05);
  --shadow-md: 0 5px 16px oklch(0.3 0.04 150 / 0.07), 0 16px 40px oklch(0.3 0.04 150 / 0.08);
  --shadow-lg: 0 12px 30px oklch(0.28 0.05 150 / 0.10), 0 32px 80px oklch(0.26 0.05 150 / 0.13);

  --maxw: 1200px;

  --bs-body-font-family: "Hanken Grotesk", system-ui, sans-serif;
  --bs-body-color: var(--ink-soft);
  --bs-body-bg: var(--bg);
  --bs-primary: oklch(0.45 0.075 160);
  --bs-border-color: var(--line);
}

* { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: -0.003em;
  overflow-x: hidden;
}
::selection { background: var(--pine-100); color: var(--pine-700); }

/* ---------- Type ---------- */
.serif { font-family: "Spectral", Georgia, serif; }
h1, h2, h3, h4, .display-serif {
  font-family: "Spectral", Georgia, serif;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.12;
}
.display-serif { font-size: clamp(2.7rem, 5.8vw, 4.6rem); line-height: 1.04; font-weight: 500; }
.h-section { font-size: clamp(2rem, 3.9vw, 3rem); line-height: 1.07; }
.lead-2 { font-size: clamp(1.08rem, 1.4vw, 1.26rem); line-height: 1.62; color: var(--muted); font-weight: 400; }
.serif-em { font-style: italic; color: var(--pine); font-weight: 500; }

.eyebrow {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pine); display: inline-flex; align-items: center; gap: 0.55rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ochre); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--ochre); }
.eyebrow.no-rule::before { display: none; }

.text-muted-2 { color: var(--muted) !important; }
.text-ink { color: var(--ink) !important; }

/* ---------- Layout ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.container-x { max-width: var(--maxw); margin-inline: auto; padding-inline: 1.4rem; }
.bg-2 { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn-pine {
  background: var(--pine); color: #fff; border: 1px solid var(--pine);
  font-weight: 600; font-size: 0.97rem; padding: 0.78rem 1.5rem; border-radius: 999px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 18px oklch(0.45 0.075 160 / 0.26);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-pine:hover { background: var(--pine-700); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px oklch(0.45 0.075 160 / 0.32); }
.btn-ochre {
  background: var(--ochre); color: oklch(0.3 0.06 60); border: 1px solid var(--ochre);
  font-weight: 700; font-size: 0.97rem; padding: 0.78rem 1.5rem; border-radius: 999px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 18px oklch(0.74 0.13 70 / 0.32);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-ochre:hover { background: var(--ochre-600); transform: translateY(-1px); color: oklch(0.28 0.06 60); box-shadow: 0 10px 26px oklch(0.7 0.14 66 / 0.4); }
.btn-ghost {
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  font-weight: 600; font-size: 0.97rem; padding: 0.78rem 1.45rem; border-radius: 999px;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-ghost:hover { border-color: var(--pine); color: var(--pine-700); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--pine-700); border: 0; font-weight: 700; padding: 0.85rem 1.7rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.5rem; transition: transform .18s ease, box-shadow .18s ease; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 12px 30px oklch(0 0 0 / 0.16); color: var(--pine-700); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid oklch(1 0 0 / 0.35); font-weight: 600; padding: 0.85rem 1.6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.5rem; transition: background .18s ease, border-color .18s ease; }
.btn-outline-light:hover { background: oklch(1 0 0 / 0.1); color: #fff; border-color: oklch(1 0 0 / 0.6); }
.btn-lg-x { padding: 0.95rem 1.85rem; font-size: 1.03rem; }
.link-arrow { color: var(--pine); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap .18s ease; }
.link-arrow:hover { gap: 0.65rem; color: var(--pine-700); }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: oklch(0.86 0.02 150); font-size: 0.84rem; }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 1rem; }
.topbar .l { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar .l i { color: var(--ochre); }
.topbar a { color: oklch(0.88 0.02 150); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .ship { display: inline-flex; align-items: center; gap: 1.4rem; }
@media (max-width: 640px) { .topbar .ship .hide-sm { display: none; } }

/* ---------- Nav ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 1000; background: oklch(0.985 0.008 95 / 0.85); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.nav-wrap.scrolled { border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; flex: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(150deg, var(--pine), var(--pine-700)); display: grid; place-items: center; position: relative; box-shadow: 0 5px 14px oklch(0.45 0.075 160 / 0.32); flex: none; }
.brand-mark i { color: #fff; font-size: 1.1rem; }
.brand-mark .pg { position: absolute; right: 6px; bottom: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); }
.brand-txt { line-height: 1.04; }
.brand-txt .nm { font-family: "Spectral", serif; font-weight: 600; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em; display: block; }
.brand-txt .sub { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); display: block; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.96rem; font-weight: 500; position: relative; transition: color .18s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--pine-700); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--ochre); transition: width .2s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 0.9rem; flex: none; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; cursor: pointer; transition: border-color .16s ease, color .16s ease; }
.icon-btn:hover { border-color: var(--pine); color: var(--pine-700); }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ochre); color: oklch(0.3 0.06 60); font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; font-family: "Hanken Grotesk", sans-serif; transform: scale(0); transition: transform .2s cubic-bezier(.34,1.56,.64,1); }
.cart-count.show { transform: scale(1); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.55rem; color: var(--ink); }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .nav-links.desk { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: none; flex-direction: column; padding: 0.4rem 0 1.2rem; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { color: var(--ink-soft); text-decoration: none; padding: 0.75rem 0.2rem; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(8px); }
.hero-blob.b1 { width: 440px; height: 440px; right: -120px; top: -130px; background: radial-gradient(closest-side, var(--pine-100), transparent 70%); opacity: 0.7; }
.hero-blob.b2 { width: 360px; height: 360px; left: -120px; bottom: -120px; background: radial-gradient(closest-side, var(--ochre-50), transparent 70%); opacity: 0.8; }
.hero > .container-x { position: relative; z-index: 1; }

.badge-soft { display: inline-flex; align-items: center; gap: 0.55rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 0.95rem 0.42rem 0.7rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.badge-soft .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); }

/* hero search */
.hero-search { display: flex; align-items: center; gap: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.45rem 0.45rem 1.2rem; box-shadow: var(--shadow-md); max-width: 33rem; }
.hero-search:focus-within { border-color: var(--pine-300); box-shadow: 0 0 0 4px var(--pine-50), var(--shadow-md); }
.hero-search i { color: var(--muted); font-size: 1.1rem; }
.hero-search input { flex: 1; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 1rem; color: var(--ink); padding: 0.4rem 0; }
.hero-search input::placeholder { color: oklch(0.66 0.015 145); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.hero-tags a { font-size: 0.85rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.85rem; text-decoration: none; transition: border-color .15s ease, color .15s ease; }
.hero-tags a:hover { border-color: var(--pine); color: var(--pine-700); }

.hero-stats { display: flex; gap: 2.4rem; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-stats .num { font-family: "Spectral", serif; font-weight: 600; font-size: 1.9rem; color: var(--pine-700); line-height: 1; }
.hero-stats .lbl { font-size: 0.84rem; color: var(--muted); margin-top: 0.3rem; }

/* hero cover stack */
.hero-art { position: relative; min-height: 470px; display: grid; place-items: center; }
.cover-stack { position: relative; width: 270px; height: 360px; }
.cover-stack .cv { position: absolute; width: 270px; height: 360px; border-radius: 5px 9px 9px 5px; object-fit: cover; box-shadow: var(--shadow-lg); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.cover-stack .cv-front { z-index: 3; transform: rotate(-3deg); border-left: 3px solid oklch(0 0 0 / 0.18); }
.cover-stack .cv-back1 { z-index: 2; transform: translate(38px, 20px) rotate(6deg); filter: brightness(0.92); }
.cover-stack .cv-back2 { z-index: 1; transform: translate(64px, 42px) rotate(13deg); filter: brightness(0.82); }
.hero-art:hover .cv-front { transform: rotate(-5deg) translateY(-6px); }
.hero-art:hover .cv-back1 { transform: translate(52px, 16px) rotate(8deg); }
.hero-art:hover .cv-back2 { transform: translate(86px, 40px) rotate(16deg); }
@media (prefers-reduced-motion: reduce) { .hero-art:hover .cv-front { transform: rotate(-3deg); } .hero-art:hover .cv-back1 { transform: translate(38px,20px) rotate(6deg); } .hero-art:hover .cv-back2 { transform: translate(64px,42px) rotate(13deg); } }

.hero-float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-md); padding: 0.7rem 0.9rem; display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); z-index: 5; animation: floaty 5s ease-in-out infinite; }
.hero-float .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 1rem; flex: none; }
.hero-float.f1 { top: 8%; right: 0%; }
.hero-float.f2 { bottom: 12%; left: -2%; animation-delay: 1.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .hero-float { animation: none; } }
@media (max-width: 991px) { .hero-art { min-height: 400px; margin-top: 2.5rem; } }
@media (max-width: 420px) { .cover-stack { transform: scale(0.82); } }

/* ---------- Book card ---------- */
.book-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--pine-100); }
.cover { position: relative; aspect-ratio: 3 / 4; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.cover image-slot { display: block; width: 100%; height: 100%; }
.cover .badge-tag { position: absolute; top: 0.7rem; left: 0.7rem; z-index: 3; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; pointer-events: none; }
.badge-tag.new { background: var(--pine); color: #fff; }
.badge-tag.sale { background: var(--ochre); color: oklch(0.3 0.06 60); }
.badge-tag.best { background: var(--dark); color: #fff; }
.book-body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.book-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pine); margin-bottom: 0.3rem; }
.book-title { font-family: "Spectral", serif; font-size: 1.12rem; font-weight: 600; color: var(--ink); line-height: 1.2; margin-bottom: 0.2rem; }
.book-author { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.75rem; }
.book-stars { color: var(--ochre-600); font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 0.7rem; }
.book-stars .cnt { color: var(--muted); font-size: 0.78rem; margin-left: 0.3rem; letter-spacing: 0; }
.book-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.price { font-family: "Spectral", serif; font-size: 1.22rem; font-weight: 600; color: var(--ink); }
.price .old { font-size: 0.86rem; color: var(--muted); text-decoration: line-through; margin-left: 0.4rem; font-family: "Hanken Grotesk", sans-serif; font-weight: 400; }
.add-btn { border: 1px solid var(--pine); background: var(--pine); color: #fff; border-radius: 10px; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.05rem; cursor: pointer; flex: none; transition: background .16s ease, transform .16s ease; }
.add-btn:hover { background: var(--pine-700); transform: translateY(-1px); }
.add-btn.added { background: var(--pine-50); border-color: var(--pine-100); color: var(--pine-700); }

/* ---------- Subject tabs ---------- */
.subj-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.subj-tabs button { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); padding: 0.55rem 1.2rem; cursor: pointer; transition: all .16s ease; }
.subj-tabs button:hover { border-color: var(--pine); color: var(--pine-700); }
.subj-tabs button.active { background: var(--pine); border-color: var(--pine); color: #fff; }

/* ---------- Subject cards ---------- */
.subj-card { display: flex; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; height: 100%; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.subj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--pine-100); }
.subj-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; flex: none; background: var(--pine-50); color: var(--pine); }
.subj-ico.ochre { background: var(--ochre-50); color: var(--ochre-700); }
.subj-card .nm { font-family: "Spectral", serif; font-size: 1.18rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.subj-card .ct { font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
.subj-card .go { margin-left: auto; color: var(--pine); font-size: 1.1rem; transition: transform .18s ease; flex: none; }
.subj-card:hover .go { transform: translateX(3px); }

/* ---------- Printing service ---------- */
.print-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.print-drop { border: 2px dashed var(--pine-100); border-radius: var(--radius); background: var(--pine-50); padding: 2rem 1.5rem; text-align: center; transition: border-color .18s ease, background .18s ease; }
.print-drop:hover { border-color: var(--pine-300); }
.print-drop .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 1px solid var(--pine-100); color: var(--pine); display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 1rem; }
.print-step { display: flex; gap: 0.9rem; align-items: flex-start; padding: 0.7rem 0; }
.print-step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--pine); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; flex: none; font-family: "Hanken Grotesk", sans-serif; }
.print-step h4 { font-size: 1.08rem; margin-bottom: 0.15rem; }
.print-step p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.bind-opt { display: flex; align-items: center; gap: 0.5rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.85rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.bind-opt i { color: var(--pine); }

/* ---------- Steps (how ordering works) ---------- */
.step-card { text-align: center; padding: 0 0.5rem; }
.step-ring { width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--pine-100); background: var(--surface); display: grid; place-items: center; margin: 0 auto 1.2rem; position: relative; }
.step-ring i { font-size: 1.6rem; color: var(--pine); }
.step-ring .n { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--ochre); color: oklch(0.3 0.06 60); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; font-family: "Hanken Grotesk", sans-serif; }
.step-card h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.step-card p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ---------- Why-choose / trust ---------- */
.trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; background: var(--pine-50); color: var(--pine); }
.trust-ico.ochre { background: var(--ochre-50); color: var(--ochre-700); }
.trust-card h3 { font-size: 1.18rem; margin-bottom: 0.35rem; }
.trust-card p { font-size: 0.93rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.7rem; height: 100%; }
.quote-card .stars { color: var(--ochre-600); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 0.9rem; }
.quote-card .q { font-family: "Spectral", serif; font-size: 1.22rem; line-height: 1.45; color: var(--ink); }
.quote-card .q em, .quote-card .q .serif-em { font-style: italic; color: var(--pine); }
.who { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.4rem; }
.who .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; color: #fff; background: linear-gradient(150deg, var(--pine), var(--pine-700)); }
.who .av.o { background: linear-gradient(150deg, var(--ochre-600), var(--ochre-700)); color: oklch(0.28 0.05 60); }
.who .nm { font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.who .rl { font-size: 0.82rem; color: var(--muted); }

/* ---------- Offer / bundle band ---------- */
.offer-band { background: radial-gradient(560px 320px at 85% -20%, oklch(0.45 0.1 80 / 0.4), transparent 60%), linear-gradient(150deg, var(--dark), var(--dark-2)); border-radius: var(--radius-lg); color: #fff; overflow: hidden; position: relative; }
.offer-band h2 { color: #fff; }
.offer-band .lead-2 { color: oklch(0.85 0.02 150); }
.offer-pill { display: inline-flex; align-items: center; gap: 0.5rem; background: oklch(1 0 0 / 0.1); border: 1px solid oklch(1 0 0 / 0.2); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.85rem; font-weight: 600; }
.offer-save { font-family: "Spectral", serif; font-size: clamp(3rem, 7vw, 5rem); font-weight: 600; color: var(--ochre); line-height: 1; }

/* ---------- Newsletter ---------- */
.news-box { display: flex; gap: 0.5rem; max-width: 30rem; }
.news-box input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 0.85rem 1rem; font-family: inherit; font-size: 0.96rem; color: var(--ink); }
.news-box input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px var(--pine-50); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: oklch(0.82 0.02 150); padding: 4.5rem 0 2rem; }
.footer .brand-txt .nm { color: #fff; }
.footer .brand-txt .sub { color: oklch(0.7 0.02 150); }
.footer h6 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer a { display: block; color: oklch(0.78 0.02 150); text-decoration: none; font-size: 0.92rem; padding: 0.3rem 0; transition: color .15s ease; }
.footer a:hover { color: var(--ochre); }
.footer .ctline { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; color: oklch(0.8 0.02 150); padding: 0.32rem 0; }
.footer .ctline i { color: var(--ochre); margin-top: 0.18rem; }
.foot-bottom { border-top: 1px solid oklch(1 0 0 / 0.12); margin-top: 3rem; padding-top: 1.6rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.86rem; color: oklch(0.68 0.02 150); }
.foot-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; background: oklch(1 0 0 / 0.08); display: grid; place-items: center; padding: 0; }

/* ---------- Cart toast ---------- */
.toast-cart { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1200; background: var(--dark); color: #fff; border-radius: 13px; padding: 0.9rem 1.1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; font-weight: 600; transform: translateY(140%); opacity: 0; transition: transform .3s cubic-bezier(.34,1.3,.64,1), opacity .3s ease; max-width: calc(100vw - 3rem); }
.toast-cart.show { transform: none; opacity: 1; }
.toast-cart i { color: var(--ochre); font-size: 1.2rem; }

/* ---------- Reveal (transform-only: content is always visible even if the
   entrance transition is frozen in a backgrounded/throttled frame) ---------- */
.reveal { transform: translateY(20px); opacity: 1; transition: transform .7s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.reveal.is-visible { transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; transition: none; } }

/* search no-results note */
.no-results { display: none; text-align: center; color: var(--muted); padding: 2rem 0; font-size: 1.02rem; }
.no-results.show { display: block; }

/* ---------- Floating WhatsApp chat ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1000;
  display: flex; align-items: center; gap: 0; height: 60px; width: 60px;
  padding: 0; border-radius: 999px; background: #25D366; color: #fff;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.12);
  overflow: hidden; transition: width .32s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, transform .2s ease;
  white-space: nowrap;
}
.wa-float i { flex: none; width: 60px; text-align: center; font-size: 1.85rem; line-height: 60px; }
.wa-label { font-family: "Hanken Grotesk", sans-serif; font-weight: 700; font-size: 1rem; padding-right: 22px; opacity: 0; transition: opacity .22s ease; }
.wa-float:hover { width: 232px; color: #fff; box-shadow: 0 14px 32px rgba(37,211,102,0.55), 0 3px 10px rgba(0,0,0,0.14); }
.wa-float:hover .wa-label { opacity: 1; }
.wa-float:active { transform: scale(0.97); }
.wa-ring { position: absolute; left: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2s ease-out infinite; pointer-events: none; }
@keyframes waPulse { 0% { transform: scale(0.85); opacity: 0.8; } 100% { transform: scale(2.1); opacity: 0; } }
@media (max-width: 575px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float:hover { width: 60px; }
  .wa-float:hover .wa-label { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-ring { animation: none; } .wa-float, .wa-label { transition: none; } }
