/* ============================================================
   Selva & Sol — Sistema de diseño
   Botánico cálido · Boutique aspiracional
   ============================================================ */

:root {
  /* Tonos base */
  --cream: #F5EFE6;
  --cream-2: #E8DDCE;
  --cream-3: #DED0BD;
  --paper: #FFF9F0;

  /* Verde salvia */
  --sage-900: #3F4F3C;
  --sage-700: #60745C;
  --sage-500: #7F937B;
  --sage-300: #B8C4B3;
  --sage-100: #E6ECE2;

  /* Terracota */
  --terra-700: #A05C45;
  --terra-500: #C9785D;
  --terra-300: #DDA08A;
  --terra-100: #F2DDD4;

  /* Tinta y neutros */
  --ink: #1E2118;
  --ink-2: #3D4135;
  --ink-3: #66705E;
  --ink-4: #9CA491;
  --line: #D6CBBB;
  --line-2: #E8DDCE;

  /* Acento dorado */
  --gold: #C9A35F;

  /* Tipografía */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Sombras */
  --shadow-sm: 0 1px 2px oklch(0.22 0.018 100 / 0.04), 0 1px 1px oklch(0.22 0.018 100 / 0.03);
  --shadow-md: 0 4px 12px oklch(0.22 0.018 100 / 0.06), 0 2px 4px oklch(0.22 0.018 100 / 0.04);
  --shadow-lg: 0 12px 28px oklch(0.22 0.018 100 / 0.10), 0 4px 8px oklch(0.22 0.018 100 / 0.05);
  --shadow-xl: 0 24px 56px oklch(0.22 0.018 100 / 0.14);

  /* Curvas */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }

/* ============================================================
   App shell — vive dentro del iOS frame (390px)
   ============================================================ */
.app {
  width: 100%;
  height: 100%;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  font-family: var(--sans);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding-top: 50px; /* clear iOS status bar */
}

/* Premium seasonal atmosphere */
.season-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.72;
}
.season-branch {
  position: absolute;
  top: 10px;
  left: 0;
  width: min(560px, 42vw);
  height: 170px;
  color: var(--sage-700);
  opacity: 0.22;
  filter: blur(0.08px);
}
.branch-line,
.branch-stem {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
}
.branch-stem {
  stroke-width: 2.2;
  opacity: 0.72;
}
.branch-leaf {
  fill: currentColor;
  opacity: 0.58;
}
.season-falling-leaf {
  position: absolute;
  top: -60px;
  width: 12px;
  height: 19px;
  border-radius: 90% 0 90% 0;
  background: var(--sage-700);
  opacity: 0.12;
  filter: blur(0.2px);
  will-change: transform;
  animation: season-leaf-fall 18s linear infinite;
}
.season-falling-leaf::after {
  content: "";
  position: absolute;
  left: 47%;
  top: 15%;
  width: 1px;
  height: 72%;
  background: rgb(245 239 230 / 0.45);
  transform: rotate(-22deg);
  transform-origin: center;
}
.season-falling-leaf.leaf-a { left: 18vw; animation-delay: -1s; }
.season-falling-leaf.leaf-b {
  left: 42vw;
  width: 10px;
  height: 16px;
  background: var(--terra-500);
  opacity: 0.105;
  animation-delay: -7s;
}
.season-falling-leaf.leaf-c { left: 67vw; animation-delay: -12s; }
.season-falling-leaf.leaf-d {
  left: 84vw;
  width: 9px;
  height: 15px;
  animation-delay: -16s;
}
.season-winter .season-falling-leaf {
  opacity: 0.035;
  animation-duration: 28s;
}
.season-autumn .season-branch {
  color: #7A684F;
  opacity: 0.28;
}
.season-autumn .branch-leaf { opacity: 0.68; }
.season-autumn .season-falling-leaf {
  background: #C9785D;
  opacity: 0.17;
  animation-duration: 20s;
}
.season-autumn .season-falling-leaf.leaf-a { background: #C9785D; }
.season-autumn .season-falling-leaf.leaf-b {
  background: #A76F4E;
  opacity: 0.14;
}
.season-autumn .season-falling-leaf.leaf-c {
  background: var(--sage-700);
  opacity: 0.135;
}
.season-autumn .season-falling-leaf.leaf-d {
  background: #B85F47;
  opacity: 0.15;
}
.season-spring .season-falling-leaf { opacity: 0.065; }
.season-summer .season-falling-leaf { opacity: 0.045; }
@keyframes season-leaf-fall {
  0% { transform: translate3d(0, -8vh, 0) rotate(0deg); }
  36% { transform: translate3d(-12px, 36vh, 0) rotate(74deg); }
  68% { transform: translate3d(16px, 72vh, 0) rotate(142deg); }
  100% { transform: translate3d(-8px, 112vh, 0) rotate(210deg); }
}

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 12px;
  background: var(--cream);
  position: relative;
  z-index: 5;
}
.topbar.transparent { background: transparent; }
.topbar .brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-style: italic;
}
.topbar .brand-mark .brand-logo-img {
  width: clamp(112px, 10vw, 190px);
  max-width: 42vw;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
}
.topbar .icons { display: flex; gap: 6px; }
.topbar button.icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  color: var(--ink);
  position: relative;
  transition: background 0.2s var(--ease-out);
}
.topbar button.icon-btn:hover { background: var(--cream-2); }
.topbar button.icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--terra-500);
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
  display: grid; place-items: center;
  font-family: var(--sans);
}

/* ============================================================
   Body / scroll area
   ============================================================ */
.body-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
  padding-bottom: 110px; /* room for tab bar */
  scroll-behavior: smooth;
}
.body-scroll::-webkit-scrollbar { width: 0; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  margin: 4px 18px 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 440px;
  background: linear-gradient(160deg, #E8DDCE 0%, #B8C4B3 46%, #60745C 100%);
}
.hero .hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 20%, oklch(0.95 0.05 90 / 0.5), transparent 60%),
    radial-gradient(ellipse at 80% 90%, oklch(0.45 0.04 145 / 0.4), transparent 60%);
  will-change: transform;
}
.hero .hero-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 24px 28px;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero .eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
}
.hero .hero-sub {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.92;
  max-width: 280px;
}
.hero .hero-cta {
  display: flex; gap: 10px;
  margin-top: 4px;
}
.hero .leaves-deco {
  position: absolute;
  pointer-events: none;
}

/* Hero variation B — split editorial */
.hero.variant-editorial {
  background: var(--cream-2);
  height: 460px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero.variant-editorial .hero-content {
  position: static;
  padding: 0;
  color: var(--ink);
}
.hero.variant-editorial h1 { color: var(--sage-900); }
.hero.variant-editorial .hero-img {
  width: 100%;
  height: 220px;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, oklch(0.55 0.08 40) 0%, oklch(0.72 0.07 50) 100%);
  position: relative;
  overflow: hidden;
}
.hero.variant-editorial .hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, oklch(1 0 0 / 0.25), transparent 50%);
}

/* Hero variation C — minimal monogram */
.hero.variant-mono {
  height: 380px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px;
}
.hero.variant-mono .hero-content {
  position: static;
  padding: 0;
  color: var(--ink);
  align-items: center;
  text-align: center;
}
.hero.variant-mono .monogram {
  font-family: var(--serif);
  font-style: italic;
  font-size: 96px;
  line-height: 0.9;
  color: var(--sage-700);
  font-weight: 300;
  margin-bottom: 16px;
}
.hero.variant-mono h1 {
  color: var(--ink);
  font-size: 28px;
  max-width: 280px;
}
.hero.variant-mono .hero-sub { color: var(--ink-2); margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform 0.15s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--sage-900); }
.btn-cream {
  background: var(--cream);
  color: var(--ink);
}
.btn-sage {
  background: var(--sage-700);
  color: var(--cream);
}
.btn-sage:hover { background: var(--sage-900); }
.btn-terra {
  background: var(--terra-500);
  color: var(--cream);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--cream-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 15px; }
.btn-sm { padding: 9px 14px; font-size: 12px; }

/* ============================================================
   Section
   ============================================================ */
.section { padding: 28px 18px 4px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.05;
}
.section-head .sub {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.section-head a { color: var(--ink-2); font-size: 12px; text-decoration: none; padding: 4px 0; }
.section-head a:hover { color: var(--ink); }

/* Categorías */
.cat-rail {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding: 2px 18px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  scroll-snap-align: start;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease-out);
}
.cat-chip.active {
  background: var(--ink);
  color: var(--cream);
}
.cat-chip:not(.active):hover {
  background: var(--cream-3);
  color: var(--ink);
}
.cat-chip .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage-500);
}
.cat-chip.active .dot { background: var(--cream); }

/* Product card */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  position: relative;
}
.product-card .pc-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream-2);
}
.product-card .pc-img-inner {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--t1, #efe4cf), var(--t2, #c9b58a));
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .pc-img-inner { transform: scale(1.06); }
.product-card .pc-img-inner::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, oklch(1 0 0 / 0.35), transparent 55%),
    radial-gradient(ellipse at 75% 80%, oklch(0 0 0 / 0.15), transparent 50%);
}
.product-card .pc-img-inner::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 40%; height: 70%;
  background: linear-gradient(180deg,
    oklch(1 0 0 / 0.18) 0%,
    oklch(1 0 0 / 0.05) 30%,
    oklch(0 0 0 / 0.08) 70%,
    oklch(0 0 0 / 0.18) 100%);
  border-radius: 6px 6px 4px 4px;
  box-shadow: inset 0 0 20px oklch(0 0 0 / 0.1);
}
.product-card .pc-flag {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--cream);
  padding: 5px 8px;
  border-radius: var(--r-sm);
  color: var(--ink);
  z-index: 2;
}
.product-card .pc-flag.new { background: var(--sage-700); color: var(--cream); }
.product-card .pc-flag.out { background: var(--ink); color: var(--cream); }
.product-card .pc-fav {
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  z-index: 2;
  transition: transform 0.2s var(--ease-out);
}
.product-card .pc-fav:hover { transform: scale(1.1); }
.product-card .pc-fav svg { color: var(--ink-3); }
.product-card .pc-fav.active svg { color: var(--terra-500); fill: var(--terra-500); }

.product-card .pc-add {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: grid; place-items: center;
  z-index: 2;
  box-shadow: var(--shadow-md);
  transition: all 0.2s var(--ease-out);
}
.product-card .pc-add:hover { background: var(--ink); color: var(--cream); transform: scale(1.05); }
.product-card .pc-add:disabled { opacity: 0.4; cursor: not-allowed; }

.product-card .pc-meta { padding: 0 2px; }
.product-card .pc-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.product-card .pc-tagline {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 3px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.product-card .pc-price-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 8px;
}
.product-card .pc-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.product-card .pc-compare {
  font-size: 12px;
  color: var(--ink-4);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.product-card .pc-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px;
  color: var(--ink-3);
}

/* Shimmer skeleton */
.shimmer {
  background: linear-gradient(90deg, var(--cream-2) 0%, var(--cream-3) 50%, var(--cream-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   Tab bar
   ============================================================ */
.tabbar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgb(255 249 240 / 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line-2);
  padding: 10px 16px 28px;
  display: flex;
  justify-content: space-around;
  z-index: 10;
}
.tabbar .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 14px;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  transition: color 0.2s var(--ease-out);
  position: relative;
}
.tabbar .tab.active { color: var(--ink); }
.tabbar .tab.active::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--terra-500);
}
.tabbar .tab svg { transition: transform 0.2s var(--ease-out); }
.tabbar .tab.active svg { transform: translateY(-1px); }

/* ============================================================
   Search bar
   ============================================================ */
.search-bar {
  margin: 4px 18px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--cream-2);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 13px;
}
.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 14px;
  color: var(--ink);
}
.search-bar input::placeholder { color: var(--ink-3); }

/* ============================================================
   Page transitions
   ============================================================ */
.page {
  position: absolute;
  inset: 50px 0 0 0; /* clear iOS status bar */
  display: flex;
  flex-direction: column;
  background: var(--cream);
  z-index: 1;
}
.page-enter { animation: page-in 0.36s var(--ease-out) forwards; }
.page-exit { animation: page-out 0.28s var(--ease-out) forwards; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes page-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

/* ============================================================
   Product detail
   ============================================================ */
.pdp-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1.05;
  overflow: hidden;
}
.pdp-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--t1, #efe4cf), var(--t2, #c9b58a));
}
.pdp-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, oklch(1 0 0 / 0.35), transparent 55%),
    radial-gradient(ellipse at 75% 80%, oklch(0 0 0 / 0.15), transparent 50%);
}
.pdp-hero .bottle {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  aspect-ratio: 0.55;
  background: linear-gradient(180deg,
    oklch(1 0 0 / 0.20) 0%,
    oklch(1 0 0 / 0.05) 30%,
    oklch(0 0 0 / 0.08) 70%,
    oklch(0 0 0 / 0.20) 100%);
  border-radius: 8px 8px 6px 6px;
  box-shadow: inset 0 0 30px oklch(0 0 0 / 0.12);
}
.pdp-back {
  position: absolute; top: 14px; left: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  z-index: 5;
  box-shadow: var(--shadow-sm);
}
.pdp-fav {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  z-index: 5;
  box-shadow: var(--shadow-sm);
}
.pdp-thumbs {
  position: absolute;
  right: 14px; bottom: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.pdp-thumbs .thumb {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--cream-2);
  border: 2px solid transparent;
}
.pdp-thumbs .thumb.active { border-color: var(--cream); box-shadow: 0 0 0 1px var(--ink); }

.pdp-body {
  padding: 22px 22px 32px;
  background: var(--cream);
}
.pdp-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-700);
  margin-bottom: 8px;
}
.pdp-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.pdp-tagline {
  color: var(--ink-3);
  font-size: 13px;
  margin-bottom: 14px;
}
.pdp-price-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.pdp-price {
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pdp-compare {
  font-size: 14px;
  color: var(--ink-4);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.pdp-currency {
  margin-left: auto;
  display: flex;
  background: var(--cream-2);
  border-radius: var(--r-pill);
  padding: 3px;
  font-size: 11px;
  font-family: var(--mono);
}
.pdp-currency button {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.pdp-currency button.active {
  background: var(--ink);
  color: var(--cream);
}

.pdp-section { margin-bottom: 22px; }
.pdp-section h3 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
  font-weight: 600;
}
.pdp-desc { font-size: 14px; line-height: 1.6; color: var(--ink-2); }

.notes-list {
  display: flex; flex-direction: column;
  gap: 0;
}
.note-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
}
.note-item:last-child { border-bottom: none; }
.note-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage-500);
}

.qty-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.qty-row .qty {
  display: flex; align-items: center;
  background: var(--cream-2);
  border-radius: var(--r-pill);
  padding: 4px;
}
.qty-row .qty button {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  font-size: 16px;
  transition: background 0.2s var(--ease-out);
}
.qty-row .qty button:hover:not(:disabled) { background: var(--cream); }
.qty-row .qty button:disabled { opacity: 0.3; }
.qty-row .qty .val {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.qty-row .stock {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--sage-700);
  letter-spacing: 0.05em;
}
.qty-row .stock.low { color: var(--terra-700); }

/* sticky bottom bar in PDP */
.pdp-cta-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgb(255 249 240 / 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line-2);
  padding: 14px 18px 30px;
  display: flex;
  gap: 10px;
  z-index: 9;
}
.pdp-cta-bar .price-mini {
  display: flex; flex-direction: column;
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: 0.05em;
}
.pdp-cta-bar .price-mini b {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

/* ============================================================
   Reviews
   ============================================================ */
.review {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.review:last-child { border-bottom: none; }
.review-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.review-author { font-weight: 600; font-size: 13px; }
.review-date { font-size: 11px; color: var(--ink-3); }
.review-stars { color: var(--gold); font-size: 12px; margin-bottom: 6px; }
.review-text { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ============================================================
   Cart bottom sheet
   ============================================================ */
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(30 33 24 / 0.45);
  z-index: 99;
  animation: fadein 0.28s var(--ease-out);
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--cream);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  z-index: 100;
  max-height: 88%;
  display: flex;
  flex-direction: column;
  animation: sheet-up 0.36s var(--ease-out);
  box-shadow: 0 -10px 40px oklch(0 0 0 / 0.18);
}
@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.sheet .handle {
  width: 40px; height: 4px;
  background: var(--ink-4);
  border-radius: var(--r-pill);
  margin: 10px auto 4px;
  opacity: 0.4;
}
.sheet .sheet-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 10px;
}
.sheet .sheet-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.sheet .sheet-head .close-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid; place-items: center;
}
.sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 22px;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
}
.cart-item .img {
  width: 64px; height: 80px;
  border-radius: var(--r-sm);
  background: linear-gradient(160deg, var(--t1, #efe4cf), var(--t2, #c9b58a));
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.cart-item .img::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 40%; height: 70%;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.18) 0%, oklch(0 0 0 / 0.18) 100%);
  border-radius: 4px;
}
.cart-item .meta { flex: 1; min-width: 0; }
.cart-item .nm {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.cart-item .tg {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--mono);
  margin-bottom: 6px;
}
.cart-item .pr {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cart-item .qty-mini {
  display: flex; align-items: center;
  background: var(--cream-2);
  border-radius: var(--r-pill);
  padding: 2px;
}
.cart-item .qty-mini button {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
}
.cart-item .qty-mini .v {
  min-width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sheet-foot {
  padding: 14px 22px 26px;
  border-top: 1px solid var(--line-2);
  background: var(--paper);
}
.sheet-foot .totals {
  display: flex; flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.sheet-foot .row {
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.sheet-foot .row.total {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}
.sheet-foot .coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.sheet-foot .coupon input {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 13px;
  outline: none;
}
.sheet-foot .coupon input:focus { border-color: var(--sage-500); }

/* Empty state */
.empty {
  text-align: center;
  padding: 56px 24px;
  color: var(--ink-3);
}
.empty .icon-wrap {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  color: var(--sage-700);
}
.empty h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 6px;
  color: var(--ink);
}
.empty p { font-size: 13px; margin: 0 0 18px; }

/* ============================================================
   Fly-to-cart microanimation
   ============================================================ */
.fly-dot {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sage-700);
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 4px 16px oklch(0.4 0.04 145 / 0.35);
  display: grid; place-items: center;
  color: var(--cream);
  font-size: 14px;
}

/* Toast */
.toast {
  position: absolute;
  bottom: 100px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 11px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  z-index: 150;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.3s var(--ease-out);
  display: flex; align-items: center; gap: 10px;
}
@keyframes toast-in {
  from { transform: translate(-50%, 16px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* ============================================================
   Filters drawer
   ============================================================ */
.filter-row {
  display: flex; gap: 8px;
  padding: 0 18px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-pill {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  font-size: 12px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 6px;
  border: 1px solid transparent;
  font-family: var(--sans);
  transition: all 0.2s;
}
.filter-pill.active {
  background: var(--sage-100);
  border-color: var(--sage-500);
  color: var(--sage-900);
}

/* ============================================================
   Checkout
   ============================================================ */
.checkout {
  padding: 14px 18px 120px;
}
.steps {
  display: flex; align-items: center; gap: 0;
  padding: 8px 0 22px;
}
.steps .step {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink-4);
  text-transform: uppercase;
}
.steps .step.active { color: var(--ink); }
.steps .step.done { color: var(--sage-700); }
.steps .step .num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid; place-items: center;
  font-size: 11px;
  font-family: var(--sans);
  font-weight: 600;
}
.steps .step.active .num { background: var(--ink); color: var(--cream); }
.steps .step.done .num { background: var(--sage-700); color: var(--cream); }
.steps .sep {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin: 0 8px;
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sage-500); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkout h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin: 6px 0 14px;
  letter-spacing: -0.01em;
}

.option-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.option-card.selected {
  border-color: var(--sage-700);
  background: var(--sage-100);
}
.option-card .radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
  position: relative;
}
.option-card.selected .radio {
  border-color: var(--sage-700);
}
.option-card.selected .radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--sage-700);
}
.option-card .opt-meta { flex: 1; }
.option-card .opt-meta .nm { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.option-card .opt-meta .sb { font-size: 12px; color: var(--ink-3); }
.option-card .opt-price { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

.checkout .sticky-cta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 18px 30px;
  background: oklch(0.985 0.006 90 / 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line-2);
  display: flex;
  gap: 10px;
  z-index: 8;
}

/* Confirmation */
.confirmation {
  padding: 80px 28px 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.confirmation .ok-circle {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-700);
  display: grid; place-items: center;
  margin: 0 auto 22px;
  position: relative;
}
.confirmation .ok-circle::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed var(--sage-500);
  opacity: 0.5;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0; }
}
.confirmation h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.confirmation p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 0 0 6px; }
.confirmation .order-id {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  background: var(--cream-2);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  display: inline-block;
  margin: 14px 0 24px;
}

/* ============================================================
   Admin
   ============================================================ */
.admin-shell {
  width: 100%;
  height: 100%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 50px; /* clear iOS status bar */
}
.admin-top {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-top h1 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}
.admin-top .crumbs {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.admin-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 14px 0;
  border-bottom: 1px solid var(--line-2);
  background: var(--paper);
}
.admin-tabs .tab {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.admin-tabs .tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.admin-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.kpi {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.kpi .lb {
  font-size: 10px;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.kpi .val {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.kpi .delta {
  font-size: 11px;
  margin-top: 2px;
  color: var(--sage-700);
  font-family: var(--mono);
}
.kpi .delta.down { color: var(--terra-700); }

.admin-table {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.admin-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
}
.admin-row:last-child { border-bottom: none; }
.admin-row .thumb-sm {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: linear-gradient(160deg, var(--t1, #efe4cf), var(--t2, #c9b58a));
}
.admin-row .nm { font-family: var(--serif); font-size: 14px; line-height: 1.2; }
.admin-row .sub { font-size: 11px; color: var(--ink-3); font-family: var(--mono); margin-top: 2px; }
.admin-row .stock-pill {
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: var(--sage-100);
  color: var(--sage-900);
  letter-spacing: 0.06em;
}
.admin-row .stock-pill.low { background: var(--terra-100); color: var(--terra-700); }
.admin-row .stock-pill.out { background: var(--ink); color: var(--cream); }

.upload-zone {
  border: 2px dashed var(--sage-300);
  border-radius: var(--r-lg);
  padding: 28px 18px;
  text-align: center;
  background: var(--sage-100);
  margin-bottom: 18px;
  color: var(--sage-900);
}
.upload-zone .icon { font-size: 32px; margin-bottom: 8px; color: var(--sage-700); }
.upload-zone h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 4px;
}
.upload-zone p { font-size: 12px; color: var(--ink-2); margin: 0 0 12px; }

/* ============================================================
   Carousel banner
   ============================================================ */
.banner-rail {
  display: flex;
  gap: 12px;
  padding: 0 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.banner-rail::-webkit-scrollbar { display: none; }
.banner-card {
  flex: 0 0 86%;
  height: 180px;
  border-radius: var(--r-lg);
  background: var(--cream-2);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: var(--cream);
}
.banner-card.b1 { background: linear-gradient(135deg, var(--terra-500), var(--sage-700)); }
.banner-card.b2 { background: linear-gradient(135deg, var(--sage-700), var(--sage-900)); }
.banner-card.b3 { background: linear-gradient(135deg, var(--terra-500), var(--terra-700)); }
.banner-card .eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}
.banner-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
  max-width: 80%;
}

/* Loyalty card */
.loyalty {
  margin: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 10%, oklch(0.72 0.085 80 / 0.25), transparent 50%),
    linear-gradient(135deg, var(--sage-900), var(--sage-700));
  border-radius: var(--r-lg);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.loyalty .l-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}
.loyalty .points {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.loyalty .points small { font-size: 13px; opacity: 0.7; margin-left: 4px; font-family: var(--sans); }
.loyalty .progress {
  margin-top: 14px;
  height: 4px;
  background: rgb(255 255 255 / 0.12);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.loyalty .progress .bar {
  height: 100%;
  width: 60%;
  background: var(--gold);
  border-radius: var(--r-pill);
}
.loyalty .l-foot {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.85;
}

/* Page mode toggle (Tweaks) */
.mode-toggle {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  z-index: 200;
}

/* ============================================================
   Website mode - full responsive site, no iPhone frame
   ============================================================ */
body {
  overflow-x: hidden;
}

.app {
  min-height: 100vh;
  height: auto;
  overflow: visible;
  padding-top: 0;
}

.topbar {
  position: sticky;
  top: 0;
  padding: 14px clamp(18px, 4vw, 64px) 12px;
  min-height: 76px;
  max-height: 92px;
  overflow: hidden;
  background: rgb(245 239 230 / 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(30 33 24 / 0.08);
  box-shadow: 0 12px 34px rgb(30 33 24 / 0.045);
}

.topbar.transparent {
  background: rgb(245 239 230 / 0.98);
}

.topbar .brand-mark {
  font-size: clamp(20px, 2.2vw, 32px);
  min-width: 0;
  line-height: 1;
}

.topbar .brand-mark .brand-logo-img {
  width: clamp(112px, 10vw, 190px);
  max-width: 42vw;
  max-height: 64px;
}

.desktop-nav {
  display: none;
}

.desktop-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 600 12px/1 var(--sans);
  letter-spacing: 0;
  padding: 10px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
}

.desktop-nav button:hover,
.desktop-nav button.active {
  color: var(--ink);
  background: rgb(232 221 206 / 0.72);
}

.body-scroll {
  overflow: visible;
  padding-bottom: 36px;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 560px;
  height: clamp(540px, 64vh, 680px);
  margin: 24px auto 0;
}

.hero .hero-content {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 76px);
  padding-bottom: clamp(96px, 12vh, 150px);
}

.hero h1 {
  font-size: clamp(44px, 8vw, 92px);
  max-width: 760px;
}

.hero .hero-sub {
  max-width: 520px;
  font-size: clamp(15px, 1.5vw, 19px);
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 0px);
}

.cat-rail,
.grid-2,
.banner-rail {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 0px);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.tabbar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 18px;
  width: min(520px, calc(100% - 28px));
  transform: translateX(-50%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.page {
  position: fixed;
  inset: 0;
  padding-top: 0;
}

.page .body-scroll {
  height: 100vh;
  overflow-y: auto;
  padding-bottom: 120px;
}

.pdp-hero,
.pdp-body,
.pdp-section {
  max-width: 880px;
  margin-inline: auto;
}

.pdp-cta-bar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 18px;
  width: min(640px, calc(100% - 28px));
  transform: translateX(-50%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
}

.admin-page {
  min-height: 100vh;
  padding-top: 0;
}

.tweaks-panel {
  display: none;
}

@media (min-width: 760px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    align-items: center;
    gap: 18px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .topbar .icons {
    justify-content: flex-end;
  }

  .tabbar {
    display: none;
  }

  .grid-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card .pc-name {
    font-size: 18px;
  }

  .product-card .pc-tagline {
    font-size: 12px;
  }

  .banner-card {
    flex-basis: 32%;
  }
}

@media (min-width: 1100px) {
  .grid-2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .body-scroll {
    padding-bottom: 104px;
  }
}

@media (max-width: 520px) {
  .tabbar {
    bottom: 14px;
  }

  .hero {
    width: calc(100% - 24px);
    height: 520px;
    margin-top: 12px;
    border-radius: 24px;
  }

  .hero .hero-content {
    padding: 28px 22px 172px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
