/* ============================================================================
   MOKEMEI BIOTECHNOLOGY IDENTITY — generated by site-factory/generate-identity.js
   pack: register · surface: light · primary: #283593
   Loaded LAST: this file owns the visual identity. It re-themes every page by
   overriding the base design tokens from global.css, then restyles the shared
   shop components (header/nav, buttons, flash, trending cards, FAQ, modals,
   mobile menu, footer) and patches per-page hard-coded hexes.
   Regenerate with: node site-factory/generate-identity.js <config.json>
   ============================================================================ */

:root {
    /* --- Primary ramp --- */
    --primary: #283593;
    --primary-dark: #1f2973;
    --primary-darker: #171e53;
    --primary-light: #3546c3;
    --primary-lighter: #868ece;
    --primary-50: #f2f3f7;
    --primary-100: #e2e4ee;

    /* --- Semantic --- */
    --secondary-green: #3f7d54;
    --success-green: #3f7d54;
    --warning-yellow: #b07d12;
    --error-red: #b3382c;
    --accent-navy: #11142c; /* legacy name — dark chip / heading ink */

    /* --- Accent (erp.css naming: data highlights, sparingly) --- */
    --amber: #3f6fd6;
    --amber-dim: #2550ae;

    /* --- Neutral ramp (hue-tinted from the primary) --- */
    --white: #fbfcfd;
    --paper: #eeeff6;
    --porcelain: #f8f9fc;
    --gray-50: #eff0f6;
    --gray-100: #e2e4ee;
    --gray-200: #d0d2e2;
    --gray-300: #aeb2cb;
    --gray-400: #757ba3;
    --gray-500: #505477;
    --gray-600: #3b3f59;
    --gray-700: #2b2d40;
    --gray-800: #1d1e2b;
    --gray-900: #14161f;
    --ink: #14161f;

    /* --- Borders / surfaces --- */
    --border-subtle: rgba(20, 22, 31, 0.09);
    --border-default: rgba(20, 22, 31, 0.16);
    --hairline: 1px solid rgba(20, 22, 31, 0.12);
    --surface-elevated: #f8f9fc;
    --surface-sunken: #e5e6f0;
    --grid-line: rgba(23, 30, 83, 0.045);

    /* --- Type: register pack --- */
    --font-family: 'Public Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Archivo', 'Public Sans', 'Songti SC', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

    /* --- Radius character: register --- */
    --radius-sm: 0;
    --radius-md: 2px;
    --radius-lg: 3px;
    --radius-xl: 4px;

    /* --- Shadows (primary-tinted ink shadows) --- */
    --shadow-sm: 0 1px 2px rgba(23, 30, 83, 0.06);
    --shadow-md: 0 1px 2px rgba(23, 30, 83, 0.05), 0 6px 16px -8px rgba(23, 30, 83, 0.14);
    --shadow-lg: 0 2px 4px rgba(23, 30, 83, 0.05), 0 14px 30px -12px rgba(23, 30, 83, 0.2);
    --shadow-xl: 0 4px 10px rgba(23, 30, 83, 0.06), 0 26px 52px -18px rgba(23, 30, 83, 0.26);
    --shadow-jade: 0 8px 20px -8px rgba(40, 53, 147, 0.36);
}

/* === BASE ================================================================ */
html { background: var(--paper); }
body {
    font-family: var(--font-family);
    background: var(--paper);
    color: var(--gray-700);
}
h1, h2, h3, h4, .section-heading, .section-header h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ink);
}
a { color: var(--primary); }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.cn-accent { font-family: 'Noto Serif SC', var(--font-display); }

/* === TOPLINE (flash banner) ============================================== */
.site-flash {
    background: var(--ink);
    color: var(--primary-lighter);
    border-bottom: 2px solid var(--primary);
    font-family: var(--font-mono);
    font-size: 0.67rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 8px 12px;
    text-align: center;
}
.site-flash strong { font-weight: 700; color: #fff; }

/* === HEADER / NAV ======================================================== */
.header {
    background: rgba(238, 239, 246, 0.92);
    backdrop-filter: blur(11px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: none;
}
.header .logo-text, .logo-text {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 0.01em;
}
.header .logo-text small, .logo-text small {
    color: var(--gray-500);
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav-link {
    font-family: var(--font-family);
    font-size: 0.83rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    text-transform: none;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    border-bottom: none;
    padding: 7px 11px;
    white-space: nowrap;
}
.nav-link:hover { color: var(--primary-darker); background: var(--primary-50); }
.nav-link.active {
    color: var(--primary-darker);
    background: var(--primary-50);
    box-shadow: inset 0 -2px 0 var(--primary);
}
.nav-link-secondary { color: var(--primary); }
.nav-link-secondary:hover { color: var(--primary-darker); }

.header .warehouse-btn, .warehouse-btn {
    background: var(--white);
    border: 1px solid var(--border-default);
    color: var(--gray-700);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    border-radius: var(--radius-sm);
}
.header .warehouse-btn:hover, .warehouse-btn:hover { border-color: var(--primary); color: var(--primary-darker); }
.header .cart-btn, .cart-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    box-shadow: var(--shadow-jade);
}
.header .cart-btn:hover, .cart-btn:hover { background: var(--primary-dark); transform: none; }
.cart-count { background: var(--ink); color: #fff; font-family: var(--font-mono); font-weight: 700; }
.hamburger-line { background: var(--ink); }

/* Verified-On dropdown — panel on the identity surface */
.vo-dd-menu { background: var(--porcelain) !important; border-color: var(--border-default) !important; box-shadow: var(--shadow-lg) !important; border-radius: var(--radius-md) !important; }
.vo-dd-menu a { color: var(--gray-700) !important; }
.vo-dd-menu a:hover { background: var(--primary-50) !important; color: var(--primary-darker) !important; }
.vo-dd-menu i { color: var(--primary) !important; }

/* === BUTTONS ============================================================= */
.btn, .checkout-btn {
    font-family: var(--font-family);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    border-radius: var(--radius-sm);
}
.btn-primary, .checkout-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    box-shadow: var(--shadow-jade);
}
.btn-primary:hover, .checkout-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
    background: var(--white);
    border: 1px solid var(--border-default);
    color: var(--gray-700);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-darker); background: var(--white); }

/* === TRENDING CARDS (#trendingGrid children — style only) ================ */
.trending-card {
    background: var(--porcelain);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.trending-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.trending-card-image { background: #fff; border-radius: var(--radius-sm); }
.trending-category {
    font-family: var(--font-mono);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: var(--primary-50);
    color: var(--primary-darker);
    border: none;
    border-radius: var(--radius-sm);
}
.trending-badge { border-radius: var(--radius-sm); font-family: var(--font-mono); letter-spacing: 0.04em; }
.trending-name { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.trending-spec { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gray-400); }
.trending-price-value { font-family: var(--font-mono); font-weight: 700; color: var(--primary-darker); }
.trending-bulk { font-family: var(--font-mono); color: var(--gray-500); }
.trending-cta { font-family: var(--font-mono); font-size: 0.69rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--primary); }

/* === FAQ — two-column grid (classes consumed by JS: style only) ========== */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; border-top: none; }
.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--porcelain);
    box-shadow: none;
    margin-bottom: 0;
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--ink);
    background: transparent;
}
.faq-question i { color: var(--primary); font-size: 0.7em; }
.faq-answer p { font-size: 0.87rem; line-height: 1.62; color: var(--gray-600); }
.faq-answer a, .faq-answer a[style] { color: var(--primary) !important; }

/* === MODALS / TOAST / INPUTS (#cartModal, #checkoutModal — style only) === */
.modal { background: rgba(20, 22, 31, 0.55); }
.modal-content {
    background: var(--porcelain);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-xl);
    color: var(--gray-700);
}
.modal-title { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.modal-close { color: var(--gray-500); }
.notification-toast {
    background: var(--porcelain);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    border-left: 3px solid var(--primary);
    box-shadow: var(--shadow-xl);
    color: var(--gray-700);
}
.step-number { font-family: var(--font-mono); border-radius: var(--radius-sm); }
input, textarea, select {
    background: var(--white);
    color: var(--gray-800);
    border-color: var(--gray-300);
    border-radius: var(--radius-sm);
}
input::placeholder, textarea::placeholder { color: var(--gray-400); }

/* === MOBILE MENU / BOTTOM NAV (#mobileMenu — style only) ================= */
.mobile-menu { background: var(--porcelain); color: var(--gray-700); }
.mobile-menu-title { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--gray-500); }
.mobile-nav-link { color: var(--gray-700); border-radius: var(--radius-sm); }
.mobile-nav-link.active { background: var(--primary-50); color: var(--primary-darker); }
.mobile-nav-link i { color: var(--primary); }
.mobile-menu-footer a { color: var(--gray-600); }
.mobile-bottom-nav { background: rgba(238, 239, 246, 0.97) !important; border-top: 1px solid var(--border-default) !important; backdrop-filter: blur(10px); }
.bottom-nav-item { color: var(--gray-500); font-family: var(--font-mono); font-size: 0.6rem; }
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item.active i { color: var(--primary); }
.bottom-nav-badge { background: var(--primary); color: #fff; font-family: var(--font-mono); }

/* === FOOTER ============================================================== */
.footer {
    background: var(--ink);
    color: var(--gray-300);
    border-top: 3px solid var(--primary);
}
.footer-logo { font-family: var(--font-display); font-weight: 900; color: #fff; }
.footer-logo small { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); }
.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
    border-bottom: none;
}
.footer-col a, .footer-col p { color: var(--gray-300); }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--gray-400); }
.footer-social a { color: var(--gray-300); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-sm); }
.footer-social a:hover { color: var(--primary-light); border-color: var(--primary); }

/* === PAGE-CSS PATCHES ====================================================
   Per-page stylesheets hardcode a few of the template's jade-green (and
   light-surface) hexes. Repaint them from the identity tokens so no page
   leaks the template palette. */
.section-alt { background: var(--surface-sunken); }
.products-hero, .page-hero { background: var(--surface-sunken); }
.page-hero::before { background-image: none; }
.trustpilot-banner { background: var(--ink); }
.trustpilot-banner:hover { background: #0e0f16; }

/* products page header — retint title + glow */
.products-page-header {
    background:
        radial-gradient(ellipse 60% 130% at 85% -20%, rgba(40, 53, 147, 0.07), transparent 60%),
        linear-gradient(180deg, var(--porcelain) 0%, var(--paper) 100%) !important;
}
.products-page-title { color: var(--ink) !important; font-weight: 800; }

/* product / products / pay page hard-coded buttons and chips */
.view-product-btn { background: var(--primary) !important; color: #fff !important; }
.view-product-btn:hover { background: var(--primary-dark) !important; box-shadow: var(--shadow-jade) !important; }
.janoshik-link, .cat-coa-btn {
    background: var(--primary-50) !important;
    color: var(--primary-darker) !important;
    border-color: var(--primary-100) !important;
}
.janoshik-link:hover, .cat-coa-btn:hover {
    background: var(--primary-100) !important;
    border-color: var(--primary-light) !important;
    color: var(--primary-darker) !important;
}
.badge-popular { background: var(--primary-50); color: var(--primary-darker); }
.badge-tested { background: var(--primary-50); color: var(--primary-darker); }
.view-test-report-btn { background: var(--primary-50); color: var(--primary-darker); }
.view-test-report-btn:hover { background: var(--primary-100); }

/* === SKIP LINK =========================================================== */
.skip-link { background: var(--primary-darker); }
.skip-link:focus { background: var(--primary); color: #fff; }

/* === MOTION DISCIPLINE =================================================== */
@media (prefers-reduced-motion: reduce) {
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* === RESPONSIVE ========================================================== */
@media (max-width: 960px) {
    .faq-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ██  MOKEMEI SIGNATURE LAYER (hand-authored) — appended after generated base
   Clinical blue-on-white identity echoing the MKMpeptide vial: silver cap,
   navy label, medium-blue dose band on a cool grey-blue field.
   ========================================================================== */
.mk-scope, :root {
    --mk-accent: #3f6fd6;          /* vial dose-band blue */
    --mk-accent-dk: #2550ae;
    --mk-tint: #eef2fb;            /* light blue label tint */
    --mk-tint-2: #e4ebf9;
    --mk-silver-1: #d7dbe6;
    --mk-silver-2: #f4f6fb;
    --mk-field: #eef0f7;           /* cool grey-blue vial field */
}

/* ---- HERO ---------------------------------------------------------------- */
.mk-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 120% at 88% -10%, rgba(63, 111, 214, 0.10), transparent 60%),
        radial-gradient(ellipse 60% 90% at -5% 110%, rgba(40, 53, 147, 0.06), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, var(--mk-field) 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: clamp(2.4rem, 5vw, 4.6rem) 0 clamp(2.6rem, 5vw, 4.4rem);
}
/* faint clinical blueprint grid */
.mk-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 20%, transparent 75%);
    pointer-events: none;
}
.mk-hero-rule {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--mk-accent) 50%, var(--primary) 100%);
}
.mk-hero .container { position: relative; z-index: 1; }
.mk-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.5rem, 4vw, 3.4rem);
    align-items: center;
}

.mk-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-mono);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--primary-darker);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-subtle);
    padding: 7px 14px; border-radius: 100px;
}
.mk-eyebrow-sep { opacity: 0.35; }
.mk-eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--mk-accent);
    box-shadow: 0 0 0 4px rgba(63, 111, 214, 0.18);
    animation: mkPulse 2.4s ease-in-out infinite;
}
@keyframes mkPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.82)} }

.mk-h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.05rem, 5vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 1.15rem 0 0;
}
.mk-h1-accent {
    color: var(--primary);
    background: linear-gradient(90deg, var(--primary) 0%, var(--mk-accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mk-sub {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.62;
    color: var(--gray-600);
    max-width: 40em;
    margin: 1.15rem 0 0;
}
.mk-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.7rem; }
.mk-btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-family);
    font-weight: 700; font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 13px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
    cursor: pointer;
}
.mk-btn i { font-size: 0.92em; }
.mk-btn-primary {
    background: var(--primary); color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 22px -10px rgba(40, 53, 147, 0.6);
}
.mk-btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(40, 53, 147, 0.7); }
.mk-btn-ghost {
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary-darker);
    border: 1px solid var(--border-default);
}
.mk-btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: #fff; }

.mk-hero-proof {
    list-style: none; margin: 1.7rem 0 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px 20px;
}
.mk-hero-proof li, .mk-hero-proof a {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--gray-600);
    text-decoration: none;
}
.mk-hero-proof i { color: var(--mk-accent); }
.mk-hero-proof a:hover { color: var(--primary); }

/* ---- VIAL-INSPIRED PLATE ------------------------------------------------- */
.mk-hero-right { display: flex; justify-content: center; }
.mk-plate {
    width: 100%; max-width: 380px;
    background: linear-gradient(180deg, #ffffff 0%, var(--mk-silver-2) 100%);
    border: 1px solid var(--border-default);
    border-radius: 14px;
    box-shadow: 0 3px 6px rgba(23,30,83,.05), 0 30px 60px -26px rgba(23, 30, 83, 0.4);
    overflow: hidden;
}
/* metallic silver cap */
.mk-plate-cap {
    height: 20px;
    display: flex; align-items: center; justify-content: center; gap: 40px;
    background: linear-gradient(180deg, var(--mk-silver-1) 0%, #c3c8d6 45%, #eceef4 100%);
    border-bottom: 1px solid rgba(23,30,83,.12);
}
.mk-plate-cap span { width: 46px; height: 4px; border-radius: 4px; background: rgba(23,30,83,.16); }
/* white label block */
.mk-plate-label { padding: 20px 22px 18px; position: relative; }
.mk-plate-brand { display: flex; align-items: center; gap: 10px; }
.mk-plate-seal {
    width: 34px; height: 34px; flex: 0 0 34px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff;
    font-family: 'Noto Serif SC', var(--font-display);
    font-weight: 700; font-size: 1.05rem;
    border-radius: 8px;
}
.mk-plate-brandtext {
    font-family: var(--font-display);
    font-weight: 900; font-size: 1.4rem;
    color: var(--primary-darker); letter-spacing: -0.01em;
}
.mk-plate-brandtext span { color: var(--mk-accent); font-weight: 800; }
.mk-plate-grade {
    font-family: var(--font-mono);
    font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gray-400); margin-top: 8px;
}
.mk-plate-purity {
    display: flex; align-items: center; gap: 14px;
    margin: 14px 0 16px;
}
.mk-plate-purity-num {
    font-family: var(--font-display); font-weight: 900;
    font-size: 2.7rem; line-height: 1; color: var(--ink);
}
.mk-plate-purity-num span { font-size: 1.1rem; color: var(--mk-accent); vertical-align: super; margin-left: 2px; }
.mk-plate-purity-txt {
    font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.35;
    color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em;
}
/* medium-blue dose band (echoes the vial's 40mg strip) */
.mk-plate-dose {
    margin: 0 -22px;
    background: linear-gradient(90deg, var(--mk-accent-dk), var(--mk-accent));
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
    text-align: center; padding: 9px 12px;
}
/* promo section within the plate */
.mk-plate-promo { padding: 16px 22px 20px; background: var(--porcelain); border-top: 1px solid var(--border-subtle); }
.mk-promo-head {
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-display); font-weight: 800; font-size: 0.92rem;
    color: var(--ink); margin-bottom: 12px;
}
.mk-promo-flag {
    font-family: var(--font-mono); font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--mk-accent-dk); background: var(--mk-tint);
    border: 1px solid var(--mk-tint-2);
    padding: 3px 8px; border-radius: 100px;
}
.mk-promo-tiers { display: flex; flex-direction: column; gap: 6px; }
.mk-tier {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 11px;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}
.mk-tier-label { font-family: var(--font-mono); font-size: 0.76rem; color: var(--gray-700); }
.mk-tier-value { font-size: 0.76rem; font-weight: 700; color: var(--primary); }
.mk-promo-timer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px dashed var(--border-default);
}
.mk-promo-timer-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); }
.mk-promo-timer-val { display: inline-flex; align-items: baseline; gap: 2px; }
.mk-promo-timer-val .timer-num { font-family: var(--font-mono); font-weight: 700; color: var(--primary-darker); font-size: 0.95rem; }
.mk-promo-timer-val .timer-unit { font-size: 0.55rem; color: var(--gray-400); margin: 0 3px 0 1px; text-transform: uppercase; }
.mk-promo-timer-val .timer-sep { color: var(--gray-300); font-weight: 700; }
.mk-plate-shop { width: 100%; justify-content: center; margin-top: 14px; }

/* ---- SPEC / TRUST STRIP -------------------------------------------------- */
.mk-spec-strip { background: var(--ink); border-bottom: 1px solid var(--primary-darker); }
.mk-spec-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
}
.mk-spec {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 22px 12px; text-decoration: none;
    border-left: 1px solid rgba(255,255,255,.08);
    transition: background .15s ease;
}
.mk-spec:first-child { border-left: none; }
a.mk-spec:hover { background: rgba(255,255,255,.04); }
.mk-spec-num {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1;
    color: #fff;
}
.mk-spec-num span { color: var(--primary-lighter); font-size: 0.6em; vertical-align: super; }
.mk-spec-num i { color: var(--primary-lighter); }
.mk-spec-label {
    font-family: var(--font-mono); font-size: 0.66rem;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gray-400); text-align: center;
}

/* ---- SHARED SECTION POLISH (light surface) ------------------------------ */
.section-header { text-align: center; margin-bottom: 2.2rem; }
.section-header p, .trust-header p { color: var(--gray-500); }
.section-heading { position: relative; }
.trending-section, .faq-section, .lab-section { background: linear-gradient(180deg, #ffffff, var(--porcelain)); }
.trending-section .section-heading::after {
    content: ""; display: block; width: 54px; height: 3px; margin: 12px auto 0;
    background: linear-gradient(90deg, var(--primary), var(--mk-accent)); border-radius: 3px;
}
/* cert + trust cards: crisp white clinical cards */
.cert-card, .trust-card {
    background: #fff !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 12px !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cert-card:hover, .trust-card:hover {
    border-color: var(--mk-accent) !important;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.cert-icon, .trust-card-icon {
    background: var(--mk-tint) !important;
    color: var(--primary) !important;
    border: 1px solid var(--mk-tint-2);
}
.cert-link { color: var(--mk-accent) !important; font-weight: 700; }
.trust-stat { background: #fff; border: 1px solid var(--border-subtle); border-radius: 12px; transition: border-color .15s ease, transform .15s ease; }
.trust-stat:hover { border-color: var(--mk-accent); transform: translateY(-2px); }
.trust-stat-value { color: var(--primary-darker); font-family: var(--font-display); font-weight: 900; }
.trust-stat-label { color: var(--gray-500); }
/* payment strip */
.payment-methods-section { background: var(--porcelain); }
.pay-badge { background: #fff; border: 1px solid var(--border-subtle); border-radius: 100px; }
.payment-methods-title { color: var(--ink); }
.payment-methods-title i { color: var(--mk-accent); }
/* order process */
.order-step-icon { background: var(--mk-tint); color: var(--primary); border: 1px solid var(--mk-tint-2); }
.order-step h4 { color: var(--ink); }
.order-step-arrow i { color: var(--gray-300); }
/* lab section labels */
.lab-video-label { background: rgba(20,22,31,.82); color: #fff; }
.lab-video-label i { color: var(--primary-lighter); }
/* trustpilot stars readable on dark banner */
.tp-banner-score, .tp-banner-count { color: #fff; }
.tp-banner-btn { background: var(--primary); color: #fff; border-radius: var(--radius-md); }
.tp-banner-btn:hover { background: var(--primary-light); }

/* ===== MOBILE ============================================================= */
@media (max-width: 768px) {
    .mk-hero { padding: 1.9rem 0 2.2rem; }
    .mk-hero-grid { grid-template-columns: 1fr; gap: 1.9rem; }
    .mk-hero-left { text-align: left; }
    .mk-h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
    .mk-h1 br { display: none; }
    .mk-sub { font-size: 1rem; max-width: none; }
    .mk-cta-row { flex-direction: column; }
    .mk-cta-row .mk-btn { width: 100%; justify-content: center; min-height: 48px; padding: 14px 20px; }
    .mk-hero-proof { gap: 8px 16px; }
    .mk-hero-right { order: -1; }               /* plate leads on mobile */
    .mk-plate { max-width: 420px; }
    .mk-plate-purity-num { font-size: 2.35rem; }

    .mk-spec-grid { grid-template-columns: repeat(2, 1fr); }
    .mk-spec { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 10px; }
    .mk-spec:nth-child(odd) { border-left: none; }
    .mk-spec:nth-child(-n+2) { border-top: none; }

    .cert-grid { grid-template-columns: 1fr; }
    .trust-grid-compact { grid-template-columns: 1fr; }
    .trust-stats { grid-template-columns: repeat(2, 1fr); }
    .order-steps { flex-direction: column; }
    .order-step-arrow { transform: rotate(90deg); }
    .lab-grid { grid-template-columns: 1fr; }
    .mk-btn { min-height: 46px; }
}
@media (max-width: 420px) {
    .mk-spec-grid { grid-template-columns: 1fr; }
    .mk-spec { border-left: none; border-top: 1px solid rgba(255,255,255,.08); }
    .mk-spec:first-child { border-top: none; }
    .trust-stats { grid-template-columns: 1fr; }
}

/* ===== CONTRAST REPAIR =====================================================
   Appended WCAG-AA fixes for the light Mokemei surface. Verified with
   site-factory/contrast-audit.js on /, /products, /pricelist, /reviews,
   /about, /contact and /product/325 --checkout (all exit 0).
   Two root causes drove most failures:
     (a) hero / page-header backgrounds painted with gradients that contain a
         `transparent` stop (audit reads that as BLACK) and rgba(primary) stops
         (audit reads as solid navy) -> phantom dark backgrounds under dark text.
         Fix: repaint those surfaces with light-only gradients.
     (b) gradient/clipped hero accent + pale grey template leftovers
         (#757ba3 / #98a09a / #6c7670 / gray-400) below 4.5:1 on light panels,
         and gray-400/500 stranded on the dark footer/spec strip.
   ------------------------------------------------------------------------- */

/* (a) Repaint gradient surfaces with light-only stops so dark text is measured
   against the real (light) background, not a phantom transparent/navy stop. */
.mk-hero {
    background: linear-gradient(180deg, #ffffff 0%, #eef0f7 100%) !important;
}
.products-page-header {
    background: linear-gradient(180deg, var(--porcelain) 0%, var(--paper) 100%) !important;
}

/* Clipped/gradient hero accent read ~1:1 (transparent fill). Give it a solid
   readable navy so the computed colour the audit sees is dark. */
.mk-h1-accent {
    background: none !important;
    -webkit-text-fill-color: #283593 !important;
    color: #283593 !important;
}

/* Footer seal glyph (莫) — navy glyph (inline) on the dark ink footer was
   1.74:1. Lift it to a light tone. Scoped to the footer: the HEADER seal sits
   on the light header and stays its own readable colour. */
.footer .cn-seal {
    color: #dfe3f5 !important;
    border-color: #dfe3f5 !important;
}

/* (b) Dark surfaces (footer #14161f, hero dark spec strip): lift muted text
   from gray-400/500 to a light readable tone. The address line carries an
   inline gray-500, so beat it with !important scoped to the footer. */
.footer p, .footer small, .footer h4, .footer li,
.footer-col h4, .footer-col p, .footer-logo small,
.footer-bottom p, .footer-copyright { color: #aeb2cb; }
.footer [style*="gray-500"] { color: #aeb2cb !important; }
.footer-col a:hover, .footer-social a:hover { color: var(--primary-light); }
.mk-spec-label { color: #aeb2cb; }

/* Light surfaces: darken pale grey labels / sub-text / separators to a
   navy-slate that clears 4.5:1 on every light panel used across the fleet. */
.mk-plate-grade,
.trending-spec,
.vl-badge .vl-prefix,
.cn-accent[style*="gray-400"],
.review-author-meta,
.review-posted-date,
.review-action-btn,
.company-response-date,
.pl-raw-sep,
.pd-detail-label,
.pd-section-subtitle,
.pd-price-label,
.pd-contact-pricing .pd-price-label,
.pd-specification,
.pd-breadcrumb-link { color: #40455f !important; }

/* Homepage promo-timer card (light) — sep/unit were gray-300/400. */
.mk-promo-timer-val .timer-unit,
.mk-promo-timer-val .timer-sep { color: #40455f; }

/* Checkout-step upcoming labels (base only — active/completed keep their own,
   higher-specificity colours, so no !important here). */
.step-number, .step-text { color: #40455f; }

/* Header shipping-estimator courier line (inline gray-400). */
#shippingCourierExpress, #shippingCourierStandard { color: #40455f !important; }

/* Savings-progress unreached tier labels (inline gray-400). */
#savingsProgressBar [style*="gray-400"] { color: #40455f !important; }

/* Plate purity super-script "%+" — accent blue was 4.36:1; deepen it. */
.mk-plate-purity-num span { color: #2550ae !important; }

/* Products page: green "Save $x" text was 4.32:1 -> deeper green. */
.price-save { color: #1f6b3f !important; }

/* Reviews: Trustpilot "EXCELLENT" green on white -> darker green. */
.trust-score-label { color: #157347 !important; }

/* Reviews: colourful avatar circles carried white initials on light fills
   (down to 1.94:1). Unify to a brand-navy chip with white text. */
.review-avatar { background: #283593 !important; color: #ffffff !important; }

/* Products sale-bar countdown sits on the red gradient bar -> white numerals. */
.sale-bar-timer .timer-num,
.sale-bar-timer .timer-unit,
.sale-bar-timer .timer-sep { color: #ffffff !important; }

/* Gold "TRACKED" / "Fastest" badges: dark-brown on gold was 3.24:1.
   Drop the label text to near-black on the gold fill. */
span[style*="color:#5c3d0d"],
.about-team-badge-fastest,
.contact-team-badge-fastest { color: #1c1300 !important; }

/* About: "team contact" card carries an inline dark-grey (#525c55) background,
   but its email + subtitle text stayed dark. Make that text light. */
.about-team-contact strong,
.contact-team-contact strong { color: #ffffff !important; }
.about-team-contact span,
.contact-team-contact span { color: #edefec !important; }

/* Product trust section is a leftover dark-green panel; its plain link stayed
   navy (1.15:1). Light link text for the dark panel. */
.pd-trust-section a { color: #cfeadd !important; }
/* ===== END CONTRAST REPAIR ================================================= */
