/* ============================================================================
   Livronic — design system & stylesheet
   ============================================================================ */

/* ----------------------------------------------------------- 1. Tokens ---- */
:root {
  /* Ink & ground */
  --bg:          #FBF8F3;
  --bg-warm:     #F5EFE4;
  --surface:     #FFFFFF;
  --surface-2:   #FCFAF6;
  --ink:         #1A1410;
  --ink-2:       #5C5146;
  --ink-3:       #8B8073;
  --line:        #E7DFD3;
  --line-2:      #D6CBBA;

  /* Brand */
  --bronze:      #A8743A;
  --bronze-lt:   #C89B56;
  --bronze-pale: #F3E7D3;
  --forest:      #1E3A30;
  --forest-2:    #2C5145;
  --forest-pale: #E8EFEA;
  --rose:        #C4566B;
  --sage:        #8FA678;
  --sale:        #B8123C;
  --sale-bg:     #FDECF0;

  /* Type */
  --display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Geometry */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --pad:  clamp(18px, 4.5vw, 56px);
  --maxw: 1320px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(42, 30, 18, .06), 0 2px 8px rgba(42, 30, 18, .04);
  --sh-2: 0 2px 6px rgba(42, 30, 18, .07), 0 12px 28px rgba(42, 30, 18, .08);
  --sh-3: 0 8px 20px rgba(42, 30, 18, .10), 0 28px 60px rgba(42, 30, 18, .14);

  --ease: cubic-bezier(.22, .68, .36, 1);
}

/* ------------------------------------------------------------ 2. Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------- 3. Utilities --- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 860px; margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: 12px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.muted { color: var(--ink-2); }
.tiny { font-size: 12.5px; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 12px;
}
.section { padding-block: clamp(48px, 7vw, 92px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(27px, 3.6vw, 40px); }
.section-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 54ch; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------------------------------------------------------- 4. Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--forest); color: #FDFBF7; box-shadow: var(--sh-1); }
.btn--primary:hover { background: var(--forest-2); box-shadow: var(--sh-2); }
.btn--bronze { background: linear-gradient(135deg, var(--bronze-lt), var(--bronze)); color: #fff; box-shadow: var(--sh-1); }
.btn--bronze:hover { box-shadow: var(--sh-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--quiet { color: var(--ink-2); padding: 8px 14px; }
.btn--quiet:hover { color: var(--ink); background: var(--bg-warm); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ------------------------------------------------------------- 5. Chips --- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 100px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  background: var(--bg-warm); color: var(--ink-2);
}
.chip--sale   { background: var(--sale-bg); color: var(--sale); }
.chip--choice { background: var(--forest); color: #fff; }
.chip--new    { background: var(--bronze-pale); color: #7A5220; }
.chip--stock  { background: var(--forest-pale); color: var(--forest); }

/* ------------------------------------------------------- 6. Announcement -- */
.announce {
  background: var(--forest); color: #EFE7D8;
  font-size: 12.5px; letter-spacing: .02em;
  position: relative; z-index: 60;
}
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; text-align: center; }
.announce b { color: var(--bronze-lt); }
.announce-track { position: relative; height: 18px; overflow: hidden; flex: 1; max-width: 640px; }
.announce-track span {
  position: absolute; inset: 0; display: block; text-align: center; line-height: 18px;
  opacity: 0; transform: translateY(100%); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.announce-track span.on { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------ 7. Header --- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 68px; }
.logo { font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -.02em; display: inline-flex; align-items: baseline; gap: 3px; }
.logo sup { font-size: 10px; color: var(--bronze); top: -.7em; }
.nav { display: flex; align-items: center; gap: 4px; justify-self: center; }
.nav a {
  padding: 9px 15px; border-radius: 100px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); transition: color .16s, background .16s;
}
.nav a:hover, .nav a.on { color: var(--ink); background: var(--bg-warm); }
.nav a { white-space: nowrap; }
@media (max-width: 1240px) { .nav a[data-extra] { display: none; } }
.hdr-act { display: flex; align-items: center; gap: 4px; justify-self: end; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  color: var(--ink-2); transition: background .16s, color .16s;
}
.icon-btn:hover { background: var(--bg-warm); color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pip {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 100px; background: var(--sale); color: #fff;
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.pip:empty, .pip[data-n="0"] { display: none; }
.burger { display: none; }

/* Search overlay */
.search-wrap { position: relative; }
.search {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 100px; padding: 9px 16px; width: 240px;
  transition: border-color .18s, width .25s var(--ease), box-shadow .18s;
}
.search:focus-within { border-color: var(--bronze); width: 300px; box-shadow: var(--sh-1); }
.search input { border: 0; outline: 0; background: none; width: 100%; font-size: 14px; }
.search svg { width: 17px; height: 17px; stroke: var(--ink-3); fill: none; stroke-width: 1.8; flex: none; }
.suggest {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; min-width: 320px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3); padding: 7px; z-index: 40; max-height: 60vh; overflow-y: auto;
}
.suggest a { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: var(--r-sm); }
.suggest a:hover { background: var(--bg-warm); }
.suggest .art { width: 38px; height: 46px; flex: none; }
.suggest b { font-size: 13.5px; font-weight: 600; display: block; }
.suggest small { color: var(--ink-3); font-size: 12px; }
.suggest .empty { padding: 18px 12px; color: var(--ink-3); font-size: 13.5px; text-align: center; }

/* ------------------------------------------------------- 8. Mobile menu --- */
.mmenu {
  position: fixed; inset: 0; z-index: 70; background: var(--bg);
  transform: translateX(100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column; padding: 20px var(--pad) 40px; overflow-y: auto;
}
.mmenu.on { transform: translateX(0); }
.mmenu nav a { display: block; padding: 15px 0; font-family: var(--display); font-size: 25px; border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------- 9. Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(200,155,86,.28), transparent 62%),
    radial-gradient(760px 520px at 12% 82%, rgba(30,58,48,.13), transparent 60%),
    linear-gradient(168deg, #FDFAF4 0%, #F4EDE0 58%, #EFE6D5 100%);
}
.hero-in {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; padding-block: clamp(44px, 7vw, 96px);
}
.hero h1 { font-size: clamp(38px, 6vw, 70px); letter-spacing: -.028em; }
.hero h1 em { font-style: italic; color: var(--bronze); }
.hero-lede { font-size: clamp(15.5px, 1.5vw, 18px); color: var(--ink-2); max-width: 48ch; margin-top: 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(90,70,45,.16); }
.hero-proof div { min-width: 96px; }
.hero-proof b { display: block; font-family: var(--display); font-size: 27px; line-height: 1.1; }
.hero-proof span { font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-art .halo {
  position: absolute; width: min(430px, 88%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff 0%, rgba(255,255,255,.4) 38%, rgba(200,155,86,.14) 62%, transparent 72%);
}
.hero-art .art { width: min(330px, 78%); height: auto; position: relative; filter: drop-shadow(0 26px 44px rgba(70,48,22,.24)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-13px) } }
.hero-tag {
  position: absolute; background: rgba(255,255,255,.93); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px;
  font-size: 12.5px; font-weight: 600; box-shadow: var(--sh-2); white-space: nowrap;
}
.hero-tag.t1 { top: 12%; left: 2%; }
.hero-tag.t2 { bottom: 20%; right: 0; }
.hero-tag.t3 { bottom: 5%; left: 10%; }

/* -------------------------------------------------------- 10. USP strip --- */
.usps { background: var(--forest); color: #E9E0CF; }
.usps ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); }
.usps li { background: var(--forest); padding: 26px 22px; display: flex; gap: 13px; align-items: flex-start; }
.usps svg { width: 21px; height: 21px; flex: none; stroke: var(--bronze-lt); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.usps b { display: block; font-size: 13.5px; color: #FBF6EC; margin-bottom: 3px; }
.usps span { font-size: 12.5px; opacity: .78; line-height: 1.5; }

/* ------------------------------------------------------- 11. Category -- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.cat {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--surface), var(--bg-warm));
  border: 1px solid var(--line); padding: 24px 22px 20px;
  display: flex; flex-direction: column; gap: 10px; min-height: 210px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.cat .art { position: absolute; right: -14px; bottom: -18px; width: 124px; height: 160px; opacity: .92; transition: transform .35s var(--ease); }
.cat:hover .art { transform: scale(1.07) rotate(-3deg); }
.cat h3 { font-size: 19px; position: relative; }
.cat span { font-size: 12.5px; color: var(--ink-2); position: relative; }
.cat .go { margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--bronze); position: relative; }

/* ---------------------------------------------------- 12. Product cards --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: clamp(14px, 2vw, 26px); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card-media {
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center;
  background: linear-gradient(150deg, #FCFAF6, #F2EBDE);
  overflow: hidden;
}
.card-media .art { width: 74%; height: 88%; transition: transform .4s var(--ease); }
.card:hover .card-media .art { transform: scale(1.06) translateY(-4px); }
.card-flags { position: absolute; top: 11px; left: 11px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.card-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; box-shadow: var(--sh-1);
  transition: background .16s, transform .16s;
}
.card-fav:hover { transform: scale(1.09); }
.card-fav svg { width: 16px; height: 16px; stroke: var(--ink-2); fill: none; stroke-width: 1.8; }
.card-fav.on svg { stroke: var(--sale); fill: var(--sale); }
.card-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.card:hover .card-quick, .card:focus-within .card-quick { opacity: 1; transform: translateY(0); }
.card-body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; gap: 7px; }
.card-cat { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.card-name { font-family: var(--display); font-size: 16.5px; line-height: 1.25; letter-spacing: -.005em; }
.card-name a:hover { color: var(--bronze); }
.card-sub { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.card-price .now { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.card-price .was { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }
.card-price .off { font-size: 12px; font-weight: 700; color: var(--sale); }
.card-add { margin-top: 10px; }

/* Stars */
.stars { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-2); }
.stars-i { display: inline-flex; gap: 1.5px; }
.stars-i svg { width: 13px; height: 13px; }
.stars-i .f { fill: #E8A33D; }
.stars-i .e { fill: #DCD3C4; }

/* ------------------------------------------------------- 13. Carousel ----- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 100px; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; background: var(--surface);
  transition: border-color .16s, background .16s;
}
.rail-nav button:hover { border-color: var(--ink); }
.rail-nav svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* -------------------------------------------------------- 14. Editorial --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ritual { background: var(--bg-warm); }
.steps { counter-reset: s; display: grid; gap: 20px; margin-top: 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--bronze);
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--bronze-lt);
  display: grid; place-items: center; background: var(--surface);
}
.steps b { display: block; font-size: 15px; margin-bottom: 3px; }
.steps p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.figure-card {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(155deg, #FCFAF6, #EFE7D8); padding: 36px;
  display: grid; place-items: center; min-height: 380px;
}
.figure-card .art { width: min(280px, 70%); filter: drop-shadow(0 20px 36px rgba(70,48,22,.2)); }

/* Quote band */
.quote { background: var(--forest); color: #F1E9D9; text-align: center; }
.quote blockquote { font-family: var(--display); font-size: clamp(22px, 3.2vw, 36px); line-height: 1.3; margin: 0 auto; max-width: 22ch; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }

/* ------------------------------------------------------------ 15. FAQ ----- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--display); font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 44px 22px 0; color: var(--ink-2); max-width: 74ch; }

/* --------------------------------------------------------- 16. Footer ----- */
.ftr { background: #14231D; color: #CFC6B4; margin-top: 0; }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 60px 44px; }
.ftr h4 { font-family: var(--sans); font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; color: #8F8877; margin-bottom: 16px; font-weight: 600; }
.ftr a { color: #CFC6B4; font-size: 13.5px; display: block; padding: 5px 0; transition: color .16s; }
.ftr a:hover { color: var(--bronze-lt); }
.ftr .logo { color: #F6F0E4; }
.ftr-blurb { font-size: 13.5px; line-height: 1.65; opacity: .8; max-width: 38ch; margin-top: 14px; }
.news { display: flex; gap: 8px; margin-top: 20px; max-width: 360px; }
.news input {
  flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px; padding: 12px 18px; color: #F6F0E4; outline: 0; font-size: 13.5px;
}
.news input::placeholder { color: #8F8877; }
.news input:focus { border-color: var(--bronze-lt); }
.ftr-bot {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: #8F8877;
}
.pay { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.pay span {
  padding: 4px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px;
  font-size: 10.5px; letter-spacing: .06em; color: #CFC6B4;
}

/* ------------------------------------------------------ 17. Shop layout --- */
.shop { display: grid; grid-template-columns: 252px 1fr; gap: clamp(20px, 3.5vw, 44px); align-items: start; }
.filters { position: sticky; top: 92px; }
.fgroup { border-bottom: 1px solid var(--line); padding-block: 18px; }
.fgroup:first-child { padding-top: 0; }
.fgroup h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 13px; font-weight: 600; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.fopt input { accent-color: var(--forest); width: 16px; height: 16px; cursor: pointer; }
.fopt .n { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.range { width: 100%; accent-color: var(--bronze); }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sel {
  border: 1.5px solid var(--line); border-radius: 100px; padding: 10px 16px;
  background: var(--surface); font-size: 13.5px; outline: 0; cursor: pointer;
}
.sel:focus { border-color: var(--bronze); }
.active-f { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-f button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 100px; background: var(--forest-pale); color: var(--forest); font-size: 12.5px; font-weight: 600; }
.active-f button::after { content: '×'; font-size: 15px; line-height: 1; }
.filter-toggle { display: none; }
.empty-state { text-align: center; padding: 70px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); }

/* --------------------------------------------------------- 18. PDP -------- */
.crumbs { font-size: 12.5px; color: var(--ink-3); padding-block: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.pdp-gal { position: sticky; top: 92px; }
.pdp-main {
  border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(150deg, #FCFAF6, #F0E8D9);
  aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative;
}
.pdp-main .art { width: 76%; height: 84%; filter: drop-shadow(0 22px 38px rgba(70,48,22,.18)); }
.pdp-main .art.zoomed { transform: scale(1.4); }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumbs button {
  width: 74px; height: 88px; border-radius: var(--r); border: 1.5px solid var(--line);
  background: var(--surface-2); display: grid; place-items: center; overflow: hidden;
  transition: border-color .16s;
}
.pdp-thumbs button.on { border-color: var(--bronze); }
.pdp-thumbs .art { width: 78%; height: 88%; }
.pdp h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.pdp-sub { color: var(--ink-2); font-size: 15px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; }
.pdp-price .now { font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.pdp-price .was { font-size: 16px; color: var(--ink-3); text-decoration: line-through; }
.pdp-price .off { background: var(--sale-bg); color: var(--sale); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 100px; }
.opt-row { margin-top: 22px; }
.opt-row > b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.opts { display: flex; gap: 9px; flex-wrap: wrap; }
.opt {
  border: 1.5px solid var(--line-2); border-radius: 100px; padding: 10px 18px;
  font-size: 13.5px; font-weight: 500; background: var(--surface); transition: all .16s;
}
.opt:hover { border-color: var(--ink-2); }
.opt.on { border-color: var(--forest); background: var(--forest); color: #fff; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 100px; overflow: hidden; }
.qty button { width: 42px; height: 46px; font-size: 18px; color: var(--ink-2); transition: background .16s; }
.qty button:hover { background: var(--bg-warm); color: var(--ink); }
.qty span { min-width: 40px; text-align: center; font-weight: 600; font-size: 15px; }
.buy-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 160px; }
.assure { display: grid; gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.assure li { display: flex; gap: 11px; font-size: 13.5px; color: var(--ink-2); align-items: flex-start; }
.assure svg { width: 17px; height: 17px; flex: none; stroke: var(--bronze); fill: none; stroke-width: 1.7; margin-top: 2px; }
.buy-elsewhere { margin-top: 24px; padding: 18px; border-radius: var(--r); background: var(--bg-warm); border: 1px solid var(--line); }
.buy-elsewhere b { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.buy-elsewhere .row { flex-wrap: wrap; margin-top: 11px; }
.mk-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border: 1.5px solid var(--line-2); border-radius: 100px; background: var(--surface);
  font-size: 13px; font-weight: 600; transition: border-color .16s;
}
.mk-link:hover { border-color: var(--bronze); color: var(--bronze); }
.mk-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

/* PDP tabs */
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; margin-top: 8px; }
.tabs button {
  padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--ink-3);
  border-bottom: 2.5px solid transparent; white-space: nowrap; transition: color .16s, border-color .16s;
}
.tabs button.on { color: var(--ink); border-color: var(--bronze); }
.tab-body { padding-top: 26px; max-width: 76ch; }
.tab-body h3 { font-size: 19px; margin-bottom: 12px; }
.bullets li { display: flex; gap: 11px; padding: 7px 0; font-size: 14.5px; color: var(--ink-2); }
.bullets li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); flex: none; margin-top: 9px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table td:first-child { color: var(--ink-3); width: 190px; font-size: 13px; }

/* Reviews */
.rev-head { display: grid; grid-template-columns: 210px 1fr; gap: 36px; align-items: center; padding: 26px; background: var(--bg-warm); border-radius: var(--r-lg); margin-bottom: 26px; }
.rev-big { font-family: var(--display); font-size: 52px; line-height: 1; }
.rev-bars { display: grid; gap: 7px; }
.rev-bar { display: grid; grid-template-columns: 44px 1fr 40px; gap: 11px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.rev-bar i { display: block; height: 7px; border-radius: 100px; background: var(--line-2); overflow: hidden; }
.rev-bar i b { display: block; height: 100%; background: #E8A33D; border-radius: 100px; }
.rev { padding: 20px 0; border-bottom: 1px solid var(--line); }
.rev b.n { font-size: 14px; }
.rev .vb { font-size: 11px; color: var(--forest); background: var(--forest-pale); padding: 2px 8px; border-radius: 100px; font-weight: 600; }
.rev h4 { font-family: var(--sans); font-size: 14.5px; margin: 8px 0 5px; }
.rev p { margin: 0; font-size: 14px; color: var(--ink-2); }
.note {
  font-size: 12.5px; color: var(--ink-2); background: var(--bronze-pale);
  border-left: 3px solid var(--bronze); padding: 11px 15px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-bottom: 20px;
}

/* -------------------------------------------------------- 19. Cart -------- */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(26,20,16,.42); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .28s var(--ease); z-index: 80;
}
.drawer-scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
  background: var(--bg); z-index: 90; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .32s var(--ease); box-shadow: var(--sh-3);
}
.drawer.on { transform: translateX(0); }
.drawer-hd { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-hd h3 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-ft { border-top: 1px solid var(--line); padding: 18px 22px 24px; background: var(--surface); }
.ship-bar { margin-bottom: 16px; }
.ship-bar i { display: block; height: 6px; background: var(--line-2); border-radius: 100px; overflow: hidden; margin-top: 8px; }
.ship-bar i b { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze-lt), var(--bronze)); border-radius: 100px; transition: width .4s var(--ease); }
.li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.li-media { border-radius: var(--r-sm); background: linear-gradient(150deg, #FCFAF6, #F0E8D9); display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; }
.li-media .art { width: 78%; height: 88%; }
.li b { font-size: 14px; display: block; line-height: 1.3; }
.li small { color: var(--ink-3); font-size: 12px; }
.li .qty { transform: scale(.82); transform-origin: left center; margin-top: 8px; }
.li-x { color: var(--ink-3); font-size: 12.5px; text-decoration: underline; margin-top: 6px; display: inline-block; }
.li-x:hover { color: var(--sale); }
.sum { display: grid; gap: 9px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; }
.sum .tot { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 18px; font-weight: 700; }
.sum .save { color: var(--forest); font-weight: 600; }
.coupon { display: flex; gap: 8px; margin: 16px 0; }
.coupon input { flex: 1; border: 1.5px solid var(--line); border-radius: 100px; padding: 11px 17px; outline: 0; font-size: 13.5px; background: var(--surface); }
.coupon input:focus { border-color: var(--bronze); }
.coupon-msg { font-size: 12.5px; margin-top: -8px; margin-bottom: 14px; }
.coupon-msg.ok { color: var(--forest); }
.coupon-msg.no { color: var(--sale); }
.cart-page { display: grid; grid-template-columns: 1fr 370px; gap: clamp(24px, 4vw, 52px); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.panel--sticky { position: sticky; top: 92px; }

/* ----------------------------------------------------- 20. Checkout ------- */
.steps-bar { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.steps-bar div { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.steps-bar div::before {
  content: attr(data-n); width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 12px;
}
.steps-bar div.on { color: var(--ink); }
.steps-bar div.on::before { background: var(--forest); border-color: var(--forest); color: #fff; }
.steps-bar div.done::before { content: '✓'; background: var(--bronze); border-color: var(--bronze); color: #fff; }
.steps-bar span { color: var(--line-2); }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 15px; outline: 0; background: var(--surface); font-size: 14px;
  transition: border-color .16s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bronze); }
.field input[aria-invalid="true"] { border-color: var(--sale); background: #FFF8F9; }
.field .err { color: var(--sale); font-size: 12px; margin-top: 5px; display: none; }
.field input[aria-invalid="true"] ~ .err { display: block; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-opt {
  display: flex; gap: 13px; align-items: flex-start; padding: 16px;
  border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 11px; cursor: pointer;
  transition: border-color .16s, background .16s;
}
.pay-opt:hover { border-color: var(--line-2); }
.pay-opt.on { border-color: var(--forest); background: var(--forest-pale); }
.pay-opt input { accent-color: var(--forest); margin-top: 3px; width: 17px; height: 17px; }
.pay-opt b { display: block; font-size: 14px; }
.pay-opt small { color: var(--ink-2); font-size: 12.5px; }
.confirm { text-align: center; padding: 60px 20px; }
.confirm .tick {
  width: 78px; height: 78px; border-radius: 50%; background: var(--forest-pale);
  display: grid; place-items: center; margin: 0 auto 26px;
}
.confirm .tick svg { width: 34px; height: 34px; stroke: var(--forest); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.order-no { font-family: var(--display); font-size: 25px; letter-spacing: .04em; }

/* --------------------------------------------------------- 21. Modal ------ */
.modal-scrim {
  position: fixed; inset: 0; background: rgba(26,20,16,.5); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 20px; z-index: 100;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.modal-scrim.on { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg); border-radius: var(--r-xl); width: min(880px, 100%);
  max-height: 88vh; overflow-y: auto; box-shadow: var(--sh-3);
  transform: scale(.95) translateY(10px); transition: transform .25s var(--ease);
}
.modal-scrim.on .modal { transform: scale(1) translateY(0); }
.modal-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; box-shadow: var(--sh-1); z-index: 2; }
.qv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; }
.qv-media { background: linear-gradient(150deg, #FCFAF6, #EFE7D8); display: grid; place-items: center; padding: 36px; min-height: 320px; }
.qv-media .art { width: 74%; }
.qv-body { padding: 34px 32px; }

/* --------------------------------------------------------- 22. Toast ------ */
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 9px; width: min(390px, calc(100% - 32px)); }
.toast {
  background: var(--forest); color: #F3ECDD; border-radius: var(--r);
  padding: 14px 17px; display: flex; gap: 12px; align-items: center;
  box-shadow: var(--sh-3); font-size: 13.5px;
  animation: toastIn .3s var(--ease);
}
.toast .art { width: 34px; height: 42px; flex: none; background: rgba(255,255,255,.1); border-radius: 6px; }
.toast a { color: var(--bronze-lt); font-weight: 700; margin-left: auto; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

/* -------------------------------------------------------- 23. Mobile ------ */
.mobile-bar { display: none; }

@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 300px; }
  .usps ul { grid-template-columns: repeat(2, 1fr); }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 980px) {
  .nav, .search-wrap { display: none; }
  .burger { display: grid; }
  .hdr-in { grid-template-columns: auto 1fr; }
  .hdr-act { grid-column: 2; }
  .pdp, .cart-page, .split { grid-template-columns: 1fr; }
  .pdp-gal, .filters, .panel--sticky { position: static; }
  .shop { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0; z-index: 85; background: var(--bg); padding: 20px var(--pad) 90px;
    overflow-y: auto; transform: translateX(-100%); transition: transform .3s var(--ease);
  }
  .filters.on { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }
  .qv { grid-template-columns: 1fr; }
  .rev-head { grid-template-columns: 1fr; text-align: center; gap: 20px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-name { font-size: 14.5px; }
  .card-sub { display: none; }
  /* On touch, the overlay button covered the product art — show a real
     add-to-cart under the price instead and drop quick view. */
  .card-quick { display: none; }
  .card-flags { max-width: 68%; }
  .card-flags .chip { font-size: 10px; padding: 4px 8px; }
  .card-quick { opacity: 1; transform: none; }
  .usps ul { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .hero-proof { gap: 18px; }
  .hero-tag.t1, .hero-tag.t3 { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
    background: rgba(251,248,243,.96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 7px 0 calc(7px + env(safe-area-inset-bottom));
  }
  .mobile-bar a { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; color: var(--ink-3); padding: 5px 0; position: relative; }
  .mobile-bar a.on { color: var(--ink); }
  .mobile-bar svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-bar .pip { top: 0; right: 24%; }
  .toasts { bottom: 78px; }
  .rev-head { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .hdr, .ftr, .mobile-bar, .announce, .drawer, .drawer-scrim, .toasts { display: none !important; }
}

/* ===================================================== 30. Store backend UI */
/* Uploaded product photos sit in the same frames as the SVG illustrations. */
img.art--photo { object-fit: contain; mix-blend-mode: multiply; }
.card-media img.art--photo { width: 86%; height: 86%; }
.pdp-main img.art--photo { width: 88%; height: 88%; filter: none; }
.pdp-thumbs img.art--photo { width: 90%; height: 90%; }
.li-media img.art--photo, .suggest img.art--photo, .toast img.art--photo { width: 90%; height: 90%; }
.suggest img.art--photo { width: 38px; height: 46px; }
.toast img.art--photo { width: 34px; height: 42px; mix-blend-mode: normal; background: #fff; border-radius: 6px; }
.qv-media img.art--photo { width: 90%; max-height: 420px; }
.cat img.art--photo { position: absolute; right: -6px; bottom: -8px; width: 130px; height: 150px; object-fit: cover; border-radius: 16px; mix-blend-mode: normal; opacity: .95; }
/* Hero and story figures: a square product photo that blends into the warm background. */
/* The photo sits whole on a rounded white card centred on the halo; the tags sit around its edge. */
.hero-art #heroArt:has(img.art--photo) { position: relative; width: min(400px, 82%); aspect-ratio: 1; }
.hero-art img.art--photo {
  width: 100%; height: 100%; box-sizing: border-box; padding: 4%; object-fit: contain; border-radius: 28px;
  mix-blend-mode: normal; background: #fff; filter: none;
  box-shadow: 0 0 0 8px rgba(255,255,255,.55), 0 30px 60px rgba(70,48,22,.2);
}
.figure-card img.art--photo { width: min(320px, 80%); aspect-ratio: 1; height: auto; border-radius: 22px; }
.drawer img.art--photo { width: 100%; aspect-ratio: 1; height: auto; }

.chip--out { background: var(--ink); color: #fff; }
.card--out .card-media > a { opacity: .55; filter: grayscale(.4); }
.icon-btn--on { color: var(--bronze); }
.qty button[disabled] { opacity: .35; pointer-events: none; }
.li-x { background: none; border: 0; padding: 0; cursor: pointer; }

.link { color: var(--bronze); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.link:hover { text-decoration: underline; }

.alert { border-radius: var(--r); padding: 13px 16px; margin: 0 0 18px; font-size: 14px; line-height: 1.5; }
.alert--error { background: var(--sale-bg); color: var(--sale); }
.alert--success { background: var(--forest-pale); color: var(--forest); }
.alert--info { background: var(--bronze-pale); color: #6B4A1E; }
.alert--warn { background: #FFF4DE; color: #7A5212; border: 1px solid #F1D9A6; }
.form-msg { font-size: 13px; margin: 0 0 12px; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.no { color: var(--sale); }
.form-msg.ok { color: var(--forest); }
.field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--sale); background: #FFF8F9; }
.field textarea[aria-invalid="true"] ~ .err, .field select[aria-invalid="true"] ~ .err { display: block; }
.pay-opt.is-off { opacity: .55; cursor: not-allowed; }
.panel.loading { opacity: .6; transition: opacity .2s; }

/* auth + account */
.auth { display: grid; place-items: start center; }
.auth-card { width: min(460px, 100%); padding: clamp(22px, 4vw, 34px); }
.auth-card h1 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 6px; }
.auth-card form { margin-top: 18px; }
.acct-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.acct-nav a { padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.acct-nav a.on { color: var(--ink); border-color: var(--bronze); }

.otable { width: 100%; border-collapse: collapse; font-size: 14px; }
.otable th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 10px 18px; border-bottom: 1px solid var(--line); }
.otable td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.otable tr:last-child td { border-bottom: 0; }

.pill { display: inline-block; padding: 4px 11px; border-radius: 100px; font-size: 12px; font-weight: 600; background: var(--bg-warm); color: var(--ink-2); white-space: nowrap; }
.pill--placed, .pill--processing { background: var(--bronze-pale); color: #6B4A1E; }
.pill--shipped { background: #E4EEF8; color: #1D4F7A; }
.pill--delivered { background: var(--forest-pale); color: var(--forest); }
.pill--cancelled, .pill--refunded { background: var(--sale-bg); color: var(--sale); }
.pill--pending_payment { background: #FFF4DE; color: #7A5212; }

.track { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.track li { text-align: center; position: relative; font-size: 13px; color: var(--ink-3); }
.track li span { display: block; width: 18px; height: 18px; border-radius: 50%; margin: 0 auto 8px; background: var(--surface); border: 2px solid var(--line-2); position: relative; z-index: 1; }
.track li::before { content: ''; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: var(--line-2); }
.track li:first-child::before { display: none; }
.track li.done span, .track li.on span { background: var(--forest); border-color: var(--forest); }
.track li.done::before, .track li.on::before { background: var(--forest); }
.track li.on b, .track li.done b { color: var(--ink); }

.oline { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.oline small { display: block; font-size: 12.5px; }
.events { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.events li { padding: 0 0 14px 16px; position: relative; font-size: 14px; }
.events li::before { content: ''; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--bronze); }

.star-pick { display: inline-flex; gap: 4px; }
.star-pick label { cursor: pointer; font-size: 30px; line-height: 1; color: var(--line-2); margin: 0; }
.star-pick label.on { color: #E8A33D; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label:focus-within { outline: 2px solid var(--bronze); border-radius: 4px; }

.toast--error { background: var(--sale) !important; }

@media (max-width: 640px) {
  .otable thead { display: none; }
  .otable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .otable td { padding: 0; border: 0; }
  .otable td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
  .track li { font-size: 11.5px; }
}
