﻿/* ============================================================
   VITAMINC EXPERT — Complete Theme Stylesheet
   ============================================================ */

/* ── CSS VARIABLES (Dark Theme — Default) ─────────────────── */
:root {
  --gold:        #E8A020;
  --gold-light:  #F5C842;
  --gold-pale:   #FDF3DC;
  --orange:      #E05C00;
  --dark:        #1A1208;
  --dark2:       #2D1F0A;
  --mid:         #5C3D11;
  --text:        #2E1F08;
  --muted:       #7A6040;
  --cream:       #FEFAF2;
  --white:       #FFFFFF;
  --green:       #2D6A2E;
  --red:         #C0392B;
  --border:      rgba(232,160,32,0.2);
  --shadow:      0 8px 40px rgba(26,18,8,0.12);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Section-level theme tokens */
  --bg-section:     var(--dark);
  --bg-section-alt: var(--dark2);

  --on-s:    #ffffff;
  --on-s-90: rgba(255,255,255,0.9);
  --on-s-80: rgba(255,255,255,0.8);
  --on-s-70: rgba(255,255,255,0.7);
  --on-s-60: rgba(255,255,255,0.6);
  --on-s-55: rgba(255,255,255,0.55);
  --on-s-50: rgba(255,255,255,0.5);
  --on-s-45: rgba(255,255,255,0.45);
  --on-s-40: rgba(255,255,255,0.4);
  --on-s-35: rgba(255,255,255,0.35);
  --on-s-30: rgba(255,255,255,0.3);
  --on-s-20: rgba(255,255,255,0.2);
  --on-s-07: rgba(255,255,255,0.07);

  --surface-s:        rgba(255,255,255,0.04);
  --surface-s-border: rgba(255,255,255,0.07);

  --filter-bg:     rgba(255,255,255,0.05);
  --filter-border: rgba(255,255,255,0.1);
  --filter-text:   rgba(255,255,255,0.6);

  --nav-bg:              rgba(26,18,8,0.97);
  --nav-text:            rgba(255,255,255,0.65);
  --nav-text-active-bg:  rgba(232,160,32,0.1);
  --nav-active:          #F5C842;
  --nav-logo-sub:        rgba(255,255,255,0.4);
  --nav-hamburger:       rgba(255,255,255,0.7);
  --nav-mobile-text:     rgba(255,255,255,0.75);
  --nav-mobile-border:   rgba(232,160,32,0.12);
}

/* ── LIGHT THEME OVERRIDES ────────────────────────────────── */
[data-theme="light"] {
  --bg-section:     #ffffff;
  --bg-section-alt: var(--cream);

  --on-s:    var(--text);
  --on-s-90: rgba(46,31,8,0.9);
  --on-s-80: rgba(46,31,8,0.8);
  --on-s-70: rgba(46,31,8,0.7);
  --on-s-60: rgba(46,31,8,0.6);
  --on-s-55: rgba(46,31,8,0.55);
  --on-s-50: rgba(46,31,8,0.5);
  --on-s-45: rgba(46,31,8,0.45);
  --on-s-40: rgba(46,31,8,0.4);
  --on-s-35: rgba(46,31,8,0.35);
  --on-s-30: rgba(46,31,8,0.3);
  --on-s-20: rgba(46,31,8,0.2);
  --on-s-07: rgba(46,31,8,0.08);

  --surface-s:        #ffffff;
  --surface-s-border: rgba(232,160,32,0.2);

  --filter-bg:     rgba(46,31,8,0.04);
  --filter-border: rgba(46,31,8,0.12);
  --filter-text:   rgba(46,31,8,0.65);

  --nav-bg:             rgba(255,255,255,0.97);
  --nav-text:           rgba(46,31,8,0.65);
  --nav-text-active-bg: rgba(232,160,32,0.12);
  --nav-active:         var(--orange);
  --nav-logo-sub:       rgba(46,31,8,0.35);
  --nav-hamburger:      rgba(46,31,8,0.7);
  --nav-mobile-text:    rgba(46,31,8,0.75);
  --nav-mobile-border:  rgba(232,160,32,0.15);
}

/* ── RESET + BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea { font-family: var(--font-body); }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.font-playfair { font-family: var(--font-heading); }
.font-mono     { font-family: var(--font-mono); }

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-on-section { color: var(--on-s); }
.text-gold       { color: var(--gold); }
.text-muted      { color: var(--muted); }

/* ── LAYOUT UTILITIES ─────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-lg { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 90px 0; }
.text-center { text-align: center; }

.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 2px; margin-bottom: 24px;
}
.gold-line-center {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 2px; margin: 0 auto 24px;
}
.section-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 12px;
}

/* Grid helpers */
.grid-2  { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid-3  { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4  { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-5  { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--orange));
  color: var(--dark); font-weight: 700; font-size: 0.9rem;
  padding: 14px 32px; border-radius: 50px; border: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s; box-shadow: 0 4px 24px rgba(232,160,32,0.35);
  cursor: pointer;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,160,32,0.5); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-weight: 500; font-size: 0.9rem;
  padding: 14px 32px; border-radius: 50px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s; cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(232,160,32,0.4);
}
[data-theme="light"] .btn-ghost {
  background: rgba(46,31,8,0.05);
  border-color: rgba(46,31,8,0.18);
  color: rgba(46,31,8,0.75);
}
[data-theme="light"] .btn-ghost:hover {
  background: rgba(46,31,8,0.08);
  border-color: rgba(232,160,32,0.4);
}

.btn-outline-gold {
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.3);
  color: var(--gold-light);
  font-size: 0.85rem; font-weight: 600;
  padding: 12px 32px; border-radius: 30px;
  display: inline-block; transition: all 0.3s;
}
.btn-outline-gold:hover { background: rgba(232,160,32,0.18); }

/* ── BADGES ───────────────────────────────────────────────── */
.badge {
  display: inline-block; font-size: 0.62rem; font-weight: 600;
  padding: 2px 8px; border-radius: 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-luxury  { background: rgba(232,160,32,0.12); color: var(--gold);   border: 1px solid rgba(232,160,32,0.2); }
.badge-derm    { background: rgba(45,106,46,0.12);  color: #66BB6A;       border: 1px solid rgba(45,106,46,0.2); }
.badge-budget  { background: rgba(33,150,243,0.1);  color: #64B5F6;       border: 1px solid rgba(33,150,243,0.2); }
.badge-sensitive { background: rgba(233,30,99,0.1); color: #F48FB1;       border: 1px solid rgba(233,30,99,0.2); }
.badge-green   { background: rgba(45,106,46,0.1);   color: var(--green);  border: 1px solid rgba(45,106,46,0.2); }
.badge-orange  { background: rgba(224,92,0,0.1);    color: var(--orange); border: 1px solid rgba(224,92,0,0.25); }

/* Card hover */
.card-hover { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,18,8,0.12); }

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--cream); }

/* ── NAVBAR ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(232,160,32,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-brand {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  background: linear-gradient(135deg,#F5C842,#E05C00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-logo-sub {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 400;
  color: var(--nav-logo-sub);
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-link {
  font-size: 0.8125rem; font-weight: 500;
  padding: 8px 12px; border-radius: 6px;
  color: var(--nav-text); text-decoration: none;
  transition: all 0.15s;
}
.nav-link:hover, .nav-link.active {
  color: var(--nav-active);
  background: var(--nav-text-active-bg);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(232,160,32,0.1); border: 1px solid rgba(232,160,32,0.2);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.nav-toggle-btn:hover { background: rgba(232,160,32,0.18); }
.nav-toggle-btn svg { width: 16px; height: 16px; }
.icon-sun, .icon-moon { display: none; }
[data-theme="dark"]  .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: block; }

/* Mobile-only container — always hidden until breakpoint */
.lg-hidden { display: none !important; }

/* Mobile */
.nav-hamburger {
  display: none; background: none; border: none;
  color: var(--nav-hamburger); padding: 8px;
}
.nav-hamburger svg { width: 22px; height: 22px; }
.nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--nav-mobile-border);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-size: 0.875rem; font-weight: 500;
  padding: 12px 16px; border-radius: 6px;
  color: var(--nav-mobile-text); text-decoration: none;
}
.nav-mobile-link:hover { background: var(--nav-text-active-bg); color: var(--nav-active); }
.nav-mobile-cta { margin-top: 8px; text-align: center; }

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-section);
  padding: 80px 0 60px; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(232,160,32,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(224,92,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(245,200,66,0.06) 0%, transparent 60%);
}
.hero-watermark {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 22vw;
  color: var(--gold); opacity: 0.06; line-height: 1;
  pointer-events: none; user-select: none;
}
.hero-content { position: relative; z-index: 10; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,160,32,0.12); border: 1px solid rgba(232,160,32,0.3);
  color: var(--gold-light); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-heading); font-weight: 900; color: var(--on-s);
  font-size: clamp(2.8rem,6vw,5.2rem); line-height: 1.08; margin-bottom: 10px;
}
.hero-sub {
  font-size: 1.15rem; color: var(--on-s-55);
  font-weight: 300; margin-bottom: 36px; line-height: 1.6;
}
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; margin-bottom: 48px; }
.hero-stat-num {
  font-family: var(--font-heading); font-weight: 900; font-size: 2.2rem;
  color: var(--gold-light); display: block; line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem; color: var(--on-s-45); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ── TRUST BAR ────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(232,160,32,0.15);
  border-bottom: 1px solid rgba(232,160,32,0.15);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 40px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--on-s-50); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em;
}
.trust-icon { color: var(--gold); font-size: 1rem; }

/* ── ABOUT SECTION ────────────────────────────────────────── */
.about-section { background: var(--cream); padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-stat { padding: 28px 0; border-bottom: 1px solid var(--border); }
.about-stat-num {
  font-family: var(--font-heading); font-weight: 900;
  font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.about-stat-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 8px;
}
.about-stat-desc { font-size: 0.9rem; color: var(--text); line-height: 1.6; }

/* Molecule card */
.molecule-card {
  background: linear-gradient(135deg,var(--dark),var(--dark2));
  border: 1px solid rgba(232,160,32,0.15);
  border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
}
.molecule-card-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 30% 30%, rgba(232,160,32,0.1), transparent);
}
.molecule-formula {
  font-family: var(--font-mono); font-size: 3.5rem;
  color: var(--gold-light); letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.molecule-inci {
  color: rgba(255,255,255,0.4); font-size: 0.8rem;
  letter-spacing: 0.08em; margin: 4px 0 28px; font-weight: 500;
  position: relative; z-index: 1;
}
.molecule-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7); font-size: 0.84rem;
  position: relative; z-index: 1;
}
.molecule-row span:last-child {
  font-family: var(--font-mono); color: var(--gold-light); font-size: 0.78rem;
}
.benefits-card {
  background: var(--gold-pale); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; margin-top: 20px;
}
.benefits-title {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); font-weight: 700; margin-bottom: 12px;
}
.benefit-item {
  display: flex; gap: 10px; font-size: 0.85rem; color: var(--text);
  margin-bottom: 10px; line-height: 1.5;
}

/* ── SKIN TYPES SECTION ───────────────────────────────────── */
.skin-types-section {
  background: linear-gradient(180deg,var(--bg-section) 0%,var(--bg-section-alt) 100%);
  padding: 90px 0;
}
.skin-types-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.skin-card {
  position: relative; border-radius: 16px; padding: 28px;
  background: var(--surface-s); border: 1px solid rgba(232,160,32,0.12);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.skin-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,18,8,0.15); }
.skin-card-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; opacity: 0.7; }
.skin-card-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.skin-card-name {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.15rem; color: var(--on-s); margin-bottom: 10px;
}
.skin-card-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 6px; font-weight: 600; }
.skin-card-desc { font-size: 0.79rem; color: var(--on-s-55); line-height: 1.5; margin-bottom: 14px; }
.skin-card-badge {
  display: inline-block; background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.25); color: var(--gold-light);
  font-size: 0.68rem; font-weight: 600; padding: 3px 10px; border-radius: 12px;
  margin-bottom: 10px;
}
.skin-card-tip { font-size: 0.75rem; color: var(--on-s-35); line-height: 1.4; margin-top: 10px; font-style: italic; }

/* ── DERIVATIVES TABLE ────────────────────────────────────── */
.derivatives-section { background: var(--cream); padding: 90px 0; }
.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.data-table thead tr { background: var(--dark); }
.data-table th {
  padding: 16px 20px; text-align: left; color: var(--gold-light);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.data-table tbody tr { border-bottom: 1px solid rgba(232,160,32,0.1); }
.data-table tbody tr:nth-child(odd)  { background: white; }
.data-table tbody tr:nth-child(even) { background: rgba(232,160,32,0.015); }
.data-table td { padding: 16px 20px; font-size: 0.85rem; color: var(--text); vertical-align: top; }
.td-name { font-weight: 600; color: var(--dark); }
.td-sub  { font-size: 0.7rem; color: var(--muted); font-weight: 400; }
.td-inci {
  font-family: var(--font-mono); font-size: 0.73rem; color: var(--orange);
  background: rgba(224,92,0,0.06); padding: 2px 8px; border-radius: 4px;
}
.stability-bars { display: flex; gap: 3px; margin-bottom: 4px; }
.stability-bar { width: 14px; height: 5px; border-radius: 3px; }
.stability-bar.filled  { background: var(--gold); }
.stability-bar.empty   { background: rgba(0,0,0,0.08); }
.stability-label-good  { font-size: 0.72rem; color: var(--green); }
.stability-label-med   { font-size: 0.72rem; color: #F9A825; }
.stability-label-low   { font-size: 0.72rem; color: var(--red); }
.table-note {
  background: var(--gold-pale); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 24px; margin-top: 20px;
  font-size: 0.82rem; color: var(--muted); line-height: 1.65;
}

/* ── WHEN TO USE SECTION ──────────────────────────────────── */
.when-section {
  background: linear-gradient(135deg,var(--bg-section) 0%,var(--bg-section-alt) 100%);
  padding: 90px 0;
}
.when-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.when-card { border-radius: 20px; padding: 36px; }
.when-card-use  { background: rgba(45,106,46,0.08);  border: 1px solid rgba(45,106,46,0.25); }
.when-card-avoid{ background: rgba(192,57,43,0.08);  border: 1px solid rgba(192,57,43,0.25); }
.when-card-title-use   { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #4CAF50; margin-bottom: 24px; }
.when-card-title-avoid { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #EF5350; margin-bottom: 24px; }
.when-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.when-item-icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.when-item-text { font-size: 0.88rem; color: var(--on-s-70); line-height: 1.55; }
.when-item-text strong { color: var(--on-s-90); }

/* ── INNOVATIONS SECTION ──────────────────────────────────── */
.innovations-section { background: var(--cream); padding: 90px 0; }
.innovations-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.innovation-card {
  background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  box-shadow: 0 2px 12px rgba(26,18,8,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.innovation-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,18,8,0.08); }
.innovation-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.innovation-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.15rem; color: var(--dark); margin-bottom: 10px;
}
.innovation-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.innovation-tag {
  display: inline-block; background: var(--gold-pale); color: var(--orange);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 10px; margin-top: 14px;
}

/* ── TOP BRANDS SECTION ───────────────────────────────────── */
.brands-section { background: var(--bg-section); padding: 90px 0 60px; }
.brands-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  background: var(--filter-bg); border: 1px solid var(--filter-border);
  color: var(--filter-text); font-size: 0.78rem; font-weight: 500;
  padding: 7px 16px; border-radius: 20px; cursor: pointer;
  font-family: var(--font-body); transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(232,160,32,0.15); border-color: rgba(232,160,32,0.4);
  color: var(--gold-light);
}
.brands-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.brand-card {
  position: relative; border-radius: 16px; padding: 20px;
  background: var(--surface-s); border: 1px solid var(--surface-s-border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(232,160,32,0.1); }
.brand-rank {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
}
.brand-rank.top    { color: var(--gold); }
.brand-rank.normal { color: var(--on-s-20); }
.brand-name { font-weight: 700; color: var(--on-s); font-size: 0.95rem; margin-bottom: 3px; }
.brand-product { font-size: 0.75rem; color: var(--on-s-40); margin-bottom: 12px; line-height: 1.3; }
.brand-stars { color: var(--gold-light); font-size: 0.8rem; letter-spacing: 1px; }
.brand-rating { font-size: 0.8rem; font-weight: 700; color: var(--gold-light); }
.brand-stars-row { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.brand-conc { font-family: var(--font-mono); font-size: 0.72rem; color: var(--on-s-35); }
.brand-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.brand-verdict { font-size: 0.75rem; color: var(--on-s-45); line-height: 1.4; margin-top: 10px; font-style: italic; }
.brands-cta { text-align: center; margin-top: 40px; }

/* ── LIGHT MODE CARD OVERRIDES ── */
[data-theme="light"] .blog-card {
  background: var(--cream);
  border-color: rgba(232,160,32,0.2);
  box-shadow: 0 2px 12px rgba(46,31,8,0.05);
}
[data-theme="light"] .blog-card:hover {
  box-shadow: 0 8px 32px rgba(232,160,32,0.15);
}

/* dark mode innovation card — strip hardcoded white */
[data-theme="dark"] .innovation-card {
  background: var(--surface-s);
  border-color: var(--surface-s-border);
  box-shadow: none;
}
[data-theme="dark"] .innovation-title { color: var(--on-s); }
[data-theme="dark"] .innovation-desc  { color: var(--on-s-55); }

[data-theme="light"] .brand-card {
  background: var(--cream);
  border-color: rgba(232,160,32,0.25);
  box-shadow: 0 2px 16px rgba(46,31,8,0.06);
}
[data-theme="light"] .brand-card:hover {
  box-shadow: 0 8px 32px rgba(232,160,32,0.15);
}
[data-theme="light"] .brand-name  { color: var(--dark); }
[data-theme="light"] .brand-product { color: var(--muted); }
[data-theme="light"] .brand-verdict { color: rgba(46,31,8,0.55); }
[data-theme="light"] .brand-conc  { color: rgba(46,31,8,0.45); }

/* ── COMPARE TABLE ────────────────────────────────────────── */
.compare-section { background: var(--cream); padding: 90px 0; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.compare-table thead tr { background: var(--dark); }
.compare-table th {
  padding: 14px 20px; text-align: left; color: var(--gold-light);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.compare-table tbody tr { border-bottom: 1px solid rgba(232,160,32,0.08); }
.compare-table tbody tr:nth-child(odd)  { background: white; }
.compare-table tbody tr:nth-child(even) { background: rgba(232,160,32,0.02); }
.compare-table td { padding: 14px 20px; font-size: 0.83rem; color: var(--text); }
.compare-brand { font-weight: 700; color: var(--dark); }
.bar-row { display: flex; align-items: center; gap: 8px; }
.bar-track { height: 4px; border-radius: 2px; background: rgba(0,0,0,0.08); flex: 1; overflow: hidden; min-width: 60px; }
.bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg,var(--gold),var(--orange)); }
.bar-score { font-size: 0.8rem; font-weight: 700; color: var(--dark); min-width: 28px; }
.compare-cta { text-align: center; margin-top: 32px; }

/* ── REVIEWS SECTION ──────────────────────────────────────── */
.reviews-section {
  background: linear-gradient(180deg,var(--bg-section-alt) 0%,var(--bg-section) 100%);
  padding: 90px 0;
}
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card {
  background: var(--surface-s); border: 1px solid rgba(232,160,32,0.12);
  border-radius: 16px; padding: 28px; position: relative;
}
.review-quote-mark {
  position: absolute; top: 10px; left: 20px;
  font-family: var(--font-heading); font-size: 5rem; line-height: 1;
  color: rgba(232,160,32,0.1); pointer-events: none;
}
.review-brand-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gold); background: rgba(232,160,32,0.1);
  padding: 3px 10px; border-radius: 10px;
}
.review-stars { color: var(--gold-light); font-size: 0.85rem; margin-bottom: 14px; margin-top: 30px; }
.review-text  { font-size: 0.85rem; color: var(--on-s-70); line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--dark); flex-shrink: 0;
}
.review-name   { font-weight: 600; color: var(--on-s); font-size: 0.85rem; }
.review-meta   { font-size: 0.72rem; color: var(--on-s-35); }
.review-verify { color: #4CAF50; font-size: 0.68rem; font-weight: 600; margin-top: 2px; }

/* ── DERMATOLOGISTS SECTION ───────────────────────────────── */
.derms-section { background: var(--cream); padding: 90px 0; }
.derms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.derm-card {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(26,18,8,0.04);
  background: white; transition: transform 0.25s, box-shadow 0.25s;
}
.derm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,18,8,0.08); }
.derm-card-header {
  background: linear-gradient(135deg,var(--dark),var(--dark2));
  padding: 28px;
}
.derm-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg,var(--gold),var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.4rem; color: var(--dark); margin-bottom: 12px;
}
.derm-name { font-family: var(--font-heading); font-weight: 700; color: white; font-size: 1.1rem; }
.derm-cred { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-top: 3px; }
.derm-card-body { padding: 24px; }
.derm-verdict { font-size: 0.85rem; color: var(--text); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.derm-picks-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.derm-pick { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text); margin-bottom: 6px; }
.derm-pick-num { font-family: var(--font-mono); color: var(--muted); font-size: 0.7rem; }

/* ── BLOG / GUIDES SECTION ────────────────────────────────── */
.blog-section { background: var(--bg-section); padding: 90px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card {
  background: var(--surface-s); border: 1px solid var(--surface-s-border);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s; display: block; color: inherit;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(232,160,32,0.1); }
.blog-card-thumb {
  background: linear-gradient(135deg,var(--dark2),#2d1500);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.blog-card-thumb.large { height: 260px; font-size: 5rem; }
.blog-card-thumb.small { height: 200px; font-size: 4rem; }
.blog-card-cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(232,160,32,0.9); color: var(--dark);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 10px;
}
.blog-card-body { padding: 22px; }
.blog-card-meta { font-size: 0.7rem; color: var(--on-s-30); margin-bottom: 10px; }
.blog-card-title {
  font-family: var(--font-heading); font-weight: 700; color: var(--on-s);
  line-height: 1.4; margin-bottom: 10px;
}
.blog-card-title.large { font-size: 1.25rem; }
.blog-card-title.small { font-size: 1rem; }
.blog-card-excerpt { font-size: 0.8rem; color: var(--on-s-45); line-height: 1.55; }
.blog-card-link { font-size: 0.75rem; color: var(--gold); margin-top: 14px; font-weight: 600; display: block; }

/* ── FAQ SECTION ──────────────────────────────────────────── */
.faq-section {
  background: linear-gradient(135deg,var(--bg-section) 0%,var(--bg-section-alt) 100%);
  padding: 90px 0;
}
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--on-s-07); }
.faq-question {
  width: 100%; text-align: left; display: flex; justify-content: space-between;
  align-items: center; padding: 20px 0; gap: 16px;
  color: var(--on-s); font-weight: 600; font-size: 0.95rem;
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(232,160,32,0.1); border: 1px solid rgba(232,160,32,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 1.1rem; flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none; font-size: 0.87rem; color: var(--on-s-55);
  line-height: 1.7; padding-bottom: 18px;
}
.faq-item.open .faq-answer { display: block; }

/* ── NEWSLETTER SECTION ───────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  padding: 80px 0; text-align: center;
}
.newsletter-title {
  font-family: var(--font-heading); font-weight: 900;
  font-size: 2.4rem; color: var(--dark); margin-bottom: 12px;
}
.newsletter-sub { font-size: 1rem; color: rgba(26,18,8,0.65); margin-bottom: 36px; }
.newsletter-form { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; max-width: 540px; margin: 0 auto; }
.newsletter-input {
  flex: 1; padding: 14px 20px; border-radius: 30px; border: none;
  font-size: 0.9rem; background: rgba(255,255,255,0.9);
  color: var(--dark); outline: none; min-width: 200px; font-family: var(--font-body);
}
.newsletter-btn {
  background: var(--dark); color: var(--white);
  padding: 14px 28px; border-radius: 30px; border: none;
  font-size: 0.9rem; font-weight: 700; cursor: pointer; font-family: var(--font-body);
  transition: background 0.2s;
}
.newsletter-btn:hover { background: var(--dark2); }
.newsletter-fine { font-size: 0.72rem; color: rgba(26,18,8,0.45); margin-top: 14px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer { background: var(--dark); border-top: 1px solid rgba(232,160,32,0.12); }
.footer-accent { height: 2px; background: linear-gradient(90deg,var(--gold),var(--orange)); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.footer-grid {
  padding: 64px 0;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand-name {
  display: flex; align-items: center; gap: 6px; margin-bottom: 16px; text-decoration: none;
}
.footer-logo-brand {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  background: linear-gradient(135deg,#F5C842,#E05C00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-logo-sub { font-family: var(--font-heading); font-size: 1rem; color: rgba(255,255,255,0.35); }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(232,160,32,0.2);
  color: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social:hover { background: rgba(232,160,32,0.15); color: var(--gold); }
.footer-col-title {
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--gold); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { font-size: 0.875rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: rgba(255,255,255,0.85); }
.footer-newsletter {
  background: linear-gradient(135deg,rgba(45,31,10,0.9),rgba(92,61,17,0.6));
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: 16px; padding: 40px 32px; margin-bottom: 40px;
}
.footer-nl-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-nl-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 4px; }
.footer-nl-sub { font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.footer-nl-form { display: flex; align-items: center; gap: 8px; }
.footer-nl-input {
  width: 224px; padding: 12px 16px; border-radius: 30px; font-size: 0.875rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(232,160,32,0.25);
  color: white; outline: none; font-family: var(--font-body);
}
.footer-nl-input::placeholder { color: rgba(255,255,255,0.4); }
.footer-bottom {
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(232,160,32,0.1);
}
.footer-copy, .footer-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ── GENERIC PAGE / SINGLE POST ───────────────────────────── */
.page-hero {
  background: var(--bg-section); padding: 80px 0 60px;
  text-align: center;
}
.page-hero-title {
  font-family: var(--font-heading); font-weight: 900; color: var(--on-s);
  font-size: clamp(2rem,4vw,3.2rem); line-height: 1.15; margin-bottom: 16px;
}
.page-hero-sub { font-size: 1rem; color: var(--on-s-50); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.page-content { background: var(--cream); padding: 60px 0; }
.page-content .container { max-width: 760px; }
.page-content p     { color: var(--text); line-height: 1.8; margin-bottom: 20px; font-size: 1rem; }
.page-content h2    { font-family: var(--font-heading); font-size: 1.8rem; color: var(--dark); margin: 32px 0 16px; }
.page-content h3    { font-family: var(--font-heading); font-size: 1.3rem; color: var(--dark); margin: 24px 0 12px; }
.page-content ul li { color: var(--text); margin-bottom: 8px; padding-left: 20px; position: relative; }
.page-content ul li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; top: 2px; }

/* ── ARTICLE HERO (single.php / page.php) ─────────────────── */
.article-hero {
  position: relative; overflow: hidden;
  background: var(--bg-section);
  padding: 104px 0 64px; text-align: center;
}
.article-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(232,160,32,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 75%, rgba(224,92,0,0.07) 0%, transparent 60%);
}
.article-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.article-breadcrumb {
  display: flex; align-items: center; gap: 7px; justify-content: center;
  font-size: 0.73rem; color: var(--on-s-35); margin-bottom: 28px; flex-wrap: wrap;
}
.article-breadcrumb a { color: var(--on-s-40); text-decoration: none; transition: color .2s; }
.article-breadcrumb a:hover { color: var(--gold); }
.article-hero-badge {
  display: inline-block;
  background: rgba(232,160,32,0.12); border: 1px solid rgba(232,160,32,0.3);
  color: var(--gold-light); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
}
.article-hero-title {
  font-family: var(--font-heading); font-weight: 900; color: var(--on-s);
  font-size: clamp(2rem,4.5vw,3.4rem); line-height: 1.12; margin-bottom: 24px;
}
.article-hero-meta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: var(--on-s-40);
}
.article-hero-meta-item { display: flex; align-items: center; gap: 5px; }
.article-hero-meta-dot  { color: var(--on-s-20); }

/* ── ARTICLE BODY ─────────────────────────────────────────── */
.article-featured-img-wrap {
  background: var(--bg-section); padding: 0 0 48px;
}
.article-featured-img-wrap img {
  max-width: 820px; margin: 0 auto; border-radius: 16px;
  width: 100%; display: block;
  box-shadow: 0 16px 64px rgba(26,18,8,0.22);
}
.article-body-section { background: var(--cream); padding: 52px 0 80px; }
.article-content-wrap { max-width: 760px; margin: 0 auto; }

/* Entry content typography */
.entry-content { font-size: 1.05rem; color: var(--text); line-height: 1.85; }
.entry-content p { margin-bottom: 22px; }
.entry-content h2 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.4rem,3vw,1.85rem); color: var(--dark);
  margin: 44px 0 16px; padding-top: 12px;
  border-top: 2px solid var(--border);
}
.entry-content h3 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.3rem; color: var(--dark); margin: 32px 0 12px;
}
.entry-content h4 {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.1rem; color: var(--dark); margin: 24px 0 10px;
}
.entry-content ul, .entry-content ol { margin: 0 0 22px; padding-left: 0; }
.entry-content ul li {
  position: relative; padding-left: 22px; list-style: none;
  color: var(--text); margin-bottom: 10px; line-height: 1.7;
}
.entry-content ul li::before {
  content: '✦'; position: absolute; left: 0;
  color: var(--gold); font-size: 0.62rem; top: 5px;
}
.entry-content ol { counter-reset: article-ol; }
.entry-content ol li {
  position: relative; padding-left: 32px; list-style: none;
  color: var(--text); margin-bottom: 10px; line-height: 1.7;
  counter-increment: article-ol;
}
.entry-content ol li::before {
  content: counter(article-ol) '.';
  position: absolute; left: 0;
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--gold); font-weight: 600; top: 3px;
}
.entry-content blockquote {
  border-left: 3px solid var(--gold); padding: 16px 22px;
  margin: 28px 0; background: var(--gold-pale);
  border-radius: 0 12px 12px 0;
}
.entry-content blockquote p { color: var(--dark); margin-bottom: 0; font-style: italic; font-size: 0.98rem; }
.entry-content strong { color: var(--dark); }
.entry-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--gold); }
.entry-content img { border-radius: 12px; margin: 28px 0; width: 100%; height: auto; }
.entry-content table {
  width: 100%; border-collapse: collapse; margin: 28px 0;
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
  display: block; overflow-x: auto;
}
.entry-content table th {
  background: var(--dark); color: var(--gold-light);
  padding: 12px 16px; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; text-align: left; white-space: nowrap;
}
.entry-content table td {
  padding: 12px 16px; font-size: 0.88rem; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.entry-content table tr:last-child td { border-bottom: none; }
.entry-content table tr:nth-child(even) td { background: rgba(232,160,32,0.025); }
.entry-content hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }
.entry-content code {
  font-family: var(--font-mono); font-size: 0.85em;
  background: rgba(232,160,32,0.1); color: var(--orange);
  padding: 2px 6px; border-radius: 4px;
}
.entry-content pre {
  background: var(--dark); border-radius: 12px;
  padding: 20px 24px; margin: 24px 0; overflow-x: auto;
}
.entry-content pre code { background: none; color: var(--gold-light); padding: 0; font-size: 0.88rem; }

/* Article tags */
.article-tags-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
}
.article-tags-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted);
}
.article-tag-link {
  background: rgba(232,160,32,0.08); border: 1px solid rgba(232,160,32,0.2);
  color: var(--muted); padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; transition: all .2s;
}
.article-tag-link:hover { background: rgba(232,160,32,0.15); color: var(--dark); }

/* Author box */
.article-author-box {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 32px; padding: 24px 28px; border-radius: 16px;
  background: white; border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,18,8,0.04);
}
.article-author-av {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.4rem;
  font-weight: 700; color: var(--dark);
}
.article-author-name { font-weight: 700; color: var(--dark); font-size: 0.95rem; margin-bottom: 4px; }
.article-author-bio  { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* Related posts strip */
.article-related-section { background: var(--bg-section); padding: 60px 0; }
.article-related-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.35rem; color: var(--on-s); margin-bottom: 24px;
}

/* ── BRAND FULL CARD (India / International listing pages) ── */
.brand-full-card {
  background: var(--surface-s); border: 1px solid var(--surface-s-border);
  border-radius: 20px; overflow: hidden; margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(26,18,8,0.08);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.brand-full-card:hover {
  box-shadow: 0 16px 56px rgba(232,160,32,0.14);
  border-color: rgba(232,160,32,0.3);
}
.bfc-header {
  display: grid; grid-template-columns: 76px 1fr auto;
  gap: 20px; align-items: center;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--surface-s-border);
  background: linear-gradient(135deg, rgba(232,160,32,0.05) 0%, transparent 60%);
}
.bfc-rank {
  width: 68px; height: 68px; border-radius: 16px; flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-heading);
}
.bfc-rank-gold   { background: linear-gradient(135deg,#FFD700,#FFA000); }
.bfc-rank-silver { background: linear-gradient(135deg,#E0E0E0,#9E9E9E); }
.bfc-rank-bronze { background: linear-gradient(135deg,#FFCC80,#E65100); }
.bfc-rank-n      { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.bfc-rank-num  { font-size: 1.2rem; font-weight: 900; line-height: 1; }
.bfc-rank-gold   .bfc-rank-num,
.bfc-rank-silver .bfc-rank-num,
.bfc-rank-bronze .bfc-rank-num { color: #1a1208; }
.bfc-rank-n      .bfc-rank-num { color: var(--gold-light); }
.bfc-rank-lbl    { font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; opacity: 0.65; }
.bfc-rank-gold   .bfc-rank-lbl,
.bfc-rank-silver .bfc-rank-lbl,
.bfc-rank-bronze .bfc-rank-lbl { color: #1a1208; }
.bfc-rank-n      .bfc-rank-lbl { color: rgba(255,255,255,0.4); }

.bfc-info-name    { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--on-s); margin-bottom: 3px; }
.bfc-info-product { font-size: 0.82rem; color: var(--on-s-40); margin-bottom: 10px; line-height: 1.3; }
.bfc-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.bfc-score-col { text-align: right; flex-shrink: 0; }
.bfc-score-num  { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: var(--gold-light); line-height: 1; }
.bfc-score-stars { font-size: 0.88rem; color: var(--gold); letter-spacing: 1px; display: block; margin: 3px 0 2px; }
.bfc-score-reviews { font-size: 0.67rem; color: var(--on-s-30); }
.bfc-score-price { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: #66BB6A; margin-top: 6px; }

.bfc-body { padding: 20px 28px 24px; }
.bfc-specs-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.bfc-spec {
  display: flex; flex-direction: column; gap: 3px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 9px 13px; flex: 1; min-width: 120px;
}
[data-theme="light"] .bfc-spec {
  background: white; border-color: var(--border);
  box-shadow: 0 1px 4px rgba(26,18,8,0.05);
}
.bfc-spec-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; }
.bfc-spec-value { font-family: var(--font-mono); font-size: 0.78rem; color: var(--on-s-70); line-height: 1.35; }
.bfc-verdict {
  font-size: 0.85rem; color: var(--on-s-55); line-height: 1.68;
  font-style: italic; padding: 14px 18px;
  background: rgba(232,160,32,0.05); border-radius: 10px;
  border-left: 3px solid rgba(232,160,32,0.35);
}
[data-theme="light"] .bfc-verdict {
  background: var(--gold-pale); border-left-color: var(--gold); color: var(--muted);
}

/* Score bar row inside brand card */
.bfc-score-bars { display: flex; gap: 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--surface-s-border); flex-wrap: wrap; }
.bfc-bar-item { flex: 1; min-width: 80px; }
.bfc-bar-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-s-30); margin-bottom: 4px; }
.bfc-bar-track { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.07); overflow: hidden; }
[data-theme="light"] .bfc-bar-track { background: rgba(0,0,0,0.07); }
.bfc-bar-fill  { height: 100%; border-radius: 2px; background: linear-gradient(90deg,var(--gold-light),var(--orange)); }
.bfc-bar-val   { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; color: var(--gold-light); margin-top: 3px; }

/* ── ARCHIVE / BLOG LIST ──────────────────────────────────── */
.archive-section { background: var(--cream); padding: 60px 0; }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card {
  background: white; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,18,8,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,18,8,0.08); }
.post-card-thumb { background: linear-gradient(135deg,var(--dark),var(--dark2)); height: 180px; }
.post-card-body { padding: 24px; }
.post-card-date { font-size: 0.72rem; color: var(--muted); margin-bottom: 8px; }
.post-card-title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--dark); font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.post-card-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.post-card-link { font-size: 0.8rem; color: var(--orange); font-weight: 600; margin-top: 12px; display: inline-block; }

/* ── 404 ──────────────────────────────────────────────────── */
.not-found-section {
  background: var(--dark); min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 0; text-align: center;
}
.not-found-code {
  font-family: var(--font-heading); font-size: 8rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg,var(--gold-light),var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.not-found-title { color: white; font-size: 1.5rem; font-weight: 600; margin: 8px 0 16px; }
.not-found-sub { color: rgba(255,255,255,0.5); font-size: 1rem; margin-bottom: 32px; }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-float    { animation: float 4s ease-in-out infinite; }
.animate-fade-up  { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-down{ animation: fadeInDown 0.6s ease forwards; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Nav: swap desktop ↔ mobile controls */
  .nav-links  { display: none !important; }
  .nav-right  { display: none !important; }
  .lg-hidden  { display: flex !important; align-items: center; gap: 8px; }
  .nav-hamburger { display: flex; }

  /* Layout */
  .skin-types-grid  { grid-template-columns: repeat(2,1fr); }
  .brands-grid      { grid-template-columns: repeat(2,1fr); }
  .about-grid       { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }

  /* Brand full card */
  .bfc-header { grid-template-columns: 68px 1fr; }
  .bfc-score-col { grid-column: 1/-1; text-align: left; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .bfc-score-num { font-size: 1.7rem; }
}
@media (max-width: 768px) {
  /* Container handles all horizontal padding at this breakpoint */
  .container, .container-lg { padding: 0 20px; }

  /* Sections: vertical padding only — container/inner-wrapper handles horizontal */
  .article-hero                { padding: 80px 0 52px; }
  .article-hero-inner          { padding: 0 20px; }
  .article-featured-img-wrap   { padding: 0 20px 32px; }
  .article-body-section        { padding: 40px 0 60px; }
  .article-content-wrap        { padding: 0 20px; }
  .article-related-section     { padding: 48px 0; }
  .bfc-header                  { padding: 20px; gap: 14px; }
  .bfc-body                    { padding: 16px 20px 20px; }
  .bfc-score-bars              { gap: 12px; }

  .hero-section { padding: 80px 0 60px; }
  .section-pad  { padding: 60px 0; }
  .about-section, .derivatives-section, .innovations-section,
  .compare-section, .derms-section, .brands-section,
  .reviews-section, .blog-section, .faq-section, .when-section { padding: 60px 0; }

  .grid-2, .when-grid  { grid-template-columns: 1fr; }
  .innovations-grid    { grid-template-columns: repeat(2,1fr); }
  .reviews-grid        { grid-template-columns: 1fr; }
  .derms-grid          { grid-template-columns: 1fr; }
  .blog-grid           { grid-template-columns: 1fr; }
  .post-grid           { grid-template-columns: 1fr; }

  .hero-stats          { gap: 24px; }
  .hero-title          { font-size: 2.4rem; }
  .newsletter-section  { padding: 60px 0; }
  .footer-grid         { grid-template-columns: 1fr; gap: 32px; }
  .footer-nl-inner     { flex-direction: column; align-items: flex-start; }
  .footer-nl-input     { width: 100%; }
}
@media (max-width: 480px) {
  .skin-types-grid   { grid-template-columns: 1fr; }
  .brands-grid       { grid-template-columns: 1fr; }
  .innovations-grid  { grid-template-columns: 1fr; }
  .hero-btns         { flex-direction: column; align-items: center; }
  .nav-inner         { padding: 0 16px; }
  .footer-inner      { padding: 0 16px; }
}

