/* ቀለም — editorial bookstore: cream paper, forest ink, antique gold, wine */
:root {
  --bg: #F7F3EC;
  --surface: #FFFFFF;
  --tint: #EFE8DC;
  --ink: #1B1A17;
  --muted: #6E675C;
  --line: #E4DCCD;
  --forest: #1F3A30;
  --forest-2: #2C5244;
  --gold: #B8924A;
  --gold-2: #D9B26A;
  --gold-soft: #F3E9D3;
  --wine: #7A2335;
  --wine-2: #5E1A28;
  --ok: #2E7D57;
  --bad: #B3362C;
  --r: 14px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(27, 26, 23, .05), 0 2px 8px rgba(27, 26, 23, .04);
  --shadow: 0 2px 4px rgba(27, 26, 23, .04), 0 12px 32px rgba(27, 26, 23, .08);
  --sans: 'Inter', 'Noto Sans Ethiopic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', 'Noto Serif Ethiopic', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
.hero-book, .spotlight-book, .card-media, .hero-badge, .cat { text-decoration: none; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .45em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
code { font-size: .85em; background: var(--tint); padding: .1em .45em; border-radius: 6px; word-break: break-all; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.ic { flex-shrink: 0; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.eyebrow-gold { color: var(--gold-2); }
.display { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; text-decoration: none; letter-spacing: .02em; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--wine); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .8em 1.4em; border-radius: 10px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .15s, box-shadow .2s, border-color .2s; white-space: nowrap; line-height: 1.2; }
.btn:focus-visible, .icon-btn:focus-visible, .buy-chip:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); box-shadow: 0 8px 20px -6px rgba(31, 58, 48, .5); }
.btn-buy { background: var(--wine); color: #fff; }
.btn-buy:hover { background: var(--wine-2); box-shadow: 0 8px 22px -6px rgba(122, 35, 53, .55); }
.btn-gold { background: var(--gold-2); color: var(--ink); }
.btn-gold:hover { background: #E6C27E; box-shadow: 0 8px 22px -6px rgba(217, 178, 106, .6); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-danger { background: #fff; color: var(--bad); border-color: var(--bad); }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-sm { padding: .55em 1em; font-size: .88rem; }
.btn-xs { padding: .35em .75em; font-size: .8rem; border-width: 1px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-block .btn-label { flex: 1; text-align: start; }
.loading { pointer-events: none; opacity: .8; }
.loading .arrow, .loading .ic:first-child { animation: pulse 1s ease-in-out infinite; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: inherit; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px; border-radius: 10px; background: none; border: 0; color: var(--ink); font: inherit; font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--tint); }
.icon-btn.round { border: 1px solid var(--line); border-radius: 50%; background: var(--surface); padding: 10px; }
.icon-btn.round:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

/* ── Topbar & header ── */
.topbar { background: var(--forest); color: #E4EDE8; font-size: .8rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar-row span, .topbar-row a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar-mid { color: var(--gold-2); }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 243, 236, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(27, 26, 23, .15); }
.header-row { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--forest); color: var(--gold-2); }
.logo-words { display: grid; line-height: 1.05; }
.logo-name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; }
.logo-sub { font-size: .6rem; letter-spacing: .28em; color: var(--muted); font-weight: 600; margin-top: 3px; }
.logo-light .logo-mark { background: var(--gold-2); color: var(--forest); }
.logo-light .logo-name { color: #fff; }
.logo-light .logo-sub { color: #A9BBB3; }
.main-nav { display: flex; gap: 30px; margin-inline: auto; }
.main-nav a { position: relative; text-decoration: none; font-size: .92rem; font-weight: 500; color: #3D3A34; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.menu-btn { display: none; }

.search-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(27, 26, 23, .45); backdrop-filter: blur(4px); display: grid; align-items: start; justify-items: center; padding: 14vh 20px 0; }
.search-overlay[hidden] { display: none; }
.search-box { width: min(640px, 100%); display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 10px 10px 10px 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); }
.search-box input { flex: 1; border: 0; font: inherit; font-size: 1.1rem; padding: 10px 0; outline: none; background: none; color: var(--ink); min-width: 0; }

/* ── Hero ── */
.hero { padding: 56px 0 0; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0 0 auto auto; width: 48%; height: 82%; background: linear-gradient(180deg, var(--tint), transparent); border-bottom-left-radius: 120px; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: .35em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 36px; }
.proof { display: flex; align-items: center; gap: 16px; }
.proof p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.proof strong { color: var(--ink); }
.proof-books { display: flex; }
.proof-books span { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2.5px solid var(--bg); margin-inline-start: -10px; box-shadow: var(--shadow-sm); }
.proof-books span:first-child { margin: 0; }
.proof-books .cover { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.proof-books .gen > * { display: none; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { fill: #D8CFC0; }
.stars svg.on { fill: var(--gold); }

.hero-visual { position: relative; padding: 0 0 40px 60px; }
.hero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1.05; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-book { position: absolute; left: 0; bottom: 0; width: 42%; transform: rotate(-4deg); transition: transform .35s; }
.hero-book:hover { transform: rotate(-1deg) translateY(-8px); }
.hero-badge { position: absolute; top: 28px; right: -18px; width: 118px; height: 118px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-content: center; text-align: center; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(31, 58, 48, .6); border: 4px solid var(--bg); line-height: 1.25; }
.hero-badge strong { font-family: var(--serif); font-size: 1.25rem; color: var(--gold-2); }
.hero-badge small { font-size: .7rem; opacity: .85; }
.hero-price-card { position: absolute; right: 24px; bottom: 6px; background: var(--surface); border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow); display: grid; max-width: 220px; }
.hero-price-card span { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-price-card strong { font-family: var(--serif); font-size: 1.3rem; color: var(--wine); }

.features { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 26px 10px; position: relative; z-index: 2; }
.feature { display: flex; align-items: center; gap: 14px; padding: 0 22px; color: var(--forest); }
.feature + .feature { border-inline-start: 1px solid var(--line); }
.feature div { display: grid; line-height: 1.35; }
.feature strong { font-size: .9rem; color: var(--ink); }
.feature span { font-size: .78rem; color: var(--muted); }

/* ── Section heads ── */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 34px; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.split-head { position: sticky; top: 110px; }

/* ── Categories ── */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.cat { position: relative; aspect-ratio: .82; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 22px 12px; text-align: center; isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 14, .25), rgba(20, 18, 14, .78)); transition: background .3s; }
.cat:hover img { transform: scale(1.07); }
.cat:hover::after { background: linear-gradient(180deg, rgba(31, 58, 48, .35), rgba(31, 58, 48, .88)); }
.cat-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .1); margin-bottom: auto; margin-top: 18%; }
.cat-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: .02em; }
.cat-sub { font-size: .78rem; opacity: .8; }

/* ── Books & covers ── */
.cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--tint); }
.cover.gen { display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: 12% 11%; color: #F6EEDC; background: radial-gradient(120% 80% at 70% 10%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(160deg, var(--c2), var(--c1)); position: relative; }
.cover.gen::before { content: ''; position: absolute; inset: 6%; border: 1px solid rgba(217, 178, 106, .55); pointer-events: none; }
.gen-top { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
.gen-mid { display: grid; gap: 8px; justify-items: center; }
.gen-mid i { font-style: normal; color: var(--gold-2); font-size: .7rem; }
.gen-title { font-family: var(--serif); font-size: clamp(.95rem, 1.8vw, 1.35rem); font-weight: 600; line-height: 1.25; }
.gen-author { font-size: .62rem; letter-spacing: .14em; opacity: .85; }
.book { position: relative; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 18px 30px -12px rgba(27, 26, 23, .45), 0 6px 12px -6px rgba(27, 26, 23, .25); transition: transform .35s, box-shadow .35s; }
.book .cover { border-radius: 0; display: flex; }
.book::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(255, 255, 255, .22) 2.2%, rgba(0, 0, 0, .08) 4.5%, transparent 8%, transparent 92%, rgba(255, 255, 255, .06)); }
.book-xl .gen-title { font-size: clamp(1.4rem, 3vw, 2.1rem); }
.book-xl .gen-top, .book-xl .gen-author { font-size: .72rem; }
.cover-xs { width: 40px; border-radius: 3px; }
.cover-xs.gen { padding: 3px; }
.cover-xs.gen > * { display: none; }

/* ── Product cards ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 22px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; display: flex; flex-direction: column; background: var(--surface); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card:hover .book { transform: translateY(-4px) rotate(-1.5deg); }
.card-media { position: relative; display: block; background: var(--bg); border-radius: 11px; padding: 22px 18%; }
.section-tint .card-media { background: #F6F1E8; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.badge { display: inline-block; padding: .2em .6em; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.badge-sale { background: var(--wine); color: #fff; }
.badge-new { background: var(--forest); color: var(--gold-2); }
.badge-gold { background: var(--gold-2); color: var(--ink); }
.card-info { padding: 14px 4px 2px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 4px; }
.card h3 { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 2px; line-height: 1.3; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--wine); }
.card-author { font-size: .82rem; color: var(--muted); margin: 0; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price-wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.price { font-weight: 700; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.old { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.buy-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 10px; border: 0; background: var(--wine); color: #fff; font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; }
.buy-chip:hover { background: var(--wine-2); box-shadow: 0 6px 16px -6px rgba(122, 35, 53, .7); }
.buy-chip:active { transform: scale(.96); }

/* ── Spotlight banner ── */
.spotlight { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: radial-gradient(90% 120% at 50% 100%, #8E2E41, var(--wine-2) 60%, #3E0F1A); color: #F6EEDC; display: grid; grid-template-columns: 1.1fr .9fr .8fr; align-items: center; gap: 32px; padding: 56px 56px; min-height: 420px; }
.spotlight-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .16; mix-blend-mode: luminosity; }
.spark { position: absolute; color: var(--gold-2); opacity: .8; animation: twinkle 3.5s ease-in-out infinite; }
.s1 { top: 14%; left: 46%; font-size: 1.2rem; }
.s2 { bottom: 16%; right: 30%; font-size: .9rem; animation-delay: 1.2s; }
.s3 { top: 22%; right: 6%; font-size: 1.5rem; animation-delay: 2s; }
.spotlight h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-style: italic; color: #fff; }
.quote { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: #EBD9C8; max-width: 26em; }
.spotlight-price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 24px; }
.spotlight-price .price { font-family: var(--serif); font-size: 2rem; color: var(--gold-2); }
.spotlight-price .old { color: #D8BFC4; }
.spotlight-book { width: min(260px, 100%); justify-self: center; transform: rotate(3deg); transition: transform .4s; }
.spotlight-book:hover { transform: rotate(0) translateY(-8px); }
.spotlight-book .book { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.spotlight-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.spotlight-side li { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; }
.spotlight-side .ic { color: var(--gold-2); }

/* ── Rail ── */
.rail-nav { display: flex; gap: 10px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 22px) / 5); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 18px; margin: -6px -4px 0; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }

/* ── Why ── */
.why { background: linear-gradient(90deg, var(--tint) 0 40%, transparent 40%); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.why-photo { border-radius: 200px 200px 24px 24px; overflow: hidden; aspect-ratio: .9; box-shadow: var(--shadow); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 34px; margin-top: 36px; }
.why-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--wine); margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.why-item strong { font-family: var(--serif); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ── Quotes ── */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.quote-card { margin: 0; background: var(--surface); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.qmark { font-family: var(--serif); font-size: 3.4rem; line-height: .6; color: var(--gold); display: block; margin-bottom: 6px; }
.quote-card blockquote { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 1.02rem; }
.quote-card figcaption { margin-top: 8px; font-weight: 600; font-size: .9rem; }

/* ── Shop tools ── */
.shop-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-sm); width: fit-content; flex-wrap: wrap; }
.tab { padding: .5em 1.05em; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--muted); transition: background .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab.active { background: var(--forest); color: #fff; }
.tab .count { opacity: .7; font-weight: 500; margin-inline-start: 4px; }
.mini-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 12px; padding: 0 14px; box-shadow: var(--shadow-sm); color: var(--muted); }
.mini-search input { border: 0; outline: none; background: none; font: inherit; font-size: .9rem; padding: 11px 0; width: 160px; color: var(--ink); }
.filter-note { font-size: .9rem; color: var(--muted); margin-top: -18px; }
.filter-note a { color: var(--wine); font-weight: 600; text-decoration: none; }

/* ── Community band ── */
.community { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden; background: var(--forest); color: #E8EFEB; }
.community-copy { padding: 60px 56px; }
.community-copy h2 { color: #fff; }
.community-copy p { color: #B9CAC2; margin-bottom: 28px; }
.community-photo { position: relative; min-height: 300px; }
.community-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.community-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--forest), transparent 40%); }

/* ── FAQ ── */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--sans); font-weight: 400; color: var(--wine); transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--wine); color: #fff; border-color: var(--wine); }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 46em; }

/* ── Product page ── */
.product { padding-top: 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--wine); }
.crumbs span:last-child { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.product-stage { position: sticky; top: 104px; background: radial-gradient(70% 60% at 50% 45%, #fff, var(--tint)); border-radius: var(--r-lg); padding: 64px 22%; }
.product-stage .book { transform: rotate(-2deg); }
.stage-badge { position: absolute; top: 20px; left: 20px; font-size: .85rem; }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .2em; }
.by { color: var(--muted); }
.product-price { display: flex; align-items: center; gap: 14px; margin: 18px 0 20px; }
.product-price .price { font-family: var(--serif); font-size: 2.3rem; color: var(--wine); }
.product-price .old { font-size: 1.05rem; }
.product-desc { font-size: 1.05rem; color: #46423B; }
.buy-box { background: var(--surface); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); margin: 26px 0; }
.assurances { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; margin-top: 16px; font-size: .86rem; color: var(--muted); }
.assurances span { display: inline-flex; align-items: center; gap: 7px; }
.assurances .ic { color: var(--forest); }
.includes h3 { font-size: 1.15rem; }
.includes ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.includes li { display: flex; gap: 10px; align-items: center; }
.includes .ic { color: var(--ok); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badges span { padding: .3em .7em; border-radius: 6px; font-size: .72rem; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: #4A463F; letter-spacing: .02em; }
.sticky-buy { display: none; }

/* ── Result pages ── */
.result { text-align: center; background: var(--surface); border-radius: var(--r-lg); padding: 52px 32px; box-shadow: var(--shadow); }
.result h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.result .btn { margin: 14px 0 20px; }
.result-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--forest); font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.result-icon.ok { background: #E1F0E7; color: var(--ok); }
.result-icon.bad { background: #F8E3E0; color: var(--bad); }
.note { display: inline-block; background: var(--gold-soft); color: #7A5B1E; padding: .45em 1em; border-radius: 8px; font-size: .88rem; font-weight: 600; }
.spinner { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; border: 4px solid var(--tint); border-top-color: var(--wine); animation: spin .9s linear infinite; }
.mock { border: 2px dashed var(--line); }
.mock-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 18px 0; }
.big-price { font-family: var(--serif); font-size: 2.6rem; color: var(--wine); }
.page-title { font-size: clamp(2.2rem, 4vw, 3rem); }
.purchases { display: grid; gap: 12px; margin-top: 24px; }
.purchase { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--surface); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.purchase h3 { margin: 0; font-size: 1.1rem; }

/* ── Footer ── */
.site-footer { background: #15281F; color: #B9CAC2; padding: 72px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-grid > div:not(.footer-brand) { display: grid; gap: 10px; align-content: start; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand p { margin: 18px 0; max-width: 26em; }
.muted-light { color: #7F968C; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; }
.socials a:hover { background: var(--gold-2); color: var(--forest); border-color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font-size: .82rem; }
.footer-bottom .pay-badges span { background: rgba(255, 255, 255, .08); border-color: transparent; color: #E1E9E5; }

/* ══════════ Admin ══════════ */
body.admin { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #F3EFE7; }
.admin-side { background: #15281F; color: #fff; padding: 24px 16px; display: flex; flex-direction: column; gap: 32px; position: sticky; top: 0; height: 100vh; }
.admin-side nav { display: grid; gap: 4px; }
.admin-side nav a { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: #AFC2B9; font-weight: 500; font-size: .93rem; }
.admin-side nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-side nav a.active { background: var(--gold-2); color: var(--forest); font-weight: 600; }
.admin-side-foot { margin-top: auto; display: grid; gap: 10px; font-size: .88rem; color: #AFC2B9; padding: 0 14px; }
.admin-side-foot a { text-decoration: none; }
.admin-main { padding: 32px clamp(16px, 3vw, 44px); min-width: 0; }
.admin-top h1 { font-size: 2rem; }
.flash { background: #E1F0E7; color: var(--ok); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-weight: 600; font-size: .92rem; }
.flash.warn { background: var(--gold-soft); color: #7A5B1E; }
.flash.error { background: #F8E3E0; color: var(--bad); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.stat { background: var(--surface); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 500; }
.stat strong { display: block; font-family: var(--serif); font-size: 1.8rem; margin-top: 4px; }
.stat:first-child { background: var(--forest); color: #fff; }
.stat:first-child span { color: #AFC2B9; }
.stat:first-child strong { color: var(--gold-2); }
.admin-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.panel { background: var(--surface); border-radius: 16px; padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 1.15rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel-head h2, .panel-head p { margin: 0; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding-top: 10px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar i { display: block; width: 100%; min-height: 3px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-radius: 6px 6px 2px 2px; }
.bar:hover i { background: var(--wine); }
.bar span { font-size: .7rem; color: var(--muted); }
.top-list { margin: 0; padding-inline-start: 20px; display: grid; gap: 12px; }
.top-list li span:first-child { font-weight: 600; display: block; }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-sm); }
.panel .table-wrap { box-shadow: none; margin: 0 -8px; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: start; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .thumb { width: 60px; }
.pill { display: inline-block; padding: .2em .7em; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.pill-ok { background: #E1F0E7; color: var(--ok); }
.pill-wait { background: #EEEAE2; color: var(--muted); }
.pill-bad { background: #F8E3E0; color: var(--bad); }
.pill-sun { background: var(--gold-soft); color: #7A5B1E; }
form.inline { display: inline; }
.admin .tabs { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .88rem; }
.form .span2 { grid-column: span 2; }
.form input:not([type=checkbox]), .form select, .form textarea, .login-card input { font: inherit; font-weight: 400; padding: .7em .9em; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus, .login-card input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31, 58, 48, .12); }
.form label.check { display: flex; align-items: center; gap: 10px; }
.form label.check input { width: 18px; height: 18px; accent-color: var(--forest); }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }
.danger-zone { margin-top: 8px; }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(80% 80% at 30% 20%, var(--forest-2), #15281F); }
.login-card { width: min(410px, 100%); background: var(--surface); border-radius: 24px; padding: 36px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); display: grid; gap: 18px; }
.login-card h1 { font-size: 1.7rem; margin: 10px 0 0; }
.login-card label { display: grid; gap: 7px; font-weight: 600; font-size: .9rem; }

/* ══════════ Simple home ══════════ */
.site-header .header-row { justify-content: space-between; height: 72px; }
.intro { padding: 64px 0 40px; text-align: center; }
.intro-inner { max-width: 760px; }
.intro h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.intro .lead { margin: 0 auto 26px; }
.intro-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.intro-points span { display: inline-flex; align-items: center; gap: 7px; padding: .5em 1em; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: .86rem; font-weight: 500; }
.intro-points .ic { color: var(--forest); }
.shop { padding-bottom: 72px; }
.center-tabs { margin: 0 auto 32px; }
.shop .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.how-simple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
.how-simple > div { display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--surface); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); }
.how-simple .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-2); font-family: var(--serif); font-weight: 700; }
.simple-footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: .88rem; color: var(--muted); }
.simple-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.simple-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.simple-footer a { text-decoration: none; }
.simple-footer a:hover { color: var(--wine); }
@media (max-width: 900px) { .shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .intro { padding: 40px 0 28px; }
  .shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-foot .buy-form, .card-foot .buy-chip { width: 100%; }
  .how-simple { grid-template-columns: 1fr; gap: 10px; }
  .how-simple > div { justify-content: flex-start; padding: 14px 18px; }
}

/* ══════════ Product detail ══════════ */
.pd { padding: 32px 0 64px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.pd-media { position: relative; background: radial-gradient(70% 60% at 50% 45%, #fff, var(--tint)); border-radius: var(--r-lg); padding: 56px 24%; }
.pd-media .book { transform: rotate(-2deg); }
.pd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.pd-chip { display: inline-flex; align-items: center; gap: 6px; padding: .3em .8em; border-radius: 999px; background: var(--forest); color: var(--gold-2); font-size: .8rem; font-weight: 600; }
.pd-chip-soft { background: var(--gold-soft); color: #7A5B1E; }
.pd-sold { font-size: .85rem; font-weight: 600; color: var(--wine); }
.pd-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: .2em; }
.pd-subtitle { font-size: 1.12rem; color: #46423B; margin-bottom: 6px; }
.pd-info .product-price { margin: 14px 0 18px; }
.pd-share { display: flex; align-items: center; gap: 8px; margin: 18px 0 22px; font-size: .88rem; color: var(--muted); }
.share-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.share-btn:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.share-btn.copied { background: var(--ok); color: #fff; border-color: var(--ok); }
.seller { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.seller-avatar { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-2); flex-shrink: 0; }
.seller-main { display: grid; min-width: 0; line-height: 1.35; }
.seller-main strong { display: inline-flex; align-items: center; gap: 6px; font-size: 1.02rem; }
.seller-main > span { font-size: .82rem; color: var(--muted); }
.verified { color: #2F80ED; display: inline-flex; }
.seller-stats { display: flex; gap: 20px; margin-inline-start: auto; text-align: center; }
.seller-stats div { display: grid; line-height: 1.3; }
.seller-stats strong { font-size: .92rem; color: var(--ok); }
.seller-stats div + div strong { color: var(--ink); }
.seller-stats span { font-size: .74rem; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: .86rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .ic { color: var(--forest); }
.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; margin-top: 48px; align-items: start; }
.pd-desc { background: var(--surface); border-radius: var(--r-lg); padding: 36px 40px; box-shadow: var(--shadow-sm); font-size: 1.02rem; color: #34312B; }
.pd-desc h2 { font-size: 1.6rem; margin-bottom: .7em; }
.pd-desc h3 { font-size: 1.2rem; margin-top: 1.4em; }
.rich-head { font-weight: 600; color: var(--ink); margin-bottom: .5em; }
.rich-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.rich-list li { display: flex; gap: 10px; align-items: flex-start; }
.rich-list .ic { color: var(--ok); margin-top: 4px; }
.pd-final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-final > div { display: grid; line-height: 1.4; }
.pd-final strong { font-family: var(--serif); font-size: 1.15rem; }
.pd-final .price { color: var(--wine); }
.pd-final > div > span { display: flex; align-items: baseline; gap: 8px; }
.pd-final .buy-form { min-width: 260px; }
.pd-side { position: sticky; top: 96px; background: var(--surface); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.pd-side h3 { font-size: 1.15rem; }
.pd-side ol { padding-inline-start: 20px; margin: 0 0 20px; display: grid; gap: 10px; font-size: .93rem; color: #46423B; }
.more-card .card-info { gap: 6px; }
.more-desc { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.5; }
.more-card .price-wrap { margin-top: auto; padding-top: 6px; }
.more-card .buy-form { margin-top: 10px; }
.more-card .btn { padding: .75em 1em; font-size: .88rem; }
@media (max-width: 900px) {
  .pd-grid, .pd-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pd-media { padding: 40px 26%; }
  .pd-side { position: static; }
}
@media (max-width: 640px) {
  .pd-desc { padding: 26px 20px; }
  .pd-final .buy-form { min-width: 0; width: 100%; }
  .seller { flex-wrap: wrap; }
  .seller-stats { margin-inline-start: 0; width: 100%; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--line); }
  .more-card .btn .arrow, .more-card .btn .ic:first-child { display: none; }
}

/* ══════════ Landing-style product page ══════════ */
:root { --navy: #0E2142; --navy-2: #1B3B6B; --navy-ink: #E8EEF8; }
/* Sunburst background (matches the book's artwork) */
.sunburst {
  background:
    repeating-conic-gradient(from 0deg at var(--sx, 50%) var(--sy, 45%), rgba(255, 255, 255, .045) 0deg 5deg, transparent 5deg 10deg),
    radial-gradient(circle at var(--sx, 50%) var(--sy, 45%), #24497A 0%, #15305A 38%, #0B1A33 100%);
  color: var(--navy-ink);
}
.pd-hero { padding: 28px 0 56px; }
.pd-hero.navy { --sx: 30%; --sy: 50%; padding-bottom: 72px; }
.pd-hero .pd-grid { align-items: center; }
.pd-photo { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); aspect-ratio: 4 / 3; background: var(--navy); }
.pd-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumb { flex: 0 0 74px; height: 58px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: none; opacity: .7; transition: opacity .2s, border-color .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover, .pd-thumb.active { opacity: 1; border-color: var(--gold-2); }
.pd-badge { display: inline-flex; align-items: center; gap: 6px; padding: .35em .9em; border-radius: 999px; background: var(--gold-soft); color: #7A5B1E; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.pd-hook { font-size: 1.1rem; margin: 14px 0 16px; color: #3D3A34; max-width: 34em; }
.pd-checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.pd-checks li { display: flex; align-items: center; gap: 10px; font-size: .98rem; }
.pd-checks .ic { color: var(--gold); flex-shrink: 0; }
.btn-pill { border-radius: 999px; }
.btn-gold.btn-pill { background: linear-gradient(180deg, #F0CF73, #D4A93F); color: #1B1A17; box-shadow: 0 10px 24px -8px rgba(212, 169, 63, .65); }
.btn-gold.btn-pill:hover { background: linear-gradient(180deg, #F5D985, #DDB24A); }

/* navy theme overrides inside the hero */
.navy .crumbs, .navy .crumbs a { color: #9FB2CF; }
.navy .crumbs span:last-child { color: #fff; }
.navy .pd-info h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.navy .pd-subtitle { color: var(--gold-2); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.navy .pd-hook { color: #D6DFEC; }
.navy .pd-badge { background: rgba(217, 178, 106, .14); color: var(--gold-2); border: 1px solid rgba(217, 178, 106, .4); }
.navy .pd-sold { color: #FFB4A0; }
.navy .pd-checks li { color: #EAF0F8; }
.navy .pd-checks .ic { color: var(--gold-2); }
.navy .product-price .price { color: var(--gold-2); }
.navy .product-price .old { color: #8FA3C0; }
.navy .by { color: #B4C3D9; }
.navy .pd-share { color: #9FB2CF; }
.navy .share-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.navy .share-btn:hover { background: var(--gold-2); color: var(--navy); border-color: var(--gold-2); }
.navy .trust { color: #B4C3D9; }
.navy .trust .ic { color: var(--gold-2); }

/* Gallery */
.center-head { justify-content: center; text-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: var(--navy); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.04); }

/* Dark bands (highlights + quote) */
.band { padding: 80px 0; text-align: center; }
.band.forest { background: var(--forest); color: #E8EFEB; }
.band.navy { --sx: 50%; --sy: 50%; }
.band-inner { max-width: 720px; }
.band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 30px; }
.glass-list { display: grid; gap: 14px; margin-bottom: 34px; }
.glass { padding: 18px 24px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(217, 178, 106, .35); backdrop-filter: blur(6px); font-size: 1.08rem; text-align: start; color: #fff; }
.quote-band { margin: 0 auto; max-width: 820px; padding: 56px 32px; border: 1px solid rgba(217, 178, 106, .45); border-radius: 26px; }
.quote-band .qmark { font-family: var(--serif); font-size: 5rem; line-height: .5; color: var(--gold-2); display: block; margin-bottom: 18px; }
.quote-band blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.45; color: #fff; }
.quote-band figcaption { color: #C9D5E6; font-size: .95rem; }

/* Seller card inside the side box */
.pd-side .seller { box-shadow: none; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }

/* Home promo banner */
.promo { margin-bottom: 40px; }
.promo-banner { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.promo-banner img { width: 100%; aspect-ratio: 1640 / 624; object-fit: cover; transition: transform .6s; }
.promo-banner:hover img { transform: scale(1.02); }
.promo-cta { position: absolute; left: 5.5%; bottom: 12%; display: inline-flex; align-items: center; gap: 8px; padding: .75em 1.4em; border-radius: 999px; background: linear-gradient(180deg, #F0CF73, #D4A93F); color: #1B1A17; font-weight: 700; font-size: .95rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }

/* Admin: landing fields */
.landing-fields { border: 1px dashed var(--line); border-radius: 14px; padding: 18px 20px 22px; margin: 24px 0 0; }
.landing-fields legend { padding: 0 8px; font-weight: 700; font-size: .9rem; color: var(--forest); }
.thumbs-row { display: flex; gap: 6px; flex-wrap: wrap; }
.thumbs-row img { width: 54px; height: 42px; object-fit: cover; border-radius: 6px; }
.thumbs-row img.wide { width: 160px; height: 61px; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }

@media (max-width: 900px) {
  .pd-hero.navy { --sx: 50%; --sy: 25%; }
}
@media (max-width: 640px) {
  .band { padding: 56px 0; }
  .quote-band { padding: 40px 20px; }
  .promo-cta { position: static; display: flex; justify-content: center; border-radius: 0; box-shadow: none; }
  .promo-banner { border-radius: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .rail { grid-auto-columns: calc((100% - 3 * 22px) / 4); }
  .spotlight { grid-template-columns: 1fr 1fr; }
  .spotlight-side { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .hero-grid, .product-grid, .why-grid, .community, .admin-cols, .split { grid-template-columns: minmax(0, 1fr); }
  .hero::before { display: none; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .feature:nth-child(3) { border: 0; }
  .split { gap: 28px; }
  .split-head { position: static; }
  .why { background: none; }
  .why-photo { max-width: 420px; aspect-ratio: 1.1; border-radius: 160px 160px 24px 24px; }
  .product-stage { position: relative; top: 0; padding: 44px 26%; }
  .community-photo { min-height: 220px; order: -1; }
  .community-photo::before { background: linear-gradient(0deg, var(--forest), transparent 50%); }
  .community-copy { padding: 36px 28px 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  body.admin { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; }
  .admin-side nav { display: flex; overflow-x: auto; order: 3; width: 100%; }
  .admin-side nav a { white-space: nowrap; }
  .admin-side-foot { margin: 0 0 0 auto; display: flex; gap: 14px; padding: 0; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .topbar-row > span:not(.topbar-mid) { display: none; }
  .topbar-row { justify-content: center; }
  .header-row { height: 66px; gap: 10px; justify-content: space-between; }
  .logo-sub { display: none; }
  .hide-sm { display: none; }
  .hero { padding-top: 32px; }
  .hero-cta .btn { flex: 1; }
  .hero-visual { padding: 0 0 30px 34px; }
  .hero-badge { width: 92px; height: 92px; right: -6px; top: 14px; }
  .hero-badge strong { font-size: 1rem; }
  .hero-price-card { right: 10px; padding: 10px 14px; }
  .features { grid-template-columns: 1fr; padding: 8px 4px; }
  .feature { padding: 14px 18px; }
  .feature + .feature { border-inline-start: 0; border-top: 1px solid var(--line); }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .rail { grid-auto-columns: 46%; gap: 12px; }
  .card { padding: 8px; }
  .card-media { padding: 16px 14%; }
  .card h3 { font-size: .95rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .buy-chip { justify-content: center; }
  .spotlight { grid-template-columns: 1fr; padding: 40px 26px; text-align: center; }
  .spotlight-book { order: -1; width: 180px; }
  .spotlight-price { justify-content: center; }
  .spotlight .quote { margin-inline: auto; }
  .why-items { grid-template-columns: 1fr; gap: 22px; }
  .shop-tools, .mini-search { width: 100%; }
  .mini-search input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form .span2 { grid-column: auto; }
  .assurances { justify-content: flex-start; }
  .sticky-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .2); }
  .sticky-info { display: grid; min-width: 0; line-height: 1.3; }
  .sticky-info strong { font-family: var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-info span { color: var(--wine); font-weight: 700; }
  .sticky-buy .buy-chip { padding: 12px 22px; font-size: .95rem; }
  body:has(.sticky-buy) .site-footer { padding-bottom: 80px; }
}
