/* ============================================
   ALPHADI — Design System
   Editorial Authority × Minimal Precision
   ============================================ */

@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,600,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');

:root {
    --c-dark: #111111;
    --c-mid: #555555;
    --c-subtle: #999;
    --c-bg: #FFFFFF;
    --c-bg-warm: #F7F6F4;
    --c-white: #FFFFFF;
    --c-orange: #EC841F;
    --c-orange-dk: #EC841F;
    --c-green: #77B82A;
    --c-green-dk: #3A7A31;
    --c-border: #E8E8E8;
    --f-display: 'Satoshi', system-ui, sans-serif;
    --f-body: 'Lexend', system-ui, sans-serif;
    --f-ui: 'Satoshi', system-ui, sans-serif;
    --nav-h: 114px;
    --max-w: 1280px;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --t-base: 0.25s;
    --t-fast: 0.15s;
    --t-slow: 0.4s;
}

@media (max-width: 1023px) {
    :root {
        --nav-h: 70px;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--c-dark);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
}

img, video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Rich-text content lists (produced by the WYSIWYG editor) keep real markers
   and indentation. The resets above (`* { padding:0 }` and `ul { list-style:none }`)
   are meant for nav/chrome lists, which all carry their own classes; editor
   output lists are bare <ul>/<ol>. This rule also applies inside the CKEditor
   content area, since the theme CSS is loaded there too. */
ul:not([class]),
ol:not([class]) {
    list-style: revert;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 3rem;
    }
}

.section {
    padding: 3rem 0;
}

.section--lg {
    padding: 4rem 0;
}

.section--sm {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }

    .section--lg {
        padding: 8rem 0;
    }

    .section--sm {
        padding: 4rem 0;
    }
}

.bg-dark {
    background: var(--c-dark);
    color: var(--c-white);
}

.bg-white {
    background: var(--c-white);
}

.bg-warm {
    background: var(--c-bg-warm);
}

.bg-offwhite {
    background: #F9F9F9;
}

.text-center {
    text-align: center;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    font-weight: 900;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
}

h4 {
    font-size: 1.15rem;
    font-weight: 600;
}

p {
    line-height: 1.7;
    font-weight: 400;
}

.eyebrow {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-orange);
    display: block;
    margin-bottom: 1rem;
}

.eyebrow--green {
    color: var(--c-green);
}

.divider {
    width: 40px;
    height: 2px;
    background: var(--c-orange);
    margin: 1.5rem 0;
}

.divider--center {
    margin: 1.5rem auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--f-ui);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    transition: all var(--t-base) var(--ease-out);
    white-space: nowrap;
    cursor: pointer;
}

.btn--primary {
    background: var(--c-orange);
    color: var(--c-white);
}

    .btn--primary:hover {
        background: var(--c-orange-dk);
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(232,100,10,.3);
    }

.btn--dark {
    background: var(--c-dark);
    color: var(--c-white);
}

    .btn--dark:hover {
        background: #333;
        transform: translateY(-1px);
    }

.btn--outline {
    border: 1.5px solid var(--c-dark);
    color: var(--c-dark);
    background: transparent;
}

    .btn--outline:hover {
        background: var(--c-dark);
        color: var(--c-white);
    }

.btn--outline-white {
    border: 1.5px solid rgba(255,255,255,.45);
    color: var(--c-white);
    background: transparent;
}

    .btn--outline-white:hover {
        background: rgba(255,255,255,.1);
        border-color: var(--c-white);
    }

.btn--green {
    background: var(--c-green);
    color: var(--c-white);
}

    .btn--green:hover {
        background: var(--c-green-dk);
        transform: translateY(-1px);
    }

.btn--sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
}

.btn--lg {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
    background: rgba(17,17,17,0.96);
    backdrop-filter: blur(12px);
}

    .nav.is-scrolled,
    .nav--solid {
        background: rgba(17,17,17,0.96);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(255,255,255,.06);
    }

.nav--white {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 1px 0 #e8e8e8;
}

    .nav--white .nav__link {
        color: var(--c-mid);
    }

        .nav--white .nav__link:hover,
        .nav--white .nav__link.is-active {
            color: var(--c-dark);
        }

        .nav--white .nav__link::after {
            background: var(--c-orange);
        }

    .nav--white .nav__toggle span {
        background: var(--c-dark);
    }

    .nav--white .lang-switch__btn {
        color: var(--c-dark);
        border-color: rgba(0,0,0,.2);
    }

        .nav--white .lang-switch__btn svg {
            stroke: var(--c-dark);
        }

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
    overflow: visible;
}

@media (min-width: 1280px) {
    .nav__inner {
        padding: 0 3rem;
    }
}

.nav__logo {
    width: 150px;
}

@media (min-width: 600px) and (max-width: 1023px) { .nav__logo { width: 94px; } }
@media (min-width: 450px) and (max-width: 599px) { .nav__logo { width: 71px; } }
@media (max-width: 449px) { .nav__logo { width: 56px; } }
.footer-v2__brand img { filter: invert(1); }
.nav.is-scrolled .nav__logo {
    color: var(--c-white);
}

.nav__menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav__menu {
        display: flex;
    }
}

.nav__link {
    font-family: var(--f-ui);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,.75);
    position: relative;
    transition: color var(--t-fast);
}

    .nav__link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--c-orange);
        transition: width var(--t-base) var(--ease-out);
    }

    .nav__link.nav__item::after {
        bottom: -7.5px;
        height: 1px;
    }

    .nav__link:hover {
        color: var(--c-white);
    }

        .nav__link:hover::after, .nav__link.is-active::after {
            width: 100%;
        }

    .nav__link.is-active {
        color: var(--c-white);
    }

.nav.is-scrolled .nav__link {
    color: rgba(255,255,255,.7);
}

    .nav.is-scrolled .nav__link:hover {
        color: var(--c-white);
    }

/* -- Nav dropdown items ---------------------------------------- */
.nav__item { position: relative; display: flex; align-items: center; }

.nav__dropdown-trigger {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-family: var(--f-ui); font-size: 1rem; font-weight: 600; letter-spacing: 0.5px;
    color: var(--c-mid); cursor: pointer;
    background: none; border: none; white-space: nowrap;
    transition: color var(--t-fast), background var(--t-fast);
}
.nav__dropdown-trigger svg { width: 10px; height: 6px; flex-shrink: 0; transition: transform 0.2s ease; }
.nav--white .nav__dropdown-trigger { color: var(--c-mid); }
.nav__item:hover .nav__dropdown-trigger,
.nav__item.is-open .nav__dropdown-trigger { color: var(--c-dark); }
.nav__item.is-open .nav__dropdown-trigger svg { transform: rotate(180deg); }

.nav__dropdown {
    position: absolute; top: calc(100% + 0.75rem); left: 50%;
    transform: translateX(-50%) scale(0.96) translateY(-4px);
    transform-origin: top center;
    background: #fff; border: 1px solid #e4e4e7; border-radius: 6px; padding: 0.5rem;
    min-width: 280px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 12px 32px -4px rgba(0,0,0,.12);
    opacity: 0; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease; z-index: 1100;
}
.nav__dropdown::before {
    content: ''; position: absolute; top: -5px; left: 50%; transform: translateX(-50%) rotate(45deg);
    width: 9px; height: 9px; background: #fff;
    border-top: 1px solid #e4e4e7; border-left: 1px solid #e4e4e7; border-radius: 2px 0 0 0;
}
.nav__item.is-open .nav__dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) scale(1) translateY(0); }

.nav__dropdown-item {
    display: flex; align-items: flex-start; gap: 0.875rem;
    padding: 0.75rem 0.875rem; border-radius: 4px;
    color: #18181b; text-decoration: none; transition: background 0.12s;
}
.nav__dropdown-item.is-active {
    background:#efefef;
    color: var(--c-orange);
}
.nav__dropdown-item.is-active .nav__dropdown-icon {
    background: rgba(236, 132, 31, .08);
    border-color: rgba(236, 132, 31, .25);
    color: var(--c-orange);
}
.nav__dropdown-item:hover { background: #f4f4f5; }
.nav__dropdown-icon {
    flex-shrink: 0; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: #f4f4f5; border: 1px solid #e4e4e7; border-radius: 4px; color: #71717a;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.nav__dropdown-item:hover .nav__dropdown-icon { background: rgba(236,132,31,.08); border-color: rgba(236,132,31,.25); color: var(--c-orange); }
.nav__dropdown-text-title { font-family: var(--f-ui); font-size: 0.875rem; font-weight: 600; color: #18181b; line-height: 1.3; }
.nav__dropdown-text-desc { font-family: var(--f-ui); font-size: 0.75rem; color: #71717a; line-height: 1.45; margin-top: 0.2rem; }

/* -- Animated menu icon (morphing hamburger) ------------------- */
.menu-icon { transition: transform 300ms ease-in-out; }
.nav__toggle.is-open .menu-icon { transform: rotate(-45deg); }
.menu-icon__morph { stroke-dasharray: 12 63; transition: stroke-dasharray 300ms ease-in-out, stroke-dashoffset 300ms ease-in-out; }
.nav__toggle.is-open .menu-icon__morph { stroke-dasharray: 20 300; stroke-dashoffset: -32.42px; }

/* -- Mobile sheet sub-menus ------------------------------------ */
.nav__sheet-group-trigger {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.65rem 0.875rem; border-radius: 6px; width: 100%;
    font-family: var(--f-ui); font-size: 0.9375rem; font-weight: 500;
    color: #18181b; background: none; border: none; cursor: pointer; transition: background 0.12s;
}
.nav__sheet-group-trigger:hover,
.nav__sheet-group-trigger.is-open { background: #f4f4f5; }
.nav__sheet-group-trigger svg { width: 12px; height: 8px; color: #a1a1aa; transition: transform 0.2s; }
.nav__sheet-group-trigger.is-open svg { transform: rotate(180deg); }

.nav__sheet-sub { display: none; flex-direction: column; padding: 0.25rem 0 0.375rem 0.5rem; gap: 0.125rem; }
.nav__sheet-sub.is-open { display: flex; }

.nav__sheet-sub-item {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.55rem 0.875rem; border-radius: 6px;
    font-family: var(--f-ui); font-size: 0.875rem; font-weight: 400;
    color: #52525b; text-decoration: none; transition: background 0.12s, color 0.12s;
    background: none; border: none; cursor: pointer; width: 100%; text-align: left;
}
.nav__sheet-sub-item:hover,
.nav__sheet-sub-item.is-active { background: #f4f4f5; color: #18181b; }
.nav__sheet-sub-icon {
    flex-shrink: 0; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: #f4f4f5; border: 1px solid #e4e4e7; border-radius: 4px; color: #71717a;
    transition: background 0.12s, color 0.12s;
}
.nav__sheet-sub-item:hover .nav__sheet-sub-icon { background: rgba(236,132,31,.08); border-color: rgba(236,132,31,.25); color: var(--c-orange); }

.nav__cta {
    font-family: var(--f-ui);
    font-size: 1rem;
    font-weight: 600;
    background: var(--c-orange);
    color: var(--c-white) !important;
    padding: 0.6rem 1.375rem;
    border-radius: 999px;
    letter-spacing: 0.5px;
    transition: all var(--t-base) var(--ease-out);
}

    .nav__cta:hover {
        background: var(--c-orange-dk);
        box-shadow: 0 2px 12px rgba(232,100,10,.35);
        transform: translateY(-1px);
    }

    .nav__cta::after {
        display: none !important;
    }

.nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-dark);
    transition: background var(--t-fast);
}

.nav--white .nav__toggle { color: #111; }
.nav__toggle:hover { background: rgba(0,0,0,.06); }

@media (min-width: 1024px) {
    .nav__toggle {
        display: none;
    }
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--c-white);
    transition: all var(--t-base);
}

.nav.is-scrolled .nav__toggle span {
    background: var(--c-white);
}

.nav__toggle.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--c-white);
    border-top: 1px solid var(--c-border);
    padding: 1.5rem;
    gap: 1rem;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

    .nav__mobile.is-open {
        display: flex;
    }

    .nav__mobile .nav__link {
        font-size: 1rem;
        color: var(--c-dark);
        padding: 0.5rem 0;
    }

    .nav__mobile .nav__cta {
        align-self: flex-start;
        margin-top: 0.5rem;
    }

/* --- Language Switcher --- */
.lang-switch {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-switch__btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--f-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c-white);
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    transition: border-color var(--t-base);
    white-space: nowrap;
}

    .lang-switch__btn:hover {
        border-color: rgba(255,255,255,.6);
    }

    .lang-switch__btn svg {
        width: 10px;
        height: 6px;
        flex-shrink: 0;
        transition: transform var(--t-base);
    }

.lang-switch.is-open .lang-switch__btn svg {
    transform: rotate(180deg);
}

.lang-switch__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--c-dark);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 0.4rem;
    min-width: 72px;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 1100;
}

.lang-switch.is-open .lang-switch__dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.lang-switch__opt {
    display: block;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-family: var(--f-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: background var(--t-base), color var(--t-base);
}

    .lang-switch__opt:hover {
        background: rgba(255,255,255,.08);
        color: var(--c-white);
    }

    .lang-switch__opt.is-active {
        color: var(--c-orange);
    }

/* Mobile lang switcher */
.lang-switch--mobile {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--c-border);
    margin-top: 0.5rem;
}

    .lang-switch--mobile a {
        font-family: var(--f-ui);
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--c-mid);
        text-decoration: none;
        padding: 0.3rem 0.75rem;
        border-radius: 999px;
        border: 1.5px solid var(--c-border);
        transition: all var(--t-base);
    }

        .lang-switch--mobile a.is-active {
            color: var(--c-orange);
            border-color: var(--c-orange);
        }

        .lang-switch--mobile a:hover {
            border-color: var(--c-dark);
            color: var(--c-dark);
        }

/* --- Hero --- */
.hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero__glow--1 {
    top: -15%;
    right: -8%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,100,10,.09) 0%, transparent 65%);
}

.hero__glow--2 {
    bottom: -10%;
    left: -5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(232,100,10,.06) 0%, transparent 65%);
}

.hero {
    position: relative;
    background: var(--c-bg-warm);
    overflow: hidden;
    padding-bottom: 4rem;
}

.hero__text {
    position: relative;
    z-index: 1;
    padding: calc(var(--nav-h) + 3.5rem) 0 3rem;
    position: relative;
    z-index: 1;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .hero__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--nav-h) + 0.5rem);
    padding-bottom: 4rem;
}

.hero__eyebrow {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-orange);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

    .hero__eyebrow::before {
        display: none;
    }

.hero__tagline {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: var(--c-dark);
    line-height: 1.0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__sub {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: var(--c-mid);
    max-width: 520px;
    margin: 0.5rem auto 0;
    line-height: 1.7;
    text-align: center;
    font-family: var(--f-body);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero__learn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    cursor: default;
}

    .hero__learn span {
        font-family: var(--f-ui);
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--c-subtle);
    }

.hero__arrow-icon {
    display: block;
}

svg.hero__arrow-icon * {
    stroke: var(--c-dark) !important;
    fill: var(--c-dark) !important;
}

.hero__arrow-head {
    animation: arrowGlow 2s ease-in-out infinite;
}

@keyframes arrowGlow {
    0%, 100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.8;
    }
}

.hero__img-wrap {
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

    .hero__img-wrap img {
        width: 100%;
        display: block;
        aspect-ratio: 16 / 7;
        object-fit: cover;
        border-radius: 8px;
    }

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-subtle);
    font-family: var(--f-ui);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 36px;
    background: rgba(0,0,0,.15);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,100% {
        opacity: .25;
        transform: scaleY(1)
    }

    50% {
        opacity: 1;
        transform: scaleY(.4)
    }
}

/* Page hero (inner pages) */
.page-hero {
    padding: calc(var(--nav-h) + 4rem) 0 4rem;
    background: var(--c-white);
    color: var(--c-dark);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--c-border);
}

    .page-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #111111, var(--c-orange), #1a0a00);
    }

.page-hero__label {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-orange);
    margin-bottom: 1rem;
}

.page-hero__title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    color: var(--c-dark);
    max-width: 700px;
}

.hero__title {
    color: var(--c-dark);
}

.page-hero__sub {
    font-family: var(--f-ui);
    font-size: 1rem;
    color: var(--c-mid);
    max-width: 560px;
    margin-top: 1rem;
    font-weight: 400;
}

/* Split hero layout */
.page-hero--split {
    overflow: visible;
    padding-top: 0;
}

    .page-hero--split .page-hero__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }

.page-hero__text {
    flex: 1;
    min-width: 0;
}


@keyframes scrollPulse {
    0%,100% {
        opacity: .25;
        transform: scaleY(1)
    }

    50% {
        opacity: 1;
        transform: scaleY(.4)
    }
}

/* Page hero (inner pages) */
.page-hero {
    padding: calc(var(--nav-h) + 4rem) 0 4rem;
    background: var(--c-white);
    color: var(--c-dark);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--c-border);
}

    .page-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #111111, var(--c-orange), #1a0a00);
    }

.page-hero__label {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-orange);
    margin-bottom: 1rem;
}

.page-hero__title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    color: var(--c-dark);
    max-width: 700px;
}

.hero__title {
    color: var(--c-white);
}

.page-hero__sub {
    font-family: var(--f-ui);
    font-size: 1rem;
    color: var(--c-mid);
    max-width: 560px;
    margin-top: 1rem;
    font-weight: 400;
}

/* Split hero layout */
.page-hero--split {
    overflow: visible;
    padding-top: 0;
}

    .page-hero--split .page-hero__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }

.page-hero__text {
    flex: 1;
    min-width: 0;
}

/* Card fan */
.ws-card-fan {
    flex-shrink: 0;
    position: relative;
    width: 220px;
    height: 320px;
    margin-right: 2rem;
}

.ws-card {
    position: absolute;
    width: 160px;
    height: 250px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    transform-origin: bottom center;
    transition: transform 0.3s ease;
}

.ws-card--1 {
    left: 30px;
    bottom: 0;
    transform: rotate(3deg);
    z-index: 3;
}

/* Glow behind card */
.ws-card-glow {
    position: absolute;
    z-index: 0;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    bottom: -20px;
    left: -40px;
    background: radial-gradient(circle, rgba(232,100,10,.45) 0%, rgba(232,100,10,.15) 40%, transparent 70%);
    filter: blur(28px);
    animation: cardGlowPulse 3.5s ease-in-out infinite;
}

@keyframes cardGlowPulse {
    0%, 100% {
        opacity: .8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Ghost card (offset behind) */
.ws-card-ghost {
    position: absolute;
    z-index: 1;
    width: 160px;
    height: 240px;
    border-radius: 2px;
    left: 18px;
    bottom: -8px;
    background: var(--c-border);
    transform: rotate(-4deg);
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.ws-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ws-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0.9rem 0.75rem;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
    border-radius: 0 0 16px 16px;
}

    .ws-card__overlay span {
        font-family: var(--f-display);
        font-size: 0.85rem;
        font-weight: 700;
        color: rgba(255,255,255,.9);
    }

@media (max-width: 767px) {
    .ws-card-fan {
        display: none;
    }

    /* Tighten vertical spacing when event card meta (location/time/language) wraps */
    .event-card-meta {
        gap: 0.4rem 1.25rem !important;
    }
}

.breadcrumb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    padding-top: calc(var(--nav-h) + 1.5rem);
}

.breadcrumb {
    font-family: var(--f-ui);
    font-size: 0.75rem;
    color: var(--c-subtle);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0;
}

    .breadcrumb a {
        color: var(--c-subtle);
        transition: color var(--t-fast);
    }

.ws-nav {
    display: flex;
    gap: 0.4rem;
}

.ws-nav__btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--f-ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-mid);
    border: 1.5px solid var(--c-border);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    text-decoration: none;
    transition: all var(--t-base);
    white-space: nowrap;
}

    .ws-nav__btn:hover {
        border-color: var(--c-dark);
        color: var(--c-dark);
    }

.breadcrumb a:hover {
    color: var(--c-orange);
}

/* --- Stats Bar --- */
.stats-bar {
    background: var(--c-white);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 0;
    background: var(--c-border);
}

@media (min-width: 640px) {
    .stats-bar__grid {
        grid-template-columns: repeat(4,1fr);
    }
}

.stats-bar__item {
    padding: 2.5rem 2rem;
    background: var(--c-white);
    text-align: center;
}

.stats-bar__num {
    font-family: var(--f-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--c-dark);
    line-height: 1;
    letter-spacing: -0.03em;
}

    .stats-bar__num span {
        color: var(--c-orange);
    }

.stats-bar__label {
    font-family: var(--f-ui);
    font-size: 0.8rem;
    color: var(--c-subtle);
    margin-top: 0.5rem;
    letter-spacing: 0.04em;
    font-weight: 400;
}

/* --- Workshop Toolbar --- */
.ws-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 1023px) {
    .ws-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ws-filters {
        justify-content: center;
    }

    .ws-search {
        width: 100%;
    }

        .ws-search input {
            width: 100%;
        }
}

.ws-filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ws-filter-divider {
    width: 1px;
    height: 20px;
    background: var(--c-border);
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .ws-filter-divider {
        display: none;
    }
}

.ws-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ws-type {
    font-family: var(--f-ui);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    border: 1.5px solid var(--c-border);
    background: transparent;
    color: var(--c-mid);
    transition: all var(--t-base);
}

    .ws-type:hover {
        border-color: var(--c-orange);
        color: var(--c-orange);
    }

    .ws-type.is-active {
        background: var(--c-orange);
        border-color: var(--c-orange);
        color: var(--c-white);
    }

.ws-filter {
    font-family: var(--f-ui);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    border: 1.5px solid var(--c-border);
    background: transparent;
    color: var(--c-mid);
    transition: all var(--t-base);
}

    .ws-filter:hover {
        border-color: var(--c-dark);
        color: var(--c-dark);
    }

    .ws-filter.is-active {
        background: var(--c-dark);
        border-color: var(--c-dark);
        color: var(--c-white);
    }

.ws-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--c-bg-warm);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    min-width: 170px;
    transition: border-color var(--t-base);
}

    .ws-search:focus-within {
        border-color: var(--c-dark);
    }

    .ws-search svg {
        flex-shrink: 0;
        color: var(--c-subtle);
    }

    .ws-search input {
        border: none;
        background: none;
        outline: none;
        font-family: var(--f-ui);
        font-size: 0.82rem;
        color: var(--c-dark);
        width: 100%;
    }

        .ws-search input::placeholder {
            color: var(--c-subtle);
        }

.ws-empty {
    text-align: center;
    color: var(--c-mid);
    padding: 3rem 0;
    font-family: var(--f-ui);
}

/* --- Filter Bar (Pill UI — used by TrainingList, EventList) --- */
.ws-filterbar {
    position: sticky;
    top: var(--nav-h, 64px);
    z-index: 90;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1.5rem 0 0;
    overflow-x: clip;
}

.ws-filter-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 0.6rem;
}

.ws-filter-row2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0 0.4rem;
    flex-wrap: wrap;
}

.ws-filterbar__right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
}

.ws-filter-label {
    font-family: var(--f-ui);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-subtle);
}

.ws-type-pills {
    display: flex;
    gap: 0.4rem;
}

.ws-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 0 0.7rem;
}

.ws-type-pill {
    padding: 0.35rem 0.9rem;
    border: 1.5px solid var(--c-border);
    border-radius: 999px;
    background: none;
    font-family: var(--f-ui);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--c-mid);
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
    white-space: nowrap;
}

    .ws-type-pill.is-active {
        background: var(--c-dark);
        border-color: var(--c-dark);
        color: var(--c-white);
        font-weight: 600;
    }

    .ws-type-pill:hover:not(.is-active) {
        border-color: var(--c-dark);
        color: var(--c-dark);
    }

.ws-cat-pill {
    padding: 0.38rem 1rem;
    border: 1.5px solid var(--pill-color, var(--c-border));
    border-radius: 999px;
    background: transparent;
    font-family: var(--f-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pill-color, var(--c-mid));
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
    user-select: none;
    white-space: nowrap;
}

    .ws-cat-pill.is-active {
        box-shadow: 0 2px 10px rgba(0,0,0,.15);
        opacity: 1;
    }

    .ws-cat-pill.is-dimmed {
        opacity: 0.3;
    }

    .ws-cat-pill:hover:not(.is-active) {
        opacity: 0.75;
        transform: translateY(-1px);
    }

.ws-sort {
    height: 36px;
    border: 1.5px solid var(--c-border);
    border-radius: 999px;
    padding: 0 0.75rem;
    font-family: var(--f-ui);
    font-size: 0.82rem;
    background: var(--c-bg-warm);
    color: var(--c-dark);
    cursor: pointer;
    transition: border-color var(--t-base);
    -webkit-appearance: none;
    appearance: none;
}

    .ws-sort:focus {
        outline: none;
        border-color: var(--c-dark);
    }

@media (max-width: 960px) {
    .ws-filterbar {
        padding: 1.25rem 0 0;
    }
}

@media (max-width: 640px) {
    .ws-filterbar {
        padding: 0.875rem 0 0;
    }

    .ws-filter-row2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0 0.4rem;
    }

    .ws-type-pills {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .ws-filterbar__right {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }

    .ws-search {
        flex: 1;
        min-width: 0;
    }

    .ws-cat-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.35rem;
        padding-bottom: 0.75rem;
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
        mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
    }

        .ws-cat-pills::-webkit-scrollbar {
            display: none;
        }

    .ws-cat-pill {
        flex-shrink: 0;
        font-size: 0.78rem;
        padding: 0.32rem 0.85rem;
    }

    .ws-type-pill {
        font-size: 0.78rem;
        padding: 0.3rem 0.8rem;
    }
}

/* View toggle */
.ws-view-toggle {
    display: flex;
    border: 1.5px solid var(--c-border);
    border-radius: 999px;
    overflow: hidden;
}

.ws-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--c-mid);
    transition: all var(--t-base);
}

    .ws-view-btn.is-active {
        background: var(--c-dark);
        color: var(--c-white);
    }

    .ws-view-btn:not(.is-active):hover {
        background: var(--c-bg-warm);
        color: var(--c-dark);
    }

/* List view */
#wsGallery.is-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    #wsGallery.is-list .card {
        display: grid;
        grid-template-columns: 90px 1fr;
        align-items: stretch;
        border: 1px solid var(--c-border);
        border-radius: 6px;
        overflow: hidden;
    }

    #wsGallery.is-list .card__img {
        width: 90px;
        height: 100%;
        aspect-ratio: unset;
        object-fit: cover;
        display: block;
    }

    #wsGallery.is-list .card__body {
        padding: 0.75rem 1rem;
        margin-top: 0;
    }

    #wsGallery.is-list .card__meta {
        flex-wrap: wrap;
    }

/* --- Cards --- */
.card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    transition: all var(--t-base) var(--ease-out);
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 32px rgba(0,0,0,.12);
    }

.card__img {
    width: 100%;
    aspect-ratio: 160/250;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* Landscape variant — used by news/blog listing cards */
.card__img--landscape {
    aspect-ratio: 16 / 9;
}

.card__img--gradient {
    width: 100%;
    aspect-ratio: 160/250;
    display: block;
    position: relative;
    overflow: hidden;
}

    .card__img--gradient::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 80% 50% at 50% 110%, #e8640a 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 10% 80%, #d946ef 0%, transparent 55%), radial-gradient(ellipse 60% 40% at 90% 80%, #3b82f6 0%, transparent 55%), radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%), #050505;
        animation: gradientBreathe 6s ease-in-out infinite;
    }

@keyframes gradientBreathe {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .88;
        transform: scale(1.04);
    }
}

.card__body {
    padding: 0.75rem 1rem;
    /*margin-top: auto;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card__tag {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-mid);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.card__tag--beliebt {
    background: rgba(220,53,69,.1);
    color: #dc3545;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(220,53,69,.3);
}

.card__tag--excellence {
    background: rgba(232,100,10,.1);
    color: var(--c-orange);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(232,100,10,.25);
}

.card__title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color var(--t-fast);
    hyphens: auto;
}

.card:hover .card__title {
    color: var(--c-orange);
}

.card__desc {
    font-weight: 100 !important;
    hyphens: auto;
}

    .card__desc p {
        font-weight: 100 !important;
        hyphens: auto;
    }

@media (max-width: 767px) {
    .card__title {
        font-size: 1rem;
        hyphens: none;
        /*word-break: break-all;*/
    }

    .card__desc {
        font-size: 0.92em !important;
    }

        .card__desc p {
            font-size: 0.92em !important;
        }

}

.card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--f-ui);
    font-size: 0.75rem;
    color: var(--c-subtle);
    border-top: 1px solid var(--c-border);
    padding-top: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .card__meta-item svg {
        width: 13px;
        height: 13px;
        opacity: .6;
    }

.card--featured {
    background: var(--c-dark);
    color: var(--c-white);
    border-color: transparent;
}

    .card--featured .card__desc {
        color: rgba(255,255,255,.55);
    }

    .card--featured .card__meta {
        color: rgba(255,255,255,.35);
        border-color: rgba(255,255,255,.1);
    }

/* --- Grids --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2,1fr);
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3,1fr);
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4,1fr);
    }
}

@media (max-width: 767px) {
    .grid-4 {
        gap: 0.5rem;
    }
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--c-border);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4,1fr);
    }
}

.service-block {
    background: var(--c-white);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--t-base) var(--ease-out);
    border-top: 1px solid transparent;
    border-radius: 6px;
}

    .service-block::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--c-orange);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--t-slow) var(--ease-out);
    }

    .service-block:hover {
        background: #FAFAFA;
        border-top-color: var(--c-orange);
        color: var(--c-dark);
    }

        .service-block:hover.dark-hover {
            background: var(--c-dark);
            color: var(--c-white);
        }

        .service-block:hover::after {
            transform: scaleX(1);
        }

.service-block__num {
    font-family: var(--f-display);
    font-size: 3rem;
    font-weight: 900;
    color: #555555;
    line-height: 1;
    transition: color var(--t-base);
}

.service-block:hover .service-block__num {
    color: #1a1a1a;
}

.service-block__icon {
    width: 40px;
    height: 40px;
    background: var(--c-orange);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

    .service-block__icon svg {
        width: 20px;
        height: 20px;
        color: var(--c-white);
    }

.service-block__title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-block__desc {
    font-family: var(--f-ui);
    font-size: 0.875rem;
    color: var(--c-mid);
    line-height: 1.65;
    font-weight: 300;
}

.service-block__link {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-mid);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--t-base), color var(--t-base), opacity var(--t-base);
    opacity: 0.6;
}

.service-block:hover .service-block__link {
    gap: 0.65rem;
    color: var(--c-orange);
    opacity: 1;
}

/* --- Booking / Dates --- */
.booking-box {
    background: var(--c-bg-warm);
    border: 1px solid var(--c-border);
    padding: 2rem;
}

.booking-box__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.dates-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.date-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    gap: 1rem;
    flex-wrap: wrap;
    transition: border-color var(--t-base);
}

    .date-item:hover {
        border-color: var(--c-orange);
    }

.date-item--soldout {
    opacity: 0.5;
    pointer-events: none;
}

    .date-item--soldout .date-item__date {
        text-decoration: line-through;
    }

.date-item__info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.date-item__date {
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 700;
    min-width: 150px;
}

.date-item__loc {
    font-family: var(--f-ui);
    font-size: 0.85rem;
    color: var(--c-mid);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.date-item__spots {
    font-family: var(--f-ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-green);
    letter-spacing: 0.06em;
}

    .date-item__spots.low {
        color: var(--c-orange);
    }

/* --- Steps --- */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    counter-reset: step;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: repeat(4,1fr);
    }
}

.step {
    position: relative;
    padding-left: 3rem;
    counter-increment: step;
}

    .step::before {
        content: counter(step,decimal-leading-zero);
        position: absolute;
        left: 0;
        top: 0;
        font-family: var(--f-display);
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--c-orange);
        line-height: 1;
    }

.step__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step__desc {
    font-family: var(--f-ui);
    font-size: 0.875rem;
    color: var(--c-mid);
    line-height: 1.6;
}

/* --- Bar Chart (CSS) --- */
.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin: 2rem 0;
}

.chart-row {
    display: grid;
    grid-template-columns: 160px 1fr 48px;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 640px) {
    .chart-row {
        grid-template-columns: 110px 1fr 40px;
    }
}

.chart-lbl {
    font-family: var(--f-ui);
    font-size: 0.8rem;
    color: var(--c-mid);
    text-align: right;
}

.chart-track {
    height: 8px;
    background: var(--c-border);
    border-radius: 4px;
    overflow: hidden;
}

.chart-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--c-orange);
    width: 0;
    transition: width 1.2s var(--ease-out);
}

.chart-fill--green {
    background: var(--c-green);
}

.chart-fill--dark {
    background: var(--c-dark);
}

.chart-val {
    font-family: var(--f-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c-dark);
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

.team-card {
    position: relative;
    overflow: hidden;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 6px;
}

.team-card__img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #C4520A;
    border-radius: 6px 6px 0 0;
}

    .team-card__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.team-card__body {
    padding: 1.25rem 1.5rem;
}

.team-card__name {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-card__role {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-orange);
}

.team-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,26,.92);
    color: var(--c-white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--t-base) var(--ease-out);
}

.team-card:hover .team-card__overlay {
    opacity: 1;
}

.team-card__bio {
    font-size: 0.875rem;
    color: rgba(255,255,255,.75);
    line-height: 1.6;
}

/* --- Product Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4,1fr);
    }
}

.product-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    transition: all var(--t-base) var(--ease-out);
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,.08);
    }

.product-card__cover {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255,255,255,.15);
    background: var(--c-dark);
    overflow: hidden;
    position: relative;
}

    .product-card__cover img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.product-card__info {
    flex: 1 1 auto;
}

.product-card__price {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.product-card__title {
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.product-card__author {
    font-family: var(--f-ui);
    font-size: 0.8rem;
    color: var(--c-subtle);
    margin-bottom: 0.75rem;
}

.product-card__price {
    font-family: var(--f-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-orange);
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-family: var(--f-ui);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--c-border);
    background: var(--c-white);
    font-family: var(--f-ui);
    font-size: 0.875rem;
    color: var(--c-dark);
    transition: border-color var(--t-fast);
    border-radius: 6px;
    appearance: none;
}

    .form-input:focus, .form-textarea:focus, .form-select:focus {
        outline: none;
        border-color: var(--c-orange);
    }

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Testimonial --- */
.testimonial {
    padding: 2rem;
    border-left: 2px solid var(--c-orange);
    background: var(--c-white);
    border-radius: 6px;
}

.testimonial__quote {
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-weight: 300;
    color: var(--c-mid);
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-bg-warm);
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial__name {
    font-family: var(--f-ui);
    font-size: 0.875rem;
    font-weight: 600;
}

.testimonial__co {
    font-family: var(--f-ui);
    font-size: 0.75rem;
    color: var(--c-subtle);
}

/* --- Accordion --- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion__item {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow var(--t-base);
}

    .accordion__item.is-open {
        box-shadow: 0 4px 20px rgba(0,0,0,.07);
    }

.accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.accordion__trigger-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion__letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--c-orange);
    color: var(--c-white);
    font-family: var(--f-display);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.accordion__title {
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-dark);
}

.accordion__sub {
    font-family: var(--f-ui);
    font-size: 0.8rem;
    color: var(--c-mid);
    margin-top: 0.15rem;
}

.accordion__chevron {
    flex-shrink: 0;
    color: var(--c-mid);
    transition: transform var(--t-base);
    transform: rotate(0deg);
}

.accordion__chevron-v {
    transition: opacity var(--t-base);
    opacity: 1;
}

.accordion__item.is-open .accordion__chevron {
    transform: rotate(45deg);
}

.accordion__item.is-open .accordion__chevron-v {
    opacity: 0;
}

/* CSS-only plus/minus icon */
.accordion__icon {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    background: var(--c-mid);
    border-radius: 2px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.accordion__icon::before {
    width: 2px;
    height: 14px;
    top: 3px;
    left: 9px;
}

.accordion__icon::after {
    width: 14px;
    height: 2px;
    top: 9px;
    left: 3px;
}

.accordion__item.is-open .accordion__icon::before {
    opacity: 0;
}

.accordion__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.accordion__item.is-open .accordion__body {
    grid-template-rows: 1fr;
}

.accordion__content {
    overflow: hidden;
    padding: 0 1.5rem;
    font-family: var(--f-ui);
    font-size: 0.9rem;
    color: var(--c-mid);
    line-height: 1.7;
}

.accordion__item.is-open .accordion__content {
    padding-bottom: 1.5rem;
}

/* --- Tags --- */
.tag {
    display: inline-block;
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--c-bg-warm);
    color: var(--c-mid);
}

.tag--orange {
    background: rgba(232,100,10,.1);
    color: var(--c-orange-dk);
}

.tag--green {
    background: rgba(74,156,63,.1);
    color: var(--c-green-dk);
}

.tag--dark {
    background: var(--c-dark);
    color: var(--c-white);
}

.tag--purple {
    background: rgba(139,92,246,.12);
    color: #7c3aed;
}

.tag--blue {
    background: rgba(56,189,248,.12);
    color: #0284c7;
}

.tag--red {
    background: rgba(217, 40, 40, .12);
    color: #D92828;
}

.tag--lilac {
    background: rgba(166, 40, 217, .12);
    color: #A628D9;
}

.tag--midnight {
    background: rgba(49, 29, 216, .12);
    color: #311DD8;
}

.tag--navy {
    background: rgba(29, 78, 216, .12);
    color: #1D4ED8;
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--c-dark);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

    .cta-banner::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -10%;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(232,100,10,.14) 0%, transparent 65%);
        pointer-events: none;
    }

.cta-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .cta-banner__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cta-banner__title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    color: var(--c-white);
    max-width: 560px;
}

    .cta-banner__title em {
        font-style: italic;
        color: var(--c-orange);
    }

.cta-banner__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.book-visual-col {
    align-self: start;
}

@media (min-width: 768px) {
    .book-visual-col {
        position: sticky;
        top: calc(var(--nav-h) + 2rem);
        z-index: 1;
    }
}

/* --- Split Layout --- */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .split {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem;
    }
}

@media (min-width: 900px) {
    .split--affiliate {
        grid-template-columns: 1fr 380px;
        align-items: start;
    }
}

.split--flip > *:first-child {
    order: 0;
}

@media (min-width: 768px) {
    .split--flip > *:first-child {
        order: 1;
    }

    .split--flip > *:last-child {
        order: 0;
    }
}

/* --- Dashboard Mockup (Software Page) --- */
.dash-mockup {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

.dash-bar {
    display: flex;
    gap: 8px;
    padding: 1rem 1.25rem;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .dash-dot:nth-child(1) {
        background: #ff5f57;
    }

    .dash-dot:nth-child(2) {
        background: #febc2e;
    }

    .dash-dot:nth-child(3) {
        background: #28c840;
    }

.dash-body {
    padding: 1.25rem;
}

.dash-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.dash-line {
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,.1);
    margin-bottom: 0.5rem;
}

    .dash-line.short {
        width: 40%;
    }

    .dash-line.medium {
        width: 65%;
    }

    .dash-line.full {
        width: 90%;
    }

    .dash-line.orange {
        background: rgba(232,100,10,.45);
    }

    .dash-line.green {
        background: rgba(74,156,63,.45);
    }

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.dash-stat {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    padding: 0.875rem;
    text-align: center;
}

.dash-stat__n {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-orange);
}

.dash-stat__l {
    font-family: var(--f-ui);
    font-size: 0.6rem;
    color: rgba(255,255,255,.25);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

/* --- Product Configurator (selectable options) --- */
.product-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--f-ui);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--c-dark);
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    border-radius: 6px;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
    line-height: 1.4;
}

.product-option:hover {
    border-color: var(--c-orange);
}

.product-option.is-selected {
    background: var(--c-orange);
    border-color: var(--c-orange);
    color: var(--c-white);
}

.product-option.is-selected .product-option__price-delta {
    opacity: 0.8;
}

.product-option.is-error {
    border-color: #dc3545;
}

.product-option__price-delta {
    font-size: 0.72rem;
    opacity: 0.6;
}

.product-option__badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(236, 132, 31, 0.15);
    color: var(--c-orange);
    border: 1px solid rgba(236, 132, 31, 0.3);
    border-radius: 3px;
    padding: 0.05rem 0.35rem;
    margin-left: 0.25rem;
}

.product-option.is-selected .product-option__badge {
    background: rgba(255, 255, 255, 0.25);
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.product-feature-error {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    color: #dc3545;
    margin-top: 0.4rem;
    min-height: 1.1rem;
}

.product-live-price {
    transition: opacity 0.15s;
}

/* --- Product Feature Modal (popup option cards) --- */
.product-fmt-group {
    margin-bottom: 1.25rem;
}

.product-fmt-group__label {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--c-subtle);
    margin-bottom: 0.55rem;
}

.product-fmt-group__req {
    color: var(--c-orange);
    margin-left: 0.2rem;
}

.product-fmt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .product-fmt-grid {
        grid-template-columns: 1fr;
    }
}

.product-fmt-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 0.95rem;
    border: 1.5px solid var(--c-border);
    border-radius: 7px;
    background: var(--c-white);
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast);
}

    .product-fmt-card:hover {
        border-color: var(--c-orange);
        background: #fff8f0;
    }

    .product-fmt-card.is-selected {
        border-color: var(--c-orange);
        background: #fff8f0;
    }

    .product-fmt-card.is-error {
        border-color: #dc3545;
    }

.product-fmt-card__name {
    font-family: var(--f-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.product-fmt-card__meta {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    color: var(--c-subtle);
}

.product-fmt-card__delta {
    color: var(--c-orange);
    font-weight: 600;
}

    .product-fmt-card__delta--down {
        color: #28a745;
    }

.product-fmt-card__badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(236, 132, 31, 0.15);
    color: var(--c-orange);
    border: 1px solid rgba(236, 132, 31, 0.3);
    border-radius: 3px;
    padding: 0.05rem 0.35rem;
}

.product-fmt-error {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    color: #dc3545;
    margin-top: 0.4rem;
    min-height: 1rem;
}

/* --- Cart --- */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
    background: none;
    color: var(--c-white);
    transition: opacity var(--t-fast);
}

.nav--white .cart-btn {
    color: var(--c-dark);
}

.cart-btn:hover {
    opacity: 0.7;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    background: var(--c-orange);
    color: white;
    font-family: var(--f-ui);
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--t-fast) var(--ease-out);
}

    .cart-badge.has-items {
        opacity: 1;
        transform: scale(1);
    }
/* Hide nav cart btns on mobile — replaced by FAB */
@media (max-width: 1023px) {
    .nav__menu .cart-btn {
        display: none;
    }

    .nav__inner > .cart-btn {
        display: none;
    }
}

@media (min-width: 1024px) {
    .nav__inner > .cart-btn {
        display: none;
    }
}

/* Cart FAB (mobile only) */
.cart-fab {
    display: none;
    position: fixed;
    top: calc(var(--nav-h) + 0.75rem);
    right: 1rem;
    z-index: 998;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-orange);
    color: var(--c-white);
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(232,100,10,.45);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    border: none;
    cursor: pointer;
}

    .cart-fab:hover {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(232,100,10,.55);
    }

.cart-fab__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    background: var(--c-dark);
    color: white;
    font-family: var(--f-ui);
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--t-fast) var(--ease-out);
}

    .cart-fab__badge.has-items {
        opacity: 1;
        transform: scale(1);
    }

@media (max-width: 1023px) {
    .cart-fab {
        display: flex;
    }
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1999;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base);
}

    .cart-overlay.is-open {
        opacity: 1;
        pointer-events: all;
    }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 95vw;
    z-index: 2000;
    background: var(--c-bg-warm);
    transform: translateX(100%);
    transition: transform var(--t-slow) var(--ease-out);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,.12);
}

    .cart-drawer.is-open {
        transform: translateX(0);
    }

.cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--c-border);
    flex-shrink: 0;
}

.cart-drawer__title {
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 700;
}

.cart-drawer__close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg-warm);
    border-radius: 999px;
    color: var(--c-dark);
    cursor: pointer;
    transition: background var(--t-fast);
    border: none;
    font-size: 1rem;
}

    .cart-drawer__close:hover {
        background: var(--c-border);
    }

.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 0 0.75rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 0;
}

    .cart-empty svg {
        margin: 0 auto 1rem;
        opacity: 0.25;
        display: block;
    }

    .cart-empty p {
        font-family: var(--f-ui);
        font-size: 0.875rem;
        color: var(--c-subtle);
    }

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-white);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    margin-top: 12px;
}

.cart-item__cover {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 0.55rem;
    font-weight: 900;
    color: white;
    text-align: center;
    line-height: 1.3;
    padding: 0;
}

.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__name {
    font-family: var(--f-display);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.cart-item__meta {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    color: var(--c-subtle);
    margin-bottom: 0.75rem;
}

.cart-item__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-item__qty {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--c-bg-warm);
    border-radius: 999px;
    padding: 0.15rem 0.15rem;
    width: fit-content;
}

    .cart-item__qty button {
        width: 26px;
        height: 26px;
        border-radius: 999px;
        background: var(--c-white);
        border: 1px solid var(--c-border);
        font-size: 0.9rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background var(--t-fast);
        color: var(--c-dark);
    }

        .cart-item__qty button:hover {
            background: var(--c-border);
        }

.cart-item__qty-num {
    font-family: var(--f-display);
    font-size: 0.875rem;
    font-weight: 700;
    min-width: 1.5rem;
    text-align: center;
}

.cart-item__remove {
    font-family: var(--f-ui);
    font-size: 0.72rem;
    color: var(--c-subtle);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
}

    .cart-item__remove:hover {
        color: var(--c-dark);
    }

.cart-item__price {
    font-family: var(--f-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-dark);
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.cart-drawer__foot {
    padding: 1.5rem 1.75rem;
    border-top: 1px solid var(--c-border);
    background: var(--c-bg-warm);
    flex-shrink: 0;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
}

.cart-subtotal__label {
    font-family: var(--f-ui);
    font-size: 0.75rem;
    color: var(--c-mid);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cart-subtotal__amount {
    font-family: var(--f-display);
    font-size: 1.75rem;
    font-weight: 900;
}

.cart-continue {
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
    font-family: var(--f-ui);
    font-size: 0.8rem;
    color: var(--c-subtle);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

    .cart-continue:hover {
        color: var(--c-dark);
    }

.product-card__atc {
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
}

/* --- Mockup Section --- */
.mockup-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .mockup-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.mockup-images {
    position: relative;
    height: 480px;
    width: 100%;
}

.mockup-bg-card {
    position: absolute;
    width: 74%;
    height: auto;
    border-radius: 6px;
    overflow: hidden;
    background: transparent;
    top: 8%;
    left: -6%;
    z-index: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease-out, transform 1.4s ease-out;
}

.mockup-images.is-visible .mockup-bg-card {
    opacity: 1;
    transform: translateY(-20px);
}

.mockup-bg-card img {
    width: 100%;
    height: auto;
    object-fit: unset !important;
    display: block;
}

.mockup-main-card {
    position: absolute;
    width: 80%;
    height: 86%;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    top: 4%;
    right: 0;
    z-index: 1;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out 0.15s, transform 1.4s ease-out 0.15s;
}

.mockup-images.is-visible .mockup-main-card {
    opacity: 1;
    transform: translateY(22px);
}

.mockup-bg-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mockup-main-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mockup-section-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
}

/* --- Footer --- */
.footer {
    background: var(--c-dark);
}

.footer__main {
    padding: 5rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer__main {
        grid-template-columns: 2fr 3fr;
    }
}

.footer__logo {
    display: block;
    height: 38px;
    width: auto;
    margin-bottom: 1rem;
}

.footer__tagline {
    font-family: var(--f-ui);
    font-size: 0.875rem;
    color: rgba(255,255,255,.45);
    line-height: 1.65;
    max-width: 280px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer__links {
        grid-template-columns: repeat(3,1fr);
    }
}

.footer__col h4 {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-white);
    margin-bottom: 1rem;
}

.footer__col a {
    display: block;
    font-family: var(--f-ui);
    font-size: 0.875rem;
    color: rgba(255,255,255,.45);
    margin-bottom: 0.5rem;
    transition: color var(--t-fast);
}

    .footer__col a:hover {
        color: var(--c-orange);
    }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--f-ui);
    font-size: 0.75rem;
    color: rgba(255,255,255,.25);
}

    .footer__bottom a {
        color: rgba(255,255,255,.25);
        transition: color var(--t-fast);
    }

        .footer__bottom a:hover {
            color: var(--c-orange);
        }

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}

    .fade-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.delay-1 {
    transition-delay: .1s;
}

.delay-2 {
    transition-delay: .2s;
}

.delay-3 {
    transition-delay: .3s;
}

.delay-4 {
    transition-delay: .4s;
}

.fade-in {
    opacity: 0;
    transition: opacity .7s var(--ease-out);
}

    .fade-in.is-visible {
        opacity: 1;
    }

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,26,26,.72);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base);
}

    .modal-overlay.is-open {
        opacity: 1;
        pointer-events: all;
    }

.modal {
    background: var(--c-white);
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--t-base) var(--ease-out);
    border-radius: 8px;
}

.modal-overlay.is-open .modal {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.25rem;
    color: var(--c-mid);
    line-height: 1;
    padding: 0.25rem;
    transition: color var(--t-fast);
}

    .modal__close:hover {
        color: var(--c-dark);
    }

.modal__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* --- Utilities --- */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-family: var(--f-ui);
    font-size: 0.9rem;
}

    .check-item::before {
        content: '\2713';
        color: var(--c-orange);
        font-weight: 700;
        flex-shrink: 0;
    }

.check-item--green::before {
    color: var(--c-green);
}

.color-strip {
    height: 4px;
    background: linear-gradient(90deg, var(--c-orange) 0%, var(--c-green) 100%);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--f-ui);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

    .info-row svg {
        width: 18px;
        height: 18px;
        color: var(--c-orange);
        flex-shrink: 0;
    }


/* =====================================================
   TWO-ROW NAV (topbar + main bar)
   ===================================================== */

.nav--two-row { height: auto; }
.nav--two-row .nav__inner { height: 70px; }

/* 3-col grid: logo | menu (centered) | contact CTA (right) */
@media (min-width: 1024px) {
    .nav--two-row .nav__inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
    .nav--two-row .nav__inner > .nav__toggle { display: none; }
    .nav--two-row .nav__menu { justify-self: center; }
    .nav--two-row .nav__cta--desktop { justify-self: end; }
}

/* Hide contact CTA on mobile � it lives in the sheet footer instead */
@media (max-width: 1023px) {
    .nav__cta--desktop { display: none; }
}

.nav__row--top-wrap {
    background: var(--c-dark);
}
.nav__row--top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 1.5rem;
    height: 44px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.nav__row--top-right { display: flex; align-items: center; gap: 0.75rem; }

/* Cart button inside topbar (dark bg) always shows white */
.nav__row--top .cart-btn { color: rgba(255,255,255,.8); }
.nav__row--top .cart-btn:hover { color: #fff; opacity: 1; }
@media (min-width: 1280px) { .nav__row--top { padding: 0 3rem; } }
@media (max-width: 1023px) { .nav__row--top-wrap { display: none; } }

/* Topbar lang-switch styling (white-on-dark) */
.nav__row--top-wrap .lang-switch__btn { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.2); }
.nav__row--top-wrap .lang-switch__btn svg { stroke: rgba(255,255,255,.75); }
.nav__row--top-wrap .lang-switch__btn:hover { border-color: rgba(255,255,255,.55); color: #fff; }

/* Login button in topbar */
.nav__login-btn {
    display: flex; align-items: center; gap: 0.35rem;
    font-family: var(--f-ui); font-size: 0.8rem; font-weight: 600;
    color: rgba(255,255,255,.75); background: transparent;
    border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px;
    padding: 0.3rem 0.75rem; white-space: nowrap; text-decoration: none;
    transition: border-color var(--t-base), color var(--t-base);
}
.nav__login-btn:hover { border-color: rgba(255,255,255,.55); color: #fff; }
.nav__login-btn svg { flex-shrink: 0; }

/* User menu (topbar) */
.user-menu { position: relative; display: flex; align-items: center; }
.user-menu__btn {
    display: flex; align-items: center; justify-content: center;
    background: none; padding: 0; cursor: pointer;
    transition: opacity var(--t-base);
}
.user-menu__btn:hover { opacity: 0.8; }
.user-menu__avatar {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--c-orange); color: #fff;
    font-family: var(--f-ui); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    text-transform: uppercase;
}
.user-menu__avatar--lg { width: 36px; height: 36px; font-size: 0.75rem; }
.user-menu__btn .user-menu__avatar { width: 30px; height: 30px; font-size: 0.7rem; }
.user-menu__dropdown {
    position: absolute; top: calc(100% + 0.75rem); right: 0;
    background: var(--c-white); border: 1px solid var(--c-border);
    border-radius: 6px; padding: 0.5rem; min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    opacity: 0; pointer-events: none; transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease; z-index: 1100;
}
.user-menu__dropdown::before {
    content: ''; position: absolute; top: -5px; right: 13px;
    width: 9px; height: 9px; background: #fff;
    border-top: 1px solid var(--c-border); border-left: 1px solid var(--c-border);
    border-radius: 2px 0 0 0; transform: rotate(45deg);
}
.user-menu.is-open .user-menu__dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.user-menu__dropdown-header {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.5rem 0.75rem 0.75rem; border-bottom: 1px solid var(--c-border); margin-bottom: 0.25rem;
}
.user-menu__name { font-family: var(--f-ui); font-size: 0.875rem; font-weight: 600; color: var(--c-dark); }
.user-menu__role { font-size: 0.75rem; color: var(--c-subtle); margin-top: 0.1rem; }
.user-menu__item {
    display: flex; align-items: center; gap: 0.5rem; width: 100%;
    padding: 0.5rem 0.75rem; border-radius: 7px;
    font-family: var(--f-ui); font-size: 0.85rem; font-weight: 500; color: var(--c-dark);
    text-decoration: none; background: none; border: none; cursor: pointer;
    transition: background var(--t-base);
}
.user-menu__item:hover { background: var(--c-bg-warm); }
.user-menu__item--danger { color: #e53935; }
.user-menu__item--danger:hover { background: rgba(229,57,53,.08); }
.user-menu__divider { height: 1px; background: var(--c-border); margin: 0.25rem 0; }

/* Mobile sheet user card (shown when authenticated) */
.nav__sheet-user {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem; background: var(--c-bg-warm); border-radius: 10px; margin-bottom: 1rem;
}
.nav__sheet-user-info { flex: 1; }
.nav__sheet-user-name { font-family: var(--f-ui); font-size: 0.875rem; font-weight: 600; color: var(--c-dark); }
.nav__sheet-user-role { font-size: 0.75rem; color: var(--c-subtle); }
.nav__sheet-user-logout {
    font-family: var(--f-ui); font-size: 0.75rem; font-weight: 600;
    color: #e53935; background: none; border: none; cursor: pointer; padding: 0;
    text-decoration: none; display: inline-block;
}

/* =====================================================
   ALPHADI MVC � nav & mobile overrides
   ===================================================== */

/* 1. Logo text colour flips with nav variant */
.nav .nav__logo span          { color: #fff; }
.nav--white .nav__logo span   { color: var(--c-dark); }
/* Intentionally NO `filter` on .nav__logo img. Declaring a filter (even `none`) makes
   Chromium "force dark" (Samsung Internet / Opera) skip auto-inverting the image, which
   left the dark logo invisible on the auto-darkened bar. Omitting it lets the logo
   invert to white in forced dark mode — same behaviour as .nav__sheet-logo img. */

/* 2. Admin pill flips with nav variant */
.nav-admin-link {
  font-family: var(--f-ui); font-size: .75rem;
  padding: .35rem .8rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.45);
  transition: opacity .2s;
  text-decoration: none;
}
.nav--white .nav-admin-link {
  color: rgba(0,0,0,.45);
  border-color: rgba(0,0,0,.12);
}

/* 3. Hide entire right-cluster on mobile � hamburger only */
@media (max-width: 1023px) {
  .nav__actions-cluster { display: none !important; }
}

/* 4. Desktop lang-switch: button reset to match anchor look */
.lang-switch__opt {
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
}

/* 5. Mobile lang-switch: form = invisible wrapper, button = pill */
.lang-switch--mobile form { display: contents; }

.lang-switch--mobile button {
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--f-ui);
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-mid);
  padding: .3rem .75rem;
  border-radius: 999px;
  border: 1.5px solid var(--c-border);
  background: none;
  cursor: pointer;
  line-height: normal;
  transition: all var(--t-base);
}
.lang-switch--mobile button.is-active {
  color: var(--c-orange);
  border-color: var(--c-orange);
}
.lang-switch--mobile button:hover:not(.is-active) {
  border-color: var(--c-dark);
  color: var(--c-dark);
}

/* =====================================================
   MOBILE NAV SHEET � right-side full-height drawer
   ===================================================== */

.nav__mobile { display: none !important; }

.nav__sheet-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 1998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.nav__sheet-overlay.is-open { opacity: 1; pointer-events: all; }

.nav__sheet {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 82%; max-width: 360px;
  background: var(--c-white);
  z-index: 1999;
  display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform 0.38s var(--ease-out);
  box-shadow: -8px 0 48px rgba(0,0,0,0.18);
  overflow: hidden;
}
.nav__sheet.is-open { transform: translateX(0); }

@media (min-width: 1024px) {
  .nav__sheet { display: none; }
  .nav__sheet-overlay { display: none; }
}

.nav__sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.nav__sheet-logo img { height: 32px; width: auto; display: block; }
.nav__sheet-logo-text {
  font-family: var(--f-display); font-weight: 900; font-size: 1.2rem;
  color: var(--c-dark); letter-spacing: -0.03em; text-decoration: none;
}
.nav__sheet-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--c-bg-warm); border: none;
  cursor: pointer; color: var(--c-dark);
  transition: background var(--t-fast); flex-shrink: 0;
}
.nav__sheet-close:hover { background: var(--c-border); }
.nav__sheet-close svg { width: 16px; height: 16px; }

.nav__sheet-body { flex: 1; overflow-y: auto; padding: 0.75rem 0; }

.nav__sheet-link {
  display: flex; align-items: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--f-ui); font-size: 0.95rem; font-weight: 500;
  color: var(--c-dark); text-decoration: none;
  border-left: 2.5px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.nav__sheet-link:hover,
.nav__sheet-link.is-active {
  background: var(--c-bg-warm); color: var(--c-orange);
  border-left-color: var(--c-orange);
}

.nav__sheet-group-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0.875rem 1.5rem;
  font-family: var(--f-ui); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-subtle);
  background: none; border: none; cursor: pointer; text-align: left;
  transition: color var(--t-fast);
}
.nav__sheet-group-trigger:hover { color: var(--c-dark); }
.nav__sheet-group-trigger svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform var(--t-base); }
.nav__sheet-group-trigger.is-open svg { transform: rotate(180deg); }

.nav__sheet-sub {
  display: none; flex-direction: column;
  border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-warm);
}
.nav__sheet-sub.is-open { display: flex; }

.nav__sheet-sub-item {
  display: flex; align-items: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--f-ui); font-size: 0.875rem; font-weight: 500;
  color: var(--c-mid); background: none; border: none;
  cursor: pointer; width: 100%; text-align: left;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__sheet-sub-item:hover { color: var(--c-dark); background: rgba(0,0,0,.03); }
.nav__sheet-sub-item.is-active { color: var(--c-orange); font-weight: 600; }

.nav__sheet-divider { height: 1px; background: var(--c-border); margin: 0.5rem 0; }

.nav__sheet-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--c-border); flex-shrink: 0; }
.nav__sheet-footer a {
  display: block; text-align: center; padding: 0.875rem;
  font-family: var(--f-ui); font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.04em; background: var(--c-orange); color: #fff;
  border-radius: 999px; text-decoration: none;
  transition: background var(--t-base), box-shadow var(--t-base);
}
.nav__sheet-footer a:hover { background: var(--c-orange-dk); box-shadow: 0 4px 16px rgba(236,132,31,.35); }

.trust-band {
    background: #fff;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 5rem 0 4.5rem;
    overflow: hidden;
}

.trust-band__label {
    text-align: center;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.trust-band__text {
    font-family: var(--f-display);
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--c-dark);
    margin: 0;
    text-align: center;
}

.logo-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, #fff 12%, #fff 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #fff 12%, #fff 88%, transparent 100%);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: logoScroll 42s linear infinite;
}

    .logo-track:hover {
        animation-play-state: paused;
    }

.logo-item {
    height: 52px;
    width: auto;
    object-fit: contain;
    opacity: 0.4;
    filter: grayscale(100%);
    flex-shrink: 0;
    user-select: none;
    transition: opacity .3s, filter .3s;
    cursor: default;
}

    .logo-item:hover {
        opacity: 0.85;
        filter: grayscale(0%);
    }

@keyframes logoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.news-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .25s, transform .25s;
}

    .news-card:hover {
        box-shadow: 0 8px 32px rgba(0,0,0,.1);
        transform: translateY(-3px);
    }

.news-card__img {
    height: 300px;
    padding: 0;
    background: var(--c-bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .news-card__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.news-card__body {
    padding: 1.5rem 1.5rem 0.75rem;
    flex: 1;
}

.news-card__date {
    font-family: var(--f-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--c-subtle);
    margin-bottom: 0.5rem;
}

.news-card__title {
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--c-dark);
    line-height: 1.3;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.news-card__desc {
    font-family: var(--f-ui);
    font-size: 0.85rem;
    color: var(--c-mid);
    line-height: 1.65;
    margin: 0;
}

.news-card__link {
    font-family: var(--f-ui);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--c-orange);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 1.5rem 1.25rem;
    transition: gap .2s;
}

.news-card:hover .news-card__link {
    gap: 0.7rem;
}

/* =====================================================
   PRODUCTS � category listing & detail pages
   ===================================================== */

/* product-grid responsive with more columns */
@media (min-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cover must be position:relative so absolute img overlay works */
.product-card__cover {
    position: relative;
}

/* "View details" CTA inside product card */
.product-card__atc {
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 0.65rem 1rem;
}

@media (max-width: 767px) {
    .product-card__atc {
        font-size: 0.7rem;
    }
}

/* Book visual sticky column on detail page */
.book-visual-col .fade-in {
    border-radius: 6px;
    overflow: hidden;
}

/* Breadcrumb inside page-hero (white background variant) */
.page-hero .breadcrumb {
    margin-bottom: 1.25rem;
}

.page-hero .breadcrumb a {
    color: var(--c-subtle);
    transition: color 0.15s;
}

.page-hero .breadcrumb a:hover {
    color: var(--c-orange);
}

/* Product detail split layout sticky sidebar */
@media (min-width: 768px) {
    .book-visual-col {
        position: sticky;
        top: calc(var(--nav-h) + 2rem);
    }
}

/* Tag variants used in product detail */
.tag--green {
    background: rgba(119, 184, 42, 0.12);
    color: var(--c-green-dk);
    border: 1px solid rgba(119, 184, 42, 0.25);
}

.tag--orange {
    background: rgba(236, 132, 31, 0.1);
    color: var(--c-orange-dk);
    border: 1px solid rgba(236, 132, 31, 0.25);
}

/* info-row icon colour for product detail */
.info-row svg {
    color: var(--c-orange);
}

/* Gradient placeholder covers for products without images */
.product-card:nth-child(6n+1) .product-card__cover { background: linear-gradient(135deg, #1A3A1A, #0D250D); }
.product-card:nth-child(6n+2) .product-card__cover { background: linear-gradient(135deg, #1A1A3A, #0D0D25); }
.product-card:nth-child(6n+3) .product-card__cover { background: linear-gradient(135deg, #3A1A1A, #250D0D); }
.product-card:nth-child(6n+4) .product-card__cover { background: linear-gradient(135deg, #2A2A1A, #1A1A0D); }
.product-card:nth-child(6n+5) .product-card__cover { background: linear-gradient(135deg, #1A2A3A, #0D1A25); }
.product-card:nth-child(6n+6) .product-card__cover { background: linear-gradient(135deg, #1A3A2A, #0D251A); }


/* ==========================================================================
   PARTNER & AFFILIATE PAGES
   ========================================================================== */

/* ---- Partner List Hero ---- */
/* ---- Partner Hero ---- */
.partner-hero {
    background: var(--c-bg-warm);
    padding: calc(var(--nav-h) + 5rem) 0 5rem;
    position: relative;
    overflow: hidden;
}

    .partner-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 60% 50% at 80% 40%, rgba(236,132,31,.09) 0%, transparent 60%), radial-gradient(ellipse 40% 60% at 10% 80%, rgba(119,184,42,.05) 0%, transparent 55%);
    }

.partner-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.partner-hero__label {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-orange);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .partner-hero__label::before {
        display: none;
    }

.partner-hero__title {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    color: var(--c-dark);
    line-height: 1.0;
    letter-spacing: -0.03em;
    max-width: 700px;
}

    .partner-hero__title em {
        color: var(--c-orange);
        font-style: normal;
    }

.partner-hero__sub {
    font-family: var(--f-ui);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--c-mid);
    max-width: 520px;
    line-height: 1.75;
}

.partner-hero__meta {
    display: flex;
    gap: 2.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.partner-hero__stat {
    display: flex;
    flex-direction: column;
}

.partner-hero__stat-num {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--c-dark);
    line-height: 1;
}

.partner-hero__stat-label {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--c-subtle);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* ---- Affiliate Grid ---- */
.affiliate-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--c-border);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .affiliate-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.affiliate-card {
    background: var(--c-white);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: background var(--t-base);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

    .affiliate-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--c-border);
        transition: background var(--t-slow);
    }

    .affiliate-card:hover {
        background: var(--c-bg-warm);
    }

        .affiliate-card:hover::before {
            background: var(--c-orange);
        }

.affiliate-card__flag {
    font-size: 2rem;
    line-height: 1;
}

.affiliate-card__region {
    font-family: var(--f-ui);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-subtle);
}

.affiliate-card__name {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--c-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.affiliate-card__desc {
    font-family: var(--f-ui);
    font-size: 0.875rem;
    color: var(--c-mid);
    line-height: 1.7;
    flex: 1;
}

.affiliate-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.affiliate-card__tag {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--c-bg-warm);
    color: var(--c-mid);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--c-border);
}

.affiliate-card:hover .affiliate-card__tag {
    background: var(--c-white);
}

.affiliate-card__arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--f-ui);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--c-orange);
    letter-spacing: 0.05em;
    transition: gap var(--t-base);
}

.affiliate-card:hover .affiliate-card__arrow {
    gap: 0.75rem;
}

/* ---- Become Partner ---- */
.become-partner {
    background: var(--c-bg-warm);
    border-top: 1px solid var(--c-border);
    padding: 5rem 0;
}

.become-partner__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .become-partner__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ---- Affiliate Grid (List Page) ---- */
.affiliate-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--c-border);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    overflow: hidden;
}
@media (min-width: 768px) {
    .affiliate-grid { grid-template-columns: repeat(3, 1fr); }
}
.affiliate-card {
    background: var(--c-white);
    padding: 2.5rem;
    display: flex; flex-direction: column; gap: 1.5rem;
    transition: background var(--t-base);
    text-decoration: none; color: inherit;
    position: relative; overflow: hidden;
}
.affiliate-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--c-border);
    transition: background var(--t-slow);
}
.affiliate-card:hover { background: var(--c-bg-warm); }
.affiliate-card:hover::before { background: var(--c-orange); }
.affiliate-card__flag { font-size: 2rem; line-height: 1; }
.affiliate-card__region {
    font-family: var(--f-ui); font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-subtle);
}
.affiliate-card__name {
    font-family: var(--f-display); font-size: 1.4rem; font-weight: 900;
    color: var(--c-dark); line-height: 1.2; letter-spacing: -0.02em;
}
.affiliate-card__desc {
    font-family: var(--f-ui); font-size: 0.875rem; color: var(--c-mid);
    line-height: 1.7; flex: 1;
}
.affiliate-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.affiliate-card__tag {
    font-family: var(--f-ui); font-size: 0.7rem; font-weight: 600;
    background: var(--c-bg-warm); color: var(--c-mid);
    padding: 0.3rem 0.7rem; border-radius: 999px;
    border: 1px solid var(--c-border);
}
.affiliate-card:hover .affiliate-card__tag { background: var(--c-white); }
.affiliate-card__arrow {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--f-ui); font-size: 0.8rem; font-weight: 700;
    color: var(--c-orange); letter-spacing: 0.05em;
    transition: gap var(--t-base);
}
.affiliate-card:hover .affiliate-card__arrow { gap: 0.75rem; }

/* ---- Map Belt ---- */
.map-belt {
    background: var(--c-bg-warm);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

    .map-belt::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(236,132,31,.06) 0%, transparent 65%);
    }

.map-belt__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.map-belt__dots {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.map-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.map-dot__pin {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-orange);
    box-shadow: 0 0 0 4px rgba(236,132,31,.2);
    animation: pinPulse 2.5s ease-in-out infinite;
}

.map-dot:nth-child(2) .map-dot__pin {
    animation-delay: 0.8s;
}

.map-dot:nth-child(3) .map-dot__pin {
    animation-delay: 1.6s;
}

@keyframes pinPulse {
    0%,100% {
        box-shadow: 0 0 0 4px rgba(236,132,31,.2);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(236,132,31,.0);
    }
}

.map-dot__city {
    font-family: var(--f-ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-mid);
    letter-spacing: 0.08em;
}

.map-belt__label {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.map-belt__pin-icon {
    color: var(--c-orange);
    opacity: 0.85;
}
/* ---- Become Partner (CTA) ---- */
.become-partner {
    background: var(--c-bg-warm);
    border-top: 1px solid var(--c-border);
    padding: 5rem 0;
}
.become-partner__inner {
    display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) {
    .become-partner__inner {
        flex-direction: row; align-items: center; justify-content: space-between;
    }
}

/* ---- Affiliate Detail Hero ---- */
.affiliate-hero {
    background: var(--c-dark);
    padding: calc(var(--nav-h) + 4rem) 0 4rem;
    position: relative; overflow: hidden;
}
.affiliate-hero > .container {
    position: relative;
    z-index: 1;
}
.affiliate-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 55% 60% at 85% 30%, rgba(236,132,31,.10) 0%, transparent 60%);
    pointer-events: none;
}
.affiliate-hero__back {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--f-ui); font-size: 0.78rem; font-weight: 600;
    color: rgba(255,255,255,.75); letter-spacing: 0.05em;
    text-decoration: none;
    transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    background: rgba(255,255,255,.06);
}
.affiliate-hero__back:hover {
    color: var(--c-white);
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.35);
}
.affiliate-hero__inner {
    position: relative; z-index: 1;
    display: grid; gap: 3rem;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .affiliate-hero__inner { grid-template-columns: 1fr 380px; align-items: start; }
}
.affiliate-hero__flag { font-size: 3rem; line-height: 1; margin-bottom: 1rem; }
.affiliate-hero__region {
    font-family: var(--f-ui); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--c-orange); margin-bottom: 1rem;
}
.affiliate-hero__title {
    font-family: var(--f-display); font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.8rem);
    color: var(--c-white); line-height: 1.05; letter-spacing: -0.03em;
    max-width: 560px;
}
.affiliate-hero__abbr {
    font-family: var(--f-display); font-size: 1rem; font-weight: 700;
    color: rgba(255,255,255,.35); letter-spacing: 0.15em;
    margin-top: 0.5rem;
}
.affiliate-hero__desc {
    font-family: var(--f-ui); font-size: 1rem; color: rgba(255,255,255,.55);
    line-height: 1.75; max-width: 520px; margin-top: 1.25rem;
}
.affiliate-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---- Affiliate Info Card ---- */
.affiliate-info {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px; padding: 2rem;
    display: flex; flex-direction: column; gap: 1.25rem;
}
.affiliate-info__row {
    display: flex; flex-direction: column; gap: 0.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.affiliate-info__row:last-child { border-bottom: none; padding-bottom: 0; }
.affiliate-info__label {
    font-family: var(--f-ui); font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.3);
}
.affiliate-info__value {
    font-family: var(--f-ui); font-size: 0.9rem; font-weight: 500;
    color: rgba(255,255,255,.8);
}
.affiliate-info__value a { color: var(--c-orange); text-decoration: none; }
.affiliate-info__value a:hover { text-decoration: underline; }

/* ---- Affiliate Content Sections ---- */
.affiliate-section { padding: 4rem 0; }
.affiliate-section + .affiliate-section { border-top: 1px solid var(--c-border); }

/* ---- Collab Grid ---- */
.collab-grid {
    display: grid; gap: 1px;
    grid-template-columns: 1fr;
    background: var(--c-border);
    border: 1px solid var(--c-border);
    border-radius: 6px; overflow: hidden;
    margin-top: 2rem;
}
@media (min-width: 640px) {
    .collab-grid { grid-template-columns: 1fr 1fr; }
}
.collab-item {
    background: var(--c-white);
    padding: 1.75rem 2rem;
}
.collab-item__num {
    font-family: var(--f-display); font-size: 2rem; font-weight: 900;
    color: var(--c-orange); line-height: 1;
}
.collab-item__title {
    font-family: var(--f-display); font-size: 1rem; font-weight: 700;
    color: var(--c-dark); margin-top: 0.5rem;
}
.collab-item__desc {
    font-family: var(--f-ui); font-size: 0.85rem; color: var(--c-mid);
    line-height: 1.65; margin-top: 0.35rem;
}

/* ---- Other Partner Cards ---- */
.other-partner-card:hover { background: var(--c-bg-warm) !important; }


/* --- Cart Page --- */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .cart-page-layout { grid-template-columns: 1fr; }
}

.cart-page-table-head {
  display: grid;
  grid-template-columns: 1fr 160px 120px;
  gap: 1rem;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-subtle);
  border-bottom: 2px solid var(--c-border);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
  .cart-page-table-head { display: none; }
}

.cart-page-row {
  display: grid;
  grid-template-columns: 72px 1fr 160px 120px;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-border);
}
@media (max-width: 600px) {
  .cart-page-row { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; }
  .cart-page-row__qty { grid-column: 2; }
  .cart-page-row__total { grid-column: 2; text-align: left; font-size: 1rem; }
}

.cart-page-row__cover {
  width: 72px;
  height: 72px;
  background: var(--c-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .cart-page-row__cover { width: 56px; height: 56px; }
}

.cart-page-row__name {
  font-family: var(--f-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 0.2rem;
}
.cart-page-row__format {
  font-family: var(--f-ui);
  font-size: 0.78rem;
  color: var(--c-subtle);
  margin-bottom: 0.2rem;
}
.cart-page-row__unit {
  font-family: var(--f-ui);
  font-size: 0.78rem;
  color: var(--c-mid);
}
.cart-page-row__remove {
  font-family: var(--f-ui);
  font-size: 0.72rem;
  color: var(--c-subtle);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 0.35rem;
  text-decoration: underline;
}
.cart-page-row__remove:hover { color: #dc3545; }
.cart-page-row__total {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-dark);
  text-align: right;
}

.cart-page-summary {
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 2rem;
  position: sticky;
  top: 100px;
}
.cart-page-summary__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
}
.cart-page-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-ui);
  font-size: 0.875rem;
  color: var(--c-mid);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--c-border);
  gap: 0.5rem;
}
.cart-page-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-dark);
  padding: 1rem 0 0;
  margin-top: 0.25rem;
}

/* --- Checkout Page --- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col { order: -1; position: static; }
}

.checkout-section-title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 1.75rem;
}

.checkout-field {
  margin-bottom: 1.25rem;
}
.checkout-field label {
  display: block;
  font-family: var(--f-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 0.4rem;
}
.checkout-field .req { color: var(--c-orange); }
.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  font-family: var(--f-ui);
  font-size: 0.9rem;
  color: var(--c-dark);
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color var(--t-fast);
  box-sizing: border-box;
}
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus { border-color: var(--c-orange); }
.checkout-field input.is-invalid,
.checkout-field select.is-invalid { border-color: #dc3545; }
.checkout-field .field-error {
  display: block;
  font-family: var(--f-ui);
  font-size: 0.75rem;
  color: #dc3545;
  margin-top: 0.25rem;
  min-height: 1rem;
}
.checkout-field textarea { resize: vertical; min-height: 80px; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.checkout-form-error {
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  color: #721c24;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--f-ui);
  font-size: 0.875rem;
  margin-top: 1rem;
}
.checkout-form-success {
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #276749;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--f-ui);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.checkout-summary-col {
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 2rem;
  position: sticky;
  top: 100px;
}
@media (max-width: 960px) {
  .checkout-summary-col { position: static; top: auto; }
}
.checkout-order-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-subtle);
  border-bottom: 2px solid var(--c-border);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}
.checkout-order-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--f-ui);
  font-size: 0.875rem;
  color: var(--c-mid);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--c-border);
}
.checkout-order-row small { opacity: 0.65; }
.checkout-order-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-dark);
  padding: 1rem 0 0;
  margin-top: 0.25rem;
}

/* cart-item__unit-price in drawer */
.cart-item__unit-price {
  font-family: var(--f-ui);
  font-size: 0.75rem;
  color: var(--c-subtle);
  margin-top: 0.15rem;
}

/* --- Checkout Progress Steps --- */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 1.5rem 0 0.5rem;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-ui);
  font-size: 0.8rem;
  color: var(--c-subtle);
}
.checkout-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  font-weight: 700;
  font-size: 0.72rem;
  background: var(--c-white);
  flex-shrink: 0;
}
.checkout-step.is-done .checkout-step__num {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-white);
}
.checkout-step.is-active .checkout-step__num {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-white);
}
.checkout-step.is-active .checkout-step__label {
  color: var(--c-dark);
  font-weight: 600;
}
.checkout-step__line {
  flex: 1;
  height: 2px;
  background: var(--c-border);
  margin: 0 0.5rem;
  min-width: 24px;
}
.checkout-step__line.is-done { background: var(--c-orange); }

/* --- Checkout section blocks --- */
.checkout-section-block {
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

/* --- Checkout field req-opt label --- */
.req-opt {
  font-size: 0.72rem;
  color: var(--c-subtle);
  font-weight: 400;
}

/* --- Checkout check field (GDPR) --- */
.checkout-check-field {
  margin-bottom: 0.5rem;
}
.checkout-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--f-ui);
  font-size: 0.875rem;
  color: var(--c-dark);
  cursor: pointer;
  line-height: 1.5;
}
.checkout-check-label input[type=checkbox] {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--c-orange);
  cursor: pointer;
}
.checkout-check-label input[type=checkbox].is-invalid {
  outline: 2px solid #dc3545;
  border-radius: 2px;
}
.checkout-check-label a {
  color: var(--c-orange);
  text-decoration: underline;
}

/* --- Checkout submit button --- */
.checkout-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

/* --- Checkout confirm note (below submit button) --- */
.checkout-confirm-note {
  font-family: var(--f-ui);
  font-size: 0.8rem;
  color: var(--c-mid);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* --- Checkout req note --- */
.checkout-req-note {
  font-family: var(--f-ui);
  font-size: 0.75rem;
  color: var(--c-subtle);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* --- Checkout legal block (withdrawal + checkboxes) --- */
.checkout-legal-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checkout-withdrawal-box {
  background: #eef4fd;
  border: 1px solid #c3d9f5;
  border-radius: 10px;
  padding: 1rem 1.125rem;
  margin-bottom: 0.25rem;
}
.checkout-withdrawal-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #1d5eb5;
  margin-bottom: 0.5rem;
}
.checkout-withdrawal-text {
  font-family: var(--f-ui);
  font-size: 0.875rem;
  color: #3a5a8c;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.checkout-withdrawal-text p { margin: 0 0 0.4rem; }
.checkout-withdrawal-link {
  display: inline-block;
  font-family: var(--f-ui);
  font-size: 0.85rem;
  color: #1d5eb5;
  text-decoration: underline;
  margin-top: 0.25rem;
}
.checkout-withdrawal-link:hover { color: #0d3d80; }

/* --- Checkout order summary extras --- */
.checkout-order-divider {
  height: 1px;
  background: var(--c-border);
  margin: 0.5rem 0;
}
.checkout-order-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-ui);
  font-size: 0.875rem;
  color: var(--c-mid);
  padding: 0.35rem 0;
}
.checkout-order-tax {
  font-family: var(--f-ui);
  font-size: 0.72rem;
  color: var(--c-subtle);
  padding-bottom: 0.5rem;
}
.checkout-order-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--f-ui);
  font-size: 0.875rem;
  color: var(--c-mid);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--c-border);
}
.checkout-order-row__name {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.checkout-order-row__format {
  font-size: 0.72rem;
  color: var(--c-subtle);
}
.checkout-order-row__qty {
  font-size: 0.78rem;
  color: var(--c-subtle);
}
.checkout-order-row__total {
  white-space: nowrap;
  font-weight: 600;
  color: var(--c-dark);
}
.checkout-edit-cart {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--f-ui);
  font-size: 0.82rem;
  color: var(--c-subtle);
  text-decoration: underline;
}
.checkout-edit-cart:hover { color: var(--c-orange); }

/* --- Checkout success state --- */
.checkout-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f0fff4;
  border: 2px solid #9ae6b4;
  color: #276749;
  margin: 0 auto 1.5rem;
}

/* --- Spinner animation --- */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spin { animation: spin 0.8s linear infinite; }

/* ??? Checkout: Radio groups (Payment & Shipping) ???????????????????????? */
.checkout-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
}
.checkout-radio-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--c-border);
  background: #fff;
  transition: background .15s;
  position: relative;
}
.checkout-radio-label:last-of-type { border-bottom: none; }
.checkout-radio-label:hover { background: var(--c-bg-warm); }
.checkout-radio-label.is-selected { background: #f5f9ff; }
.checkout-radio-label input[type="radio"] {
  accent-color: var(--c-orange);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.checkout-radio-content {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}
.checkout-radio-name {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-dark);
}
.checkout-radio-desc {
  font-family: var(--f-ui);
  font-size: .8rem;
  color: var(--c-mid);
}
.checkout-radio-price {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: .9rem;
  color: var(--c-dark);
  white-space: nowrap;
}
.checkout-payment-instructions {
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-top: none;
  padding: .85rem 1.1rem;
  font-family: var(--f-ui);
  font-size: .875rem;
  color: var(--c-mid);
  line-height: 1.6;
  white-space: pre-line;
}

/* ── Events Filter Bar (new pill UI) ── */
.evt-filterbar {
    position: sticky;
    top: var(--nav-h, 64px);
    z-index: 90;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-border);
    padding: 1.25rem 0 0;
    overflow-x: clip;
}

.evt-filterbar > .container > div > div:first-child {
    min-width: 0;
}

.evt-filter-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 0.75rem;
}

.evt-filter-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--f-ui);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-subtle);
}

.evt-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.evt-pill {
    padding: 0.38rem 1rem;
    border: 1.5px solid var(--pill-color, var(--c-border));
    border-radius: 99px;
    background: transparent;
    font-family: var(--f-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pill-color, var(--c-mid));
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
    user-select: none;
    white-space: nowrap;
}

.evt-pill.is-active {
    /*box-shadow: 0 2px 10px rgba(0,0,0,.15);*/
    opacity: 1;
}

.evt-pill.is-dimmed {
    opacity: 0.3;
}

.evt-pill:hover:not(.is-active) {
    opacity: 0.75;
    transform: translateY(-1px);
}

/* Format Info Panel */
.evt-info-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-top: 0px solid var(--c-border);
}

.evt-info-panel.is-open {
    max-height: 120px;
    border-top: 1px solid var(--c-border);
    padding: 0.75rem 0;
}

.evt-info-panel__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #F8F6F3;
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-orange);
    border-radius: 0 8px 8px 0;
    padding: 0.6rem 1rem;
}

.evt-info-panel__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
}

.evt-info-panel__name {
    flex-shrink: 0;
    font-family: var(--f-ui);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--c-orange);
    white-space: nowrap;
}

.evt-info-panel__sep {
    width: 1px;
    height: 14px;
    background: var(--c-border);
    flex-shrink: 0;
}

.evt-info-panel__desc {
    font-family: var(--f-ui);
    font-size: 0.82rem;
    color: var(--c-mid);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .evt-filterbar {
        padding: 0.875rem 0 0;
    }

    .evt-filterbar > .container > div {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .evt-filterbar > .container > div > div:last-child {
        min-width: 0 !important;
        width: 100%;
    }

    .evt-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.25rem;
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
        mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
    }

    .evt-pills::-webkit-scrollbar {
        display: none;
    }

    .evt-pill {
        flex-shrink: 0;
        font-size: 0.78rem;
        padding: 0.32rem 0.85rem;
    }
}

/* KaTeX rendered formula container */
.katex-html {
    display: flex;
}

@media (min-width: 768px) {
    .only-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .only-desktop {
        display: none !important;
    }
}
