/* ============================================
   VITILIGO CARE — Premium Design System
   ============================================ */

:root {
  /* Colors */
  --green-900: #0f2d18;
  --green-800: #1a4527;
  --green-700: #1f5a30;
  --green-600: #2a7a4b;
  --green-500: #38966a;
  --green-400: #52b882;
  --green-100: #e8f5ee;
  --green-50:  #f2faf5;

  --gold:      #c8902a;
  --gold-lt:   #e8b84b;
  --gold-pale: #fdf5e4;

  --ink:       #111a14;
  --ink-2:     #2c3d2f;
  --ink-3:     #4a5e4e;
  --ink-4:     #7a907d;
  --line:      #d8eadb;
  --surface:   #f6fbf7;
  --white:     #ffffff;

  /* Type */
  --font-sans:  'Sarabun', sans-serif;
  --font-serif: 'Noto Serif Thai', serif;

  /* Spacing */
  --section-py: 80px;
  --container:  1120px;
  --radius-sm:  6px;
  --radius:     14px;
  --radius-lg:  24px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(15,45,24,.07);
  --shadow-md:  0 6px 24px rgba(15,45,24,.11);
  --shadow-lg:  0 16px 48px rgba(15,45,24,.15);
  --shadow-xl:  0 24px 64px rgba(15,45,24,.18);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--ink-2); background: var(--white); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-800); }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============================================
   HEADER
   ============================================ */
.site-header { position: sticky; top: 0; z-index: 200; box-shadow: var(--shadow-md); }

.header-top-bar {
  background: var(--green-800);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 6px 0;
}
.header-top-bar .container {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.header-top-bar a { color: var(--gold-lt); }
.header-top-bar .divider { opacity: .4; }

.header-main { background: var(--white); border-bottom: 1.5px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }

.logo img { height: 52px; width: auto; }

.main-nav ul { display: flex; gap: 2px; align-items: center; }
.main-nav a {
  display: block;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--green-100);
  color: var(--green-700);
}
.main-nav a.nav-cta {
  background: var(--green-600);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 20px;
  margin-left: 6px;
}
.main-nav a.nav-cta:hover { background: var(--green-700); color: var(--white); }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-700);
  border-radius: 2px;
  transition: transform .3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--green-50) 0%, #eef8f1 50%, #fafffe 100%);
  overflow: hidden;
  padding: 80px 0 70px;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
  background: var(--green-600);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.shape-2 { width: 300px; height: 300px; bottom: -80px; left: -80px; }
.shape-3 { width: 180px; height: 180px; top: 60%; right: 30%; opacity: .04; }

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  letter-spacing: .3px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}
.h1-sub { color: var(--green-600); }

.hero-sub {
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 24px;
  letter-spacing: .5px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}
.feat-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  margin-top: 8px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: var(--green-600);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(42,122,75,.35);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,122,75,.4);
}
.btn-ghost {
  display: inline-block;
  border: 2px solid var(--green-600);
  color: var(--green-600);
  padding: 11px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--green-600); color: var(--white); }

/* hero image */
.hero-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  /* ── รูป square 1:1 แสดงเต็มโดยไม่ crop ── */
  aspect-ratio: 1 / 1;
}
.hero-img-frame > img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  object-position: center center;
  /* ลบ max-height เดิมที่ทำให้รูปโดนตัด */
}
.hero-float-badge, .hero-float-stat {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  /* floating badges อยู่นอก frame ได้เพราะ overflow:visible */
  z-index: 2;
}
.hero-float-badge { bottom: -16px; left: -16px; animation: floatY 3.2s ease-in-out infinite; }
.hero-float-stat  { top: -16px; right: -16px; animation: floatY 2.8s ease-in-out infinite .6s; }
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.fb-num, .fs-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-600);
}
.fb-label, .fs-label { font-size: 12px; color: var(--ink-3); font-weight: 600; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--green-800);
  padding: 16px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 20px;
}
.trust-sep { width: 1px; height: 20px; background: rgba(255,255,255,.2); }

/* ============================================
   SECTION COMMONS
   ============================================ */
.s-header { text-align: center; margin-bottom: 48px; }
.s-label {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.s-label--light {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}
.s-header h2, h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}
.s-desc { font-size: 15px; color: var(--ink-3); }
.left-h2 { text-align: left; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.s-howitworks { padding: var(--section-py) 0; background: var(--white); }

.steps-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.step-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num-circle {
  width: 48px;
  height: 48px;
  background: var(--green-600);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(42,122,75,.3);
}
.step-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.step-card p { font-size: 14px; color: var(--ink-3); line-height: 1.7; }

/* causes */
.causes-block {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  padding: 40px;
}
.causes-block h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 24px;
}
.causes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 24px; }
.cause-item { display: flex; gap: 14px; }
.cause-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
  flex-shrink: 0;
}
.cause-item strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.cause-item p { font-size: 14px; color: var(--ink-3); }
.causes-ref { font-size: 13px; color: var(--ink-4); }
.causes-ref a { color: var(--green-600); margin-left: 4px; }

/* ============================================
   PRODUCTS
   ============================================ */
.s-products {
  padding: var(--section-py) 0;
  background: var(--surface);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prod-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.prod-card--hot { border-color: var(--green-400); }

.prod-hot-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: .5px;
}

.prod-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  height: 240px;
  padding: 16px;
}
.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
}
.prod-card:hover .prod-img-wrap img { transform: scale(1.06); }

.prod-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--green-600);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
}
.prod-tag--herb { background: #7c5e00; }
.prod-tag--device { background: #2c5282; }

.prod-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-sku { font-size: 11px; color: var(--ink-4); letter-spacing: .5px; margin-bottom: 6px; }
.prod-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.prod-body h3 a { color: var(--ink); }
.prod-body h3 a:hover { color: var(--green-600); }
.prod-body p { font-size: 13px; color: var(--ink-3); flex: 1; margin-bottom: 14px; }
.prod-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}
.btn-prod {
  background: var(--green-600);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background .18s;
  white-space: nowrap;
}
.btn-prod:hover { background: var(--green-700); color: var(--white); }

/* ============================================
   ABOUT / WHY US
   ============================================ */
.s-about { padding: var(--section-py) 0; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
}
.about-img-frame > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  max-height: 480px;
}
.about-img-stamp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.about-img-stamp img { width: 80px; }

.about-lead { font-size: 16px; color: var(--ink-3); margin-bottom: 28px; line-height: 1.8; }

.why-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.why-row { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--line);
}
.why-icon img { width: 100%; height: 100%; object-fit: cover; }
.why-txt strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.why-txt p { font-size: 13px; color: var(--ink-3); }

.about-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.about-chips span {
  background: var(--green-100);
  color: var(--green-800);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ============================================
   IMPORTER / ABOUT WITH IMAGE
   ============================================ */
.s-importer {
  padding: var(--section-py) 0;
  background: var(--surface);
}
.importer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.importer-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
}
.importer-img-frame > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  max-height: 460px;
}
.importer-stamp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.importer-stamp img { width: 90px; }

.importer-lead {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.8;
  margin-bottom: 28px;
}
.importer-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.importer-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: box-shadow .2s, border-color .2s;
}
.importer-bullets li:hover {
  border-color: var(--green-400);
  box-shadow: var(--shadow-sm);
}
.ib-check { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* WHY US CARDS */
.s-about { padding: var(--section-py) 0; background: var(--white); }
.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card-item {
  text-align: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  transition: box-shadow .2s, transform .2s;
}
.why-card-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.why-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 2px solid var(--line);
  background: var(--white);
}
.why-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.why-card-item h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.why-card-item p { font-size: 14px; color: var(--ink-3); line-height: 1.7; }

/* ============================================
   GALLERY
   ============================================ */
.s-gallery { padding: var(--section-py) 0; background: var(--surface); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gal-item {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.gal-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gal-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.gal-item:hover img { transform: scale(1.06); }
.gal-item span {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  padding: 8px 10px;
  background: var(--white);
}
.gal-note { text-align: center; margin-top: 16px; font-size: 13px; color: var(--ink-4); font-style: italic; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.s-testimonials { padding: var(--section-py) 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testi-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.testi-card p {
  font-size: 15px;
  color: var(--ink-2);
  font-style: italic;
  flex: 1;
  line-height: 1.75;
  padding-left: 0;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
}
.testi-author strong { display: block; font-size: 14px; color: var(--ink); }
.testi-author span { font-size: 12px; color: var(--ink-4); }

/* ============================================
   CONTACT
   ============================================ */
.s-contact {
  background: linear-gradient(135deg, var(--green-900) 0%, #0a1f10 100%);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.s-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}
/* left card */
.contact-txt {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.contact-txt h2 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.contact-txt .s-label { margin-bottom: 14px; }
.contact-txt > p { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.75; margin-bottom: 1.8rem; }
.contact-txt > p strong { color: var(--gold-lt); }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 16px;
  transition: background .2s, border-color .2s;
}
.contact-list li:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}
.contact-list li svg { flex-shrink: 0; opacity: .6; }
.contact-list a { color: var(--gold-lt); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--white); }
.contact-list span { font-size: 18px; }
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(6,199,85,.3);
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
}
.btn-line:hover {
  background: #04a847;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,199,85,.4);
}
/* right card — QR */
.contact-qr {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  backdrop-filter: blur(8px);
  text-align: center;
}
.contact-qr a { display: block; }
.contact-qr img {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  border: 4px solid rgba(255,255,255,.15);
  margin: 0 auto;
  transition: border-color .25s, transform .25s;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.contact-qr a:hover img {
  border-color: var(--gold-lt);
  transform: scale(1.04);
}
.contact-qr-label {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-qr-id {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-lt);
  letter-spacing: .02em;
}
.contact-qr p { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 0; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-links h4, .footer-social-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-socials { display: flex; flex-direction: column; gap: 10px; }
.footer-socials a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-socials a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* ============================================
   PRODUCT / INNER PAGES
   ============================================ */

/* Hero banner — full width, no radius */
.page-hero { line-height: 0; }
.page-hero img { width: 100%; display: block; }

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-4);
}
.breadcrumb a { color: var(--green-600); }
.breadcrumb a:hover { color: var(--green-800); }
.breadcrumb li[aria-current="page"] { color: var(--ink-2); font-weight: 600; }

/* Product detail section */
.s-product-detail { padding: 56px 0 64px; background: var(--white); }

.pd-header { text-align: center; margin-bottom: 48px; }
.pd-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}
.pd-sub { font-size: 15px; color: var(--ink-3); }

/* Two-col layout */
.pd-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: start;
}

/* Image column */
.pd-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--surface);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pd-img-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}
.pd-img-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.pd-img-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.pd-img-thumbs img:hover { border-color: var(--green-500); transform: scale(1.04); }

/* Price box */
.pd-price-box {
  margin-top: 20px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.pd-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.pd-price-row:last-of-type { border-bottom: none; }
.pd-price-row--best { background: var(--gold-pale); margin: 0 -20px; padding: 10px 20px; border-radius: 0; }
.pd-sku { color: var(--ink-4); font-size: 11px; letter-spacing: .5px; flex-shrink: 0; width: 72px; }
.pd-size { flex: 1; color: var(--ink-2); font-weight: 600; }
.pd-size em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--gold); margin-left: 6px;
  background: var(--gold-pale); border: 1px solid var(--gold-lt); padding: 1px 7px; border-radius: 10px; }
.pd-price { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--gold); flex-shrink: 0; }
.btn-order-now {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 16px;
  padding: 14px;
  font-size: 16px;
}

/* Info column */
.pd-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 8px;
}
.pd-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 16px;
}
.pd-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pd-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--green-50);
  border: 1.5px solid var(--green-100);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.6;
}
.pdb-icon { font-size: 18px; flex-shrink: 0; }

/* Tabs */
.pd-tabs { margin-top: 4px; }
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--line);
}
.tab-btn {
  background: none;
  border: none;
  padding: 11px 16px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-3);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
}
.tab-btn.active, .tab-btn:hover { color: var(--green-600); border-bottom-color: var(--green-600); }
.tab-pane {
  display: none;
  padding: 24px 0 8px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.tab-pane p { margin-bottom: 12px; }
.tab-pane p:last-child { margin-bottom: 0; }
.tab-pane.active { display: block; }
.tab-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--green-800);
  margin-bottom: 14px;
}

/* Ingredients list in tab */
.tab-ingr-list { display: flex; flex-direction: column; gap: 10px; }
.tab-ingr-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.tab-ingr-list li span { font-size: 18px; }

/* Steps list */
.tab-steps {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: step;
}
.tab-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  counter-increment: step;
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
}
.tab-steps li:last-child { border-bottom: none; }
.tab-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--green-600);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

/* Food list */
.tab-food-list { display: flex; flex-direction: column; gap: 10px; }
.tab-food-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.food-yes { color: var(--green-600); font-size: 16px; flex-shrink: 0; }
.food-no  { color: #c0392b; font-size: 16px; flex-shrink: 0; }

/* Active Ingredients section */
.s-ingredients { padding: var(--section-py) 0; background: var(--surface); }
.ingr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ingr-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.ingr-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.ingr-img-wrap {
  height: 160px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.ingr-img-wrap img { max-height: 120px; width: 100%; object-fit: contain; }
.ingr-body { padding: 18px 16px 20px; }
.ingr-body h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--green-800);
  margin-bottom: 8px;
}
.ingr-body p { font-size: 13px; color: var(--ink-3); line-height: 1.7; }

/* Product gallery */
.product-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 24px 0; }
.product-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.product-gallery img:hover { transform: scale(1.04); box-shadow: var(--shadow-md); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .causes-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-img-col { display: none; }
  .importer-layout { grid-template-columns: 1fr; }
  .importer-img-col { display: none; }
  .why-cards-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-qr { display: flex; gap: 16px; align-items: center; }
  .pd-layout { grid-template-columns: 1fr; }
  .ingr-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .ingredients-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-py: 56px; }
  h2, .s-header h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 48px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .product-gallery { grid-template-columns: repeat(2,1fr); }
  .ingr-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
  .trust-items { justify-content: flex-start; }
  .header-top-bar .container { justify-content: center; }
  .causes-block { padding: 24px; }

  /* Mobile Nav */
  .nav-toggle { display: flex; }
  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 12px;
    z-index: 300;
    gap: 4px;
  }
  .main-nav ul.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .main-nav a.nav-cta { text-align: center; margin-left: 0; border-radius: var(--radius-sm); }
  .header-inner { flex-wrap: wrap; position: relative; }
}
