:root {
  --bg: #f5f5f2;
  --bg-2: #eaeae5;
  --panel: #ffffff;
  --panel-alt: #f0f1eb;
  --ink: #101010;
  --muted: #5b5f5f;
  --line: #d7d9d4;
  --primary: #91d92f;
  --primary-ink: #122000;
  --dark: #0e0e0e;
  --dark-2: #121212;
  --shadow: 0 24px 60px rgba(10, 10, 12, 0.12);
  --radius: 18px;
}

:root[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-2: #131313;
  --panel: #111111;
  --panel-alt: #1a1a1a;
  --ink: #f5f5f5;
  --muted: #b9b9b6;
  --line: #2a2a2a;
  --primary: #9ae83f;
  --primary-ink: #122000;
  --dark: #131313;
  --dark-2: #171717;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  transition: background 0.2s ease, color 0.2s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 245, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}

:root[data-theme="dark"] .topbar {
  background: rgba(10, 10, 10, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-main {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.brand-accent {
  color: var(--primary);
}

.brand-sub {
  margin-top: 5px;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.cart-btn,
.close-cart,
.qty-button {
  border: 2px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover,
.cart-btn:hover,
.close-cart:hover,
.qty-button:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 0.95rem;
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 0.76rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  padding: 0 6px;
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 38px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-copy h1 {
  margin: 18px 0 8px;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.08em;
  line-height: 0.96;
  font-family: "Arial Black", Impact, sans-serif;
  text-transform: uppercase;
}

.highlight {
  color: var(--primary);
}

.divider {
  width: 120px;
  height: 6px;
  background: var(--primary);
  border-radius: 999px;
  margin-top: 12px;
  transform: skewX(-24deg);
}

.lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.9rem 1.4rem;
  border: 2px solid transparent;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
}

.btn-secondary {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
}

.product-visual {
  position: relative;
  width: min(100%, 360px);
  height: 430px;
  border: 2px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(145, 217, 47, 0.16);
}

.product-visual::before {
  width: 260px;
  height: 260px;
  right: -40px;
  top: 24px;
}

.product-visual::after {
  width: 220px;
  height: 220px;
  left: -30px;
  bottom: -30px;
}

.bottle {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 170px;
  height: 260px;
  transform: translateX(-50%) rotate(-8deg);
  border-radius: 26px 26px 34px 34px;
  background: linear-gradient(180deg, #111111 0%, #3c3d45 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.bottle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 120px;
  height: 126px;
  transform: translateX(-50%);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(145, 217, 47, 0.94), rgba(216, 245, 167, 0.9));
}

.bottle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 110px;
  height: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.glass-one {
  left: 20px;
  top: 42px;
  z-index: 2;
}

.glass-two {
  right: 10px;
  bottom: 32px;
  z-index: 1;
  color: inherit;
  text-decoration: none;
}

.mini-label {
  display: inline-block;
  padding: 0.26rem 0.52rem;
  border-radius: 999px;
  background: rgba(145, 217, 47, 0.2);
  color: #294d0a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.glass-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.3rem;
}

.glass-card small {
  color: var(--muted);
}

.info-bar {
  padding: 16px 0 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 0.8rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--panel-alt);
  color: var(--ink);
  font-weight: 700;
}

.info-grid svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-section,
.steps,
.reviews {
  padding: 52px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.centered {
  justify-content: center;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.06em;
}

.search-input {
  min-width: 260px;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.category-tab {
  min-height: 42px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.category-tab.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171817;
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}

.vial-backdrop {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  object-fit: cover;
  filter: blur(12px) brightness(0.55);
  opacity: 0.72;
}

.vial-art {
  position: absolute;
  height: 100%;
  aspect-ratio: 417 / 605;
  z-index: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.vial-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vial-label {
  position: absolute;
  top: 45%;
  left: 22%;
  width: 57%;
  height: 48%;
  padding: 5px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  background: linear-gradient(90deg, #e6e6e0 0%, #fbfbf8 12%, #fff 50%, #f6f6f1 88%, #e4e5df 100%);
  border-radius: 5% / 2%;
  box-shadow: inset 0 0 7px rgba(30, 30, 25, 0.12), 0 1px 2px rgba(0, 0, 0, 0.12);
  color: #111;
  text-align: center;
}

.vial-label-brand {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 1000;
  line-height: 0.95;
  text-transform: uppercase;
}

.vial-label-name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  font-size: 0.53rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vial-label-unit {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.vial-label-caption {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.34rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.product-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.variants li {
  padding: 0.24rem 0.48rem;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body h3 {
  margin: 0;
  font-size: 1.15rem;
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.variant-picker {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.variant-select {
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.price {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.product-button {
  border: none;
  border-radius: 10px;
  background: var(--dark);
  color: #fff;
  padding: 0.7rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.empty-state {
  margin-top: 24px;
  color: var(--muted);
  font-weight: 600;
}

.steps-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.review-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 12px;
}

.step-card h3,
.review-card strong {
  margin: 0 0 0.5rem;
}

.step-card p,
.review-card p {
  margin: 0;
  color: var(--muted);
}

.stars {
  color: #f7be32;
  letter-spacing: 0.2em;
  margin-bottom: 0.6rem;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: var(--panel);
  border-left: 2px solid var(--line);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.14);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  padding: 1.2rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-cart {
  width: 36px;
  height: 36px;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(145, 217, 47, 0.2), rgba(0, 0, 0, 0.04));
  position: relative;
}

.cart-thumb::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 42px;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%) rotate(-8deg);
  border-radius: 10px;
  background: linear-gradient(180deg, #111111 0%, #4d4f54 100%);
}

.cart-item strong {
  display: block;
  font-size: 0.95rem;
}

.cart-item small {
  color: var(--muted);
}

.qty-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: var(--panel-alt);
}

.qty-value {
  min-width: 18px;
  text-align: center;
  font-weight: 800;
}

.cart-footer {
  border-bottom: none;
  border-top: 1px solid var(--line);
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.03rem;
}

.full-width {
  width: 100%;
  display: inline-flex;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.age-gate[hidden] {
  display: none;
}

.age-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(4px);
}

.age-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.age-dialog h2 {
  margin: 0 0 14px;
  font-size: 1.7rem;
  line-height: 1.2;
}

.age-copy p {
  margin: 0 0 10px;
  color: var(--muted);
}

.age-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-weight: 700;
}

.age-confirmation input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.age-enter {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.age-enter:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

body.age-gate-open {
  overflow: hidden;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.footer-brand {
  color: #fff;
}

.site-footer h4 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  margin: 0.25rem 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .product-grid,
  .steps-grid,
  .review-grid,
  .footer-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .steps-grid,
  .review-grid,
  .footer-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-input {
    width: 100%;
    min-width: 0;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
