/* ============================================================
   BClear Care - Dentistry Care Supplies
   Drop this file into /Content/site.css in your MVC project
   Reference via: <link href="@Url.Content("~/Content/site.css")" rel="stylesheet" />
   ============================================================ */

:root {
    /* Brand palette - BClear Care */
    --navy-900: #1f272e;
    --navy-800: #2a333c;
    --navy-700: #333e48;   /* primary */
    --navy-600: #475560;
    --navy-500: #5c6b78;
    --cyan-50:  #e8f7fd;
    --cyan-100: #c5ecf8;
    --cyan-500: #29b9e8;   /* accent (derived from logo smile) */
    --cyan-600: #1aa6d4;
    --cyan-700: #0d8ab5;
    --brand-blue: #00a7e1; /* vibrant brand blue — used on .on-brand sections + hero/banner */
    --page-bg: #f5fafd;    /* near-white, slight cyan tint — body bg for off-card areas */

    /* Legacy aliases - keep old --teal-*/--ink-* names mapping to new palette
       so existing class rules keep working without a rewrite. */
    --teal-50:  var(--cyan-50);
    --teal-100: var(--cyan-100);
    --teal-500: var(--cyan-500);
    --teal-600: var(--cyan-600);
    --teal-700: var(--cyan-700);

    --ink-900:  var(--navy-700);
    --ink-700:  var(--navy-600);
    --ink-500:  #6b7680;
    --ink-300:  #c9ced3;
    --ink-100:  #eef0f2;
    --ink-50:   #f6f7f8;
    --white:    #ffffff;
    --amber:    #f59e0b;
    --red:      #dc2626;
    --green:    #16a34a;

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow:    0 4px 14px rgba(15, 23, 42, .08);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, .12);

    --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    color: var(--ink-900);
    background: var(--page-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* ---------- Top utility bar ---------- */
.topbar {
    background: var(--ink-900);
    color: var(--ink-100);
    font-size: 13px;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    gap: 16px;
}
.topbar a { color: var(--ink-100); }
.topbar .topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar .links { display: flex; align-items: center; gap: 16px; }

/* ---------- Locale (country/language) selector ---------- */
.locale-selector { position: relative; }
.locale-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 3px 10px 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
    line-height: 1.4;
}
.locale-btn:hover { background: rgba(255,255,255,0.15); }
.locale-btn .flag { font-size: 13px; }
.locale-btn .caret { font-size: 9px; opacity: .7; margin-left: 2px; }

.locale-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    color: var(--navy-700);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    padding: 14px;
    min-width: 280px;
    display: none;
    z-index: 200;
    border: 1px solid var(--ink-100);
}
.locale-dropdown.open { display: block; }
.locale-section + .locale-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ink-100);
}
.locale-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--ink-500);
    margin: 0 0 8px;
}
.locale-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    color: var(--navy-700);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background .15s ease;
    font-family: inherit;
}
.locale-option:hover:not(:disabled) { background: var(--cyan-50); }
.locale-option.active {
    background: var(--cyan-50);
    color: var(--cyan-700);
    font-weight: 700;
}
.locale-option:disabled { opacity: 0.5; cursor: not-allowed; }
.locale-option .flag { font-size: 14px; }
.locale-option .soon-badge {
    margin-left: auto;
    font-size: 9px;
    background: var(--ink-100);
    color: var(--ink-500);
    padding: 2px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 700;
}

/* ---------- RTL overrides (active when <html dir="rtl">) ---------- */
[dir="rtl"] body { font-family: "Cairo", "Noto Sans Arabic", var(--font); }
[dir="rtl"] .crumbs span { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .locale-dropdown { right: auto; left: 0; }
[dir="rtl"] .locale-option { text-align: right; }
[dir="rtl"] .locale-option .soon-badge { margin-left: 0; margin-right: auto; }
[dir="rtl"] .locale-btn .caret { margin-left: 0; margin-right: 2px; }
/* In RTL, the natural flex-row already places the first child (photo) on the right side. */
[dir="rtl"] .hero-pick-quote-large::before { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .doctor-hero .container { direction: rtl; }
[dir="rtl"] .doc-quote { padding-left: 0; padding-right: 12px; border-left: 0; border-right: 3px solid var(--cyan-500); }
[dir="rtl"] .pd-info,
[dir="rtl"] .hero-pick-content,
[dir="rtl"] .hero-statement,
[dir="rtl"] .hero-finder { text-align: right; }
[dir="rtl"] .hero-finder-tile { text-align: right; }
[dir="rtl"] .hero-finder-tile::after { right: auto; left: 18px; }
[dir="rtl"] .doc-attrib::after,
[dir="rtl"] .hero-pick-card .arrow,
[dir="rtl"] .doc-profile-link,
[dir="rtl"] .doc-chip { direction: rtl; }
[dir="rtl"] .header-actions { direction: rtl; }
[dir="rtl"] .hero-pick-name::before { content: ""; margin-right: 0; }
[dir="rtl"] .hero-pick-name::after { content: "\00a0\2014"; color: var(--ink-300); }
[dir="rtl"] .nav .container { direction: rtl; }
[dir="rtl"] .topbar .container { direction: rtl; }

/* ---------- Header ---------- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--ink-100);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0;
    color: var(--navy-700);
    line-height: 0;
}
.logo:hover { text-decoration: none; }
.logo img {
    height: 40px;
    width: auto;
    display: block;
}
.logo-fallback {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 22px;
    line-height: 1;
    color: var(--navy-700);
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo-fallback .accent { color: var(--cyan-500); }
.logo-fallback .care { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--cyan-500); text-transform: uppercase; }

.search {
    display: flex;
    border: 1px solid var(--ink-300);
    border-radius: 999px;
    overflow: hidden;
    background: var(--white);
}
.search input {
    flex: 1;
    border: 0;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    background: transparent;
}
.search select {
    border: 0;
    border-left: 1px solid var(--ink-100);
    padding: 0 12px;
    background: var(--ink-50);
    font-size: 13px;
    cursor: pointer;
}
.search button {
    border: 0;
    padding: 0 20px;
    background: var(--teal-600);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}
.search button:hover { background: var(--teal-700); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}
.header-actions a {
    color: var(--ink-700);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.header-actions a:hover { color: var(--teal-700); text-decoration: none; }
.badge {
    background: var(--teal-600);
    color: #fff;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* ---------- Primary nav ---------- */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--ink-100);
}
.nav .container {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    overflow-x: auto;
}
.nav a {
    color: var(--ink-700);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.nav a:hover { background: var(--teal-50); color: var(--teal-700); text-decoration: none; }
.nav a.active { background: var(--teal-50); color: var(--teal-700); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: transform .05s ease, background .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { background: var(--teal-700); }
.btn-outline { background: #fff; color: var(--teal-700); border-color: var(--teal-600); }
.btn-outline:hover { background: var(--teal-50); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { background: var(--ink-100); }
/* `.btn-secondary` was referenced by 14+ views (Login OTP "Send code",
   admin index pages, auth flows, etc.) but never defined — they were
   rendering as base `.btn` with no colour variant, looking unstyled
   next to `.btn-primary` siblings. Visual: subdued grey-on-light with
   a quiet hover, distinct from the bold teal primary. */
.btn-secondary {
    background: var(--ink-100);
    color: var(--ink-700);
    border-color: var(--ink-200, #d6dde3);
}
.btn-secondary:hover { background: var(--ink-200, #d6dde3); }
.btn-block { width: 100%; display: block; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
/* Busy-state: visible disabled treatment so the customer sees the
   click registered. Used by window.bclearBusy.lock + form[data-busy]. */
.btn.is-busy,
.btn:disabled,
.channel-btn.is-busy,
.channel-btn:disabled {
    opacity: .65;
    cursor: progress;
    pointer-events: none;
}

/* `.input` standalone class — same story as `.btn-secondary`. The
   `.field input` rule above styles inputs inside `.field` wrappers,
   but admin pages and inline forms across the app pass `class="input"`
   directly on their inputs/selects and rely on this class. Picks up
   the same visual treatment as `.field input` so the two paths render
   identically. */
.input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: #fff;
    color: var(--ink-700);
    outline: none;
    transition: border .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
}
.input:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px var(--teal-100);
}
.input:disabled { background: var(--ink-50, #f3f5f7); cursor: not-allowed; }
select.input {
    /* Native select chevron — pick up the system default but constrain
       height so it lines up with sibling text inputs. */
    appearance: auto;
    -webkit-appearance: auto;
}

/* ---------- index2 (v2-compact) hero overrides — iHerb-style shorter hero, BIG product imagery ---------- */
.v2-compact .hero { padding: 16px 0 20px; }
.v2-compact .hero-pick-slide { height: 280px; }                  /* iHerb-style shorter hero (was 360 with doctor slides) */
.v2-compact .features { margin-bottom: 12px; }
.v2-compact section.on-brand { padding-top: 24px; }

/* ---------- Hero promo banner (iHerb-style) ---------- */
.v2-compact .hero-pick.hero-banner {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;            /* let the floating tab bar overflow below the slide */
    border-radius: 0;
}
.v2-compact .hero-pick.hero-banner::before { display: none; }   /* kill the cyan halo from base .hero-pick */
.v2-compact .hero-banner .hero-pick-slides {
    border-radius: var(--radius);
    overflow: hidden;             /* slide gradient gets rounded corners, no escape */
}
.v2-compact .hero-pick-slide.hero-banner-slide.active {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr;
    gap: 32px;
    height: 280px;                  /* slide gradient fills this height */
    padding: 32px 56px;             /* tabs FLOAT below the slide (not overlapping content) */
    align-items: center;
    column-gap: 32px;
    row-gap: 0;
    animation: none !important;     /* kill the v1 doctor-carousel slide animation */
    opacity: 1 !important;
    transform: none !important;
}
/* Reserve space below the carousel for the half of the tab bar that floats outside */
.v2-compact section.hero { padding: 16px 0 48px; }
.v2-compact .hero-banner-slide .banner-copy {
    grid-column: 1;
    grid-row: 1;
}
.v2-compact .hero-banner-slide .banner-art {
    grid-column: 2;
    grid-row: 1;
}
.banner-1 { background: linear-gradient(135deg, #fff4d6 0%, #ffe8a3 100%); color: #1f2937; }
.banner-2 { background: linear-gradient(135deg, #d6f1fb 0%, #a3dff5 100%); color: #0f3a4b; }
.banner-3 { background: linear-gradient(135deg, #d8f5e6 0%, #a3e9c1 100%); color: #0f3d24; }
.banner-4 { background: linear-gradient(135deg, #ede0fb 0%, #cdb1f5 100%); color: #2e1a55; }
.banner-copy { max-width: 520px; }
.banner-headline {
    font-size: 44px;
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 14px;
    color: inherit;
}
.banner-sub {
    font-size: 17px;
    line-height: 1.45;
    margin: 0 0 18px;
    color: inherit;
    opacity: .85;
}
.banner-code {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255,255,255,.7);
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: .5px;
    color: inherit;
}
.banner-code strong { font-weight: 800; letter-spacing: 1px; }

.banner-art {
    width: 240px;
    height: 200px;
    border-radius: 12px;
    background: rgba(255,255,255,.35);
    display: grid;
    place-items: center;
    border: 1px dashed rgba(255,255,255,.6);
}
.banner-art-placeholder {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .7;
}

/* Prev/next arrows on the slide edges — vertically centered, attached to slide sides */
.hero-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 12px rgba(15,23,42,.12);
    color: var(--navy-700);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 6;
    transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.hero-banner-arrow:hover {
    background: #fff;
    box-shadow: 0 6px 16px rgba(15,23,42,.18);
    transform: translateY(-50%) scale(1.05);
}
/* Position arrows at the vertical middle of the SLIDE only (not including the floating tab bar) */
.v2-compact .hero-pick.hero-banner .hero-banner-arrow { top: 140px; transform: translateY(-50%); }
.v2-compact .hero-pick.hero-banner .hero-banner-arrow:hover { transform: translateY(-50%) scale(1.05); }
.hero-banner-arrow-prev { left: 4px; }
.hero-banner-arrow-next { right: 4px; }

/* iHerb pattern: tab bar floats at the bottom edge of the slide, half over half outside */
.v2-compact .hero-banner-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateY(50%);
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}
/* The light-cream tab bar pill (matches iHerb's #f7f8f7 wrapper) — shrink-wraps to content */
.v2-compact .hero-pick-dots.banner-tabs {
    flex: 0 0 auto;             /* override .v2-compact .hero-pick-dots { flex: 1 } */
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 4px;
    background: #f7f8f7;
    border-radius: 8px;
    box-shadow: none;
    pointer-events: auto;
    overflow: visible;
    width: auto;
}
.banner-tabs::-webkit-scrollbar { display: none; }
.v2-compact .hero-banner-nav {
    display: flex;
    justify-content: center;
    pointer-events: none;            /* let clicks pass through bar gaps */
}
.v2-compact .hero-banner-nav .banner-tabs,
.v2-compact .hero-banner-nav .banner-tab,
.v2-compact .hero-banner-nav .banner-tab-viewall {
    pointer-events: auto;
}
.v2-compact .banner-tab {
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    padding: 8px 18px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: auto;
    width: auto;
    border-radius: 8px;
    color: #666;
    transition: background .15s ease, color .15s ease;
}
.v2-compact .banner-tab .tab-primary {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: inherit;
    line-height: 1.2;
}
.v2-compact .banner-tab .tab-secondary {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: inherit;
    line-height: 1.2;
}
.v2-compact .banner-tab:hover { color: #333; }
.v2-compact .hero-pick-dot.banner-tab.active {
    background: #fff;
    border-bottom: 0;
    box-shadow: none;
    color: #333;
    border-radius: 8px;
}
.v2-compact .hero-pick-dot.banner-tab.active .tab-primary { color: #333; font-weight: 400; }
.v2-compact .hero-pick-dot.banner-tab.active .tab-secondary {
    color: var(--cyan-700);
    font-weight: 700;
}
.banner-tab-viewall {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 400;
    color: var(--cyan-700);
    text-decoration: underline;
    white-space: nowrap;
    pointer-events: auto;
}
.banner-tab-viewall::after {
    content: " ›";
    text-decoration: none;
}
.banner-tab-viewall { display: none; }
@media (max-width: 900px) {
    .banner-tab-viewall { display: none; }
    .v2-compact .hero-banner-slide.active { grid-template-columns: 1fr; }
    .banner-art { display: none; }
}

/* ---------- Horizontal product strip (On Sale carousel) — iHerb-style side arrows ---------- */
.product-strip-wrap {
    position: relative;
    margin-bottom: 8px;
}
.product-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.product-strip::-webkit-scrollbar { display: none; }
.product-strip > .product-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    margin: 0;
}

/* iHerb-style side arrows: vertically centered, attached to the carousel left/right edges,
   half over the carousel, half outside (overlapping the side edge). */
.strip-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--ink-100);
    box-shadow: 0 4px 12px rgba(15,23,42,.18);
    color: var(--navy-700);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 5;
    transition: box-shadow .15s ease, background .15s ease, color .15s ease;
}
.strip-arrow:hover {
    background: var(--cyan-50);
    color: var(--cyan-700);
    box-shadow: 0 6px 16px rgba(15,23,42,.24);
}
.strip-arrow-prev { left: -22px; }     /* 50% of 44px outside the carousel */
.strip-arrow-next { right: -22px; }
.strip-arrow[disabled] { opacity: .35; cursor: default; pointer-events: none; }

/* ---------- BClear Care idea section (3-step explainer — visually rich) ---------- */
.bclear-idea { padding: 56px 0 64px; }

/* Section intro: white-on-blue editorial header */
.bclear-idea .idea-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}
.bclear-idea .idea-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,.18);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.25);
}
.bclear-idea .idea-intro h2 {
    font-size: 42px;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: -.5px;
}
.bclear-idea .idea-intro h2 .accent { color: #ffe082; }
.bclear-idea .idea-intro p {
    font-size: 17px;
    color: rgba(255,255,255,.88);
    line-height: 1.55;
    margin: 0;
}

/* 3-card grid */
.idea-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.idea-step {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px 30px;
    box-shadow: 0 4px 16px rgba(15,23,42,.08);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.idea-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15,23,42,.16);
}

/* Big watermark number in upper-right (decorative) — pulled from data-num attribute */
.idea-step::before {
    content: attr(data-num);
    position: absolute;
    top: -8px;
    right: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 120px;
    line-height: 1;
    color: var(--cyan-50);
    letter-spacing: -6px;
    pointer-events: none;
    z-index: 0;
}

/* Cyan accent bar at the very top of each card */
.idea-step::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan-500) 0%, var(--cyan-700) 100%);
}

.idea-step > * { position: relative; z-index: 1; }

.idea-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan-50) 0%, #e0f4fb 100%);
    color: var(--cyan-700);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    box-shadow: inset 0 0 0 1px rgba(41,185,232,.18);
}

.idea-step .idea-step-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan-700);
    margin-bottom: 8px;
}

.bclear-idea .idea-step h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-700);
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -.3px;
}
.idea-step p {
    font-size: 14.5px;
    color: var(--ink-600);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .idea-grid { grid-template-columns: 1fr; }
    .bclear-idea .idea-intro h2 { font-size: 32px; }
}
.v2-compact .hero-pick-doctor-large { width: 220px; }
.v2-compact .hero-pick-doctor-large img { height: 300px; }
.v2-compact .hero-pick { padding: 14px 20px; }
.v2-compact .hero-statement h1 { font-size: 40px; margin: 0 0 14px; }
.v2-compact .hero-statement p { font-size: 17px; }
.v2-compact .hero-pick-quote-large { font-size: 17px; margin: 0 0 8px; }
.v2-compact .hero-pick-quote-large::before { font-size: 22px; }
.v2-compact .hero-pick-name { font-size: 12px; }
.v2-compact .hero-pick-indication { margin-bottom: 8px; padding: 3px 10px; font-size: 9px; }
.v2-compact .hero-finder-prompt { font-size: 24px; margin: 0 0 18px; }
.v2-compact .hero-finder-tile { padding: 18px 20px; min-height: 110px; }
.v2-compact .hero-pick-nav { margin-top: 10px; padding-top: 10px; }

/* v2 quote bar — magazine pull-quote at the top of each doctor slide */
.hero-pick-quotebar { display: none; }   /* hidden by default; v2 only */
.dot-label { display: none; }            /* hidden by default; v2 nav tabs only */

.v2-compact .hero-pick-quotebar {
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0;
    padding: 12px 18px 12px 22px;
    max-width: none;                 /* override .hero p { max-width: 520px } */
    width: auto;
    background: linear-gradient(120deg, var(--cyan-50) 0%, #ffffff 80%);
    border-left: 3px solid var(--cyan-500);
    border-radius: 8px;
    font-size: 17px;
    font-style: italic;
    line-height: 1.4;
    color: var(--navy-700);
    font-weight: 500;
    letter-spacing: -.1px;
    position: relative;
}
.v2-compact .hero-pick-quotebar::before {
    content: "\201C";
    color: var(--cyan-500);
    font-family: Georgia, serif;
    font-size: 26px;
    line-height: 1;
    margin-right: 6px;
    vertical-align: -3px;
    font-style: normal;
}
.v2-compact .hero-pick-quotebar cite {
    color: var(--ink-500);
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* v2 slide becomes grid: row 1 = quote bar (full width), row 2 = doctor + content
   Selector matches .active to outrank the base rule's `display: flex` */
.v2-compact .hero-pick-slide.active {
    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 24px;
    row-gap: 12px;
    height: 280px;
    align-items: stretch;
}
.v2-compact .hero-pick-doctor-large {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
}
.v2-compact .hero-pick-content {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}
/* Brand statement / indication finder slides: span both cols + both rows */
.v2-compact .hero-pick-slide > .hero-statement,
.v2-compact .hero-pick-slide > .hero-finder,
.v2-compact .hero-pick-slide > .hero-doctors-row {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

/* v2 nav: dots become labeled tabs (iHerb-style smart indicator) */
.v2-compact .hero-pick-nav {
    border-top: 1px solid var(--ink-100);
    margin-top: 14px;
    padding-top: 12px;
}
.v2-compact .hero-pick-dots {
    flex: 1;
    gap: 4px;
    overflow-x: auto;
    justify-content: center;
}
.v2-compact .hero-pick-dot {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    padding: 8px 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: inherit;
    color: var(--ink-500);
    transition: color .15s ease, border-color .15s ease;
}
.v2-compact .hero-pick-dot.active {
    background: transparent;
    width: auto;
    color: var(--cyan-700);
    border-bottom-color: var(--cyan-500);
}
.v2-compact .hero-pick-dot:hover { color: var(--navy-700); }
.v2-compact .hero-pick-dot .dot-label {
    display: inline;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1;
    white-space: nowrap;
}

/* v2: doctor "card" — photo on top, big name + small role underneath, all in one editorial nameplate */
.v2-doctor-card { display: none; }      /* hidden by default so v1 (index.html) is unaffected */

/* v2: doctor as an EDITORIAL PORTRAIT (no card, no border, no shadow)
   — soft cyan halo behind the photo + clean centered nameplate below */
.v2-compact .hero-pick-doctor-large {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    padding: 0;
    height: 100%;
    width: 240px;
    flex-shrink: 0;
    position: relative;
}
/* Soft radial halo behind the photo's upper portion — editorial spotlight,
   not a frame. Reads as "person on a backdrop" rather than "card." */
.v2-compact .hero-pick-doctor-large::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, var(--cyan-100) 0%, transparent 62%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.v2-compact .hero-pick-doctor-large img {
    flex: 1;
    height: auto;
    width: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: bottom center;
    position: relative;
    z-index: 1;
}
/* Nameplate below photo — pure typography, no white footer, no rule above */
.v2-compact .v2-doctor-card {
    display: block;
    background: transparent;
    padding: 10px 6px 0;
    border: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}
.v2-compact .v2-doctor-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy-700);
    margin: 0 0 4px;
    letter-spacing: -.3px;
    line-height: 1.2;
}
.v2-compact .v2-doctor-role {
    font-size: 10px;
    font-weight: 800;
    color: var(--cyan-600);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin: 0;
    line-height: 1.2;
}

/* v2: content column = ONLY 3 BIG products. Quote moved to quotebar at top.
   Doctor name moved to doctor card under photo. Indication moved to active tab below. */
.v2-compact .hero-pick-content {
    display: flex;
    flex-direction: column;
    padding: 0;
    height: 100%;
}
.v2-compact .hero-pick-content .hero-pick-indication,
.v2-compact .hero-pick-name,
.v2-compact .hero-pick-quote-large { display: none; }

/* Picks block fills the entire content cell with 3 big products in a row */
.v2-compact .hero-picks-block {
    flex: 1;
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: stretch;
    min-height: 0;
}
.v2-compact .hero-picks-label { display: none; }
.v2-compact .hero-picks-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    height: 100%;
}
/* Show only the first 3 products; hide 4th (stays in DOM for v1) */
.v2-compact .hero-pick-card:nth-child(n+4) { display: none; }
.v2-compact .hero-pick-card {
    flex-direction: column;
    padding: 0;
    background: linear-gradient(135deg, var(--cyan-50) 0%, #ffffff 70%);
    border: 1px solid var(--ink-100);
    border-radius: 12px;
    overflow: hidden;
    align-items: stretch;
    gap: 0;
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.v2-compact .hero-pick-card:hover {
    border-color: var(--cyan-500);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15,23,42,.14);
}
.v2-compact .hero-pick-card .thumb {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 0;
    position: relative;
    z-index: 1;
}
.v2-compact .hero-pick-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}
.v2-compact .hero-pick-card > span:not(.thumb) { display: none; }
/* Subtle dotted backdrop behind each product (matches doctor photo treatment) */
.v2-compact .hero-pick-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--cyan-100) 1.2px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: .3;
    pointer-events: none;
    z-index: 0;
}

/* ---------- Hero ---------- */
.hero {
    background: transparent;
    padding: 20px 0 24px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    right: -120px; top: -120px;
    width: 440px; height: 440px;
    background: radial-gradient(circle, var(--cyan-100) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.hero-intro {
    text-align: center;
    max-width: 720px;
    margin: 16px auto 8px;
}
.hero-intro h1 {
    font-size: 48px;
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -1px;
}
.hero-intro p {
    font-size: 17px;
    color: var(--ink-500);
    margin: 0 auto 28px;
    max-width: 560px;
}
.hero-intro .hero-cta { justify-content: center; }
.hero-eyebrow {
    display: inline-block;
    background: var(--teal-100);
    color: var(--teal-700);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: 44px;
    line-height: 1.1;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -.5px;
}
.hero h1 span { color: var(--teal-600); }
.hero p {
    font-size: 17px;
    color: var(--ink-500);
    margin: 0 0 28px;
    max-width: 520px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
    color: var(--ink-500);
    font-size: 14px;
}
.hero-trust span::before {
    content: "✓";
    color: var(--teal-600);
    font-weight: 700;
    margin-right: 6px;
}
/* ----- Hero "doctor pick" carousel (replaces .hero-art) ----- */
.hero-pick {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 14px 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ink-100);
    display: flex;
    flex-direction: column;
}
.hero-pick::before {
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--cyan-100) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-pick-slides {
    flex: 1;
    position: relative;
    z-index: 1;
}
.hero-pick-slide {
    display: none;
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
    text-align: left;
    height: 344px;            /* fixed equal height for every slide */
}
/* When slide content is a single full-width block (statement / finder / doctor row),
   collapse the row layout and let the inner block take charge. */
.hero-pick-slide > .hero-doctors-row,
.hero-pick-slide > .hero-statement,
.hero-pick-slide > .hero-finder {
    flex: 1;
}

/* ----- Slide 1: 3-up doctor pull-quote cards ----- */
.hero-doctors-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}
.hero-doc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 28px 26px 22px;
    color: var(--navy-700);
    transition: all .2s ease;
    position: relative;
    overflow: hidden;
}
.hero-doc-card:hover {
    border-color: var(--cyan-500);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    text-decoration: none;
}
.hero-doc-card .hero-pick-indication {
    align-self: flex-start;
    margin: 0 0 14px;
    font-size: 10px;
    padding: 5px 11px;
}
.hero-doc-card .quote-mark {
    color: var(--cyan-500);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 56px;
    line-height: .8;
    font-weight: 700;
    margin: 0 0 -4px -2px;
    user-select: none;
}
.hero-doc-card .quote {
    font-size: 17px;
    line-height: 1.45;
    font-style: italic;
    color: var(--navy-700);
    margin: 0 0 24px;
    font-weight: 500;
    flex: 1;
}
.hero-doc-card .doc-attrib {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--ink-100);
    margin-top: auto;
}
.hero-doc-card .photo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(160deg, var(--cyan-50), #fff);
    overflow: hidden;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: var(--cyan-700);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
}
.hero-doc-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.hero-doc-card .name {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-700);
    margin: 0;
    line-height: 1.2;
}
.hero-doc-card .name + .view {
    display: block;
    font-size: 12px;
    color: var(--cyan-700);
    margin-top: 2px;
    font-weight: 600;
}
.hero-doc-card .meta { flex: 1; min-width: 0; }
/* hover arrow on the right */
.hero-doc-card .doc-attrib::after {
    content: "\203A";
    color: var(--ink-300);
    font-size: 22px;
    line-height: 1;
    transition: all .15s ease;
    margin-left: 4px;
}
.hero-doc-card:hover .footer::after {
    color: var(--cyan-600);
    transform: translateX(3px);
}

/* ----- Slide 2: Brand statement ----- */
.hero-statement {
    width: 100%;
    text-align: center;
    padding: 12px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-statement-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--cyan-600);
    margin-bottom: 16px;
}

/* Slogan eyebrow on the brand-statement slide (above the H1) */
.hero-slogan {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan-600);
    margin: 0 0 18px;
    padding: 4px 12px;
    border: 1px solid var(--cyan-100);
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
}
.hero-statement h1 {
    font-size: 44px;
    line-height: 1.05;
    margin: 0 0 16px;
    letter-spacing: -1.2px;
    max-width: 680px;
}
.hero-statement h1 span { color: inherit; }
.hero-statement h1 span:last-child { color: var(--cyan-500); }
.hero-statement p {
    font-size: 19px;
    color: var(--ink-500);
    line-height: 1.5;
    max-width: 560px;
    margin: 0;
}

/* ----- Slide 3: Indication finder ----- */
.hero-finder {
    width: 100%;
    padding: 8px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-finder-prompt {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-700);
    margin: 0 0 24px;
    letter-spacing: -.3px;
}
.hero-finder-prompt em {
    color: var(--cyan-500);
    font-style: normal;
    position: relative;
}
.hero-finder-prompt em::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 2px;
    height: 6px;
    background: var(--cyan-100);
    z-index: -1;
}
.hero-finder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}
.hero-finder-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    gap: 8px;
    padding: 24px 22px;
    border: 0;
    border-radius: var(--radius);
    color: #fff;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
    min-height: 130px;
}
.hero-finder-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    text-decoration: none;
    color: #fff;
}
/* Subtle two-digit number in the top-right corner of each tile */
.hero-finder-grid { counter-reset: tilenum; }
.hero-finder-tile::after {
    counter-increment: tilenum;
    content: counter(tilenum, decimal-leading-zero);
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.35);
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.hero-finder-tile .label {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -.3px;
    margin-top: 8px;
}
.hero-finder-tile .hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.4;
    font-weight: 500;
}
/* Per-tile color bricks (palette: brand cyan/navy + 4 complementary) */
.hero-finder-tile:nth-child(1) { background: linear-gradient(135deg, #1aa6d4 0%, #0d8ab5 100%); }
.hero-finder-tile:nth-child(2) { background: linear-gradient(135deg, #333e48 0%, #1f272e 100%); }
.hero-finder-tile:nth-child(3) { background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%); }
.hero-finder-tile:nth-child(4) { background: linear-gradient(135deg, #f59e0b 0%, #c47004 100%); }
.hero-finder-tile:nth-child(5) { background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%); }
.hero-finder-tile:nth-child(6) { background: linear-gradient(135deg, #0d9488 0%, #115e59 100%); }
.hero-pick-slide.active { display: flex; }
.hero-pick-slide.active.from-right { animation: heroPickSlideRight .45s ease; }
.hero-pick-slide.active.from-left  { animation: heroPickSlideLeft  .45s ease; }
@keyframes heroPickSlideRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroPickSlideLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Doctor photo: full silhouette against tinted editorial backdrop */
.hero-pick-doctor-large {
    width: 230px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(160deg, var(--cyan-50) 0%, #ffffff 70%);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* fallback initials styling if image fails */
    color: var(--cyan-700);
    font-weight: 800;
    font-size: 64px;
    letter-spacing: 3px;
}
.hero-pick-doctor-large::after {
    /* subtle dotted backdrop pattern for editorial feel */
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--cyan-100) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    background-position: 0 0;
    opacity: .35;
    pointer-events: none;
}
.hero-pick-doctor-large img {
    position: relative;
    z-index: 1;
    height: 260px;          /* FIXED: all doctor silhouettes render at the same height */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Right-side content column */
.hero-pick-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    min-width: 0;
}

.hero-pick-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-500);
    margin: 0;
    letter-spacing: .2px;
}
.hero-pick-name::before {
    content: "\2014\00a0";  /* em dash + nbsp, like a magazine attribution */
    color: var(--ink-300);
}

.hero-pick-indication {
    display: inline-block;
    background: var(--cyan-50);
    color: var(--cyan-700);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.hero-pick-quote-large {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
    font-style: italic;
    color: var(--navy-700);
    margin: 0 0 12px;
    position: relative;
    padding: 0;
    letter-spacing: -.2px;
}
.hero-pick-quote-large::before {
    content: "\201C";
    color: var(--cyan-500);
    font-family: Georgia, serif;
    font-size: 28px;
    line-height: 1;
    font-style: normal;
    font-weight: 700;
    display: inline-block;
    margin-right: 4px;
    vertical-align: -4px;
}

/* Doctor's recommended picks (no pricing) — compact 4-up row */
.hero-picks-block {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--ink-100);
}
.hero-picks-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: var(--ink-500);
    margin: 0 0 6px;
}
.hero-picks-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.hero-pick-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--navy-700);
    transition: all .15s ease;
    min-width: 0;
}
.hero-pick-card:hover {
    border-color: var(--cyan-500);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}
.hero-pick-card .thumb {
    width: 36px; height: 36px;
    background: var(--ink-50);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.hero-pick-card .thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 3px;
}
.hero-pick-card > span {
    width: 100%;
    min-width: 0;
}
.hero-pick-card .pick-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--navy-700);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-pick-card .pick-brand {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ink-500);
    margin: 0 0 1px;
    display: block;
}

.hero-pick-product-mini {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    background: #fff;
    color: var(--navy-700);
    transition: border-color .15s ease;
    align-self: flex-start;
    max-width: 100%;
}
.hero-pick-product-mini:hover {
    border-color: var(--cyan-500);
    text-decoration: none;
}
.hero-pick-product-mini .thumb {
    width: 44px; height: 44px;
    background: var(--ink-50);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.hero-pick-product-mini .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.hero-pick-product-mini .info { text-align: left; flex: 1; min-width: 0; }
.hero-pick-product-mini .brand {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ink-500);
    font-weight: 700;
    margin: 0 0 2px;
    display: block;
}
.hero-pick-product-mini .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-700);
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-pick-product-mini .arrow { color: var(--cyan-600); font-weight: 700; }

/* Carousel nav (arrows + dots) */
.hero-pick-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--ink-100);
    position: relative;
    z-index: 1;
}
.hero-pick-arrow {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ink-300);
    background: #fff;
    color: var(--navy-700);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: all .15s ease;
    flex-shrink: 0;
}
.hero-pick-arrow:hover {
    background: var(--cyan-50);
    border-color: var(--cyan-500);
    color: var(--cyan-700);
}
.hero-pick-dots {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: center;
}
.hero-pick-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 0;
    background: var(--ink-300);
    cursor: pointer;
    transition: all .25s ease;
    padding: 0;
}
.hero-pick-dot.active {
    background: var(--cyan-500);
    width: 24px;
    border-radius: 4px;
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}
.section-head h2 {
    font-size: 26px;
    margin: 0;
    font-weight: 700;
    letter-spacing: -.3px;
}
.section-head p { margin: 4px 0 0; color: var(--ink-500); }
.section-head a { font-size: 14px; font-weight: 600; }

/* Branded sections — explicit brand-blue background, light text */
.on-brand { background: var(--brand-blue); }
.on-brand .section-head h2,
.on-brand h1,
.on-brand h2,
.on-brand h3 { color: #fff; }
.on-brand .section-head p,
.on-brand > p,
.on-brand .muted,
.on-brand .count { color: rgba(255,255,255,0.88); }
.on-brand .section-head a,
.on-brand a:not(.btn):not(.product-card a):not(.cat-tile):not(.doctor-card):not(.hero-doc-card):not(.hero-pick-card):not(.doc-chip):not(.doc-profile-link):not(.hero-finder-tile) { color: #fff; opacity: .92; }
.on-brand .section-head a:hover { opacity: 1; }

/* ---------- Category tiles ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.cat-tile {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 0;
    text-align: center;
    color: var(--ink-900);
    transition: all .2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.cat-tile:hover {
    border-color: var(--cyan-500);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    text-decoration: none;
}
.cat-img {
    aspect-ratio: 4/3;
    background: var(--ink-50);
    overflow: hidden;
}
.cat-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.cat-tile:hover .cat-img img { transform: scale(1.05); }
.cat-tile span {
    display: block;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 12px;
    color: var(--navy-700);
}

/* ---------- Product grid ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .2s ease;
    position: relative;
}
.product-card:hover {
    border-color: var(--teal-500);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.product-card .tag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--amber);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.product-card .tag.new { background: var(--teal-600); }
.product-card .tag.sale { background: var(--red); }
.product-thumb {
    background: var(--ink-50);
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    font-size: 72px;
    color: var(--cyan-500);
    overflow: hidden;
    position: relative;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .25s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ink-500);
    font-weight: 600;
}

/* Sale link in nav — branded red accent */
nav.nav a.nav-sale { color: var(--red); }
nav.nav a.nav-sale:hover { color: var(--red-dark, #b91c1c); }

/* ---------- Page heading + empty states ---------- */
.page-head {
    padding: 8px 0 24px;
}
.page-head h1 {
    font-size: 32px;
    margin: 0 0 6px;
    color: var(--navy-700);
    letter-spacing: -.4px;
}
.page-head p {
    font-size: 16px;
    color: var(--ink-600);
    margin: 0;
}
.empty-state {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 64px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}
.empty-state .empty-art {
    font-size: 64px;
    color: var(--cyan-500);
    line-height: 1;
    margin-bottom: 16px;
}
.empty-state h2 {
    font-size: 22px;
    color: var(--navy-700);
    margin: 0 0 8px;
    font-weight: 800;
}
.empty-state > p {
    font-size: 15px;
    color: var(--ink-600);
    max-width: 460px;
    margin: 0 auto 24px;
    line-height: 1.55;
}
.empty-cta {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- Toast notifications ---------- */
#toast-host {
    position: fixed;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    max-width: calc(100vw - 32px);
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 320px;
    max-width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-left: 4px solid var(--cyan-500);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(15,23,42,.18);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .2s ease, transform .2s ease;
}
.toast.toast-in { opacity: 1; transform: translateX(0); }
.toast.toast-out { opacity: 0; transform: translateX(20px); }
.toast-icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--cyan-500);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: grid;
    place-items: center;
    line-height: 1;
}
.toast-error .toast-icon { background: var(--red); }
.toast-error { border-left-color: var(--red); }
.toast-body { flex: 1; min-width: 0; }
.toast-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 2px;
}
.toast-message {
    font-size: 13px;
    color: var(--ink-700);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.toast-close {
    flex-shrink: 0;
    background: transparent;
    border: 0;
    color: var(--ink-500);
    font-size: 22px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
    align-self: flex-start;
}
.toast-close:hover { color: var(--navy-700); }

/* Cart badge pulse on add-to-cart */
@keyframes badgePulse {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(41,185,232,.6); }
    50%  { transform: scale(1.25); box-shadow: 0 0 0 8px rgba(41,185,232,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(41,185,232,0); }
}
.badge.badge-pulse { animation: badgePulse .6s ease; }

[dir="rtl"] #toast-host { right: auto; left: 16px; }
[dir="rtl"] .toast { transform: translateX(-20px); }
[dir="rtl"] .toast.toast-in { transform: translateX(0); }
[dir="rtl"] .toast.toast-out { transform: translateX(-20px); }
[dir="rtl"] .toast { border-left: 0; border-right: 4px solid var(--cyan-500); }

/* Dentist endorsement chip — only on products with a doctor pick */
.dr-pick {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan-700);
    background: var(--cyan-50);
    padding: 3px 9px 3px 7px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid rgba(41,185,232,.25);
    transition: background .15s ease, border-color .15s ease;
}
.dr-pick:hover {
    background: var(--cyan-100);
    border-color: var(--cyan-500);
    text-decoration: none;
}
.dr-pick::before {
    content: "✓";
    display: inline-block;
    width: 13px; height: 13px;
    border-radius: 50%;
    background: var(--cyan-500);
    color: #fff;
    font-size: 9px;
    line-height: 13px;
    text-align: center;
    font-weight: 800;
}
.product-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--ink-900);
    line-height: 1.3;
    min-height: 36px;
}
.product-card h3 a { color: inherit; }
.rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ink-500);
}
.stars { color: var(--amber); letter-spacing: 1px; }
.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}
.price { font-size: 18px; font-weight: 700; color: var(--ink-900); }
.price-old { color: var(--ink-500); text-decoration: line-through; font-size: 13px; }
.product-card:has(.tag.sale) .price { color: var(--red); }
.product-card .btn {
    margin-top: 4px;
    padding: 10px;
    font-size: 13px;
}

/* ---------- Hero "recommended by dentists" chip ---------- */
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: 999px;
    padding: 6px 16px 6px 6px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    color: var(--navy-700);
    font-weight: 600;
}
.hero-chip .stack {
    display: flex;
}
.hero-chip .stack .avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--cyan-100) center/cover no-repeat;
    margin-left: -8px;
    overflow: hidden;
}
.hero-chip .stack .avatar:first-child { margin-left: 0; }
.hero-chip .stack .avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Doctor recommendations section ---------- */
.doctors {
    background: linear-gradient(180deg, #fff 0%, var(--ink-50) 100%);
    padding: 56px 0;
}
.doctors .section-head h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.doctors .section-head h2::before {
    content: "";
    display: inline-block;
    width: 28px; height: 28px;
    background: var(--cyan-500);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2v4M16 2v4M5 9c0 5 3 8 7 8s7-3 7-8'/><circle cx='18' cy='17' r='3'/><path d='M18 14v-2'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2v4M16 2v4M5 9c0 5 3 8 7 8s7-3 7-8'/><circle cx='18' cy='17' r='3'/><path d='M18 14v-2'/></svg>") center/contain no-repeat;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.doctor-card {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all .2s ease;
    position: relative;
    overflow: hidden;
}
.doctor-card:hover {
    border-color: var(--cyan-500);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.doctor-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: linear-gradient(120deg, var(--cyan-50), #fff);
    z-index: 0;
}
.doc-head {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
}
.doc-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--cyan-100);
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
    display: grid;
    place-items: center;
    color: var(--cyan-700);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
}
.doc-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doc-name {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-700);
    display: flex;
    align-items: center;
    gap: 4px;
}
.verified {
    display: inline-block;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--cyan-500);
    flex-shrink: 0;
    /* hide the original glyph; we draw the check via the SVG mask below */
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    position: relative;
    vertical-align: middle;
}
.verified::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") center/56% 56% no-repeat;
}
/* Bigger variant for the doctor profile h1 (32px name) */
.doctor-hero h1 .verified { width: 22px; height: 22px; }
.doc-spec {
    font-size: 12px;
    color: var(--ink-500);
    line-height: 1.4;
}
.doc-quote {
    font-style: italic;
    font-size: 13px;
    color: var(--ink-700);
    line-height: 1.5;
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 3px solid var(--cyan-500);
}
.doc-products {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--ink-100);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.doc-products-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ink-500);
    font-weight: 600;
    margin-bottom: 2px;
}
.doc-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-sm);
    color: var(--navy-700);
    transition: background .15s ease;
}
.doc-chip:hover {
    background: var(--cyan-50);
    text-decoration: none;
    border-color: var(--cyan-100);
}
.doc-chip-thumb {
    width: 36px; height: 36px;
    border-radius: 4px;
    background: var(--ink-50);
    overflow: hidden;
    flex-shrink: 0;
}
.doc-chip-thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 2px;
}
.doc-chip-info {
    flex: 1;
    min-width: 0;
}
.doc-chip-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.doc-chip-price {
    font-size: 11px;
    color: var(--ink-500);
}
.doc-profile-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan-700);
    border: 1px solid var(--cyan-100);
    border-radius: var(--radius-sm);
}
.doc-profile-link:hover {
    background: var(--cyan-50);
    text-decoration: none;
}

/* ---------- Doctor detail page ---------- */
.doctor-hero {
    background: linear-gradient(135deg, var(--cyan-50), #fff);
    padding: 48px 0;
    border-bottom: 1px solid var(--ink-100);
}
.doctor-hero .container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: center;
}
.doctor-hero-photo {
    width: 220px; height: 220px;
    border-radius: 50%;
    background: var(--cyan-100);
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: var(--shadow-lg);
    display: grid;
    place-items: center;
    font-size: 64px;
    font-weight: 800;
    color: var(--cyan-700);
    letter-spacing: 2px;
}
.doctor-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doctor-hero h1 {
    font-size: 32px;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.doctor-hero .credentials {
    color: var(--cyan-700);
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 6px;
}
.doctor-hero .clinic {
    color: var(--ink-500);
    font-size: 14px;
    margin: 0 0 16px;
}
.doctor-hero .bio { color: var(--ink-700); max-width: 640px; margin: 0; }

.doc-socials {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.doc-socials a {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--ink-100);
    color: var(--navy-700);
    transition: all .15s ease;
}
.doc-socials a:hover {
    border-color: var(--cyan-500);
    color: var(--cyan-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}
.doc-socials svg {
    width: 18px; height: 18px;
    fill: currentColor;
}

/* ---------- About page (editorial layout) ---------- */
.about-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 0;
    margin: 24px 0 56px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.about-hero {
    padding: 72px 48px 48px;
    text-align: center;
    border-bottom: 1px solid var(--ink-100);
    position: relative;
}
.about-hero::before {
    content: "";
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, var(--cyan-100) 0%, transparent 70%);
    border-radius: 50%;
    opacity: .5;
    pointer-events: none;
}
.about-hero .eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--cyan-600);
    margin-bottom: 18px;
}
.about-hero h1 {
    font-size: 52px;
    line-height: 1.1;
    margin: 0 auto 18px;
    letter-spacing: -1.2px;
    color: var(--navy-700);
    max-width: 640px;
    position: relative;
}
.about-hero h1 em {
    font-style: italic;
    color: var(--cyan-500);
    font-weight: 800;
}
.about-hero .lede {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-500);
    max-width: 540px;
    margin: 0 auto;
}

/* Stat strip */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid var(--ink-100);
}
.about-stat {
    padding: 32px 28px;
    text-align: center;
    border-right: 1px solid var(--ink-100);
}
.about-stat:last-child { border-right: 0; }
.about-stat .num {
    font-size: 48px;
    font-weight: 900;
    color: var(--cyan-500);
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 6px;
}
.about-stat .num small { font-size: 22px; vertical-align: baseline; margin-left: 2px; }
.about-stat .desc {
    font-size: 13px;
    color: var(--navy-700);
    line-height: 1.45;
    font-weight: 600;
    max-width: 200px;
    margin: 0 auto;
}

/* Story sections (alternating) */
.about-story {
    padding: 56px 48px;
}
.about-story + .about-story { border-top: 1px solid var(--ink-100); }
.about-story h2 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--cyan-600);
    margin: 0 0 14px;
}
.about-story p {
    font-size: 19px;
    line-height: 1.55;
    color: var(--navy-700);
    margin: 0 0 14px;
    max-width: 620px;
}
.about-story p strong { font-weight: 700; }
.about-story p:last-child { margin-bottom: 0; }

/* Pull quote — big editorial moment */
.about-pull {
    background: linear-gradient(135deg, var(--cyan-50) 0%, #ffffff 70%);
    padding: 64px 48px;
    text-align: center;
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
    position: relative;
}
.about-pull::before {
    content: "\201C";
    font-family: Georgia, serif;
    font-size: 120px;
    line-height: .6;
    color: var(--cyan-500);
    display: block;
    margin: 0 0 12px;
    font-weight: 700;
}
.about-pull blockquote {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--navy-700);
    margin: 0 auto;
    max-width: 720px;
    letter-spacing: -.4px;
    font-style: italic;
}

/* Three-up beliefs */
.about-beliefs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
}
.about-belief {
    padding: 36px 32px;
    border-right: 1px solid var(--ink-100);
}
.about-belief:last-child { border-right: 0; }
.about-belief .marker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--cyan-500);
    margin-bottom: 12px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.about-belief h3 {
    font-size: 19px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--navy-700);
    font-weight: 800;
    letter-spacing: -.3px;
}
.about-belief p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-500);
    margin: 0;
}

/* Doctor lineup */
.about-team {
    padding: 56px 48px;
    text-align: center;
    border-top: 1px solid var(--ink-100);
}
.about-team h2 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--cyan-600);
    margin: 0 0 8px;
}
.about-team .h2-line {
    font-size: 28px;
    color: var(--navy-700);
    margin: 0 0 28px;
    font-weight: 800;
    letter-spacing: -.3px;
}
.about-team-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.about-doc {
    text-align: center;
    flex: 0 0 auto;
}
.about-doc .photo {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: var(--cyan-50);
    overflow: hidden;
    margin: 0 auto 10px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--cyan-100), var(--shadow-sm);
    display: grid;
    place-items: center;
    color: var(--cyan-700);
    font-weight: 800;
    font-size: 22px;
}
.about-doc .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-doc .name { font-size: 13px; font-weight: 700; color: var(--navy-700); margin: 0 0 2px; }
.about-doc .role { font-size: 11px; color: var(--ink-500); margin: 0; }

/* Final CTA */
.about-cta {
    padding: 48px 48px 56px;
    text-align: center;
    border-top: 1px solid var(--ink-100);
}
.about-cta h2 {
    font-size: 24px;
    color: var(--navy-700);
    margin: 0 0 10px;
    letter-spacing: -.3px;
}
.about-cta p {
    font-size: 15px;
    color: var(--ink-500);
    margin: 0 0 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.about-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
    .about-hero { padding: 56px 32px 40px; }
    .about-hero h1 { font-size: 38px; }
    .about-stats { grid-template-columns: 1fr; }
    .about-stat { border-right: 0; border-bottom: 1px solid var(--ink-100); }
    .about-stat:last-child { border-bottom: 0; }
    .about-story { padding: 40px 32px; }
    .about-pull { padding: 48px 32px; }
    .about-pull blockquote { font-size: 22px; }
    .about-beliefs { grid-template-columns: 1fr; }
    .about-belief { border-right: 0; border-bottom: 1px solid var(--ink-100); }
    .about-belief:last-child { border-bottom: 0; }
    .about-team { padding: 40px 32px; }
    .about-cta { padding: 40px 32px; }
}

/* ---------- Static content page (privacy / faq / shipping) ---------- */
.static-page {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    margin: 24px auto 56px;          /* centered when narrower than container */
    max-width: 840px;                /* keep prose at a comfortable reading width */
    box-shadow: var(--shadow-sm);
    color: var(--navy-700);
}
.static-page h1 {
    font-size: 36px;
    margin: 0 0 8px;
    letter-spacing: -.5px;
}
.static-page .lead {
    font-size: 16px;
    color: var(--ink-500);
    margin: 0 0 32px;
}
.static-page h2 {
    font-size: 22px;
    margin: 32px 0 12px;
    color: var(--navy-700);
    letter-spacing: -.2px;
}
.static-page h3 {
    font-size: 17px;
    margin: 20px 0 8px;
    color: var(--navy-700);
}
.static-page p, .static-page li {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-700);
}
.static-page ul, .static-page ol { padding-left: 22px; margin: 0 0 12px; }
.static-page li { margin-bottom: 6px; }
.static-page hr {
    border: 0;
    border-top: 1px solid var(--ink-100);
    margin: 32px 0;
}
.static-page .updated {
    font-size: 13px;
    color: var(--ink-500);
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--ink-100);
}

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}
.faq-q {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 15px;
    color: var(--navy-700);
    list-style: none;
    position: relative;
    user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan-600);
    font-size: 22px;
    font-weight: 600;
    transition: transform .2s ease;
}
.faq-item[open] .faq-q::after { content: "\2212"; }
.faq-a {
    padding: 0 22px 18px;
    font-size: 14px;
    color: var(--ink-700);
    line-height: 1.6;
}

/* ---------- Gift Cards ---------- */
.gift-hero {
    background: var(--brand-blue);
    padding: 48px 0 40px;
    text-align: center;
}
.gift-hero h1 {
    font-size: 52px;
    line-height: 1.05;
    margin: 0 0 16px;
    color: #fff;
    letter-spacing: -1.5px;
}
.gift-hero h1 span { color: var(--cyan-100); }
.gift-hero .sub {
    font-size: 18px;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
    max-width: 580px;
    margin: 0 auto;
}

.gift-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0 40px;
}
.gift-value {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 20px 22px;
    color: var(--navy-700);
    box-shadow: var(--shadow-sm);
}
.gift-value h4 { margin: 0 0 6px; font-size: 16px; color: var(--navy-700); font-weight: 700; }
.gift-value p { margin: 0; font-size: 13px; color: var(--ink-600); line-height: 1.5; }

/* Gift card products section */
.gift-products {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}
.gift-products .head { text-align: center; margin-bottom: 32px; }
.gift-products .head h2 { font-size: 28px; color: var(--navy-700); margin: 0 0 8px; }
.gift-products .head p { font-size: 15px; color: var(--ink-500); margin: 0; }

.gift-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.gift-card-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: var(--navy-700);
}
.gift-card-item:hover { text-decoration: none; }

/* The card visual itself - 16:10 aspect, themed */
.gift-card {
    aspect-ratio: 1.6/1;
    border-radius: 14px;
    padding: 18px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .15);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gift-card-item:hover .gift-card {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .25);
}

/* Card top — logo */
.gift-card .gc-logo {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.5px;
    line-height: 1;
}
.gift-card .gc-logo b { color: rgba(255,255,255,0.7); font-weight: 900; }

/* Card center — amount */
.gift-card .gc-amount {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    margin: 0;
}
.gift-card .gc-amount small {
    font-size: 12px;
    font-weight: 700;
    opacity: .8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

/* Card bottom — theme + brand */
.gift-card .gc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    opacity: .85;
}

/* Theme: Classic (brand cyan) */
.gift-card.theme-classic {
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18) 0%, transparent 50%),
        linear-gradient(135deg, #1aa6d4 0%, #0d8ab5 100%);
}

/* Theme: Birthday (festive coral with confetti) */
.gift-card.theme-birthday {
    background:
        radial-gradient(circle at 22% 25%, rgba(255,255,255,0.7) 2px, transparent 3px),
        radial-gradient(circle at 70% 35%, rgba(255,237,213,0.85) 2.5px, transparent 3.5px),
        radial-gradient(circle at 35% 75%, rgba(254,205,211,0.8) 2px, transparent 3px),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,0.7) 1.8px, transparent 2.8px),
        radial-gradient(circle at 50% 50%, rgba(255,224,71,0.6) 2.2px, transparent 3.2px),
        linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
}

/* Theme: Eid (deep navy + gold geometric) */
.gift-card.theme-eid {
    background:
        radial-gradient(circle at 50% 50%, rgba(252,211,77,0.18) 0%, transparent 60%),
        repeating-conic-gradient(from 0deg at 90% 10%, rgba(252,211,77,0.18) 0deg 8deg, transparent 8deg 22deg),
        linear-gradient(135deg, #1f272e 0%, #0d4a6e 60%, #1f272e 100%);
    color: #fcd34d;
}
.gift-card.theme-eid .gc-amount,
.gift-card.theme-eid .gc-logo { color: #fcd34d; }
.gift-card.theme-eid .gc-bottom { color: rgba(252,211,77,0.85); }

/* Theme: Get Well Soon (soft rose) */
.gift-card.theme-getwell {
    background:
        radial-gradient(circle at 75% 15%, rgba(255,255,255,0.3) 0%, transparent 55%),
        linear-gradient(135deg, #fb7185 0%, #f9a8d4 60%, #fda4af 100%);
}

/* Below-card meta (theme name + amounts) */
.gift-card-item .gc-meta { padding: 0 4px; }
.gift-card-item .gc-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-700);
    margin: 0 0 4px;
}
.gift-card-item .gc-from {
    font-size: 13px;
    color: var(--ink-500);
    margin: 0 0 12px;
}
.gift-card-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.gift-card-amounts .gc-pill {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--ink-100);
    background: #fff;
    color: var(--navy-700);
    cursor: pointer;
    transition: all .15s ease;
    font-family: inherit;
}
.gift-card-amounts .gc-pill:hover {
    background: var(--cyan-50);
    border-color: var(--cyan-500);
    color: var(--cyan-700);
}

/* Custom amount block */
.gift-custom {
    background: var(--cyan-50);
    border: 1px dashed var(--cyan-500);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.gift-custom .gc-msg { flex: 1; min-width: 240px; }
.gift-custom h4 { margin: 0 0 4px; font-size: 17px; color: var(--navy-700); }
.gift-custom p { margin: 0; font-size: 13px; color: var(--ink-500); }
.gift-custom-form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gift-custom-form .prefix {
    font-weight: 700;
    color: var(--ink-500);
    font-size: 14px;
}
.gift-custom-form input {
    width: 110px;
    padding: 10px 12px;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: #fff;
    font-family: inherit;
}

/* How it works on giftcards */
.gift-how {
    padding: 32px 0 16px;
}
.gift-how .head { text-align: center; margin-bottom: 24px; }
.gift-how .head h2 { color: var(--navy-700); margin: 0 0 4px; font-size: 26px; }
.gift-how .head p { color: var(--ink-600); margin: 0; font-size: 15px; }

@media (max-width: 1024px) {
    .gift-card-grid { grid-template-columns: repeat(2, 1fr); }
    .gift-values { grid-template-columns: repeat(3, 1fr); }
    .gift-hero h1 { font-size: 38px; }
    .static-page { padding: 32px 28px; }
}
@media (max-width: 640px) {
    .gift-card-grid { grid-template-columns: 1fr; }
    .gift-values { grid-template-columns: 1fr; }
    .gift-products { padding: 28px 20px; }
}

/* ---------- Sell-with-us page ---------- */
.sell-hero {
    background: var(--brand-blue);
    padding: 56px 0 40px;
    text-align: center;
}
.sell-hero h1 {
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0 0 18px;
    color: #fff;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.sell-hero h1 span { color: inherit; }
.sell-hero h1 span:last-child { color: var(--cyan-100); }
.sell-hero .sub {
    font-size: 19px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    max-width: 620px;
    margin: 0 auto 32px;
}
.sell-hero .cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.sell-hero .btn {
    background: #fff;
    color: var(--navy-700);
    padding: 14px 24px;
    font-weight: 700;
}
.sell-hero .btn:hover { background: var(--cyan-50); color: var(--cyan-700); }
.sell-hero .btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: 0;
}
.sell-hero .btn-whatsapp:hover { background: #1ebe5b; color: #fff; }

.sell-values {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    margin: 0 0 32px;
    box-shadow: var(--shadow-sm);
}
.sell-values .head {
    text-align: center;
    margin-bottom: 32px;
}
.sell-values .head h2 {
    font-size: 30px;
    margin: 0 0 8px;
    color: var(--navy-700);
}
.sell-values .head p {
    font-size: 16px;
    color: var(--ink-500);
    margin: 0;
}
.sell-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.sell-value-card {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all .2s ease;
    position: relative;
}
.sell-value-card:hover {
    border-color: var(--cyan-500);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.sell-value-card .num {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--cyan-500);
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    margin-bottom: 14px;
}
.sell-value-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-700);
    margin: 0 0 8px;
    letter-spacing: -.3px;
}
.sell-value-card p {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.55;
    margin: 0;
}

.sell-how {
    background: transparent;
    padding: 32px 0 16px;
}
.sell-how .head { text-align: center; margin-bottom: 24px; }
.sell-how .head h2 { color: var(--navy-700); margin: 0 0 6px; font-size: 28px; }
.sell-how .head p { color: var(--ink-600); margin: 0; }
.sell-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    counter-reset: stepnum;
}
.sell-step {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 24px 22px 20px;
    color: var(--navy-700);
    counter-increment: stepnum;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.sell-step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sell-step::before {
    content: counter(stepnum, decimal-leading-zero);
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--cyan-500);
    line-height: 1;
    margin-bottom: 12px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.sell-step h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--navy-700);
}
.sell-step p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-600);
    margin: 0;
}

.sell-contact {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    margin: 32px 0 56px;
    box-shadow: var(--shadow);
    text-align: center;
}
.sell-contact h2 {
    font-size: 28px;
    color: var(--navy-700);
    margin: 0 0 8px;
}
.sell-contact p {
    color: var(--ink-500);
    font-size: 16px;
    margin: 0 0 28px;
}
.sell-contact-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.sell-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 32px;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    color: var(--navy-700);
    transition: all .2s ease;
    min-width: 240px;
}
.sell-contact-card:hover {
    border-color: var(--cyan-500);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    text-decoration: none;
}
.sell-contact-card .ico {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cyan-50);
    color: var(--cyan-700);
    margin-bottom: 6px;
}
.sell-contact-card .ico svg { width: 22px; height: 22px; fill: currentColor; }
.sell-contact-card .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: var(--ink-500);
}
.sell-contact-card .value {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-700);
}
.sell-contact-card.whatsapp .ico { background: #d4f5dd; color: #1ebe5b; }

@media (max-width: 1024px) {
    .sell-values-grid { grid-template-columns: repeat(2, 1fr); }
    .sell-how-grid { grid-template-columns: 1fr; }
    .sell-hero h1 { font-size: 40px; }
}
@media (max-width: 640px) {
    .sell-values-grid { grid-template-columns: 1fr; }
    .sell-values, .sell-contact { padding: 28px 20px; }
}

/* ---------- How it works (3-step explainer, mid-page) ---------- */
.howit {
    padding: 32px 0 40px;
}
.howit .section-head {
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    gap: 0;
}
.howit .section-head h2 {
    font-size: 30px;
    margin: 0 0 8px;
    letter-spacing: -.4px;
}
.howit .section-head p {
    font-size: 15px;
    margin: 0;
    max-width: 460px;
}
.howit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}
.howit-step {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 32px 28px 24px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all .2s ease;
}
.howit-step:hover {
    border-color: var(--cyan-500);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.howit-step .step-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--cyan-600);
    letter-spacing: 2px;
    line-height: 1;
    margin: 0 0 18px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.howit-step .step-num::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--cyan-500);
    display: inline-block;
}
.howit-step .big-num {
    font-size: 56px;
    font-weight: 900;
    color: var(--navy-700);
    letter-spacing: -2px;
    line-height: 1;
    margin: 0 0 14px;
    display: block;
}
.howit-step .big-num span {
    color: var(--cyan-500);
}
.howit-step h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy-700);
    margin: 0 0 10px;
    letter-spacing: -.3px;
    line-height: 1.25;
}
.howit-step p {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.55;
    margin: 0 0 18px;
    flex: 1;
}
.howit-step .step-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan-700);
    align-self: flex-start;
    transition: gap .15s ease, color .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.howit-step .step-link:hover {
    color: var(--cyan-600);
    gap: 8px;
    text-decoration: none;
}

/* Subtle arrow connector between cards on desktop */
.howit-step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -14px;
    top: 50%;
    width: 8px; height: 8px;
    border-top: 2px solid var(--cyan-500);
    border-right: 2px solid var(--cyan-500);
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
    pointer-events: none;
    opacity: .55;
}
[dir="rtl"] .howit-step:not(:last-child)::after {
    right: auto;
    left: -14px;
    transform: translateY(-50%) rotate(225deg);
}

/* Final CTA at bottom of section */
.howit-bottom {
    text-align: center;
    margin-top: 32px;
}
.howit-bottom .btn { padding: 14px 32px; }

@media (max-width: 1024px) {
    .howit-grid { grid-template-columns: 1fr; }
    .howit-step:not(:last-child)::after { display: none; }
}

/* ---------- Quality promises strip (compact, above the fold) ---------- */
.features {
    background: #fff;
    padding: 22px 28px;
    border-radius: var(--radius);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.features .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature {
    display: flex;
    gap: 12px;
    align-items: center;
}
.feature .ico {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--cyan-50);
    color: var(--cyan-700);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}
.feature h4 {
    margin: 0 0 3px;
    font-size: 15px;
    line-height: 1.25;
    color: var(--navy-700);
    font-weight: 700;
}
.feature p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-500);
    line-height: 1.4;
}

/* ---------- Promo banner ---------- */
.promo {
    background: linear-gradient(120deg, var(--teal-700), var(--teal-500));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.promo h2 { margin: 0 0 8px; font-size: 26px; }
.promo p { margin: 0; opacity: .9; }
.promo .btn { background: #fff; color: var(--teal-700); }
.promo .btn:hover { background: var(--ink-50); }

/* ---------- Newsletter ---------- */
.newsletter {
    text-align: center;
    padding: 56px 0;
}
.newsletter h2 { font-size: 24px; margin: 0 0 8px; }
.newsletter p { color: var(--ink-500); margin: 0 0 20px; }
.newsletter form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid var(--ink-300);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}
.newsletter input {
    flex: 1;
    border: 0;
    padding: 14px 20px;
    font-size: 14px;
    outline: none;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--ink-900);
    color: var(--ink-100);
    padding: 48px 0 20px;
    margin-top: 48px;
}
.footer .grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}
.footer h5 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--ink-300); font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .brand-blurb { color: var(--ink-300); font-size: 14px; margin: 12px 0 0; max-width: 320px; }
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--ink-500);
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Breadcrumb ---------- */
.crumbs {
    font-size: 13px;
    color: var(--ink-500);
    padding: 16px 0;
}
.crumbs a { color: var(--ink-700); }
.crumbs a:hover { color: var(--cyan-700); }
.crumbs span { color: var(--ink-300); margin: 0 6px; }
.crumbs span { margin: 0 6px; opacity: .6; }

/* ---------- Catalog layout ---------- */
.catalog {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 24px 0 56px;
}
.filters {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 20px;
    align-self: start;
    position: sticky;
    top: 130px;
}
.filter-group { margin-bottom: 20px; }
.filter-group h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ink-500);
    margin: 0 0 10px;
}
.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 14px;
    color: var(--ink-700);
    cursor: pointer;
}
.filter-group input[type="checkbox"],
.filter-group input[type="radio"] { accent-color: var(--teal-600); }
.filter-group input[type="range"] { width: 100%; accent-color: var(--teal-600); }
.price-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}
.price-inputs input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--ink-600);
}
.catalog-toolbar .count { color: var(--ink-600); font-size: 14px; }
.catalog-toolbar .count strong { color: var(--navy-700); }
.catalog-toolbar label { color: var(--ink-600); }
.catalog-toolbar select {
    padding: 8px 12px;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
}
.pagination a {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 14px;
    background: rgba(255,255,255,0.08);
}
.pagination a:hover { background: #fff; color: var(--cyan-700); text-decoration: none; }
.pagination a.active { background: #fff; color: var(--navy-700); border-color: #fff; }

/* ---------- Product detail ---------- */
.pd {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    padding: 32px;
    background: #fff;
    border-radius: var(--radius-lg);
    margin: 8px 0 40px;
    box-shadow: var(--shadow-sm);
}
.pd-tabs {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 32px 28px;
    box-shadow: var(--shadow-sm);
}
.pd-gallery {
    background: var(--ink-50);
    border-radius: var(--radius-lg);
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    font-size: 180px;
    color: var(--cyan-500);
    position: relative;
    overflow: hidden;
}
.pd-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 32px;
}
.pd-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.pd-thumbs div {
    background: var(--ink-50);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    font-size: 32px;
    color: var(--cyan-500);
    cursor: pointer;
    overflow: hidden;
}
.pd-thumbs div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.pd-thumbs div.active { border-color: var(--teal-600); }

.pd-info h1 { font-size: 28px; margin: 8px 0; letter-spacing: -.3px; }
.pd-meta { display: flex; gap: 16px; align-items: center; color: var(--ink-500); font-size: 14px; margin-bottom: 16px; }
.pd-price { font-size: 32px; font-weight: 800; color: var(--ink-900); margin: 16px 0 8px; }
.pd-price small { font-size: 14px; color: var(--ink-500); font-weight: 500; margin-left: 8px; text-decoration: line-through; }
.stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.stock::before {
    content: "";
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
}
.pd-desc { color: var(--ink-700); margin: 0 0 20px; }

.opt-group { margin-bottom: 16px; }
.opt-group h5 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; color: var(--ink-500); letter-spacing: .6px; }
.opt-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-pill {
    padding: 8px 14px;
    border: 1px solid var(--ink-300);
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    background: #fff;
}
.opt-pill.active { border-color: var(--teal-600); color: var(--teal-700); background: var(--teal-50); }

.qty-buy { display: flex; gap: 12px; align-items: center; margin: 20px 0; flex-wrap: wrap; }
.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty button {
    background: #fff;
    border: 0;
    width: 40px;
    height: 44px;
    font-size: 18px;
    cursor: pointer;
    color: var(--ink-700);
}
.qty button:hover { background: var(--ink-50); }
.qty input {
    width: 56px;
    text-align: center;
    border: 0;
    border-left: 1px solid var(--ink-100);
    border-right: 1px solid var(--ink-100);
    height: 44px;
    font-size: 15px;
    font-weight: 600;
    outline: none;
}
.pd-perks {
    list-style: none;
    padding: 16px;
    margin: 16px 0 0;
    background: var(--ink-50);
    border-radius: var(--radius);
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-700);
}
.pd-perks li::before { content: "✓ "; color: var(--teal-600); font-weight: 700; }

.pd-tabs { margin-top: 40px; }
.pd-tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--ink-100);
    margin-bottom: 20px;
}
.pd-tab-nav button {
    background: transparent;
    border: 0;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.pd-tab-nav button.active { color: var(--teal-700); border-bottom-color: var(--teal-600); }
.pd-tab-content > div { display: none; }
.pd-tab-content > div.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--ink-100); }
.spec-table td:first-child { color: var(--ink-500); width: 40%; }

/* ---------- Cart ---------- */
.cart-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    padding: 24px 0 56px;
}
.cart-list { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius); }
.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--ink-100);
}
.cart-item:last-child { border-bottom: 0; }
.cart-thumb {
    width: 90px; height: 90px;
    background: var(--ink-50);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-size: 36px;
    color: var(--cyan-500);
    overflow: hidden;
}
.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.cart-item .name { font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.cart-item .variant { font-size: 12px; color: var(--ink-500); }
.cart-item .remove {
    background: transparent;
    border: 0;
    color: var(--ink-500);
    cursor: pointer;
    font-size: 13px;
    padding: 4px 8px;
}
.cart-item .remove:hover { color: var(--red); }
.cart-item .subtotal { font-weight: 700; min-width: 80px; text-align: right; }

.summary {
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 24px;
    align-self: start;
    position: sticky;
    top: 130px;
}
.summary h3 { margin: 0 0 16px; font-size: 18px; }
.sum-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--ink-700);
}
.sum-row.total {
    border-top: 1px solid var(--ink-100);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
}
.coupon {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}
.coupon input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

/* ---------- Auth pages ---------- */
.auth-wrap {
    max-width: 920px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.auth-side {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    color: #fff;
    padding: 48px 36px;
}
.auth-side h2 { font-size: 26px; margin: 0 0 12px; }
.auth-side p { opacity: .9; font-size: 15px; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; }
.auth-side li { padding: 6px 0; font-size: 14px; }
.auth-side li::before { content: "✓ "; font-weight: 700; }

.auth-form { padding: 48px 36px; }
.auth-form h1 { font-size: 24px; margin: 0 0 6px; }
.auth-form .muted { color: var(--ink-500); font-size: 14px; margin: 0 0 24px; }
.field { margin-bottom: 14px; }
.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: 6px;
}
.field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px var(--teal-100);
}
.field .error { color: var(--red); font-size: 12px; margin-top: 4px; display: none; }
.field.has-error input { border-color: var(--red); }
.field.has-error .error { display: block; }

.form-row { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 16px; font-size: 13px; }
.form-row a { color: var(--teal-700); }

.auth-switch { text-align: center; font-size: 14px; color: var(--ink-500); margin-top: 18px; }

/* ---------- Tabs (auth switcher) ---------- */
.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ink-100);
}
.tabs button {
    flex: 1;
    background: transparent;
    border: 0;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.tabs button.active { color: var(--teal-700); border-bottom-color: var(--teal-600); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Auth OTP / Google sign-in panel (Login.cshtml) ----------
   Drops below the password form as a secondary sign-in path. Visual
   weight intentionally lighter than the primary form so the eye
   lands on email+password first. Mirrors the `.channel-divider` look
   from /Checkout/Verify so the two flows feel like the same product. */
.auth-otp-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--ink-500);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.auth-otp-divider::before,
.auth-otp-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ink-100);
}
.auth-otp { display: flex; flex-direction: column; gap: 10px; }
/* Each step (#otp-login-step1, #otp-login-step2) lays its OWN children
   out as a flex column too — without this the rows inside a step would
   stack with no gap. The parent .auth-otp's gap only applies between
   its direct children (the steps themselves), not their grandchildren. */
.auth-otp > div { display: flex; flex-direction: column; gap: 10px; }
.auth-otp > div[style*="display:none"],
.auth-otp > div[style*="display: none"] { display: none !important; }
.auth-otp .otp-target-row { display: flex; gap: 8px; }
.auth-otp .otp-target-row select.input { max-width: 130px; flex: 0 0 auto; }
.auth-otp .otp-target-row .input { flex: 1; }
.auth-otp .otp-actions { display: flex; gap: 8px; }
.auth-otp .otp-code-input {
    /* Big centered numeric input matching the /Checkout/Verify card —
       letter-spacing so the 6 digits visibly separate. */
    font-size: 24px;
    text-align: center;
    letter-spacing: 10px;
    font-weight: 700;
    padding: 12px;
}
.auth-otp .otp-error {
    color: var(--red);
    font-size: 13px;
    display: none;
}
.auth-otp .otp-error.show { display: block; }
.auth-otp .otp-sent-note {
    color: var(--ink-500);
    font-size: 13px;
    margin: 0;
}
.auth-google-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    padding: 10px;
}
.auth-google-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header user-menu dropdown ----------
   Replaces the plain <a> user link with a click-to-toggle menu so
   Dashboard / My Orders / Sign Out are reachable from any page.
   Toggle is bound by site.js bindUserMenu() — same outside-click +
   Esc + close-others pattern as the locale selector. */
.user-menu { position: relative; display: inline-flex; align-items: center; }
.user-menu-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    color: inherit;
    font: inherit;
}
.user-menu-toggle:hover { background: rgba(0, 0, 0, 0.05); }
.user-menu-caret { font-size: 10px; line-height: 1; transition: transform .15s ease; }
.user-menu-dropdown.open ~ * .user-menu-caret,
.user-menu[data-user-menu] .user-menu-dropdown.open + .user-menu-caret { transform: rotate(180deg); }

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    inset-inline-end: 0;  /* end-anchored — flips correctly in RTL */
    min-width: 200px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,.1));
    display: none;
    z-index: 100;
}
.user-menu-dropdown.open { display: block; }
.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    text-align: start;
    background: none;
    border: 0;
    color: var(--ink-700);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
}
.user-menu-item:hover { background: var(--ink-50); color: var(--ink-900); text-decoration: none; }
.user-menu-item-danger { color: var(--red, #dc2626); }
.user-menu-item-danger:hover { background: #fef2f2; color: var(--red, #dc2626); }
.user-menu-form { margin: 0; padding: 0; }

/* ---------- Utility ---------- */
.hidden { display: none !important; }

/* ---------- Alerts ----------
   Used by Cart/Index, Checkout/Index, Account/Login, every MyAccount
   page. Pre-Step-6k these were inline-styled in 9 different files,
   each duplicating the same #fef2f2 / #991b1b colour pair. One class
   per kind, one source of truth. */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}
.alert-error   { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-info    { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.alert-warning { background: #fef3c7; color: #92400e; border-color: #fde68a; }

/* Small red asterisk used to mark required form fields. Replaces the
   inline `<span style="color:#dc2626;">*</span>` repeated 5+ times in
   Checkout/Index, MyAccount/Addresses, etc. */
.required-mark { color: var(--red, #dc2626); margin-left: 2px; }

/* ---------- Card-like sections (customer-facing) ----------
   `.checkout-section` was referenced in Checkout/Index and
   Confirmation but never defined; the visual was scraped together
   from the surrounding flow. Now an explicit white card matching
   .summary / .auth-form so all the customer-facing content cards
   read as one family.

   `.account-card` / `.address-card` consolidate the four MyAccount
   inline-styled <section> wrappers into a class. */
.checkout-section,
.account-card {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.04));
    margin-bottom: 16px;
}
.account-card.account-card-narrow { max-width: 520px; }
.checkout-section h3,
.account-card h3 { margin: 0 0 16px; font-size: 18px; }

.address-card {
    background: #fff;
    padding: 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.04));
    border: 1px solid var(--ink-100);
    transition: border-color .15s ease;
}
.address-card.is-default { border: 2px solid var(--cyan-500, #29b9e8); }

/* ---------- Account-area tables ----------
   MyAccount/Index, Orders, Notifications all had inline-styled
   <th>/<td> with the same 6-7 declarations duplicated. Hoist into
   one class. */
.account-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.account-table th {
    text-align: start;
    padding: 8px 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--ink-500);
    border-bottom: 1px solid var(--ink-100);
}
.account-table td { padding: 12px 4px; border-bottom: 1px solid var(--ink-100); }
.account-table tr:last-child td { border-bottom: 0; }
.account-table .col-numeric { text-align: end; font-variant-numeric: tabular-nums; }

/* `.account-stat-card` lives in MyAccount/Index.cshtml's view-scoped
   <style> block (legacy from initial scaffolding). When/if a second
   page wants stat tiles, hoist that block here. */

/* ---------- Account sidebar (customer self-service nav) ----------
   Pre-Step-6k these rules lived in a view-scoped <style> at the
   bottom of _AccountSidebar.cshtml plus inline `style="..."` on
   the <aside>, <h3>, <ul>, <button> — duplicated maintenance and
   surprised RTL via hardcoded text-align. Hoisted so every
   MyAccount page renders identically. */
.account-sidebar {
    min-width: 220px;
    padding: 24px 16px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.04));
}
.account-sidebar .account-sidebar-heading {
    margin: 0 0 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--ink-500);
}
.account-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.account-sidebar .account-sidebar-divider {
    margin-top: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--ink-100);
}
.account-link {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--ink-700);
    font-size: 14px;
    text-align: start;
    background: none;
    border: 0;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}
.account-link:hover { background: var(--ink-50); color: var(--ink-900); }
.account-link.active { background: var(--cyan-50); color: var(--cyan-700); font-weight: 600; }
.account-link.account-link-danger { color: var(--red); }
.account-page-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 24px 0;
}
@media (max-width: 800px) {
    .account-page-wrap { grid-template-columns: 1fr; }
}

/* ---------- Code/log block (Admin auditing JSON viewer) ---------- */
.json-block {
    background: #0b1620;
    color: #d7e1ea;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 400px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 34px; }
    .hero-art { aspect-ratio: 16/9; font-size: 120px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .doctor-grid { grid-template-columns: repeat(2, 1fr); }
    .features .grid { grid-template-columns: repeat(2, 1fr); }
    .footer .grid { grid-template-columns: repeat(2, 1fr); }
    .catalog { grid-template-columns: 1fr; }
    .filters { position: static; }
    .pd { grid-template-columns: 1fr; }
    .cart-wrap { grid-template-columns: 1fr; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-side { display: none; }
    .doctor-hero .container { grid-template-columns: 1fr; text-align: center; }
    .doctor-hero-photo { margin: 0 auto; }
    .doctor-hero h1 { justify-content: center; }
}
@media (max-width: 640px) {
    .site-header .container { grid-template-columns: 1fr auto; }
    .search { grid-column: 1 / -1; order: 3; width: 100%; margin-top: 8px; }
    .site-header .container { height: auto; padding: 12px 20px; gap: 12px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 28px; }
    .promo { grid-template-columns: 1fr; text-align: center; }
    .cart-item { grid-template-columns: 70px 1fr; }
    .cart-item .qty, .cart-item .subtotal, .cart-item .remove { grid-column: 2; }
    .cart-thumb { width: 70px; height: 70px; }
    .doctor-grid { grid-template-columns: 1fr; }
    .doctor-hero-photo { width: 160px; height: 160px; }
}

/* ---------------------------------------------------------------
   Product detail gallery — cap absolute dimensions so the main
   image stays consistent with the .product-thumb cards used on
   product cards / recommendations / catalog grid. Without this,
   the 1/1 aspect-ratio in a 1.1fr column of .pd resolves to
   ~570px on a 1200px viewport, which dwarfs the 240px thumbs
   on the rest of the site.
   --------------------------------------------------------------- */
.pd-gallery {
    max-width: 460px;
    max-height: 460px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.pd-thumbs {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

