/* ============ King's Edge Nutrition — Brand Tokens ============ */
:root{
  --king-red: #C20D0D;
  --king-red-dark: #9A0A0A;
  --royal-orange: #F7931A;
  --royal-orange-dark: #D97A0A;
  --charcoal: #1D1D1D;
  --white: #FFFFFF;
  --bg: #FAFAF8;
  --border: #E9E9E9;
  --text: #2F2F2F;
  --text-soft: #6B6B68;

  --font-display: "League Spartan", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gradient-king: linear-gradient(135deg, var(--king-red) 0%, var(--royal-orange) 100%);
  --shadow-card: 0 2px 8px rgba(29,29,29,0.06);
  --shadow-lift: 0 16px 40px rgba(194,13,13,0.14);
  --radius: 14px;
  --container: 1240px;
}

*, *::before, *::after{ box-sizing: border-box; min-width: 0; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing:0.01em;
  margin:0 0 .5em;
  line-height:1.05;
  color: var(--charcoal);
}
p{ margin:0 0 1em; color: var(--text-soft); line-height:1.65; }
.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-display);
  font-weight:700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--king-red);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:3px;
  background: var(--royal-orange);
  border-radius:2px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family: var(--font-display);
  font-weight:700;
  text-transform: uppercase;
  letter-spacing:0.04em;
  font-size:0.92rem;
  padding: 15px 30px;
  border-radius: 999px;
  border:2px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
/* Filled/gradient buttons: no border at all — a transparent border on a fully
   round (border-radius:999px) shape combined with box-shadow produces a thin
   rendering seam at the curved edges in Chromium/WebKit. Padding is bumped by
   the border-width that would've been there, so size matches .btn-outline. */
.btn-primary{
  background: var(--gradient-king);
  color: var(--white);
  box-shadow: var(--shadow-lift);
  border: none;
  padding: 17px 32px;
}
.btn-primary:hover{ box-shadow: 0 20px 46px rgba(194,13,13,0.22); }
.btn-outline{
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-outline:hover{ background: var(--charcoal); color: var(--white); }
.hero .btn-outline{
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.hero .btn-outline:hover{ background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-light{
  background: var(--white);
  color: var(--king-red);
  border: none;
  padding: 17px 32px;
}
.btn-light:hover{ box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.btn-sm{ padding: 10px 20px; font-size:0.78rem; }
.btn:disabled{ opacity:0.5; cursor:not-allowed; box-shadow:none; }
.btn-block{ width:100%; }

/* ============ Top utility bar ============ */
.topbar{
  background: var(--charcoal);
  color: var(--white);
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 8px 24px;
  font-size: 0.78rem;
  letter-spacing:0.04em;
  text-align:center;
  font-family: var(--font-display);
  font-weight:600;
  text-transform: uppercase;
}
.topbar strong{ color: var(--royal-orange); }

/* ============ Header ============ */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:12px;
  padding-bottom:12px;
  gap: 20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand img{ height:60px; width:auto; }
.nav-desktop{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav-desktop a{
  font-family: var(--font-display);
  font-weight:700;
  font-size:0.86rem;
  text-transform:uppercase;
  letter-spacing:0.04em;
  color: var(--charcoal);
  position:relative;
  padding: 6px 0;
}
.nav-desktop a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:0;
  height:2px; background: var(--gradient-king);
  transition: right .2s ease;
}
.nav-desktop a:hover::after{ right:0; }
.header-actions{ display:flex; align-items:center; gap:14px; }
.icon-btn{
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  border:1px solid var(--border);
  background:var(--white);
  cursor:pointer;
  position:relative;
  transition: border-color .15s ease, transform .15s ease;
}
.icon-btn:hover{ border-color: var(--royal-orange); transform: translateY(-1px); }
.icon-btn svg{ width:18px; height:18px; stroke: var(--charcoal); }
.cart-count{
  position:absolute; top:-4px; right:-4px;
  background: var(--king-red); color:#fff;
  font-size:10px; font-weight:700;
  width:17px; height:17px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-body);
}
.menu-toggle{
  display:none;
  border:none; background:none; cursor:pointer;
  width:40px;height:40px;
  align-items:center; justify-content:center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
  content:""; display:block;
  width:22px; height:2px; background: var(--charcoal);
  position:relative; transition: all .2s ease;
}
.menu-toggle span::before{ position:absolute; top:-7px; }
.menu-toggle span::after{ position:absolute; top:7px; }

.nav-mobile{
  display:none;
  flex-direction:column;
  background: var(--white);
  border-top:1px solid var(--border);
  padding: 10px 24px 22px;
}
.nav-mobile a{
  font-family: var(--font-display);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.03em;
  padding: 14px 0;
  border-bottom:1px solid var(--border);
  font-size:0.95rem;
}
.nav-mobile .btn{ margin-top:16px; }
body.menu-open .nav-mobile{ display:flex; }
body.menu-open .menu-toggle span{ background: transparent; }
body.menu-open .menu-toggle span::before{ transform: rotate(45deg); top:0; }
body.menu-open .menu-toggle span::after{ transform: rotate(-45deg); top:0; }

/* ============ Hero ============ */
.hero{
  position:relative;
  background:
    linear-gradient(100deg, rgba(20,20,19,0.94) 0%, rgba(20,20,19,0.75) 40%, rgba(20,20,19,0.35) 75%, rgba(20,20,19,0.55) 100%),
    url('../assets/brand/hero-bg.png') center 40%/cover no-repeat,
    var(--charcoal);
  color: var(--white);
  overflow:hidden;
  padding: 84px 0 96px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 88% 85%, rgba(194,13,13,0.28), transparent 55%);
  pointer-events:none;
}
.hero .container{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items:center;
  gap: 48px;
}
.hero-badges{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px;
}
.pill{
  display:inline-flex; align-items:center; gap:6px;
  background: rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.18);
  color:#fff;
  padding:7px 14px;
  border-radius:999px;
  font-size:0.72rem;
  font-family: var(--font-display);
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
}
.pill.gold{ color: var(--royal-orange); border-color: rgba(247,147,26,0.4); }
.hero h1{
  color:#fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 20px;
}
.hero h1 .accent{
  background: var(--gradient-king);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero p.lead{
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:40px; }
.hero-stats{
  display:flex;
  gap: 34px;
  flex-wrap:wrap;
}
.hero-stats div strong{
  display:block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--royal-orange);
  line-height:1;
  margin-bottom:6px;
}
.hero-stats div span{
  display:block;
  font-size:0.72rem;
  line-height:1.5;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color: rgba(255,255,255,0.6);
}
.hero-stats-note{
  margin-top:10px;
  font-size:0.68rem;
  letter-spacing:0.02em;
  color: rgba(255,255,255,0.4);
}
.hero-visual{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-visual .ring{
  position:absolute;
  width: 92%; aspect-ratio:1/1;
  border-radius:50%;
  background: var(--gradient-king);
  filter: blur(0px);
  opacity:0.9;
}
.hero-visual img{
  position:relative;
  width: 78%;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45));
  border-radius: 24px;
}
.hero-visual .float-card{
  position:absolute;
  background: #fff;
  color: var(--charcoal);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.28);
  font-family: var(--font-display);
  font-weight:700;
  font-size:0.8rem;
  display:flex;
  align-items:center;
  gap:10px;
}
.float-card.top{ top: 6%; left: -4%; }
.float-card.bottom{ bottom: 8%; right: -4%; }
.float-card .dot{ width:10px;height:10px;border-radius:50%; background: var(--gradient-king); }

/* ============ Marquee strip ============ */
.marquee{
  background: var(--gradient-king);
  overflow:hidden;
  padding: 12px 0;
}
.marquee-track{
  display:flex;
  width: max-content;
  animation: scroll 26s linear infinite;
}
.marquee-track span{
  display:inline-flex; align-items:center; gap:10px;
  color:#fff;
  font-family: var(--font-display);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:0.82rem;
  padding: 0 28px;
  white-space:nowrap;
}
.marquee-track span::after{ content:"◆"; margin-left:28px; opacity:0.6; font-size:0.6rem; }
@keyframes scroll{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ============ Section shell ============ */
section{ padding: 84px 0; }

/* JS scroll-reveal targets: kept fully visible with no-JS/no-CSS-support;
   GSAP sets the animated "from" state inline only once it actually runs. */
[data-reveal]{ will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; }
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap:wrap;
}
.section-head h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin:0; }
.section-head p{ max-width:420px; margin:8px 0 0; }

/* ============ Trust / Why ============ */
.trust-band{ background: var(--white); border-bottom:1px solid var(--border); }
.trust-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-grid--three{ grid-template-columns: repeat(3, 1fr); }
.trust-card{
  text-align:center;
  padding: 10px;
  min-width: 0;
}
.trust-card .icon{
  width:58px; height:58px;
  margin: 0 auto 16px;
  border-radius:50%;
  background: var(--bg);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
}
.trust-card .icon svg{ width:26px; height:26px; stroke: var(--king-red); }
.trust-card h4{ font-size:1rem; margin-bottom:8px; }
.trust-card p{ font-size:0.88rem; margin:0; }

/* ============ Category chips ============ */
.chip-row{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 40px;
}
.chip{
  padding: 9px 20px;
  border-radius:999px;
  border:1.5px solid var(--border);
  background:#fff;
  font-family: var(--font-display);
  font-weight:700;
  font-size:0.78rem;
  text-transform:uppercase;
  letter-spacing:0.04em;
  cursor:pointer;
  transition: all .15s ease;
  color: var(--text);
}
.chip:hover{ border-color: var(--royal-orange); }
.chip.active{
  background: var(--gradient-king);
  border: none;
  padding: 10.5px 21.5px;
  color:#fff;
}

/* ============ Product grid ============ */
.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card{
  background:#fff;
  border-radius: var(--radius);
  border:1px solid var(--border);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{ box-shadow: var(--shadow-lift); }
.product-media{
  position:relative;
  aspect-ratio: 1/1;
  background: var(--bg);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  cursor:pointer;
}
.product-body h3[data-view],
.product-body p.desc[data-view]{
  cursor:pointer;
}
.product-body h3[data-view]:hover{ color: var(--king-red); }
.product-media img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .35s ease;
}
.product-card:hover .product-media img{ transform: scale(1.06); }
.badge{
  position:absolute; top:12px; left:12px;
  background: var(--king-red);
  color:#fff;
  font-family: var(--font-display);
  font-weight:700;
  font-size:0.65rem;
  letter-spacing:0.05em;
  text-transform:uppercase;
  padding:5px 10px;
  border-radius:999px;
  z-index:2;
}
.badge.gold{ background: var(--royal-orange); }
.quick-add{
  position:absolute; bottom:12px; right:12px;
  width:38px;height:38px; border-radius:50%;
  background:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  opacity:0; transform: translateY(8px);
  transition: all .2s ease;
}
.product-card:hover .quick-add{ opacity:1; transform: translateY(0); }
.quick-add svg{ width:17px; height:17px; stroke: var(--king-red); }
.product-body{
  padding: 18px 18px 20px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.product-cat{
  font-size:0.68rem;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color: var(--royal-orange-dark);
  font-weight:700;
  margin-bottom:6px;
  font-family: var(--font-display);
}
.product-body h3{
  font-size: 1.02rem;
  margin-bottom:8px;
  text-transform:none;
  letter-spacing:0;
}
.product-body p.desc{
  font-size:0.85rem;
  margin-bottom:14px;
  flex:1;
}
.price-row{
  display:flex; align-items:center; gap:10px; margin-bottom:14px;
}
.price{
  font-family: var(--font-display);
  font-weight:700;
  font-size:1.15rem;
  color: var(--king-red);
}
.price-strike{
  font-size:0.85rem;
  color:#a3a3a1;
  text-decoration: line-through;
}
.save-tag{
  font-size:0.66rem;
  font-weight:700;
  color: var(--royal-orange-dark);
  background: rgba(247,147,26,0.12);
  padding:3px 8px;
  border-radius:999px;
  font-family: var(--font-display);
}

/* ============ Brand story ============ */
.story{
  background: var(--white);
}
.story .container{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items:center;
}
.story-visual{
  position:relative;
  background: var(--charcoal) url('../assets/brand/story-model.jpg') 28% 10%/cover no-repeat;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.story h2{ font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.story h2 .accent{ color: var(--king-red); }
.story-points{ margin-top: 26px; display:flex; flex-direction:column; gap:18px; }
.story-point{ display:flex; gap:16px; align-items:flex-start; }
.story-point .num{
  font-family: var(--font-display);
  font-weight:700;
  font-size:1.3rem;
  color: var(--royal-orange);
  min-width:38px;
}
.story-point h4{ font-size:1rem; margin-bottom:4px; }
.story-point p{ font-size:0.9rem; margin:0; }

/* ============ Stats banner ============ */
.stats-banner{
  background: var(--gradient-king);
  padding: 56px 0;
}
.stats-grid{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  text-align:center;
  transition: opacity .35s ease;
}
.stats-grid.is-fading{ opacity:0; }
@media (prefers-reduced-motion: reduce){
  .stats-grid{ transition:none; }
}
.stats-grid strong{
  display:block;
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,2.8rem);
  color:#fff;
}
.stats-grid span{
  color: rgba(255,255,255,0.85);
  font-size:0.78rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  font-weight:600;
}

/* ============ Testimonials ============ */
.reviews-section{
  background: var(--white) url('../assets/brand/reviews-model.jpg') right center / contain no-repeat;
  border-top: 1px solid var(--border);
}
.reviews-layout{ max-width: 480px; }

/* Reviews page */
.reviews-stats{
  display:flex;
  gap: 48px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.reviews-stats strong{
  display:block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--king-red);
  line-height:1;
  margin-bottom:6px;
}
.reviews-stats span{
  font-size:0.76rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color: var(--text-soft);
  font-weight:600;
}
#reviewsGrid{ margin-top: 30px; }
#reviewsGrid .testimonial-card p{
  min-height: 4.4em;
}
.testimonial-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
}
.testimonial-grid--stack{
  grid-template-columns: 1fr;
  gap: 16px;
}
.testimonial-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.testimonial-grid--stack .testimonial-card{ padding: 22px 24px; }
.stars{ color: var(--royal-orange); letter-spacing:2px; margin-bottom:14px; font-size:0.95rem; }
.testimonial-card p{ font-size:0.92rem; color: var(--text); margin-bottom:18px; }
.reviewer{ display:flex; align-items:center; gap:12px; }
.reviewer .avatar{
  width:40px; height:40px; border-radius:50%;
  background: var(--gradient-king);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family: var(--font-display); font-weight:700;
}
.reviewer strong{ display:block; font-size:0.85rem; }
.reviewer span{ font-size:0.72rem; color: var(--text-soft); }

/* ============ Newsletter / CTA ============ */
.cta-band{
  background: var(--charcoal);
  color:#fff;
  border-radius: 24px;
  padding: 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 40px;
  flex-wrap:wrap;
  position:relative;
  overflow:hidden;
}
.cta-band::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 90% 10%, rgba(247,147,26,0.3), transparent 55%);
}
.cta-band h2{ color:#fff; font-size: clamp(1.6rem,3vw,2.2rem); max-width:420px; position:relative; }
.cta-band .cta-voucher-callout{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height:1.1;
  color:#fff;
  margin: 8px 0 0;
  position:relative;
}
.cta-band .cta-voucher-callout .accent{
  background: var(--gradient-king);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.cta-band p{ color: rgba(255,255,255,0.65); margin-top:8px; position:relative; }
.newsletter-form{
  display:flex; gap:10px; position:relative; flex-wrap:wrap;
}
.newsletter-form input{
  padding: 14px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color:#fff;
  font-family: var(--font-body);
  min-width:240px;
  outline:none;
}
.newsletter-form input::placeholder{ color: rgba(255,255,255,0.5); }
.newsletter-wrap{ position:relative; display:flex; flex-direction:column; gap:10px; }
.newsletter-result{
  margin:0;
  font-size:0.85rem;
  max-width:320px;
  display:none;
}
.newsletter-result.success{ display:block; color: var(--royal-orange); font-weight:600; }
.newsletter-result.error{ display:block; color: #ff8a8a; }

/* ============ Contact modal ============ */
.contact-modal-overlay{
  position:fixed; inset:0;
  background: rgba(29,29,29,0.6);
  display:none;
  align-items:center; justify-content:center;
  z-index: 1000;
  padding: 20px;
}
body.contact-modal-open .contact-modal-overlay{ display:flex; }
.contact-modal{
  background:#fff;
  border-radius: 20px;
  max-width: 560px;
  width:100%;
  max-height: 88vh;
  overflow-y:auto;
  position:relative;
  padding: 40px 36px;
}
.contact-form-head{ text-align:center; margin:0 0 24px; }
.contact-form-head h2{ font-size: clamp(1.4rem,3vw,1.7rem); }
.contact-form-head p{ margin-top:8px; }
.contact-form textarea{
  font-family: var(--font-body);
  font-size:0.92rem;
  padding: 12px 14px;
  border-radius:10px;
  border: 1.5px solid var(--border);
  background:#fff;
  color: var(--text);
  outline:none;
  resize:vertical;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea:focus{
  border-color: var(--royal-orange);
  box-shadow: 0 0 0 3px rgba(247,147,26,0.15);
}
.contact-form button[type="submit"]{ margin-top:22px; }
.contact-form-msg{ font-size:0.85rem; margin-top:12px; min-height:1em; }
.contact-form-msg:empty{ margin-top:0; }
.contact-form-msg.success{ color:#1b8a3d; font-weight:600; }
.contact-form-msg.error{ color: var(--king-red); }

.footer-contact-link{ transition: color .15s ease; }
.footer-contact-link:hover{ color: var(--royal-orange); text-decoration: underline; }

/* ============ FAQ modal ============ */
.faq-modal-overlay{
  position:fixed; inset:0;
  background: rgba(29,29,29,0.6);
  display:none;
  align-items:center; justify-content:center;
  z-index: 1000;
  padding: 20px;
}
body.faq-modal-open .faq-modal-overlay{ display:flex; }
.faq-modal{
  background:#fff;
  border-radius: 20px;
  max-width: 700px;
  width:100%;
  max-height: 88vh;
  overflow-y:auto;
  position:relative;
  padding: 40px 36px;
}
.faq-modal-head{ text-align:center; margin:0 0 20px; }
.faq-modal-head h2{ font-size: clamp(1.4rem,3vw,1.7rem); }
.faq-modal-head p{ margin-top:8px; }
.faq-modal .chip-row{ justify-content:center; margin-bottom:24px; }
.faq-list{ display:flex; flex-direction:column; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-item:first-child{ border-top:1px solid var(--border); }
.faq-question{
  width:100%;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:16px 4px;
  background:none; border:none;
  text-align:left;
  font-family: var(--font-body);
  font-weight:600;
  font-size:0.94rem;
  color: var(--charcoal);
  cursor:pointer;
}
.faq-chevron{ width:18px; height:18px; stroke: var(--text-soft); flex-shrink:0; transition: transform .2s ease; }
.faq-item.open .faq-chevron{ transform: rotate(180deg); stroke: var(--king-red); }
.faq-answer{ display:none; padding: 0 4px 18px; }
.faq-item.open .faq-answer{ display:block; }
.faq-answer p{ margin:0; font-size:0.88rem; line-height:1.65; color: var(--text-soft); }
.faq-answer p a{ color: var(--royal-orange-dark); font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.faq-answer p a:hover{ color: var(--king-red); }

/* ============ Footer ============ */
.site-footer{
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand img{ height:40px; margin-bottom:16px; }
.footer-brand p{ font-size:0.86rem; max-width:280px; }
.social-row{ display:flex; gap:10px; margin-top:18px; }
.social-row a{
  width:36px;height:36px; border-radius:50%;
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  transition: all .15s ease;
}
.social-row a:hover{ background: var(--gradient-king); border-color:transparent; }
.social-row a:hover svg{ stroke:#fff; }
.social-row svg{ width:15px;height:15px; stroke: var(--charcoal); }
.footer-col h5{
  font-family: var(--font-display);
  text-transform:uppercase;
  font-size:0.82rem;
  letter-spacing:0.06em;
  margin-bottom:18px;
  color: var(--charcoal);
}
.footer-col ul li{ margin-bottom:12px; }
.footer-col a{ font-size:0.88rem; color: var(--text-soft); }
.footer-col a:hover{ color: var(--king-red); }
.footer-col p{ font-size:0.88rem; margin-bottom:8px; }
.footer-bottom{
  border-top:1px solid var(--border);
  padding: 22px 0;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:12px;
}
.footer-bottom p{ margin:0; font-size:0.78rem; }
.payment-icons{ display:flex; gap:8px; }
.payment-icons span{
  font-size:0.68rem; font-weight:700;
  border:1px solid var(--border);
  padding:5px 9px; border-radius:6px;
  color: var(--text-soft);
  font-family: var(--font-display);
}

/* ============ Product modal ============ */
.modal-overlay{
  position:fixed; inset:0;
  background: rgba(29,29,29,0.6);
  display:none;
  align-items:center; justify-content:center;
  z-index: 1000;
  padding: 20px;
}
body.modal-open .modal-overlay{ display:flex; }
.modal{
  background:#fff;
  border-radius: 20px;
  max-width: 780px;
  width:100%;
  max-height: 88vh;
  overflow-y:auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  position:relative;
}
.modal-close{
  position:absolute; top:14px; right:14px;
  width:36px; height:36px; border-radius:50%;
  background: var(--bg); border:1px solid var(--border);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  z-index:2;
}
.modal-media{ background: var(--bg); display:flex; align-items:center; justify-content:center; padding: 30px; }
.modal-media img{ width:100%; border-radius:12px; }
.modal-body{ padding: 34px 30px; }
.modal-body .product-cat{ margin-bottom:8px; }
.modal-body h3{ font-size:1.4rem; text-transform:none; letter-spacing:0; margin-bottom:10px; }
.modal-body .price-row{ margin-bottom:16px; }
.modal-body .price{ font-size:1.4rem; }
.modal-body p.desc{ font-size:0.92rem; max-height: 220px; overflow-y:auto; }
.modal-colors{ display:none; margin-bottom:18px; }
.modal-colors h4{
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom:10px;
}
.modal-colors .modal-color-name{ text-transform:none; font-family: var(--font-body); font-weight:600; letter-spacing:0; color: var(--text-soft); }
.color-swatches{ display:flex; flex-wrap:wrap; gap:12px; }
.color-swatch{
  width:28px; height:28px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,0.15);
  padding:0;
  cursor:pointer;
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow .15s ease, transform .15s ease;
}
.color-swatch:hover{ transform: scale(1.08); }
.color-swatch.active{ box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--king-red); }

.quick-color-picker{
  position:absolute;
  z-index:150;
  background: var(--white);
  border-radius:12px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.2);
  padding:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  max-width:168px;
}
.quick-color-picker .color-swatch{ width:24px; height:24px; }
.modal-contents{ margin-top:18px; padding-top:16px; border-top:1px solid var(--border); }
.modal-contents h4{
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom:8px;
}
.modal-contents ul{ list-style:none; margin:0; padding:0; }
.modal-contents li{
  position:relative;
  padding-left:18px;
  font-size:0.88rem;
  color: var(--charcoal);
  line-height:1.7;
}
.modal-contents li::before{
  content:"";
  position:absolute; left:2px; top:10px;
  width:5px; height:5px;
  border-radius:50%;
  background: var(--king-red);
}
.modal-actions{ display:flex; gap:12px; margin-top:20px; }

/* ============ Toast ============ */
.toast{
  position:fixed; bottom:26px; right:26px;
  background: var(--charcoal); color:#fff;
  padding: 14px 22px; border-radius: 12px;
  font-family: var(--font-display); font-weight:700; font-size:0.85rem;
  display:flex; align-items:center; gap:10px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
  transform: translateY(140%);
  transition: transform .3s ease;
  z-index: 1200;
}
.toast.show{ transform: translateY(0); }
.toast .dot{ width:9px;height:9px;border-radius:50%; background: var(--royal-orange); }

/* ============ Back to top ============ */
.back-to-top{
  position:fixed; bottom:24px; left:24px;
  width:46px; height:46px; border-radius:50%;
  background: var(--gradient-king); color:#fff;
  border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lift);
  opacity:0; pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.back-to-top.show{ opacity:1; pointer-events:auto; }
.back-to-top svg{ width:18px;height:18px; stroke:#fff; }

/* ============ Proof In Motion (video showcase) ============ */
.proof-section{
  background:
    linear-gradient(180deg, rgba(10,8,8,0.75) 0%, rgba(10,8,8,0.5) 45%, rgba(10,8,8,0.8) 100%),
    var(--charcoal) url('../assets/brand/proof-bg.jpg') center/cover no-repeat;
  padding: 96px 0 90px;
  position: relative;
  overflow: hidden;
}
.proof-section .section-head{ position:relative; justify-content:center; text-align:center; }
.proof-section .section-head > div{ max-width:560px; margin:0 auto; }
.proof-section .eyebrow{ justify-content:center; }
.proof-section h2{ color:#fff; }
.proof-section .section-head p{ color: rgba(255,255,255,0.68); max-width:none; margin:10px auto 0; }

.proof-grid{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap: 28px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.phone-mockup{ display:flex; flex-direction:column; align-items:center; width:220px; }
.phone-mockup--side{ transform: translateY(28px); }
.phone-mockup:first-child .phone-frame{ transform: rotate(-6deg); }
.phone-mockup:last-child .phone-frame{ transform: rotate(6deg); }
.phone-mockup--center{ width:240px; z-index:2; }
.phone-mockup--center .phone-frame{ box-shadow: 0 30px 60px rgba(0,0,0,0.5); }

.phone-frame{
  position:relative;
  width:100%;
  aspect-ratio: 9 / 19.5;
  background:#0a0a0a;
  border-radius: 26px;
  padding: 10px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  transition: transform .3s ease;
}
.phone-mockup:hover .phone-frame{ transform: rotate(0deg) translateY(-4px); }
.phone-notch{
  position:absolute;
  top: 10px; left:50%; transform:translateX(-50%);
  width: 84px; height: 22px;
  background:#0a0a0a;
  border-radius: 14px;
  z-index:3;
}
.phone-screen{
  position:relative;
  width:100%; height:100%;
  border-radius: 18px;
  overflow:hidden;
  background: linear-gradient(160deg, #2b2b2b 0%, #101010 60%);
  display:flex;
  align-items:center;
  justify-content:center;
}
.phone-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.phone-tag{
  position:absolute; top:26px; left:14px;
  font-family: var(--font-display);
  font-size:0.62rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#fff;
  background: rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.25);
  padding:5px 10px;
  border-radius:999px;
  backdrop-filter: blur(4px);
  white-space:nowrap;
}
.phone-caption{
  margin-top:20px;
  color: rgba(255,255,255,0.75);
  font-size:0.86rem;
  text-align:center;
  max-width:200px;
}
.proof-cta{
  position:relative;
  margin-top:52px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}
.proof-section .btn-outline{
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.proof-section .btn-outline:hover{ background: var(--white); color: var(--charcoal); border-color: var(--white); }
.proof-cta-voucher{ display:flex; flex-direction:column; align-items:center; gap:9px; }
.proof-cta-voucher-text{
  font-family: var(--font-display);
  font-size:0.76rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color: var(--royal-orange);
  margin:0;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1080px){
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
  .trust-grid{ grid-template-columns: repeat(2,1fr); gap:36px 20px; }
  .trust-grid--three{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; max-width: 420px; margin: 0 auto 20px; }
  .story .container{ grid-template-columns: 1fr; }
  .story-visual{ aspect-ratio: 16 / 10; }
}

@media (max-width: 860px){
  .nav-desktop{ display:none; }
  .menu-toggle{ display:flex; }
  .stats-grid{ grid-template-columns: repeat(2,1fr); gap:30px 20px; }
  .testimonial-grid{ grid-template-columns: 1fr 1fr; }
  .reviews-layout .testimonial-grid{ grid-template-columns: 1fr; }
  .modal{ grid-template-columns: 1fr; }
  .cta-band{ padding: 40px 26px; }
  .reviews-section{ background-image:none; }
  .reviews-layout{ max-width:none; }
  .phone-mockup{ width:170px; }
  .phone-mockup--center{ width:190px; }
  .proof-grid{ gap:16px; }
  .phone-tag{ font-size:0.5rem; padding:4px 8px; top:20px; left:10px; }
  .phone-frame{ border-radius:20px; }
  .phone-screen{ border-radius:14px; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 640px){
  section{ padding: 56px 0; }
  .container{ padding: 0 18px; }
  .hero{ padding: 56px 0 64px; }
  .hero-cta{ flex-direction:column; }
  .hero-cta .btn{ width:100%; }
  .hero-stats{ gap:22px; }
  .product-grid{ grid-template-columns: repeat(2, 1fr); gap:14px; }
  .product-body{ padding:12px 12px 14px; }
  .product-body h3{ font-size:0.88rem; }
  .price{ font-size:1rem; }
  .trust-grid{ grid-template-columns: 1fr 1fr; gap:24px 16px; }
  .trust-grid--three{ grid-template-columns: 1fr; gap:24px; }
  .trust-card .icon{ width:48px;height:48px; }
  .testimonial-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap:30px 20px; }
  .footer-brand{ grid-column: 1 / -1; }
  .cta-band{ flex-direction:column; align-items:flex-start; text-align:left; }
  .newsletter-wrap{ width:100%; }
  .newsletter-form{ width:100%; }
  .newsletter-form input{ flex:1; min-width:0; }
  .section-head{ flex-direction:column; align-items:flex-start; }
  .back-to-top{ left:16px; bottom:16px; width:42px; height:42px; }
  .story-visual{ aspect-ratio: 4 / 3; border-radius:18px; }
  .reviews-stats{ gap:24px; flex-wrap:wrap; }
  .reviews-stats strong{ font-size:1.6rem; }
  .proof-section{ padding:56px 0; }
  .proof-section .section-head{ align-items:center; }
  .proof-grid{ gap:10px; margin-top:44px; }
  .phone-mockup{ width:104px; }
  .phone-mockup--center{ width:120px; }
  .phone-mockup--side{ transform:none; }
  .phone-mockup:first-child .phone-frame,
  .phone-mockup:last-child .phone-frame{ transform:none; }
  .phone-mockup:hover .phone-frame{ transform:none; }
  .phone-notch{ width:52px; height:15px; top:7px; }
  .phone-tag{ font-size:0.5rem; padding:4px 7px; top:16px; left:10px; }
  .phone-caption{ font-size:0.72rem; max-width:120px; margin-top:12px; }
  .phone-frame{ border-radius:14px; }
  .phone-screen{ border-radius:9px; }
}

@media (max-width: 400px){
  .product-grid{ grid-template-columns: 1fr 1fr; gap:10px; }
  .brand img{ height:48px; }
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-hero{
  background: var(--charcoal);
  color:#fff;
  padding: 40px 0;
}
.checkout-hero .crumb{
  font-size:0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom:10px;
}
.checkout-hero .crumb a{ color: rgba(255,255,255,0.8); }
.checkout-hero .crumb a:hover{ color: var(--royal-orange); }
.checkout-hero h1{
  color:#fff;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin:0;
}

.checkout-wrap{ padding: 56px 0 90px; }
.checkout-grid{
  display:grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items:start;
}
.checkout-panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
}
.checkout-panel h2{
  font-size:1.1rem;
  text-transform:uppercase;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
}
.checkout-panel h2 .step-num{
  width:26px;height:26px;border-radius:50%;
  background: var(--gradient-king); color:#fff;
  font-family: var(--font-display); font-weight:700;
  font-size:0.8rem;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}

/* Cart line items */
.cart-line{
  display:grid;
  grid-template-columns: 68px 1fr auto auto;
  gap: 16px;
  align-items:center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-line:last-child{ border-bottom:none; padding-bottom:0; }
.cart-line:first-child{ padding-top:0; }
.cart-line-media{
  width:68px; height:68px; border-radius:10px;
  overflow:hidden; background: var(--bg);
  border:1px solid var(--border);
}
.cart-line-media img{ width:100%; height:100%; object-fit:cover; }
.cart-line-info .cat{
  font-size:0.65rem; text-transform:uppercase; letter-spacing:0.06em;
  color: var(--royal-orange-dark); font-weight:700;
  font-family: var(--font-display);
}
.cart-line-info h4{
  font-size:0.94rem; margin:2px 0 4px; text-transform:none; letter-spacing:0;
}
.cart-line-info .unit-price{ font-size:0.82rem; color: var(--text-soft); }
.qty-stepper{
  display:flex; align-items:center; gap:0;
  border:1px solid var(--border); border-radius:999px; overflow:hidden;
  height:34px;
}
.qty-stepper button{
  width:32px; height:100%; border:none; background:#fff; cursor:pointer;
  font-family: var(--font-display); font-weight:700; font-size:1rem; color: var(--charcoal);
  display:flex; align-items:center; justify-content:center;
  transition: background .15s ease;
}
.qty-stepper button:hover{ background: var(--bg); }
.qty-stepper span{
  width:32px; text-align:center; font-family: var(--font-display); font-weight:700; font-size:0.88rem;
}
.cart-line-right{ text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.line-total{ font-family: var(--font-display); font-weight:700; color: var(--king-red); }
.remove-line{
  background:none; border:none; cursor:pointer; color: var(--text-soft);
  font-size:0.72rem; text-decoration:underline; text-underline-offset:2px;
  font-family: var(--font-body);
}
.remove-line:hover{ color: var(--king-red); }

.cart-empty{
  text-align:center; padding: 50px 20px;
}
.cart-empty svg{ width:52px; height:52px; stroke: var(--border); margin-bottom:18px; }
.cart-empty p{ margin-bottom:22px; }

/* Shipping form */
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.form-group{ display:flex; flex-direction:column; gap:6px; }
.form-group.full{ grid-column: 1 / -1; }
.form-group label{
  font-size:0.76rem; font-weight:700; text-transform:uppercase; letter-spacing:0.04em;
  color: var(--charcoal); font-family: var(--font-display);
}
.form-group label .req{ color: var(--king-red); }
.form-group input, .form-group select{
  font-family: var(--font-body);
  font-size:0.92rem;
  padding: 12px 14px;
  border-radius:10px;
  border: 1.5px solid var(--border);
  background:#fff;
  color: var(--text);
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus, .form-group select:focus{
  border-color: var(--royal-orange);
  box-shadow: 0 0 0 3px rgba(247,147,26,0.15);
}
/* Only flag invalid fields red after a submit attempt (.was-validated on the
   form) — :placeholder-shown doesn't help here since several fields (First
   Name, Surname, Barangay, City, Province) have no placeholder attribute, so
   :not(:placeholder-shown) would be true even before the user touches them. */
#shippingForm.was-validated input:invalid,
#shippingForm.was-validated select:invalid{ border-color: var(--king-red); }
.form-group select:disabled{ color: var(--text-soft); background: var(--bg); cursor:not-allowed; }
.form-hint{ font-size:0.76rem; color: var(--text-soft); margin-top:-8px; margin-bottom:6px; }
.form-hint a{ color: var(--royal-orange-dark); font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.form-hint a:hover{ color: var(--king-red); }

/* Voucher code (under Your Order) */
.voucher-block{
  background: var(--bg);
  border: 1.5px dashed var(--border);
  border-radius:12px;
  padding:14px 16px;
  margin-bottom:20px;
}
#voucherBlock{ margin:20px 0 0; }
.voucher-block label{
  font-size:0.76rem; font-weight:700; text-transform:uppercase; letter-spacing:0.04em;
  color: var(--charcoal); font-family: var(--font-display);
  display:block; margin-bottom:8px;
}
.voucher-input-row{ display:flex; gap:10px; }
.voucher-input-row input{
  flex:1; min-width:0;
  font-family: var(--font-body);
  font-size:0.92rem;
  padding: 11px 14px;
  border-radius:10px;
  border: 1.5px solid var(--border);
  background:#fff;
  color: var(--text);
  outline:none;
  text-transform:uppercase;
}
.voucher-input-row input:focus{
  border-color: var(--royal-orange);
  box-shadow: 0 0 0 3px rgba(247,147,26,0.15);
}
.voucher-input-row input:disabled{ background: var(--border); color: var(--text-soft); text-transform:none; }
.voucher-msg{ font-size:0.8rem; margin:8px 0 0; min-height:1em; }
.voucher-msg:empty{ margin:0; }
.voucher-msg.success{ color: #1b8a3d; font-weight:600; }
.voucher-msg.error{ color: var(--king-red); }

/* Locked cart controls once Payment step is reached — re-enabled via "Edit details" */
.qty-stepper button:disabled,
.remove-line:disabled{ opacity:0.35; cursor:not-allowed; }

/* Order summary */
.order-summary{
  position:sticky; top: 96px;
}
.summary-row{
  display:flex; justify-content:space-between; align-items:center;
  padding: 10px 0;
  font-size:0.92rem;
  color: var(--text);
}
.summary-row.muted{ color: var(--text-soft); font-size:0.85rem; }
.summary-row.total{
  border-top: 1.5px dashed var(--border);
  margin-top:8px; padding-top:18px;
  font-family: var(--font-display); font-weight:700; font-size:1.15rem;
  color: var(--charcoal);
}
.summary-row.total .val{ color: var(--king-red); }
.summary-note{
  font-size:0.76rem; color: var(--text-soft); margin-top:14px; text-align:center;
  display:flex; align-items:center; justify-content:center; gap:6px;
}
.summary-note svg{ width:14px; height:14px; stroke: var(--royal-orange-dark); flex-shrink:0; }

/* Confirmation panel */
.confirm-panel{ text-align:center; padding: 60px 24px; }
.confirm-icon{
  width:76px;height:76px; border-radius:50%;
  background: var(--gradient-king);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 24px;
}
.confirm-icon svg{ width:36px;height:36px; stroke:#fff; }
/* .checkout-panel h2 sets display:flex (for the numbered step badges
   elsewhere) which makes text-align:center on .confirm-panel a no-op here —
   this heading has no icon to flex-align, so force it back to a plain
   centered block. */
.confirm-panel h2{ display:block; font-size:1.6rem; margin-bottom:10px; }
.confirm-panel .ref{
  font-family: var(--font-display); font-weight:700; color: var(--king-red);
  font-size:1.1rem; margin-bottom:24px;
}
.confirm-recap{
  text-align:left; max-width:460px; margin: 0 auto 28px;
  background: var(--bg); border:1px solid var(--border); border-radius:12px; padding:20px 24px;
}
.confirm-recap h4{ font-size:0.8rem; text-transform:uppercase; margin-bottom:10px; }
.confirm-recap p{ font-size:0.88rem; margin-bottom:4px; }
.confirm-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* Payment step */
.payment-card-icons{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:18px;
  padding-top:18px;
  border-top: 1px solid var(--border);
}
.card-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:34px;
  border-radius:7px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  font-family: var(--font-display);
  font-weight:800;
  font-size:0.72rem;
  letter-spacing:0.01em;
  color:#fff;
}
.card-icon--visa{ background: #1A1F71; font-style:italic; font-size:0.78rem; }
.card-icon--amex{ background: #2E77BC; font-size:0.62rem; }
.card-icon--mastercard{ background:#fff; box-shadow: 0 1px 3px rgba(0,0,0,0.12), inset 0 0 0 1px var(--border); }
.mc-circles{ position:relative; width:30px; height:18px; display:block; }
.mc-circles span{ position:absolute; top:0; width:18px; height:18px; border-radius:50%; }
.mc-circles span:first-child{ left:0; background:#EB001B; }
.mc-circles span:last-child{ left:12px; background:#F79E1B; mix-blend-mode:multiply; }
.stripe-mount{
  font-family: var(--font-body);
  font-size:0.92rem;
  padding: 14px;
  border-radius:10px;
  border: 1.5px solid var(--border);
  background:#fff;
  color: var(--text-soft);
  min-height: 44px;
  box-sizing: border-box;
}
/* display:flex on this container is deliberately avoided — Stripe's
   injected iframe can render at a broken/zero size under flex layout in
   some browsers (looks like an empty field that silently accepts no
   visible input). The placeholder-only state below is the one exception,
   since centering its ::before text needs it and there's no real iframe
   in that state yet. */
.stripe-mount.placeholder{
  display:flex;
  align-items:center;
}
.stripe-mount.placeholder::before{
  content: "Card number, expiry and CVC will appear here once Stripe is connected";
  font-size: 0.86rem;
}
.stripe-mount.StripeElement--focus{ border-color: var(--royal-orange); box-shadow: 0 0 0 3px rgba(247,147,26,0.15); }
.stripe-mount.StripeElement--invalid{ border-color: var(--king-red); }

@media (max-width: 900px){
  .checkout-grid{ grid-template-columns: 1fr; }
  .order-summary{ position:static; }
}
@media (max-width: 560px){
  .checkout-panel{ padding:20px; }
  .cart-line{ grid-template-columns: 56px 1fr; row-gap:10px; }
  .cart-line-media{ width:56px; height:56px; }
  .cart-line-right{ grid-column: 1 / -1; flex-direction:row; align-items:center; justify-content:space-between; }
  .form-grid{ grid-template-columns: 1fr; }
  .confirm-actions{ flex-direction:column; }
  .confirm-actions .btn{ width:100%; }
}

/* ============ Sticky cart bar ============ */
.cart-bar{
  position:fixed; left:50%; bottom:18px; z-index:95;
  width:min(560px, calc(100% - 32px));
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:12px 12px 12px 20px;
  background: var(--charcoal); color:#fff;
  border-radius:999px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
  text-decoration:none;
  transform: translate(-50%, 160%);
  opacity:0; pointer-events:none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease, box-shadow .2s ease;
}
.cart-bar.show{ transform: translate(-50%, 0); opacity:1; pointer-events:auto; }
.cart-bar.show:hover{ box-shadow: 0 20px 44px rgba(0,0,0,0.4); }
.cart-bar-info{ display:flex; align-items:center; gap:14px; min-width:0; }
.cart-bar-icon{ position:relative; display:flex; flex:none; }
.cart-bar-icon svg{ width:24px; height:24px; stroke:#fff; }
.cart-bar-count{
  position:absolute; top:-9px; right:-11px;
  min-width:19px; height:19px; padding:0 5px; border-radius:10px;
  background: var(--king-red); color:#fff;
  font-family: var(--font-display); font-size:0.7rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.cart-bar-text{ display:flex; flex-direction:column; line-height:1.2; min-width:0; }
.cart-bar-items{ font-size:0.74rem; color:rgba(255,255,255,0.7); }
.cart-bar-total{ font-family: var(--font-display); font-size:1.02rem; letter-spacing:0.01em; }
.cart-bar-cta{
  flex:none;
  background: var(--gradient-king); color:#fff;
  font-family: var(--font-display); font-weight:700; font-size:0.86rem;
  text-transform:uppercase; letter-spacing:0.05em;
  padding:13px 24px; border-radius:999px;
  transition: filter .2s ease, transform .2s ease;
}
.cart-bar:hover .cart-bar-cta{ filter:brightness(1.08); transform: translateX(2px); }
.cart-bar:focus-visible{ outline:3px solid var(--royal-orange); outline-offset:3px; }
.cart-bar.bump{ animation: cartBarBump .45s ease; }
@keyframes cartBarBump{
  0%{ transform: translate(-50%, 0) scale(1); }
  40%{ transform: translate(-50%, 0) scale(1.035); }
  100%{ transform: translate(-50%, 0) scale(1); }
}
/* keep the bar from covering the footer or the other floating buttons */
body.cart-bar-visible{ padding-bottom:88px; }
body.cart-bar-visible .back-to-top{ bottom:96px; }
body.cart-bar-visible .toast{ bottom:96px; transform: translateY(calc(100% + 120px)); }
body.cart-bar-visible .toast.show{ transform: translateY(0); }
@media (max-width:520px){
  .cart-bar{ bottom:max(12px, env(safe-area-inset-bottom)); padding-left:16px; }
  .cart-bar-cta{ padding:12px 18px; }
}
@media (prefers-reduced-motion: reduce){
  .cart-bar, .cart-bar-cta{ transition:none; }
  .cart-bar.bump{ animation:none; }
}

/* ============ Our Story action buttons ============ */
.story-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }

/* ============ Team page ============ */
.team-intro{ max-width:760px; margin:0 auto; text-align:center; }
.team-intro .eyebrow{ justify-content:center; }
.team-intro h2{ margin:6px 0 16px; }
.team-intro p{ font-size:1.05rem; }
.team-intro .team-tagline{
  font-family: var(--font-display); text-transform:uppercase; font-weight:700;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem); letter-spacing:0.02em;
  color: var(--charcoal); margin-top:22px;
}
.team-tagline .accent{
  background: var(--gradient-king);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.team-subhead{ text-align:center; margin:52px 0 30px; }
.team-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:28px; align-items:stretch; }
.team-card{
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius:24px; overflow:hidden;
  display:flex; flex-direction:column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.team-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.team-photo{ aspect-ratio:1 / 1; overflow:hidden; background: var(--charcoal); }
.team-photo img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .5s ease; }
.team-card:hover .team-photo img{ transform: scale(1.04); }
.team-info{ padding:26px 26px 30px; }
.team-role{
  display:block; margin-bottom:6px;
  font-family: var(--font-display); font-weight:700; font-size:0.78rem;
  letter-spacing:0.09em; text-transform:uppercase; color: var(--king-red);
}
.team-info h3{ font-size:1.5rem; margin:0 0 12px; }
.team-info p{ margin:0; font-size:0.95rem; }
@media (max-width:980px){ .team-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width:640px){
  .team-grid{ grid-template-columns: 1fr; }
  .team-subhead{ margin-top:40px; }
}
@media (prefers-reduced-motion: reduce){
  .team-card, .team-photo img{ transition:none; }
  .team-card:hover, .team-card:hover .team-photo img{ transform:none; }
}

/* ============ Affiliate band (under the community join banner) ============ */
.affiliate-band{
  margin-top:28px;
  scroll-margin-top:110px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius:24px;
  padding:44px 48px;
  display:flex; align-items:center; justify-content:space-between; gap:44px;
}
.affiliate-copy{ flex:1 1 auto; min-width:0; max-width:640px; }
.affiliate-copy h2{ font-size: clamp(1.5rem,2.8vw,2.1rem); margin:6px 0 12px; }
.affiliate-copy > p{ margin-bottom:16px; }
.affiliate-copy .btn{ margin-top:26px; }
.affiliate-perks{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.affiliate-perks li{
  position:relative; padding-left:28px;
  font-weight:600; color: var(--charcoal); font-size:0.95rem;
}
.affiliate-perks li::before{
  content:""; position:absolute; left:0; top:0.32em;
  width:16px; height:16px; border-radius:50%;
  background: var(--gradient-king);
}
.affiliate-perks li::after{
  content:""; position:absolute; left:5px; top:calc(0.32em + 3px);
  width:4px; height:7px;
  border: solid #fff; border-width:0 2px 2px 0; transform: rotate(45deg);
}
.affiliate-media{
  flex:0 0 min(380px, 38%);
  aspect-ratio: 4 / 5;
  border-radius:20px; overflow:hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}
.affiliate-media img{ width:100%; height:100%; object-fit:cover; object-position:center 35%; display:block; }
@media (max-width:900px){
  .affiliate-band{ flex-direction:column; align-items:stretch; padding:28px 22px 32px; gap:26px; }
  .affiliate-media{ order:-1; flex:none; width:100%; aspect-ratio: 4 / 3; }
  .affiliate-media img{ object-position:center 28%; }
  .affiliate-copy{ max-width:none; }
}
@media (max-width:520px){ .affiliate-copy .btn{ width:100%; text-align:center; } }

/* ============ COD note (checkout) ============ */
.cod-note{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin:20px 0 4px; padding:12px 14px 12px 18px;
  background: #FFF6F2; border:1.5px dashed #F4B9A6; border-radius:14px;
}
.cod-note p{ margin:0; font-size:0.9rem; color: var(--charcoal); }
.cod-note strong{ font-family: var(--font-display); text-transform:uppercase; letter-spacing:0.03em; color:#EE4D2D; }
.shopee-btn{
  display:inline-flex; align-items:center; gap:8px; flex:none;
  background:#EE4D2D; color:#fff; text-decoration:none;
  font-family: var(--font-display); font-weight:700; font-size:0.95rem; letter-spacing:0.02em;
  padding:8px 18px 8px 12px; border-radius:999px;
  box-shadow: 0 6px 16px rgba(238,77,45,0.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.shopee-btn svg{ width:26px; height:26px; }
.shopee-btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 22px rgba(238,77,45,0.38); filter:brightness(1.05); }
.shopee-btn:focus-visible{ outline:3px solid var(--royal-orange); outline-offset:3px; }
@media (max-width:520px){ .cod-note{ padding:14px; } .shopee-btn{ width:100%; justify-content:center; } }

/* ============ Product FAQs (inside the product detail popup) ============ */
.modal-faqs{ grid-column:1 / -1; padding:0 30px 26px; }
.modal-faq-toggle{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 4px; background:none; border:none; border-top:1px solid var(--border);
  font-family: var(--font-display); font-weight:700; font-size:0.95rem;
  text-transform:uppercase; letter-spacing:0.05em; color: var(--charcoal);
  cursor:pointer; text-align:left;
}
.modal-faq-toggle:hover{ color: var(--king-red); }
.modal-faq-count{ color: var(--text-soft); font-weight:600; }
.modal-faqs.open .modal-faq-toggle .faq-chevron{ transform: rotate(180deg); stroke: var(--king-red); }
.modal-faqs .faq-list{ display:none; }
.modal-faqs.open .faq-list{ display:flex; }
.modal-faqs .faq-item:first-child{ border-top:1px solid var(--border); }

/* ============ Product card star rating ============ */
.product-rating{
  display:inline-flex; align-items:center; gap:7px;
  margin:0 0 10px; text-decoration:none;
  font-size:0.82rem; color: var(--text-soft); font-weight:600;
}
.rating-stars{
  position:relative; display:inline-block; line-height:1;
  font-size:1rem; letter-spacing:2px; color:#DAD7D2; white-space:nowrap;
}
.rating-stars-fill{
  position:absolute; left:0; top:0; overflow:hidden; white-space:nowrap;
  color: var(--royal-orange);
}
.rating-num{ color: var(--charcoal); font-family: var(--font-display); font-weight:700; }
.product-rating:hover .rating-num{ color: var(--king-red); }
.product-rating:focus-visible{ outline:2px solid var(--royal-orange); outline-offset:3px; border-radius:6px; }
