/** Shopify CDN: Minification failed

Line 1398:16 Unexpected "{"
Line 1398:25 Expected ":"
Line 1398:32 Unexpected "{"

**/
/* =============================================================================
   APHIA DESIGN SYSTEM
   Brand fonts: IvyPresto Display (serif) + ITC Avant Garde Gothic Pro (sans)
   ============================================================================= */

/* ── Custom Font Faces ──────────────────────────────────────────────────────── */

/* =============================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================================= */

:root {

  /* ── Brand Palette ────────────────────────────────────────────────────────── */
  --aphia-violet: #6132FF;  /* primary  */
  --aphia-coral:  #FF6E89;  /* flavor   */
  --aphia-blush:  #FFA5B0;  /* extra    */
  --aphia-white:  #FFFFFF;
  --aphia-ink:    #120A2E;  /* near-black with violet tint */

  /* Violet tonal scale */
  --violet-50:  #F1ECFF;
  --violet-100: #E2D8FF;
  --violet-200: #C6B2FF;
  --violet-300: #A88BFF;
  --violet-400: #8A65FF;
  --violet-500: #6132FF;   /* primary */
  --violet-600: #4E21D6;
  --violet-700: #3C17A8;
  --violet-800: #2A0F7A;
  --violet-900: #18084D;

  /* Coral tonal scale */
  --coral-50:  #FFF1F3;
  --coral-100: #FFE1E6;
  --coral-200: #FFC4CD;
  --coral-300: #FFA5B0;   /* blush */
  --coral-400: #FF8A9C;
  --coral-500: #FF6E89;   /* flavor */
  --coral-600: #E04C6A;
  --coral-700: #B5364F;
  --coral-800: #89223A;
  --coral-900: #5C1425;

  /* Neutrals (violet-tinted greys) */
  --neutral-0:   #FFFFFF;
  --neutral-50:  #FAF9FE;
  --neutral-100: #F3F1FA;
  --neutral-200: #E6E2F0;
  --neutral-300: #CFC9DC;
  --neutral-400: #A59DBA;
  --neutral-500: #7A7196;
  --neutral-600: #544B72;
  --neutral-700: #3A3254;
  --neutral-800: #221B3B;
  --neutral-900: #120A2E;

  /* ── Semantic Foreground ──────────────────────────────────────────────────── */
  --fg-1: var(--neutral-900);   /* primary text   */
  --fg-2: var(--neutral-700);   /* secondary text */
  --fg-3: var(--neutral-500);   /* tertiary/meta  */
  --fg-4: var(--neutral-400);   /* placeholder/disabled */
  --fg-on-violet: var(--aphia-white);
  --fg-accent:    var(--aphia-violet);

  /* ── Semantic Background ──────────────────────────────────────────────────── */
  --bg-1:         var(--aphia-white);   /* canvas      */
  --bg-2:         var(--neutral-50);    /* sunken/page */
  --bg-3:         var(--neutral-100);   /* card alt    */
  --bg-violet:      var(--aphia-violet);
  --bg-violet-soft: var(--violet-50);
  --bg-coral-soft:  var(--coral-50);
  --bg-ink:         var(--neutral-900);

  /* ── Borders / Hairlines ──────────────────────────────────────────────────── */
  --border-1:      var(--neutral-200);
  --border-2:      var(--neutral-300);
  --border-strong: var(--neutral-900);

  /* ── Signature Gradients ──────────────────────────────────────────────────── */
  /* Sunrise: violet dominates the first 45%, then softens through coral to blush */
  --gradient-sunrise: linear-gradient(135deg, #6132FF 0%, #6132FF 45%, #FF8FA3 82%, #FFC4CD 100%);
  --gradient-violet:  linear-gradient(180deg, #8A65FF 0%, #4E21D6 100%);
  --gradient-coral:   linear-gradient(135deg, #FF6E89 0%, #FFA5B0 100%);
  --gradient-dusk:    linear-gradient(180deg, #18084D 0%, #6132FF 100%);
  --gradient-soft-bg: radial-gradient(120% 80% at 0% 0%, #F1ECFF 0%, #FFF 60%),
                      radial-gradient(80% 60% at 100% 100%, #FFF1F3 0%, transparent 70%);

  /* ── Typography ───────────────────────────────────────────────────────────── */

  --font-serif: 'IvyPresto Display';
  --font-sans:  'ITC Avant Garde Gothic Pro';

  /* Display scale (serif) */
  --fs-display-xl: 96px;  --lh-display-xl: 0.96;  --ls-display-xl: -0.03em;
  --fs-display-l:  72px;  --lh-display-l:  0.98;  --ls-display-l:  -0.025em;
  --fs-display-m:  56px;  --lh-display-m:  1.02;  --ls-display-m:  -0.02em;
  --fs-display-s:  40px;  --lh-display-s:  1.08;  --ls-display-s:  -0.015em;

  /* Heading scale (sans) */
  --fs-h1: 44px;  --lh-h1: 1.12;  --ls-h1: -0.02em;
  --fs-h2: 32px;  --lh-h2: 1.18;  --ls-h2: -0.015em;
  --fs-h3: 24px;  --lh-h3: 1.25;  --ls-h3: -0.01em;
  --fs-h4: 20px;  --lh-h4: 1.3;   --ls-h4: -0.005em;

  /* Body scale */
  --fs-body-l: 18px;  --lh-body-l: 1.55;
  --fs-body:   16px;  --lh-body:   1.55;
  --fs-body-s: 14px;  --lh-body-s: 1.5;
  --fs-caption:12px;  --lh-caption:1.4;

  /* Eyebrow / label */
  --fs-eyebrow: 12px;
  --ls-eyebrow: 0.18em;

  /* Font weights */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* ── Spacing Scale (4px base) ─────────────────────────────────────────────── */
  --space-0:   0;
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   24px;
  --space-6:   32px;
  --space-7:   48px;
  --space-8:   64px;
  --space-9:   96px;
  --space-10:  128px;

  /* ── Border Radii ─────────────────────────────────────────────────────────── */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-2xl:  40px;
  --radius-pill: 999px;

  /* ── Elevation / Shadows ──────────────────────────────────────────────────── */
  --shadow-1:      0 1px 2px rgba(18,10,46,0.06), 0 1px 1px rgba(18,10,46,0.04);
  --shadow-2:      0 4px 14px rgba(18,10,46,0.08), 0 1px 2px rgba(18,10,46,0.04);
  --shadow-3:      0 12px 32px rgba(18,10,46,0.12), 0 2px 6px rgba(18,10,46,0.06);
  --shadow-4:      0 24px 60px rgba(18,10,46,0.18), 0 4px 12px rgba(18,10,46,0.08);
  --shadow-violet: 0 16px 40px rgba(97,50,255,0.28);
  --shadow-coral:  0 16px 40px rgba(255,110,137,0.28);

  /* ── Motion ───────────────────────────────────────────────────────────────── */
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out:   cubic-bezier(0.45, 0, 0.25, 1);
  --ease-gentle:   cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur-fast:  140ms;
  --dur-base:  220ms;
  --dur-slow:  380ms;
}


/* =============================================================================
   SEMANTIC TYPOGRAPHY UTILITIES
   ============================================================================= */

/* Display — serif */
.aphia-display-xl,
.aphia-display-l,
.aphia-display-m,
.aphia-display-s {
  font-family: var(--font-serif);
  font-weight: var(--fw-regular);
  color: var(--fg-1);
  text-wrap: balance;
}

.aphia-display-xl { font-size: var(--fs-display-xl); line-height: var(--lh-display-xl); letter-spacing: var(--ls-display-xl); }
.aphia-display-l  { font-size: var(--fs-display-l);  line-height: var(--lh-display-l);  letter-spacing: var(--ls-display-l);  }
.aphia-display-m  { font-size: var(--fs-display-m);  line-height: var(--lh-display-m);  letter-spacing: var(--ls-display-m);  }
.aphia-display-s  { font-size: var(--fs-display-s);  line-height: var(--lh-display-s);  letter-spacing: var(--ls-display-s);  }

.aphia-display-italic { font-style: italic; }

/* Headings — sans */
.aphia-h1,
.aphia-h2,
.aphia-h3,
.aphia-h4 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  color: var(--fg-1);
  text-wrap: balance;
}

.aphia-h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
.aphia-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
.aphia-h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); }
.aphia-h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); font-weight: var(--fw-medium); }

/* Body */
.aphia-body-l { font-family: var(--font-sans); font-size: var(--fs-body-l); line-height: var(--lh-body-l); color: var(--fg-2); }
.aphia-body   { font-family: var(--font-sans); font-size: var(--fs-body);   line-height: var(--lh-body);   color: var(--fg-2); }
.aphia-body-s { font-family: var(--font-sans); font-size: var(--fs-body-s); line-height: var(--lh-body-s); color: var(--fg-2); }
.aphia-caption{ font-family: var(--font-sans); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--fg-3); }

/* Eyebrow / Label */
.aphia-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-3);
}

/* Mono */
.aphia-mono { font-family: var(--font-mono); font-size: var(--fs-body-s); }

/* Gradient text helper */
.aphia-grad-text {
  background: var(--gradient-sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* =============================================================================
   SITE-SPECIFIC STYLES
   ============================================================================= */

/* ── Reset / Base ─────────────────────────────────────────────────────────── */

*        { box-sizing: border-box; margin: 0; padding: 0; }
html,
body     { background: var(--bg-1); color: var(--fg-1); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: clip; max-width: 100%; }
img      { display: block; max-width: 100%; }
button   { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a        { color: inherit; text-decoration: none; }
input,
select,
textarea { font-family: inherit; }
main     { overflow-x: clip; }
.container { box-sizing: border-box; }


/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all var(--dur-base) var(--ease-standard);
  white-space: nowrap;
}

.btn-primary {
  background: var(--aphia-violet);
  color: white;
  box-shadow: var(--shadow-violet);
}

.btn-primary:hover  { background: var(--violet-400); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: white;
  color: var(--aphia-violet);
  border: 1.5px solid var(--violet-200);
}

.btn-secondary:hover { border-color: var(--aphia-violet); }

.btn-ink {
  background: var(--neutral-900);
  color: white;
}

.btn-ink:hover { background: var(--neutral-800); }

.btn-block { width: 100%; }
.btn-lg    { padding: 20px 32px; font-size: 16px; }


/* =============================================================================
   LAYOUT HELPERS
   ============================================================================= */

.container    { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section-tight{ padding: 64px 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aphia-violet);
}

.serif        { font-family: var(--font-serif); font-weight: 400; }
.serif-italic { font-family: var(--font-serif); font-weight: 400; font-style: italic; }

.display-headline {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  font-weight: 400;
}

/* .only-mobile and .hide-mobile no longer used in compare section */
/* Kept here only if used elsewhere in the theme */
.only-mobile { display: none !important; }


/* =============================================================================
   FORMAT COMPARISON TABLE
   ============================================================================= */

/* ── Scroll hint (mobile only) ─────────────────────────────────────────────── */
.cmp-scroll-hint {
  display: none;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  margin: 20px 0 8px;
}

.cmp-scroll-hint span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--neutral-100);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  padding: 5px 14px;
}

/* ── Scroll wrapper — clips overflow and shows scrollbar on mobile ─────────── */
.cmp-table-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  /* subtle scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--neutral-300) var(--neutral-100);
}

.cmp-table-scroll-wrap::-webkit-scrollbar        { height: 4px; }
.cmp-table-scroll-wrap::-webkit-scrollbar-track  { background: var(--neutral-100); border-radius: 2px; }
.cmp-table-scroll-wrap::-webkit-scrollbar-thumb  { background: var(--neutral-300); border-radius: 2px; }

/* ── Table ─────────────────────────────────────────────────────────────────── */
.cmp-table {
  margin-top: 56px;
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  /* minimum width so it scrolls on small screens instead of breaking layout */
  min-width: 580px;
  width: 100%;
}

.cmp-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr;
  align-items: center;
  border-bottom: 1px solid var(--border-1);
}

.cmp-row:last-child { border-bottom: none; }

.cmp-head {
  background: var(--neutral-50);
  padding: 28px 24px;
}

.cmp-head .cmp-col { text-align: center; padding: 0 12px; }

.cmp-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.cmp-ico-powder { background: var(--neutral-100); color: var(--neutral-600); }
.cmp-ico-pill   { background: var(--neutral-100); color: var(--neutral-600); }
.cmp-ico-gummy  { background: var(--neutral-100); color: var(--neutral-600); }

.cmp-ico-aphia {
  background: var(--gradient-sunrise);
  color: white;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
}

.cmp-col-name    { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--neutral-900); line-height: 1; }
.cmp-col-sub     { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-top: 6px; font-weight: 500; }
.cmp-col-winner .cmp-col-name { color: var(--aphia-violet); font-style: italic; }

.cmp-attr {
  padding: 20px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-900);
  border-right: 1px solid var(--border-1);
  display: block !important;
}

.cmp-cell {
  text-align: center;
  padding: 20px 12px;
  font-size: 14px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-1);
}

.cmp-cell:last-child { border-right: none; }

.cmp-cell-winner {
  background: linear-gradient(180deg, rgba(255,220,210,0.18) 0%, rgba(255,201,184,0.10) 100%);
}

.cmp-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--violet-50);
  color: var(--aphia-violet);
  font-weight: 700;
  padding-top: 3px;
  font-size: 14px;
}

.cmp-cell-winner .cmp-yes {
  background: var(--gradient-sunrise);
  color: white;
  box-shadow: 0 6px 16px rgba(255,110,137,0.25);
}

.cmp-no {
  display: inline-flex;
  padding-top: 3px;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--neutral-100);
  color: var(--neutral-400);
  font-weight: 400;
  font-size: 18px;
}

.cmp-half {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--coral-50);
  color: var(--coral-700);
  font-weight: 700;
  font-size: 14px;
}

.cmp-summary {
  padding: 32px 36px;
  background: var(--violet-50);
  border-top: 1px solid var(--border-1);
  display: block;
}

.cmp-summary-inner { max-width: 820px; }

.cmp-summary-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aphia-violet);
  margin-bottom: 10px;
  display: block;
}

.cmp-summary p {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  font-weight: 400;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}

.cmp-summary strong {
  font-weight: 400;
  font-style: italic;
  background: var(--gradient-sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* =============================================================================
   COMPARE SECTION (BEFORE / AFTER)
   ============================================================================= */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.compare-grid::before {
  content: '→';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: var(--aphia-violet);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 2;
  box-shadow: var(--shadow-violet);
}

.compare-card {
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.compare-card.before {
  background: white;
  border: 1px solid var(--border-1);
}

.compare-card.after {
  background: var(--gradient-sunrise);
  color: white;
}

.compare-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.compare-card.before .compare-tag { background: var(--neutral-100); color: var(--neutral-700); }
.compare-card.after  .compare-tag { background: rgba(255,255,255,0.2); color: white; backdrop-filter: blur(6px); }

.compare-headline {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin-bottom: 28px;
}

.compare-headline em { font-style: italic; }

.compare-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.compare-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  align-items: flex-start;
}

.compare-list .icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.compare-card.before .icon { background: var(--neutral-200); color: var(--neutral-600); }
.compare-card.after  .icon { background: rgba(255,255,255,0.25); color: white; }


/* =============================================================================
   MECHANISM (3-STEP)
   ============================================================================= */

.mech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.mech-card {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all var(--dur-base) var(--ease-standard);
}

.mech-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }

.mech-num {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  background: var(--gradient-sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  font-style: italic;
  margin-bottom: 20px;
}

.mech-step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aphia-violet);
  margin-bottom: 8px;
}

.mech-title {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 400;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}

.mech-body         { font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.mech-body strong  { color: var(--neutral-900); font-weight: 600; }


/* =============================================================================
   STATS SECTION
   ============================================================================= */

.stats-section {
  background: var(--neutral-50);
  color: var(--neutral-900);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 85% 0%,   rgba(255,110,137,0.08), transparent 55%),
              radial-gradient(50% 40% at 0%  100%,  rgba(97,50,255,0.08),   transparent 65%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.stat-cell             { border-left: 1px solid var(--border-1); padding: 0 24px; }
.stat-cell:first-child { border-left: none; padding-left: 0; }

.stat-num {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--neutral-900);
  padding-bottom: 6px;
}

.stat-num em {
  font-style: italic;
  background: var(--gradient-sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding: 0 0.08em 0.08em 0;
}

.stat-label { font-size: 14px; line-height: 1.45; color: var(--fg-2); max-width: 180px;font-weight: 500;}


/* =============================================================================
   SECTION HEADS
   ============================================================================= */

.section-head          { max-width: 760px; margin: 0 auto; text-align: center; }
.section-head .eyebrow { display: inline-block; margin-bottom: 18px; }

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--neutral-900);
  margin-bottom: 18px;
}

.section-head h2 em { font-style: italic; }
.section-head p     { font-size: 17px; color: var(--fg-2); line-height: 1.5; max-width: 580px; margin: 0 auto;font-weight: 500;}


/* =============================================================================
   REVIEWS
   ============================================================================= */

.reviews-section {background: white; }

.reviews-summary {
  display: flex;
  gap: 64px;
  align-items: center;
  padding: 32px 0 48px;
  border-bottom: 1px solid var(--border-1);
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.review-big-num   { font-family: var(--font-serif); font-size: 88px; line-height: 1; font-weight: 400; color: var(--neutral-900); }
.review-big-stars { color: var(--aphia-coral); font-size: 22px; letter-spacing: 4px; margin-bottom: 6px; }
.review-bars      { flex: 1; min-width: 240px; }

.review-bar       { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-2); margin-bottom: 6px; }
.review-bar .track{ flex: 1; height: 6px; background: var(--neutral-100); border-radius: 999px; overflow: hidden; }
.review-bar .fill { height: 100%; background: var(--aphia-coral); border-radius: 999px; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars  {color: var(--aphia-coral); letter-spacing: 2px; font-size: 14px;}
.review-quote  {font-family: var(--font-serif); font-size: 22px; line-height: 1.25; font-style: italic; color: var(--neutral-900); letter-spacing: -0.01em;}
.review-meta   {font-size: 13px; color: var(--fg-3); display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px;font-weight: 500;}
.review-meta .verified {color: var(--aphia-violet); font-weight: 600;}
.review-author {font-size: 14px; font-weight: 600; color: var(--neutral-900);}


/* =============================================================================
   OTP / CROSS-SELL
   ============================================================================= */

.otp-section { padding: 96px 0; background: var(--bg-coral-soft); }

.otp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}

.otp-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--dur-base) var(--ease-standard);
  border: 1px solid var(--border-1);
}

.otp-card:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); }

.otp-card.featured              { background: var(--neutral-900); color: white; border: none; }
.otp-card.featured .otp-eyebrow { color: var(--aphia-blush); }
.otp-card.featured .otp-name    { color: white; }
.otp-card.featured .otp-desc    { color: rgba(255,255,255,0.7); }
.otp-card.featured .otp-price   { color: white; }
.otp-card.featured .otp-img     { background: rgba(255,255,255,0.06); }

.otp-img {
  border-radius: var(--radius-lg);
  background: var(--neutral-100);
  aspect-ratio: 1.2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otp-img img { width: 100%; height: 100%; object-fit: cover; }

.otp-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aphia-violet); }
.otp-name    { font-family: var(--font-serif); font-size: 24px; line-height: 1.1; color: var(--neutral-900); font-weight: 400; }
.otp-desc    { font-size: 13px; color: var(--fg-2); line-height: 1.45; }
.otp-bottom  { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.otp-price   { font-size: 17px; font-weight: 700; color: var(--neutral-900); }

.otp-add {
  background: white;
  color: var(--neutral-900);
  border: 1.5px solid var(--neutral-900);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  transition: all var(--dur-base);
}

.otp-card.featured .otp-add { background: white; color: var(--neutral-900); border-color: white; }
.otp-add:hover               { background: var(--neutral-900); color: white; }
.otp-card.featured .otp-add:hover { background: var(--aphia-coral); color: white; border-color: var(--aphia-coral); }


/* =============================================================================
   FOOTER
   ============================================================================= */

.site-footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,0.85);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
}
.newsletter_heading-footer{color: #ffffff;}
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li  {line-height: 1.6;font-weight: 500;font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-col li:hover { color: white; }

.footer-newsletter { display: flex; gap: 8px; margin-top: 14px; }

.footer-newsletter input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  outline: none;
}

.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }

.footer-newsletter button {
  background: white;
  color: var(--neutral-900);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}


/* =============================================================================
   MODAL — EMAIL CAPTURE
   ============================================================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18,10,46,0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-standard);
}

.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }

.modal {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 920px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  transition: transform var(--dur-slow) var(--ease-standard);
  max-height: 90vh;
}

.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }

.modal-image {
  background: var(--gradient-sunrise);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
  min-height: 480px;
}

.modal-image img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.modal-image-overlay { position: relative; z-index: 1; color: white; }

.modal-image-overlay .timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.modal-image-overlay .timer-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: white;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1);   }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.modal-image-overlay h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.modal-body { padding: 40px 40px 32px; overflow-y: auto; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.modal-close:hover { background: rgba(0,0,0,0.6); }

.modal-body h4 {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--neutral-900);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.modal-body h4 em { font-style: italic; }
.modal-body .lead { font-size: 14px; color: var(--fg-2); margin-bottom: 24px; line-height: 1.5; }

.problem-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.problem-pill {
  border: 1.5px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  transition: all var(--dur-base) var(--ease-standard);
}

.problem-pill:hover { border-color: var(--violet-300); }

.problem-pill.is-active {
  border-color: var(--aphia-violet);
  background: var(--violet-50);
  color: var(--aphia-violet);
}

.problem-pill .pill-emoji {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--coral-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--coral-700);
}

.problem-pill.is-active .pill-emoji { background: var(--aphia-violet); color: white; }

.email-form { display: flex; flex-direction: column; gap: 10px; }

.email-input-row {
  display: flex;
  gap: 8px;
  border: 1.5px solid var(--border-1);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  align-items: center;
  transition: border-color var(--dur-base);
}

.email-input-row:focus-within {
  border-color: var(--aphia-violet);
  box-shadow: 0 0 0 3px rgba(97,50,255,0.16);
}

.email-input-row input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  padding: 12px 0;
}

.email-input-row button {
  background: var(--neutral-900);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.email-fineprint { font-size: 11px; color: var(--fg-3); margin-top: 6px; line-height: 1.5; }
.skip-link       { background: none; border: none; color: var(--fg-3); font-size: 12px; text-decoration: underline; margin-top: 16px; padding: 0; cursor: pointer; }

.modal-success        { text-align: center; padding: 40px 0; }
.modal-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-sunrise);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: white; font-size: 28px;
}

.code-pill {
  display: inline-block;
  padding: 10px 18px;
  background: var(--violet-50);
  color: var(--aphia-violet);
  border: 1.5px dashed var(--aphia-violet);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  margin: 14px 0;
  letter-spacing: 0.06em;
}


/* =============================================================================
   RE-TARGETING TOAST
   ============================================================================= */

.retarget-toast {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 360px; max-width: calc(100vw - 48px);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-4);
  padding: 20px;
  z-index: 80;
  border: 1px solid var(--border-1);
  display: flex;
  gap: 14px;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--dur-slow) var(--ease-standard);
}

.retarget-toast.is-open { transform: translateY(0); opacity: 1; }

.retarget-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-sunrise);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
}

.retarget-body    { flex: 1; }
.retarget-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aphia-violet); margin-bottom: 4px; }
.retarget-title   { font-size: 14px; font-weight: 600; color: var(--neutral-900); line-height: 1.3; margin-bottom: 4px; }
.retarget-desc    { font-size: 13px; color: var(--fg-2); line-height: 1.4; }
.retarget-cta     { font-size: 12px; font-weight: 600; color: var(--aphia-violet); text-decoration: underline; margin-top: 8px; padding: 0; background: none; }
.retarget-close   { background: none; color: var(--fg-3); font-size: 16px; padding: 0; align-self: flex-start; }


/* =============================================================================
   RESPONSIVE — TABLET (≤960px)
   ============================================================================= */

@media (max-width: 960px) {

  .compare-grid  { grid-template-columns: 1fr; gap: 14px; }
  .compare-grid::before { display: none; }
  .mech-grid     { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .stat-cell     { border-left: none; padding: 0; }
  .otp-grid      { grid-template-columns: 1fr; }
  .review-grid   { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }

  .modal         { grid-template-columns: 1fr; max-height: 95vh; }
  .modal-image   { min-height: 200px; padding: 20px; }
  .modal-image-overlay h3 { font-size: 28px; }
  .modal-body    { padding: 28px 24px; }

  .stat-num      { font-size: 56px; }

  /* Comparison table — tablet: slightly compact but still full table */
  .cmp-table     { border-radius: var(--radius-lg); margin-top: 40px; }
  .cmp-attr      { padding: 14px; font-size: 13px; }
  .cmp-cell      { padding: 14px 6px; }
  .cmp-head      { padding: 20px 10px; }
  .cmp-ico       { width: 40px; height: 40px; border-radius: 10px; }
  .cmp-ico-aphia { font-size: 20px; }
  .cmp-col-name  { font-size: 14px; }
  .cmp-col-sub   { display: none; }
  .cmp-yes, .cmp-no, .cmp-half { width: 24px; height: 24px; font-size: 12px; }
  .cmp-summary   { padding: 22px 20px; }
  .cmp-summary p { font-size: 16px; }
}


/* =============================================================================
   RESPONSIVE — PHONE (≤640px)
   ============================================================================= */

   @media (max-width: 640px) {
     
     /* Overflow guard */
  html, body { overflow-x: clip; }

  /* Layout */
  .container { padding: 0 16px; }

  /* ── Comparison table: scrollable on mobile ─────────────────────────────── */
  
  /* Show swipe hint */
  .cmp-scroll-hint { display: block; }
  
  /* Wrapper handles the horizontal scroll */
  .cmp-table-scroll-wrap {
    margin-top: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
  }

  /* Table itself scrolls inside wrapper — reset margin (wrapper provides spacing) */
  .cmp-table {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    /* min-width forces scroll when viewport is narrow */
    min-width: 560px;
  }

  /* Compact row sizing for mobile */
  .cmp-col-winner,.cmp-cell-winner{order: -1;}
  .cmp-row        { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; }
  .cmp-head       { padding: 14px 8px; }
  .cmp-head .cmp-col { padding: 0 4px; }
  .cmp-attr-empty{border-right: none;}
  .cmp-attr       { padding: 12px 10px; font-size: 12px; order: -1;}
  .cmp-cell       { padding: 12px 4px; }
  .cmp-ico        { width: 34px; height: 34px; border-radius: 8px; margin-bottom: 6px; }
  .cmp-ico svg    { width: 18px; height: 18px; }
  .cmp-ico-aphia  { font-size: 16px; }
  .cmp-col-name   { font-size: 12px; }
  .cmp-col-sub    { display: none; }
  .cmp-yes, .cmp-no, .cmp-half { width: 22px; height: 22px; font-size: 11px; padding-top: 2px; }
  .cmp-summary    { padding: 18px 14px; min-width: 560px; }
  .cmp-summary p  { font-size: 15px; }
  .cmp-summary-eyebrow { font-size: 10px; }
  
  /* Mechanism */
  .mech-num   { font-size: 40px; margin-bottom: 6px; }
  .mech-title { font-size: 22px; }
  
  /* Stats */
  .stats-section { padding: 64px 0; }
  .stats-grid    { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat-num      { font-size: 52px; }
  .stat-label    { font-size: 12px; }
  
  /* Reviews */
  .reviews-summary { flex-direction: column; align-items: flex-start; gap: 24px; padding: 24px 0 36px; margin-bottom: 36px; }
  .review-big-num  { font-size: 68px; }
  .review-bars     { width: 100%; }
  .review-grid     { gap: 14px; }
  .review-card     { padding: 20px; }
  .review-quote    { font-size: 18px; }
  
  /* OTP */
  .otp-card  { padding: 20px; }
  .otp-img   { aspect-ratio: 5 / 4; }
  .otp-name  { font-size: 20px; }
  
  /* Section heads */
  .section-head h2 { font-size: clamp(32px, 8vw, 44px); }
  .section-head p  { font-size: 15px; }
  .section-head    { padding: 0 4px; }
  .eyebrow         { font-size: 11px; letter-spacing: 0.18em; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  
  /* Email modal → bottom sheet */
  .modal {
    position: fixed;
    left: 0; right: 0; bottom: 0; top: auto;
    width: 100%; max-width: none; max-height: 92vh;
    border-radius: 24px 24px 0 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    transform: translateY(100%);
    transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
  }
  
  .modal-backdrop.is-open .modal { transform: translateY(0); }
  
  .modal-image {
    min-height: 180px; max-height: 220px;
    padding: 18px;
    border-radius: 24px 24px 0 0;
    position: relative;
  }

  .modal-image::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.5);
  }
  
  .modal-image-overlay h3 { font-size: 26px; }
  .modal-body             { padding: 24px 20px 32px; }
  
  .problem-pill           { flex: 1 1 calc(50% - 4px); font-size: 13px; padding: 12px 10px; }
  
  .email-input-row        { flex-direction: column; gap: 10px; }
  .email-input-row input,
  .email-input-row button { width: 100%; border-radius: 14px !important; padding: 14px 16px; }
  
  /* Retarget toast */
  .retarget-toast {
    left: 12px; right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    max-width: none; width: auto;
  }
}

/* CSS FOR MAIN PRODUCT IMAGE SLIDER */
#GalleryViewer-{{ section.id }} {
  position: relative;
}

.product-gallery-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.product-gallery-arrow {
  pointer-events: all;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.product-gallery-prev {
  margin-left: 10px;
  transform: rotate(-270deg);
}

.product-gallery-next {
  margin-right: 10px;
  transform: rotate(270deg);
}

@media (max-width: 749px) {
  .product-gallery-arrow{
    height: 35px;
    width: 35px;
  }
  
  .product-gallery-arrow .svg-wrapper {
    width: 15px;
    height: 15px;
  }
}

