:root {
  --sand:#e9d8a6;
  --teal:#0a9396;
  --teal-deep:#005f73;
  --foam:#94d2bd;
  --shell:#fefae0;
  --sky:#caf0f8;
  --ink:#001219;
  --ink-soft:rgba(0,18,25,.78);
  --ink-mute:rgba(0,18,25,.55);
  --warn:#ae2012;
  --line:rgba(0,95,115,.18);
}
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky) 0, #d6f0e7 35%, var(--shell) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-deep); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* topbar */
.topbar {
  background: var(--shell);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.topbar-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem 1.25rem;
}
.brand {
  font-size: 1.25rem; font-weight: 700; color: var(--teal-deep);
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
}
.brand em { font-style: italic; color: var(--teal); font-weight: 600; }
.brand-mark { font-size: 1.5rem; }
.nav { display: flex; gap: 1.25rem; flex: 1; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--teal-deep); font-weight: 500; font-size: .98rem;
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--teal); }
.cart-link {
  text-decoration: none; color: var(--teal-deep); font-weight: 600;
  padding: .5rem .9rem; border-radius: 999px; background: var(--foam); border: 1px solid var(--line);
}
.badge {
  background: var(--teal-deep); color: var(--shell); padding: 0 .5rem;
  border-radius: 999px; font-size: .82rem; margin-left: .15rem;
}
.demo-strip {
  background: var(--teal-deep); color: var(--shell);
  font-size: .78rem; padding: .4rem 0; text-align: center; letter-spacing: .04em;
}
.demo-strip a { color: var(--sand); text-decoration: underline; }

/* main */
.main { padding: 2.5rem 1.25rem 4rem; }
.kicker {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  color: var(--teal); font-weight: 700; margin: 0 0 .5rem;
}
h1 { font-size: 2.4rem; line-height: 1.1; letter-spacing: -.5px; color: var(--teal-deep); margin: 0 0 1rem; }
h2 { font-size: 1.6rem; color: var(--teal-deep); margin: 2.5rem 0 1rem; }
h3 { color: var(--teal-deep); margin: 1.5rem 0 .5rem; }
.lede { font-size: 1.1rem; color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.mute { color: var(--ink-mute); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}
.hero-text p.lede { margin: 0 0 1.5rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-card {
  position: relative;
  border-radius: 18px; overflow: hidden;
  padding: 2rem 1.75rem;
  background: rgba(254,250,224,.85); backdrop-filter: blur(8px);
  box-shadow: 0 18px 60px rgba(0,95,115,.18);
  border: 1px solid var(--line);
}
.hero-card-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(10,147,150,.18), transparent 60%),
    linear-gradient(135deg, transparent 0, rgba(148,210,189,.35) 100%);
  pointer-events: none;
}
.hero-card-content { position: relative; }
.hero-card-h { font-weight: 700; color: var(--teal-deep); margin: 0 0 .5rem; }
.btn-link {
  display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--teal-deep);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
}
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } }

/* buttons */
.btn {
  display: inline-block; padding: .8rem 1.25rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; cursor: pointer; border: 0;
  font-size: 1rem;
}
.btn-primary { background: var(--teal-deep); color: var(--shell); }
.btn-primary:hover { background: var(--teal); }
.btn-ghost { background: transparent; color: var(--teal-deep); border: 2px solid var(--teal-deep); }
.btn-ghost:hover { background: var(--teal-deep); color: var(--shell); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-small {
  background: var(--sand); color: var(--teal-deep); border: 0;
  padding: .35rem .8rem; border-radius: 999px; font-weight: 600; cursor: pointer;
}
.btn-link-small {
  background: transparent; border: 0; color: var(--warn);
  font-size: .85rem; text-decoration: underline; cursor: pointer; padding: 0; margin-top: .25rem;
}

/* category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.cat-card {
  background: var(--shell); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,95,115,.16); }
.cat-name { display: block; color: var(--teal-deep); font-weight: 700; font-size: 1.05rem; margin-bottom: .35rem; }
.cat-blurb { display: block; color: var(--ink-mute); font-size: .92rem; }

.cat-strip { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.cat-strip a {
  text-decoration: none; padding: .4rem .9rem; border-radius: 999px;
  background: var(--shell); color: var(--teal-deep); border: 1px solid var(--line); font-weight: 500;
}
.cat-strip a.is-active { background: var(--teal-deep); color: var(--shell); border-color: var(--teal-deep); }

/* product grid */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.prod-card {
  display: block; background: var(--shell); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,95,115,.16); }
.prod-img {
  aspect-ratio: 1 / 1; background: var(--foam);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.4) 0, transparent 50%),
    radial-gradient(circle at 30% 30%, rgba(10,147,150,.4), transparent 60%);
  position: relative;
}
.prod-img[data-cat="disposables"] { background: linear-gradient(135deg, #ffd6a5, #fdffb6); }
.prod-img[data-cat="pods"] { background: linear-gradient(135deg, #caffbf, #9bf6ff); }
.prod-img[data-cat="e-liquids"] { background: linear-gradient(135deg, #ffadad, #ffd6a5); }
.prod-img[data-cat="mods"] { background: linear-gradient(135deg, #bdb2ff, #a0c4ff); }
.prod-img[data-cat="coils"] { background: linear-gradient(135deg, #94d2bd, #e9d8a6); }
.prod-img::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(255,255,255,.55), transparent 55%);
}
.prod-name { padding: 1rem 1rem .25rem; font-weight: 700; color: var(--teal-deep); font-size: 1rem; }
.prod-blurb { padding: 0 1rem; font-size: .88rem; color: var(--ink-mute); min-height: 2.6em; }
.prod-foot { padding: .5rem 1rem 1rem; display: flex; justify-content: space-between; align-items: center; }
.prod-price { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.prod-stock-low { font-size: .78rem; color: var(--warn); font-weight: 600; }

/* product detail */
.crumbs { font-size: .85rem; color: var(--ink-mute); margin-bottom: 1.5rem; }
.prod-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem;
}
@media (max-width: 760px) { .prod-detail { grid-template-columns: 1fr; } }
.prod-detail-img {
  aspect-ratio: 1 / 1; border-radius: 18px; box-shadow: 0 18px 60px rgba(0,95,115,.16);
}
.prod-detail-img[data-cat="disposables"] { background: linear-gradient(135deg, #ffd6a5, #fdffb6); }
.prod-detail-img[data-cat="pods"] { background: linear-gradient(135deg, #caffbf, #9bf6ff); }
.prod-detail-img[data-cat="e-liquids"] { background: linear-gradient(135deg, #ffadad, #ffd6a5); }
.prod-detail-img[data-cat="mods"] { background: linear-gradient(135deg, #bdb2ff, #a0c4ff); }
.prod-detail-img[data-cat="coils"] { background: linear-gradient(135deg, #94d2bd, #e9d8a6); }
.prod-detail-price { font-size: 2rem; font-weight: 700; color: var(--teal-deep); margin: 1rem 0 .25rem; }
.prod-detail-stock { color: var(--teal); font-weight: 600; margin-bottom: 1.5rem; }
.prod-detail-stock-out { color: var(--warn); }
.add-form { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: 2rem; }
.add-form label { display: inline-flex; gap: .5rem; align-items: center; }
.add-form input[type=number] {
  width: 70px; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem;
}
.prod-meta { list-style: none; padding: 0; font-size: .9rem; color: var(--ink-mute); line-height: 1.7; }
.prod-meta li { padding: .35rem 0; border-top: 1px dashed var(--line); }

/* cart */
.empty { text-align: center; padding: 3rem 1rem; }
.empty p { margin-bottom: 1.5rem; color: var(--ink-mute); }
.cart {
  background: var(--shell); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem;
}
.cart-row {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.cart-row:last-of-type { border-bottom: 0; }
.cart-img { width: 80px; height: 80px; border-radius: 12px; }
.cart-img[data-cat="disposables"] { background: linear-gradient(135deg, #ffd6a5, #fdffb6); }
.cart-img[data-cat="pods"] { background: linear-gradient(135deg, #caffbf, #9bf6ff); }
.cart-img[data-cat="e-liquids"] { background: linear-gradient(135deg, #ffadad, #ffd6a5); }
.cart-img[data-cat="mods"] { background: linear-gradient(135deg, #bdb2ff, #a0c4ff); }
.cart-img[data-cat="coils"] { background: linear-gradient(135deg, #94d2bd, #e9d8a6); }
.cart-name { font-weight: 700; color: var(--teal-deep); text-decoration: none; }
.cart-blurb { font-size: .85rem; color: var(--ink-mute); margin: .25rem 0 .5rem; }
.cart-qty { display: flex; gap: .5rem; align-items: center; }
.cart-qty input[type=number] { width: 60px; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 6px; }
.cart-line { text-align: right; }
.cart-price { font-weight: 700; color: var(--ink); }
.cart-total {
  display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0 .25rem;
}

/* checkout */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 760px) { .checkout { grid-template-columns: 1fr; } }
.checkout-form {
  background: var(--shell); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem;
}
.checkout-form fieldset {
  border: 0; padding: 0 0 1.5rem; margin: 0 0 1.5rem; border-bottom: 1px solid var(--line);
}
.checkout-form legend { font-weight: 700; color: var(--teal-deep); padding: 0 0 .5rem; }
.checkout-form label { display: block; margin-bottom: .75rem; font-size: .9rem; color: var(--ink-soft); }
.checkout-form input {
  display: block; width: 100%; padding: .65rem .8rem;
  border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; margin-top: .25rem; background: white;
}
.checkout-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkout-form .checkbox { display: flex; align-items: center; gap: .5rem; }
.checkout-form .checkbox input { display: inline-block; width: auto; }
.checkout-form .hint { font-size: .8rem; color: var(--ink-mute); margin: .5rem 0 0; }
.checkout-summary {
  background: var(--shell); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; position: sticky; top: 5rem;
}
.checkout-summary ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.checkout-summary ul li { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.sum-row { display: flex; justify-content: space-between; padding: .35rem 0; }
.sum-total { font-size: 1.15rem; font-weight: 700; color: var(--teal-deep); border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .75rem; }

.success-card {
  background: var(--shell); border: 1px solid var(--line); border-radius: 14px;
  padding: 2rem; text-align: center;
}
.success-card .btn { margin-top: 1rem; }

/* footer */
.foot {
  background: var(--teal-deep); color: var(--shell); padding: 2.5rem 0 1.5rem; margin-top: 4rem;
}
.foot a { color: var(--sand); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr; } }
.foot-brand { font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.foot-h { font-weight: 700; margin-bottom: .5rem; color: var(--shell); }
.foot-mute { color: rgba(254,250,224,.6); font-size: .9rem; line-height: 1.5; }
.foot-mini {
  font-size: .8rem; color: rgba(254,250,224,.55); border-top: 1px solid rgba(254,250,224,.15);
  padding-top: 1rem; text-align: center;
}

/* age gate */
.age-body {
  background: linear-gradient(180deg, var(--sky) 0, var(--foam) 60%, var(--sand) 100%);
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.age-card {
  background: rgba(254,250,224,.92); backdrop-filter: blur(8px);
  border-radius: 18px; padding: 3rem 2.25rem; max-width: 520px; text-align: center;
  box-shadow: 0 18px 60px rgba(0,95,115,.18);
}
.age-mark { font-size: 3rem; margin-bottom: .5rem; }
.age-card h1 { font-size: 1.75rem; }
.age-card p { color: var(--ink-soft); line-height: 1.55; }
.age-actions { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0 1rem; }
.age-mini { font-size: .8rem; color: var(--ink-mute); }
.admin-card { max-width: 460px; }
.admin-card code { background: var(--shell); padding: 1px 6px; border-radius: 4px; }
.login-form label { display: block; text-align: left; margin-bottom: .75rem; font-weight: 500; color: var(--ink-soft); }
.login-form input { display: block; width: 100%; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; margin-top: .25rem; }
.login-error { background: rgba(174,32,18,.08); color: var(--warn); padding: .65rem .8rem; border-radius: 8px; margin-bottom: 1rem; font-size: .9rem; text-align: left; }

/* admin */
.admin-body { background: #f8fafc; color: var(--ink); }
.admin-top {
  background: var(--shell); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30;
}
.admin-top-inner { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.25rem; }
.admin-top nav { display: flex; gap: 1rem; align-items: center; }
.admin-top a { text-decoration: none; color: var(--teal-deep); font-weight: 500; }
.brand-small { font-size: 1rem; }
.logout-form { margin: 0; padding: 0; display: inline; }
.logout-form .btn-link { background: transparent; border: 0; color: var(--warn); text-decoration: underline; cursor: pointer; padding: 0; font-weight: 500; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.kpi { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; }
.kpi-label { font-size: .85rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; }
.kpi-value { font-size: 1.75rem; font-weight: 700; color: var(--teal-deep); margin-top: .35rem; }

.admin-section { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-section h2 { margin-top: 0; font-size: 1.25rem; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { padding: .55rem .65rem; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { font-weight: 600; color: var(--ink-soft); background: #fbfcfd; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.tbl code { background: #f1f5f9; padding: 1px 6px; border-radius: 4px; font-size: .85rem; }
.tbl .low { color: var(--warn); font-weight: 700; }
.badge-status { font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; font-weight: 600; text-transform: capitalize; }
.badge-fulfilled { background: rgba(10,147,150,.15); color: var(--teal-deep); }
.badge-shipped { background: rgba(233,216,166,.4); color: #94731f; }
.admin-note p { color: var(--ink-soft); line-height: 1.6; }
.admin-note ul { padding-left: 1.25rem; line-height: 1.7; }

/* prose */
.prose { max-width: 64ch; line-height: 1.7; color: var(--ink-soft); }
.prose p { margin: 0 0 1.25rem; }

.page-head { margin-bottom: 2rem; }

/* product images (added 2026-06-23) */
img.prod-img {
  width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: contain; display: block;
  background: #ffffff;
}
img.prod-detail-img {
  width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: contain; display: block;
  background: #ffffff; border-radius: 18px; box-shadow: 0 18px 60px rgba(0,95,115,.16);
}
img.cart-img {
  width: 80px; height: 80px;
  object-fit: contain; display: block;
  background: #ffffff; border-radius: 12px;
}
/* ===== admin v0.2 additions ===== */
.admin-shell {
  display: grid; grid-template-columns: 220px 1fr; gap: 2rem;
  padding: 2rem 1.25rem 4rem;
  max-width: 1280px;
}
@media (max-width: 760px) { .admin-shell { grid-template-columns: 1fr; } }

.admin-sidenav {
  display: flex; flex-direction: column; gap: .25rem;
  background: var(--shell); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem; position: sticky; top: 1rem; align-self: flex-start;
}
.admin-sidenav a {
  text-decoration: none; color: var(--teal-deep); font-weight: 500;
  padding: .55rem .75rem; border-radius: 8px;
}
.admin-sidenav a:hover { background: rgba(10,147,150,.08); }
.admin-sidenav a.is-active { background: var(--teal-deep); color: var(--shell); }
.admin-sidenav hr { border: 0; border-top: 1px solid var(--line); margin: .75rem 0; }
.admin-logout-form { margin: 0; padding: .55rem .75rem; }

.admin-main { min-width: 0; }
.admin-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; gap: 1rem; flex-wrap: wrap;
}

.admin-mode {
  margin-left: auto; padding: .25rem .7rem; border-radius: 999px;
  background: var(--sand); color: var(--teal-deep); font-size: .78rem; font-weight: 700;
  letter-spacing: .05em;
}
.admin-mode.is-live { background: var(--warn); color: var(--shell); }

.admin-form { display: flex; flex-direction: column; gap: 1rem; max-width: 640px; }
.admin-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; color: var(--teal-deep); font-size: .9rem; }
.admin-form label.checkbox, .admin-form label.radio {
  flex-direction: row; align-items: center; gap: .55rem; font-weight: 500; color: var(--ink-soft);
}
.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="file"],
.admin-form input:not([type]),
.admin-form select,
.admin-form textarea {
  padding: .6rem .75rem; border-radius: 8px; border: 1px solid var(--line);
  font-size: .98rem; background: white; color: var(--ink);
  font-family: inherit;
}
.admin-form input[readonly] { background: rgba(0,18,25,.04); color: var(--ink-mute); }
.admin-form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; }
.admin-form .hint { color: var(--ink-mute); font-size: .85rem; font-weight: 400; margin: 0; }
.admin-form .form-actions { display: flex; gap: .75rem; }
.admin-form-inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; max-width: 100%; }
.admin-form-inline label { flex: 1; min-width: 140px; }

.pay-methods { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pay-methods .radio { background: var(--shell); padding: .5rem .9rem; border-radius: 8px; border: 1px solid var(--line); }

.row-actions { display: flex; gap: .5rem; align-items: center; }
.row-actions form { margin: 0; }

.flash {
  padding: .65rem 1rem; border-radius: 8px; margin-bottom: 1rem;
  font-weight: 500;
}
.flash-success { background: rgba(10,147,150,.12); color: var(--teal-deep); border: 1px solid var(--teal); }
.flash-error   { background: rgba(174,32,18,.10); color: var(--warn); border: 1px solid var(--warn); }
.flash-info    { background: rgba(0,95,115,.08); color: var(--teal-deep); border: 1px solid var(--line); }

.badge-status { padding: .15rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.badge-fulfilled { background: rgba(10,147,150,.18); color: var(--teal-deep); }
.badge-shipped   { background: rgba(0,95,115,.18); color: var(--teal-deep); }
.badge-paid      { background: rgba(10,147,150,.30); color: var(--teal-deep); }
.badge-pending   { background: var(--sand); color: var(--teal-deep); }
.badge-demo      { background: rgba(0,18,25,.10); color: var(--ink-mute); }
.badge-awaiting-bank-transfer { background: rgba(174,160,32,.18); color: #6b5500; }

.src { font-size: .78rem; color: var(--ink-mute); }
.src-live { color: var(--teal); font-weight: 600; }

.cart-discount {
  display: flex; gap: .75rem; align-items: flex-end; margin: 1rem 0;
  padding: 1rem; background: var(--shell); border: 1px solid var(--line); border-radius: 10px;
}
.cart-discount label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; color: var(--teal-deep); font-weight: 600; flex: 1; }
.cart-discount input { padding: .5rem .7rem; border-radius: 8px; border: 1px solid var(--line); font-size: .95rem; }
.cart-totals-stack { display: flex; flex-direction: column; gap: .35rem; }
.discount-line { color: var(--teal); font-size: .95rem; }

.admin-section { margin-top: 2rem; }
.head-actions{display:flex;gap:.5rem;flex-wrap:wrap} .row-skip{opacity:.5;background:rgba(0,18,25,.04)}
.order-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
@media (max-width:760px){.order-grid{grid-template-columns:1fr}}
.tbl-totals{width:auto;margin-top:.75rem}
.tbl-totals td{padding:.3rem .75rem;border:0}
.tbl-totals tr.tot td{border-top:1px solid var(--line);padding-top:.5rem}
.status-history{list-style:none;padding-left:0;font-size:.92rem;color:var(--ink-soft)}
.status-history li{padding:.3rem 0;border-bottom:1px solid var(--line)}
.badge-refunded{background:rgba(174,32,18,.18);color:var(--warn)}
.badge-cancelled{background:rgba(0,18,25,.15);color:var(--ink-mute)}

/* =========================================================================
   v0.4 storefront polish — typography, hero photo, trust strip,
   richer product / category cards, story band.  Storefront only;
   admin styles above are untouched.
   ========================================================================= */

:root {
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --warm: #ff9f5b;
}

body { font-family: var(--font-body); }
.brand-text { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h1, h2, h3, .story-h { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: 3rem; line-height: 1.02; }
@media (max-width: 760px) { h1 { font-size: 2.2rem; } }
h2 { font-size: 1.85rem; }

.brand { gap: .65rem; }
.brand-mark { display: inline-flex; align-items: center; }

/* hero photo */
.hero-photo {
  position: relative;
  margin: -2.5rem -1.25rem 3rem;
  padding: 4.5rem 1.5rem 4rem;
  border-radius: 0;
  isolation: isolate;
  overflow: hidden;
  color: var(--shell);
}
@media (min-width: 1100px) { .hero-photo { margin: -2.5rem 0 3rem; border-radius: 22px; } }
.hero-photo-bg {
  position: absolute; inset: 0;
  background-image: url('/img/hero-beach.jpg');
  background-size: cover;
  background-position: center 60%;
  z-index: -2;
  transform: scale(1.04);
  filter: saturate(1.08);
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(0,18,25,.78) 0%, rgba(0,95,115,.55) 45%, rgba(0,95,115,.18) 100%),
    linear-gradient(0deg, rgba(0,18,25,.35), transparent 55%);
  z-index: -1;
}
.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem;
  align-items: center;
  max-width: 1180px; margin: 0 auto;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.hero-photo .kicker { color: var(--sand); }
.hero-photo h1 { color: var(--shell); text-shadow: 0 2px 24px rgba(0,18,25,.45); }
.hero-photo .lede { color: rgba(254,250,224,.92); max-width: 56ch; font-size: 1.15rem; }
.hero-photo .lede a { color: var(--sand); }
.hero-photo .hero-card {
  background: rgba(0,18,25,.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(254,250,224,.18);
  color: var(--shell);
  box-shadow: 0 30px 60px rgba(0,18,25,.4);
}
.hero-photo .hero-card-h { color: var(--sand); letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
.hero-photo .hero-card p { color: rgba(254,250,224,.88); font-size: .98rem; line-height: 1.55; }
.hero-photo .hero-card .btn-link { color: var(--sand); }

.btn-ghost-light {
  background: rgba(254,250,224,.10);
  color: var(--shell); border: 2px solid rgba(254,250,224,.65);
  display: inline-block; padding: .8rem 1.25rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  backdrop-filter: blur(6px);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-ghost-light:hover { background: var(--shell); color: var(--teal-deep); border-color: var(--shell); }
.btn-sand {
  background: var(--sand); color: var(--teal-deep);
  display: inline-block; padding: .8rem 1.25rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-sand:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,18,25,.18); }

/* trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: -1rem 0 3rem;
  box-shadow: 0 12px 40px rgba(0,95,115,.12);
}
.trust-item {
  padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: .15rem;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
@media (max-width: 760px) { .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; } }
.trust-icon { font-size: 1.4rem; line-height: 1; }
.trust-label { font-weight: 700; color: var(--teal-deep); font-size: .98rem; }
.trust-sub { font-size: .82rem; color: var(--ink-mute); }

/* section heads */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 2.5rem 0 1.25rem; gap: 1rem; flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-link {
  color: var(--teal-deep); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.section-link:hover { border-bottom-color: var(--teal); }

/* category cards — colored art panel + hover affordance */
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cat-card {
  position: relative; padding: 0; overflow: hidden;
  background: white; border-radius: 16px;
  display: flex; flex-direction: column;
  min-height: 200px;
}
.cat-card-art {
  height: 90px;
  background: linear-gradient(135deg, var(--foam), var(--teal));
  position: relative;
}
.cat-card[data-cat="disposables"] .cat-card-art { background: linear-gradient(135deg, #ffd6a5, #ff9f5b); }
.cat-card[data-cat="pods"] .cat-card-art { background: linear-gradient(135deg, #94d2bd, #0a9396); }
.cat-card[data-cat="e-liquids"] .cat-card-art { background: linear-gradient(135deg, #ffadad, #ff7e5f); }
.cat-card[data-cat="mods"] .cat-card-art { background: linear-gradient(135deg, #005f73, #001219); }
.cat-card[data-cat="coils"] .cat-card-art { background: linear-gradient(135deg, #e9d8a6, #94731f); }
.cat-card[data-cat="kits"] .cat-card-art,
.cat-card[data-cat="batteries"] .cat-card-art { background: linear-gradient(135deg, #bdb2ff, #0a9396); }
.cat-card-art::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 110%, rgba(255,255,255,.5), transparent 55%);
}
.cat-card .cat-name { padding: 1rem 1.1rem .35rem; margin: 0; }
.cat-card .cat-blurb { padding: 0 1.1rem; flex: 1; }
.cat-arrow {
  position: absolute; right: 1rem; bottom: .9rem;
  color: var(--teal-deep); font-weight: 700; font-size: 1.1rem;
  transition: transform .2s ease;
}
.cat-card:hover .cat-arrow { transform: translateX(4px); }

/* product cards — bigger image well, ribbon, hover lift, cta */
.prod-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.prod-card {
  border-radius: 16px; background: white; border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0,95,115,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,95,115,.18); }
.prod-img-wrap {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 16px 16px 0 0;
}
.prod-img-wrap[data-cat="disposables"] { background: linear-gradient(135deg, #fff3e0, #ffd6a5); }
.prod-img-wrap[data-cat="pods"] { background: linear-gradient(135deg, #e6fffb, #94d2bd); }
.prod-img-wrap[data-cat="e-liquids"] { background: linear-gradient(135deg, #ffe9e3, #ffadad); }
.prod-img-wrap[data-cat="mods"] { background: linear-gradient(135deg, #d1d5db, #94a3b8); }
.prod-img-wrap[data-cat="coils"] { background: linear-gradient(135deg, #fef6dd, #e9d8a6); }
.prod-img-wrap[data-cat="kits"] { background: linear-gradient(135deg, #e6e1ff, #bdb2ff); }
.prod-img-wrap[data-cat="batteries"] { background: linear-gradient(135deg, #e6e1ff, #94d2bd); }
.prod-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(255,255,255,.55), transparent 60%);
  pointer-events: none;
}
.prod-card img.prod-img {
  background: transparent; padding: 1.25rem;
  transition: transform .25s ease;
}
.prod-card:hover img.prod-img { transform: scale(1.04); }

.ribbon {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  background: var(--teal-deep); color: var(--shell);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,18,25,.18);
}
.ribbon-warn { background: var(--warm); color: var(--ink); }

.prod-body { padding: 1rem 1.1rem 1.25rem; }
.prod-card .prod-name { padding: 0; font-size: 1.05rem; }
.prod-card .prod-blurb { padding: .35rem 0 0; min-height: 2.6em; font-size: .9rem; }
.prod-foot { padding: .75rem 0 0; }
.prod-cta { color: var(--teal); font-weight: 600; font-size: .92rem; }

/* story band */
.story-band {
  margin: 4rem -1.25rem 0;
  padding: 3.5rem 1.5rem;
  background:
    linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 55%, var(--foam) 130%);
  color: var(--shell);
  border-radius: 0;
  position: relative; overflow: hidden;
}
@media (min-width: 1100px) { .story-band { margin: 4rem 0 0; border-radius: 22px; } }
.story-band::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(254,250,224,.18), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(255,159,91,.20), transparent 50%);
  pointer-events: none;
}
.story-band-inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.story-band .kicker-light { color: var(--sand); }
.story-band .story-h { color: var(--shell); font-size: 2.1rem; margin: .25rem 0 1rem; }
.story-band .story-p { color: rgba(254,250,224,.92); font-size: 1.05rem; line-height: 1.6; max-width: 60ch; margin: 0 auto 1.75rem; }

/* =========================================================================
   v0.4.1 dynamism layer — scroll reveal, parallax, live pulse, wave divider
   ========================================================================= */

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
.reveal.is-revealed { opacity: 1; transform: translate3d(0, 0, 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* hero photo bg is now parallax-controlled — keep initial scale, JS sets transform */
.hero-photo-bg { transform: scale(1.06); will-change: transform; }

/* topbar shrink-on-scroll */
.topbar { transition: box-shadow .2s ease, padding .2s ease; }
.topbar.is-scrolled { box-shadow: 0 6px 20px rgba(0,18,25,.08); }
.topbar.is-scrolled .topbar-inner { padding-top: .6rem; padding-bottom: .6rem; }

/* live pulse dot in demo strip */
.demo-strip-inner { display: flex; align-items: center; justify-content: center; gap: .55rem; flex-wrap: wrap; }
.demo-strip-inner strong { letter-spacing: .04em; }
.visitor-ticker { opacity: .85; font-variant-numeric: tabular-nums; }
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
  animation: livepulse 1.8s ease-out infinite;
}
@keyframes livepulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* animated wave divider beneath the hero */
.wave-divider {
  position: relative;
  margin: -3rem -1.25rem 0;
  height: 60px;
  z-index: 1;
  pointer-events: none;
}
@media (min-width: 1100px) { .wave-divider { margin: -3rem 0 0; } }
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* product card image rotates a touch on hover */
.prod-card:hover img.prod-img { transform: scale(1.05) rotate(-3deg); }

/* a subtle floating shimmer on the hero CTA buttons */
.hero-photo .btn-primary {
  position: relative; overflow: hidden;
}
.hero-photo .btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(254,250,224,.45) 50%, transparent 100%);
  transform: skewX(-22deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0%   { left: -120%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo .btn-primary::after { animation: none; opacity: 0; } }



/* =========================================================================
   v0.5 dynamism+ — particles, 3D tilt, stat counters, activity toast,
   demo-cta pill, breathing cats, sun rays. Ship date: 2026-06-24.
   ========================================================================= */

/* hero sun rays — rotating SVG behind the photo */
.hero-rays {
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 130%; aspect-ratio: 1 / 1;
  z-index: -1;
  opacity: .35;
  pointer-events: none;
  animation: hero-rays-spin 90s linear infinite;
  mix-blend-mode: soft-light;
}
@keyframes hero-rays-spin {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-rays { animation: none; opacity: .2; } }

/* particles — gold sand drifting up over hero */
.hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .65;
}

/* hero word emphasis — animated underline pulse on "own beach" */
.hero-photo h1 .accent {
  position: relative; display: inline-block;
  color: var(--sand);
}
.hero-photo h1 .accent::after {
  content: ''; position: absolute;
  left: 0; bottom: -.12em;
  width: 100%; height: .14em;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
  border-radius: 999px;
  transform-origin: left;
  animation: accent-grow 3.5s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes accent-grow {
  0%,15%   { transform: scaleX(0); opacity: 0; }
  30%,70%  { transform: scaleX(1); opacity: 1; }
  85%,100% { transform: scaleX(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo h1 .accent::after { animation: none; transform: scaleX(1); opacity: 1; } }

/* category card breathing art */
.cat-card-art {
  transition: transform .35s cubic-bezier(.16,.84,.44,1), filter .35s ease;
  animation: cat-breathe 7s ease-in-out infinite;
  filter: saturate(1) brightness(1);
}
@keyframes cat-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.04) rotate(.6deg); }
}
.cat-card:hover .cat-card-art {
  animation-play-state: paused;
  transform: scale(1.08) rotate(-1.2deg);
  filter: saturate(1.18) brightness(1.04);
}
@media (prefers-reduced-motion: reduce) { .cat-card-art { animation: none; } }

/* category card hover lift + glow */
.cat-card { position: relative; isolation: isolate; overflow: hidden; }
.cat-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--teal), var(--sand), var(--teal-deep));
  opacity: 0;
  z-index: -1;
  transition: opacity .25s ease;
}
.cat-card:hover::before { opacity: .55; }
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0,95,115,.28);
}

/* product card 3D tilt + glow rim */
.prod-card {
  transform-style: preserve-3d;
  perspective: 800px;
  position: relative;
  isolation: isolate;
}
.prod-card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, .35),
    transparent 40%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 3;
}
.prod-card:hover::after { opacity: 1; }
.prod-card[data-tilt] {
  transition: transform .15s cubic-bezier(.16,.84,.44,1), box-shadow .25s ease;
}
.prod-card[data-tilt]:hover {
  box-shadow: 0 30px 60px rgba(0,18,25,.22);
}
@media (prefers-reduced-motion: reduce) {
  .prod-card[data-tilt] { transition: none; transform: none !important; }
}

/* product image float — gentle bobbing */
.prod-card img.prod-img {
  animation: prod-bob 6.5s ease-in-out infinite;
  animation-delay: calc(var(--bob-delay, 0) * 1s);
}
@keyframes prod-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.prod-card:hover img.prod-img {
  animation-play-state: paused;
  transform: scale(1.07) rotate(-4deg);
}
@media (prefers-reduced-motion: reduce) { .prod-card img.prod-img { animation: none; } }

/* ribbon shimmer */
.ribbon {
  background: linear-gradient(110deg, var(--teal-deep) 0%, var(--teal) 45%, var(--teal-deep) 75%);
  background-size: 220% 100%;
  animation: ribbon-shine 4.5s ease-in-out infinite;
}
.ribbon-warn {
  background: linear-gradient(110deg, var(--warn) 0%, #e85c4a 45%, var(--warn) 75%);
  background-size: 220% 100%;
  color: var(--shell);
  animation: ribbon-shine 4.5s ease-in-out infinite;
}
@keyframes ribbon-shine {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) { .ribbon, .ribbon-warn { animation: none; } }

/* stat counter row — pre story-band */
.stat-counters {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 3rem 0 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--shell) 0%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,95,115,.10);
  position: relative; overflow: hidden;
}
.stat-counters::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(10,147,150,.12), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255,159,91,.12), transparent 45%);
  pointer-events: none;
}
@media (max-width: 760px) { .stat-counters { grid-template-columns: repeat(2, 1fr); padding: 1.5rem 1rem; } }
.stat-cell {
  text-align: center; position: relative;
  border-right: 1px dashed var(--line);
  padding: .5rem;
}
.stat-cell:last-child { border-right: 0; }
@media (max-width: 760px) {
  .stat-cell { border-right: 0; border-bottom: 1px dashed var(--line); padding-bottom: 1.25rem; }
  .stat-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
.stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.5rem; font-weight: 700; line-height: 1;
  color: var(--teal-deep);
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.stat-prefix, .stat-suffix { color: var(--teal); font-size: 1.5rem; font-weight: 500; }
.stat-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  color: var(--ink-mute);
  margin-top: .5rem;
  font-weight: 700;
}

/* activity toast — bottom-right rotating "X bought Y" */
.activity-toast {
  position: fixed;
  bottom: 1.25rem; right: 1.25rem;
  background: rgba(254,250,224,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .75rem 1rem;
  box-shadow: 0 18px 40px rgba(0,18,25,.18);
  font-size: .88rem;
  max-width: 340px;
  z-index: 50;
  display: flex; align-items: center; gap: .75rem;
  opacity: 0;
  transform: translateY(20px) scale(.95);
  transition: opacity .35s ease, transform .35s cubic-bezier(.16,.84,.44,1);
  pointer-events: auto;
}
.activity-toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.activity-toast-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--foam));
  display: flex; align-items: center; justify-content: center;
  color: var(--shell); font-weight: 700; font-size: 1rem;
  flex: 0 0 38px;
}
.activity-toast-text { line-height: 1.35; color: var(--ink-soft); }
.activity-toast-text strong { color: var(--teal-deep); }
.activity-toast-mini { font-size: .72rem; color: var(--ink-mute); margin-top: .15rem; }
@media (max-width: 600px) { .activity-toast { bottom: .75rem; right: .75rem; left: .75rem; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .activity-toast { transition: opacity .2s ease; transform: none; } }

/* demo CTA pill — bottom-left "Built by Fix IT" */
.demo-cta-pill {
  position: fixed;
  bottom: 1.25rem; left: 1.25rem;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--shell);
  padding: .75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  box-shadow: 0 14px 36px rgba(0,18,25,.28);
  z-index: 50;
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid rgba(254,250,224,.22);
  transition: transform .2s ease, box-shadow .25s ease;
}
.demo-cta-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0,18,25,.36);
  color: var(--sand);
}
.demo-cta-pill .demo-cta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.7);
  animation: livepulse 1.8s ease-out infinite;
}
@media (max-width: 600px) { .demo-cta-pill { display: none; } }
@media (prefers-reduced-motion: reduce) { .demo-cta-pill .demo-cta-dot { animation: none; } }

/* wave divider — sand → shell variant (between trust → cats and between featured → story-band) */
.wave-divider.wave-sand path { fill: var(--sand) !important; opacity: .55 !important; }
.wave-divider.wave-deep path { fill: var(--teal-deep) !important; opacity: .9 !important; }
.wave-divider.wave-thin { height: 40px; margin-top: 2rem; }

/* section-head shimmer underline */
.section-head { position: relative; }
.section-head h2 { display: inline-block; }
.section-head h2::after {
  content: ''; display: block;
  height: 3px; width: 3.2rem;
  margin-top: .35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--sand));
  background-size: 200% 100%;
  animation: head-underline 4s ease-in-out infinite;
}
@keyframes head-underline {
  0%, 100% { background-position: 0% 50%; width: 3.2rem; }
  50%      { background-position: 100% 50%; width: 5rem; }
}
@media (prefers-reduced-motion: reduce) { .section-head h2::after { animation: none; } }

/* story-band — add floating gradient orbs */
.story-band {
  isolation: isolate;
}
.story-band::before {
  content: ''; position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,179,71,.32), transparent 65%);
  top: -120px; left: -80px;
  animation: orb-drift-1 18s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, 30px); }
}
@media (prefers-reduced-motion: reduce) { .story-band::before { animation: none; } }

/* === mobile header compact (FIX-3300) === */
@media (max-width: 760px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: .5rem;
    padding: .55rem .9rem;
    row-gap: .4rem;
  }
  .brand { font-size: 1.05rem; flex: 1 1 auto; min-width: 0; }
  .brand-mark svg { width: 22px; height: 22px; }
  .brand-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cart-link { padding: .35rem .7rem; font-size: .85rem; flex: 0 0 auto; }
  .nav {
    order: 3;
    width: 100%;
    flex-basis: 100%;
    gap: 1.1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: .92rem; padding: .15rem 0; }
  .demo-strip { display: none; }
  .topbar.is-scrolled .topbar-inner { padding-top: .4rem; padding-bottom: .4rem; }
}
