/* Anatolia Alchemy — shared styles (shop + owner dashboard)
   Look: warm cream paper like the logo's background, cobalt from the wax seal for
   actions, navy lettering, thin gold lines and a gold sun as accents.
   Variable names are kept from the original template so the dashboard keeps working:
   --teal is the main action color (cobalt here), --sea the light accent. */
:root {
  --navy: #12296a;
  --ink: #1d2442;
  --muted: #5c6482;
  --teal: #2338a8;
  --teal-dark: #1a2a86;
  --sea: #3d9bd6;
  --mist: #f7f1e4;
  --paper: #fffdf9;
  --line: #e7dcc4;
  --sand: #f8efda;
  --gold: #e0ac3a;
  --gold-dark: #c08d24;
  --gold-soft: #f3dfa6;
  --good: #22744a;
  --warn: #9a5a0d;
  --bad: #b22a24;
  --f-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --f-brand: "Italiana", "Cormorant Garamond", Georgia, serif;
  --f-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font: 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-display); color: var(--navy); margin: 0; line-height: 1.12; text-wrap: balance; font-weight: 600; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold-dark); }

/* header */
.site-head { background: rgba(255, 253, 249, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 50px; height: 50px; flex: none; }
.brand-text { display: grid; line-height: 1; min-width: 0; }
.brand-name { font-family: var(--f-brand); color: var(--navy); font-size: 25px; letter-spacing: .08em; white-space: nowrap; }
.brand-sub { font-family: var(--f-body); color: var(--navy); font-size: 10px; letter-spacing: .62em; margin-top: 5px; font-weight: 700; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); border-radius: 8px; padding: 10px 16px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn:hover { border-color: var(--teal); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-dark); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); }
.btn.small { padding: 6px 11px; font-size: 14px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.gold { background: linear-gradient(180deg, #f1c862, var(--gold)); border-color: var(--gold-dark); color: #1f1606; padding: 13px 28px; font-size: 16px; font-weight: 800; box-shadow: 0 6px 18px rgba(224, 172, 58, .3); }
.btn.gold:hover { background: linear-gradient(180deg, #f5d27a, #e6b648); }
.btn.cobalt { background: var(--teal); border-color: var(--teal); color: #fff; padding: 13px 28px; font-size: 16px; font-weight: 800; }
.btn.cobalt:hover { background: var(--teal-dark); }
.btn.outline { background: transparent; border-color: var(--navy); color: var(--navy); padding: 13px 22px; font-size: 16px; }
.btn.outline:hover { background: var(--navy); color: #fff; }
.cart-btn { gap: 8px; }
.cart-btn .count { background: var(--teal); color: #fff; border-radius: 999px; font-size: 12px; padding: 1px 8px; font-family: var(--f-mono); }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; padding: 0; font: 600 16px var(--f-mono); color: var(--navy); }
.icon-btn:hover { border-color: var(--teal); }

/* top bar + nav */
.topbar { background: var(--navy); color: #e8e3d4; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .05em; padding: 7px 16px; }
.topbar span { color: var(--gold); margin-inline: 6px; }
.head-row { flex-wrap: nowrap; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 800; font-size: 15px; padding-block: 6px; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--gold); }
.head-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn.plain { border-color: transparent; background: transparent; width: 38px; height: 38px; }
.icon-btn.plain:hover { background: var(--mist); }
.menu-btn { display: none !important; }
@media (max-width: 900px) {
  .menu-btn { display: grid !important; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 6px 20px 12px; box-shadow: 0 10px 20px rgba(18, 41, 106, .08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding-block: 10px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 480px) { .cart-btn #cartTotal { display: none; } }

/* ---------- hero: cream paper, gold rings and a turning sun behind the seal ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 80% at 80% 45%, rgba(243, 223, 166, .55), transparent 70%),
  linear-gradient(180deg, var(--paper), var(--mist)); border-bottom: 1px solid var(--line); }
.hero-row { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-block: 64px 72px; }
.hero h1 { font-family: var(--f-brand); font-weight: 400; font-size: clamp(44px, 7vw, 86px); letter-spacing: .06em; line-height: 1; margin: 14px 0 6px; color: var(--navy); }
.hero .h1-sub { display: block; font-family: var(--f-body); font-weight: 700; font-size: clamp(13px, 1.6vw, 18px); letter-spacing: .7em; margin-top: 14px; color: var(--navy); }
.hero p.hook { margin: 26px 0 28px; font-size: clamp(17px, 1.9vw, 20px); color: var(--ink); max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats li { display: grid; gap: 2px; background: rgba(255, 253, 249, .8); border: 1px solid var(--line); border-radius: 12px; padding: 11px 16px; min-width: 128px; }
.hero-stats strong { font: 600 24px var(--f-display); color: var(--teal); line-height: 1.1; }
.hero-stats span { font-size: 13px; color: var(--muted); font-weight: 700; }
.hero-art { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.hero-art .rays { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); opacity: .55; }
.hero-art .ring { position: absolute; inset: 7%; border-radius: 50%; border: 1.5px solid var(--gold); box-shadow: 0 0 0 7px var(--paper), 0 0 0 8.5px var(--gold); }
.hero-art .seal { position: relative; width: 62%; filter: drop-shadow(0 22px 30px rgba(18, 41, 106, .3)); }
.hero .sprig { position: absolute; width: 120px; color: var(--gold); opacity: .7; pointer-events: none; }
.hero .sprig.l { left: -18px; bottom: 14px; transform: rotate(-12deg); }
.hero .sprig.r { right: -12px; top: 20px; transform: scaleX(-1) rotate(-20deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .rays { animation: spin 90s linear infinite; }
  .hero-art .seal { animation: bob 7s ease-in-out infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes bob { 50% { transform: translateY(-8px); } }
  .hero-copy > * { animation: rise .7s ease-out both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; } .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; } .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  @keyframes rise { from { transform: translateY(12px); opacity: 0; } }
}
@media (max-width: 760px) {
  .hero-row { grid-template-columns: 1fr; padding-block: 28px 48px; gap: 18px; text-align: center; }
  .hero-art { order: -1; width: 240px; }
  .hero p.hook { margin-inline: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .hero-stats li { min-width: 0; flex: 1 1 40%; }
  .hero .sprig { display: none; }
}

/* highlights */
.highlights { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.highlight-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 28px 34px; }
.hl { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.hl-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: var(--gold-soft); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--gold); }
.hl strong { color: var(--navy); font-size: 16px; }
.hl span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .highlight-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .highlight-row { grid-template-columns: 1fr; gap: 18px; } }

/* sections */
.section { padding-block: 60px; background: var(--paper); }
.section.alt { background: var(--mist); }
.section h2 { font-size: clamp(30px, 3.8vw, 40px); }
.section h2::after { content: ""; display: block; width: 54px; height: 2px; background: var(--gold); margin-top: 12px; box-shadow: 0 5px 0 -0.5px var(--gold-soft); }
.age-card h2::after, .drawer h2::after, .cta-band h2::after { display: none; }
.section-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.narrow { max-width: 820px; }
.about-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.about-row img { width: 100%; max-width: 420px; justify-self: center; }
.about-text p { color: var(--ink); margin: 14px 0 0; max-width: 62ch; }
@media (max-width: 760px) { .about-row { grid-template-columns: 1fr; } .about-row img { max-width: 280px; } }
.faq { margin-top: 22px; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 800; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 20px var(--f-mono); color: var(--gold-dark); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); white-space: pre-line; }
.contact-card { text-align: left; }
.contact-card .email { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.contact-card .email a { font: 700 20px var(--f-body); color: var(--teal); overflow-wrap: anywhere; }

/* age gate */
.age-gate { position: fixed; inset: 0; z-index: 80; background: rgba(18, 41, 106, .82); display: grid; place-items: center; padding: 20px; }
.age-card { background: var(--paper); border-radius: 14px; max-width: 440px; width: 100%; padding: 26px 24px; text-align: center; display: grid; gap: 12px; justify-items: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.age-card img { width: 210px; }
.age-card h2 { font-size: 28px; }
.age-card p { margin: 0; color: var(--muted); }
.age-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.age-no { color: var(--bad) !important; font-weight: 700; }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cat-tile { --c: var(--teal); text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 10%, var(--paper)), var(--paper) 70%); display: grid; gap: 10px; color: var(--navy); position: relative; overflow: hidden; }
.cat-tile::after { content: ""; position: absolute; right: -34px; bottom: -34px; width: 110px; height: 110px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--gold) 60%, transparent); }
.cat-tile .ci { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px color-mix(in srgb, var(--gold) 70%, transparent); }
.cat-tile strong { font-size: 17px; font-weight: 800; }
.cat-tile span { font-size: 13px; color: var(--muted); font-weight: 700; }
.cat-tile:hover { border-color: var(--c); }
@media (prefers-reduced-motion: no-preference) { .cat-tile { transition: transform .15s, box-shadow .15s; } .cat-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18, 41, 106, .1); } }

/* catalog */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters input[type=search] { width: 220px; max-width: 100%; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 13px; font-size: 14px; font-weight: 700; color: var(--muted); }
.chip[aria-pressed="true"] { border-color: var(--teal); color: #fff; background: var(--teal); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { --c: var(--teal); position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; }
.card-media { aspect-ratio: 1 / 1; max-width: 100%; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #fff 0%, transparent 58%), linear-gradient(170deg, color-mix(in srgb, var(--c) 14%, var(--sand)), var(--mist)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .vial-art { height: 90%; width: auto; max-width: 84%; filter: drop-shadow(0 14px 16px rgba(18, 41, 106, .22)); }
@media (prefers-reduced-motion: no-preference) { .card-media .vial-art { transition: transform .25s; } .card:hover .vial-art { transform: translateY(-4px) rotate(-2deg); } }
.card-body { padding: 14px 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.card .cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: color-mix(in srgb, var(--c) 75%, var(--navy)); }
.card h3 { font-family: var(--f-body); font-weight: 800; font-size: 18px; color: var(--navy); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; font-size: 13px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-family: var(--f-mono); color: var(--ink); overflow-wrap: anywhere; }
.desc { margin: 0; font-size: 14px; color: var(--muted); }
.card .compound { margin-top: -4px; font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.use-tag { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; border: 1px solid currentColor; color: var(--muted); }
.use-tag.body { color: var(--good); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px 16px; flex-wrap: wrap; }
.price { font: 600 19px var(--f-mono); color: var(--navy); }
.avail { font-size: 13px; font-weight: 700; }
.avail.ok { color: var(--good); } .avail.low { color: var(--warn); } .avail.out { color: var(--bad); }
.coa { font-size: 13px; font-weight: 700; }
.ribbon { position: absolute; top: 12px; left: 12px; z-index: 1; background: linear-gradient(180deg, #f1c862, var(--gold)); color: #1f1606; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0, 0, 0, .12); }
.card:hover { box-shadow: 0 14px 30px rgba(18, 41, 106, .1); }
@media (prefers-reduced-motion: no-preference) { .card { transition: border-color .15s, transform .15s; } .card:hover { border-color: var(--gold); transform: translateY(-2px); } }
.example-tag { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--muted); border: 1px dashed var(--line); border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: middle; }
.blank { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); padding: 40px 20px; text-align: center; color: var(--muted); }
.blank h3 { margin-bottom: 6px; }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(18, 41, 106, .45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--paper); z-index: 41; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(18, 41, 106, .18); padding-top: env(safe-area-inset-top, 0px); }
@media (prefers-reduced-motion: no-preference) { .drawer { animation: slide .22s ease-out; } @keyframes slide { from { transform: translateX(30px); opacity: .6; } } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px 28px; display: grid; gap: 18px; align-content: start; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.line .nm { font-weight: 700; color: var(--navy); min-width: 0; overflow-wrap: anywhere; }
.line .sub { font-size: 13px; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty .n { min-width: 24px; text-align: center; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; color: var(--navy); }
.total .mono { font-size: 22px; }
.sum-line { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }
.sum-line.disc { color: var(--good); font-weight: 700; }

/* forms */
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
legend { font-family: var(--f-display); font-weight: 700; color: var(--navy); font-size: 21px; margin-bottom: 4px; padding: 0; }
.field { display: grid; gap: 5px; font-size: 14px; font-weight: 700; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=password], input[type=date], select, textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 10px 12px; font-size: 16px;
}
select { font: inherit; font-size: 16px; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px #dfe3f7; }
textarea { resize: vertical; min-height: 72px; }
.pay-options { display: grid; gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-weight: 700; cursor: pointer; background: #fff; }
.pay-opt .fee { margin-left: auto; font: 600 14px var(--f-mono); color: var(--muted); white-space: nowrap; }
.pay-opt .opt-sub { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.pay-opt:has(input:checked) { border-color: var(--teal); background: #eef0fb; }
.pay-opt input { accent-color: var(--teal); }
.pay-box { background: var(--mist); border-radius: 8px; padding: 14px; display: grid; gap: 8px; font-size: 15px; }
.pay-box .handle { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-box .handle code { font: 700 17px var(--f-mono); color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; user-select: all; overflow-wrap: anywhere; }
.drop { border: 2px dashed var(--line); border-radius: 10px; padding: 18px; text-align: center; display: grid; gap: 6px; justify-items: center; cursor: pointer; background: #fff; }
.drop:hover, .drop.over { border-color: var(--teal); }
.drop img { max-height: 180px; width: auto; border-radius: 6px; border: 1px solid var(--line); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--teal); }
.form-error { background: #fbeceb; color: var(--bad); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 700; }
.done { text-align: center; display: grid; gap: 10px; justify-items: center; padding-top: 12px; }
.done .num { font: 700 26px var(--f-mono); color: var(--navy); background: var(--mist); border-radius: 8px; padding: 6px 14px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.code-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #e7f4ee; border: 1px solid #b9dcc9; border-radius: 8px; padding: 8px 12px; font-size: 15px; color: var(--good); }
.code-err { margin: 0; color: var(--bad); font-size: 14px; font-weight: 700; }
.kit-promo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--navy); color: #eef0fb; border-radius: var(--r); padding: 14px 18px; margin-bottom: 26px; font-size: 16px; }
.kit-promo strong { color: var(--gold-soft); }
.kit-badge { background: linear-gradient(180deg, #f1c862, var(--gold)); color: #1f1606; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.kit-note { margin: 0; font-size: 14px; background: #fff6e0; border: 1px solid #f1d79a; border-radius: 8px; padding: 8px 10px; color: #6b4a0e; }
.kit-note.on { background: #e7f4ee; border-color: #b9dcc9; color: var(--good); }

/* footer */
.site-foot { background: var(--navy); color: #d6d9e8; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 40px 28px; }
.foot-brand strong { color: #fff; font-family: var(--f-brand); font-weight: 400; letter-spacing: .1em; font-size: 22px; }
.site-foot h4 { color: var(--gold-soft); margin: 0 0 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-foot a { color: #c9d3ff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .ruo { max-width: 60ch; margin: 10px 0 0; }
.foot-base { border-top: 1px solid rgba(255,255,255,.14); padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: #a8b0d2; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* contact band */
.cta-band { background: var(--teal); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: 50%; width: 260px; height: 260px; transform: translateY(-50%); border-radius: 50%; border: 1.5px solid rgba(240, 200, 98, .55); box-shadow: 0 0 0 10px transparent, 0 0 0 11.5px rgba(240, 200, 98, .35); }
.cta-row { position: relative; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding-block: 40px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 36px); }
.cta-band p { margin: 6px 0 0; color: #dfe3f7; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 15px; font-weight: 700; z-index: 60; max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(18, 41, 106, .25); }
.notice { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-size: 15px; }

/* ---------- phone layout ---------- */
@media (max-width: 560px) {
  .site-head .wrap { gap: 8px; padding-inline: 12px; }
  .brand { gap: 8px; flex: 1 1 auto; min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: clamp(17px, 5.4vw, 22px); letter-spacing: .05em; }
  .brand-sub { font-size: 8.5px; letter-spacing: .5em; margin-top: 4px; }
  .head-tools { flex: none; gap: 4px; }
  #searchBtn { display: none; }
  .cart-btn { padding: 8px 10px; }
  .menu-btn { width: 38px; height: 38px; }
  .section-head { display: block; }
  .section-head > div:first-child { margin-bottom: 16px; }
  .filters { display: grid; gap: 10px; width: 100%; }
  .filters input[type=search] { width: 100%; max-width: none; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding: 2px 12px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .topbar { font-size: 11.5px; line-height: 1.5; padding: 6px 10px; }
}

/* ---------- customer accounts ---------- */
.acct-btn { gap: 6px; padding: 8px 12px; background: transparent; border-color: transparent; }
.acct-btn:hover { background: var(--mist); border-color: var(--line); }
.acct-btn #acctLabel { max-width: 10ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--teal); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.acct-hint { margin: 0; background: var(--mist); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.acct-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.acct-divider::before, .acct-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.my-order { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 4px; justify-items: start; }
.my-order .mo-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; }
.my-order .sub { font-size: 14px; color: var(--muted); }
.mo-pill { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 2px 9px; color: var(--muted); white-space: nowrap; }
.mo-pill.pending { color: var(--warn); } .mo-pill.paid { color: var(--teal); } .mo-pill.shipped { color: var(--good); }
@media (max-width: 560px) { .acct-btn { padding: 8px; } .acct-btn #acctLabel { display: none; } }

/* ---------- owner dashboard: money, sellers, local sales ---------- */
tfoot th { border-top: 2px solid var(--line); font-weight: 800; }
td.neg, .mono.neg { color: #b42318; }
.seller-pick { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.seller-pick select { padding: 4px 8px; font-size: 14px; max-width: 180px; }
.settings.full { max-width: none; }
@media (max-width: 560px) { .tabs .tab { padding: 7px 10px; } .tabs { gap: 0; } }
.sale-lines { display: grid; gap: 10px; }
.sale-line { display: grid; grid-template-columns: minmax(0, 3fr) minmax(70px, 1fr) minmax(100px, 1.3fr) auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); }
.sale-line-end { display: flex; gap: 8px; align-items: center; min-height: 44px; justify-content: flex-end; min-width: 90px; }
.sale-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--line); padding-top: 12px; font-size: 18px; }
.sale-total strong { font-size: 24px; color: var(--navy); }
@media (max-width: 560px) {
  .sale-line { grid-template-columns: 1fr 1fr; }
  .sale-line > label:first-child { grid-column: 1 / -1; }
  .sale-line-end { grid-column: 1 / -1; justify-content: space-between; min-height: 0; }
}
.viewonly { border-color: var(--teal); }
.rate-edit { display: flex; flex-wrap: nowrap; white-space: nowrap; gap: 6px; align-items: center; justify-content: flex-start; min-width: 300px; }
.rate-edit input { width: 70px; padding: 6px 8px; }
.perm-list { display: grid; gap: 4px; }
.perm-list .check { font-size: 14px; gap: 8px; }
.del-table { width: 100%; border-collapse: collapse; min-width: 0; }
.del-table td, .del-table th { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.del-table input[type=text] { min-width: 160px; }
.del-table input[type=number] { width: 100px; }

/* ---------- Bath & Body: its own section, apart from the research catalog ---------- */
.section.bath { background: linear-gradient(180deg, #f3f1e3, #f7f3e6); border-top: 1px solid #ddd8bd; border-bottom: 1px solid #ddd8bd; }
.bath .eyebrow { color: #6f7d3c; }
.bath h2::after { background: #8a9a5b; box-shadow: 0 5px 0 -0.5px #cdd3ad; }
.bath-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.bath-head p { margin: 14px 0 0; max-width: 58ch; color: var(--ink); }
.bath-sprig { width: 110px; flex: none; color: #8a9a5b; opacity: .8; }
.bath .card { --c: #7d8c4a; }
.bath .card .cat { display: none; }
@media (max-width: 560px) { .bath-sprig { display: none; } }
