:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --surface: #121212;
  --surface-2: #1c1c1c;
  --line: #262626;
  --line-2: #3d3d3d;
  --text: #ffffff;
  --muted: #a1a1a1;
  --blue: #ffffff;
  --on-accent: #000000;
  --blue-2: #cfcfcf;
  --cyan: #5fd4ff;
  --green: #ffffff;
  --radius: 16px;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }

.kicker {
  margin: 0 0 .8rem; font-size: .76rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-2);
}
.h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin-bottom: 1rem; }
.grad { background: linear-gradient(90deg, #ffffff, #8a8a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.5rem; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--blue); color: var(--on-accent); font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(255,255,255,.25); transition: background .2s, transform .2s;
}
.btn:hover { background: #e2e2e2; transform: translateY(-1px); }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

/* Announcement */
.announce { background: var(--blue); color: var(--on-accent); font-size: .8rem; font-weight: 700; overflow: hidden; }
.announce-track { display: flex; justify-content: center; gap: 1.2rem; padding: .55rem 16px; white-space: nowrap; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 30; background: rgba(0,0,0,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 66px; }
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: .22em; text-decoration: none; }
.nav { display: flex; gap: 2rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: .9rem; font-weight: 600; }
.nav a:hover { color: var(--text); }
.cart-btn {
  justify-self: end; position: relative; width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; display: grid; place-items: center;
}
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--blue); color: var(--on-accent); font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }

/* Product */
.product {
  padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 500px at 25% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(700px 400px at 90% 30%, rgba(255,255,255,.03), transparent 60%);
}
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

.gallery { display: grid; grid-template-columns: 78px 1fr; gap: 14px; position: sticky; top: 90px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb {
  aspect-ratio: 1; border-radius: 12px; overflow: hidden; padding: 4px; cursor: pointer;
  background: #fff; border: 2px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--blue); opacity: 1; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }

.stage {
  position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden;
  background: #fff;
  display: grid; place-items: center; box-shadow: 0 40px 80px -40px rgba(255,255,255,.12);
}
.stage img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.stage img.fade { animation: fade .35s ease; }
.stage .bottle { height: 88%; width: auto; }
.stage-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.75); color: #fff;
  font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 8px;
}
@keyframes fade { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

.trust { grid-column: 1 / -1; list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.trust li {
  display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center;
  padding: .9rem .5rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 600; color: var(--muted);
}
.trust svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.buybox h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: .5rem; }
.sub { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.1rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.pills span {
  font-size: .78rem; font-weight: 700; padding: .4rem .7rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}

.step { margin-bottom: 1.6rem; }
.step h2 { font-size: 1rem; font-weight: 800; margin-bottom: .8rem; display: flex; align-items: center; gap: .55rem; letter-spacing: 0; }
.step h2 b {
  width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--on-accent); display: grid; place-items: center;
  font-size: .76rem;
}
.chosen { margin-left: auto; font-weight: 600; color: var(--muted); font-size: .88rem; }

.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bundle {
  position: relative; display: flex; flex-direction: column; gap: .15rem; cursor: pointer;
  padding: 1.1rem .9rem .9rem; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line);
  transition: border-color .2s, background .2s;
}
.bundle input { position: absolute; opacity: 0; pointer-events: none; }
.bundle:hover { border-color: var(--line-2); }
.bundle:has(input:checked) { border-color: var(--blue); background: var(--surface-2); box-shadow: 0 0 0 3px rgba(255,255,255,.14); }
.bundle:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.b-name { font-weight: 800; }
.b-note { font-size: .78rem; color: var(--muted); }
.b-note.save { color: var(--green); font-weight: 700; }
.b-price { margin-top: .5rem; font-weight: 800; font-size: 1.05rem; }
.b-price s { color: var(--muted); font-weight: 500; font-size: .8rem; margin-left: .3rem; }
.b-price small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.flag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--blue); color: var(--on-accent); font-size: .64rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px;
}
.flag-alt { background: #000; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

.colors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.color {
  display: flex; flex-direction: column; align-items: center; gap: .4rem; cursor: pointer;
  padding: .7rem .3rem .55rem; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line);
  font-size: .74rem; font-weight: 700; color: var(--muted); transition: border-color .2s;
}
.color i { width: 16px; height: 40px; border-radius: 4px 4px 6px 6px; background: var(--c); box-shadow: inset -4px 0 6px rgba(0,0,0,.25), inset 3px 0 4px rgba(255,255,255,.15); }
.color:hover { border-color: var(--line-2); }
.color.is-active { border-color: var(--blue); color: var(--text); background: var(--surface-2); }

.addons { display: grid; gap: 8px; }
.addon {
  display: flex; align-items: center; gap: .8rem; cursor: pointer; padding: .7rem .9rem;
  border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); transition: border-color .2s;
}
.addon input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.addon:has(input:checked) { border-color: var(--blue); background: var(--surface-2); }
.a-icon { font-size: 1.3rem; }
.a-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.a-text strong { font-size: .9rem; }
.a-text small { color: var(--muted); font-size: .76rem; }
.a-price { font-weight: 800; font-size: .9rem; }

.cta {
  width: 100%; display: flex; justify-content: center; align-items: center; gap: .6rem;
  padding: 1.15rem; border: 0; border-radius: 14px; cursor: pointer;
  background: #fff; color: var(--on-accent);
  font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 16px 40px -16px rgba(255,255,255,.3); transition: transform .2s, filter .2s;
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.cta-sep { opacity: .5; }
.assure { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .8rem; color: var(--muted); }
.assure li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: .35rem; }

/* How it works */
.how { background: var(--bg-2); border-block: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.unit-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; margin: 1.2rem 0 0; }
.unit-toggle button { border: 0; background: none; padding: .4rem .9rem; border-radius: 8px; cursor: pointer; font-weight: 800; color: var(--muted); }
.unit-toggle .is-active { background: var(--blue); color: var(--on-accent); }
.dial { margin: 1.8rem 0 1.4rem; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, #5cc8ff, #3ddc97 35%, #ffc861 62%, #ff5b3a); cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff;
  border: 4px solid var(--bg-2); box-shadow: 0 0 0 2px #fff, 0 6px 16px rgba(0,0,0,.5);
}
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--bg-2); }
.dial-scale { display: flex; justify-content: space-between; margin-top: .7rem; font-size: .78rem; color: var(--muted); }
.status { display: flex; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.status .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); transition: background .3s, box-shadow .3s; }
.status strong { display: block; }
.status span { color: var(--muted); font-size: .9rem; }

.lid-wrap { position: relative; display: grid; place-items: center; padding: 2rem 0; }
.lid-glow { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(95,212,255,.28), transparent 62%); filter: blur(10px); transition: background .4s; }
.lid {
  position: relative; width: min(380px, 78vw); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 200deg, #2a2d34, #0b0c0f, #3a3e47, #101114, #2a2d34);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), inset 0 2px 2px rgba(255,255,255,.15);
  display: grid; place-items: center;
}
.lid-glass {
  width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 25%, #2b2320 0%, #0c0a0a 45%, #040404 100%);
  box-shadow: inset 0 0 0 2px #000, inset 0 8px 30px rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center; gap: .3rem;
  --led: var(--cyan);
}
.lid-num {
  font-family: var(--mono); font-size: clamp(4rem, 12vw, 6.4rem); line-height: 1; color: var(--led);
  text-shadow: 0 0 18px var(--led), 0 0 4px var(--led); letter-spacing: .02em; font-variant-numeric: tabular-nums;
  transition: color .3s, text-shadow .3s;
}
.lid-side { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: -.4rem; }
.lid-unit { font-family: var(--mono); font-size: clamp(1.1rem, 3vw, 1.6rem); color: var(--led); text-shadow: 0 0 10px var(--led); }
.lid-drop { width: clamp(14px, 3vw, 20px); fill: var(--led); filter: drop-shadow(0 0 6px var(--led)); }
.lid-caption { position: relative; margin: 1.4rem 0 0; font-size: .8rem; color: var(--muted); }

/* Feature splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
.split.reverse .split-img { order: 2; }
.split-img { border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; display: grid; place-items: center; }
.split-img.light { background: #fff; }
.split-img img { width: 82%; height: 82%; object-fit: contain; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.ticks li::before {
  content: "✓"; width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: var(--green); font-size: .75rem; font-weight: 800;
}
.split-copy .btn { margin-top: 1.4rem; }

/* Compare */
.compare-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.compare-wrap { max-width: 820px; }
.compare { margin-top: 2.2rem; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.c-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; text-align: center; border-top: 1px solid var(--line); }
.c-row:first-child { border-top: 0; }
.c-row > span { padding: 1rem .8rem; }
.c-row > span:first-child { text-align: left; font-weight: 600; padding-left: 1.4rem; }
.c-row > span:nth-child(2) { background: rgba(255,255,255,.05); }
.c-head { font-weight: 800; font-size: .92rem; }
.c-head .c-us { background: var(--blue) !important; color: var(--on-accent); letter-spacing: .14em; }
.yes { color: var(--green); font-weight: 800; font-size: 1.15rem; }
.no { color: var(--muted); font-size: .88rem; }

/* Specs + FAQ */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.specs { margin: 1.4rem 0 0; }
.specs div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.specs div:first-child { border-top: 1px solid var(--line); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--muted); }
.faq { margin-top: 1.4rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue-2); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

/* Final CTA */
.final { padding: clamp(64px, 9vw, 110px) 0; background: radial-gradient(700px 300px at 50% 100%, rgba(255,255,255,.08), transparent 70%); }
.final-inner { text-align: center; }
.final .h2 { margin-bottom: 1.8rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.footer .muted { margin: .6rem 0 0; }
.newsletter label { display: block; font-weight: 700; margin-bottom: .7rem; }
.newsletter-row { display: flex; gap: .6rem; }
.newsletter input {
  flex: 1; min-width: 0; padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit;
}
.newsletter input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer-bottom a { text-decoration: none; }

/* Cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 40; }
.scrim[hidden] { display: none; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 50;
  background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.2rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.empty { color: var(--muted); text-align: center; margin-top: 3rem; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line-img { width: 56px; height: 56px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; font-size: 1.5rem; }
.line-img img { width: 100%; height: 100%; object-fit: contain; }
.line strong { display: block; font-size: .92rem; }
.line small { color: var(--muted); font-size: .78rem; }
.line-right { text-align: right; }
.line-right button { background: none; border: 0; color: var(--muted); font-size: .75rem; cursor: pointer; text-decoration: underline; padding: 0; margin-top: .2rem; }
.drawer-foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1.05rem; }
.drawer-foot .small { text-align: center; margin: .8rem 0 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 60;
  background: var(--surface-2); border: 1px solid var(--line-2); color: #fff; padding: .85rem 1.3rem;
  border-radius: 12px; font-weight: 700; font-size: .9rem; box-shadow: 0 12px 30px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  width: max-content; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .product-grid, .how-grid, .split, .info-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .split.reverse .split-img { order: 0; }
  .lid-wrap { order: -1; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .announce-track span { display: none; }
  .announce-track span.on { display: inline; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumb { width: 64px; flex: none; }
  .trust { grid-template-columns: repeat(2, 1fr); order: 3; }
  .bundles { gap: 8px; }
  .bundle { padding: 1rem .6rem .8rem; }
  .b-price small { display: none; }
  .colors { gap: 6px; }
  .specs div { grid-template-columns: 1fr; gap: .15rem; }
  .c-row > span { padding: .85rem .5rem; font-size: .85rem; }
  .c-row > span:first-child { padding-left: .9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================== Opening animation ===================== */
.intro { position: relative; height: 520vh; background: var(--bg); }
.intro-sticky {
  position: sticky; top: 66px; height: calc(100vh - 66px); height: calc(100svh - 66px); overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(255,255,255,.06), transparent 70%),
    radial-gradient(40% 40% at 50% 60%, rgba(255,255,255,.03), transparent 70%),
    var(--bg);
}
#introCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease .2s; }
.intro-ready #introCanvas { opacity: 1; }

.intro-copy { position: absolute; inset: 0; pointer-events: none; }
.ic {
  position: absolute; left: max(16px, 6vw); top: 50%; translate: 0 -50%;
  max-width: min(30rem, 40vw); opacity: 0; will-change: opacity, transform;
}
.ic .kicker { margin-bottom: .4rem; }
.ic-title { margin: 0 0 1rem; font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.ic-1 .ic-title { letter-spacing: .18em; }
.ic-text { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 26rem; }
.ic-4 .btn { margin-top: .4rem; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; display: flex; flex-direction: column;
  align-items: center; gap: .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); opacity: 0; transition: opacity .5s;
}
.scroll-hint span { width: 22px; height: 36px; border: 2px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-hint span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

.loader {
  position: absolute; inset: 0; display: grid; place-items: center; background: var(--bg);
  font-weight: 800; letter-spacing: .5em; font-size: 1.2rem; color: var(--text);
  transition: opacity .9s ease, visibility .9s; animation: breathe 1.4s ease-in-out infinite;
}
.intro-ready .loader { opacity: 0; visibility: hidden; }
@keyframes breathe { 50% { opacity: .45; } }

.no3d .intro { display: none; }

/* ===================== 3D product viewer ===================== */
.stage #viewerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.stage #viewerCanvas:active { cursor: grabbing; }
.stage img { position: absolute; inset: 0; background: #fff; }
.stage-hint {
  position: absolute; bottom: 14px; left: 50%; translate: -50% 0; font-size: .74rem; font-weight: 700;
  color: #111; background: rgba(255,255,255,.9); padding: .35rem .7rem; border-radius: 999px; pointer-events: none;
  opacity: 0; transition: opacity .4s;
}
.viewer-ready .stage-hint { opacity: 1; }
.stage img:not([hidden]) ~ .stage-hint { opacity: 0; }
.no3d #viewerCanvas { display: none; }

@media (max-width: 720px) {
  .ic { top: auto; bottom: 104px; translate: none; left: 16px; right: 16px; max-width: none; text-align: center; }
  .ic-text { margin-inline: auto; font-size: 1rem; }
  .intro-copy::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,.92), transparent); z-index: -1;
  }
}
.split-img #splitColors { width: 100%; height: 100%; object-fit: cover; }

/* ===================== Real-world backgrounds ===================== */
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.no3d .split-img img { width: 82%; height: 82%; object-fit: contain; }
.split-img img[src^="data:image/gif"], .thumb img[src^="data:image/gif"] { opacity: 0; }
.split-img img, .thumb img { transition: opacity .5s; }
.thumb { padding: 0; background: var(--surface); }
.thumb img { object-fit: cover; }
.stage { background: var(--surface); }
.intro-copy { z-index: 1; }
.intro-copy::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 38%, transparent 60%);
}
@media (max-width: 720px) {
  .intro-copy::before { background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 35%, transparent 55%); }
}

/* ===================== Live pouring scene ===================== */
.split-img.pour { position: relative; background: var(--surface); }
.split-img.pour canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pour-fallback { display: none; }
.no3d .pour canvas, .no3d .live-tag { display: none; }
.no3d .pour-fallback { display: block; background: #fff; }
.live-tag {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: .72rem; font-weight: 700; padding: .35rem .65rem; border-radius: 999px;
}
.live-tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff5b3a; box-shadow: 0 0 8px #ff5b3a; animation: breathe 1.4s ease-in-out infinite; }

/* ===================== Two pages: story + shop ===================== */
.nav a[aria-current="page"] { color: var(--text); }
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy em { font-style: normal; color: var(--text); font-weight: 700; }
.about-copy .btn { margin-top: 1.4rem; }
.about-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-stats li {
  padding: 1.5rem 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .2rem;
}
.about-stats strong { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(90deg, #ffffff, #9a9a9a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-stats span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.product-page { min-height: calc(100vh - 100px); }
.shop-details { border-top: 1px solid var(--line); }
.shop-story { align-self: center; }
.shop-story .btn { margin-top: 1rem; }
.empty .btn { margin-top: .4rem; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; } }

/* ===================== Policies page ===================== */
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

.policy-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.policy-hero .h2 { margin-bottom: .6rem; }
.policy-hero .muted { max-width: 38rem; margin: 0; font-size: 1.05rem; }
.policy-updated { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); }

.policy-body { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.policy-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: .15rem; }
.toc-title { margin: 0 0 .6rem; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.toc a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; padding: .45rem .8rem; border-radius: 10px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: var(--surface); }

.policy-content { max-width: 46rem; }
.policy { scroll-margin-top: 96px; padding-bottom: clamp(36px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.policy:last-child { border-bottom: 0; margin-bottom: 0; }
.policy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 1rem; }
.policy h3 { font-size: 1.02rem; font-weight: 800; margin: 1.6rem 0 .6rem; }
.policy p, .policy li { color: #cfcfcf; line-height: 1.7; }
.policy p { margin: 0 0 1rem; }
.policy strong { color: var(--text); }
.policy ul, .policy ol { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: .45rem; }
.policy li::marker { color: var(--muted); }
.policy a { color: var(--text); text-underline-offset: 3px; }
.policy .contact-list { margin: 1.2rem 0 1.6rem; }
.policy a.btn { color: var(--on-accent); text-decoration: none; }
.faq details p a { color: var(--text); text-underline-offset: 3px; }

/* placeholders the owner still needs to fill in */
.fill {
  color: #fff; background: rgba(255, 196, 0, .12); border: 1px dashed rgba(255, 196, 0, .7);
  border-radius: 5px; padding: 0 .3em; white-space: nowrap;
}

@media (max-width: 860px) {
  .policy-grid { grid-template-columns: 1fr; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: .4rem; }
  .toc-title { width: 100%; margin-bottom: .2rem; }
  .toc a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; font-size: .85rem; }
  .fill { white-space: normal; }
}

/* ===================== Announcement: quiet, not a banner ===================== */
.announce { background: #0a0a0a; color: var(--muted); font-weight: 500; font-size: .74rem; letter-spacing: .02em; border-bottom: 1px solid var(--line); }
.announce-track { padding: .45rem 16px; gap: 1.6rem; }
.announce-track span:nth-child(even) { opacity: .35; }

/* ===================== Buy page (shop.html) ===================== */
.buy { padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 112px); }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }

/* left: big sticky 3D stage */
.buy .buy-media { position: sticky; top: 92px; }
.buy .stage {
  position: relative; aspect-ratio: 1 / 1.08; border-radius: 28px; overflow: hidden;
  background: #151515; box-shadow: none; display: block;
}
.buy .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #151515; padding: 6%; }
.buy .view-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 18px; }
.buy .view-switch { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.buy .thumb {
  width: auto; aspect-ratio: auto; padding: .5rem 1rem; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: 600 .85rem var(--sans); opacity: 1; box-shadow: none; cursor: pointer; transition: background .2s, color .2s;
}
.buy .thumb:hover { color: var(--text); }
.buy .thumb.is-active { background: #fff; color: #000; box-shadow: none; }
.drag-hint { font-size: .8rem; color: var(--muted); white-space: nowrap; }

/* right: configurator */
.eyebrow-new { margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: #e0a96d; }
.buy-title { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-bottom: .9rem; }
.buy-lede { font-size: 1.2rem; line-height: 1.45; color: #d6d6d6; margin: 0 0 1rem; max-width: 30rem; }
.buy-from { margin: 0; color: var(--muted); font-size: 1rem; }
.buy-from span { color: var(--text); font-weight: 600; }

.key-specs { list-style: none; padding: 1.6rem 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-block: 1px solid var(--line); }
.key-specs li { display: flex; flex-direction: column; gap: .2rem; }
.key-specs strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.key-specs span { font-size: .8rem; color: var(--muted); }

.cfg { padding: 2.2rem 0 0; }
.cfg-title { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); margin: 0 0 1.1rem; line-height: 1.3; }
.cfg-title span { color: var(--text); font-weight: 700; }

.buy .bundles { display: grid; grid-template-columns: 1fr; gap: 10px; }
.buy .bundle {
  position: relative; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; border-radius: 16px; background: transparent; border: 1px solid var(--line-2); box-shadow: none; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.buy .bundle:hover { border-color: #5a5a5a; }
.buy .bundle:has(input:checked) { border-color: #fff; background: #0f0f0f; box-shadow: inset 0 0 0 1px #fff; }
.buy .bundle:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.buy .b-name { font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; gap: .6rem; }
.b-tag { font-style: normal; font-size: .72rem; font-weight: 600; color: #e0a96d; }
.buy .b-price { margin: 0; font-weight: 600; font-size: 1rem; text-align: right; }
.buy .b-price s { display: none; }
.buy .b-price small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; margin-top: .1rem; }

.buy .colors { display: flex; gap: 14px; flex-wrap: wrap; }
.buy .color {
  width: 44px; height: 44px; padding: 0; border-radius: 50%; background: transparent; border: 0;
  display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s;
}
.buy .color i {
  width: 34px; height: 34px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 -6px 10px rgba(0,0,0,.28), inset 0 4px 6px rgba(255,255,255,.18), 0 0 0 1px rgba(255,255,255,.12);
}
.buy .color:hover { box-shadow: inset 0 0 0 1.5px #555; }
.buy .color.is-active { box-shadow: inset 0 0 0 2px #fff; background: transparent; }
.color-name { margin: .9rem 0 0; font-size: .92rem; color: var(--muted); }

.buy .addons { display: grid; gap: 10px; }
.buy .addon {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: 16px; background: transparent; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s;
}
.buy .addon input { position: absolute; opacity: 0; pointer-events: none; }
.buy .addon:hover { border-color: #5a5a5a; }
.buy .addon:has(input:checked) { border-color: #fff; background: #0f0f0f; box-shadow: inset 0 0 0 1px #fff; }
.buy .addon:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.buy .a-text strong { font-size: .98rem; font-weight: 600; }
.buy .a-text small { font-size: .8rem; margin-top: .15rem; }
.buy .a-price { font-weight: 600; font-size: .95rem; color: #d6d6d6; }
.a-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #5a5a5a; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.addon:has(input:checked) .a-check { background: #fff; border-color: #fff; }
.addon:has(input:checked) .a-check::after { content: ""; width: 9px; height: 5px; border: 2px solid #000; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

.summary {
  margin-top: 2.4rem; padding: 1.4rem 1.4rem 1.4rem 1.6rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: .2rem 1rem; align-items: center;
}
.sum-text { min-width: 0; }
.sum-label { margin: 0; font-weight: 700; }
.sum-detail { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; }
.sum-price { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; text-align: right; }
.summary .cta { grid-column: 1 / -1; margin-top: 1rem; }
.buy .cta, .bagbar .cta, .drawer .cta {
  text-transform: none; letter-spacing: 0; font-size: 1.02rem; font-weight: 600; border-radius: 999px; padding: 1.05rem;
  box-shadow: none; filter: none;
}
.buy .cta:hover, .bagbar .cta:hover, .drawer .cta:hover { transform: none; background: #e6e6e6; }

/* highlights + tech specs */
.highlights { border-top: 1px solid var(--line); }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 2.4rem; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.hl { background: #000; padding: 2rem 1.6rem; }
.hl strong { display: block; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: .7rem; }
.hl p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.tech { border-top: 1px solid var(--line); }
.tech-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.tech .specs { margin: 0; }
.tech .specs div { grid-template-columns: 11rem 1fr; padding: 1.15rem 0; }
.tech .specs dt { font-weight: 600; }
.text-link { display: inline-block; margin-top: 1rem; color: var(--text); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* sticky bag bar */
.bagbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: rgba(12,12,12,.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform .35s ease;
}
.bagbar.show { transform: none; }
.bagbar-inner { display: flex; align-items: center; gap: 1.2rem; padding: .75rem 0; }
.bagbar-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.bagbar-text span { color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bagbar-price { font-weight: 700; font-size: 1.05rem; }
.bagbar .cta-small { width: auto; padding: .7rem 1.4rem; font-size: .92rem; }

@media (max-width: 980px) {
  .buy-grid { grid-template-columns: 1fr; }
  .buy .buy-media { position: static; }
  .buy .stage { aspect-ratio: 1 / 1; }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .buy .view-bar { flex-direction: column; align-items: stretch; }
  .buy .view-switch { justify-content: space-between; }
  .buy .thumb { padding: .5rem .7rem; font-size: .8rem; }
  .drag-hint { text-align: center; }
  .key-specs { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
  .key-specs strong { font-size: .92rem; }
  .hl-grid { grid-template-columns: 1fr; }
  .tech .specs div { grid-template-columns: 1fr; gap: .2rem; }
  .bagbar-price { display: none; }
}

/* ===================== Header account icon ===================== */
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.acct-btn {
  width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; text-decoration: none;
}
.acct-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acct-btn:hover, .acct-btn[aria-current="page"] { border-color: var(--line-2); background: var(--surface-2); }

/* ===================== Account / sign in page ===================== */
.auth { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.auth-card { max-width: 440px; width: 100%; justify-self: center; align-self: center; padding: 8px 0; }
.auth-title { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: .7rem; }
.auth-sub { color: var(--muted); margin: 0 0 1.8rem; font-size: 1.02rem; line-height: 1.55; }
.auth-sub strong { color: var(--text); }

.field { display: block; margin-bottom: 1.1rem; }
.field > span:first-child { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: #d6d6d6; }
.field input {
  width: 100%; padding: .95rem 1.05rem; border-radius: 12px; border: 1px solid var(--line-2);
  background: #0d0d0d; color: var(--text); font: 500 1rem var(--sans); transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.field-hint { display: block; margin-top: .4rem; font-size: .78rem; color: var(--muted); }
.pass-wrap { position: relative; display: block; }
.pass-wrap input { padding-right: 4.6rem; }
.show-pass {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
  color: var(--muted); font: 600 .8rem var(--sans); padding: .45rem .6rem; border-radius: 8px; cursor: pointer;
}
.show-pass:hover { color: var(--text); background: var(--surface); }

.check { display: flex; gap: .7rem; align-items: flex-start; margin: .2rem 0 .9rem; font-size: .9rem; color: #cfcfcf; line-height: 1.45; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #fff; flex: none; }
.check a, .auth-row a, .auth-switch a { color: var(--text); text-underline-offset: 3px; }
.auth-row { margin: -.3rem 0 1.4rem; text-align: right; font-size: .88rem; }
.auth-card .cta { margin-top: .6rem; }
.auth-card .cta:disabled { opacity: .6; cursor: wait; }
.auth-switch { margin: 1.6rem 0 0; color: var(--muted); font-size: .92rem; }

.auth-notice { margin: 0 0 1.4rem; padding: .85rem 1rem; border-radius: 12px; font-size: .9rem; line-height: 1.45; border: 1px solid var(--line-2); background: var(--surface); color: #d6d6d6; }
.auth-notice[data-type="error"] { border-color: rgba(255, 99, 99, .55); background: rgba(255, 99, 99, .08); color: #ffd2d2; }
.auth-notice[data-type="success"] { border-color: rgba(61, 220, 151, .5); background: rgba(61, 220, 151, .08); color: #c9f5e2; }
.auth-notice[data-type="info"] { border-color: rgba(224, 169, 109, .55); background: rgba(224, 169, 109, .08); color: #f3dcc2; }

.auth-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 1.4rem; }
.auth-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.acc-details { margin: 1.4rem 0 1.8rem; }
.acc-details div { grid-template-columns: 8.5rem 1fr; }
.acc-actions { display: grid; gap: 10px; }
.acc-actions .cta { text-decoration: none; margin: 0; }
.btn-outline {
  width: 100%; padding: 1.05rem; border-radius: 999px; background: transparent; border: 1px solid var(--line-2);
  color: var(--text); font: 600 1.02rem var(--sans); cursor: pointer; transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: #fff; background: var(--surface); }

.auth-side { position: relative; border-radius: 28px; overflow: hidden; min-height: 560px; background: #0b0b0b; border: 1px solid var(--line); }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.auth-side-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); }
.auth-side-title { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; max-width: 22rem; }
.auth .cta { text-transform: none; letter-spacing: 0; font-size: 1.02rem; font-weight: 600; border-radius: 999px; padding: 1.05rem; box-shadow: none; filter: none; }
.auth .cta:hover { transform: none; background: #e6e6e6; }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-card { justify-self: stretch; max-width: 480px; margin: 0 auto; }
}

/* ===================== Order history ===================== */
.acc-link { display: block; text-align: center; text-decoration: none; }
.orders-page { padding: clamp(36px, 5vw, 72px) 0 clamp(64px, 8vw, 112px); }
.orders-wrap { max-width: 760px; }
.back-link { display: inline-block; margin-bottom: 1.4rem; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.back-link:hover { color: var(--text); }
.orders-title { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: .6rem; }
.orders-loading { color: var(--muted); padding: 2rem 0; }
.orders-empty { padding: 2.4rem 2rem; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); text-align: center; }
.orders-empty h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: .5rem; }
.orders-empty p { margin: 0 0 1.4rem; }
.orders-empty .cta, .orders-page .cta { display: inline-flex; width: auto; padding: .95rem 2rem; text-decoration: none; text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 600; border-radius: 999px; box-shadow: none; }
.orders-page .cta:hover { transform: none; background: #e6e6e6; filter: none; }

.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.order { border: 1px solid var(--line); border-radius: 22px; background: #0b0b0b; overflow: hidden; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.order-no { margin: 0; font-weight: 700; font-size: 1.02rem; }
.order-date { margin: .15rem 0 0; color: var(--muted); font-size: .85rem; }
.order-status { font-size: .78rem; font-weight: 700; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--line-2); color: #d6d6d6; white-space: nowrap; }
.order-status[data-tone="wait"] { border-color: rgba(224,169,109,.55); color: #f3dcc2; background: rgba(224,169,109,.08); }
.order-status[data-tone="ok"]   { border-color: rgba(95,212,255,.5);  color: #cdeffd; background: rgba(95,212,255,.07); }
.order-status[data-tone="done"] { border-color: rgba(61,220,151,.5);  color: #c9f5e2; background: rgba(61,220,151,.07); }
.order-status[data-tone="off"]  { color: var(--muted); }
.order-items { list-style: none; margin: 0; padding: .4rem 1.4rem; }
.oi { display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid #1a1a1a; }
.oi:last-child { border-bottom: 0; }
.oi-img { width: 48px; height: 48px; border-radius: 10px; background: #f2f2f2; display: grid; place-items: center; overflow: hidden; }
.oi-text strong { display: block; font-size: .95rem; font-weight: 600; }
.oi-text small { color: var(--muted); font-size: .8rem; }
.oi-price { font-weight: 600; font-size: .95rem; }
.order-foot { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); background: var(--surface); }
.order-foot span { color: var(--muted); }
.order-foot strong { font-size: 1.15rem; }
@media (max-width: 560px) {
  .order-head { flex-wrap: wrap; }
  .order-items, .order-head, .order-foot { padding-left: 1.1rem; padding-right: 1.1rem; }
}
.order-ship { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; padding: .9rem 1.4rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.order-ship strong { color: #d6d6d6; font-weight: 600; }
.order-ship a { color: var(--text); text-underline-offset: 3px; }
.order-pay { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.4rem; border-top: 1px solid var(--line); }
.order-pay span { color: #f3dcc2; font-size: .9rem; }
.orders-page .order-pay .cta { padding: .7rem 1.3rem; font-size: .92rem; }

/* ================= Bag page (bag.html) ================= */
a.cart-btn { text-decoration: none; color: inherit; }
.cart-btn[aria-current="page"] { border-color: var(--line-2); background: var(--surface-2); }
.bag-page { padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.bag-wrap { max-width: 1120px; }
.bag-head { margin-bottom: clamp(24px, 3vw, 36px); }
.bag-title { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 .5rem; }
.bag-sub { margin: 0; color: var(--muted); font-size: .98rem; }
.bag-h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 1rem; }

.bag-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.bag-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bag-line { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: clamp(14px, 2.4vw, 28px); padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-thumb { width: 132px; height: 132px; border-radius: 20px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #2a2a2a 0%, #141414 60%, #0c0c0c 100%); border: 1px solid var(--line); }
.bag-thumb.is-icon svg, .added-thumb.is-icon svg, .extra-icon svg { width: 44%; height: 44%; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bag-name { margin: 2px 0 .3rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.bag-detail { margin: 0; color: var(--muted); font-size: .92rem; }
.bag-save { display: inline-block; margin: .6rem 0 0; font-size: .78rem; font-weight: 700; padding: .28rem .6rem; border-radius: 999px; background: rgba(61, 220, 151, .1); color: #9ff0cb; border: 1px solid rgba(61, 220, 151, .35); }
.bag-controls { display: flex; align-items: center; gap: 18px; margin-top: 1.1rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 40px; }
.stepper button { width: 40px; height: 38px; background: none; border: 0; color: var(--text); font-size: 1.15rem; cursor: pointer; border-radius: 999px; }
.stepper button:hover:not(:disabled) { background: var(--surface-2); }
.stepper button:disabled { color: #4a4a4a; cursor: default; }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; font-size: .95rem; }
.bag-remove { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bag-remove:hover { color: var(--text); }
.bag-price { text-align: right; white-space: nowrap; padding-top: 2px; }
.bag-price s { display: block; color: #6b6b6b; font-size: .88rem; margin-bottom: .15rem; }
.bag-price strong { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }

.bag-extras { margin-top: clamp(32px, 4vw, 48px); }
.extra-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.extra { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.extra-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; }
.extra-text strong { display: block; font-size: .98rem; }
.extra-text small { color: var(--muted); font-size: .84rem; }
.extra-price { font-weight: 600; color: #d6d6d6; }
.extra-add { background: none; color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: .55rem 1.1rem; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; }
.extra-add:hover { border-color: #fff; background: var(--surface); }

.bag-summary { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 24px; background: #0b0b0b; padding: 26px; }
.sum-rows { margin: 0; display: grid; gap: .75rem; }
.sum-rows > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.sum-rows dt { color: #cfcfcf; } .sum-rows dd { margin: 0; font-weight: 600; }
.sum-rows .is-save dd { color: #9ff0cb; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.2rem 0 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sum-total span { font-weight: 700; font-size: 1.05rem; }
.sum-total strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.bag-summary .cta, .bag-empty .cta, .added .cta { text-transform: none; letter-spacing: 0; font-size: 1.02rem; font-weight: 600; border-radius: 999px; padding: 1.05rem; box-shadow: none; filter: none; text-decoration: none; }
.bag-summary .cta:hover, .bag-empty .cta:hover, .added .cta:hover { transform: none; background: #e6e6e6; }
.bag-summary .cta:disabled { opacity: .7; cursor: progress; }
.bag-signin { margin: .8rem 0 0; font-size: .84rem; color: var(--muted); text-align: center; line-height: 1.45; }
.bag-perks { list-style: none; margin: 1.3rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .7rem; }
.bag-perks li { display: flex; align-items: center; gap: .65rem; font-size: .86rem; color: #cfcfcf; }
.bag-perks svg { flex: none; width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.bag-empty { max-width: 560px; padding: 2.6rem 2rem; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); text-align: center; }
.bag-empty h2 { font-size: 1.45rem; font-weight: 700; margin: 0 0 .5rem; }
.bag-empty p { margin: 0 0 1.4rem; }
.bag-empty .cta { display: inline-flex; width: auto; padding: .95rem 2.2rem; }

@media (max-width: 900px) {
  .bag-grid { grid-template-columns: 1fr; }
  .bag-summary { position: static; }
}
@media (max-width: 560px) {
  .bag-line { grid-template-columns: 88px minmax(0, 1fr); }
  .bag-thumb { width: 88px; height: 88px; border-radius: 16px; }
  .bag-price { grid-column: 2; text-align: left; display: flex; gap: .6rem; align-items: baseline; }
  .bag-price s { margin: 0; }
  .extra { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .extra-icon { width: 44px; height: 44px; }
  .extra-price { display: none; }
}

/* ---------- "Added to your bag" popup ---------- */
.added {
  position: fixed; z-index: 60; top: 84px; right: max(16px, calc((100vw - 1200px) / 2));
  width: min(380px, calc(100vw - 32px)); padding: 20px; border-radius: 22px;
  background: #0e0e0e; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .22s, transform .22s;
}
.added.show { opacity: 1; transform: none; pointer-events: auto; }
.added-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.added-head p { margin: 0; display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.added-head svg { width: 20px; height: 20px; fill: none; stroke: #9ff0cb; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.added-x { width: 32px; height: 32px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--text); font-size: 1.2rem; cursor: pointer; line-height: 1; }
.added-lines { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.added-lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.added-thumb { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #2a2a2a, #111); }
.added-text strong { display: block; font-size: .95rem; }
.added-text small { color: var(--muted); font-size: .8rem; }
.added-price { font-weight: 600; font-size: .95rem; }
.added .btn-outline { margin-top: 10px; padding: .9rem; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 560px) {
  .added { top: auto; bottom: 12px; right: 12px; left: 12px; width: auto; }
}
/* light studio tiles so every bottle colour (even black) stands out */
.bag-thumb, .added-thumb { background: radial-gradient(120% 95% at 50% 12%, #ffffff 0%, #ececec 55%, #d6d6d6 100%); border-color: transparent; }
.bag-thumb.is-icon svg, .added-thumb.is-icon svg { stroke: #111; }

/* ================= Account: overview + settings ================= */
.auth-view[data-view="account"] .auth-sub { margin-bottom: 1.4rem; }
.latest { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; margin: 0 0 12px;
  border: 1px solid var(--line); border-radius: 16px; background: #0b0b0b; text-decoration: none; color: var(--text); transition: border-color .2s, background .2s; }
.latest:hover { border-color: var(--line-2); background: var(--surface); }
.latest-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; }
.latest-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.latest-text { min-width: 0; display: grid; gap: 2px; }
.latest-text small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.latest-text strong { font-size: .98rem; }
.latest-text span { font-size: .85rem; color: var(--muted); }
.latest-go { color: var(--muted); font-size: 1.2rem; }
.latest[data-status="placed"] strong { color: #f3dcc2; }

.acc-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 2.2rem; }
.acc-quick .btn-outline { display: block; text-align: center; text-decoration: none; color: var(--text); font-weight: 600; padding: .9rem; }

.set-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 .4rem; }
.settings { list-style: none; margin: 0 0 1.8rem; padding: 0; border-top: 1px solid var(--line); }
.set-row { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.set-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.set-text { min-width: 0; display: grid; gap: 3px; }
.set-label { font-weight: 700; font-size: .95rem; }
.set-value { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.set-edit { flex: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 999px; padding: .45rem 1rem; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.set-edit:hover, .set-edit[aria-expanded="true"] { border-color: #fff; background: var(--surface); }
.set-form { margin-top: 1rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: #0b0b0b; }
.set-form .field:last-of-type { margin-bottom: .9rem; }
.set-buttons { display: flex; align-items: center; gap: 14px; }
.set-buttons .cta { width: auto; margin: 0; padding: .8rem 1.5rem; font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 600; border-radius: 999px; box-shadow: none; filter: none; }
.set-buttons .cta:hover { transform: none; background: #e6e6e6; }
.set-buttons .cta:disabled { opacity: .6; cursor: wait; }
.set-cancel, .set-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.set-cancel:hover, .set-link:hover { color: var(--text); }
.set-help { margin: 0 0 .9rem; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.set-help a { color: var(--text); text-underline-offset: 3px; }
.set-msg { margin: .7rem 0 0; font-size: .86rem; line-height: 1.45; }
.set-msg[data-type="success"] { color: #9ff0cb; }
.set-msg[data-type="error"] { color: #ffb4b4; }

.switch { position: relative; flex: none; width: 50px; height: 30px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); transition: background .2s, border-color .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #8a8a8a; transition: transform .2s, background .2s; }
.switch input:checked + span { background: #fff; border-color: #fff; }
.switch input:checked + span::after { transform: translateX(20px); background: #000; }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.switch input:disabled + span { opacity: .6; }

.acc-foot { display: grid; gap: .9rem; justify-items: center; text-align: center; }
.acc-foot .btn-outline { color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.acc-foot .set-help { margin: .2rem 0 0; }

/* ================= Owner dashboard (admin.html) ================= */
.adm-body { background: #000; }
.adm-wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }
.adm-top { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.adm-top-inner { display: flex; align-items: center; gap: 14px; min-height: 64px; flex-wrap: wrap; padding: 8px 0; }
.adm-top .logo { font-size: 1.15rem; }
.adm-badge { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.adm-mode { font-size: .74rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; border: 1px solid rgba(224,169,109,.55); color: #f3dcc2; background: rgba(224,169,109,.08); }
.adm-mode[data-live="1"] { border-color: rgba(61,220,151,.5); color: #c9f5e2; background: rgba(61,220,151,.08); }
.adm-top-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.adm-range { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: #0b0b0b; }
.adm-range button { background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; cursor: pointer; }
.adm-range button[aria-pressed="true"] { background: #fff; color: #000; }
.adm-site { color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 600; }
.adm-site:hover { color: var(--text); }
.adm-main { padding: 28px 0 80px; }
.adm-gate { max-width: 520px; margin: 12vh auto; text-align: center; padding: 2.4rem 2rem; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.adm-gate-msg { margin: 0 0 1.4rem; line-height: 1.55; color: #d6d6d6; }
.adm-gate-actions:empty { display: none; }
.adm-cta { display: inline-flex; width: auto; padding: .9rem 2rem; text-decoration: none; text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 600; border-radius: 999px; box-shadow: none; color: inherit; }
.adm-gate .cta.adm-cta { color: #000; }
.adm-updated { margin: 0 0 14px; color: var(--muted); font-size: .82rem; }

.adm-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 18px; background: #0b0b0b; padding: 16px 18px; display: grid; gap: 4px; min-width: 0; }
.kpi-label { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: #cfcfcf; font-weight: 600; }
.kpi-value { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; }
.kpi-sub { font-size: .8rem; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: livePulse 2s infinite; flex: none; display: inline-block; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 7px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.adm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { border: 1px solid var(--line); border-radius: 20px; background: #0b0b0b; padding: 18px 20px 20px; min-width: 0; }
.card-wide { grid-column: span 2; }
.card-full { grid-column: 1 / -1; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { font-size: 1rem; font-weight: 700; margin: 0; }
.card-sub { margin-top: 20px; }
.card-note { font-size: .78rem; color: var(--muted); }
.card-empty { color: var(--muted); font-size: .88rem; margin: .4rem 0 0; }

.chart { position: relative; }
.chart svg { display: block; overflow: visible; }
.ch-grid { stroke: #1f1f1f; stroke-width: 1; }
.ch-axis { fill: #8a8a8a; font-size: 11px; font-family: var(--sans); }
.ch-bar { fill: #d9d9d9; transition: fill .15s; }
.ch-bar.on { fill: #fff; }
.ch-hit { fill: transparent; cursor: default; }
.chart-tip { position: fixed; z-index: 80; pointer-events: none; background: #fff; color: #000; border-radius: 10px; padding: .45rem .7rem; font-size: .8rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); display: grid; gap: 1px; }
.chart-tip strong { font-size: .9rem; }
.chart-tip span { color: #555; }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bar-top { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; margin-bottom: 5px; }
.bar-name { color: #e6e6e6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-val { font-weight: 600; white-space: nowrap; }
.bar-val small { color: var(--muted); font-weight: 500; margin-left: .3rem; }
.bar-track { display: block; height: 6px; border-radius: 999px; background: #1a1a1a; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: #d9d9d9; }

.live-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 300px; overflow-y: auto; }
.live-list li { display: grid; grid-template-columns: 8px 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.live-page { font-weight: 600; font-size: .92rem; }
.live-meta { grid-column: 2; font-size: .8rem; color: var(--muted); }

.money { margin: 0 0 16px; display: grid; gap: .65rem; }
.money > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.money dt { color: #cfcfcf; } .money dt small { color: var(--muted); }
.money dd { margin: 0; font-weight: 600; white-space: nowrap; } .money dd small { color: var(--muted); font-weight: 500; }
.money .money-total { padding-top: .75rem; border-top: 1px solid var(--line); font-size: 1rem; }
.money .money-total dd { font-size: 1.15rem; }
.cost-inputs { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.cost-inputs label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .84rem; color: #cfcfcf; }
.cost-inputs .muted { color: var(--muted); }
.cost-field { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; background: #000; color: var(--muted); }
.cost-field input { width: 70px; background: none; border: 0; color: var(--text); font: inherit; font-weight: 600; padding: .5rem 0; outline: none; }
.cost-field:focus-within { border-color: #fff; }
.adm-link { color: var(--text); font-size: .86rem; font-weight: 600; text-underline-offset: 3px; }

.ship-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.ship { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; display: grid; gap: 12px; background: #000; }
.ship-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ship-head span { color: var(--muted); font-size: .86rem; }
.ship-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.ship-items li { display: flex; align-items: center; gap: 8px; }
.ship-items svg { width: 12px; height: 32px; flex: none; }
.ship-addr { margin: 0; font-family: var(--sans); font-size: .86rem; line-height: 1.5; white-space: pre-wrap; background: #0b0b0b; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: #e6e6e6; }
.ship-actions { display: grid; gap: 10px; }
.ship-actions .btn-outline { color: var(--text); font: inherit; font-weight: 600; padding: .7rem; cursor: pointer; }
.ship-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ship-form input { background: #0b0b0b; border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); font: inherit; font-size: .86rem; padding: .65rem .75rem; min-width: 0; }
.ship-form input:focus { outline: none; border-color: #fff; }
.ship-form .cta { grid-column: 1 / -1; margin: 0; padding: .75rem; font-size: .92rem; text-transform: none; letter-spacing: 0; font-weight: 600; border-radius: 999px; box-shadow: none; }

.table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.adm-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .78rem; padding: 0 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.adm-table .num { text-align: right; white-space: nowrap; }
.adm-table td:nth-child(4) { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cfcfcf; }

@media (max-width: 1100px) {
  .adm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-wide { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-live { grid-column: 1 / -1; }
  .adm-grid { grid-template-columns: 1fr; }
  .adm-top-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .ship-list { grid-template-columns: 1fr; }
}
/* dashboard owner sign-in */
.adm-gate { text-align: left; }
.adm-gate .eyebrow-new { margin: 0 0 .4rem; }
.adm-gate-title { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 .5rem; }
.adm-login { margin-top: .4rem; }
.adm-login .cta.adm-cta { width: 100%; justify-content: center; color: #000; margin-top: .4rem; }
.adm-login-err { margin: 0 0 .8rem; color: #ffb4b4; font-size: .88rem; }
.adm-forgot { display: block; text-align: center; margin-top: 1rem; color: var(--muted); font-size: .88rem; text-underline-offset: 3px; }
.adm-forgot:hover { color: var(--text); }
.orders-who { margin: -.6rem 0 1.6rem; color: var(--muted); font-size: .9rem; }
.orders-who strong { color: var(--text); font-weight: 600; }
.who-out { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.who-out:hover { color: var(--text); }
/* private order notes (dashboard) */
.ship-note { display: grid; gap: 6px; }
.note-head { display: flex; align-items: baseline; gap: .5rem; font-size: .82rem; font-weight: 600; color: #e6e6e6; }
.note-head small { color: var(--muted); font-weight: 500; }
.note-status { margin-left: auto; font-style: normal; font-weight: 500; font-size: .76rem; color: #9ff0cb; }
.note-status[data-err="1"] { color: #ffb4b4; }
.note-input { width: 100%; resize: vertical; min-height: 64px; background: #14120d; border: 1px solid rgba(224,169,109,.35); border-radius: 10px; color: #f3dcc2; font: inherit; font-size: .88rem; line-height: 1.5; padding: .6rem .75rem; }
.note-input::placeholder { color: #7d6f5c; }
.note-input:focus { outline: none; border-color: rgba(224,169,109,.85); }
.note-off { margin: 0; font-size: .8rem; color: var(--muted); }
/* refunds (dashboard) */
.refund-link { justify-self: center; background: none; border: 0; padding: .2rem; color: #ffb4b4; font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.refund-link:hover { color: #ffd2d2; }
.adm-table td.act { text-align: right; width: 1%; white-space: nowrap; }
.part-ref { display: block; color: #ffb4b4; font-size: .74rem; }
.refund-dlg { width: min(440px, calc(100vw - 32px)); border: 1px solid var(--line-2); border-radius: 22px; background: #0e0e0e; color: var(--text); padding: 24px; }
.refund-dlg::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(3px); }
.refund-dlg h2 { margin: 0 0 .4rem; font-size: 1.3rem; font-weight: 800; }
.refund-info { margin: 0 0 1.2rem; color: #cfcfcf; font-size: .92rem; }
.refund-amt { width: 100%; padding: 0 12px; }
.refund-amt input { width: 100%; font-size: 1.05rem; padding: .7rem 0; }
.refund-warn { margin: .2rem 0 1rem; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.refund-err { margin: 0 0 1rem; color: #ffb4b4; font-size: .88rem; }
.refund-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.refund-actions .btn-outline { color: var(--text); font: inherit; font-weight: 600; cursor: pointer; padding: .85rem; }
.refund-actions .cta { margin: 0; padding: .85rem; font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 700; border-radius: 999px; box-shadow: none; background: #ff6b6b; color: #1a0000; }
.refund-actions .cta:hover { transform: none; filter: brightness(1.05); }
.refund-actions .cta:disabled { opacity: .6; cursor: wait; }
/* dashboard 2-step verification */
.adm-out { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.mfa-steps { margin: 0 0 .8rem; padding-left: 1.2rem; color: #d6d6d6; font-size: .92rem; line-height: 1.55; display: grid; gap: .3rem; }
.mfa-qr { display: grid; place-items: center; background: #fff; border-radius: 16px; padding: 14px; width: 228px; margin: .4rem auto 1rem; }
.mfa-qr img { display: block; width: 200px; height: 200px; }
.mfa-secret { margin: 0 0 1.2rem; font-size: .82rem; color: var(--muted); text-align: center; line-height: 1.6; }
.mfa-secret code { color: var(--text); font-family: var(--mono); font-size: .95rem; letter-spacing: .08em; overflow-wrap: anywhere; }
.mfa-form .field input { font-family: var(--mono); font-size: 1.4rem; letter-spacing: .4em; text-align: center; }
.mfa-form .cta.adm-cta { width: 100%; justify-content: center; color: #000; }
.mfa-help { margin: 1rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }
/* dashboard as an iPhone home-screen app */
.adm-top { padding-top: env(safe-area-inset-top); }
.adm-body { padding-bottom: env(safe-area-inset-bottom); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
@media (max-width: 680px) {
  .adm-top-inner { gap: 10px; }
  .adm-range button { padding: .45rem .75rem; }
  .kpi { padding: 14px; }
  .card { padding: 16px; }
}
.adm-range button, .adm-site { white-space: nowrap; }
@media (max-width: 680px) {
  .adm-top-right { gap: 12px; }
  .adm-top-right .adm-site:not(.adm-out) { display: none; }
}
