:root {
    /* FitLine / PM-International shop tones */
    --primary-blue: #004B8D;
    --hover-blue: #003564;
    --accent-gold: #FD9E07;
    --hover-gold: #E69006;
    --gold-gradient: linear-gradient(135deg, #FDB139 0%, #FD9E07 35%, #FDB139 50%, #FD9E07 65%, #E69006 100%);
    --text-dark: #1A1919;
    --text-body: #454545;
    --surface-cream: #FFF5E6;
    --surface-warm: #E6E2DB;
    --surface-page: #F7F7F8;
    --glass-fill: rgba(255, 248, 240, 0.62);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-shadow: 0 14px 36px rgba(0, 53, 100, 0.10);
    /* Typography */
    --font-display: 'Manrope', sans-serif;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --btn-radius: 16px;
    --btn-h: 50px;
    --btn-px: 28px;
    --btn-fs: 14px;
    --btn-ink: #1a1919;
    --btn-cream: #f2ece4;
    --header-offset: 120px;
    --header-offset-narrow: calc(76px + env(safe-area-inset-top, 0px));
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-soft: cubic-bezier(0.7, 0, 0.84, 0);
    --ease-cross: cubic-bezier(0.4, 0, 0.2, 1);
    --motion-fast: 160ms;
    --motion-ui: 280ms;
    --motion-page: 360ms;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/manrope-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
    scroll-behavior: auto;
    overflow-x: clip;
    scroll-padding-top: var(--header-offset);
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

/* GPU-friendly layers - без постоянного will-change (меньше нагрузка на мобилках) */
.glass-card,
.floating-card,
.drawer,
.celebration-box {
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translate3d(0, 0, 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Glassmorphism */
.glass-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none;
    padding: 14px 0 0;
    pointer-events: none;
}

.glass-header .header-inner,
.glass-header .logo,
.glass-header .nav-shell,
.glass-header .nav-pill,
.glass-header .nav-cta,
.glass-header .nav-toggle,
.glass-header .nav-scrim {
    pointer-events: auto;
}

.nav-toggle {
    display: none;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.logo {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    flex: none;
    text-decoration: none;
    color: inherit;
    padding: 6px 12px 6px 6px;
    background: rgba(255, 248, 240, 0.96);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 53, 100, 0.10);
}

.logo-main {
    grid-row: 1 / span 2;
    flex: none;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.06em;
    line-height: 1;
    color: #fff;
    background: var(--primary-blue);
    border-radius: 11px;
}

.logo-subtext {
    grid-column: 2;
    align-self: end;
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--text-dark);
    line-height: 1.15;
}

.logo-partner {
    grid-column: 2;
    align-self: start;
    display: block;
    font-size: 10px;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--primary-blue);
    opacity: 0.9;
    font-weight: 600;
    margin-top: 1px;
}

.nav-shell {
    --nav-inner-r: 16px;
    --nav-outer-r: 24px;
    --nav-gap: 9px;
    --nav-stroke: 1.25px;
    position: relative;
    flex: none;
    padding: var(--nav-gap);
    isolation: isolate;
}

.nav-shell::before {
    content: none;
}

.nav-outline {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 4;
}

.nav-outline-track,
.nav-outline-ink {
    opacity: 0;
}

.nav-outline-mark {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.nav-shell.is-ready .nav-outline-mark:not(.nav-outline-ink) {
    opacity: 1;
    transition: stroke-dashoffset 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.nav-menu,
.nav-pill {
    display: flex;
    align-items: stretch;
    position: relative;
    gap: 0;
    padding: 0;
    min-height: 50px;
    background: rgba(242, 236, 228, 0.94);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: none;
    border-radius: var(--nav-inner-r, 16px);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nav-indicator {
    display: none;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 14px 22px;
    border-radius: 0;
    transition: color 0.25s ease;
    z-index: 2;
    display: inline-flex;
    align-items: center;
}

.nav-link::before {
    content: none;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--hover-blue);
}

.nav-pill .nav-cta,
.nav-pill .btn-primary-small.nav-cta,
.nav-pill .btn-quiz-trigger.nav-cta {
    justify-self: auto;
    align-self: stretch;
    margin-left: auto;
    white-space: nowrap;
    text-decoration: none;
    font-family: var(--font-heading);
    border-radius: 0 var(--nav-inner-r, 16px) var(--nav-inner-r, 16px) 0 !important;
    background: #1a1919 !important;
    background-image: none !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 100%;
    min-width: 220px;
    flex: 0 0 220px;
    width: 220px;
    box-sizing: border-box;
    overflow: hidden;
    animation: none !important;
    transform: none !important;
    filter: none !important;
}

.nav-pill .btn-quiz-trigger.nav-cta::before {
    content: none;
}

.nav-pill .nav-cta:hover,
.nav-pill .btn-primary-small.nav-cta:hover,
.nav-pill .btn-quiz-trigger.nav-cta:hover {
    background: #003564 !important;
    background-image: none !important;
    color: #fff !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    box-shadow: none !important;
}

/* Buttons — header capsule (16px / 50px), gold gradient + pulse */
.btn-primary-small,
.btn-primary-large,
.btn-secondary,
.btn-submit,
.btn-glass-gold,
.btn-quiz-trigger,
.quiz-btn-start,
.quiz-btn-next,
.quiz-btn-cta {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--btn-fs);
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: var(--btn-radius);
    min-height: var(--btn-h);
    padding: 14px var(--btn-px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary-small,
.btn-primary-large,
.btn-submit,
.btn-glass-gold,
.quiz-btn-start,
.quiz-btn-next,
.quiz-btn-cta {
    background: var(--gold-gradient);
    background-size: 200% 200%;
    color: var(--btn-ink);
    text-shadow: none;
    border: 1px solid rgba(253, 177, 57, 0.55);
    box-shadow:
        0 4px 15px rgba(230, 144, 6, 0.32),
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.btn-primary-small::before,
.btn-primary-large::before,
.btn-submit::before,
.btn-glass-gold::before,
.quiz-btn-start::before,
.quiz-btn-next::before,
.quiz-btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn-primary-small:hover::before,
.btn-primary-large:hover::before,
.btn-submit:hover::before,
.btn-glass-gold:hover::before,
.quiz-btn-start:hover::before,
.quiz-btn-next:hover::before,
.quiz-btn-cta:hover::before {
    left: 120%;
}

.btn-primary-small:hover,
.btn-primary-large:hover,
.btn-submit:hover,
.btn-glass-gold:hover,
.quiz-btn-start:hover,
.quiz-btn-next:hover,
.quiz-btn-cta:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow:
        0 8px 26px rgba(200, 150, 12, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.btn-secondary {
    background: var(--btn-cream);
    color: var(--btn-ink);
    text-shadow: none;
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--btn-ink);
    color: #fff;
}

.btn-submit,
.btn-glass-gold.btn-submit-full {
    width: 100%;
    margin-top: 16px;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 158, 7, 0.45),
            0 4px 15px rgba(230, 144, 6, 0.32);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(253, 158, 7, 0),
            0 4px 15px rgba(230, 144, 6, 0.32);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(253, 158, 7, 0),
            0 4px 15px rgba(230, 144, 6, 0.32);
    }
}

.pulse-btn {
    animation: pulseGlow 2.5s infinite;
}

.pulse-btn:hover {
    animation: none;
}

@media (prefers-reduced-motion: reduce), (pointer: coarse), (max-width: 900px) {
    .pulse-btn {
        animation: none;
    }
}

/* Sections Base */
section {
    margin: 0 !important;
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--hover-blue);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85),
        1px 2px 0 rgba(0, 75, 141, 0.1),
        0 10px 22px rgba(0, 53, 100, 0.14);
}

.text-volume {
    color: var(--hover-blue);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9),
        1px 2px 0 rgba(0, 75, 141, 0.12),
        2px 4px 0 rgba(0, 53, 100, 0.08),
        0 12px 24px rgba(0, 53, 100, 0.18),
        0 28px 48px rgba(253, 158, 7, 0.16);
}

.section-desc {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--text-body);
}

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-center .section-desc {
    margin: 0 auto 60px;
}

/* Hero Section & Background - LCP: <img class="hero-lcp-img"> + overlay */
.hero-section {
    background: none;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    margin-bottom: -36px;
    clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    z-index: 10;
}

.hero-lcp-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-lcp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}

@media (max-width: 900px) {
    .hero-lcp-img {
        object-position: 90% 48%;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(255, 248, 240, 0.18) 0%, rgba(0, 53, 100, 0.12) 100%);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(0, 53, 100, 0.08) 100%);
    pointer-events: none;
}



.hero-container {
    max-width: 1040px;
    padding: 0 24px;
    position: relative;
    z-index: 3;
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4.4vw, 54px);
    line-height: 1.12;
    margin-bottom: 24px;
    color: var(--hover-blue) !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(0, 53, 100, 0.14);
}

@media (min-width: 900px) {
    .main-title {
        white-space: nowrap;
    }
}

/* Слот фиксированной высоты - без CLS при смене фраз (1 vs 2 строки), em от размера заголовка */
.dynamic-word-slot {
    display: block;
    text-align: center;
    line-height: 1.15;
    min-height: 2.45em;
}

.dynamic-word {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #00a8ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.5s ease-in-out;
    display: inline-block;
    max-width: 100%;
    text-align: center;
    vertical-align: top;
}

.dynamic-word.fade-out {
    opacity: 0;
}

.hero-subtitle {
    font-size: 20px;
    color: #30456B;
    margin-bottom: 48px;
    font-weight: 500;
}

.hero-trust-line {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(0, 51, 102, 0.88);
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.footer-social-proof {
    font-size: 14px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 8px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 245, 230, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--hover-blue);
    box-shadow: 0 10px 28px rgba(0, 53, 100, 0.14);
    border: 1px solid rgba(0, 75, 141, 0.14);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.floating-card span {
    font-size: 20px;
}

.card-1 {
    top: 15%;
    left: 5%;
    animation: floatCards 5s ease-in-out infinite;
}

.card-2 {
    bottom: 25%;
    right: 5%;
    animation: floatCards 8s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 15%;
    left: 5%;
    animation: floatCards 7s ease-in-out infinite 2s;
}

.card-4 {
    top: 15%;
    right: 3%;
    animation: floatCards 6s ease-in-out infinite 0.5s;
}

@keyframes floatCards {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none !important;
    }
}

/* ─── Product Section - Premium Matte Redesign ─── */
.product-section {
    margin-top: 0 !important;
    padding: 80px 0 100px !important;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    z-index: 1;
}

/* Decorative blur orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.orb-gold {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.22) 0%, transparent 70%);
    top: -80px;
    left: -100px;
}

.orb-blue {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 64, 128, 0.1) 0%, transparent 70%);
    bottom: -120px;
    right: -80px;
}

/* Grid layout */
.product-grid {
    display: grid;
    /* Equal columns for centered look */
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 1;
}

/* ── Visual / Image side ── */
.product-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 560px;
}

/* The matte frosted-glass frame */
.product-matte-frame {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    /* Matte glass base - solid white underneath prevents black sub-pixel lines */
    background: #ffffff;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    /* No visible border - removes black edge lines */
    border: none;
    outline: none;
    box-shadow: 0 32px 80px rgba(0, 40, 100, 0.10);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.7s ease;
}

.product-matte-frame:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 48px 100px rgba(0, 40, 100, 0.14);
}

/* Noise/grain texture overlay for matte feel */
.matte-noise {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: 32px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: overlay;
}

/* The actual product image */
.product-hero-img {
    width: calc(100% + 4px);
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    margin: -2px;
    border-radius: 28px;
    /* Subtle brightness lift */
    filter: saturate(1.1) brightness(1.02);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Soft reflection glow cast below the frame */
.product-glow-base {
    position: absolute;
    bottom: -28px;
    left: 10%;
    width: 80%;
    height: 48px;
    background: radial-gradient(ellipse, rgba(243, 156, 18, 0.22) 0%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
}

/* Floating "NTC® Technology" badge */
.ntc-badge {
    position: absolute;
    bottom: -18px;
    right: -16px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 64, 128, 0.1);
    z-index: 10;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.25);
    animation: pulseDot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.25);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(243, 156, 18, 0.08);
    }
}

/* ── Text side ── */
.product-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ntc-badge {
        bottom: -14px;
        right: 8px;
    }
}

.eyebrow-small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 16px;
}

.feature-list {
    list-style-type: none;
    margin-top: 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li::before {
    content: '✓';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: var(--accent-gold);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

/* Interactive Horizontal Scroll Section */
.interactive-section {
    background-color: var(--primary-blue);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.text-white {
    color: #ffffff !important;
}

.horizontal-scroll-container {
    margin-top: 48px;
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 32px;
    padding-bottom: 40px;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-card {
    min-width: 360px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 48px 32px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
    scroll-snap-align: start;
}

.scroll-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.card-title {
    color: var(--accent-gold);
    font-size: 26px;
    margin-bottom: 16px;
}

.card-desc {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.6;
}

/* Business Section */
.business-section {
    background-color: var(--bg-light);
}

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

.feature-box {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 64, 128, 0.08);
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.feature-text {
    font-size: 15px;
    color: var(--text-body);
}

/* Contact Form & Footer */
.footer-contact {
    background-color: #ffffff;
    padding: 80px 0 0 0;
    border-top: 1px solid #eaeaea;
}

.footer-contact--bar {
    padding: 0;
    border: none;
}

.form-container {
    max-width: 680px;
    margin: 0 auto 80px;
    background: #ffffff;
    padding: 0 20px;
}

.contact-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.contact-ch {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 112px;
    padding: 20px 12px;
    border-radius: 18px;
    text-decoration: none;
    text-align: center;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    user-select: none;
    transition: transform 0.2s var(--ease-cross, cubic-bezier(0.4, 0, 0.2, 1)), box-shadow 0.2s ease;
}

@media (hover: hover) {
    .contact-ch:hover {
        transform: translateY(-2px);
    }
}

.contact-ch:active {
    transform: scale(0.98);
}

.contact-ch:focus {
    outline: none;
}

.contact-ch:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

.contact-ch-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.contact-ch-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.contact-ch-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.72;
}

.contact-ch-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.contact-ch--max {
    background: #1a1919;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-ch--tg {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 75, 141, 0.24);
}

.contact-ch--call {
    background: var(--gold-gradient);
    color: #1a1919;
    box-shadow: 0 10px 24px rgba(253, 158, 7, 0.32);
}

.contact-ch--call .contact-ch-name {
    font-size: 16px;
    white-space: nowrap;
}

.contact-channels-note {
    margin: 18px auto 0;
    max-width: 36em;
    text-align: center;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-body);
}

.contact-channels-note a {
    color: var(--primary-blue);
}

.contact-channels-alt {
    margin: 12px auto 0;
    max-width: 36em;
    text-align: center;
    font-size: 18px;
    line-height: 1.45;
    color: var(--text-body);
}

.contact-channels-alt a {
    color: var(--primary-blue);
    font-weight: 700;
    text-underline-offset: 3px;
}

.contact-channels-alt a:hover {
    color: var(--navy-deep, #003564);
}

.form-modal-window .contact-channels {
    max-width: none;
}

.contact-channels-wrap {
    max-width: 680px;
    margin: 28px auto 8px;
}

@media (max-width: 720px) {
    .footer-contact .contact-channels,
    .sku-order .contact-channels,
    .biz-join .contact-channels,
    .contact-channels-wrap .contact-channels {
        grid-template-columns: 1fr;
    }

    .contact-ch {
        min-height: 80px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        padding: 14px 18px;
        text-align: left;
    }

    .contact-ch-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }

    .contact-ch-copy {
        align-items: flex-start;
    }

    .contact-ch-name,
    .contact-ch--call .contact-ch-name {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-ch,
    .contact-ch:hover {
        transform: none;
        transition: none;
    }
}

.form-heading {
    font-size: 36px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 700;
}

.form-subheading {
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-body);
    font-size: 16px;
}

.premium-cta-heading {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.premium-cta-subheading {
    font-size: 18px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto 48px auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.4s ease;
}

.contact-form .btn-submit {
    align-self: center;
    width: 100%;
    max-width: 320px;
    margin-top: 8px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label:not(.custom-radio):not(.custom-checkbox) {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.iti {
    width: 100%;
    display: block;
}

.iti__tel-input {
    text-align: left !important;
}

/* separateDialCode: не сжимать поле - иначе цифры наезжают на +7 */
.iti--separate-dial-code .iti__tel-input {
    padding-left: 72px !important;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-text);
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    box-sizing: border-box;
    caret-color: var(--accent-gold);
    color: var(--text-dark);
}

input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--primary-blue) !important;
    background-color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.05) !important;
}

.radio-group {
    margin-top: 8px;
}

.radio-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Праздничный блок (Успех формы) */
.celebration-box {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.08);
    /* Мягкая синяя тень для объема */
    overflow: hidden;
    /* Удерживаем контекст слоев внутри коробки */
    isolation: isolate;
}

.celebration-box::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg, transparent 75%, var(--accent-gold) 100%);
    /* Золотой луч */
    animation: rotateGoldBorder 4s linear infinite;
    /* Медленное вращение луча */
    z-index: -2;
}

.celebration-box::after {
    content: '';
    position: absolute;
    inset: 3px;
    /* Оставляем 3px для элегантной рамки */
    background: #ffffff;
    /* Заливаем внутренность белым */
    border-radius: 17px;
    /* Идеально совпадает: outer (20) - inset (3) = inner (17) */
    z-index: -1;
}

.celebration-box>* {
    position: relative;
    z-index: 1;
}

@keyframes rotateGoldBorder {
    100% {
        transform: rotate(360deg);
    }
}

.celebration-box .icon-wrap {
    font-size: 48px;
    margin-bottom: 16px;
}

.celebration-box .gold-text {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.celebration-box .step-text {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.celebration-box .final-desc {
    font-size: 16px;
    color: var(--text-body);
}

.radio-options {
    display: flex;
    gap: 32px;
}

.custom-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
}

.custom-radio input {
    display: none;
}

.radio-mark {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

.custom-radio input:checked~.radio-mark {
    border-color: var(--accent-gold);
}

.custom-radio input:checked~.radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

/* Slide Down Animation for Telegram Input */
.slide-down {
    animation: slideDownFade 0.3s ease-out forwards;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
    }
}

.checkbox-group {
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    cursor: pointer;
    color: var(--text-dark);
    user-select: none;
}

.custom-checkbox input {
    display: none;
}

.checkbox-mark {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.custom-checkbox input:checked~.checkbox-mark {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.custom-checkbox input:checked~.checkbox-mark::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* Footer Bottom Layout */
.footer-bottom {
    padding: 8px 0 28px;
}

.footer-bar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 28px;
}

.footer-pill {
    display: flex;
    align-items: stretch;
    min-height: 50px;
    background: rgba(242, 236, 228, 0.94);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 22px rgba(0, 53, 100, 0.10);
}

.footer-pill-brand {
    display: grid;
    place-items: center;
    flex: none;
    padding: 8px 4px 8px 10px;
    align-self: center;
    text-decoration: none;
}

.footer-pill-brand .logo-main {
    width: 36px;
    height: 36px;
    font-size: 13px;
}

.footer-pill-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 18px 12px 10px;
}

.footer-pill-cta {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin-left: auto;
    padding: 14px 28px;
    min-width: max-content;
    background: #1a1919;
    color: #fff !important;
    text-decoration: none !important;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
    border-radius: 0 16px 16px 0;
}

.footer-pill-cta:hover {
    background: var(--hover-blue);
    color: #fff !important;
}

.footer-pill-cta:focus-visible,
.footer-pill-brand:focus-visible,
.footer-meta a:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: 8px;
    z-index: 1100;
    padding: 10px 16px;
    background: #1a1919;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.privacy-page {
    padding: var(--header-offset) 0 80px;
    background-color: #f9fbfd;
    min-height: calc(100vh - 100px);
}

/* Side Drawer Setup */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 10000;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed !important;
    top: 0 !important;
    right: -420px;
    width: 400px;
    height: 100vh !important;
    max-height: 100vh !important;
    background: #fff;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: -10px 0 30px rgba(0, 43, 94, 0.15);
    z-index: 10001 !important;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto !important;
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch;
}

.drawer.active {
    right: 0 !important;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.drawer-header h2 {
    font-size: 24px;
    color: var(--primary-blue);
    margin: 0;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.drawer-close:hover {
    color: var(--hover-gold);
}

.drawer-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.drawer-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0e7ff 0%, #a7b5d6 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-heading);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.drawer-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.drawer-item h3 {
    font-size: 20px;
    color: var(--primary-blue);
}

.drawer-item-desc {
    font-size: 15px;
    color: var(--text-body);
}

.drawer-item-benefit {
    font-size: 14px;
    padding: 12px;
    background: rgba(243, 156, 18, 0.1);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 8px 8px 0;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 992px) {
    .header-inner {
        padding: 0 20px;
    }

    .hero-section {
        padding-top: calc(var(--header-offset) + env(safe-area-inset-top, 0px));
    }

    .main-title {
        font-size: 48px;
    }

    .floating-card {
        display: none;
        /* Hide floating cards on smaller screens for cleaner UI */
    }

    .product-section .container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .product-content {
        padding-left: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 24px;
    }

    .scroll-card {
        min-width: 280px;
        padding: 32px 24px;
    }
}

@media (max-width: 576px) {
    .drawer {
        width: 100%;
        right: -100%;
    }

    .main-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .value-title {
        font-size: 40px;
    }

    .premium-cta-heading {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .premium-cta-subheading {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 32px;
    }
}

/* --- NEW COMPLIANT PRODUCT BLOCK --- */
.new-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-left {
    width: 100%;
}

.product-img-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    /* Скругляем мягко, как у Apple */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Мягкая дорогая тень */
    background: #f8f9fa;
    /* Легкий фон, если картинка прозрачная */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    aspect-ratio: 4/3;
}

.product-main-img {
    width: 100% !important;
    /* На всю ширину блока */
    height: auto !important;
    object-fit: cover;
    /* Заполняем всё пространство */
    transform: scale(1.05);
    /* Чуть "приближаем" статично для эффекта объема */
    transition: none !important;
    /* Убираем любую анимацию при наведении */
    display: block;
    margin: 0 auto;
}

.img-fallback {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #a7b5d6 100%);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 24px;
    font-family: var(--font-heading);
    position: absolute;
    top: 0;
    left: 0;
}

.product-right {
    display: flex;
    flex-direction: column;
}

.new-feature-list {
    margin-top: 24px;
}

.new-btn-container {
    margin-top: 40px;
}

@media (max-width: 992px) {
    .new-product-container {
        grid-template-columns: 1fr;
    }
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    background-color: var(--bg-light);
    overflow: hidden;
    position: relative;
    padding: 100px 0;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 64, 128, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Form Added States */
.form-disclaimer {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    text-align: center;
}

.celebration-box {
    position: relative;
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    /* Чистый белый внутри */
    border-radius: 20px;
    z-index: 1;
    overflow: hidden;
    /* Чтобы вращение не выходило за края */
}

/* Создаем эффект крутящейся рамки через псевдоэлемент */
.celebration-box::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    /* Золотой градиент для вращения */
    background-image: linear-gradient(#BF953F, #FCF6BA), linear-gradient(#B38728, #FBF5B7);
    animation: rotate-gold 4s linear infinite;
}

/* Белая подложка, чтобы оставить только тонкую линию рамки */
.celebration-box::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 4px;
    top: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: white;
    border-radius: 18px;
}

@keyframes rotate-gold {
    100% {
        transform: rotate(360deg);
    }
}

.gold-text {
    background: linear-gradient(90deg, #BF953F, #B38728, #AA771C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 36px;
    letter-spacing: 2px;
}

.icon-wrap {
    font-size: 50px;
    margin-bottom: 20px;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

/* Force Country List Scroll */
.iti__country-list {
    max-height: 250px !important;
    overflow-y: auto !important;
    background-color: white !important;
    z-index: 10002 !important;
    -webkit-overflow-scrolling: touch;
}

/* --- OPPORTUNITIES SECTION --- */
.opportunities-section {
    background: radial-gradient(circle at center, #003366 0%, #001a33 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.business-jtbd {
    max-width: 720px;
    margin: 16px auto 0;
    font-size: 17px;
    opacity: 0.92;
    line-height: 1.55;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    justify-items: center;
}

.flip-card {
    background-color: transparent;
    width: 250px;
    height: 250px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transform: rotateY(180deg);
}

@media (hover: hover) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }

    .flip-card:hover .flip-card-front,
    .flip-card:hover .flip-card-back {
        box-shadow: inset 0 0 30px rgba(243, 156, 18, 0.15), 0 20px 40px rgba(0, 0, 0, 0.4);
    }
}

.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card.is-flipped .flip-card-front,
.flip-card.is-flipped .flip-card-back {
    box-shadow: inset 0 0 30px rgba(243, 156, 18, 0.15), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.flip-card-front .card-title {
    margin-bottom: 0;
    text-align: center;
}

.flip-card-back .card-desc {
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .opportunities-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 32px;
        margin: 48px -20px 0;
        padding-left: 20px;
        padding-right: 20px;
        justify-items: start;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-gold) rgba(255, 255, 255, 0.05);
    }

    .opportunities-grid::-webkit-scrollbar {
        height: 4px;
    }

    .opportunities-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        margin: 0 20px;
    }

    .opportunities-grid::-webkit-scrollbar-thumb {
        background: var(--accent-gold);
        border-radius: 4px;
    }

    .flip-card {
        flex: 0 0 calc(100% - 40px);
        max-width: 280px;
        height: 240px;
        scroll-snap-align: center;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 20px;
    }
}

/* Типографика hero на узком экране. Шапка — единый блок @900px (лого + гамбургер). */
@media (max-width: 768px) {
    .glass-header {
        padding-top: 8px;
    }

    /* Отступ под фикс. шапку */
    .hero-section {
        padding-bottom: 56px !important;
        min-height: 100svh;
        clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    }

    .main-title {
        font-size: clamp(28px, 7.4vw, 36px) !important;
        line-height: 1.18 !important;
        white-space: normal !important;
    }

    .main-title-brand {
        display: inline-block;
        font-size: 0.86em;
        letter-spacing: -0.03em;
    }

    .dynamic-word {
        min-width: min(100%, 22ch) !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
        margin-bottom: 32px !important;
        padding: 0 15px;
    }
}

html {
    background-color: var(--surface-cream);
}

/* ==================================================
   PRODUCTS.HTML CATALOG STYLES
   ================================================== */

.products-page-container {
    background: linear-gradient(rgba(255, 245, 230, 0.78), rgba(247, 247, 248, 0.96)),
        url('img/render.webp?v=3') top center no-repeat;
    background-size: cover;
    background-attachment: scroll;
    min-height: 100vh;
    padding-top: var(--header-offset);
    padding-bottom: 100px;
}

.page-products .section-title,
.page-products .sku-featured-title,
.page-products .sku-catalog-heading {
    color: var(--hover-blue);
}

.page-products .section-desc {
    color: #30456B;
}

@media (max-width: 768px) {
    .products-page-container {
        padding-bottom: 80px;
    }
}

@media (min-width: 900px) {
    .products-page-container {
        background-attachment: fixed;
    }
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.product-catalog-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: visible;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 64, 128, 0.15);
    z-index: 2;
}

.p-card-image-box {
    position: relative;
    width: 100%;
    min-height: 300px;
    padding: 8px 12px 0;
    background: transparent;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-card-image-box .product-shot {
    width: min(380px, 96%);
    margin: -10px auto 0;
}

.p-card-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.p-card-info h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.p-card-info p {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 16px;
    flex-grow: 1;
}

.p-card-volume {
    font-size: 12px;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 24px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.p-card-volume strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.p-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin: 0 0 10px;
}

.p-card-price-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--hover-blue);
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.p-card-price-note {
    font-size: 13px;
    color: #3E598A;
}

.sku-featured-card .p-card-price {
    justify-content: center;
    margin-top: 4px;
}

.sku-featured-card .p-card-price-value {
    font-size: 20px;
}

.btn-modal-trigger {
    width: 100%;
    margin-top: auto;
}

.p-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

.p-card-actions .btn-modal-trigger {
    flex: 1 !important;
    height: var(--btn-h) !important;
    min-height: var(--btn-h);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--btn-radius) !important;
    padding: 0 16px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.p-card-actions .btn-wishlist {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    background-color: #f0f0f0;
    color: #999;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-card-actions .btn-wishlist svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.p-card-actions .btn-wishlist:hover {
    background-color: #e0e0e0;
    color: #666;
}

.p-card-actions .btn-wishlist.active {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #d4820d 100%);
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.4);
}

.p-card-actions .btn-wishlist.active svg {
    fill: white;
    stroke: white;
    animation: heartBeat 0.6s ease-in-out;
}

/* Modal Wishlist Text Button */
.btn-wishlist-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #f8f9fa;
    color: #888;
    border: 2px solid #eaeaea;
    border-radius: 50px;
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-wishlist-text svg {
    width: 26px;
    height: 26px;
    transition: all 0.4s ease;
}

.btn-wishlist-text:hover {
    background-color: #fff;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-wishlist-text:active {
    transform: scale(0.95);
}

.btn-wishlist-text.active {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #d4820d 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(245, 166, 35, 0.3);
}

.btn-wishlist-text.active svg {
    fill: white;
    stroke: white;
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1);
    }
}

/* Cart / Wishlist Widget */
.cart-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-gold);
    border-radius: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s;
    padding: 15px 24px;
    gap: 15px;
}

#cart-modal-overlay {
    z-index: 9999;
}

/* Premium Wishlist Modal Styles */
.form-modal-window {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2) !important;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-overlay.active .form-modal-window {
    opacity: 1;
    transform: scale(1);
}

.form-modal-window .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 64, 128, 0.1);
    border: 1px solid rgba(0, 64, 128, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    z-index: 100;
    flex-shrink: 0;
}

.form-modal-window .modal-close:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: rotate(90deg);
}

.wishlist-compact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wishlist-item-block {
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.wishlist-item-block:hover {
    transform: translateY(-2px);
}

.wishlist-item-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
}

.wishlist-item-block.slide-out {
    animation: slideOutLeft 0.4s ease forwards;
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
        height: 0;
        margin: 0;
        border: none;
    }
}

.btn-remove-item {
    background: none;
    border: none;
    color: #bbb;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.btn-remove-item:hover {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.premium-form .form-group {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 25px;
    position: relative;
}

/* Fix ITI Dropdown Ugly Gray */
.premium-form .iti {
    width: 100%;
}

.premium-form .iti__country-list {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.premium-form .iti__selected-flag {
    padding-left: 0;
    background: transparent !important;
}

.premium-form .iti__selected-flag:hover {
    background: transparent !important;
}

/* intl-tel-input + minimal-input: отдельный отступ, иначе номер наслаивается на +7 */
.premium-form .iti--separate-dial-code .iti__tel-input,
.premium-form .iti input.minimal-input.iti__tel-input {
    width: 100%;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-right: 8px !important;
    padding-left: 72px !important;
    text-align: left !important;
}

.premium-form .iti--separate-dial-code .iti__selected-dial-code {
    margin-left: 2px;
    padding-right: 6px;
}

input[type="text"].minimal-input,
input[type="tel"].minimal-input:not(.iti__tel-input) {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 !important;
    font-family: var(--font-heading);
    font-size: 16px;
    padding: 10px 5px !important;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

input[type="text"].minimal-input:focus,
input[type="tel"].minimal-input:focus {
    outline: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Expanding golden line */
.premium-form .form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}

.premium-form .form-group:focus-within::after {
    width: 100%;
}

.minimal-input::placeholder {
    color: #aaa;
    font-family: var(--font-heading);
}

.glass-submit-btn {
    background: #ff8c00;
    border-radius: 100px;
    color: white;
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-submit-btn:hover {
    background: #e67e00;
    transform: scale(1.02);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.3), 0 10px 25px rgba(255, 140, 0, 0.5);
}

.cart-widget:hover {
    transform: translateY(-2px);
    background-color: #e5941c;
}

.cart-widget-text {
    color: white;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 16px;
}

.cart-count {
    background-color: #DD0000;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
}

/* ==================================================
   PRODUCT MODAL OVERLAY STYLES
   ================================================== */

.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 15, 36, 0.85);
    /* Deep dark blue transparent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.product-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.product-modal-box {
    background: white;
    border-radius: 24px;
    /* Elegant curves instead of sharp edges */
    width: 90vw;
    max-width: 1000px;
    height: auto;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 30, 80, 0.4);
    /* Deep soft shadow with brand blue tint */
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    overflow-y: auto;
}

.product-modal-box,
.product-modal-content,
.form-modal-window {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 53, 100, 0.35) transparent;
}

.product-modal-box::-webkit-scrollbar,
.product-modal-content::-webkit-scrollbar,
.form-modal-window::-webkit-scrollbar {
    width: 8px;
}

.product-modal-box::-webkit-scrollbar-thumb,
.product-modal-content::-webkit-scrollbar-thumb,
.form-modal-window::-webkit-scrollbar-thumb {
    background: rgba(0, 53, 100, 0.35);
    border-radius: 8px;
}

.product-modal-overlay.active .product-modal-box {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-close-btn:hover {
    color: #fff;
    background: var(--primary-blue);
    transform: rotate(90deg);
}

/* ── Navigation arrows for product modal ── */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--primary-blue);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-nav-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-prev {
    left: 16px;
}

.modal-nav-next {
    right: 16px;
}

.modal-content-wrap {
    padding: 0;
}

.modal-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.modal-img-col {
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal-img-col img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

.modal-text-col {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text-col h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.modal-highlight-line {
    width: 60px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
    margin-bottom: 24px;
}

.modal-text-col p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .modal-split {
        grid-template-columns: 1fr;
    }

    .modal-img-col {
        min-height: 300px;
        padding: 30px;
    }

    .modal-text-col {
        padding: 30px 20px;
    }

    .modal-text-col h2 {
        font-size: 26px;
    }
}

/* ==================================================
   PRODUCT BADGES (Vegan, Halal, etc)
   ================================================== */

.product-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-dark);
    font-weight: 500;
    transition: transform 0.2s ease;
}

.product-badge:hover {
    transform: translateY(-2px);
}

.product-badge svg {
    margin-bottom: 6px;
    color: var(--primary-blue);
    height: 28px;
    width: 28px;
}

/* ==================================================
   PREMIUM MINIMALIST MODAL (.modal-custom)
   ================================================== */

.modal-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.modal-custom-img {
    background: #f8f9fa;
    /* Very light gray for premium look */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.modal-custom-img::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.modal-custom-img img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.15));
    z-index: 2;
    position: relative;
}

.modal-custom-text {
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #ffffff;
    overflow-y: auto;
}

.modal-custom-text h2 {
    font-size: 34px;
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.modal-custom-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 20px;
}

.modal-volume {
    font-size: 13px;
    color: var(--text-dark);
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 3px solid var(--accent-gold);
}

.modal-volume strong {
    color: var(--primary-blue);
}

.modal-custom-text h4 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-weight: 600;
}

.modal-custom-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
}

.mc-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    margin-top: 1px;
}

/* Redefined badge container specifically for .modal-custom - now under title */
.modal-custom-text .product-badges-container {
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 0;
    border-top: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-custom-text .product-badge {
    flex-direction: row;
    gap: 5px;
    background: #f0f4ff;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary-blue);
    opacity: 1;
}

.modal-custom-text .product-badge svg {
    width: 16px;
    height: 16px;
    margin-bottom: 0;
}

.modal-custom-text .product-badge:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .modal-custom {
        grid-template-columns: 1fr;
    }

    .modal-custom-img {
        min-height: 300px;
        padding: 40px;
    }

    .modal-custom-text {
        padding: 40px 24px;
    }

    .modal-custom-text h2 {
        font-size: 28px;
    }
}

/* ==================================================
   TABLET OPTIMIZATION - 1024px (iPad Pro & similar)
   ================================================== */
@media (max-width: 1024px) {

    /* Hide decorative floating cards inside hero */
    .floating-card {
        display: none !important;
    }

    /* Adjust Hero title for tablet width */
    .main-title {
        font-size: 52px;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    /* Compact Header Navigation */
    .nav-menu:not(.nav-pill) {
        gap: 16px;
    }

    .nav-link {
        font-size: 14px;
    }

    /* Convert Features Grid from 3-columns to 2-columns (Business section) */
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .feature-box {
        padding: 40px 30px;
    }

    /* Testimonials are 1.15 by default but 3 on desktop. Ensure at 1024px it looks fine */
    .story-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Ensure floating CTA doesn't cover footer or last product card contents */
    body {
        padding-bottom: 30px;
    }

    .product-gallery-grid {
        padding-bottom: 90px !important;
    }
}

/* ==================================================
   MOBILE OPTIMIZATION - Products Page
   ================================================== */

@media (max-width: 600px) {

    /* ── Product Card Grid: single column ── */
    .product-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        padding-bottom: 40px;
    }

    .p-card-image-box {
        min-height: 280px;
        height: auto;
        padding: 4px 8px 0;
    }

    .p-card-image-box .product-shot {
        width: min(340px, 100%);
    }

    .p-card-info {
        padding: 20px;
    }

    .p-card-info h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .p-card-info p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .p-card-volume {
        font-size: 11px;
        margin-bottom: 16px;
    }

    .p-card-actions .btn-modal-trigger {
        height: 48px;
        font-size: 14px;
    }

    .p-card-actions .btn-wishlist {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
    }

    /* ── Product Detail Modal: full-screen scrollable ── */
    .product-modal-box {
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        /* Show scrollbar on mobile so user knows they can scroll */
        -ms-overflow-style: auto;
        scrollbar-width: thin;
    }

    .product-modal-box::-webkit-scrollbar {
        display: block;
        width: 4px;
    }

    .product-modal-box::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15);
        border-radius: 4px;
    }

    .modal-custom {
        grid-template-columns: 1fr !important;
    }

    .modal-custom-img {
        min-height: 250px;
        padding: 30px;
    }

    .modal-custom-text {
        padding: 24px 20px;
    }

    .modal-custom-text h2 {
        font-size: 24px;
        padding-right: 40px;
        /* Space for the close button if it overlaps */
    }

    .modal-custom-text p {
        font-size: 14px;
    }

    .modal-close-btn {
        position: fixed;
        top: 32px;
        /* Increased as requested for better accessibility */
        right: 16px;
        font-size: 20px;
        width: 44px;
        height: 44px;
        z-index: 10001;
        /* Higher than EVERYTHING */
        background: white;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        color: var(--primary-blue);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* Nav arrows on mobile: fixed at sides */
    .modal-nav-btn {
        position: fixed;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .modal-nav-prev {
        left: 8px;
    }

    .modal-nav-next {
        right: 8px;
    }

    /* Wishlist "Хочу это" button: smaller on mobile */
    .btn-wishlist-text {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 12px;
    }

    .btn-wishlist-text svg {
        width: 20px;
        height: 20px;
    }

    /* ── Cart/Form Modal: full-screen + scrollable with keyboard ── */
    #cart-modal-overlay .product-modal-content,
    #cart-modal-overlay .form-modal-window {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        padding: 24px 20px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        /* smooth bounce scroll on iOS */
    }

    /* Cart modal overlay needs to allow scroll */
    #cart-modal-overlay {
        align-items: flex-start !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .premium-form .form-group {
        margin-bottom: 18px;
    }

    #cart-modal-overlay .form-heading,
    .form-modal-window .form-heading {
        font-size: 24px !important;
        margin-bottom: 16px !important;
    }

    .radio-options {
        flex-direction: column;
        gap: 8px;
    }

    /* Cart widget: visible but smaller on mobile */
    .cart-widget {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
        gap: 10px;
        border-radius: 28px;
    }

    /* Badge container smaller */
    .product-badges-container {
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
    }

    .product-badge {
        font-size: 10px;
    }

    .product-badge svg {
        width: 22px;
        height: 22px;
    }
}

/* Каталог products.html — квиз-кнопка на узком экране */
@media (max-width: 768px) {
    .page-products .btn-quiz-trigger {
        font-size: 14px !important;
        padding: 14px 20px !important;
        white-space: nowrap !important;
        max-width: none;
        line-height: 1.2;
        -webkit-appearance: none;
        appearance: none;
    }
}

/* ==================================================
   LEGAL DISCLAIMERS
   ================================================== */

.disclaimer-badge {
    font-size: 11px;
    color: #9ba4b5;
    /* subtle gray */
    font-style: italic;
    margin-top: 15px;
    letter-spacing: 0.2px;
}

.footer-disclaimer {
    font-size: 12px;
    color: #30456B;
    margin: 0;
    line-height: 1.45;
    text-align: left;
}

.footer-meta {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-dark);
}

.footer-meta a {
    color: var(--hover-blue);
    text-decoration: none;
}

.footer-meta a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════
   QUIZ
═══════════════════════════════════════════════════ */
.quiz-modal-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 53, 100, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--motion-page) var(--ease-out-expo),
        visibility var(--motion-page) var(--ease-out-expo);
}

.quiz-modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.quiz-modal-box {
    position: relative;
    background: #fff;
    border-radius: var(--btn-radius);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px 28px 32px;
    box-shadow: 0 24px 64px rgba(0, 53, 100, 0.22);
    scrollbar-width: none;
    transform: translateY(18px) scale(0.98);
    opacity: 0.86;
    transition: transform var(--motion-page) var(--ease-out-expo),
        opacity var(--motion-page) var(--ease-out-expo);
}

.quiz-modal-overlay.active .quiz-modal-box {
    transform: none;
    opacity: 1;
}

.quiz-modal-box::-webkit-scrollbar {
    display: none;
}

.quiz-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: var(--btn-radius);
    border: none;
    background: var(--btn-cream);
    color: var(--btn-ink);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.quiz-modal-close:hover {
    background: var(--btn-ink);
    color: #fff;
}

.quiz-progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 40px 28px 0;
    background: var(--btn-cream);
    border-radius: var(--btn-radius);
    padding: 4px 14px 4px 4px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 8px;
    background: var(--accent-gold);
    border-radius: 8px;
    transition: width 320ms var(--ease-out-quint);
    width: 0%;
    flex-shrink: 0;
}

.quiz-progress-label {
    font-size: 12px;
    font-weight: 600;
    color: #5a6474;
    white-space: nowrap;
    margin-left: auto;
}

.quiz-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quiz-screen.active {
    display: flex;
}

.quiz-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0 36px 12px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.quiz-subtitle {
    font-size: 15px;
    color: #5a6474;
    line-height: 1.5;
    margin-bottom: 8px;
    max-width: 36em;
}

.quiz-intro-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 20px 0 28px;
}

.quiz-intro-mark {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--gold-gradient);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 20px rgba(253, 158, 7, 0.35);
}

.quiz-feature-pill {
    background: rgba(253, 158, 7, 0.12);
    border: none;
    color: #b56e00;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--btn-radius);
}

.quiz-card {
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--font-heading);
    color: var(--btn-ink);
    background: #fff8f0;
    border: 1px solid rgba(253, 158, 7, 0.18);
    border-radius: var(--btn-radius);
    min-height: 108px;
    padding: 16px 12px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: background-color var(--motion-fast) var(--ease-out-quint),
        color var(--motion-fast) var(--ease-out-quint),
        border-color var(--motion-fast) var(--ease-out-quint),
        transform var(--motion-fast) var(--ease-out-quint),
        box-shadow var(--motion-ui) var(--ease-out-quint);
}

.quiz-card-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-gold);
    display: grid;
    place-items: center;
}

.quiz-card-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.quiz-card.selected .quiz-card-icon {
    color: #fff;
}

.quiz-card-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.quiz-card:hover {
    border-color: var(--accent-gold);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(253, 158, 7, 0.16);
}

.quiz-card.selected {
    background: var(--btn-ink);
    color: #fff;
    border-color: var(--btn-ink);
    transform: scale(1.025);
    box-shadow: 0 12px 28px rgba(26, 25, 25, 0.18);
}

.quiz-card.selected:hover {
    transform: scale(1.025);
}

.quiz-card:active {
    transform: scale(0.97);
}

.quiz-question {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.quiz-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

.quiz-stress-track {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.quiz-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-gold));
    outline: none;
    cursor: pointer;
}

.quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-gold);
    cursor: pointer;
}

.quiz-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-gold);
    cursor: pointer;
}

.quiz-stress-display {
    display: flex;
    align-items: center;
}

.quiz-stress-number {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.quiz-stress-labels {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8a93a3;
    font-weight: 500;
}

.quiz-btn-next,
.quiz-btn-cta {
    width: 100%;
    max-width: 360px;
}

.quiz-result-header {
    margin-bottom: 24px;
    text-align: center;
}

.quiz-result-badge {
    display: inline-block;
    background: var(--btn-cream);
    color: var(--btn-ink);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--btn-radius);
    margin-bottom: 12px;
}

.quiz-result-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.quiz-result-products {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-bottom: 24px;
    text-align: left;
}

.quiz-result-product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(0, 53, 100, 0.1);
    border-radius: var(--btn-radius);
    padding: 18px 16px 14px;
    position: relative;
}

.quiz-result-main {
    border-color: rgba(253, 158, 7, 0.45);
    background: var(--surface-cream);
}

.quiz-result-stress {
    border-color: rgba(0, 75, 141, 0.25);
}

.quiz-rp-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 11px;
    font-weight: 700;
    background: var(--btn-ink);
    color: #fff;
    padding: 3px 12px;
    border-radius: var(--btn-radius);
}

.quiz-result-main .quiz-rp-badge {
    background: var(--accent-gold);
    color: var(--btn-ink);
}

.quiz-rp-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
    background: #fff;
    padding: 4px;
}

.quiz-rp-info {
    flex: 1;
}

.quiz-rp-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.quiz-rp-reason {
    font-size: 13px;
    color: #5a6474;
    line-height: 1.4;
}

.quiz-result-cta {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.quiz-result-note {
    font-size: 13px;
    color: var(--hover-blue);
    font-weight: 600;
    line-height: 1.5;
    background: rgba(0, 75, 141, 0.08);
    border-radius: var(--btn-radius);
    padding: 10px 16px;
    width: 100%;
}

.quiz-result-note:empty {
    display: none;
}

.quiz-btn-restart {
    background: none;
    border: none;
    color: #8a93a3;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    min-height: auto;
    padding: 8px;
}

.quiz-btn-restart:hover {
    color: var(--text-dark);
}

.p-card-actions .btn-modal-trigger,
.product-catalog-card .btn-secondary {
    background: var(--btn-cream) !important;
    color: var(--btn-ink) !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border-radius: var(--btn-radius) !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

.p-card-actions .btn-modal-trigger::before,
.product-catalog-card .btn-secondary::before {
    content: none;
}

.p-card-actions .btn-modal-trigger:hover,
.product-catalog-card .btn-secondary:hover {
    background: var(--btn-ink) !important;
    color: #fff !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

/* ── "Хочу это" Pill Button (Catalog: Text + Icon) ── */
.btn-want-this {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background-color: #ffffff !important;
    color: var(--hover-blue) !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: var(--btn-radius) !important;
    padding: 0 16px !important;
    flex: 1 !important;
    height: var(--btn-h) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: var(--font-heading) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
    min-width: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.btn-want-this span {
    display: inline-block !important;
}

.btn-want-this:hover {
    background-color: #f9fafb !important;
    border-color: #d1d5db !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.btn-want-this.active {
    background: linear-gradient(135deg, #c8960c 0%, #e8b830 100%) !important;
    color: var(--btn-ink) !important;
    border-color: transparent !important;
    box-shadow: 0 5px 15px rgba(200, 150, 12, 0.35) !important;
}

.btn-want-this .heart-icon {
    width: 24px !important;
    height: 24px !important;
    transition: all 0.3s ease !important;
}

.btn-want-this.active .heart-icon {
    fill: var(--btn-ink) !important;
    stroke: var(--btn-ink) !important;
}

.btn-want-this:active {
    transform: scale(0.92) !important;
}

/* Modal variant button */
.btn-wishlist-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    color: #8c92a0 !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 50% !important;
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
    margin-top: 10px !important;
    /* Moved down slightly as requested */
}

.btn-wishlist-text:hover {
    background-color: #f9fafb !important;
    border-color: #d1d5db !important;
    transform: translateY(-2px) !important;
}

.btn-wishlist-text.active {
    background: linear-gradient(135deg, #c8960c 0%, #e8b830 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 15px rgba(200, 150, 12, 0.3) !important;
}

.btn-wishlist-text svg {
    width: 28px !important;
    height: 28px !important;
}

.btn-wishlist-text.active svg {
    fill: #fff !important;
    stroke: #fff !important;
}

/* ── Override cart widget ── */
.cart-widget {
    background: linear-gradient(135deg, #c8960c 0%, #e8b830 35%, #f5d060 50%, #e8b830 65%, #c08a00 100%) !important;
    background-size: 200% 200% !important;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow:
        0 6px 24px rgba(200, 150, 12, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.25) inset !important;
    color: var(--btn-ink);
    text-shadow: none;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.cart-widget:hover {
    background-position: 100% 0 !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow:
        0 10px 35px rgba(200, 150, 12, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.3) inset !important;
}

.cart-widget-text {
    color: var(--btn-ink);
}

/* ── Quiz pill features override ── */
.quiz-feature-pill {
    background: linear-gradient(135deg, rgba(200, 150, 12, 0.1), rgba(245, 208, 96, 0.15));
    border: 1px solid rgba(200, 150, 12, 0.25);
    color: #9a7000;
}

/* ── Quiz progress bar override ── */
.quiz-progress-bar {
    background: linear-gradient(135deg, #c8960c, #f5d060) !important;
}

/* ═══════════════════════════════════════════════════
   QUIZ LOADER SCREEN
═══════════════════════════════════════════════════ */
@keyframes quizLoaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes quizLoaderPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes quizLoaderDots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }
}

.quiz-loader-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 60px 20px;
}

.quiz-loader-spinner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid rgba(200, 150, 12, 0.15);
    border-top: 4px solid #c8960c;
    animation: quizLoaderSpin 1s linear infinite;
}

.quiz-loader-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
}

.quiz-loader-text::after {
    content: '';
    animation: quizLoaderDots 1.5s infinite steps(4, end);
}

.quiz-loader-subtext {
    font-size: 14px;
    color: #9ca3af;
    text-align: center;
    animation: quizLoaderPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════
   MINI PRODUCT CARDS IN FORM MODAL
═══════════════════════════════════════════════════ */
.cart-mini-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    flex: 0 0 auto;
    min-width: 0;
}

.cart-mini-card:hover {
    border-color: rgba(200, 150, 12, 0.4);
    box-shadow: 0 4px 12px rgba(200, 150, 12, 0.15);
    transform: translateY(-2px);
}

.cart-mini-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    flex-shrink: 0;
}

.cart-mini-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.cart-mini-card-remove {
    margin-left: auto;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.cart-mini-card-remove:hover {
    color: #ef4444;
}

/* ─── Mobile responsive ─── */
@media (max-width: 640px) {
    .quiz-modal-box {
        padding: 36px 20px 32px;
    }

    .quiz-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .quiz-card {
        min-height: 96px;
        padding: 12px 8px;
    }

    .btn-quiz-trigger {
        font-size: 12px;
        padding: 10px 16px;
    }

    .quiz-title {
        font-size: 20px;
    }

    .quiz-result-title {
        font-size: 18px;
    }

    .cart-mini-card {
        flex: 1 1 100%;
    }

    .btn-glass-gold {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ═══════════════════════════════════════════════════
   EXIT INTENT POPUP
═══════════════════════════════════════════════════ */
.exit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 30, 60, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.exit-overlay.active {
    opacity: 1;
    visibility: visible;
}

.exit-popup {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exit-overlay.active .exit-popup {
    transform: translateY(0) scale(1);
}

.exit-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.exit-close:hover {
    color: #4b5563;
}

.exit-title {
    font-size: 32px;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.exit-desc {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 30px;
    line-height: 1.6;
}

.exit-btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

.exit-no-thanks {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    display: inline-block;
    transition: color 0.3s;
}

.exit-no-thanks:hover {
    color: #4b5563;
}

@media (max-width: 640px) {
    .exit-popup {
        padding: 40px 24px 30px;
    }

    .exit-title {
        font-size: 26px;
    }
}

/* Floating CTA - видимость через класс (без инлайнового style из JS) */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    background: linear-gradient(135deg, #c8960c 0%, #e8b830 35%, #f5d060 50%, #e8b830 65%, #c08a00 100%);
    background-size: 200% 200%;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(200, 150, 12, 0.35), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-cta.floating-cta--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hero: вторичный CTA (бизнес) - визуально слабее главного «тест» */
.hero-section .btn-secondary {
    font-weight: 600;
    opacity: 0.95;
}
/* ══ SKU pages + featured catalog strip ══ */
.sku-main {
    padding: var(--header-offset) 0 64px;
    background: #f7fafc;
}

.sku-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #718096;
    margin-bottom: 28px;
}

.sku-crumbs a {
    color: var(--primary-blue);
    text-decoration: none;
}

.sku-hero {
    display: grid;
    grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
    gap: 36px 48px;
    align-items: start;
    background: #fff;
    border-radius: 24px;
    padding: 32px 36px;
    margin-bottom: 28px;
    border: 1px solid rgba(0, 51, 102, 0.06);
}

.sku-gallery {
    position: sticky;
    top: var(--header-offset);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sku-gallery-stage {
    background: linear-gradient(180deg, #fff8f0 0%, #f7f7f8 100%);
    border-radius: 18px;
    padding: 12px 16px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    overflow: hidden;
}

.sku-gallery-stage .product-shot {
    width: min(440px, 100%);
    margin: 0 auto;
}

.sku-img-main {
    width: 100%;
    max-width: 440px;
    max-height: 460px;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

.sku-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sku-thumb {
    width: 72px;
    height: 72px;
    padding: 8px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sku-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.sku-thumb:hover {
    border-color: rgba(0, 51, 102, 0.2);
}

.sku-thumb.is-active {
    border-color: var(--accent-gold, #c8960c);
    box-shadow: 0 0 0 1px rgba(200, 150, 12, 0.25);
    background: #fff;
}

.sku-details {
    margin-top: 4px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(0, 51, 102, 0.06);
    padding: 0 14px;
}

.sku-details summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-blue);
    min-height: 44px;
    padding: 12px 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.sku-details summary::-webkit-details-marker,
.sku-details summary::marker {
    display: none;
    content: "";
}

.sku-details summary::after {
    content: "+";
    flex-shrink: 0;
    width: 1.25em;
    text-align: center;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.15em;
    line-height: 1;
    transition: color 0.2s ease;
}

.sku-details[open] summary::after {
    content: "−";
}

.sku-details summary:hover {
    color: var(--hover-blue);
}

.sku-details summary:hover::after {
    color: var(--hover-gold);
}

.sku-details summary:focus {
    outline: none;
}

.sku-details summary:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    background: rgba(0, 64, 128, 0.04);
}

.sku-details-anim {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.sku-details[open] > .sku-details-anim {
    grid-template-rows: 1fr;
}

.sku-details[open].is-closing > .sku-details-anim {
    grid-template-rows: 0fr;
}

.sku-details-body {
    overflow: hidden;
    min-height: 0;
    padding: 0 0 14px;
}

.sku-details-body img {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    background: #fff;
}

.sku-details-body p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #718096;
    text-align: center;
}

.sku-eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a0aec0;
    margin-bottom: 10px;
    font-weight: 700;
}

.sku-copy h1 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 16px;
}

.sku-lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 16px;
}

.sku-volume {
    font-size: 14px;
    margin-bottom: 18px;
    color: #4a5568;
}

.sku-benefits {
    margin: 0 0 24px;
    padding-left: 20px;
}

.sku-benefits li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.sku-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.sku-cta-row .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 14px 22px;
}

.sku-note {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

.sku-section {
    background: #fff;
    border-radius: 24px;
    padding: 28px 32px;
    margin-bottom: 20px !important;
    border: 1px solid rgba(0, 51, 102, 0.06);
}

.sku-main .sku-section {
    margin-bottom: 20px !important;
}

.sku-section h2 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 24px;
    margin: 0 0 12px;
}

.sku-section-desc {
    color: #718096;
    margin-bottom: 20px;
}

.sku-steps {
    padding-left: 20px;
    margin: 0;
}

.sku-steps li {
    margin-bottom: 10px;
    line-height: 1.55;
}

/* Order form - visual weight close to homepage #join */
.sku-order {
    padding: 40px 36px 44px;
    text-align: center;
}

.sku-order .form-heading {
    font-size: clamp(26px, 3.5vw, 34px);
    margin-bottom: 12px;
}

.sku-order .form-subheading {
    margin-bottom: 28px;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

.sku-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.sku-form {
    max-width: none;
    width: 100%;
}

.sku-form .radio-options {
    flex-wrap: wrap;
    gap: 16px 28px;
}

.sku-form .btn-submit {
    align-self: center;
    width: 100%;
    max-width: 360px;
}

.sku-form .trust-signals {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #555;
}

.sku-form .trust-signal {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sku-form .form-disclaimer {
    text-align: center;
}

.sku-success {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    padding: 24px 0;
    text-align: center;
}

.sku-faq-item {
    border-top: 1px solid #edf2f7;
    padding: 0;
}

.sku-faq-item:last-child {
    border-bottom: 1px solid #edf2f7;
}

.sku-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 44px;
    padding: 14px 0;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.sku-faq-item summary::-webkit-details-marker,
.sku-faq-item summary::marker {
    display: none;
    content: "";
}

.sku-faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 0.55em;
    height: 0.55em;
    margin-right: 4px;
    border-right: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
    transform: rotate(45deg);
    transition: transform 0.28s ease, border-color 0.2s ease;
    transform-origin: center;
}

.sku-faq-item[open] summary::after {
    transform: rotate(225deg);
}

.sku-faq-item summary:hover {
    color: var(--primary-blue);
}

.sku-faq-item summary:hover::after {
    border-color: var(--hover-gold);
}

.sku-faq-item summary:focus {
    outline: none;
}

.sku-faq-item summary:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    background: rgba(0, 64, 128, 0.04);
}

.sku-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.sku-faq-item[open] > .sku-faq-answer {
    grid-template-rows: 1fr;
}

.sku-faq-item[open].is-closing > .sku-faq-answer {
    grid-template-rows: 0fr;
}

.sku-faq-answer > * {
    overflow: hidden;
    min-height: 0;
}

.sku-faq-item .sku-faq-answer p {
    margin: 0 0 14px;
    color: var(--text-body);
    line-height: 1.6;
    font-size: 15px;
}

@supports selector(::details-content) {
    .sku-details::details-content,
    .sku-faq-item::details-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s ease, content-visibility 0.3s allow-discrete;
    }

    .sku-details[open]::details-content,
    .sku-faq-item[open]::details-content {
        grid-template-rows: 1fr;
    }

    .sku-details[open].is-closing::details-content,
    .sku-faq-item[open].is-closing::details-content {
        grid-template-rows: 0fr;
    }

    .sku-details-anim,
    .sku-faq-answer {
        display: block;
        overflow: hidden;
        min-height: 0;
        transition: none;
    }

    .sku-faq-answer > * {
        overflow: visible;
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sku-details summary,
    .sku-details summary::after,
    .sku-details-anim,
    .sku-faq-item summary,
    .sku-faq-item summary::after,
    .sku-faq-answer {
        transition: none;
    }

    .sku-details::details-content,
    .sku-faq-item::details-content {
        transition: none;
    }
}

.sku-more {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.sku-more-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    background: #f7fafc;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.sku-more-card img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.sku-featured {
    margin-bottom: 72px;
}

.sku-featured-title,
.sku-catalog-heading {
    font-family: var(--font-display);
    color: var(--hover-blue);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-align: center;
    margin: 0 0 22px;
    text-shadow: 0 8px 20px rgba(0, 53, 100, 0.12);
}

.sku-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 8px;
}

.sku-featured-card {
    display: block;
    background: #fff;
    border-radius: 20px;
    padding: 4px 14px 22px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    border: 1px solid rgba(0, 51, 102, 0.06);
    overflow: visible;
    transition: transform 0.3s ease, border-color 0.2s ease, box-shadow 0.3s ease;
}

.sku-featured-card:hover {
    transform: translateY(-6px);
    border-color: rgba(253, 177, 57, 0.55);
}

.product-shot {
    display: block;
    position: relative;
    width: min(340px, 100%);
    margin: -16px auto 6px;
    isolation: isolate;
}

.product-shot::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6%;
    width: 62%;
    height: 28px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(0, 53, 100, 0.4) 0%, rgba(0, 53, 100, 0.12) 46%, transparent 72%);
    filter: blur(3px);
    z-index: 0;
    pointer-events: none;
    transition: width 0.35s ease, opacity 0.35s ease, bottom 0.35s ease, height 0.35s ease;
}

.product-shot img {
    width: 100%;
    height: auto;
    margin: 0;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transform: perspective(760px) rotateY(-14deg) rotateX(8deg) scale(1.12);
    transform-origin: center 68%;
    filter: drop-shadow(16px 28px 20px rgba(0, 53, 100, 0.3));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.sku-featured-card:hover .product-shot img,
.product-catalog-card:hover .product-shot img,
.sku-gallery-stage:hover .product-shot img {
    transform: perspective(760px) rotateY(-2deg) rotateX(4deg) translateY(-16px) scale(1.2);
    filter: drop-shadow(18px 36px 26px rgba(0, 53, 100, 0.36));
}

.sku-featured-card:hover .product-shot::after,
.product-catalog-card:hover .product-shot::after,
.sku-gallery-stage:hover .product-shot::after {
    width: 74%;
    height: 22px;
    opacity: 0.7;
    bottom: 1%;
}

@media (prefers-reduced-motion: reduce) {
    .product-shot img,
    .sku-featured-card:hover .product-shot img,
    .product-catalog-card:hover .product-shot img,
    .sku-gallery-stage:hover .product-shot img {
        transform: none;
        filter: drop-shadow(0 14px 14px rgba(0, 53, 100, 0.16));
    }
}

.sku-featured-card h3 {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 20px;
}

.sku-featured-card p {
    margin: 0;
    font-size: 14px;
    color: #3E598A;
}

.home-hits {
    padding: 56px 0 16px;
    background: var(--surface-cream);
    position: relative;
    z-index: 2;
}

.page-home .hero-section {
    margin-bottom: -48px !important;
}

.page-home .home-hits {
    padding-top: 72px;
}

.page-home .product-section {
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -20px 48px rgba(0, 53, 100, 0.07);
    z-index: 3;
    padding: 64px 0 72px !important;
}

.page-home .testimonials-section {
    background: var(--surface-cream);
    padding: 64px 0 72px;
}

.page-home .testimonials-section .section-desc {
    margin-bottom: 32px;
}

.page-home .footer-contact {
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -16px 40px rgba(0, 53, 100, 0.06);
    position: relative;
    z-index: 3;
}

.home-hits-lead {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
    color: #30456B;
}

.home-hits .section-title {
    text-align: center;
    color: var(--hover-blue);
}

.home-hits-grid {
    margin-bottom: 24px;
}

.home-hits .sku-featured-card {
    background: var(--glass-fill);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.home-hits .sku-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 177, 57, 0.65);
    background: rgba(255, 248, 240, 0.78);
}

.home-hits-cta-wrap {
    display: flex;
    justify-content: center;
    margin: 4px auto 0;
}

.home-hits-cta {
    display: inline-flex;
    width: auto;
    min-width: 220px;
    max-width: 100%;
    margin: 0;
    text-decoration: none;
}

.home-hits-legal,
.price-legal {
    font-size: 13px;
    line-height: 1.55;
    color: #30456B;
    text-align: center;
}

.home-hits-legal {
    max-width: 560px;
    margin: 14px auto 0;
}

.home-infographic {
    padding: 28px 0 56px;
    background: var(--surface-cream);
    position: relative;
    z-index: 2;
}

.home-infographic::before {
    content: '';
    display: block;
    width: calc(100% - 40px);
    height: 2px;
    margin: 0 auto 36px;
    border-radius: 99px;
    background: var(--accent-gold);
}

.home-infographic .section-title {
    text-align: center;
    margin-bottom: 12px;
}

.info-kicker {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-gold);
    text-align: center;
    margin: 0 0 10px;
}

.info-lead {
    max-width: 640px;
    margin: 0 auto 28px;
    text-align: center;
    color: #30456B;
    font-size: 18px;
}

.info-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.info-cell {
    background: #fff;
    border: 1px solid rgba(0, 75, 141, 0.1);
    box-shadow: 0 10px 28px rgba(0, 53, 100, 0.06);
    border-radius: 20px;
    padding: 24px 22px 22px;
    min-height: 188px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.info-cell--accent {
    background: var(--surface-cream);
    border-color: rgba(253, 158, 7, 0.35);
}

.info-tag {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.info-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 4.4vw, 56px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--hover-blue);
    margin: 0;
}

.info-unit {
    font-size: 0.42em;
    margin-left: 0.08em;
    letter-spacing: -0.02em;
    font-weight: 700;
    vertical-align: super;
}

.info-label {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #30456B;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .info-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-cell,
    .info-cell--xl {
        grid-column: auto;
        min-height: 168px;
    }
}

@media (max-width: 640px) {
    .info-bento {
        grid-template-columns: 1fr 1fr;
    }

    .info-cell,
    .info-cell--xl {
        min-height: 156px;
        padding: 18px 16px 16px;
    }

    .info-num {
        font-size: 32px;
    }

    .info-label {
        font-size: 13px;
    }
}

.price-legal {
    max-width: 760px;
    margin: 20px auto 0;
    padding: 16px 20px;
    background: var(--surface-cream);
    border: 1px solid rgba(0, 75, 141, 0.18);
    border-radius: 14px;
    font-size: 14px;
    color: var(--hover-blue);
}

.p-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.p-card-actions .btn-secondary {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.drawer-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

.drawer-item:hover h3 {
    color: var(--accent-gold, #c8960c);
}

@media (max-width: 900px) {
    .sku-hero {
        grid-template-columns: 1fr;
        padding: 22px 20px;
        gap: 22px;
    }

    .sku-gallery {
        position: static;
    }

    .sku-gallery-stage {
        min-height: 300px;
        padding: 8px 12px 20px;
    }

    .sku-gallery-stage .product-shot {
        width: min(340px, 100%);
    }

    .sku-gallery-stage .product-shot img,
    .sku-gallery-stage:hover .product-shot img,
    .product-shot img,
    .sku-featured-card:hover .product-shot img,
    .product-catalog-card:hover .product-shot img {
        transform: none;
        filter: drop-shadow(0 14px 14px rgba(0, 53, 100, 0.16));
    }

    .sku-img-main {
        max-width: 340px;
        max-height: 360px;
    }

    .sku-featured-grid {
        grid-template-columns: 1fr;
    }

    .home-hits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .home-hits-grid .sku-featured-card {
        padding: 14px 10px 16px;
    }

    .home-hits-grid h3 {
        font-size: 16px;
    }

    .sku-section {
        padding: 22px 18px;
    }

    .sku-order {
        padding: 28px 18px 32px;
    }

    .sku-form .radio-options {
        flex-direction: column;
        gap: 14px;
    }
}

/* Review pass 2026-08-10 */
.hero-business-quiet {
    margin-top: 14px;
    font-size: 14px;
}
.hero-business-quiet a {
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hero-business-quiet a:hover {
    color: var(--primary-blue);
}
.trust-section {
    padding: 72px 0 40px;
    background: #f7fafc;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0 20px;
}
.trust-item {
    background: #fff;
    border-radius: 18px;
    padding: 22px 20px;
    border: 1px solid rgba(0, 51, 102, 0.06);
}
.trust-item h3 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 18px;
}
.trust-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #4a5568;
}
.trust-faq details {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 51, 102, 0.06);
    overflow: clip;
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
}
.trust-faq details[open] {
    border-color: rgba(0, 51, 102, 0.12);
    box-shadow: 0 6px 18px rgba(0, 51, 102, 0.06);
}
.trust-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    line-height: 1.4;
    user-select: none;
}
.trust-faq summary::-webkit-details-marker {
    display: none;
}
.trust-faq summary::marker {
    content: "";
}
.trust-faq summary::after {
    content: "";
    flex-shrink: 0;
    width: 0.55em;
    height: 0.55em;
    margin-top: -0.15em;
    border-right: 2px solid var(--primary-blue, #003366);
    border-bottom: 2px solid var(--primary-blue, #003366);
    transform: rotate(45deg);
    transition: transform 0.28s ease;
}
.trust-faq details[open] > summary::after {
    margin-top: 0.15em;
    transform: rotate(225deg);
}
.trust-faq summary:focus {
    outline: none;
}
.trust-faq summary:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: -2px;
    border-radius: 10px;
}
.trust-faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}
.trust-faq details[open] > .trust-faq-panel {
    grid-template-rows: 1fr;
}
.trust-faq details[open].is-closing > .trust-faq-panel {
    grid-template-rows: 0fr;
}
.trust-faq-panel-inner {
    overflow: hidden;
    min-height: 0;
}
.trust-faq-panel-inner p,
.trust-faq p {
    margin: 0;
    padding: 0 16px 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #4a5568;
}
.trust-faq-panel-inner a {
    color: var(--primary-blue, #003366);
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .trust-faq details,
    .trust-faq summary::after,
    .trust-faq-panel {
        transition: none;
    }
}
.site-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hover-blue);
    text-decoration: none;
}
.site-credit-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}
.site-credit-link img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex: none;
}
.page-business .opportunities-section {
    padding: var(--header-offset) 0 72px;
}

.page-business main {
    padding-top: 0;
}

.biz-eyebrow {
    text-align: center;
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.biz-scream-h1 {
    margin: 0 auto 8px;
    max-width: 20ch;
    text-align: center;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(36px, 6.4vw, 76px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.biz-scream-h1 span {
    color: var(--accent-gold);
}

.biz-scream-h2 {
    margin: 56px 0 20px;
    text-align: center;
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.biz-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 32px 0 40px;
}

.biz-hero-ghost {
    background: var(--btn-cream) !important;
    color: var(--btn-ink) !important;
    border: none !important;
}

.biz-hero-ghost:hover {
    background: var(--btn-ink) !important;
    color: #fff !important;
}

.biz-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.biz-step,
.biz-tab {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.biz-step {
    padding: 14px 28px;
    border-radius: var(--btn-radius);
    font-size: 16px;
    min-height: var(--btn-h);
    font-weight: 600;
}

.biz-step.is-on,
.biz-tab.is-on {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #1a1919;
}

.biz-step-line {
    margin: 18px auto 0;
    max-width: 36em;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(16px, 2.1vw, 20px);
    font-weight: 600;
    line-height: 1.4;
    min-height: 2.8em;
}

.biz-deck-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.biz-tab {
    padding: 14px 22px;
    border-radius: var(--btn-radius);
    font-size: 15px;
    min-height: var(--btn-h);
    font-weight: 600;
}

.biz-deck-panel {
    margin: 22px auto 0;
    max-width: 760px;
    min-height: 168px;
    padding: 28px 28px 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
}

.biz-panel-scream {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 3.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.biz-panel-sub {
    margin: 12px auto 0;
    max-width: 38em;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.5;
}

.biz-join {
    padding-top: 64px;
}

.biz-join-scream {
    font-size: clamp(32px, 5vw, 52px) !important;
    letter-spacing: -0.04em;
}

.biz-join .trust-signals {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: #555;
}

@media (max-width: 900px) {
    .biz-hero-actions .btn-primary-large,
    .biz-hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .biz-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .biz-step {
        padding: 14px 8px;
        font-size: 15px;
        width: 100%;
    }

    .biz-deck-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .biz-tab {
        width: 100%;
        padding: 14px 8px;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .biz-steps {
        grid-template-columns: 1fr;
    }

    .biz-deck-tabs {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 900px) {
    .trust-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE PASS: 2K → mobile (2026-08-10)
═══════════════════════════════════════════════════ */

html {
    overflow-x: clip;
}

.main-title {
    font-size: clamp(34px, 4.2vw, 64px);
}

.hero-copy-panel {
    background: var(--glass-fill);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 28px;
    padding: 28px 36px 26px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.hero-copy-panel .main-title {
    margin-bottom: 12px;
    text-shadow: none;
}

.hero-copy-panel .hero-subtitle {
    margin-bottom: 28px;
    text-shadow: none;
}

.hero-cta-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta-row .btn-primary-large,
.hero-cta-row .btn-secondary {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .btn-secondary {
    background: var(--btn-cream);
    color: var(--btn-ink);
    border: none;
    opacity: 1;
}

/* 2K / ultrawide: шире полоса, карточки ближе к контенту */
@media (min-width: 1600px) {
    .container {
        max-width: 1360px;
    }

    .header-inner {
        max-width: 1600px;
        padding-left: 48px;
        padding-right: 48px;
    }

    .hero-container {
        max-width: 1100px;
    }

    .main-title {
        font-size: clamp(52px, 3.2vw, 64px);
    }

    .hero-subtitle {
        font-size: 22px;
        max-width: 40em;
        margin-left: auto;
        margin-right: auto;
    }

    .card-1,
    .card-3 {
        left: max(24px, calc(50% - 720px));
    }

    .card-2,
    .card-4 {
        right: max(24px, calc(50% - 720px));
    }

    .sku-main .container {
        max-width: 1280px;
    }

    .product-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 2000px) {
    .container {
        max-width: 1480px;
    }

    .hero-container {
        max-width: 1200px;
    }

    .card-1,
    .card-3 {
        left: max(32px, calc(50% - 780px));
    }

    .card-2,
    .card-4 {
        right: max(32px, calc(50% - 780px));
    }
}

/* SKU CTA: колонка до ~1100px, чтобы кнопки не сжимались */
@media (max-width: 1100px) {
    .sku-cta-row {
        flex-direction: column;
    }

    .sku-cta-row .btn-primary-large,
    .sku-cta-row .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Планшет: CTA в колонку при узкой ширине */
@media (max-width: 640px) {
    .hero-copy-panel {
        padding: 22px 16px 20px;
        border-radius: 22px;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-section .btn-primary-large,
    .hero-section .btn-secondary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .home-hits-grid {
        grid-template-columns: 1fr;
    }

    .home-hits-cta {
        width: auto;
    }

    .sku-cta-row {
        flex-direction: column;
    }

    .sku-cta-row .btn-primary-large,
    .sku-cta-row .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .p-card-actions {
        flex-direction: column;
    }

    .p-card-actions .btn-secondary {
        width: 100%;
    }

    .p-card-actions .btn-want-this {
        flex: 0 0 auto !important;
        min-height: var(--btn-h) !important;
        height: var(--btn-h) !important;
        width: 100% !important;
    }

    .floating-cta {
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        justify-content: center;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .sku-main {
        padding-bottom: 48px;
    }

    .page-business main {
        padding-top: 0 !important;
    }

    .sku-hero {
        padding: 18px 16px;
        gap: 18px;
        border-radius: 18px;
    }

    .sku-section {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .sku-order {
        padding: 24px 16px 28px;
    }

    .sku-thumbs {
        justify-content: center;
    }

    .sku-gallery-stage {
        min-height: 280px;
    }

    .trust-section {
        padding: 48px 0 32px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .main-title {
        font-size: clamp(30px, 8.5vw, 38px) !important;
    }
}

@media (max-width: 380px) {
    .product-gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .sku-featured-grid {
        grid-template-columns: 1fr;
    }

    .nav-link {
        font-size: 12px !important;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 480px) {
    .page-sku .nav-menu .btn-primary-small,
    .page-products .btn-quiz-trigger {
        font-size: 13px;
        padding: 10px 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
        max-width: 100%;
    }

    .sku-crumbs {
        font-size: 12px;
        gap: 6px;
    }

    .sku-cta-row .btn-primary-large {
        font-size: 16px;
        padding: 16px 22px;
    }
}

/* intl-tel-input не раздувает форму */
.iti {
    width: 100%;
    max-width: 100%;
}

.contact-form .iti__flag-container,
.sku-form .iti__flag-container {
    max-width: 100%;
}

@media (max-width: 480px) {
    .iti--separate-dial-code .iti__selected-dial-code {
        font-size: 14px;
    }
}

.nav-pill .btn-quiz-trigger.nav-cta,
.nav-pill .btn-quiz-trigger.nav-cta:hover {
    background: #1a1919 !important;
    background-image: none !important;
    animation: none !important;
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
    transform: none !important;
    color: #fff !important;
    border-radius: 0 16px 16px 0 !important;
}

.nav-pill .btn-quiz-trigger.nav-cta:hover {
    background: #003564 !important;
}

@media (prefers-reduced-motion: reduce) {
    .nav-shell.is-ready .nav-outline-mark {
        transition: none;
    }
}

@media (max-width: 1024px) {
    .nav-outline {
        display: none;
    }
}

@media (max-width: 900px) {
    .footer-bar {
        padding: 0 16px;
    }

    .footer-pill {
        flex-wrap: wrap;
    }

    .footer-pill-copy {
        padding: 12px 14px 10px 8px;
    }

    .footer-pill-cta {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
        border-radius: 0 0 16px 16px;
        min-height: 48px;
        white-space: normal;
        text-align: center;
        padding: 14px 18px;
    }
}

@media (max-width: 768px) {
    .footer-bar {
        padding: 0 16px;
    }

    .glass-header {
        padding-top: max(8px, env(safe-area-inset-top, 0px));
    }

    .logo {
        padding: 4px 10px 4px 4px;
        border-radius: 14px;
    }

    .logo-main {
        width: 34px;
        height: 34px;
        font-size: 12px;
        border-radius: 9px;
    }

    .logo-subtext {
        font-size: 12px;
    }

    .logo-partner {
        font-size: 9px;
    }

    .nav-pill .nav-cta,
    .nav-pill .btn-primary-small.nav-cta,
    .nav-pill .btn-quiz-trigger.nav-cta {
        min-width: 0;
        padding: 10px 14px;
        font-size: 13px;
    }

    .hero-copy-panel {
        max-width: 100%;
    }

    .hero-section .btn-primary-large,
    .hero-section .btn-secondary {
        min-height: var(--btn-h);
        padding-left: var(--btn-px);
        padding-right: var(--btn-px);
        font-size: var(--btn-fs);
    }

    .page-products .section-title {
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.2;
        letter-spacing: -0.03em;
    }
}

/* Телефон / узкий планшет: одна строка шапки, меню кнопкой — без обрезанной капсулы */
@media (max-width: 900px) {
    html {
        scroll-padding-top: var(--header-offset-narrow);
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .glass-header {
        pointer-events: auto;
        background: rgba(255, 248, 240, 0.94);
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        border-bottom: 1px solid rgba(0, 53, 100, 0.08);
        padding: max(8px, env(safe-area-inset-top, 0px)) 0 8px;
    }

    .header-inner {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 0 12px !important;
        gap: 8px !important;
        max-width: none;
    }

    .logo {
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 2px 4px 2px 0;
        border-radius: 0;
        min-height: 44px;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
        margin-left: auto;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        position: relative;
        z-index: 3;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-toggle span {
        position: absolute;
        left: 12px;
        right: 12px;
        height: 2px;
        background: var(--hover-blue);
        border-radius: 1px;
        transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
    }

    .nav-toggle span:nth-child(1) { top: 15px; }
    .nav-toggle span:nth-child(2) { top: 21px; }
    .nav-toggle span:nth-child(3) { top: 27px; }

    .glass-header.is-nav-open .nav-toggle span:nth-child(1) {
        top: 21px;
        transform: rotate(45deg);
    }

    .glass-header.is-nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .glass-header.is-nav-open .nav-toggle span:nth-child(3) {
        top: 21px;
        transform: rotate(-45deg);
    }

    .nav-scrim {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 28, 46, 0.45);
        z-index: 999;
    }

    body.nav-open .nav-scrim {
        display: block;
    }

    .nav-shell {
        display: none;
        position: fixed;
        top: calc(60px + env(safe-area-inset-top, 0px));
        left: 12px;
        right: 12px;
        padding: 0;
        z-index: 2;
        --nav-gap: 0px;
        --nav-inner-r: 16px;
        --nav-outer-r: 16px;
    }

    .glass-header.is-nav-open .nav-shell {
        display: block;
    }

    .nav-outline {
        display: none !important;
    }

    .nav-menu,
    .nav-pill {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        overflow: hidden;
        min-height: 0;
        background: #f3ede5;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 18px 40px rgba(0, 53, 100, 0.22);
    }

    .nav-link + .nav-link {
        border-top: 1px solid rgba(0, 53, 100, 0.08);
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }

    .nav-link {
        width: 100%;
        min-height: 48px;
        padding: 14px 18px;
        font-size: 16px !important;
        justify-content: flex-start;
        flex: none;
        white-space: normal;
    }

    .nav-pill .nav-cta,
    .nav-pill .btn-primary-small.nav-cta,
    .nav-pill .btn-quiz-trigger.nav-cta,
    .page-products .btn-quiz-trigger,
    .page-products .nav-pill .btn-quiz-trigger.nav-cta {
        width: 100%;
        margin-left: 0;
        min-width: 0;
        flex: 1 1 auto;
        min-height: 48px;
        padding: 14px 18px !important;
        font-size: 16px !important;
        border-radius: 0 0 16px 16px !important;
        white-space: normal !important;
        max-width: none;
        line-height: 1.25;
    }

    .hero-section,
    .products-page-container,
    .sku-main,
    .page-business .opportunities-section,
    .privacy-page {
        padding-top: var(--header-offset-narrow) !important;
    }

    .page-business main {
        padding-top: 0 !important;
    }

    .floating-cta {
        display: none !important;
    }

    .opportunities-grid {
        display: grid !important;
        grid-template-columns: 1fr;
        overflow: visible !important;
        margin: 28px 0 0 !important;
        padding: 0 !important;
        gap: 14px;
        justify-items: stretch;
    }

    .flip-card {
        flex: none;
        width: 100% !important;
        max-width: none !important;
        height: 196px;
        scroll-snap-align: unset;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    body.nav-open {
        overflow: hidden;
    }

    html.nav-open {
        overflow: hidden;
    }
}

/* ─── Stories collage (More Nutrition-style polaroids) ─── */
.stories-proof {
    background: var(--surface-cream);
    padding: 28px 0 56px;
    overflow: visible;
    scroll-margin-top: 96px;
}

.stories-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
    gap: 20px 36px;
    align-items: center;
    min-width: 0;
}

.stories-stage {
    position: relative;
    aspect-ratio: 0.9 / 1;
    isolation: isolate;
}

.story-polaroid {
    --rot: 0deg;
    position: absolute;
    background: #fff;
    padding: 11px 11px 22px;
    border-radius: 5px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 22px 44px rgba(0, 53, 100, 0.18);
    transform: rotate(var(--rot));
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
        z-index 0s;
    z-index: 2;
}

.story-polaroid:hover,
.story-polaroid:focus-within {
    z-index: 8;
    transform: rotate(calc(var(--rot) * 0.2)) translateY(-8px) scale(1.035);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 28px 56px rgba(0, 53, 100, 0.2);
}

.story-polaroid--a {
    width: 54%;
    left: 28%;
    top: -6%;
    --rot: 6deg;
    z-index: 7;
}

.story-polaroid--b {
    width: 40%;
    left: 2%;
    top: 30%;
    --rot: 4deg;
    z-index: 6;
}

.story-polaroid--c {
    width: 38%;
    left: -2%;
    top: -1%;
    --rot: -8deg;
    z-index: 5;
}

.story-polaroid--d {
    width: 30%;
    left: 24%;
    top: 54%;
    --rot: -4deg;
    z-index: 2;
}

.story-polaroid--e {
    width: 32%;
    left: 54%;
    top: 42%;
    --rot: 7deg;
    z-index: 1;
}

.story-polaroid-media {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    background: #1a1919;
    aspect-ratio: 9 / 16;
}

.story-polaroid--photo .story-polaroid-media {
    aspect-ratio: 3 / 4;
}

.story-polaroid-poster,
.story-polaroid-player,
.story-polaroid-player iframe,
.story-polaroid-player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.story-polaroid-poster {
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    transition: opacity 420ms ease;
}

.story-polaroid.is-playing .story-polaroid-poster {
    opacity: 0;
    pointer-events: none;
}

.story-polaroid--photo .story-polaroid-poster,
.story-polaroid--photo.is-playing .story-polaroid-poster {
    opacity: 1;
    pointer-events: auto;
}

.story-polaroid--c:not([data-video]) .story-polaroid-poster,
.story-polaroid--c:not([data-video]).is-playing .story-polaroid-poster {
    opacity: 1;
    pointer-events: auto;
}


.story-polaroid-player {
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.story-polaroid-player iframe {
    border: 0;
    top: 0;
    left: 50%;
    width: 316% !important;
    height: 100% !important;
    transform: translateX(-50%);
}

.story-polaroid-player video {
    object-fit: cover;
    object-position: center center;
    background: #1a1919;
}

.story-mute {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.88);
    color: #1a1919;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
    transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1), background 160ms ease;
}

.story-mute:hover,
.story-mute:focus-visible {
    transform: scale(1.08);
    background: #fff;
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.story-mute svg {
    width: 16px;
    height: 16px;
    display: block;
}

.story-mute .icon-sound {
    display: none;
}

.story-polaroid.is-unmuted .story-mute .icon-mute {
    display: none;
}

.story-polaroid.is-unmuted .story-mute .icon-sound {
    display: block;
}

.stories-copy {
    position: relative;
    z-index: 2;
    max-width: 440px;
    padding-top: 12px;
    min-width: 0;
}

.stories-copy-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.1vw, 42px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--hover-blue);
    margin: 0 0 18px;
    overflow-wrap: break-word;
}

.stories-copy-body {
    font-size: 16px;
    line-height: 1.65;
    color: #3a4f73;
    margin: 0 0 28px;
    overflow-wrap: break-word;
}

.stories-copy-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 22px;
}

.stories-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--hover-blue);
    font-size: 13px;
    font-weight: 700;
}

.stories-stars {
    display: flex;
    gap: 2px;
    color: var(--accent-gold);
}

.stories-stars svg {
    width: 16px;
    height: 16px;
}

.stories-copy-note {
    margin: 22px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7a94;
}

.testimonials-section.stories-proof,
.page-home .testimonials-section.stories-proof {
    overflow: visible;
    padding: 32px 0 48px;
    background: var(--surface-cream);
}

@media (max-width: 900px) {
    .stories-proof-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .stories-copy {
        order: -1;
        max-width: 100%;
        width: 100%;
        min-width: 0;
        padding-top: 8px;
    }

    .stories-copy-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .stories-stage {
        position: relative;
        display: block;
        min-height: 0;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        aspect-ratio: 0.9 / 1;
        overflow: visible;
        touch-action: pan-y;
        padding: 0;
    }

    .story-polaroid,
    .story-polaroid--a,
    .story-polaroid--b,
    .story-polaroid--c,
    .story-polaroid--d,
    .story-polaroid--e {
        position: absolute;
        flex: none;
        scroll-snap-align: unset;
    }

    .story-polaroid--a {
        width: 58%;
        left: 34%;
        top: -2%;
        z-index: 7;
    }

    .story-polaroid--b {
        width: 48%;
        left: 4%;
        top: 38%;
        z-index: 6;
    }

    .story-polaroid--c {
        width: 46%;
        left: 4%;
        top: 4%;
        z-index: 5;
    }

    .story-polaroid--d {
        width: 36%;
        left: 28%;
        top: 58%;
        z-index: 2;
    }

    .story-polaroid--e {
        width: 38%;
        left: 58%;
        top: 46%;
        z-index: 1;
    }

    .story-polaroid:hover,
    .story-polaroid:focus-within {
        z-index: 8;
        transform: rotate(calc(var(--rot) * 0.35)) translateY(-4px);
    }

    .story-polaroid.is-active {
        z-index: 12;
        transform: rotate(calc(var(--rot) * 0.15)) scale(1.06);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.9) inset,
            0 28px 48px rgba(0, 53, 100, 0.22);
    }

    .stories-copy-title {
        font-size: clamp(22px, 6.2vw, 30px);
    }

    .page-home .testimonials-section.stories-proof {
        overflow-x: hidden;
    }

    .story-mute {
        width: 44px;
        height: 44px;
        right: 8px;
        bottom: 8px;
    }

    .story-polaroid:not(.is-active) .story-mute {
        opacity: 0;
        pointer-events: none;
    }

    .stories-pager {
        display: none !important;
    }
}

@media (max-width: 560px) {
    .stories-proof {
        padding: 28px 0 48px;
    }

    .story-polaroid {
        padding: 8px 8px 16px;
    }

    .stories-copy-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-polaroid,
    .story-polaroid:hover,
    .story-polaroid:focus-within,
    .story-mute,
    .story-polaroid-poster {
        transition: none;
    }

    .story-polaroid:hover,
    .story-polaroid:focus-within {
        transform: rotate(var(--rot));
    }

    .story-mute {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════
   Page + quiz motion
═══════════════════════════════════════════════════ */
@view-transition {
    navigation: auto;
}

::view-transition {
    background-color: var(--surface-cream);
}

::view-transition-old(root),
::view-transition-new(root) {
    mix-blend-mode: normal;
    height: 100%;
    overflow: clip;
    object-fit: none;
    object-position: top center;
}

::view-transition-group(root) {
    animation-duration: 480ms;
}

::view-transition-old(root) {
    animation: 360ms var(--ease-cross) both pm-fade-out;
}

::view-transition-new(root) {
    animation: 480ms var(--ease-cross) both pm-fade-in;
}

html.vt-quiz::view-transition-old(root),
html:active-view-transition-type(quiz)::view-transition-old(root) {
    animation: none !important;
    opacity: 0;
    mix-blend-mode: normal;
}

html.vt-quiz::view-transition-new(root),
html:active-view-transition-type(quiz)::view-transition-new(root) {
    animation: none !important;
    mix-blend-mode: normal;
}

html.vt-sku-activize::view-transition-old(root),
html.vt-sku-restorate::view-transition-old(root),
html.vt-sku-optimal::view-transition-old(root),
html:active-view-transition-type(sku)::view-transition-old(root) {
    animation: 280ms var(--ease-cross) both pm-fade-out !important;
}

html.vt-sku-activize::view-transition-new(root),
html.vt-sku-restorate::view-transition-new(root),
html.vt-sku-optimal::view-transition-new(root),
html:active-view-transition-type(sku)::view-transition-new(root) {
    animation: 420ms var(--ease-cross) both pm-fade-in !important;
}

::view-transition-old(site-logo),
::view-transition-new(site-logo) {
    animation: none;
    mix-blend-mode: normal;
}

::view-transition-group(site-logo) {
    z-index: 21;
    animation: none;
}

::view-transition-group(sku-activize),
::view-transition-group(sku-restorate),
::view-transition-group(sku-optimal) {
    z-index: 8;
    animation-duration: 420ms;
    animation-timing-function: var(--ease-out-expo);
}

::view-transition-old(sku-activize),
::view-transition-new(sku-activize),
::view-transition-old(sku-restorate),
::view-transition-new(sku-restorate),
::view-transition-old(sku-optimal),
::view-transition-new(sku-optimal) {
    mix-blend-mode: normal;
    animation-duration: 420ms;
    animation-timing-function: var(--ease-out-expo);
}

.glass-header {
    view-transition-name: none;
}

@media (prefers-reduced-motion: no-preference) {
    html.vt-sku-activize .logo,
    html.vt-sku-restorate .logo,
    html.vt-sku-optimal .logo {
        view-transition-name: site-logo;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    html.vt-sku-activize .sku-featured-card[href="/fitline-activize"] .product-shot,
    html.vt-sku-activize .page-sku[data-sku="fitline-activize"] .sku-gallery-stage .product-shot {
        view-transition-name: sku-activize;
    }

    html.vt-sku-restorate .sku-featured-card[href="/fitline-restorate"] .product-shot,
    html.vt-sku-restorate .page-sku[data-sku="fitline-restorate"] .sku-gallery-stage .product-shot {
        view-transition-name: sku-restorate;
    }

    html.vt-sku-optimal .sku-featured-card[href="/fitline-optimal-set"] .product-shot,
    html.vt-sku-optimal .page-sku[data-sku="fitline-optimal-set"] .sku-gallery-stage .product-shot {
        view-transition-name: sku-optimal;
    }

    body:has(#quiz-modal-overlay.active) .product-shot,
    body:has(#quiz-modal-overlay.active) .logo {
        view-transition-name: none;
    }
}

html.pm-nav-enter body {
    animation: pm-fade-in 420ms var(--ease-cross) both;
}

html.pm-nav-enter .sku-gallery-stage .product-shot,
html.pm-nav-enter .sku-featured-grid {
    animation: pm-sku-pop 480ms var(--ease-cross) both;
}

::view-transition-old(quiz-pane),
::view-transition-new(quiz-pane) {
    mix-blend-mode: normal;
}

::view-transition-old(quiz-pane) {
    animation: 200ms var(--ease-in-soft) both pm-quiz-leave;
}

::view-transition-new(quiz-pane) {
    animation: 320ms var(--ease-out-expo) both pm-quiz-enter;
}

::view-transition-group(quiz-pane) {
    z-index: 30;
}

html.vt-quiz #quiz-modal-overlay.active .quiz-screen.active,
html:active-view-transition-type(quiz) #quiz-modal-overlay.active .quiz-screen.active {
    view-transition-name: quiz-pane;
}

@keyframes pm-page-leave {
    to {
        opacity: 0;
    }
}

@keyframes pm-page-enter {
    from {
        opacity: 0;
    }
}

@keyframes pm-fade-out {
    to { opacity: 0; }
}

@keyframes pm-fade-in {
    from { opacity: 0; }
}

html:active-view-transition-type(hash)::view-transition-old(root) {
    animation: 240ms var(--ease-cross) both pm-fade-out;
}

html:active-view-transition-type(hash)::view-transition-new(root) {
    animation: 320ms var(--ease-cross) both pm-fade-in;
}

@keyframes pm-sku-pop {
    from {
        opacity: 0;
    }
}

@keyframes pm-quiz-leave {
    to {
        opacity: 0;
        transform: translateX(-16px);
    }
}

@keyframes pm-quiz-enter {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
}

@keyframes pm-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-result-product-card {
    animation: pm-rise 420ms var(--ease-out-expo) both;
    animation-delay: calc(var(--i, 0) * 70ms);
}

@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }

    ::view-transition-old(root),
    ::view-transition-new(root),
    ::view-transition-old(quiz-pane),
    ::view-transition-new(quiz-pane) {
        animation: none !important;
    }

    .glass-header,
    .logo,
    .sku-featured-card .product-shot,
    .page-sku .sku-gallery-stage .product-shot,
    #quiz-modal-overlay.active .quiz-screen.active {
        view-transition-name: none;
    }

    html.pm-nav-enter body {
        animation: none;
    }

    .quiz-result-product-card {
        animation: none;
    }

    .quiz-modal-overlay,
    .quiz-modal-box {
        transition: none;
    }

    .quiz-modal-overlay .quiz-modal-box,
    .quiz-modal-overlay.active .quiz-modal-box {
        transform: none;
        opacity: 1;
    }

    .quiz-card,
    .quiz-card:hover,
    .quiz-card:active,
    .quiz-card.selected,
    .quiz-card.selected:hover {
        transform: none;
        transition: background-color 120ms linear, color 120ms linear, border-color 120ms linear;
    }

    .nav-toggle span {
        transition: none;
    }
}

/* Viewport + mobile pass 2026-09-15 */
a,
button,
summary,
input,
select,
textarea,
label,
[role="button"] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible) {
    outline: none;
}

.logo:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible,
.nav-pill .nav-cta:focus-visible,
.cart-widget:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

#join,
#order,
#testimonials,
#how-order {
    scroll-margin-top: var(--header-offset);
}

.footer-bottom {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

#cart-modal-overlay .form-modal-window {
    width: min(640px, calc(100vw - 32px));
    max-width: 640px;
}

#cart-screen-form {
    padding: 32px 28px 28px;
}

.cart-widget {
    min-height: 44px;
}

.stories-proof {
    overflow-x: clip;
}

@media (max-width: 900px) {
    #join,
    #order,
    #testimonials,
    #how-order {
        scroll-margin-top: var(--header-offset-narrow);
    }

    .stories-proof {
        scroll-margin-top: var(--header-offset-narrow);
    }

    .cart-widget {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
}

@media (max-width: 600px) {
    #cart-screen-form {
        padding: 20px 16px 28px !important;
    }

    #cart-modal-overlay .product-modal-content,
    #cart-modal-overlay .form-modal-window {
        padding: 12px 0 20px !important;
    }

    #cart-modal-overlay .contact-channels {
        grid-template-columns: 1fr;
    }

    .footer-contact .form-heading,
    .premium-cta-heading,
    .sku-order .form-heading {
        font-size: clamp(26px, 7vw, 32px) !important;
    }
}

