:root {
  --bg: #08110c;
  --bg-raise: #102018;
  --ink: #f3ffe9;
  --muted: #b7d0c0;
  --line: rgba(214, 255, 74, 0.22);
  --neon: #d6ff4a;
  --neon-deep: #9ee04a;
  --card: rgba(10, 28, 18, 0.78);
  --danger: #ffb4a2;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --radius: 18px;
  --header: 74px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(120, 255, 70, 0.16), transparent 55%),
    radial-gradient(700px 420px at -10% 16%, rgba(0, 70, 36, 0.45), transparent 50%),
    var(--bg);
}
body.is-cart, body.is-zoom { overflow: hidden; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--neon); color: #142006; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--neon);
  color: #142006;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header);
  backdrop-filter: blur(16px);
  background: rgba(8, 17, 12, 0.78);
  border-bottom: 1px solid rgba(214, 255, 74, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.mark { width: 28px; height: 28px; flex: none; }
img.mark { width: 36px; height: 36px; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 18px;
  margin-right: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.lang, .bag {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.bag { display: inline-flex; align-items: center; gap: 8px; }
.count {
  min-width: 1.4rem;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--neon);
  color: #142006;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}
.count[hidden] { display: none !important; }

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: end;
  padding: 42px 0 28px;
}
.kicker {
  margin: 0 0 12px;
  color: var(--neon);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }
h1 {
  margin: 0;
  font-size: clamp(3.3rem, 6.4vw, 5.5rem);
  line-height: 0.92;
}
h1 .glowline {
  display: block;
  font-style: italic;
  font-weight: 520;
  color: #edffb0;
  text-shadow: 0 0 28px rgba(190, 255, 80, 0.35);
}
.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.5;
}
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 18px;
}
.hero-price strong {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 560;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-photo {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #050a07;
  box-shadow:
    0 0 0 1px rgba(214, 255, 74, 0.2),
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 70px rgba(140, 255, 70, 0.16);
}
.hero-zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.hero-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(6, 16, 10, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
}
.btn.solid { background: var(--neon); color: #142006; }
.btn.solid:hover { background: #e9ff96; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.ghost:hover { background: rgba(214, 255, 74, 0.08); }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.product, .shipping, .faq { padding: 28px 0 10px; }
.product {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
  scroll-margin-top: 90px;
}
.gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #050a07;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
  box-shadow: 0 0 0 1px rgba(214, 255, 74, 0.16);
}
.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 17, 12, 0.78);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1;
  pointer-events: none;
}
.gallery-main img {
  max-width: 100%;
  max-height: 640px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.thumb {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #050a07;
  cursor: pointer;
  aspect-ratio: 3 / 2;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb.is-on { border-color: var(--neon); }

.buy {
  position: sticky;
  top: 92px;
  padding-left: 22px;
  border-left: 3px solid var(--neon);
}
.buy h2 { margin: 0 0 8px; font-size: 2.6rem; }
.buy .desc { color: var(--muted); line-height: 1.5; }
.qty-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.stepper button {
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.stepper button:hover { background: rgba(214, 255, 74, 0.08); }
.stepper input {
  width: 64px;
  height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: center;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; }
.presets button, .chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.presets button.is-on, .chip.is-on {
  background: var(--neon);
  color: #142006;
  border-color: var(--neon);
}
.lines { margin: 8px 0 12px; }
.line, .total-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(214, 255, 74, 0.12);
}
.line small, .muted { color: var(--muted); }
.line[hidden] { display: none; }
.line.discount strong { color: var(--neon); }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.total-line { font-size: 1.25rem; }
.total-line strong { font-family: var(--serif); font-size: 1.8rem; }
.hint {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(214, 255, 74, 0.08);
  color: #e7ffc4;
  line-height: 1.4;
}
.in-cart { color: var(--muted); min-height: 1.2em; }

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 8px 0 20px;
  list-style: none;
  margin: 0 auto;
}
.specs li {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.specs span { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 4px; }

.shipping { scroll-margin-top: 90px; }
.ship-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.example {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.example div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(214, 255, 74, 0.08);
  box-shadow: inset 0 0 0 1px var(--line);
}
.example strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.8rem;
}
.boxes { display: flex; flex-direction: column; gap: 14px; }
.box-label { margin: 0 0 6px; color: var(--muted); font-size: 0.86rem; }
.slots { display: grid; grid-template-columns: repeat(6, 28px); gap: 8px; }
.slot {
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(214, 255, 74, 0.4);
}
.slot.on {
  background: radial-gradient(circle at 40% 35%, #f4ffd2, #c6ff4a 42%, #3e8f12);
  box-shadow: 0 0 12px rgba(180, 255, 70, 0.85);
}
.packs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.pack {
  position: relative;
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pack.featured {
  background: linear-gradient(180deg, rgba(214, 255, 74, 0.14), rgba(8, 24, 16, 0.4));
  box-shadow: inset 0 0 0 1px rgba(214, 255, 74, 0.55);
}
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--neon);
  color: #142006;
  font-size: 0.75rem;
  font-weight: 600;
}
.pack h3 { margin: 4px 0 10px; font-size: 2rem; }
.pack dl { margin: 0 0 8px; }
.pack dl div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; }
.pack dt { color: var(--muted); }
.pack dd { margin: 0; font-weight: 600; }
.rates {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}
.rates th, .rates td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(214, 255, 74, 0.14);
}
.rates th { color: var(--muted); font-weight: 500; }
.rates .is-example { background: rgba(214, 255, 74, 0.08); }
.rates .is-deal { background: rgba(214, 255, 74, 0.14); }
.table-note { color: var(--muted); text-align: left; caption-side: bottom; padding-top: 8px; }
.rates-wrap { overflow-x: auto; margin-top: 18px; max-width: 100%; }
.rates { margin-top: 0; min-width: 520px; }

.countries { margin-top: 28px; }
.countries h3 { font-size: 1.6rem; margin-bottom: 8px; }
.country-scroll {
  max-height: 320px;
  overflow: auto;
  padding: 8px 14px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.country-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 3;
  column-gap: 24px;
}
.country-list li { break-inside: avoid; }
.country-pick {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 4px 0;
  cursor: pointer;
}
.country-pick:hover, .country-pick.is-on { color: var(--neon); }
.country-empty { color: var(--muted); padding: 8px 0; }
.picked { min-height: 1.2em; color: var(--neon); margin: 0 0 8px; }

.faq { scroll-margin-top: 90px; max-width: 760px; }
details {
  border-top: 1px solid rgba(214, 255, 74, 0.14);
  padding: 12px 0;
}
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); line-height: 1.5; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 0 48px;
  color: var(--muted);
}
.foot strong { color: var(--ink); font-family: var(--serif); font-size: 1.3rem; }
.foot a { color: var(--neon); }

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 17, 12, 0.94);
  border-top: 1px solid var(--line);
}
.mobile-bar strong { display: block; font-family: var(--serif); font-size: 1.4rem; }

.view { display: none; }
.view.is-on { display: block; }

.cart-root {
  position: fixed;
  inset: 0;
  z-index: 40;
}
.cart-root[hidden] { display: none !important; }

.zoom-root {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.zoom-root .backdrop { background: #050a07; }
.zoom-root[hidden] { display: none !important; }
.zoom-frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 56px 8px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.zoom-stage {
  grid-row: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  touch-action: none;
  cursor: zoom-in;
}
.zoom-stage.is-zoomed { cursor: grab; }
.zoom-stage.is-panning { cursor: grabbing; }
.zoom-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  transform-origin: center center;
  user-select: none;
}
.zoom-close, .zoom-nav, .zoom-tools button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 17, 12, 0.86);
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
}
.zoom-close { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: 1.4rem; }
.zoom-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  font-size: 1.8rem;
  line-height: 1;
}
.zoom-nav.prev { left: 10px; }
.zoom-nav.next { right: 10px; }
.zoom-tools {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  pointer-events: auto;
}
.zoom-tools span { min-width: 4.2em; text-align: center; }
.zoom-tools button:disabled { opacity: 0.4; cursor: not-allowed; }
.backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  overflow: auto;
  background: #0e1c14;
  padding: 22px;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer h2 { margin: 0; }
.icon-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
}

.checkout-layout, .thanks {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0 64px;
}
.summary, .panel {
  padding: 18px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.summary { position: sticky; top: 92px; min-width: 0; }
#order-form { min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.span-2 { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.86rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select, .readonly {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0c1a12;
}
select {
  appearance: none;
  padding-right: 36px;
  background-color: #0c1a12;
  background-image: linear-gradient(45deg, transparent 50%, #d6ff4a 50%), linear-gradient(135deg, #d6ff4a 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 1px), calc(100% - 12px) calc(50% - 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
textarea { min-height: 90px; resize: vertical; }
.readonly { color: var(--muted); }
.err { display: block; min-height: 1.1em; color: var(--danger); font-size: 0.82rem; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); outline: 2px solid var(--danger); outline-offset: 2px; }
.fine { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
input.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
#form-alert:empty, #form-alert-bottom:empty { display: none; }
#form-alert, #form-alert-bottom {
  color: var(--danger);
  font-weight: 600;
}
#form-alert { margin: 0 0 12px; }
#form-alert-bottom { margin: 12px 0; }
.thanks-text {
  width: 100%;
  min-height: 220px;
  margin-top: 8px;
}
.mail-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

@media (max-width: 900px) {
  .hero, .product, .ship-grid, .checkout-layout, .thanks, .packs, .specs, .example {
    grid-template-columns: 1fr;
  }
  .country-list { columns: 2; }
  .buy {
    position: static;
    border-left: 0;
    padding-left: 0;
    border-top: 3px solid var(--neon);
    padding-top: 18px;
  }
  .summary { position: static; order: -1; }
  .nav { flex-wrap: wrap; padding: 10px 0; }
  .nav-links { order: 3; width: 100%; padding-bottom: 8px; }
}
@media (max-width: 820px) {
  body.is-shop.has-bar { padding-bottom: 88px; }
  body.is-shop .mobile-bar.is-away { display: flex; }
  .slots { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 640px) {
  .gallery-main img { max-height: 520px; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  h1 { font-size: 3.1rem; }
  .country-list { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
