/* WellWith — hand-coded styles. Premium light/white Himalayan golden theme. */
:root {
  --bg: #faf8f5;
  --bg2: #f5efe1;
  --card: #ffffff;
  --card-border: rgba(140, 105, 25, 0.18);
  --gold: #e8931f;
  --gold-light: #d99a26;
  --gold-dark: #9c6207;
  --cream: #2a2114;
  --cream-dim: rgba(42, 33, 20, 0.66);
  --cream-faint: rgba(42, 33, 20, 0.42);
  --emerald: #2e8b57;
  --green: #2b8a5c;
  --text: #231b0e;
  --muted: rgba(35, 27, 14, 0.64);
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.kicker {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dark);
}
h1, h2, .display { font-family: var(--display); }
.section-title { font-size: clamp(30px, 5vw, 48px); font-weight: 700; margin-top: 10px; }
.section-sub { color: var(--muted); margin-top: 12px; max-width: 620px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: none; transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: #241a05; box-shadow: 0 10px 30px -8px rgba(207, 148, 16, 0.55);
}
.btn-gold:hover { opacity: 0.93; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid rgba(35, 27, 14, 0.3);
}
.btn-outline:hover { background: rgba(35, 27, 14, 0.06); }
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: #ffffff; box-shadow: 0 12px 32px -10px rgba(43, 138, 92, 0.5);
}
.btn-green:hover { transform: scale(1.02); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(140, 105, 25, 0.14);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-name {
  font-family: var(--display); font-size: 26px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-tag { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(35, 27, 14, 0.78); }
.nav-links a:hover { color: var(--gold-dark); }
.nav-cta { padding: 10px 22px; font-size: 13px; }
.hamburger { display: none; background: none; border: none; font-size: 26px; color: var(--text); }
.mobile-nav-actions { display: none; align-items: center; gap: 18px; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 10px 20px 18px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 4px; border-bottom: 1px solid rgba(140,105,25,0.1); font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  padding: 120px 0 90px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.97) 8%, rgba(255,255,255,0.6) 45%, rgba(255,255,255,0.12) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.08; font-weight: 700; margin: 14px 0 18px; }
.golden-shimmer {
  background: linear-gradient(100deg, var(--gold-dark), var(--gold) 40%, #f7d774 50%, var(--gold) 60%, var(--gold-dark));
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }
.hero p.lead { font-size: 17px; color: rgba(35,27,14,0.8); max-width: 520px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fact-strip {
  min-height: 30px; margin: 6px 0 18px; font-size: 15px; color: var(--gold-dark);
  font-style: italic; border-left: 3px solid var(--gold); padding-left: 14px;
}
.fact-strip .cursor { display: inline-block; width: 2px; height: 1em; background: var(--gold); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float-berry { position: absolute; z-index: 1; animation: floaty 4s ease-in-out infinite; opacity: 0.9; }
@keyframes floaty { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }

/* ---------- Listen & Discover ---------- */
.listen { background: radial-gradient(ellipse at 50% 20%, rgba(46,139,87,0.08), transparent 65%); }
.listen-card {
  background: #ffffff; border: 1px solid var(--card-border);
  border-radius: 26px; padding: 34px 28px; max-width: 760px; margin: 0 auto;
  box-shadow: 0 18px 50px -20px rgba(140,105,25,0.28); text-align: center;
}
.listen-card img.product-img { height: 220px; width: auto; margin: 0 auto; object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(60,45,15,0.22)); }
.listen-card h3 { font-size: 26px; margin-top: 16px; }
.listen-card .purpose { color: var(--muted); margin-top: 8px; font-size: 15px; }
.listen-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; gap: 12px; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--card-border); background: rgba(35,27,14,0.04); color: var(--text); font-size: 14px; font-weight: 500;
}
.nav-btn:hover:not(:disabled) { background: rgba(35,27,14,0.09); }
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.listen-count { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(35,27,14,0.45);
  backdrop-filter: blur(4px); display: none; align-items: flex-end; justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal {
  position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto;
  background: #ffffff; border: 1px solid var(--card-border);
  border-radius: 24px 24px 0 0; padding: 28px 24px 30px; text-align: center;
  box-shadow: 0 30px 80px -20px rgba(60,45,15,0.35);
  animation: slideUp 0.25s ease-out;
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--card-border); background: rgba(35,27,14,0.05); color: var(--muted); font-size: 18px;
}
.modal img.product-img { height: 150px; width: auto; margin: 0 auto; object-fit: contain; }
.modal h3 { font-size: 22px; margin-top: 12px; }
.modal .desc { color: var(--muted); font-size: 14px; margin-top: 8px; }
.audio-box {
  margin-top: 20px; border: 1px solid var(--card-border); border-radius: 16px;
  background: rgba(35,27,14,0.03); padding: 16px;
}
.audio-box audio { width: 100%; margin-top: 10px; }
.audio-controls { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.audio-controls .nav-btn { padding: 10px 16px; font-size: 13px; }
.modal .wa-order { margin-top: 18px; width: 100%; }

/* ---------- Partner ---------- */
.partner-why { display: grid; gap: 14px; margin: 34px 0; }
.why-row { display: flex; gap: 14px; align-items: flex-start; background: #fffdf7;
  border: 1px solid var(--card-border); border-radius: 14px; padding: 16px 18px; }
.why-row .dot { color: var(--gold-dark); font-size: 20px; line-height: 1.4; }
.why-row strong { display: block; font-size: 16px; }
.why-row p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.partner-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 10px 30px -18px rgba(60,45,15,0.25);
}
.partner-card:hover { transform: translateY(-4px); border-color: rgba(207,148,16,0.5); }
.partner-card .icon { font-size: 38px; }
.partner-card h3 { font-size: 21px; margin: 12px 0 6px; }
.partner-card .tagline { color: var(--gold-light); font-size: 14px; font-style: italic; margin-bottom: 12px; }
.partner-card ul { list-style: none; margin: 12px 0 18px; }
.partner-card li { font-size: 14px; color: var(--muted); padding: 5px 0 5px 24px; position: relative; }
.partner-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold-dark); font-weight: 700; }
.partner-card .btn { width: 100%; margin-top: 6px; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 44px; }
.product-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease; display: flex; flex-direction: column;
  box-shadow: 0 10px 30px -18px rgba(60,45,15,0.22);
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(207,148,16,0.5); }
.product-card .img-wrap { background: linear-gradient(160deg, #fbf7ec, #f4eddb); padding: 26px; position: relative; }
.product-card .img-wrap img { height: 190px; width: 100%; object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(60,45,15,0.18)); }
.product-card .anim-icon { position: absolute; top: 14px; right: 16px; font-size: 30px; animation: floaty 4s ease-in-out infinite; }
.product-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.product-card h3 { font-size: 21px; margin: 8px 0 4px; }
.product-card .tagline { color: var(--gold-light); font-style: italic; font-size: 14px; margin-bottom: 10px; }
.product-card .desc { color: var(--muted); font-size: 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .row { display: flex; gap: 10px; margin-top: 16px; }
.product-card .row .btn { flex: 1; padding: 12px 10px; font-size: 13px; }

/* ---------- Story ---------- */
.story { background: var(--bg2); }
.story-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.story-inner p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.stats { display: flex; justify-content: center; gap: 48px; margin-top: 40px; flex-wrap: wrap; }
.stat .num { font-size: 32px; font-weight: 700; color: var(--gold-dark); font-family: var(--display); }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Footer ---------- */
footer { background: #f3ecdc; border-top: 1px solid rgba(140,105,25,0.16); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
footer h3.brand-name { font-size: 24px; }
footer h4 { font-size: 15px; margin-bottom: 12px; color: var(--cream); }
footer p, footer li { font-size: 14px; color: var(--cream-faint); }
footer ul { list-style: none; }
footer li { padding: 4px 0; }
footer a:hover { color: var(--gold-dark); }
.footer-bottom { border-top: 1px solid rgba(35,27,14,0.1); margin-top: 44px; padding: 20px 0;
  text-align: center; font-size: 12px; color: var(--cream-faint); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  font-size: 30px; box-shadow: 0 10px 28px -6px rgba(37,211,102,0.6);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Product page ---------- */
.page-head { padding: 110px 0 30px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.back-link:hover { color: var(--gold-dark); }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product-hero .img-box { background: linear-gradient(160deg, #fbf7ec, #f1e8d2); border: 1px solid var(--card-border); border-radius: 26px; padding: 44px; position: relative; }
.product-hero .img-box img { width: 100%; max-height: 420px; object-fit: contain; }
.product-hero .img-box .anim-icon { position: absolute; top: 22px; right: 24px; font-size: 46px; animation: floaty 4s ease-in-out infinite; }
.product-hero .cat { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.product-hero h1 { font-size: clamp(34px, 5vw, 52px); margin: 10px 0 8px; }
.product-hero .tagline { font-family: var(--display); font-style: italic; color: var(--gold-light); font-size: 20px; margin-bottom: 16px; }
.product-hero .desc { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.flash-grid { display: grid; gap: 18px; margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.flashcard { perspective: 900px; cursor: pointer; min-height: 210px; }
.flashcard .inner { position: relative; width: 100%; height: 100%; min-height: 210px;
  transition: transform 0.55s; transform-style: preserve-3d; }
.flashcard.flipped .inner { transform: rotateY(180deg); }
.flashcard .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--card-border); border-radius: 16px; background: #ffffff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center;
  box-shadow: 0 10px 26px -18px rgba(60,45,15,0.25); }
.flashcard .back { transform: rotateY(180deg); background: #faf5e8; }
.flashcard .icon { font-size: 40px; }
.flashcard h4 { font-size: 16px; margin-top: 10px; }
.flashcard .hint { font-size: 11px; color: var(--cream-faint); margin-top: 8px; }
.flashcard .benefit { font-size: 14px; color: var(--muted); }
.juice-steps { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.juice-step { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px;
  padding: 20px 22px; text-align: center; min-width: 150px; }
.juice-step .step-icon { font-size: 36px; }
.juice-step .step-name { font-size: 14px; font-weight: 600; margin-top: 8px; }
.trust-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.trust-badge { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 16px 24px; text-align: center; }
.trust-badge strong { display: block; font-size: 15px; }
.trust-badge span { font-size: 12px; color: var(--muted); }

/* ---------- Expert page ---------- */
.expert-hero { display: grid; grid-template-columns: 340px 1fr; gap: 52px; align-items: center; }
.expert-photo { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 4px solid rgba(207,148,16,0.4); box-shadow: 0 24px 60px -18px rgba(207,148,16,0.45); }
.expert-badge { position: absolute; bottom: 6px; right: 6px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #241a05;
  border-radius: 14px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.expert-hero h1 { font-size: clamp(36px, 5vw, 54px); }
.expert-hero .role { font-family: var(--display); font-style: italic; color: var(--gold-light); font-size: 19px; margin: 6px 0 18px; }
.expert-hero p.bio { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 40px; }
.cred-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 24px;
  box-shadow: 0 10px 26px -18px rgba(60,45,15,0.22); }
.cred-card .icon { font-size: 30px; }
.cred-card h3 { font-size: 17px; margin: 10px 0 6px; }
.cred-card p { font-size: 14px; color: var(--muted); }

/* ---------- Solution Finder ---------- */
.sf-wrap { max-width: 680px; margin: 0 auto; }
.sf-input-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 22px; padding: 34px 28px; text-align: center;
  box-shadow: 0 16px 40px -22px rgba(60,45,15,0.28); }
.sf-input-card h2 { font-size: 28px; margin-bottom: 8px; }
.sf-input-card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.sf-search { display: flex; gap: 10px; }
.sf-search input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--card-border);
  background: rgba(35,27,14,0.03); color: var(--text); font-size: 15px; outline: none; }
.sf-search input:focus { border-color: var(--gold); }
.sf-search button { flex-shrink: 0; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--card-border);
  background: rgba(35,27,14,0.03); color: var(--text); font-size: 13px; }
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.thinking { text-align: center; padding: 60px 20px; }
.thinking .dots span { display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); margin: 0 5px; animation: tbounce 1.2s infinite; }
.thinking .dots span:nth-child(2) { animation-delay: 0.15s; }
.thinking .dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes tbounce { 0%,60%,100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-14px); opacity: 1; } }
.sf-result-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px;
  padding: 24px; margin-bottom: 16px; }
.sf-result-card h3 { font-size: 18px; }
.sf-result-card .why { color: var(--muted); font-size: 14px; margin: 6px 0 10px; }
.tag { display: inline-block; font-size: 11px; padding: 4px 12px; border-radius: 999px;
  background: rgba(207,148,16,0.14); color: var(--gold-dark); margin: 2px 4px 2px 0; }
.bill { background: #fbf7ec; color: #2a2118; border-radius: 6px; padding: 30px 26px; font-family: "Courier New", monospace;
  max-width: 420px; margin: 0 auto; box-shadow: 0 20px 50px -12px rgba(60,45,15,0.35); }
.bill h3 { font-family: "Courier New", monospace; text-align: center; font-size: 18px; border-bottom: 2px dashed #999; padding-bottom: 12px; margin-bottom: 12px; }
.bill .bill-line { font-size: 13px; padding: 3px 0; }
.bill .bill-group { font-weight: 700; margin-top: 10px; font-size: 14px; }
.bill .bill-foot { border-top: 2px dashed #999; margin-top: 14px; padding-top: 12px; font-size: 12px; text-align: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; gap: 30px; }
  .expert-hero { grid-template-columns: 1fr; gap: 34px; text-align: center; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .mobile-nav-actions { display: flex; }
  .hamburger { display: block; }
  .hero { padding-bottom: 70px; }
  section.block { padding: 60px 0; }
  .sf-search { flex-direction: column; }
  .sf-search .btn { width: 100%; }
  .modal { border-radius: 24px 24px 0 0; }
  .stats { gap: 28px; }
}
@media (min-width: 761px) {
  .modal-backdrop { align-items: center; padding: 20px; }
  .modal { border-radius: 24px; }
}

/* ---------- Cart ---------- */
.cart-link { position: relative; font-size: 22px; line-height: 1; text-decoration: none; }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-dark); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; border: 2px solid #fff;
}
.btn-block { width: 100%; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: rgba(30, 24, 8, 0.94); color: #fff; font-size: 14px; font-weight: 600;
  padding: 13px 22px; border-radius: 999px; z-index: 999;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4); white-space: nowrap; max-width: 92vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty .big-icon { font-size: 64px; }
.cart-empty h2 { margin: 18px 0 8px; }
.cart-empty p { color: var(--muted); margin-bottom: 26px; }

.cart-items { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 30px; }
.cart-item {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid rgba(140, 105, 25, 0.16); border-radius: 18px;
  padding: 14px 16px; box-shadow: 0 8px 24px -14px rgba(140, 105, 25, 0.35);
}
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 { font-size: 16px; margin: 0 0 4px; }
.cart-item-info .tagline { font-size: 12.5px; color: var(--muted); margin: 0; }

.qty-stepper {
  display: flex; align-items: center; gap: 2px; flex-shrink: 0;
  border: 1px solid rgba(140, 105, 25, 0.3); border-radius: 999px; padding: 3px;
}
.qty-stepper button {
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: rgba(207, 148, 16, 0.14); color: var(--gold-dark);
  font-size: 17px; font-weight: 700; cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.qty-stepper button:active { transform: scale(0.92); }
.qty-stepper span { min-width: 30px; text-align: center; font-weight: 700; font-size: 15px; }

.cart-del {
  background: none; border: none; font-size: 20px; cursor: pointer; flex-shrink: 0;
  opacity: 0.55; padding: 8px;
}
.cart-del:hover { opacity: 1; }

.cart-summary {
  background: #fff; border: 1px solid rgba(140, 105, 25, 0.16); border-radius: 20px;
  padding: 24px; box-shadow: 0 8px 24px -14px rgba(140, 105, 25, 0.35);
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px;
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; padding-bottom: 6px;
}
.cart-total-row strong { font-size: 20px; }
.cart-note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }

@media (max-width: 560px) {
  .cart-item { gap: 12px; padding: 12px; }
  .cart-item img { width: 58px; height: 58px; }
  .cart-item-info h3 { font-size: 14px; }
  .cart-item-info .tagline { display: none; }
}
/* ---------- Cart gratitude moment ---------- */
.gratitude-open { overflow: hidden; }
.gratitude-overlay {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  visibility: hidden;
  pointer-events: none;
}
.gratitude-overlay.active { visibility: visible; pointer-events: auto; }
.gratitude-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 10, .05);
  backdrop-filter: blur(0);
  opacity: 0;
}
.gratitude-overlay.active .gratitude-shade {
  animation: gratitudeDim .4s ease forwards;
}
.gratitude-scene {
  position: relative;
  width: min(520px, 92vw);
  height: min(760px, 94svh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(18px, 4vh, 36px) 18px 0;
  isolation: isolate;
}
.gratitude-scene p {
  position: absolute;
  z-index: 3;
  top: clamp(22px, 5vh, 50px);
  width: min(450px, 86vw);
  margin: 0;
  padding: 12px 18px;
  color: #fff;
  font: 700 clamp(18px, 3.2vw, 25px)/1.28 var(--display);
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0,0,0,.78);
  opacity: 0;
  transform: translateY(-7px);
}
.gratitude-farmer-wrap {
  width: min(480px, 88vw);
  height: min(650px, 78svh);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.32));
  opacity: 0;
  transform: translate3d(34vw, 22vh, 0) scale(.88);
  transform-origin: center bottom;
}
.gratitude-farmer-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
}
.gratitude-overlay.active .farmer-arriving { animation: farmerArrivingFrame 1.3s .4s both; }
.gratitude-overlay.active .farmer-namaste { animation: farmerNamasteFrame 2s 1.45s both; }
.gratitude-overlay.active .farmer-speaking { animation: farmerSpeakingFrame .95s 1.95s both; }
.gratitude-scene > span {
  position: absolute;
  z-index: 4;
  bottom: clamp(22px, 3.8vh, 38px);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #123e2b;
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
  font: 800 16px var(--display);
  opacity: 0;
  transform: translateY(8px);
}
.gratitude-overlay.active .gratitude-farmer-wrap {
  animation: farmerEnter .8s .4s cubic-bezier(.2,.75,.22,1) forwards,
             farmerBreathe 1.25s 1.35s ease-in-out infinite alternate;
}
.gratitude-overlay.active .gratitude-scene p {
  animation: gratitudeQuote .6s 1.35s ease forwards;
}
.gratitude-overlay.active .gratitude-scene > span {
  animation: gratitudeThanks .45s 1.95s ease forwards;
}
@keyframes gratitudeDim {
  to { background: rgba(5,14,10,.58); backdrop-filter: blur(4px) brightness(.66); opacity: 1; }
}
@keyframes farmerEnter {
  0% { opacity: 0; transform: translate3d(34vw,22vh,0) scale(.88); }
  72% { opacity: 1; transform: translate3d(-1.8vw,-1vh,0) scale(1.015); }
  100% { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes farmerBreathe {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(0,-3px,0) scale(1.008); }
}
@keyframes farmerArrivingFrame { 0%,100% { opacity: 0; } 8%,88% { opacity: 1; } }
@keyframes farmerNamasteFrame { 0%,100% { opacity: 0; } 10%,94% { opacity: 1; } }
@keyframes farmerSpeakingFrame {
  0%, 12%, 31%, 47%, 68%, 100% { opacity: 0; }
  13%, 30%, 48%, 67% { opacity: 1; }
}
@keyframes gratitudeQuote { to { opacity: 1; transform: translateY(0); } }
@keyframes gratitudeThanks { to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .gratitude-scene { width: 100%; height: 100svh; padding-bottom: 0; }
  .gratitude-scene p { top: max(20px, env(safe-area-inset-top)); font-size: clamp(17px,5.2vw,21px); }
  .gratitude-farmer-wrap { width: min(96vw,470px); height: min(76svh,650px); }
  .gratitude-scene > span { bottom: calc(16px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .gratitude-overlay.active .gratitude-farmer-wrap,
  .gratitude-overlay.active .gratitude-scene p,
  .gratitude-overlay.active .gratitude-scene > span,
  .gratitude-overlay.active .gratitude-shade { animation-duration: .01ms !important; animation-delay: 0s !important; }
}



/* Minimal product-page topbar: back button only */
.product-topbar { padding: 18px 0 6px; }
.product-topbar .back-link { font-size: 16px; font-weight: 600; color: var(--gold); text-decoration: none; }
