/* Layout: a festive apothecary shelf. Arched frames from the catalogue cover hold the photos,
   gold hairlines divide, script only for titles. Phone first, widening to a 4-column shelf. */
:root {
  --cream: #f7f1e8;
  --paper: #fffcf7;
  --blush: #efe0d6;
  --sage: #7d8c70;
  --sage-soft: #e4e8dc;
  --forest: #2f3b2f;
  --gold: #a8864b;
  --gold-soft: #d9c79f;
  --ink: #3d3a35;
  --muted: #7d756a;
  --tbf: #a86d5c;
  --line: rgba(168, 134, 75, .38);
  --shadow: 0 6px 22px rgba(47, 59, 47, .10);

  --script: "Allura", "Snell Roundhand", cursive;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --body: 1rem;
  --small: .875rem;
  --label: .72rem;
  --wrap: 1180px;
  --radius: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: var(--body);
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--cream); }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 500; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.script { font-family: var(--script); font-weight: 400; color: var(--forest); line-height: 1; }
.serif { font-family: var(--serif); }
.label { font-size: var(--label); letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.muted { color: var(--muted); }
.tbf { color: var(--tbf); font-family: var(--serif); font-style: italic; font-weight: 500; }
.hair { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0; }

/* ribbon + header */
.ribbon { background: var(--forest); color: var(--gold-soft); font-size: var(--label); letter-spacing: .14em;
  text-transform: uppercase; text-align: center; }
.ribbon .wrap { padding-block: 6px; }
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(247, 241, 232, .94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd-in { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 64px; }
.brand { justify-self: center; }
.brand img { height: 40px; width: auto; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer;
  border-radius: 50%; position: relative; color: var(--forest); }
.icon-btn:hover { background: var(--sage-soft); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn { justify-self: end; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--gold); color: var(--paper); font-size: .7rem; font-weight: 500; line-height: 19px; text-align: center;
  font-variant-numeric: tabular-nums; }
.badge.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }
.nav { display: none; }
.nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
.nav a { text-decoration: none; font-size: var(--small); letter-spacing: .08em; color: var(--forest); padding: 12px 4px;
  border-bottom: 1px solid var(--line); }
.nav a:last-child { border-bottom: 0; }
.nav a[aria-current="page"] { color: var(--gold); }

@media (min-width: 900px) {
  .hd-in { grid-template-columns: auto 1fr auto; gap: 32px; height: 76px; }
  .menu-btn { display: none; }
  .brand { justify-self: start; grid-column: 1; grid-row: 1; }
  .brand img { height: 48px; }
  .nav, .nav.open { display: flex; position: static; flex-direction: row; justify-content: center; gap: 28px; background: none;
    border: 0; box-shadow: none; padding: 0; grid-column: 2; grid-row: 1; }
  .nav a { border: 0; padding: 6px 0; border-bottom: 1px solid transparent; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .cart-btn { grid-column: 3; grid-row: 1; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--forest); background: var(--forest); color: var(--paper); cursor: pointer;
  font-size: var(--small); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; text-decoration: none;
  transition: background .2s, color .2s, transform .1s; }
.btn:hover { background: #3c4a3c; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--sage-soft); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: #95773f; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); text-decoration: none; font-weight: 500; }
.wa-link svg { width: 18px; height: 18px; fill: var(--sage); }
.wa-link:hover span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* sections */
.section { padding-block: 48px; }
.section-hd { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-hd h2 { font-family: var(--script); font-size: 2.6rem; color: var(--forest); line-height: 1; font-weight: 400; }
.section-hd p { color: var(--muted); max-width: 46ch; }
.eyebrow { color: var(--sage); display: block; margin-bottom: 8px; }

/* home hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 20%, var(--paper) 0%, var(--cream) 60%, var(--blush) 100%); }
.hero .wm { position: absolute; width: 900px; max-width: none; opacity: .06; left: -180px; bottom: -120px; transform: rotate(-9deg); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 32px; padding-block: 36px 52px; text-align: center; }
.arches { display: flex; gap: 12px; justify-content: center; align-items: flex-end; }
.arch { width: 28%; max-width: 150px; aspect-ratio: 32 / 52; border-radius: 999px 999px 6px 6px; overflow: hidden;
  border: 1.5px solid var(--gold); padding: 4px; background: var(--paper); }
.arch.tall { width: 36%; max-width: 200px; aspect-ratio: 42 / 70; }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero-copy { display: grid; gap: 14px; justify-items: center; }
.hero-copy .edition { font-family: var(--script); font-size: 3rem; color: var(--forest); line-height: 1; }
.hero-copy h1 { font-family: var(--serif); font-size: 2.1rem; line-height: 1.15; color: var(--forest); max-width: 18ch; }
.hero-copy p { max-width: 40ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; text-align: left; padding-block: 64px 80px; gap: 56px; }
  .hero-copy { justify-items: start; order: -1; }
  .hero-copy h1 { font-size: 3.1rem; }
  .hero-copy .edition { font-size: 3.6rem; }
  .hero-cta { justify-content: flex-start; }
  .arch { max-width: 170px; } .arch.tall { max-width: 230px; }
}

.promise { border-block: 1px solid var(--line); background: var(--paper); }
.promise-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.promise-in div { padding: 14px 8px; text-align: center; font-size: var(--small); color: var(--forest); }
.promise-in b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
@media (min-width: 700px) { .promise-in { grid-template-columns: repeat(4, 1fr); } }

/* category tiles: arches */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px));
  scrollbar-width: none; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); padding-bottom: 4px; }
.cats::-webkit-scrollbar { display: none; }
.cat { scroll-snap-align: start; }
.cat { text-decoration: none; display: grid; gap: 10px; justify-items: center; text-align: center; }
.cat .frame { width: 100%; aspect-ratio: 3 / 4; border-radius: 999px 999px 8px 8px; overflow: hidden; border: 1.5px solid var(--gold);
  padding: 4px; background: var(--paper); transition: transform .3s ease; }
.cat .frame img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cat:hover .frame { transform: translateY(-4px); }
.cat h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--forest); line-height: 1.15; }
.cat span { font-size: var(--small); color: var(--muted); }
@media (min-width: 700px) { .cats { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* product grid + cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: grid; grid-template-rows: auto 1fr; gap: 12px; min-width: 0; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sage-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-code { position: absolute; left: 8px; top: 8px; background: rgba(255, 252, 247, .92); color: var(--forest);
  font-size: .68rem; letter-spacing: .12em; padding: 3px 8px; border-radius: 999px; font-weight: 500; }
.card-body { display: grid; gap: 4px; align-content: start; min-width: 0; }
.card-body a.nm { text-decoration: none; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; color: var(--forest); font-weight: 500; }
.card-body a.nm:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.card-cat { color: var(--sage); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-weight: 600; color: var(--forest); font-size: 1.35rem; line-height: 1; font-variant-numeric: lining-nums; }
.price small { font-family: var(--sans); font-size: var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  font-weight: 500; margin-left: 4px; }
.add-mini { border: 1px solid var(--forest); background: transparent; color: var(--forest); border-radius: 999px; height: 36px;
  padding: 0 14px; font-size: var(--label); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; font-weight: 500; }
.add-mini:hover { background: var(--forest); color: var(--paper); }

/* shop filters */
.shop-hd { padding-block: 32px 8px; display: grid; gap: 8px; }
.shop-hd h1 { font-family: var(--script); font-size: 3rem; font-weight: 400; color: var(--forest); line-height: 1; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: 16px 24px;
  border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  font-size: var(--small); color: var(--forest); background: var(--paper); white-space: nowrap; }
.chip[aria-current="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.sort { display: flex; gap: 8px; align-items: center; font-size: var(--small); color: var(--muted); }
.sort select { border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 7px 10px; color: var(--forest); }

/* product page */
.crumbs { font-size: var(--small); color: var(--muted); padding-block: 18px 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--forest); }
.pdp { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.gallery { display: grid; gap: 10px; min-width: 0; }
@media (min-width: 900px) { .gallery { position: sticky; top: 100px; } }
.gallery .main { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--sage-soft); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { display: grid; gap: 16px; min-width: 0; align-content: start; }
.info .topline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.info .code { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.info h1 { font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; color: var(--forest); }
.info .price { font-size: 2rem; }
.feat { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.feat li { font-size: var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 0; }
.spec { padding: 9px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 500; color: var(--forest); }
.buy { display: grid; gap: 10px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--forest); border-radius: 999px; }
.qty button:hover { background: var(--sage-soft); }
.qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.qty.sm { height: 36px; } .qty.sm button { width: 32px; }
.ship-note { font-size: var(--small); color: var(--muted); }

/* story */
.story { display: grid; gap: 28px; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.story figure { margin: 0; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4;
  border: 1.5px solid var(--gold); padding: 5px; background: var(--paper); max-width: 520px; width: 100%; justify-self: center; }
.story figure img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.story h2 { font-family: var(--script); font-size: 3rem; font-weight: 400; color: var(--forest); line-height: 1; margin-bottom: 14px; }
.story p + p { margin-top: 12px; }
.values { display: grid; gap: 0; margin-top: 18px; }
.values div { padding: 10px 0; border-top: 1px solid var(--line); }
.values b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--forest); margin-right: 6px; }

.band { background: var(--forest); color: var(--paper); }
.band-in { padding-block: 44px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.band h2 { font-family: var(--script); font-size: 2.8rem; color: var(--paper); font-weight: 400; line-height: 1; }
.band p { color: var(--gold-soft); max-width: 46ch; }
.band .btn { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.band .btn:hover { background: var(--cream); }

/* how to order */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; }
.steps li::before { content: counter(s, upper-roman); position: absolute; left: 0; top: -2px; font-family: var(--serif);
  font-style: italic; font-size: 1.4rem; color: var(--gold); }
.steps b { color: var(--forest); font-weight: 500; }
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; }
.panel h2 { font-family: var(--script); font-size: 2.2rem; font-weight: 400; color: var(--forest); line-height: 1; }

/* cart lines (drawer + page) */
.lines { display: grid; gap: 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 72px; height: 88px; object-fit: cover; border-radius: 8px; }
.line .nm { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; color: var(--forest); text-decoration: none; font-weight: 500; }
.line .meta { font-size: var(--small); color: var(--muted); }
.line .ctrl { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.line .amt { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--forest); text-align: right; font-variant-numeric: tabular-nums; }
.rm { border: 0; background: none; color: var(--muted); font-size: var(--small); text-decoration: underline; cursor: pointer; padding: 4px 0; }
.rm:hover { color: var(--tbf); }
.sumrows { display: grid; gap: 8px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; font-size: var(--small); }
.sumrow span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.sumrow.disc span:last-child { color: var(--forest); }
.code-box { display: grid; gap: 4px; }
.code-box label { font-size: var(--small); color: var(--forest); }
.code-box label .opt { color: var(--muted); }
.code-row { display: flex; gap: 8px; align-items: center; }
.code-row input { flex: 1; width: auto; min-width: 0; text-transform: uppercase; }
.code-row .btn { padding: 0 16px; min-height: 44px; }
.sumrow.total { font-size: 1rem; padding-top: 10px; border-top: 1px solid var(--line); align-items: baseline; }
.sumrow.total span:last-child { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--forest); }
.empty { display: grid; gap: 14px; justify-items: center; text-align: center; padding-block: 40px; }
.empty .script { font-size: 2.4rem; }
.gift label { display: block; font-size: var(--small); color: var(--forest); margin-bottom: 6px; }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(47, 59, 47, .35); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--cream); z-index: 50;
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
  visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.drawer.open { transform: none; visibility: visible; box-shadow: -10px 0 30px rgba(47, 59, 47, .15); transition: transform .3s ease; }
.drawer-hd { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-hd h2 { font-size: 2.3rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 20px 20px; display: flex; flex-direction: column; }
.drawer-body .lines { flex: 1; align-content: start; }
.drawer-foot { display: grid; gap: 12px; padding-top: 16px; }

/* cart + checkout pages */
.page-hd { padding-block: 32px 20px; }
.page-hd h1 { font-family: var(--script); font-size: 3rem; font-weight: 400; color: var(--forest); line-height: 1; }
.cols { display: grid; gap: 28px; padding-bottom: 56px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; } .cols .sticky { position: sticky; top: 100px; } }
.form { display: grid; gap: 22px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
legend { font-family: var(--serif); font-size: 1.4rem; color: var(--forest); font-weight: 600; margin-bottom: 6px; padding: 0; }
.fields { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 4px; grid-column: span 2; min-width: 0; }
.field.half { grid-column: span 1; }
@media (max-width: 420px) { .field.half { grid-column: span 2; } }
.field label { font-size: var(--small); color: var(--forest); }
.field label .opt { color: var(--muted); }
.field input, .field select, .field textarea, .gift textarea, .code-box input { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 8px;
  padding: 11px 12px; font-size: 1rem; color: var(--ink); }
.field textarea, .gift textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .gift textarea:focus, .code-box input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field .err { color: var(--tbf); font-size: var(--small); }
.field input[aria-invalid="true"] { border-color: var(--tbf); }
.note { background: var(--sage-soft); border-radius: 8px; padding: 12px 14px; font-size: var(--small); color: var(--forest); }
.note.warn { background: var(--blush); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-methods span { font-size: var(--label); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 6px;
  padding: 3px 8px; color: var(--muted); background: var(--paper); }
.mini-lines .line { grid-template-columns: 56px 1fr auto; padding: 10px 0; }
.mini-lines .line img { width: 56px; height: 64px; }

/* payment preview sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; background: rgba(47, 59, 47, .45); }
@media (min-width: 700px) { .sheet-wrap { place-items: center; } }
.sheet { width: min(440px, 100%); background: var(--paper); border-radius: 16px 16px 0 0; padding: 24px 22px calc(24px + env(safe-area-inset-bottom, 0px));
  display: grid; gap: 14px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .sheet { border-radius: 16px; } }
.sheet h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); font-weight: 600; }
.sheet .amt { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--forest); line-height: 1; }

/* confirmation */
.done { display: grid; gap: 16px; justify-items: center; text-align: center; padding-block: 48px 24px; }
.done .seal { width: 76px; height: 76px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; background: var(--paper); }
.done .seal svg { width: 34px; height: 34px; fill: none; stroke: var(--sage); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.done h1 { font-family: var(--script); font-size: 3.2rem; font-weight: 400; color: var(--forest); line-height: 1; }
.order-no { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); font-style: italic; }

/* footer */
.ft { background: var(--forest); color: var(--paper); margin-top: 0; }
.ft-in { display: grid; gap: 28px; padding-block: 44px 28px; grid-template-columns: 1fr 1fr; }
.ft-brand { grid-column: 1 / -1; display: grid; gap: 12px; }
.ft-brand img { width: 190px; }
.ft-brand p { color: var(--gold-soft); font-size: var(--small); max-width: 34ch; }
.ft-col { display: grid; gap: 6px; align-content: start; font-size: var(--small); }
.ft-col .label { color: var(--gold-soft); margin-bottom: 4px; }
.ft-col a { text-decoration: none; color: var(--paper); }
.ft-col a:hover { text-decoration: underline; text-decoration-color: var(--gold-soft); }
.ft-wa { font-size: 1.1rem; font-weight: 500; }
.ft-note { color: var(--gold-soft); }
.ft-base { border-top: 1px solid rgba(217, 199, 159, .25); padding-block: 16px; font-size: var(--label); letter-spacing: .1em; color: var(--gold-soft); }
@media (min-width: 900px) { .ft-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .ft-brand { grid-column: auto; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 70;
  background: var(--forest); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-size: var(--small);
  box-shadow: var(--shadow); max-width: calc(100% - 32px); display: flex; gap: 14px; align-items: center; }
.toast a { color: var(--gold-soft); white-space: nowrap; }

/* Cart: companions of what is in the cart */
.upsell { margin-top: 28px; }
.upsell h2 { font-size: var(--h3, 1.15rem); margin: 0 0 12px; }
.upsell-row { display: grid; gap: 12px; }
.up { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: var(--paper); }
.up img { border-radius: 8px; object-fit: cover; flex: none; }
.up .nm { display: block; font-weight: 600; color: var(--forest); text-decoration: none; }
.up .meta { color: var(--muted); font-size: var(--small); margin: 2px 0 8px; }
.up .btn.sm { min-height: 40px; padding: 0 16px; }
@media (min-width: 700px) { .upsell-row { grid-template-columns: repeat(3, 1fr); } .up { flex-direction: column; align-items: flex-start; } }

/* Product reviews */
.stars { color: var(--line); letter-spacing: 1px; white-space: nowrap; }
.stars .on { color: var(--gold); }
.rating-summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--small); margin: 4px 0; }
.review-avg { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }
.review h3 { font-size: 1.05rem; margin: 6px 0 2px; }
.review p { margin: 2px 0; }
.review .verified { font-size: var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--sage); margin-left: 6px; }
.review-form { display: grid; gap: 12px; margin-top: 12px; max-width: 520px; }
.review-form .field { grid-column: auto; }
