/* Petal & Stone storefront — all values via tokens.css */
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--text);
  line-height: var(--lh-body); font-size: var(--text-base);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- backdrop stack (visual-assets) ---------- */
.backdrop { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(rgba(250,247,240,.55), rgba(250,247,240,.55)),
    url('spacream.jpg') center / cover no-repeat,
    radial-gradient(120% 90% at 70% 0%, #e9ddf5 0%, var(--ink-1) 60%, var(--bg) 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); }
.orb-a { width: 55vw; height: 55vw; top: -18vw; right: -10vw; opacity: .16; background: var(--accent); }
.orb-b { width: 40vw; height: 40vw; bottom: -10vw; left: -12vw; opacity: .14; background: #9d7fd4; }
.vignette { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(108,75,168,.12) 100%); }
.grain { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .05;
  pointer-events: none; mix-blend-mode: overlay; z-index: 60; }

/* ---------- announcement + nav ---------- */
.announce { background: var(--accent-deep); color: var(--ink-0); text-align: center;
  font-size: var(--text-sm); letter-spacing: .04em; padding: var(--space-2) var(--space-3); }
.nav { position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,240,.72); backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: var(--space-3) var(--space-4);
  display: flex; align-items: center; gap: var(--space-5); }
.logo { font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: .02em; }
.logo em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: var(--space-5); margin-left: auto; font-size: var(--text-sm);
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.nav-links a:hover { color: var(--text); }
.nav-cart { position: relative; padding: var(--space-2); }
.nav-cart svg { width: 22px; height: 22px; stroke: var(--text); }
.cart-count { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px;
  border-radius: 9px; background: var(--accent); color: var(--ink-0);
  font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }

/* ---------- hero ---------- */
.hero { min-height: 88vh; display: grid; place-items: center; text-align: center;
  padding: var(--space-8) var(--space-4); position: relative; }
.hero-kicker { color: var(--accent-deep); letter-spacing: .28em; text-transform: uppercase;
  font-size: var(--text-sm); margin-bottom: var(--space-4); }
.hero h1 { font-family: var(--font-display); font-size: var(--text-hero);
  line-height: var(--lh-head); letter-spacing: -.02em; max-width: 14ch; }
.hero p { color: var(--text-muted); max-width: 52ch; margin: var(--space-4) auto var(--space-5); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 16px 34px; border-radius: 999px; font-weight: 600; letter-spacing: .02em;
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.btn-accent { background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: var(--ink-0); box-shadow: 0 8px 32px var(--accent-glow), var(--edge-light); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--accent-glow), var(--edge-light); }
.btn-ghost { border: 1px solid var(--glass-border); background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)); color: var(--text); margin-left: var(--space-3); }
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- sections ---------- */
section { max-width: 1280px; margin: 0 auto; padding: var(--space-8) var(--space-4); }
.sec-kicker { color: var(--accent-deep); letter-spacing: .24em; text-transform: uppercase;
  font-size: var(--text-sm); margin-bottom: var(--space-3); }
.sec-title { font-family: var(--font-display); font-size: var(--text-3xl);
  line-height: var(--lh-head); letter-spacing: -.015em; margin-bottom: var(--space-5); }
.sec-sub { color: var(--text-muted); max-width: 60ch; margin-top: calc(var(--space-5) * -0.6);
  margin-bottom: var(--space-5); }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.cat-tile { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-border); }
.cat-tile .art, .cat-tile img.art-img, .story-art img.art-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-art { position: relative; }
.cat-tile img.art-img { transition: transform 600ms var(--ease-out); }
.cat-tile:hover img.art-img { transform: scale(1.04); }
.cat-tile::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(51,36,48,.78)); }
.cat-meta { position: absolute; left: var(--space-4); bottom: var(--space-4); z-index: 2; }
.cat-meta h3 { font-family: var(--font-display); font-size: var(--text-xl); color: var(--ink-0); }
.cat-meta span { font-size: var(--text-sm); color: var(--ink-2); }
.cat-tile:hover .art { transform: scale(1.04); }
.cat-tile .art { transition: transform 600ms var(--ease-out); }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); }
.card { border: 1px solid var(--glass-border); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); transition: transform var(--dur-micro) var(--ease-out),
  box-shadow var(--dur-micro) var(--ease-out); position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raise); }
.card-img { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.badge { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 2;
  background: var(--accent); color: var(--ink-0); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.badge.sale { background: var(--danger); color: var(--ink-0); }
.quick-add { position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3);
  z-index: 2; padding: 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: var(--text-sm);
  background: rgba(243,237,226,.9); backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border); color: var(--text);
  opacity: 0; transform: translateY(10px);
  transition: all var(--dur-micro) var(--ease-out); }
.card:hover .quick-add, .card:focus-within .quick-add { opacity: 1; transform: none; }
.quick-add:hover { border-color: var(--accent); color: var(--accent-deep); }
.card-body { padding: var(--space-3) var(--space-4) var(--space-4); }
.card-name { font-size: var(--text-base); font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-scent { font-size: var(--text-sm); color: var(--text-muted); margin-top: 2px; }
.card-price { margin-top: var(--space-2); font-size: var(--text-lg); font-weight: 700; }
.card-price s { color: var(--text-muted); font-weight: 400; font-size: var(--text-base); margin-right: var(--space-2); }
.card-price .pct { color: var(--accent); font-size: var(--text-sm); font-weight: 600; margin-left: var(--space-2); }

/* ---------- editorial teaching blocks ---------- */
.sub-kicker { font-size: var(--text-sm); letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep); margin: var(--space-7) 0 var(--space-4);
  display: flex; align-items: center; gap: var(--space-3); }
.sub-kicker::after { content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent); }
.teach { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-5);
  align-items: center; margin: var(--space-6) 0; padding: var(--space-5);
  border-radius: var(--radius); border: 1px solid var(--glass-border);
  background: var(--ink-1); box-shadow: var(--edge-light); }
.teach-alt { grid-template-columns: 1fr; background:
  linear-gradient(140deg, rgba(142,108,201,.14), rgba(236,227,212,.4)), var(--ink-1); }
.teach-art { display: flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 140px; border-radius: calc(var(--radius) - 4px); }
.teach-art-plum { background: linear-gradient(155deg, #332430, #6c4ba8 70%, #8e6cc9); }
.teach-art .swatch { width: 34px; height: 54px; border-radius: 8px;
  border: 1px solid rgba(243,237,226,.4); box-shadow: 0 6px 18px rgba(51,36,48,.35); }
.teach-kicker { font-size: var(--text-sm); letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: var(--space-2); }
.teach-title { font-family: var(--font-display); font-size: var(--text-xl);
  margin-bottom: var(--space-3); color: var(--ink-9); }
.teach p { color: var(--text-muted); font-size: var(--text-base); }
.teach p + p { margin-top: var(--space-3); }
.teach-note { font-size: var(--text-sm) !important; margin-top: var(--space-3);
  color: var(--ink-6); font-style: italic; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 0; }
.chip { padding: 6px 14px; border-radius: 999px; font-size: var(--text-sm);
  background: var(--accent-soft); color: var(--ink-9);
  border: 1px solid rgba(142,108,201,.35); }
.step-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr));
  gap: var(--space-3); margin-top: var(--space-4); }
.step { padding: var(--space-3) var(--space-4); border-radius: 10px;
  background: rgba(243,237,226,.8); border: 1px solid var(--glass-border);
  font-size: var(--text-sm); color: var(--text-muted); }
.step b { display: inline-grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--accent); color: var(--ink-0);
  font-size: 12px; margin-right: var(--space-2); }
.pr-banner { display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-7);
  padding: var(--space-5) var(--space-6); border-radius: var(--radius);
  background: linear-gradient(135deg, #332430, #4a3550 55%, #6c4ba8);
  color: var(--ink-1); box-shadow: 0 10px 34px rgba(51,36,48,.3); }
.pr-banner h3 { font-family: var(--font-display); font-size: var(--text-xl); color: var(--ink-0); }
.pr-banner p { color: var(--ink-3); margin-top: var(--space-1); font-size: var(--text-sm); }
@media (max-width: 720px) { .teach { grid-template-columns: 1fr; } .teach-art { min-height: 90px; } }


/* product art — code-generated "photography" (visual-assets)
   .art = scene (dark backdrop + glow orb); shape classes draw the product;
   inner <i> = accent detail (cap, tip, label band) */
.art { position: relative; width: 100%; height: 100%;
  background: radial-gradient(120% 90% at 50% 8%, hsl(var(--h,340) 45% 88%), var(--ink-1) 72%); }
.art::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; left: 14%; top: 8%;
  border-radius: 50%; background: radial-gradient(circle, hsl(var(--h,340) 60% 65% / .45), transparent 70%);
  filter: blur(38px); }
.art::after { content: ""; position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  box-shadow: 0 18px 40px rgba(90,60,80,.28), inset 0 2px 0 rgba(243,237,226,.5); }
.art i { position: absolute; left: 50%; transform: translateX(-50%); }

/* lipstick: slim gold case + angled bullet */
.art.lipstick::after { width: 15%; aspect-ratio: 1/3.1; border-radius: 6%/18%;
  background: linear-gradient(180deg, hsl(var(--h,340) 55% 42%) 0 42%, #d9b07a 42% 58%, #4a3548 58% 100%);
  clip-path: polygon(0 12%, 50% 0, 100% 8%, 100% 100%, 0 100%); }
.art.lipstick i { bottom: 12%; width: 15%; aspect-ratio: 1/3.1; border-radius: 6%/18%; }

/* serum bottle: frosted column + dropper cap */
.art.serum::after { width: 26%; aspect-ratio: 1/2.1; border-radius: 14%/7%;
  background: linear-gradient(180deg, hsl(var(--h,340) 45% 38% / .9), hsl(var(--h,340) 50% 20%)); }
.art.serum i { bottom: calc(12% + 26% * 2.1); width: 10%; aspect-ratio: 1/1.4;
  border-radius: 3px; background: linear-gradient(180deg, #d9b07a, #8a6a42);
  box-shadow: 0 4px 10px rgba(0,0,0,.4); }

/* cream jar: wide frosted pot + gold lid */
.art.jar::after { width: 44%; aspect-ratio: 1/.72; border-radius: 18%/26%;
  background: linear-gradient(180deg, hsl(var(--h,340) 40% 34%), hsl(var(--h,340) 45% 18%)); }
.art.jar i { bottom: calc(12% + 44% * .72 * .62); width: 44%; height: 12%;
  border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #e6c08a, #9a7448);
  box-shadow: 0 3px 8px rgba(0,0,0,.4); }

/* tube: tapered body + cap on bottom */
.art.tube::after { width: 23%; aspect-ratio: 1/2.5; border-radius: 45% 45% 10% 10%/12% 12% 4% 4%;
  background: linear-gradient(180deg, hsl(var(--h,340) 38% 40%), hsl(var(--h,340) 45% 22%)); }
.art.tube i { bottom: 12%; width: 19%; height: 7%; border-radius: 4px;
  background: linear-gradient(180deg, #4a3548, #332430); }

/* mist bottle: tall slim + spray head */
.art.mist::after { width: 21%; aspect-ratio: 1/2.6; border-radius: 10%/4%;
  background: linear-gradient(180deg, hsl(var(--h,340) 42% 36% / .92), hsl(var(--h,340) 48% 20%)); }
.art.mist i { bottom: calc(12% + 21% * 2.6); width: 12%; aspect-ratio: 1/1.1;
  border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #d9b07a, #8a6a42); }

/* story band */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.story-art { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-border); }
.story p { color: var(--text-muted); margin-bottom: var(--space-4); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--glass-border); margin-top: var(--space-8); }
.foot-grid { max-width: 1280px; margin: 0 auto; padding: var(--space-7) var(--space-4);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--space-5); }
.foot-grid h4 { font-size: var(--text-sm); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--space-3); }
.foot-grid a { display: block; padding: var(--space-1) 0; color: var(--text); font-size: var(--text-sm); }
.foot-grid a:hover { color: var(--accent-deep); }
.pay-row { display: flex; gap: var(--space-2); margin-top: var(--space-4); opacity: .6; }
.pay-row span { border: 1px solid var(--glass-border); border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: 4px 8px; }
.legal { text-align: center; padding: var(--space-4); color: var(--text-muted);
  font-size: var(--text-sm); border-top: 1px solid var(--glass-border); }
.news-input { display: flex; gap: var(--space-2); }
.news-input input { flex: 1; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 12px var(--space-3); color: var(--text); font: inherit; }
.news-input button { padding: 12px var(--space-4); border-radius: var(--radius-sm);
  background: var(--accent); color: var(--ink-0); font-weight: 700; }

/* ---------- PDP ---------- */
.crumbs { max-width: 1280px; margin: 0 auto; padding: var(--space-4) var(--space-4) 0;
  font-size: var(--text-sm); color: var(--text-muted); }
.crumbs a:hover { color: var(--accent-deep); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: var(--space-6);
  align-items: start; padding-top: var(--space-4); }
.main-art { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-border); }
.thumbs { display: flex; gap: var(--space-3); margin-top: var(--space-3); flex-wrap: wrap; }
.thumb { width: 84px; aspect-ratio: 4/5; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid transparent; padding: 0; flex-shrink: 0; }
.thumb.active { border-color: var(--accent); }
.card-img img.art-img, .thumb img.art-img {
  width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp > * { min-width: 0; }
.main-art { position: relative; background: var(--surface); }
.main-art img.art-img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block; }
.line img.art-img { width: 64px; height: 80px; border-radius: var(--radius-sm);
  flex-shrink: 0; border: 1px solid var(--glass-border); object-fit: cover; }

.buybox { position: sticky; top: 96px; background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--edge-light); }
.buybox h1 { font-family: var(--font-display); font-size: var(--text-2xl);
  line-height: var(--lh-head); margin: var(--space-2) 0 var(--space-3); }
.stars { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--accent);
  font-size: var(--text-sm); }
.stars small { color: var(--text-muted); }
.price-row { display: flex; align-items: baseline; gap: var(--space-3); margin: var(--space-3) 0 var(--space-2); }
.price { font-size: var(--text-2xl); font-weight: 700; }
.price s { color: var(--text-muted); font-size: var(--text-lg); font-weight: 400; }
.save-pill { background: var(--accent); color: var(--ink-0); font-size: var(--text-sm);
  font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.stock { font-size: var(--text-sm); color: var(--success); margin-bottom: var(--space-4); }
.opt-label { font-size: var(--text-sm); color: var(--text-muted); letter-spacing: .06em;
  text-transform: uppercase; margin: var(--space-4) 0 var(--space-2); }
.swatches { display: flex; gap: var(--space-2); }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent;
  outline: 1px solid var(--glass-border); position: relative; }
.swatch.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.swatch.oos { opacity: .4; }
.swatch.oos::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%;
  height: 1.5px; background: var(--ink-9); transform: rotate(-45deg); }
.pills { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.pill { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--glass-border);
  font-size: var(--text-sm); transition: all var(--dur-micro) var(--ease-out); }
.pill.active { border-color: var(--accent); color: var(--accent-deep);
  background: rgba(142,108,201,.12); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--glass-border);
  border-radius: 999px; margin-top: var(--space-4); }
.qty button { width: 44px; height: 44px; font-size: var(--text-lg); color: var(--text-muted); }
.qty button:hover { color: var(--accent-deep); }
.qty output { min-width: 34px; text-align: center; font-weight: 700; }
.atc { width: 100%; height: 56px; margin-top: var(--space-4); font-size: var(--text-lg);
  border-radius: 999px; }
.trust { text-align: center; font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--space-3); }

/* accordions */
.acc { border-top: 1px solid var(--glass-border); }
.acc:last-child { border-bottom: 1px solid var(--glass-border); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-4) 0; font-weight: 600; text-align: left; }
.acc-head svg { width: 16px; height: 16px; stroke: var(--text-muted);
  transition: transform var(--dur-micro) var(--ease-out); }
.acc.open .acc-head svg { transform: rotate(180deg); }
.acc-body { display: none; padding-bottom: var(--space-4); color: var(--text-muted); font-size: var(--text-sm); }
.acc.open .acc-body { display: block; }
.spec { width: 100%; font-size: var(--text-sm); border-collapse: collapse; }
.spec td { padding: var(--space-2) 0; border-bottom: 1px solid var(--glass-border); }
.spec td:first-child { color: var(--text-muted); width: 40%; }

/* reviews + related */
.rev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-4); }
.rev { background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: var(--space-4); }
.rev .stars { margin-bottom: var(--space-2); }
.rev p { font-size: var(--text-sm); color: var(--text-muted); }
.rev cite { display: block; margin-top: var(--space-3); font-size: var(--text-sm);
  font-style: normal; font-weight: 600; }

/* sticky mobile ATC */
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  background: rgba(250,247,240,.88); backdrop-filter: blur(var(--glass-blur));
  border-top: 1px solid var(--glass-border);
  transform: translateY(110%); transition: transform 350ms var(--ease-out); }
.sticky-atc.show { transform: none; }
.sticky-atc .price { font-size: var(--text-lg); }
.sticky-atc .btn { flex: 1; height: 48px; padding: 0; }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(51,36,48,.42); z-index: 70;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-micro); }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 94vw); z-index: 80;
  background: rgba(250,247,240,.94); backdrop-filter: blur(var(--glass-blur));
  border-left: 1px solid var(--glass-border); box-shadow: var(--shadow-raise);
  transform: translateX(105%); transition: transform 400ms var(--ease-out);
  display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-4); border-bottom: 1px solid var(--glass-border); }
.drawer-head h2 { font-family: var(--font-display); font-size: var(--text-xl); }
.drawer-lines { flex: 1; overflow-y: auto; padding: var(--space-4); }
.line { display: flex; gap: var(--space-3); padding: var(--space-3) 0;
  border-bottom: 1px solid var(--glass-border); }
.line .art { width: 64px; height: 80px; border-radius: var(--radius-sm); flex-shrink: 0;
  border: 1px solid var(--glass-border); }
.line-info { flex: 1; font-size: var(--text-sm); }
.line-info b { display: block; }
.line-info .var { color: var(--text-muted); font-size: var(--text-sm); }
.line-qty { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2);
  border: 1px solid var(--glass-border); border-radius: 999px; }
.line-qty button { width: 28px; height: 28px; color: var(--text-muted); }
.line-rm { color: var(--text-muted); font-size: var(--text-sm); align-self: flex-start; }
.line-rm:hover { color: var(--danger); }
.ship-bar { margin: var(--space-4); }
.ship-bar p { font-size: var(--text-sm); margin-bottom: var(--space-2); }
.ship-track { height: 6px; border-radius: 3px; background: var(--ink-4); overflow: hidden; }
.ship-fill { height: 100%; background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  border-radius: 3px; transition: width 400ms var(--ease-out); }
.drawer-foot { padding: 0 var(--space-4) var(--space-4); }
.subtotal { display: flex; justify-content: space-between; font-weight: 700;
  font-size: var(--text-lg); margin-bottom: var(--space-3); }
.drawer-foot .btn { width: 100%; height: 52px; }
.cont-shop { display: block; text-align: center; margin-top: var(--space-3);
  color: var(--text-muted); font-size: var(--text-sm); }
.empty-cart { text-align: center; color: var(--text-muted); padding: var(--space-7) var(--space-4); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none;
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; } * { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .cat-grid, .rev-grid { grid-template-columns: 1fr; }
  .story, .pdp { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .buybox { position: static; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  section { padding: var(--space-6) var(--space-4); }
}

/* =====================================================================
   Refresh 2026-09-28 — smaller, uniform product imagery + editorial polish
   ===================================================================== */

/* ---- type: the tokens name Playfair/Inter; they're now actually loaded ---- */
.hero h1, .sec-title, .card-name, .logo, .cat-meta h3 { font-optical-sizing: auto; }
.sec-title { font-weight: 500; }
.hero h1 { font-weight: 500; letter-spacing: -.025em; }

/* ---- hero: shorter, calmer, legible over the photo ---- */
.hero { min-height: min(72vh, 680px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 50% 50%, rgba(250,247,240,.82), rgba(250,247,240,.35) 70%, transparent); }
.hero-kicker { color: var(--accent-deep); font-weight: 600; font-size: 12px; }
.hero p { color: var(--ink-8); font-size: 1.0625rem; }

/* ---- section headings: kicker gets a small accent rule ---- */
.sec-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 12px; }
.sec-kicker::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

/* ---- product grid: more, smaller, uniform tiles ---- */
.grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--space-4) var(--space-3); }
.card { display: flex; flex-direction: column; background: rgba(255,253,249,.78);
  border-color: rgba(60,42,80,.09); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(90,60,80,.05); }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(90,60,80,.05), 0 18px 40px rgba(90,60,80,.10); }
/* was an inline <a>, so aspect-ratio never applied and photos ran full height */
.card-img { display: block; aspect-ratio: 1 / 1; margin: 10px 10px 0; border-radius: 12px;
  background: radial-gradient(90% 90% at 50% 35%, #fff, var(--ink-1)); }
.card-img img.art-img { width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease-out); }
.card:hover .card-img img.art-img { transform: scale(1.05); }
.card-img .art { border-radius: 12px; }
.badge { top: 10px; left: 10px; font-size: 10px; padding: 4px 9px;
  background: rgba(255,253,249,.92); color: var(--accent-deep); border: 1px solid var(--accent-soft); }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card-scent { order: -1; margin: 0 0 2px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-deep); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-name { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
  line-height: 1.3; min-height: 2.6em; }
.card-name a:hover { color: var(--accent-deep); }
.card-price { margin-top: auto; padding-top: 8px; font-size: 1rem; font-weight: 600; color: var(--ink-8); }

/* quick add: a slim pill that slides up over the bottom of the photo */
.card-img + .quick-add { position: absolute; left: 20px; right: 20px; top: 0; bottom: auto;
  margin-top: calc((100% - 20px) - 44px); padding: 9px; border-radius: 999px;
  font-size: 12px; background: rgba(255,253,249,.94); }
@media (hover: none) { .card-img + .quick-add { opacity: 1; transform: none; } }

/* ---- category tiles + story image: shorter ---- */
.cat-tile { aspect-ratio: 16 / 10; border-radius: 18px; }
.story { grid-template-columns: .9fr 1.1fr; }
.story-art { aspect-ratio: 5 / 4; max-height: 400px; border-radius: 18px; }

/* ---- product page: a contained gallery, not a full-column poster ---- */
.pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1120px; }
.pdp > :first-child { max-width: 520px; width: 100%; justify-self: end; }
.main-art { aspect-ratio: 1 / 1; border-radius: 18px;
  background: radial-gradient(90% 90% at 50% 35%, #fff, var(--ink-1)); }
.main-art img.art-img { object-fit: contain; padding: 18px; }
.thumb { width: 72px; aspect-ratio: 1 / 1; border-radius: 12px; }
.buybox { border-radius: 18px; }

/* the mobile add-to-cart bar was also sliding over desktop pages */
@media (min-width: 901px) { .sticky-atc { display: none; } }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) 12px; }
  .card-img { margin: 8px 8px 0; }
  .card-body { padding: 10px 12px 14px; }
  .card-name { font-size: .95rem; }
  .pdp > :first-child { max-width: none; justify-self: stretch; }
  .main-art { width: 100%; max-width: 460px; margin: 0 auto; }
  /* the two-column .pdp/.story rules above come after the base 900px rule, so restate it */
  .pdp, .story { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: var(--space-7) var(--space-4); }
  .cat-tile { aspect-ratio: 16 / 9; }
  .story-art { max-height: 300px; }
}

/* hero tagline: one line on desktop, wraps cleanly on phones */
.hero-kicker { letter-spacing: .22em; max-width: none; }
@media (max-width: 540px) {
  .hero-kicker { letter-spacing: .14em; font-size: 11px; line-height: 1.8; }
  /* footer was a 2-col grid wider than the phone (704px on a 390px screen) */
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > * { min-width: 0; }
  .news-input input { min-width: 0; }
}

/* mobile buy bar: long product names truncate instead of squeezing the button */
.sticky-atc > div { flex: 1 1 auto; min-width: 0; }
.sticky-atc > div b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc .btn { flex: 0 0 auto; padding: 0 24px; }
