/* ═══════════════════════════════════════════════════
   HIMALAYA LIP CARE — STYLESHEET v10
═══════════════════════════════════════════════════ */

/* ── THEME VEIL — smooth theme transitions via a real div ── */
.theme-veil {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  background: var(--bg);
  opacity: 0;
  transition: none;
}
.theme-veil.fade-in {
  opacity: 1;
  transition: opacity 0.22s ease;
}
.theme-veil.fade-out {
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* ── DESIGN TOKENS — LIGHT ─────────────────────── */
:root {
  --green: #2a8c6e;
  --green-dark: #1a6b52;
  --green-light: #e4f5ee;
  --green-xlight: #f0faf5;
  --accent: #c8a96e;
  --ink: #111c18;
  --ink-2: #3a4a42;
  --muted: #5e706a;
  --border: rgba(42, 140, 110, 0.14);
  --white: #ffffff;
  --bg: #f7fbf8;
  --card-bg: #ffffff;
  --wishlist-toast-bg: #111c18;
  --wishlist-toast-text: #ffffff;
  --wishlist-toast-icon-color: #e0445a;
  --benefits-bg: #0f1f18;
  --table-head-bg: #111c18;
  --footer-bg: #0d1a14;
  --footer-text: rgba(255, 255, 255, 0.85);
  --footer-muted: rgba(255, 255, 255, 0.4);
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-link-hover: rgba(255, 255, 255, 0.9);
  --footer-social-bg: rgba(255, 255, 255, 0.07);
  --footer-badge-bg: rgba(255, 255, 255, 0.06);
  --footer-badge-border: rgba(255, 255, 255, 0.1);
  --footer-input-bg: rgba(255, 255, 255, 0.06);
  --footer-input-border: rgba(255, 255, 255, 0.12);
  --footer-input-text: rgba(255, 255, 255, 0.85);
  --footer-copy: rgba(255, 255, 255, 0.28);
  --promo-bg: #0d1a14;
  --promo-text: rgba(255, 255, 255, 0.85);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.3s var(--ease);
  --t-slow: 0.6s var(--ease-out);
}

/* ── DESIGN TOKENS — DARK ──────────────────────── */
[data-theme="dark"] {
  --green: #3aad87;
  --green-dark: #2a8c6e;
  --green-light: rgba(58, 173, 135, 0.15);
  --green-xlight: rgba(58, 173, 135, 0.08);
  --accent: #d4b87a;
  --ink: #e8f0ec;
  --ink-2: #b8ccc4;
  --muted: #7a9a8e;
  --border: rgba(58, 173, 135, 0.18);
  --white: #1c2820;
  --bg: #141d18;
  --card-bg: #1c2820;
  --wishlist-toast-bg: #1a3d2e;
  --wishlist-toast-text: #e8f0ec;
  --wishlist-toast-icon-color: #f4899a;
  --benefits-bg: #0a1510;
  --table-head-bg: #0a1510;
  --footer-bg: #080f0b;
  --footer-text: rgba(232, 240, 236, 0.9);
  --footer-muted: rgba(232, 240, 236, 0.38);
  --footer-border: rgba(58, 173, 135, 0.12);
  --footer-link-hover: rgba(232, 240, 236, 0.95);
  --footer-social-bg: rgba(58, 173, 135, 0.1);
  --footer-badge-bg: rgba(58, 173, 135, 0.08);
  --footer-badge-border: rgba(58, 173, 135, 0.2);
  --footer-input-bg: rgba(58, 173, 135, 0.06);
  --footer-input-border: rgba(58, 173, 135, 0.2);
  --footer-input-text: rgba(232, 240, 236, 0.85);
  --footer-copy: rgba(232, 240, 236, 0.25);
  --promo-bg: #080f0b;
  --promo-text: rgba(232, 240, 236, 0.8);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ── RESET ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background 0.4s ease,
    color 0.4s ease;
}
body.loading {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
em {
  font-style: italic;
  color: var(--green);
}
.hidden {
  display: none !important;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--green);
  color: white;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus-visible {
  top: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── HONEYPOT FIELD — visually hidden from real users ── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-size: -1;
}

/* ── LAZY IMAGE FADE-IN ─────────────────────────── */
.lazy-img {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.lazy-img.loaded {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .lazy-img {
    opacity: 1;
    transition: none;
  }
}

/* ── SCROLL PROGRESS ────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--accent));
  z-index: 9999;
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
}

/* ── TYPOGRAPHY ────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(42, 140, 110, 0.2);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}
.section-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-sub {
  margin: 0 auto;
}

/* Dark-section label/title/sub variants — combined selectors give these
   the specificity they need over the base rules above without !important. */
.section-label.benefits-section-label {
  background: rgba(42, 140, 110, 0.2);
  color: #b8e8d4;
  border-color: rgba(42, 140, 110, 0.3);
}
.section-title.benefits-section-title {
  color: #ffffff;
}
.section-sub.benefits-section-sub {
  color: rgba(255, 255, 255, 0.45);
}
em.benefits-em {
  color: #3aad87;
}

/* ── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--t);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}
.btn:hover::after {
  background: rgba(255, 255, 255, 0.08);
}
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(42, 140, 110, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(42, 140, 110, 0.45);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink-2);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-xlight);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
  padding: 12px 28px;
}
.btn-outline:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 140, 110, 0.3);
}
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.field-error {
  display: block;
  font-size: 12px;
  color: #c0392b;
  margin-top: 5px;
  min-height: 16px;
}
input.invalid,
textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
input.valid,
textarea.valid {
  border-color: var(--green);
}
.form-submit-error {
  display: none;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.2);
  color: #c0392b;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-submit-error.visible {
  display: block;
}

/* ── TOOLTIP ────────────────────────────────────── */
.hlc-tooltip {
  cursor: help;
  position: relative;
}
.hlc-tooltip-box {
  position: fixed;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  padding: 9px 14px;
  border-radius: 10px;
  max-width: 220px;
  pointer-events: none;
  z-index: 5000;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  box-shadow: var(--shadow-md);
}
.hlc-tooltip-box.show {
  opacity: 1;
  transform: translateY(0);
}
.hlc-tooltip-box::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
[data-theme="dark"] .hlc-tooltip-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
}
[data-theme="dark"] .hlc-tooltip-box::after {
  border-top-color: var(--card-bg);
}

/* ── CONFETTI CANVAS ────────────────────────────── */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4500;
  display: none;
}

/* ── PAGE LOADER — premium shader-backed splash (Stitch design) ── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0b1611;
  overflow: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
  transition-delay: 0.1s;
}
body:not(.loading) .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-shader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.6;
}
.loader-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(11, 22, 17, 0.2) 55%,
    #0b1611 100%
  );
  pointer-events: none;
}

.loader-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 24px;
}

.loader-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── medallion: gradient ring + seal ──────────────── */
.loader-medallion {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}
.loader-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring-track {
  stroke: rgba(229, 196, 135, 0.3);
}
.ring-arc {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawRing 1.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes drawRing {
  to {
    stroke-dashoffset: 0;
  }
}

.loader-seal {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 1px solid #4d463a;
  background: #131e19;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation:
    sealIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards,
    goldGlow 4s ease-in-out infinite;
}
@keyframes sealIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes goldGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(229, 196, 135, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(229, 196, 135, 0.5));
  }
}
.loader-seal-inner-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(229, 196, 135, 0.1);
}
.loader-monogram {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 60px;
  color: #e3c285;
  line-height: 1;
  user-select: none;
}

/* ── wordmark: blurred letter-by-letter reveal ───── */
.loader-wordmark-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  height: 64px;
}
.lw-char {
  font-family: "EB Garamond", serif;
  color: #e5c487;
  font-size: 48px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  animation: revealLetter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes revealLetter {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
.lw-char:nth-child(1) {
  animation-delay: 1s;
}
.lw-char:nth-child(2) {
  animation-delay: 1.1s;
}
.lw-char:nth-child(3) {
  animation-delay: 1.2s;
}
.lw-char:nth-child(4) {
  animation-delay: 1.3s;
}
.lw-char:nth-child(5) {
  animation-delay: 1.4s;
}
.lw-char:nth-child(6) {
  animation-delay: 1.5s;
}
.lw-char:nth-child(7) {
  animation-delay: 1.6s;
}
.lw-char:nth-child(8) {
  animation-delay: 1.7s;
}

/* ── tagline + rule ───────────────────────────────── */
.loader-tagline-wrap {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 200px;
  opacity: 0;
  animation: revealLetter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 2.2s forwards;
}
.loader-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 196, 135, 0.4),
    transparent
  );
  margin-bottom: 12px;
}
.loader-tagline {
  font-family: "Inter", sans-serif;
  color: #d0c5b5;
  letter-spacing: 0.4em;
  font-size: 10px;
  text-transform: uppercase;
}

/* ── progress bar: fixed near bottom ─────────────── */
.loader-progress-wrap {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 240px;
  padding: 0 24px;
}
.loader-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
  opacity: 0;
  animation: revealLetter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 2.4s forwards;
}
.loader-progress-caption {
  font-family: "Inter", sans-serif;
  font-size: 8px;
  color: #998f81;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.loader-progress-percent {
  font-family: "Inter", sans-serif;
  font-size: 8px;
  color: #e5c487;
  letter-spacing: 0.15em;
}
.loader-progress-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: #2c3731;
  border-radius: 100px;
  overflow: hidden;
}
.loader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e5c487, #ffdea3);
  border-radius: 100px;
  transition: width 3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.loader-progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmerSweep 1.5s infinite;
}
@keyframes shimmerSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring-arc,
  .loader-seal,
  .loader-progress-fill::after {
    animation: none !important;
  }
  .ring-arc {
    stroke-dashoffset: 0;
  }
  .loader-seal,
  .lw-char,
  .loader-tagline-wrap,
  .loader-progress-labels {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ── PROMO BANNER ──────────────────────────────── */
.promo-banner {
  background: var(--promo-bg);
  color: var(--promo-text);
  padding: 10px 48px 10px 0;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  transition:
    height var(--t),
    padding var(--t),
    opacity var(--t),
    background 0.4s ease;
  height: 40px;
}
.promo-banner.hidden {
  height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.promo-marquee {
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  display: inline-flex;
  padding-left: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .promo-marquee {
    animation: none;
    padding-left: 16px;
  }
}
.promo-marquee span {
  padding-right: 80px;
  display: inline-block;
}
.promo-marquee strong {
  color: var(--accent);
}
.promo-marquee i {
  color: var(--green);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.promo-close {
  position: absolute;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--t);
}
.promo-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* ── NAV OVERLAY ────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--t-slow),
    visibility var(--t-slow);
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ── NAVBAR ────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 251, 248, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition:
    box-shadow var(--t),
    background var(--t);
}
[data-theme="dark"] .navbar {
  background: rgba(20, 29, 24, 0.92);
}
.navbar.scrolled {
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.09);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-logo.small {
  width: 40px;
  height: 40px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.brand-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: var(--t);
}
.nav-links a i {
  font-size: 11px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  background: var(--green-light);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-nav-btn,
.theme-toggle,
.wishlist-nav-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.share-nav-btn:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-light);
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200, 169, 110, 0.1);
}
.wishlist-nav-btn {
  font-size: 17px;
}
.wishlist-nav-btn:hover,
.wishlist-nav-btn.active {
  color: #e0445a;
  border-color: #e0445a;
  background: rgba(224, 68, 90, 0.08);
}
.cart-toggle-btn {
  position: relative;
  background: var(--green-light);
  border: none;
  color: var(--green);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.cart-toggle-btn:hover {
  background: var(--green);
  color: white;
  transform: scale(1.08);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  transition: transform 0.2s var(--ease-out);
}
.cart-badge.pop {
  animation: badgePop 0.35s var(--ease-out);
}
@keyframes badgePop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.5);
  }
  70% {
    transform: scale(0.88);
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cart-badge.pop {
    animation: none;
  }
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--t);
  display: block;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 60px 28px 40px;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(42, 140, 110, 0.16) 0%,
    transparent 70%
  );
  top: -120px;
  right: -100px;
}
.orb2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(200, 169, 110, 0.13) 0%,
    transparent 70%
  );
  bottom: -60px;
  left: -80px;
}
.orb3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(42, 140, 110, 0.1) 0%,
    transparent 70%
  );
  top: 40%;
  left: 30%;
}
.hero-container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(42, 140, 110, 0.2);
  animation: fadeSlideDown 0.8s var(--ease-out) both;
}
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 20px;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.1s both;
}
.hero-title em {
  font-style: italic;
  color: var(--green);
}
.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.2s both;
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.3s both;
}
.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--white);
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.hero-tags span:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.hero-tags span i {
  color: var(--green);
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.4s both;
}
.wishlist-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.wishlist-btn:hover {
  border-color: #e0445a;
  color: #e0445a;
  transform: scale(1.08);
}
.wishlist-btn.active {
  color: #e0445a;
  border-color: #e0445a;
  background: rgba(224, 68, 90, 0.08);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.5s both;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.trust-item i {
  color: var(--green);
  font-size: 14px;
}
.trust-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
}
.share-trust-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: var(--t);
}
.share-trust-btn:hover {
  color: var(--green);
}
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 440px;
  height: 440px;
}
.product-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(
    circle,
    rgba(42, 140, 110, 0.28) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(30px);
  animation: glowPulse 3.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-glow {
    animation: none;
  }
  .product-ring {
    animation: none;
  }
}
.product-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(42, 140, 110, 0.12);
  animation: ringRotate 22s linear infinite;
}
.ring1 {
  width: 340px;
  height: 340px;
}
.ring2 {
  width: 420px;
  height: 420px;
  animation-direction: reverse;
  animation-duration: 34s;
  border-style: dashed;
}
@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Hero parallax — product card shifts on scroll via JS custom prop */
.product-glass-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 32px;
  padding: 28px 32px;
  box-shadow:
    0 8px 32px rgba(42, 140, 110, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.6s ease;
  min-width: 220px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(228, 245, 238, 0.6);
  will-change: transform;
}
.product-glass-card:hover {
  box-shadow:
    0 24px 60px rgba(42, 140, 110, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
[data-theme="dark"] .product-glass-card {
  background: rgba(28, 40, 32, 0.6);
  border-color: rgba(58, 173, 135, 0.2);
}
.product-img {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.14));
  animation: productFloat 4s ease-in-out infinite;
  will-change: transform;
}
@keyframes productFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-img {
    animation: none;
  }
}
.product-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  white-space: nowrap;
  animation: badgeFloat 3s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .product-float-badge {
    animation: none;
  }
}
[data-theme="dark"] .product-float-badge {
  background: rgba(28, 40, 32, 0.95);
  border-color: rgba(58, 173, 135, 0.3);
}
.product-float-badge i {
  color: var(--accent);
}
.badge-top {
  top: 24px;
  right: -10px;
  animation-delay: 0s;
}
.badge-bottom {
  bottom: 36px;
  left: -10px;
  animation-delay: 1.5s;
}
@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero-scroll-hint span {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollDrop 1.6s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-line {
    animation: none;
    opacity: 0.5;
  }
}

/* ── WAVE DIVIDERS ──────────────────────────────── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
}
.wave-hero-about svg path {
  fill: var(--white);
}
.wave-benefits-ing {
  background: var(--benefits-bg);
}
.wave-benefits-ing svg path {
  fill: var(--white);
}

/* ── ABOUT ──────────────────────────────────────── */
.about {
  padding: 100px 28px;
  background: var(--white);
}
.about-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* scroll-triggered scale: starts at 95%, JS drives to 100% */
  transform: scale(var(--about-scale, 0.95));
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .about-img-frame {
    transform: scale(1) !important;
    transition: none;
  }
}
.about-img-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.9s var(--ease-out);
  display: block;
}
.about-img-frame:hover img {
  transform: scale(1.06);
}
.about-img-card {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}
.about-img-card i {
  font-size: 26px;
  color: var(--accent);
}
.about-img-card strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
}
.about-img-card span {
  font-size: 13px;
  color: var(--muted);
}
.about-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.list-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 12px;
  margin-top: 2px;
}
.about-list li strong {
  font-size: 15px;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}
.about-list li p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── BENEFITS ───────────────────────────────────── */
.benefits {
  padding: 100px 28px;
  background: var(--benefits-bg);
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.benefits::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 80px solid rgba(42, 140, 110, 0.06);
}

/* scroll-synced spotlight */
.benefits-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle 360px at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(42, 140, 110, 0.18) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.benefits-spotlight.active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .benefits-spotlight {
    display: none;
  }
}

.benefits-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefit-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: default;
  transition:
    transform var(--t),
    box-shadow var(--t);
}
.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
@media (prefers-reduced-motion: reduce) {
  .benefit-card:hover {
    transform: none;
  }
}
.benefit-img-wrap {
  position: absolute;
  inset: 0;
}
.benefit-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.benefit-card:hover .benefit-img-wrap img {
  transform: scale(1.08);
}
.benefit-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 16, 0.92) 0%,
    rgba(10, 20, 16, 0.4) 50%,
    rgba(10, 20, 16, 0.05) 100%
  );
  transition: background 0.4s ease;
}
.benefit-card:hover .benefit-img-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 20, 16, 0.95) 0%,
    rgba(42, 140, 110, 0.3) 60%,
    rgba(10, 20, 16, 0.1) 100%
  );
}
.benefit-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px;
  z-index: 1;
}
.benefit-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.benefit-num.num-animated {
  opacity: 1;
  transform: translateY(0);
}
.benefit-body h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.2;
}
.benefit-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  transition: color 0.3s ease;
}
.benefit-card:hover .benefit-body p {
  color: rgba(255, 255, 255, 1);
}

/* ── INGREDIENTS ────────────────────────────────── */
.ingredients {
  padding: 100px 28px;
  background: var(--white);
}
.ingredients-container {
  max-width: 1180px;
  margin: 0 auto;
}
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}
.ingredient-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: visible;
  transition:
    transform var(--t),
    box-shadow var(--t);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.ingredient-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.ingredient-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.ingredient-img-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}
.ingredient-card:hover .ingredient-img-wrap img {
  transform: scale(1.08);
  filter: brightness(0.85);
}
.ingredient-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 140, 110, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--t);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.ingredient-card:hover .ingredient-overlay {
  opacity: 1;
}
.ingredient-card.expanded .ingredient-overlay {
  opacity: 1;
  background: rgba(26, 107, 82, 0.85);
}
.ingredient-body {
  padding: 18px;
}
.ingredient-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 6px;
}
.ingredient-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 7px;
}
.ingredient-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.ingredient-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ingredient-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 100px;
}
.ingredient-expand {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s var(--ease-out),
    padding 0.3s ease;
  background: var(--green-xlight);
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
}
.ingredient-card.expanded .ingredient-expand {
  max-height: 300px;
  padding: 16px 18px;
}
.ingredient-expand p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 8px;
}
.ingredient-expand p:last-child {
  margin-bottom: 0;
}
.ingredient-expand strong {
  color: var(--green);
  font-weight: 600;
}

/* ── COMPARISON — CARD LAYOUT ───────────────────── */
.comparison {
  padding: 100px 28px;
  background: linear-gradient(
    160deg,
    var(--green-xlight) 0%,
    var(--white) 100%
  );
  position: relative;
  overflow: hidden;
}
.comparison::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 140, 110, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.comparison-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Outer wrapper with glow ring */
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: 28px;
  overflow: visible;
  position: relative;
}

/* ── Himalaya column — featured, elevated */
.cmp-col {
  background: var(--card-bg);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.cmp-col--himalaya {
  background: var(--benefits-bg);
  border-color: rgba(42, 140, 110, 0.35);
  box-shadow:
    0 0 0 1px rgba(42, 140, 110, 0.2),
    0 24px 60px rgba(42, 140, 110, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
  transform: translateY(-8px);
}
[data-theme="dark"] .cmp-col--himalaya {
  background: #0a1a12;
  border-color: rgba(58, 173, 135, 0.4);
  box-shadow:
    0 0 0 1px rgba(58, 173, 135, 0.25),
    0 24px 60px rgba(58, 173, 135, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.cmp-col--other {
  background: var(--card-bg);
  border-color: var(--border);
  opacity: 0.82;
}
[data-theme="dark"] .cmp-col--other {
  opacity: 0.75;
}

/* ── Column header */
.cmp-col-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.cmp-col-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(42, 140, 110, 0.2);
}
.cmp-col--himalaya .cmp-col-icon {
  background: rgba(42, 140, 110, 0.25);
  color: #5dd4a8;
  box-shadow: 0 4px 20px rgba(42, 140, 110, 0.35);
}
.cmp-col-icon--other {
  background: rgba(92, 92, 92, 0.08);
  color: var(--muted);
  box-shadow: none;
}
[data-theme="dark"] .cmp-col-icon--other {
  background: rgba(255, 255, 255, 0.06);
}
.cmp-col-header h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.cmp-col--himalaya .cmp-col-header h3 {
  color: #ffffff;
}
.cmp-col-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #5dd4a8;
  background: rgba(42, 140, 110, 0.2);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(42, 140, 110, 0.4);
}
.cmp-col-tag::before {
  content: "★";
  font-size: 9px;
}

/* ── Feature rows */
.cmp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.cmp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.cmp-col--himalaya .cmp-list li {
  color: rgba(255, 255, 255, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.cmp-list li:last-child {
  border-bottom: none;
}
.cmp-list li i {
  font-size: 16px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.cmp-list li strong {
  color: var(--ink);
  font-weight: 600;
}
.cmp-col--himalaya .cmp-list li strong {
  color: #ffffff;
}
.c-yes {
  color: #4ecb94;
  filter: drop-shadow(0 0 4px rgba(78, 203, 148, 0.4));
}
.c-no {
  color: #e05a5a;
  opacity: 0.7;
}

/* ── CTA */
.cmp-cta {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  background: linear-gradient(135deg, #2a8c6e 0%, #1a6b52 100%);
  box-shadow: 0 6px 24px rgba(42, 140, 110, 0.45);
  font-size: 15px;
  letter-spacing: 0.2px;
}
.cmp-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(42, 140, 110, 0.55);
}

/* ── VS divider — pill badge centered between columns */
.cmp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}
.cmp-divider span {
  writing-mode: horizontal-tb;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--bg);
  padding: 8px 10px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .cmp-divider span {
  background: var(--card-bg);
}

/* ── REVIEWS ────────────────────────────────────── */
.reviews {
  padding: 100px 28px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}
.reviews-container {
  max-width: 1180px;
  margin: 0 auto;
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 40px;
  flex-wrap: wrap;
}
.reviews-score {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 22px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.score-number {
  font-family: var(--font-head);
  font-size: 60px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.score-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 4px;
}
.stars-row {
  color: var(--accent);
  font-size: 15px;
  display: flex;
  gap: 3px;
}
.score-meta > span {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 160px;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bar-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  min-width: 18px;
  text-align: right;
}
.bar-track {
  flex: 1;
  height: 5px;
  background: var(--green-light);
  border-radius: 100px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--accent));
  border-radius: 100px;
  width: 0%;
  transition: width 1.4s var(--ease-out);
}
.bar-pct {
  font-size: 11px;
  color: var(--muted);
  min-width: 28px;
  font-weight: 500;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t),
    box-shadow var(--t);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.review-card--featured {
  grid-column: span 2;
  border-color: rgba(42, 140, 110, 0.2);
  background: linear-gradient(135deg, var(--green-xlight) 0%, var(--white) 60%);
}
[data-theme="dark"] .review-card--featured {
  background: linear-gradient(
    135deg,
    rgba(58, 173, 135, 0.08) 0%,
    var(--card-bg) 60%
  );
}
.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--av-bg, var(--green-light));
  color: var(--av-color, var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-top > div:nth-child(2) h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}
.verified-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.review-stars {
  color: var(--accent);
  font-size: 12px;
  display: flex;
  gap: 2px;
}
.review-date {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
  align-self: flex-start;
}
.review-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.review-helpful {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--green-light);
  cursor: pointer;
  transition: color var(--t);
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  font-family: var(--font-body);
  text-align: left;
}
.review-helpful:hover {
  color: var(--green);
}
.review-helpful.voted {
  color: var(--green);
  cursor: default;
}
.review-helpful.voted i {
  font-weight: 900;
}
.review-helpful .helpful-count {
  font-weight: 600;
}

/* Mobile review scroll dots */
.review-scroll-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}
.review-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition:
    background 0.3s ease,
    width 0.3s ease;
  cursor: pointer;
}
.review-dot.active {
  background: var(--green);
  width: 18px;
  border-radius: 3px;
}

.show-more-wrap {
  text-align: center;
  margin-bottom: 48px;
}

/* ── WRITE A REVIEW ─────────────────────────────── */
.write-review-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.write-review-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
}
.write-review-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.write-review-info i {
  font-size: 20px;
  color: var(--green);
}
.write-review-info strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.write-review-info span {
  font-size: 13px;
  color: var(--muted);
}
.write-review-form {
  display: none;
  padding: 0 28px 28px;
  border-top: 1px solid var(--border);
}
.write-review-form.open {
  display: block;
  animation: reviewFadeIn 0.4s ease;
}
.write-review-form .form-group {
  margin-top: 18px;
}
.wr-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}
.wr-star-group label {
  margin-bottom: 8px;
  display: block;
}
.star-picker {
  display: flex;
  gap: 6px;
}
.star-pick {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--accent);
  cursor: pointer;
  padding: 2px;
  transition: transform 0.15s;
}
.star-pick:hover {
  transform: scale(1.2);
}
.star-picker.star-error {
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.wr-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* ── FAQ ────────────────────────────────────────── */
.faq {
  padding: 100px 28px;
  background: var(--white);
}
.faq-container {
  max-width: 780px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  transition: var(--t);
}
.faq-q span:first-child {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  flex: 1;
  transition: color var(--t);
}
.faq-q:hover span:first-child {
  color: var(--green);
}
.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 13px;
  flex-shrink: 0;
  transition:
    background var(--t),
    transform 0.4s var(--ease-out);
}
.faq-item.open .faq-icon {
  background: var(--green);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s var(--ease-out),
    padding 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 22px;
}
.faq-a p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ── CONTACT ────────────────────────────────────── */
.contact {
  padding: 100px 28px;
  background: var(--green-xlight);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(42, 140, 110, 0.08),
    transparent 60%
  );
  pointer-events: none;
}
.contact-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-left p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 400px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.info-icon {
  width: 42px;
  height: 42px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 15px;
  flex-shrink: 0;
}
.contact-info-item span {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.contact-right {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-group label i {
  color: var(--green);
  font-size: 12px;
}
input,
textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  transition:
    border-color var(--t),
    box-shadow var(--t);
  resize: none;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #aab8b1;
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(42, 140, 110, 0.1);
  background: var(--white);
}
.contact-right .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* ── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  padding: 64px 28px 0;
  transition: background 0.4s ease;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--footer-border);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand .brand-logo {
  border-color: var(--footer-border);
}
.footer-brand .brand-name {
  color: var(--footer-text);
  font-size: 15px;
}
.footer-tagline {
  font-size: 12px;
  color: var(--footer-muted);
  margin-top: 2px;
}
.footer-about {
  font-size: 13.5px;
  color: var(--footer-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--footer-social-bg);
  color: var(--footer-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--t);
}
.footer-social a:hover {
  background: var(--green);
  color: white;
  transform: translateY(-3px);
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--footer-text);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13.5px;
  color: var(--footer-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--t);
}
.footer-links a i {
  font-size: 10px;
  color: var(--green);
}
.footer-links a:hover {
  color: var(--footer-link-hover);
  transform: translateX(4px);
}
.footer-newsletter-desc {
  font-size: 13.5px;
  color: var(--footer-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-newsletter-row {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--footer-input-border);
  background: var(--footer-input-bg);
  margin-bottom: 8px;
}
.footer-newsletter-row input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--footer-input-text);
  padding: 13px 16px;
  font-size: 14px;
  border-radius: 0;
}
.footer-newsletter-row input::placeholder {
  color: var(--footer-muted);
}
.footer-newsletter-row input:focus-visible {
  outline: none;
  box-shadow: none;
  background: transparent;
}
.newsletter-submit-btn {
  background: var(--green);
  border: none;
  color: white;
  padding: 13px 18px;
  cursor: pointer;
  font-size: 15px;
  transition: var(--t);
  flex-shrink: 0;
}
.newsletter-submit-btn:hover {
  background: var(--green-dark);
}
.footer-newsletter-msg {
  font-size: 12px;
  color: var(--green);
  display: block;
  min-height: 18px;
  margin-bottom: 16px;
}
.footer-newsletter-msg.error {
  color: #e05a5a;
}
.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--footer-muted);
  background: var(--footer-badge-bg);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--footer-badge-border);
}
.footer-badges span i {
  color: var(--green);
  font-size: 12px;
}
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: var(--footer-copy);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--footer-copy);
  transition: color var(--t);
}
.footer-bottom-links a:hover {
  color: var(--footer-link-hover);
}

/* ── BACK TO TOP ────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(42, 140, 110, 0.4);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
#backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#backToTop:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════
   CART DRAWER — spring physics via JS translate
═══════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--t-slow),
    visibility var(--t-slow);
}
.cart-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* On desktop: side drawer. On mobile: bottom sheet via transform. */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100dvh;
  background: var(--bg);
  z-index: 1600;
  display: flex;
  flex-direction: row;
  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.22);
  transform: translate3d(100%, 0, 0);
  transition: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.cart-drawer.cart-ready {
  /* Only apply CSS transition after first JS frame to prevent flash */
  transition: none;
}
.cart-sidebar-strip {
  width: 4px;
  flex-shrink: 0;
  background: linear-gradient(
    180deg,
    var(--green) 0%,
    var(--accent) 50%,
    var(--green-dark) 100%
  );
}
.cart-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.cart-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-header-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.cart-header-text h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.cart-header-sub {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 1px;
}
.close-cart {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  flex-shrink: 0;
}
.close-cart:hover {
  background: var(--green);
  color: white;
}
.cart-added-toast {
  margin: 10px 16px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--green-light);
  border: 1px solid rgba(42, 140, 110, 0.25);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.35s ease;
  pointer-events: none;
  flex-shrink: 0;
}
.cart-added-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.cart-added-toast i {
  font-size: 15px;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-body::-webkit-scrollbar {
  width: 4px;
}
.cart-body::-webkit-scrollbar-track {
  background: transparent;
}
.cart-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.cart-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: row;
  min-height: 120px;
}
.cart-item.hidden {
  display: none;
}
.cart-item-img-wrap {
  width: 110px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #f4fbf7 0%, #e8f5ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  border-right: 1px solid var(--border);
  position: relative;
}
.cart-item-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(42, 140, 110, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}
[data-theme="dark"] .cart-item-img-wrap {
  background: linear-gradient(160deg, #1a2e22 0%, #162618 100%);
}
.cart-item-img-wrap img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(42, 140, 110, 0.2));
  position: relative;
  z-index: 1;
}
.cart-item-details {
  flex: 1;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.cart-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.cart-item-name-wrap {
  min-width: 0;
}
.cart-item-name-wrap h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-variant {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.remove-item-btn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.remove-item-btn:hover {
  background: rgba(224, 90, 90, 0.1);
  border-color: #e05a5a;
  color: #e05a5a;
}
.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
.cart-item-price {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
}
.qty-controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  height: 34px;
}
.qty-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: transparent;
  border: none;
  color: var(--green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--t);
  flex-shrink: 0;
}
.qty-btn:hover {
  background: var(--green);
  color: white;
}
.qty-btn:active {
  transform: scale(0.88);
}
.qty-value {
  min-width: 34px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  line-height: 34px;
  user-select: none;
  flex-shrink: 0;
}
.qty-tier-nudge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(200, 169, 110, 0.1);
  border: 1px dashed rgba(200, 169, 110, 0.5);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  animation: reviewFadeIn 0.4s ease;
}
.qty-tier-nudge.hidden {
  display: none;
}
.qty-tier-nudge.tier-applied {
  background: var(--green-light);
  border: 1px solid rgba(42, 140, 110, 0.3);
  color: var(--green);
}
.qty-tier-nudge i {
  font-size: 13px;
  flex-shrink: 0;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  text-align: center;
  gap: 8px;
}
.cart-empty.hidden {
  display: none;
}
.cart-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.cart-empty-icon i {
  font-size: 24px;
  color: var(--green);
  opacity: 0.6;
}
.cart-empty p {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.cart-empty span {
  font-size: 13px;
  color: var(--muted);
}
.cart-empty-btn {
  margin-top: 12px !important;
}
.cart-promo-input-wrap.hidden {
  display: none;
}
.promo-input-row {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  transition: border-color var(--t);
}
.promo-input-row:focus-within {
  border-color: var(--green);
}
.promo-tag-icon {
  padding: 0 10px;
  color: var(--green);
  font-size: 13px;
  flex-shrink: 0;
}
.promo-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 11px 4px;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.promo-input-row input:focus-visible {
  outline: none;
  box-shadow: none;
}
.promo-input-row input::placeholder {
  letter-spacing: 0;
  color: var(--muted);
  font-size: 13px;
}
.promo-apply-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  flex-shrink: 0;
}
.promo-apply-btn:hover {
  background: var(--green-dark);
}
.promo-feedback {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  min-height: 16px;
  font-weight: 500;
}
.promo-feedback.success {
  color: var(--green);
}
.promo-feedback.error {
  color: #e05a5a;
}
.cart-perks {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--green-xlight);
  border: 1px solid rgba(42, 140, 110, 0.12);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}
.perk i {
  color: var(--green);
  font-size: 13px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.cart-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.cart-footer--disabled {
  opacity: 0.45;
  pointer-events: none;
}
.cart-summary-block {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-line-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.cart-promo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.cart-promo-row.hidden {
  display: none;
}
.cart-promo-row i {
  color: var(--accent);
  margin-right: 4px;
}
.promo-saving-tag {
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.cart-line-divider {
  height: 1px;
  background: var(--border);
  margin: 2px 0;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-total-row > span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.cartTotal {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--green);
}
.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: var(--t);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(42, 140, 110, 0.4);
}
.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42, 140, 110, 0.5);
}
.cart-payment-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 22px;
  color: var(--muted);
}
.cart-payment-row span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ── MODALS ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.modal-minimal {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px 36px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
  position: relative;
  animation: modalSlideUp 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
  border: 1px solid var(--border);
}
@keyframes modalSlideUp {
  from {
    transform: translateY(28px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.modal-x-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green-light);
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.modal-x-close:hover {
  background: var(--green);
  color: white;
}
.modal-check-ring {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.modal-check-ring svg {
  width: 100%;
  height: 100%;
}
.modal-ring-circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: drawRing 0.6s ease 0.2s forwards;
}
.modal-check-path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawCheck 0.4s ease 0.7s forwards;
}
@keyframes drawRing {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}
.modal-minimal h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.modal-minimal > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.modal-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green-xlight);
  border: 1px solid rgba(42, 140, 110, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.modal-detail-row i {
  color: var(--green);
  margin-right: 6px;
}
.modal-detail-row strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.modal-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}
.modal-sub {
  font-size: 13px;
  color: var(--muted);
}

/* ── TOASTS ─────────────────────────────────────── */
.wishlist-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--wishlist-toast-bg);
  color: var(--wishlist-toast-text);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: var(--shadow-lg);
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
  white-space: nowrap;
}
.wishlist-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.wishlist-toast-icon {
  color: var(--wishlist-toast-icon-color);
}
.share-toast i {
  color: var(--green);
}

/* ── STICKY BUY BAR ─────────────────────────────── */
.sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.sticky-buy-bar.show {
  transform: translateY(0);
}
.sticky-buy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.sticky-buy-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sticky-buy-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.sticky-buy-price {
  font-size: 13px;
  color: var(--muted);
}
.sticky-buy-btn {
  padding: 12px 22px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── KEYFRAMES ──────────────────────────────────── */
@keyframes reviewFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wishlist-btn.burst {
  animation: heartBurst 0.4s ease;
}
@keyframes heartBurst {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* ── PAGE TRANSITIONS ───────────────────────────── */
@supports (view-transition-name: none) {
  ::view-transition-old(root) {
    animation: 350ms ease both fade-and-slide-out;
  }
  ::view-transition-new(root) {
    animation: 350ms ease both fade-and-slide-in;
  }
  @keyframes fade-and-slide-out {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-12px);
    }
  }
  @keyframes fade-and-slide-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ── AOS OVERRIDES ──────────────────────────────── */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}
tr[data-aos] {
  display: table-row !important;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET 1024
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .review-card--featured {
    grid-column: span 2;
  }
  .hero-container {
    gap: 40px;
  }
  .product-showcase {
    width: 360px;
    height: 360px;
  }
  .product-img {
    width: 200px;
  }
  .ring1 {
    width: 280px;
    height: 280px;
  }
  .ring2 {
    width: 340px;
    height: 340px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col--brand {
    grid-column: span 2;
  }
  .comparison-cards {
    grid-template-columns: 1fr auto 1fr;
  }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — 900
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-right {
    order: 1;
  }
  .hero-desc {
    text-align: center;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-img-card {
    bottom: -10px;
    right: 10px;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .reviews-score {
    width: 100%;
  }
  .rating-bars {
    min-width: 200px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-tags {
    justify-content: center;
  }
  /* Comparison: stack on narrow tablet */
  .comparison-cards {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
  }
  .cmp-col--himalaya {
    transform: translateY(0);
    order: 1;
  }
  .cmp-divider {
    order: 2;
    width: 100%;
    height: 40px;
    justify-content: center;
    align-items: center;
  }
  .cmp-divider span {
    writing-mode: horizontal-tb;
    letter-spacing: 4px;
    padding: 6px 18px;
  }
  .cmp-col--other {
    order: 3;
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE 768
══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* NAV FIX: nav-inner previously kept the desktop 28px side padding
     on mobile while every other section dropped to 20px, making the
     navbar look inset relative to content below it (extra space on
     the right near the hamburger/cart icons). Match the section
     padding here so navbar edges line up with the rest of the page. */
  .nav-inner {
    padding: 12px 20px;
  }
  .nav-actions {
    gap: 6px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(247, 251, 248, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-slow);
    z-index: 999;
  }
  [data-theme="dark"] .nav-links {
    background: rgba(20, 29, 24, 0.98);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    padding: 13px 16px;
    justify-content: flex-start;
    font-size: 15px;
  }
  .hamburger {
    display: flex;
  }
  .share-nav-btn {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 50px 20px 60px;
  }
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
  .product-showcase {
    width: 300px;
    height: 300px;
  }
  .product-img {
    width: 180px;
  }
  .ring1 {
    width: 230px;
    height: 230px;
  }
  .ring2 {
    width: 285px;
    height: 285px;
  }
  .badge-top {
    font-size: 11px;
    padding: 7px 12px;
    top: 10px;
    right: -8px;
  }
  .badge-bottom {
    font-size: 11px;
    padding: 7px 12px;
    bottom: 20px;
    left: -8px;
  }
  .about {
    padding: 60px 20px;
  }
  .about-img-frame img {
    height: 320px;
  }
  .benefits {
    padding: 60px 20px;
  }
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .benefit-card {
    aspect-ratio: 2/3;
  }
  .ingredients {
    padding: 60px 20px;
  }
  .ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparison {
    padding: 60px 20px;
  }
  .comparison-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cmp-col {
    padding: 28px 22px 24px;
  }
  .cmp-divider {
    height: 36px;
  }
  .cmp-divider span {
    padding: 5px 16px;
    font-size: 12px;
    letter-spacing: 3px;
  }
  .reviews {
    padding: 60px 20px;
  }

  /* Horizontal snap-scroll reviews on mobile */
  .review-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 12px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    /* hide scrollbar */
    scrollbar-width: none;
  }
  .review-grid::-webkit-scrollbar {
    display: none;
  }
  .review-card {
    flex: 0 0 85vw;
    max-width: 340px;
    scroll-snap-align: start;
    /* override hidden-review for snap scroll */
  }
  .review-card--featured {
    grid-column: unset;
  }
  .review-card.hidden-review {
    display: flex !important;
  }
  .review-scroll-dots {
    display: flex;
  }
  /* hide show-more on mobile since all cards are visible in carousel */
  .show-more-wrap {
    display: none;
  }

  .faq {
    padding: 60px 20px;
  }
  .faq-q span:first-child {
    font-size: 17px;
  }
  .contact {
    padding: 60px 20px;
  }
  .contact-right {
    padding: 28px 20px;
  }
  .footer {
    padding-bottom: 90px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-col--brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Cart becomes bottom sheet on mobile */
  .cart-drawer {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 90dvh;
    border-radius: 20px 20px 0 0;
    flex-direction: column;
    box-shadow: 0 -20px 70px rgba(0, 0, 0, 0.3);
    transform: translate3d(0, 100%, 0);
    contain: layout style paint;
  }
  .cart-sidebar-strip {
    width: 100%;
    height: 4px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(
      90deg,
      var(--green),
      var(--accent),
      var(--green-dark)
    );
  }
  .modal-minimal {
    padding: 36px 24px 28px;
  }
  .hero-scroll-hint {
    display: none;
  }
  .sticky-buy-bar {
    display: block;
  }
  #backToTop {
    bottom: 76px;
    right: 16px;
  }
  .write-review-toggle-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .wr-row {
    grid-template-columns: 1fr;
  }
  .cart-item-img-wrap {
    width: 90px;
  }
  .cart-item-img-wrap img {
    width: 64px;
    height: 64px;
  }
  .cart-item-name-wrap h4 {
    font-size: 14px;
  }
  .cart-item-price {
    font-size: 17px;
  }
  .qty-controls {
    height: 32px;
  }
  .qty-btn {
    width: 30px;
    height: 32px;
    min-width: 30px;
    font-size: 10px;
  }
  .qty-value {
    min-width: 30px;
    line-height: 32px;
    font-size: 13px;
  }
}

/* ── INGREDIENT MOBILE SNAP SCROLL ─────────── */
@media (max-width: 640px) {
  .ingredient-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 12px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
    align-items: unset;
  }
  .ingredient-grid::-webkit-scrollbar {
    display: none;
  }
  .ingredient-card {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
}

.ingredient-scroll-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  margin-bottom: 4px;
}
@media (max-width: 640px) {
  .ingredient-scroll-dots {
    display: flex;
  }
}
.ingredient-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s ease,
    width 0.3s ease;
}
.ingredient-dot.active {
  background: var(--green);
  width: 18px;
  border-radius: 3px;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE 480
══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* NAV FIX continued: tighten a touch further at the smallest
     breakpoint to match .hero/.about/etc side padding exactly. */
  .nav-inner {
    padding: 10px 16px;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
  }
  .share-nav-btn,
  .theme-toggle,
  .wishlist-nav-btn,
  .cart-toggle-btn {
    width: 40px;
    height: 40px;
  }

  .ingredient-grid {
    grid-template-columns: 1fr;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .benefit-card {
    aspect-ratio: 4/3;
  }
  .about-img-card {
    position: static;
    margin-top: 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .hero-title {
    font-size: 32px;
  }
  .product-showcase {
    width: 260px;
    height: 260px;
  }
  .product-img {
    width: 160px;
  }
  .ring1 {
    width: 200px;
    height: 200px;
  }
  .ring2 {
    width: 250px;
    height: 250px;
  }
  .badge-top {
    top: 8px;
    right: -4px;
    font-size: 10px;
    padding: 6px 10px;
  }
  .badge-bottom {
    bottom: 16px;
    left: -4px;
    font-size: 10px;
    padding: 6px 10px;
  }
  .product-glass-card {
    padding: 18px 22px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    flex: none;
    width: 100%;
  }
  .wishlist-btn {
    width: 100%;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .modal-minimal {
    padding: 32px 20px 24px;
  }
  .review-card {
    flex: 0 0 92vw;
  }
  .cmp-col {
    padding: 22px 16px 20px;
  }
}

/* ══════════════════════════════════════════════════
   NEW FEATURES — v10
══════════════════════════════════════════════════ */

/* ── SKELETON LOADERS ───────────────────────────── */
:where(.hlc-skeleton-wrap) {
  position: relative;
}
.hlc-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--green-xlight) 20%,
    var(--green-light) 40%,
    var(--green-xlight) 60%
  );
  background-size: 200% 100%;
  animation: hlcShimmer 1.4s ease-in-out infinite;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}
.hlc-skeleton--done {
  opacity: 0;
  pointer-events: none;
}
@keyframes hlcShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hlc-skeleton {
    animation: none;
    background: var(--green-xlight);
  }
}

/* ── TOAST QUEUE ────────────────────────────────── */
.hlc-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--wishlist-toast-bg);
  color: var(--wishlist-toast-text);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: var(--shadow-lg);
  z-index: 4200;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
}
.hlc-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hlc-toast .hlc-toast-msg {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hlc-toast--success .hlc-toast-icon {
  color: var(--green);
}
.hlc-toast--error .hlc-toast-icon {
  color: #e0445a;
}
.hlc-toast--wishlist .hlc-toast-icon {
  color: var(--wishlist-toast-icon-color);
}

/* ── PROMO CODE COPY ────────────────────────────── */
.promo-code-copy {
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
  transition: opacity var(--t);
}
.promo-code-copy:hover,
.promo-code-copy:focus-visible {
  opacity: 0.75;
}

/* ── REVIEW SORT CONTROLS ───────────────────────── */
.review-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}
.review-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.review-controls label i {
  color: var(--green);
  font-size: 12px;
}
.review-controls select {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: var(--t);
}
.review-controls select:hover {
  border-color: var(--green);
}
.review-controls select:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(42, 140, 110, 0.1);
}

/* ── ORDER HISTORY PANEL ────────────────────────── */
.hlc-orders-link {
  display: inline-block;
  margin-top: 6px;
  background: none;
  border: none;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hlc-orders-panel {
  max-width: 440px;
  text-align: left;
}
.hlc-orders-panel h2 {
  text-align: center;
  margin-bottom: 20px;
}
.hlc-orders-empty {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 20px 0;
}
.hlc-orders-empty.hidden {
  display: none;
}
.hlc-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}
.hlc-order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--green-xlight);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.hlc-order-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.hlc-order-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.hlc-order-info strong {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}
.hlc-order-info span {
  font-size: 11.5px;
  color: var(--muted);
}
.hlc-order-total {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}

/* ── PWA INSTALL BUTTON ─────────────────────────── */
.hlc-pwa-install {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card-bg);
  color: var(--green);
  border: 1.5px solid var(--green);
  padding: 12px 20px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    background var(--t),
    color var(--t);
}
.hlc-pwa-install.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hlc-pwa-install:hover {
  background: var(--green);
  color: white;
}
.hlc-pwa-install--busy {
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hlc-pwa-install {
    bottom: 76px;
    left: 16px;
    padding: 10px 16px;
    font-size: 12.5px;
  }
}

/* ── iOS "Add to Home Screen" instructions modal ── */
.hlc-ios-install-panel {
  max-width: 340px;
}
.hlc-ios-install-panel h2 {
  font-size: 20px;
  margin-bottom: 14px;
}
.hlc-ios-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 6px;
}
.hlc-ios-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.hlc-ios-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hlc-ios-step i {
  color: var(--green);
  margin: 0 2px;
}

/* ── OFFLINE BANNER ─────────────────────────────── */
.hlc-offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: #7a3a1f;
  color: #fff3e8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease-out);
}
.hlc-offline-banner.show {
  transform: translateY(0);
}
.hlc-offline-banner i {
  font-size: 13px;
}

/* ── REDUCED TRANSPARENCY SUPPORT ───────────────── */
@media (prefers-reduced-transparency: reduce) {
  .navbar,
  .product-glass-card,
  .hlc-tooltip-box,
  .cart-overlay,
  .modal-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .navbar {
    background: var(--bg) !important;
  }
  .product-glass-card {
    background: var(--card-bg) !important;
  }
  [data-theme="dark"] .product-glass-card {
    background: var(--card-bg) !important;
  }
  .modal-overlay {
    background: rgba(0, 0, 0, 0.75) !important;
  }
  .cart-overlay {
    background: rgba(0, 0, 0, 0.65) !important;
  }
}

/* ── RESPONSIVE TWEAKS FOR NEW FEATURES ─────────── */
@media (max-width: 768px) {
  .review-controls {
    justify-content: space-between;
    width: 100%;
  }
  .review-controls select {
    flex: 1;
    max-width: 180px;
  }
  .hlc-toast {
    font-size: 12.5px;
    padding: 10px 18px;
  }
  .hlc-orders-panel {
    max-width: 100%;
  }
}
