:root {
  --bg: #fdeef2;
  --surface: #ffffff;
  --surface-2: #fff5f7;
  --text: #14123a;
  --muted: #6b6790;
  --blue: #1e3fe0;
  --blue-hover: #3854f0;
  --mint: #8fe3c4;
  --pink: #f7c9d6;
  --border: rgba(20,18,58,0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, .logo, .btn, .eyebrow {
  font-family: 'Baloo 2', sans-serif;
}

a { color: inherit; text-decoration: none; }

/* ---------- Marquee keyframes (still used by .photo-marquee-track) ---------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(253,238,242,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--border);
  transition: padding 0.3s var(--ease);
}
#site-header.shrink { padding: 8px 40px; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 24px; }
.nav-left { gap: 16px; }
.nav-left a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}
.nav-left a:hover { color: var(--blue); }
.logo img { height: 56px; display: block; transition: height 0.3s var(--ease); }
#site-header.shrink .logo img { height: 42px; }
.footer-logo img { height: 64px; }

/* Cornered, rounded, 3D logo */
.logo-3d {
  display: block;
  perspective: 600px;
}
.logo-3d img {
  height: 58px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  /* chunky extruded base + soft ambient shadow = playful 3D depth */
  box-shadow:
    0 5px 0 rgba(30, 63, 224, 0.28),
    0 10px 18px rgba(20, 18, 58, 0.22);
  transform: rotateX(6deg) rotateY(-8deg);
  transform-origin: center bottom;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.3s var(--ease);
  will-change: transform;
}
.logo-3d:hover img {
  transform: rotateX(2deg) rotateY(6deg) translateY(-2px) scale(1.03);
  box-shadow:
    0 8px 0 rgba(30, 63, 224, 0.30),
    0 16px 26px rgba(20, 18, 58, 0.26);
}
#site-header.shrink .logo-3d img { height: 46px; border-radius: 14px; }
.search {
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  width: 160px;
}
.icon-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  position: relative;
}
#fb-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  background: var(--mint);
  width: 42px; height: 42px;
  border-radius: 50%;
}

/* ---------- Hamburger menu button ---------- */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Nav drawer ---------- */
.nav-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: var(--surface);
  z-index: 200;
  box-shadow: 4px 0 30px rgba(20,18,58,0.15);
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav-drawer.open { transform: translate3d(0, 0, 0); }
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(20,18,58,0.35);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 2px solid var(--border);
}
.drawer-header img { height: 44px; }
.drawer-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: 50%;
}
.drawer-close:hover { background: var(--surface-2); }
.drawer-nav { padding: 12px 0; display: flex; flex-direction: column; }
.drawer-nav a, .drawer-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
}
.drawer-nav a:hover, .drawer-accordion-toggle:hover { background: var(--surface-2); color: var(--blue); }
.drawer-accordion-toggle .chevron { transition: transform 0.25s var(--ease); color: var(--muted); }
.drawer-accordion-toggle.open .chevron { transform: rotate(180deg); }
.drawer-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
  background: var(--surface-2);
}
.drawer-submenu.open { max-height: 300px; }
.drawer-submenu a {
  display: block;
  padding: 12px 24px 12px 44px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.drawer-submenu a:hover { color: var(--blue); background: var(--surface); }
.drawer-nav .coming-soon { color: var(--muted); }
.drawer-nav .coming-soon-tag {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--pink);
  color: var(--text);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  padding: 14px 30px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s var(--ease), background 0.2s;
}
.btn:active { transform: scale(0.96); }
.btn-light { background: var(--blue); color: #fff; }
.btn-light:hover { background: var(--blue-hover); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: rgba(20,18,58,0.06); }
.btn-small { padding: 9px 20px; font-size: 0.75rem; }
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s var(--ease);
}
.btn:hover::after { left: 130%; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Hero: "Cloud Nine Shelf" 3D scene ---------- */
.hero {
  position: relative;
  min-height: max(92vh, 660px);
  overflow: hidden;
  perspective: 1200px;
}
.hero-sky {
  position: absolute; inset: 0;
  background: url('assets/hero/sky-desktop.jpg') center / cover no-repeat;
  z-index: 0;
}
.hero-scene {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: max(92vh, 660px);
  transform-style: preserve-3d;
  will-change: transform;
}
.h-layer {
  position: absolute; inset: 0;
  will-change: transform;
  pointer-events: none;
}
.h-layer-copy { position: absolute; pointer-events: auto; display: flex; align-items: center; }

/* Focal product group: one product, mist halo, grounded shadow */
.h-focal {
  position: absolute;
  right: 7%;
  bottom: 50%;
  transform: translateY(50%);
  /* canvas carries side headroom for optical centering, so the box is ~15% wider
     than the visible product to keep on-screen size consistent */
  width: clamp(320px, 39vw, 530px);
}
.h-mist {
  position: absolute;
  left: 50%; top: 52%;
  width: 120%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.6s ease 0.9s;
}
.hero.hero-in .h-mist { opacity: 0.7; }
.h-bottle {
  position: relative;
  opacity: 0;
  transform: translateY(48px) scale(0.95);
  filter: drop-shadow(0 18px 22px rgba(20, 18, 58, 0.10));
}
.hero.hero-in .h-bottle {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}
/* Fixed-ratio slot so cycling bottles of different shapes never shift the layout */
.h-bottle-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 900;
}
/* Idle float on the inner wrapper so the entrance transform never fights the loop */
.hero.hero-in .h-bottle-inner { animation: h-bob 7s ease-in-out 1.5s infinite alternate; }
@keyframes h-bob {
  from { transform: translateY(-8px); }
  to   { transform: translateY(8px); }
}
/* Crossfade cycle images, bottom-anchored so each bottle "stands" on the shadow */
.h-cycle-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  transition: opacity 1.1s ease;
  will-change: opacity;
}
.h-cycle-img.is-active { opacity: 1; }
/* Soft elliptical ground shadow, breathing opposite the bob */
.h-shadow {
  position: absolute;
  left: 50%; bottom: -7%;
  width: 54%; height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(20, 18, 58, 0.16), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1s ease 0.9s;
}
.hero.hero-in .h-shadow { opacity: 1; animation: h-shadow-breathe 7s ease-in-out 1.5s infinite alternate; }
@keyframes h-shadow-breathe {
  from { transform: translateX(-50%) scaleX(1.06); opacity: 0.75; }
  to   { transform: translateX(-50%) scaleX(0.92); opacity: 1; }
}

/* Copy block */
.hero-content {
  max-width: 680px;
  padding: 0 48px 0 60px;
  opacity: 0;
  transform: translateY(24px);
}
.hero.hero-in .hero-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--blue);
}
/* Mint underline swash on "Cheaper" */
.swash { position: relative; white-space: nowrap; }
.swash::after {
  content: '';
  position: absolute;
  left: 2%; right: 2%; bottom: 0.02em;
  height: 0.14em;
  background: var(--mint);
  border-radius: 0.1em;
  transform: rotate(-1.2deg);
  z-index: -1;
}
.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.hero-stats-row strong { color: var(--text); }

/* CTA pulse (entrance is done by hero-content) */
.btn-pulse { animation: btn-pulse 2.5s ease-in-out 2s infinite; }
@keyframes btn-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.btn-pulse:hover { animation: none; transform: scale(1.05); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Reduced motion: freeze everything, keep composed layout */
@media (prefers-reduced-motion: reduce) {
  .h-bottle, .hero-content, .h-shadow { opacity: 1 !important; transform: none !important; transition: none !important; }
  .h-mist { opacity: 0.7 !important; transition: none !important; }
  .h-shadow { transform: translateX(-50%) !important; }
  .hero.hero-in .h-bottle-inner, .hero.hero-in .h-shadow { animation: none !important; }
  .btn-pulse { animation: none !important; }
  .hero-scene, .h-layer { transform: none !important; }
}

/* ---------- Real photo showcase ---------- */
.viewer-section {
  text-align: center;
  padding: 90px 0;
  background: var(--surface);
}
.viewer-section h2 { font-size: 2.1rem; margin-bottom: 8px; padding: 0 20px; color: var(--blue); }
.viewer-section > p.muted { padding: 0 20px; }
.muted { color: var(--muted); }
.muted.center { text-align: center; }
.muted.small { font-size: 0.8rem; }
.photo-marquee {
  margin-top: 40px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.photo-marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: marquee 40s linear infinite;
}
.photo-marquee-item {
  flex: 0 0 140px;
  height: 140px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.photo-marquee-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- Why so affordable: dash-line features ---------- */
.why-affordable {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.why-affordable-text h2 { font-size: 2.1rem; margin-bottom: 30px; color: var(--blue); }
.dash-list { display: flex; flex-direction: column; gap: 22px; }
.dash-item p { margin: 0; line-height: 1.6; color: var(--text); font-size: 1rem; font-weight: 600; }
.why-affordable-photo {
  position: relative;
  width: 100%;              /* all children are absolutely positioned, so the
                               box needs an explicit width to size itself */
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 3px solid var(--pink);
  aspect-ratio: 1 / 1;
}
.why-affordable-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-affordable-photo .authentic-badge { top: 14px; left: 14px; z-index: 3; }

/* Crossfading product photo */
.wa-cycle-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}
.wa-cycle-img.is-active { opacity: 1; }
/* Prev / next arrows on the cycling photo */
.wa-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(20, 18, 58, 0.16);
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.wa-arrow:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 5px 14px rgba(30, 63, 224, 0.3);
}
.wa-arrow:active { transform: translateY(-50%) scale(0.93); }
.wa-prev { left: 12px; padding-right: 3px; }
.wa-next { right: 12px; padding-left: 3px; }

.wa-caption {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(20, 18, 58, 0.14);
  max-width: calc(100% - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.4s ease;
}

/* ---------- Trust strip (count-up) ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 70px 20px;
  background: var(--surface);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}
.trust-tile {
  font-size: 2.4rem;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  color: var(--blue);
}
.trust-tile p {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}
.trust-tile-static p { max-width: 160px; margin-left: auto; margin-right: auto; }

/* ---------- Products + 3D tilt cards ---------- */
.products { padding: 90px 40px; }
.products h2 { text-align: center; font-size: 2.1rem; margin-bottom: 8px; color: var(--blue); }
.catalog-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px 0 6px;
}
.filter-tabs { display: flex; gap: 8px; }
.filter-tab {
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--muted);
  padding: 8px 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover { color: var(--text); border-color: var(--blue); }
.filter-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.catalog-search { width: 220px; }
#result-count { text-align: center; margin: 0 0 30px; font-weight: 700; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}
.card-3d { perspective: 900px; }
.card-3d__inner {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  transform-style: preserve-3d;
  transition: transform 0.15s var(--ease), box-shadow 0.15s, border-color 0.15s;
  will-change: transform;
}
.card-3d:hover .card-3d__inner {
  box-shadow: 0 20px 40px rgba(30,63,224,0.15);
  border-color: var(--pink);
}
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: var(--mint);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.product-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--surface-2);
  transform: translateZ(20px);
  overflow: hidden;
}
.product-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.authentic-badge {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  background: var(--mint);
  color: var(--text);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.card-3d__inner h3 { font-size: 1.05rem; margin: 0 0 4px; color: var(--text); }
.card-3d__inner .resembles { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.price { font-size: 1rem; font-weight: 800; color: var(--blue); }
.price .old { text-decoration: line-through; color: var(--muted); margin-right: 6px; font-size: 0.8rem; font-weight: 600; }
.add-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.add-btn:hover { background: var(--blue); color: #fff; }
.view-all { text-align: center; margin-top: 50px; }

/* ---------- Out of stock ---------- */
.card-3d.is-oos .product-photo img { filter: grayscale(1); opacity: 0.55; }
.card-3d.is-oos .card-3d__inner { background: #fafafa; }
.card-3d.is-oos h3,
.card-3d.is-oos .resembles,
.card-3d.is-oos .price { color: var(--muted); }
.card-3d.is-oos .price .old { text-decoration: line-through; }
.card-3d.is-oos .tag { background: #e6e6ec; color: var(--muted); }
.card-3d.is-oos .authentic-badge { background: #e6e6ec; color: var(--muted); }
.card-3d.is-oos:hover .card-3d__inner { box-shadow: none; border-color: var(--border); }
.oos-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 3;
  background: rgba(20, 18, 58, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(20, 18, 58, 0.28);
}
.add-btn-disabled {
  background: #e6e6ec;
  border-color: #e6e6ec;
  color: var(--muted);
  cursor: not-allowed;
}
.add-btn-disabled:hover { background: #e6e6ec; color: var(--muted); }
.stock-tabs { margin-top: 4px; }

/* ---------- Founder quote ---------- */
.founder-quote {
  text-align: center;
  padding: 100px 20px;
  max-width: 700px;
  margin: 0 auto;
}
.founder-quote p {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}
.founder-quote span { color: var(--blue); font-size: 0.9rem; font-weight: 700; }

/* ---------- How it works ---------- */
.how-it-works { padding: 90px 40px; background: var(--surface); text-align: center; }
.how-it-works h2 { font-size: 2.1rem; margin-bottom: 50px; color: var(--blue); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.step span { color: var(--mint); font-size: 2.4rem; font-weight: 800; font-family: 'Baloo 2', sans-serif; -webkit-text-stroke: 2px var(--blue); }
.step h3 { margin: 8px 0; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Why us: 3D flip cards ---------- */
.why-us { padding: 90px 40px; text-align: center; }
.why-us h2 { font-size: 2.1rem; margin-bottom: 50px; color: var(--blue); }
.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.flip-card { perspective: 1000px; height: 180px; }
.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}
.flip-card:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border: 2px solid var(--border);
  border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px;
  background: var(--surface);
}
.flip-front h3 { color: var(--blue); margin: 0 0 6px; }
.flip-front p { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.flip-back {
  transform: rotateY(180deg);
  background: var(--blue);
  color: #fff;
}
.flip-back p { font-size: 0.9rem; line-height: 1.4; font-weight: 600; }

/* ---------- Contact page ---------- */
.contact-hero {
  text-align: center;
  padding: 70px 24px 20px;
}
.contact-hero h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); color: var(--blue); margin: 0 0 10px; }
.contact-hero p { color: var(--muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 24px;
}
.contact-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
.contact-card .contact-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.contact-card h3 { margin: 0 0 6px; color: var(--blue); font-size: 1.15rem; }
.contact-card p { color: var(--muted); font-size: 0.9rem; margin: 0 0 16px; word-break: break-word; }
.contact-card .btn { width: 100%; }

.order-form-section {
  max-width: 640px;
  margin: 0 auto 90px;
  padding: 0 24px;
}
.order-form-section h2 { text-align: center; font-size: 1.9rem; color: var(--blue); margin-bottom: 8px; }
.order-form-section > p.muted { text-align: center; margin-bottom: 30px; }
.order-form {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 800; font-size: 0.9rem; }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field textarea {
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); }
.payment-options { display: flex; gap: 14px; flex-wrap: wrap; }
.payment-option {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}
.payment-option input { accent-color: var(--blue); }
.payment-option:has(input:checked) { border-color: var(--blue); background: #eef1ff; }
.order-form .btn { margin-top: 8px; }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin: -8px 0 0; }
.field-hint { font-size: 0.78rem; color: var(--muted); margin: 2px 0 0; }
.field-error { font-size: 0.78rem; color: #d1264f; margin: 4px 0 0; font-weight: 700; }
.required-mark { color: #d1264f; }

.receipt-upload-box {
  width: 140px;
  height: 140px;
  padding: 0;
  border: 2px dashed var(--border);
  border-radius: 16px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  overflow: hidden;
  position: relative;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.receipt-upload-box:hover,
.receipt-upload-box:focus-visible { border-color: var(--blue); color: var(--blue); }
.receipt-upload-box.has-error { border-color: #d1264f; }
.receipt-upload-icon { font-size: 1.8rem; line-height: 1; }
.receipt-upload-box.has-image {
  border-style: solid;
  border-color: var(--border);
  cursor: default;
}
.receipt-upload-box.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.receipt-remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(20, 18, 58, 0.7);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0;
}

/* ---------- Reviews page ---------- */
.reviews-hero {
  text-align: center;
  padding: 70px 24px 20px;
  max-width: 560px;
  margin: 0 auto;
}
.reviews-hero .contact-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.reviews-hero h1 { color: var(--blue); font-size: clamp(2rem, 5vw, 2.6rem); margin-bottom: 8px; }
.reviews-hero p { color: var(--muted); margin: 0 0 16px; }
.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
}

.reviews-section { max-width: 1100px; margin: 0 auto; padding: 30px 24px 20px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-card-head { display: flex; align-items: flex-start; gap: 12px; }
.review-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--text);
}
.review-card-head strong { display: block; font-size: 0.95rem; }

.review-stars {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 2px;
}
.review-stars-track { color: var(--border); }
.review-stars-fill {
  position: absolute;
  top: 0; left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f5b942;
}

.review-tags {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.review-tags strong { color: var(--text); }

.review-text { margin: 0; font-size: 0.92rem; line-height: 1.5; }

.review-card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}
.review-product { font-weight: 700; color: var(--blue); }

.reviews-more { margin: 30px auto 60px; }

/* ---------- Footer ---------- */
footer { padding: 70px 40px 30px; background: var(--surface); border-top: 2px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-grid h4 { font-size: 0.9rem; font-weight: 800; margin-bottom: 12px; color: var(--blue); }
.footer-grid a { display: block; color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--blue); }
.footer-grid a.btn { display: inline-block; color: #fff; }
.footer-grid a.btn:hover { color: #fff; }
.small { font-size: 0.8rem; text-align: center; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .why-affordable { grid-template-columns: 1fr; padding: 70px 24px; }
  .why-affordable-photo { max-width: 320px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-controls { flex-direction: column; }
}

/* Hero mobile: vertical sky, copy on top, single focal product over the cloud floor */
@media (max-width: 768px) {
  .hero-sky { background-image: url('assets/hero/sky-mobile.jpg'); }
  .hero, .hero-scene { min-height: max(96vh, 820px); }
  .h-layer-copy { align-items: flex-start; z-index: 2; }
  .hero-content { padding: 56px 24px 0; text-align: center; margin: 0 auto; }
  .hero-sub { max-width: 100%; }
  .hero-ctas, .hero-stats-row { justify-content: center; }
  .h-focal {
    right: 50%;
    bottom: 10%;            /* breathing room so the bottle never clips the hero edge */
    transform: translateX(50%);
    width: clamp(265px, 71vw, 368px);
  }
}

/* ---------- Admin (hidden stock manager) ---------- */
/* class selectors below set `display`, which would beat the UA [hidden] rule */
[hidden] { display: none !important; }

.admin-body { background: var(--bg); min-height: 100vh; }

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.admin-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 14px 40px rgba(20, 18, 58, 0.12);
  text-align: center;
}
.admin-logo { height: 72px; width: auto; margin: 0 auto; border-radius: 18px; }
.admin-card h1 { color: var(--blue); font-size: 1.7rem; margin: 4px 0 0; }
.admin-sub { margin: 0 0 6px; }
.admin-card .form-field { text-align: left; }
.admin-error { color: #c0245b; font-weight: 700; font-size: 0.85rem; margin: 0; }
.admin-back { color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-top: 4px; }
.admin-back:hover { color: var(--blue); }

.admin-panel { max-width: 900px; margin: 0 auto; padding: 28px 24px 80px; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.admin-header-left { display: flex; align-items: center; gap: 14px; }
.admin-logo-sm { height: 52px; border-radius: 14px; }
.admin-header h1 { color: var(--blue); font-size: 1.5rem; margin: 0; }
.admin-header-right { display: flex; gap: 10px; align-items: center; }
.admin-header-right .btn { cursor: pointer; font-family: 'Baloo 2', sans-serif; }

.admin-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.admin-toolbar .search { width: 220px; }
.admin-toolbar .btn { cursor: pointer; font-family: 'Baloo 2', sans-serif; }
.admin-note { margin: 0 0 18px; }
.admin-footnote {
  margin-top: 28px; padding: 16px 18px;
  background: var(--surface); border: 2px solid var(--border);
  border-radius: 16px; line-height: 1.6;
}

.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 10px 14px;
}
.admin-row img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.admin-row.is-out img { filter: grayscale(1); opacity: 0.55; }
.admin-row-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.admin-row-info strong { font-size: 0.95rem; }
.admin-row-info span { font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-row.is-out .admin-row-info strong { color: var(--muted); }
.admin-price { font-weight: 800; color: var(--blue); font-size: 0.9rem; flex: 0 0 auto; }
.admin-row.is-out .admin-price { color: var(--muted); }

.admin-toggle {
  display: flex; align-items: center; gap: 8px;
  background: var(--mint);
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 7px 14px 7px 8px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--text);
  flex: 0 0 auto;
  transition: background 0.2s, color 0.2s;
}
.admin-toggle-knob {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20,18,58,0.25);
}
.admin-toggle.off { background: #e6e6ec; color: var(--muted); }
.admin-empty { text-align: center; padding: 30px; }

@media (max-width: 700px) {
  .admin-toolbar .search { width: 100%; }
  .admin-row { flex-wrap: wrap; }
  .admin-row-info { flex-basis: calc(100% - 140px); }
  .admin-toggle { margin-left: auto; }
}

/* ---------- Sale badge + banner (store-wide discount) ---------- */
.sale-badge {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 3;
  background: #e0245e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(224, 36, 94, 0.35);
}
.card-3d.is-oos .sale-badge { background: #c9c9d2; box-shadow: none; }

.sale-banner {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
  background: #e0245e;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(224, 36, 94, 0.28);
}

/* ---------- Admin: discount panel ---------- */
.admin-section {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 22px;
}
.admin-section.is-active { border-color: #e0245e; }
.admin-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 6px;
}
.admin-section h2 { color: var(--blue); font-size: 1.2rem; margin: 0; }
.discount-state {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  background: #e6e6ec;
  color: var(--muted);
}
.admin-section.is-active .discount-state { background: #e0245e; color: #fff; }

.discount-form {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 14px 0 12px;
}
.discount-input-wrap {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px 4px 6px;
}
.discount-input-wrap input {
  width: 82px;
  border: none;
  background: transparent;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  padding: 6px 0;
}
.discount-input-wrap input:focus { outline: none; }
.discount-suffix { font-weight: 800; color: var(--muted); font-size: 0.85rem; }
.discount-form .btn { cursor: pointer; font-family: 'Baloo 2', sans-serif; }

.discount-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.discount-quick button {
  background: var(--surface-2);
  border: 2px solid var(--border);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.discount-quick button:hover { border-color: #e0245e; color: #e0245e; }

.discount-preview { font-size: 0.85rem; color: var(--muted); margin: 0; font-weight: 600; }
.discount-preview s { opacity: 0.65; }
.discount-preview strong { color: #e0245e; }
.discount-preview.is-error { color: #c0245b; font-weight: 800; }

.admin-price s { color: var(--muted); font-weight: 600; margin-right: 4px; font-size: 0.8rem; }

/* ---------- Hidden admin tap target (drawer logo) ---------- */
.drawer-logo {
  cursor: pointer;             /* looks like the normal clickable brand mark */
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s var(--ease);
}
.drawer-logo.tapped { animation: logo-nudge 0.18s ease; }
@keyframes logo-nudge {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}
.knock-hint {
  padding: 0 24px 6px;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--pink);
  font-weight: 800;
  line-height: 1;
  min-height: 10px;
}

/* ---------- Admin: price manager ---------- */
.price-form {
  display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
  margin: 14px 0 12px;
}
.price-field { display: flex; flex-direction: column; gap: 5px; }
.price-field > span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.price-field select,
.price-field input {
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 9px 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}
.price-field select { cursor: pointer; min-width: 150px; }
.price-field input { width: 120px; }
.price-field select:focus,
.price-field input:focus { outline: none; border-color: var(--blue); }
.price-form .btn { cursor: pointer; font-family: 'Baloo 2', sans-serif; }

/* Per-row editable price */
.price-edit {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 4px 8px 4px 10px;
  flex: 0 0 auto;
  transition: border-color 0.2s;
}
.price-edit:focus-within { border-color: var(--blue); }
.price-edit.is-custom { border-color: var(--blue); background: #eef1ff; }
.price-edit-peso { font-weight: 800; color: var(--muted); font-size: 0.85rem; }
.price-input {
  width: 74px;
  border: none;
  background: transparent;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text);
  padding: 3px 0;
  text-align: right;
}
.price-input:focus { outline: none; }
/* Hide number spinners for a cleaner look */
.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-input { -moz-appearance: textfield; appearance: textfield; }
.admin-row.is-out .price-edit { opacity: 0.6; }

@media (max-width: 700px) {
  .price-field select, .price-field input { width: 100%; min-width: 0; }
  .price-field { flex: 1 1 140px; }
  .price-form .btn { flex: 1 1 auto; }
}

/* ---------- Admin: add product ---------- */
.add-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.add-form-grid .price-field input,
.add-form-grid .price-field select { width: 100%; }

.add-photo-field { display: block; margin-bottom: 14px; }
.add-photo-field > span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 8px;
}
.add-photo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.add-photo-preview {
  width: 84px; height: 84px;
  flex: 0 0 auto;
  border-radius: 14px;
  border: 2px dashed var(--border);
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
}
.add-photo-controls { flex: 1 1 220px; }
.add-photo-controls input[type="file"] {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  color: var(--text);
}
.add-form-actions { margin-top: 8px; }
.add-form-actions .btn { cursor: pointer; font-family: 'Baloo 2', sans-serif; }

.added-tag {
  display: inline-block;
  background: var(--mint);
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

.admin-remove {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.admin-remove:hover { border-color: #c0245b; background: #fdeef2; }

#removed-section .admin-row img { opacity: 0.7; }

/* ---------- Add to Cart / messenger fallback link on product cards ---------- */
.add-btn.added { background: var(--mint); border-color: var(--mint); color: var(--text); }
.messenger-link {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: underline;
}
.messenger-link:hover { color: var(--blue); }

/* ---------- Cart button + badge (header) ---------- */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  width: 42px; height: 42px;
}
.cart-badge {
  position: absolute;
  top: -2px; right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(20,18,58,0.35);
  z-index: 249;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: var(--surface);
  z-index: 250;
  box-shadow: -4px 0 30px rgba(20,18,58,0.15);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translate3d(0, 0, 0); }
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 2px solid var(--border);
  flex: 0 0 auto;
}
.cart-drawer-header h3 { margin: 0; font-size: 1.2rem; }
.cart-items {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px 20px;
}
.cart-empty { color: var(--muted); text-align: center; padding: 40px 10px; }
.cart-empty a { color: var(--blue); text-decoration: underline; }
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 2px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item img {
  width: 60px; height: 60px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface-2);
  flex: 0 0 auto;
}
.cart-item-info { flex: 1 1 auto; min-width: 0; }
.cart-item-name { margin: 0 0 4px; font-weight: 800; font-size: 0.9rem; }
.cart-item-name .muted { font-weight: 600; display: block; font-size: 0.8rem; }
.cart-item-oos { margin: 0 0 4px; color: #c0245b; font-size: 0.72rem; font-weight: 700; }
.cart-item-price { margin: 0 0 8px; color: var(--blue); font-weight: 800; font-size: 0.85rem; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 2px 4px;
}
.qty-btn {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}
.qty-btn:hover { background: var(--mint); }
.qty-value { font-weight: 800; font-size: 0.85rem; min-width: 14px; text-align: center; }
.cart-item-remove {
  flex: 0 0 auto;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
}
.cart-item-remove:hover { color: #c0245b; }
.cart-drawer-footer {
  flex: 0 0 auto;
  padding: 18px 24px 24px;
  border-top: 2px solid var(--border);
}
.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cart-subtotal-row strong { color: var(--blue); font-size: 1.1rem; }
.cart-action-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.cart-action-btn:last-child { margin-bottom: 0; }
