/* site palette */
html:root {
    --bg: #1E2023;
    --surface: #2D3034;
    --surface-alt: #202630;
    --text: #ECEEF0;
    --text-muted: #B0B6BF;
    --border: #3A414E;
    --primary: #8C91F6;
    --primary-hover: #666DF3;
    --on-primary: #111111;
    --primary-text: #8C91F6;
    --accent: #93BFE1;
    --on-accent: #111111;
    --accent-text: #93BFE1;
    --dark-band: #0F1520;
    --on-dark: #FFFFFF;
    --on-dark-muted: #B6BBC3;
    --brand-btn-bg: #111111;
    --brand-btn-text: #8C91F6;
    --section-alt-bg: linear-gradient(180deg, #2B2C40 0%, #272838 50%, #202630 100%);
    --dark-band-bg: linear-gradient(180deg, #1D1F36 0%, #18192B 50%, #0F1520 100%);
    --brand-band-bg: linear-gradient(180deg, #8C91F6 0%, #9CA2FF 100%);
    --hero-bg: linear-gradient(180deg, #27293A 0%, #23242E 50%, #1E2023 100%);
    --on-hero: #ECEEF0;
    --footer-bg: linear-gradient(180deg, #1D1F36 0%, #18192B 50%, #0F1520 100%);
    --on-footer: #FFFFFF;
    --on-footer-muted: #B6BBC3;
}

html:root {
    --bs-primary: #8C91F6;
    --bs-primary-rgb: 140, 145, 246;
    --bs-link-color: #8C91F6;
    --bs-link-color-rgb: 140, 145, 246;
    --bs-link-hover-color: #666DF3;
    --mdb-primary: #8C91F6;
    --mdb-primary-rgb: 140, 145, 246;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-color: var(--on-primary);
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary-hover);
    --bs-btn-hover-color: var(--on-primary);
    --bs-btn-active-bg: var(--primary-hover);
    --bs-btn-active-border-color: var(--primary-hover);
    --bs-btn-active-color: var(--on-primary);
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-text);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-hover-color: var(--on-primary);
    color: var(--primary-text);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--on-primary);
}

.text-primary,
.link-primary {
    color: var(--primary-text) !important;
}

.bg-primary,
.text-bg-primary,
.badge.bg-primary {
    color: var(--on-primary) !important;
}

/* /site palette */

.text-muted {
    color: var(--text-muted, #B0B6BF) !important;
}

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

.bjx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bjx-btn:hover {
    background: var(--primary-hover);
    color: #FFFFFF;
    box-shadow: 0 6px 24px rgba(102, 109, 243, 0.6);
}

.bjx-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 22px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    color: var(--primary-text);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bjx-btn-alt:hover {
    background: var(--surface);
    color: var(--primary);
    border-color: var(--primary);
}

.bjx-card {
    --bjx-card-pad: 20px;
    padding: var(--bjx-card-pad);
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

@media (max-width: 768px) {
    .bjx-card {
        --bjx-card-pad: 16px;
    }
}

.bjx-card:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 36px -4px rgba(140, 145, 246, 0.4);
}

.bjx-card:hover .bjx-media img {
    filter: brightness(1.08);
}

.bjx-card:not([class*="row"]):not([class*="grid"]):not([class*="horizontal"])>.bjx-media:first-child {
    margin: calc(-1 * var(--bjx-card-pad)) calc(-1 * var(--bjx-card-pad)) var(--bjx-card-pad);
    border-radius: 0;
    border: 0;
}

.bjx-media {
    position: relative;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--surface-alt);
}

.bjx-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.25s ease;
}

.bjx-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.bjx-title-wrap {
    position: relative;
    margin-bottom: 32px;
}

.bjx-title-watermark {
    position: absolute;
    left: 0;
    top: -35px;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15);
    color: transparent;
    user-select: none;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.bjx-title {
    position: relative;
    z-index: 1;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text);
    margin: 0;
}

.bjx-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 12px;
    box-shadow: 0 0 10px rgba(140, 145, 246, 0.5);
}

@media (max-width: 768px) {
    .bjx-title {
        font-size: 1.75rem;
    }

    .bjx-title-watermark {
        font-size: 3rem;
        top: -20px;
    }
}

.bjx-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--primary);
    color: var(--on-primary);
    line-height: 1;
}

.bjx-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--surface-alt);
    color: var(--primary);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.bjx-section {
    padding: 80px 0;
    background: var(--bg);
    position: relative;
    border-bottom: 1px solid rgba(140, 145, 246, 0.3);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
}

.bjx-section-alt {
    padding: 80px 0;
    background: var(--section-alt-bg, var(--surface-alt));
    position: relative;
    border-bottom: 1px solid rgba(140, 145, 246, 0.3);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
}

.bjx-section-dark {
    padding: 80px 0;
    background: var(--dark-band-bg, var(--dark-band));
    color: var(--on-dark);
    position: relative;
    border-bottom: 1px solid rgba(140, 145, 246, 0.3);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
}

.bjx-section-brand {
    padding: 80px 0;
    background: var(--brand-band-bg, var(--primary));
    color: var(--on-primary);
    position: relative;
}

.bjx-section-brand .bjx-btn {
    background: var(--brand-btn-bg, #111111);
    color: var(--brand-btn-text, #8C91F6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.bjx-section-brand .bjx-btn:hover {
    background: #202630;
    color: #ECEEF0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.bjx-section-brand .bjx-btn-alt {
    border-color: var(--on-primary);
    color: var(--on-primary);
    background: transparent;
}

.bjx-section-brand .bjx-btn-alt:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--on-primary);
}

@media (max-width: 768px) {

    .bjx-section,
    .bjx-section-alt,
    .bjx-section-dark,
    .bjx-section-brand {
        padding: 48px 0;
    }
}

.bjx-on-dark,
.bjx-section-dark {
    color: var(--on-dark);
}

.bjx-on-dark h1,
.bjx-on-dark h2,
.bjx-on-dark h3,
.bjx-on-dark h4,
.bjx-on-dark h5,
.bjx-on-dark h6,
.bjx-section-dark h1,
.bjx-section-dark h2,
.bjx-section-dark h3,
.bjx-section-dark h4,
.bjx-section-dark h5,
.bjx-section-dark h6 {
    color: var(--on-dark);
}

.bjx-on-dark a,
.bjx-section-dark a {
    color: var(--primary);
}

.bjx-on-dark .bjx-eyebrow,
.bjx-section-dark .bjx-eyebrow {
    color: var(--accent);
}

.bjx-on-dark .bjx-title,
.bjx-section-dark .bjx-title {
    color: var(--on-dark);
}

.bjx-on-dark .bjx-btn-alt,
.bjx-section-dark .bjx-btn-alt {
    border-color: var(--on-dark);
    color: var(--on-dark);
}

.bjx-on-dark .bjx-card,
.bjx-section-dark .bjx-card {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.bjx-on-dark .bjx-card .bjx-title,
.bjx-section-dark .bjx-card .bjx-title {
    color: var(--text);
}

.bjx-card:not([class*="row"]):not([class*="grid"]):not([class*="horizontal"]):not([class*="list"]):not([class*="side"]):not([class*="split"]):not([class*="wide"]):not([class*="inline"])>.bjx-media:first-child {
    width: calc(100% + 2 * var(--bjx-card-pad, 0px));
    max-width: none
}


/* ===== header ===== */
.fosskok-header {
    background-color: #0F1520;
    border-bottom: 1px solid rgba(140, 145, 246, 0.28);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    z-index: 1030;
    position: sticky;
    top: 0;
    width: 100%;
}

.fosskok-header .fosskok-navbar {
    background-color: #0F1520;
    padding: 14px 0;
}

.fosskok-header .fosskok-brand-logo {
    width: 44px;
    height: 44px;
    max-width: 44px;
    object-fit: contain;
    display: block;
}

.fosskok-header .fosskok-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ECEEF0;
    line-height: 1.2;
}

.fosskok-header .fosskok-toggler {
    background-color: #202630;
    border: 1px solid #3A414E;
    border-radius: 8px;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.fosskok-header .fosskok-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(140, 145, 246, 0.35);
    border-color: #8C91F6;
}

.fosskok-header .fosskok-toggler-icon {
    color: #8C91F6;
}

.fosskok-header .fosskok-nav-list {
    gap: 8px;
}

.fosskok-header .fosskok-nav-link {
    color: #B0B6BF;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.fosskok-header .fosskok-nav-link:hover,
.fosskok-header .fosskok-nav-link:focus {
    color: #8C91F6;
    background-color: rgba(140, 145, 246, 0.1);
}

.fosskok-header .fosskok-nav-link.active {
    color: #FFFFFF;
    font-weight: 700;
    background-color: rgba(140, 145, 246, 0.16);
}

.fosskok-header .fosskok-header-phone {
    color: #ECEEF0;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.fosskok-header .fosskok-header-phone:hover {
    color: #8C91F6;
}

.fosskok-header .fosskok-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: #202630;
    border: 1px solid #3A414E;
    color: #8C91F6;
    flex-shrink: 0;
}

.fosskok-header .fosskok-cta-btn {
    background-color: #8C91F6;
    color: #111111;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.fosskok-header .fosskok-cta-btn:hover,
.fosskok-header .fosskok-cta-btn:focus {
    background-color: #666DF3;
    color: #FFFFFF;
    box-shadow: 0 6px 24px rgba(102, 109, 243, 0.6);
}

@media (max-width: 991.98px) {
    .fosskok-header .navbar-collapse {
        background-color: #0F1520;
        border-top: 1px solid #3A414E;
        margin-top: 14px;
        padding: 18px 12px 14px;
        border-radius: 0 0 10px 10px;
    }

    .fosskok-header .fosskok-nav-link {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .fosskok-header .fosskok-header-actions {
        border-top: 1px solid rgba(58, 65, 78, 0.6);
        margin-top: 12px;
    }

    .fosskok-header .fosskok-cta-btn {
        width: 100%;
        display: block;
    }
}

/* ===== hero ===== */
.foss-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(140, 145, 246, 0.3);
}

.foss-hero .foss-hero__video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.foss-hero .foss-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foss-hero .foss-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 21, 32, 0.94) 0%, rgba(30, 32, 35, 0.88) 55%, rgba(29, 31, 54, 0.92) 100%);
    z-index: 2;
}

.foss-hero .foss-hero__content-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
}

.foss-hero .foss-hero__text-block {
    z-index: 2;
}

.foss-hero .foss-hero__watermark {
    position: absolute;
    top: -36px;
    left: -10px;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15);
    user-select: none;
    pointer-events: none;
    z-index: 0;
    letter-spacing: 0.08em;
}

.foss-hero .foss-hero__pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    display: inline-block;
    box-shadow: 0 0 8px var(--primary);
}

.foss-hero .foss-hero__video-note {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.foss-hero .foss-hero__title {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--on-dark);
}

.foss-hero .foss-hero__title-accent {
    color: var(--primary);
}

.foss-hero .foss-hero__lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--on-dark-muted);
    max-width: 580px;
}

.foss-hero .foss-hero__actions {
    margin-top: 1.5rem;
}

.foss-hero .foss-hero__btn-main,
.foss-hero .foss-hero__btn-sub {
    text-decoration: none;
    min-height: 48px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.foss-hero .foss-hero__btn-main:hover {
    transform: translateY(-2px);
}

.foss-hero .foss-hero__btn-sub:hover {
    transform: translateY(-2px);
}

.foss-hero .foss-hero__features {
    border-top: 1px solid rgba(140, 145, 246, 0.2);
}

.foss-hero .foss-hero__feature-item {
    font-size: 0.9rem;
    color: var(--on-dark-muted);
    white-space: nowrap;
}

.foss-hero .foss-hero__check-icon {
    color: var(--primary);
}

.foss-hero .foss-hero__stage-wrapper {
    position: relative;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.foss-hero .foss-hero__stage-glow {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, rgba(140, 145, 246, 0.3) 0%, rgba(140, 145, 246, 0) 70%);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

.foss-hero .foss-hero__card {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.25);
    overflow: hidden;
}

.foss-hero .foss-hero__card-media {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--surface-alt);
}

.foss-hero .foss-hero__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.foss-hero .foss-hero__card:hover .foss-hero__card-media img {
    transform: scale(1.04);
}

.foss-hero .foss-hero__card-body {
    padding: 1.25rem;
}

.foss-hero .foss-hero__card-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.foss-hero .foss-hero__card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.foss-hero .foss-hero__card-link {
    color: var(--text);
    transition: color 0.2s ease;
}

.foss-hero .foss-hero__card-link:hover {
    color: var(--primary);
}

.foss-hero .foss-hero__card-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.foss-hero .foss-hero__price-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.foss-hero .foss-hero__card-btn {
    text-decoration: none;
    font-size: 0.875rem;
    padding: 6px 14px;
    border-radius: 6px;
}

.foss-hero .foss-hero__bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(140, 145, 246, 0.3);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
    z-index: 4;
}

@media (max-width: 767.98px) {
    .foss-hero {
        min-height: auto;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .foss-hero .foss-hero__title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        hyphens: auto;
    }

    .foss-hero .foss-hero__lead {
        font-size: 0.95rem;
    }

    .foss-hero .foss-hero__watermark {
        font-size: 3rem;
        top: -20px;
    }

    .foss-hero .foss-hero__actions {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem;
    }

    .foss-hero .foss-hero__btn-main,
    .foss-hero .foss-hero__btn-sub {
        width: 100%;
    }

    .foss-hero .foss-hero__card-title {
        font-size: 14px !important;
    }

    .foss-hero .foss-hero__stage-wrapper {
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* ===== new_arrivals ===== */
.new-arrivals-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.new-arrivals-section__header-wrap {
    position: relative;
    margin-bottom: 40px;
}

.new-arrivals-section__watermark {
    position: absolute;
    top: -24px;
    left: 0;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(17, 17, 17, 0.15);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

.new-arrivals-section__header-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.new-arrivals-section__eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--on-primary);
    margin-bottom: 8px;
    display: inline-block;
}

.new-arrivals-section__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: 12px;
}

.new-arrivals-section__lead {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.85);
    margin-bottom: 0;
}

.new-arrivals-section__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.new-arrivals-section__card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 36px -4px rgba(140, 145, 246, 0.4);
}

.new-arrivals-section__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-alt);
}

.new-arrivals-section__media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.new-arrivals-section__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.25s ease;
}

.new-arrivals-section__card:hover .new-arrivals-section__img {
    filter: brightness(1.08);
}

.new-arrivals-section__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    z-index: 3;
}

.new-arrivals-section__body {
    padding: 20px;
}

.new-arrivals-section__item-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.new-arrivals-section__title-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.new-arrivals-section__title-link:hover,
.new-arrivals-section__title-link:focus {
    color: var(--primary-text);
}

.new-arrivals-section__item-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.new-arrivals-section__price-wrap {
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.new-arrivals-section__price-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.new-arrivals-section__price {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary-text);
    letter-spacing: -0.01em;
}

.new-arrivals-section .bjx-btn {
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.new-arrivals-section .bjx-btn:hover,
.new-arrivals-section .bjx-btn:focus {
    background: var(--primary-hover);
    color: #FFFFFF;
    box-shadow: 0 6px 24px rgba(102, 109, 243, 0.6);
}

@media (max-width: 767px) {
    .new-arrivals-section {
        padding: 48px 0;
    }

    .new-arrivals-section__header-wrap {
        margin-bottom: 28px;
    }

    .new-arrivals-section__watermark {
        top: -12px;
        font-size: 2.5rem;
    }

    .new-arrivals-section__title {
        font-size: 1.25rem;
    }

    .new-arrivals-section__body {
        padding: 16px;
    }
}

/* ===== categories ===== */
.categories-section {
    position: relative;
    background-color: var(--bg);
    color: var(--text);
    border-bottom: 1px solid rgba(140, 145, 246, 0.3);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
}

.categories-section .categories-watermark {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.categories-section .bjx-eyebrow {
    color: var(--primary);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.categories-section .bjx-title {
    color: var(--text);
    font-size: 2.25rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.categories-section .categories-counter {
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.categories-section .categories-mini-icon {
    color: var(--primary);
}

.categories-section .categories-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.categories-section .categories-card:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 36px -4px rgba(140, 145, 246, 0.4);
}

.categories-section .categories-thumb-wrap {
    width: 220px;
    min-height: 190px;
    overflow: hidden;
}

.categories-section .categories-img {
    object-fit: cover;
    display: block;
    transition: filter 0.25s ease;
}

.categories-section .categories-card:hover .categories-img {
    filter: brightness(1.08);
}

.categories-section .categories-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 32, 35, 0) 60%, rgba(30, 32, 35, 0.8) 100%);
    pointer-events: none;
}

.categories-section .categories-content {
    background: transparent;
}

.categories-section .categories-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.categories-section .categories-item-title {
    font-size: 1.25rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.categories-section .categories-title-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.categories-section .categories-title-link:hover {
    color: var(--primary);
}

.categories-section .categories-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.categories-section .categories-action-wrap {
    border-color: rgba(58, 65, 78, 0.5) !important;
}

.categories-section .categories-badge-sub {
    font-size: 0.8rem;
    color: var(--accent);
}

.categories-section .categories-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    display: inline-block;
    flex-shrink: 0;
}

.categories-section .categories-subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.categories-section .categories-footer-nav {
    border-color: rgba(58, 65, 78, 0.6) !important;
}

@media (max-width: 767.98px) {
    .categories-section .bjx-title {
        font-size: 1rem;
    }

    .categories-section .categories-watermark {
        font-size: 3rem;
        top: 5px;
        left: 10px;
    }

    .categories-section .categories-item-title {
        font-size: 0.875rem;
    }

    .categories-section .categories-card {
        flex-direction: column !important;
    }

    .categories-section .categories-thumb-wrap {
        width: 100% !important;
        height: 180px;
        min-height: unset;
    }

    .categories-section .categories-footer-nav {
        flex-direction: column;
    }
}

/* ===== bundle_offers ===== */
.bundle-offers-block {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.bundle-offers-block .bundle-offers-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(140, 145, 246, 0.3);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
}

.bundle-offers-block .bundle-offers-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
}

.bundle-offers-block .bundle-offers-header {
    position: relative;
    margin-bottom: 40px;
    text-align: left;
}

.bundle-offers-block .bundle-offers-watermark {
    position: absolute;
    top: -26px;
    left: -4px;
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15);
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.bundle-offers-block .bjx-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bundle-offers-block .bjx-title {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.bundle-offers-block .bundle-offers-subtitle {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.bundle-offers-block .bundle-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bundle-offers-block .bundle-card:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 36px -4px rgba(140, 145, 246, 0.35);
}

.bundle-offers-block .bundle-card--featured {
    border-color: rgba(140, 145, 246, 0.45);
    box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.22);
}

.bundle-offers-block .bundle-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--surface-alt);
}

.bundle-offers-block .bundle-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.bundle-offers-block .bundle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.25s ease;
}

.bundle-offers-block .bundle-card:hover .bundle-image {
    filter: brightness(1.08);
}

.bundle-offers-block .bundle-save-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.bundle-offers-block .bundle-card-body {
    padding: 24px;
}

.bundle-offers-block .bundle-card-title {
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.bundle-offers-block .bundle-title-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bundle-offers-block .bundle-title-link:hover {
    color: var(--primary);
}

.bundle-offers-block .bundle-card-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

.bundle-offers-block .bundle-items-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bundle-offers-block .bundle-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.bundle-offers-block .bundle-item-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: var(--primary-text);
    margin-top: 2px;
}

.bundle-offers-block .bundle-pricing-box {
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.bundle-offers-block .bundle-price-row {
    line-height: 1.2;
}

.bundle-offers-block .bundle-price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-text);
    letter-spacing: -0.01em;
}

.bundle-offers-block .bundle-price-original {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.bundle-offers-block .bundle-discount-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-text);
    background: rgba(147, 191, 225, 0.12);
    border: 1px solid rgba(147, 191, 225, 0.3);
    padding: 2px 7px;
    border-radius: 4px;
}

.bundle-offers-block .bundle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.bundle-offers-block .bundle-btn:hover {
    background-color: var(--primary-hover);
    color: #FFFFFF;
    box-shadow: 0 6px 24px rgba(102, 109, 243, 0.55);
}

@media (max-width: 767.98px) {
    .bundle-offers-block {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .bundle-offers-block .bjx-title {
        font-size: 16px;
        hyphens: auto;
    }

    .bundle-offers-block .bundle-card-title {
        font-size: 14px;
        hyphens: auto;
    }

    .bundle-offers-block .bundle-card-body {
        padding: 16px;
    }

    .bundle-offers-block .bundle-offers-watermark {
        font-size: 2.75rem;
        top: -18px;
    }

    .bundle-offers-block .bundle-price-current {
        font-size: 1.25rem;
    }
}

/* ===== back_in_stock ===== */
.fosskok-stock-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden
}

.fosskok-stock-header {
    position: relative;
    margin-bottom: 32px
}

.fosskok-stock-watermark {
    position: absolute;
    top: -28px;
    left: 0;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15);
    user-select: none;
    pointer-events: none;
    z-index: 1
}

.fosskok-stock-header-content {
    position: relative;
    z-index: 2
}

.fosskok-stock-section .bjx-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px
}

.fosskok-stock-section .bjx-title {
    color: var(--on-dark);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px
}

.fosskok-stock-lead {
    color: var(--on-dark-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 0
}

.fosskok-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s ease, box-shadow 0.25s ease
}

.fosskok-product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 36px -4px rgba(140, 145, 246, 0.35)
}

.fosskok-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background-color: var(--surface-alt);
    overflow: hidden
}

.fosskok-media-link {
    display: block;
    width: 100%;
    height: 100%
}

.fosskok-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.25s ease
}

.fosskok-product-card:hover .fosskok-product-img {
    filter: brightness(1.08)
}

.fosskok-stock-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3)
}

.fosskok-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px
}

.fosskok-product-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px
}

.fosskok-title-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease
}

.fosskok-title-link:hover {
    color: var(--primary)
}

.fosskok-product-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    margin-bottom: 20px
}

.fosskok-meta-label {
    color: var(--text-muted)
}

.fosskok-meta-val {
    color: var(--text);
    font-weight: 500
}

.fosskok-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(140, 145, 246, 0.2)
}

.fosskok-price-wrap {
    display: inline-flex;
    align-items: baseline
}

.fosskok-price {
    color: var(--primary);
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.01em
}

.fosskok-card-btn {
    background-color: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease
}

.fosskok-card-btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(102, 109, 243, 0.55)
}

.fosskok-subscribe-card {
    margin-top: 48px;
    padding: 36px 32px;
    background: var(--section-alt-bg);
    border: 1px solid rgba(140, 145, 246, 0.3);
    border-radius: 12px;
    box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.2)
}

.fosskok-sub-title {
    color: var(--on-dark);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 4px;
    margin-bottom: 8px
}

.fosskok-sub-desc {
    color: var(--on-dark-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0
}

.fosskok-notify-form {
    width: 100%
}

.fosskok-form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.fosskok-input-group {
    display: flex;
    align-items: stretch;
    gap: 10px
}

.fosskok-input {
    flex-grow: 1;
    min-width: 0;
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease
}

.fosskok-input::placeholder {
    color: var(--text-muted);
    opacity: 1
}

.fosskok-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(140, 145, 246, 0.3)
}

.fosskok-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 8px;
    border: none;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    cursor: pointer
}

.fosskok-submit-btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(102, 109, 243, 0.6)
}

.fosskok-btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0
}

.fosskok-consent-wrap {
    display: flex;
    align-items: flex-start
}

.fosskok-consent-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    user-select: none
}

.fosskok-consent-checkbox {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer
}

.fosskok-consent-text {
    color: var(--on-dark-muted);
    font-size: 0.8125rem;
    line-height: 1.5
}

.fosskok-privacy-link {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease
}

.fosskok-privacy-link:hover {
    color: var(--primary-hover)
}

.fosskok-form-feedback {
    font-size: 0.8125rem;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5
}

@media (max-width:991px) {
    .fosskok-stock-section {
        padding-top: 56px;
        padding-bottom: 56px
    }

    .fosskok-subscribe-card {
        padding: 28px 20px;
        margin-top: 36px
    }
}

@media (max-width:767px) {
    .fosskok-stock-section {
        padding-top: 44px;
        padding-bottom: 44px
    }

    .fosskok-stock-watermark {
        font-size: 3.5rem;
        top: -18px
    }

    .fosskok-stock-section .bjx-title {
        font-size: 1rem;
        hyphens: auto
    }

    .fosskok-sub-title {
        font-size: 0.875rem;
        hyphens: auto
    }

    .fosskok-input-group {
        flex-direction: column
    }

    .fosskok-submit-btn {
        width: 100%
    }
}

/* ===== referral_bonus ===== */
.referral-bonus-section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    overflow: hidden;
}

.referral-bonus-section .referral-header {
    position: relative;
    z-index: 1;
}

.referral-bonus-section .referral-watermark {
    position: absolute;
    top: -24px;
    left: 0;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(140, 145, 246, 0.12);
    user-select: none;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

.referral-bonus-section .bjx-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.referral-bonus-section .bjx-title {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
}

.referral-bonus-section .referral-lead {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.6;
}

.referral-bonus-section .referral-glow-line {
    width: 100%;
    height: 1px;
    background: rgba(140, 145, 246, 0.3);
    box-shadow: 0 1px 10px rgba(140, 145, 246, 0.25);
}

.referral-bonus-section .referral-tier-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.referral-bonus-section .referral-tier-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.25);
}

.referral-bonus-section .referral-badge {
    display: inline-block;
    background: rgba(140, 145, 246, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.referral-bonus-section .referral-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.referral-bonus-section .referral-amount-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 6px;
}

.referral-bonus-section .referral-currency {
    font-size: 0.875rem;
    color: var(--accent-text);
    font-weight: 600;
}

.referral-bonus-section .referral-value {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
}

.referral-bonus-section .referral-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.referral-bonus-section .referral-check-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.referral-bonus-section .referral-perks li span {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.4;
}

.referral-bonus-section .referral-interaction-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
}

.referral-bonus-section .referral-form-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

.referral-bonus-section .referral-form-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.referral-bonus-section .referral-copy-box {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.referral-bonus-section .referral-input-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.referral-bonus-section .referral-input {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
}

.referral-bonus-section .referral-input::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

.referral-bonus-section .referral-input:focus {
    background: var(--surface-alt);
    color: var(--text);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(140, 145, 246, 0.3);
}

.referral-bonus-section .referral-copy-btn {
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

.referral-bonus-section .referral-copy-feedback {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.referral-bonus-section .referral-consent-box {
    min-height: auto;
    padding-left: 1.8em;
}

.referral-bonus-section .referral-checkbox {
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    cursor: pointer;
}

.referral-bonus-section .referral-checkbox:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.referral-bonus-section .referral-consent-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
}

.referral-bonus-section .referral-inline-link {
    color: var(--primary);
    text-decoration: underline;
}

.referral-bonus-section .referral-inline-link:hover {
    color: var(--primary-hover);
}

.referral-bonus-section .referral-submit-btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
}

@media (max-width: 767px) {
    .referral-bonus-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .referral-bonus-section .referral-watermark {
        font-size: 3.25rem;
        top: -14px;
    }

    .referral-bonus-section .bjx-title {
        font-size: 1rem;
        hyphens: auto;
    }

    .referral-bonus-section .referral-card-title,
    .referral-bonus-section .referral-form-heading {
        font-size: 0.875rem;
        hyphens: auto;
    }

    .referral-bonus-section .referral-tier-card,
    .referral-bonus-section .referral-interaction-card {
        padding: 16px;
    }

    .referral-bonus-section .referral-copy-box .d-flex {
        flex-direction: column;
    }

    .referral-bonus-section .referral-copy-btn {
        width: 100%;
    }
}

/* ===== footer ===== */
.bjx-footer {
    background: var(--footer-bg, #1D1F36);
    color: var(--on-footer, #FFFFFF);
    position: relative;
    overflow: hidden;
    padding-top: 40px;
}

.bjx-footer-cta-wrap {
    padding-bottom: 32px;
}

.bjx-footer-cta-box {
    background: linear-gradient(135deg, rgba(45, 48, 52, 0.9) 0%, rgba(32, 38, 48, 0.95) 100%);
    border: 1px solid rgba(140, 145, 246, 0.3);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.bjx-footer-cta-heading {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--on-dark, #FFFFFF);
}

.bjx-footer-divider {
    height: 1px;
    background: rgba(140, 145, 246, 0.25);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.2);
    margin: 0;
    width: 100%;
}

.bjx-footer-main {
    padding: 48px 0 36px;
}

.bjx-footer-brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary, #8C91F6);
    margin-bottom: 12px;
}

.bjx-footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--on-footer-muted, #B6BBC3);
    margin-bottom: 20px;
    max-width: 320px;
    overflow-wrap: anywhere;
}

.bjx-footer-pay-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--on-footer-muted, #B6BBC3);
    margin-bottom: 8px;
}

.bjx-pay-card {
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.bjx-footer-col-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--on-footer, #FFFFFF);
    margin-bottom: 16px;
}

.bjx-footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bjx-footer-link {
    font-size: 0.9rem;
    color: var(--on-footer-muted, #B6BBC3);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    overflow-wrap: anywhere;
}

.bjx-footer-link:hover,
.bjx-footer-link:focus {
    color: var(--primary, #8C91F6);
    text-decoration: none;
}

.bjx-footer-contact-list {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--on-footer-muted, #B6BBC3);
}

.bjx-footer-contact-text {
    overflow-wrap: anywhere;
    color: var(--on-footer-muted, #B6BBC3);
}

.bjx-icon-lead {
    color: var(--primary, #8C91F6);
}

.bjx-footer-bottom {
    background: rgba(15, 21, 32, 0.85);
    border-top: 1px solid rgba(58, 65, 78, 0.6);
    padding: 18px 0;
}

.bjx-footer-copy,
.bjx-footer-subcopy {
    font-size: 0.8rem;
    color: var(--on-footer-muted, #B6BBC3);
    margin: 0;
}

@media(max-width:767px) {
    .bjx-footer {
        padding-top: 28px;
    }

    .bjx-footer-cta-box {
        padding: 20px;
    }

    .bjx-footer-cta-heading {
        font-size: 1.1rem;
    }

    .bjx-footer-main {
        padding: 32px 0 24px;
    }

    .bjx-footer-col {
        width: 100%;
    }

    .bjx-footer-desc {
        max-width: 100%;
    }
}

/* ===== PAGE: privacy ===== */
.policy-content{color:var(--text);background-color:transparent;font-family:'Noto Sans SC',sans-serif;line-height:1.7;padding:32px 16px;max-width:1120px;margin:0 auto;overflow-wrap:anywhere;hyphens:auto}.policy-content .policy-meta-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:32px;padding-bottom:16px;border-bottom:1px solid rgba(140,145,246,0.3);box-shadow:0 1px 12px rgba(140,145,246,0.15)}.policy-content .policy-badge{background:var(--primary);color:var(--on-primary);font-size:0.875rem;font-weight:700;padding:4px 10px;border-radius:4px;display:inline-flex;align-items:center}.policy-content .policy-date-label{color:var(--text-muted);font-size:0.875rem;font-weight:500}.policy-content .policy-section{margin-bottom:36px;padding-bottom:28px;border-bottom:1px solid rgba(58,65,78,0.4)}.policy-content .policy-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.policy-content h2{color:var(--text);font-size:1.5rem;font-weight:700;line-height:1.3;letter-spacing:-0.01em;margin-top:0;margin-bottom:18px}.policy-content p{color:var(--text);font-size:1rem;line-height:1.7;margin-top:0;margin-bottom:16px}.policy-content ul{margin-top:0;margin-bottom:18px;padding-left:22px;list-style:disc}.policy-content li{color:var(--text);font-size:0.975rem;line-height:1.65;margin-bottom:10px}.policy-content li strong{color:var(--accent-text);font-weight:600}.policy-content .policy-contact-box{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px;margin-top:20px;box-shadow:0 8px 24px -4px rgba(0,0,0,0.45)}.policy-content .policy-contact-box p{margin-bottom:10px;color:var(--text);font-size:0.95rem}.policy-content .policy-contact-box p:last-child{margin-bottom:0}.policy-content .policy-link{color:var(--primary-text);text-decoration:none;transition:color 0.2s ease}.policy-content .policy-link:hover,.policy-content .policy-link:focus{color:var(--primary-hover);text-decoration:underline}@media (max-width:767px){.policy-content{padding:24px 12px}.policy-content h2{font-size:16px;line-height:1.3;margin-bottom:14px}.policy-content p{font-size:0.925rem;line-height:1.6;margin-bottom:14px}.policy-content li{font-size:0.9rem;line-height:1.55}.policy-content .policy-contact-box{padding:16px;border-radius:10px}}

/* ===== PAGE: terms ===== */
.policy-content { color: var(--text); background: transparent; font-family: 'Noto Sans SC', sans-serif; line-height: 1.65; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; padding: 32px 16px; margin: 0 auto; max-width: 960px; } .policy-content .policy-intro { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid rgba(140, 145, 246, 0.3); box-shadow: 0 1px 12px rgba(140, 145, 246, 0.15); } .policy-content .policy-lead { font-size: 1.125rem; color: var(--text); line-height: 1.7; margin-bottom: 12px; } .policy-content .policy-meta { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0; } .policy-content .policy-section { margin-bottom: 32px; } .policy-content h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; color: var(--text); margin-top: 24px; margin-bottom: 16px; position: relative; padding-left: 14px; } .policy-content h2::before { content: ''; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 4px; border-radius: 2px; background: var(--primary); box-shadow: 0 0 8px rgba(140, 145, 246, 0.6); } .policy-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; } .policy-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; color: var(--text-muted); } .policy-content li { margin-bottom: 8px; line-height: 1.6; } .policy-content strong { color: var(--text); font-weight: 600; } .policy-content a { color: var(--primary-text); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; } .policy-content a:hover, .policy-content a:focus { color: var(--primary-hover); border-bottom-color: var(--primary-hover); outline: none; } .policy-content .policy-contact-list { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px 24px; margin-top: 16px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); } .policy-content .policy-contact-list p { margin-bottom: 10px; color: var(--text); } .policy-content .policy-contact-list p:last-child { margin-bottom: 0; } @media (max-width: 767px) { .policy-content { padding: 24px 12px; } .policy-content h2 { font-size: 16px; margin-top: 18px; margin-bottom: 12px; padding-left: 10px; } .policy-content .policy-lead { font-size: 14px; } .policy-content p, .policy-content li { font-size: 13px; line-height: 1.6; } .policy-content .policy-contact-list { padding: 16px; } }

/* ===== PAGE: disclaimer ===== */
.policy-content { color: var(--text); background: transparent; font-family: 'Noto Sans SC', sans-serif; line-height: 1.65; font-size: 1rem; overflow-wrap: anywhere; hyphens: auto; word-break: break-word; } .policy-content .policy-meta-info { display: inline-flex; align-items: center; font-size: 0.875rem; font-weight: 500; color: var(--primary-text); margin-bottom: 24px; padding: 6px 14px; background: rgba(140, 145, 246, 0.1); border: 1px solid rgba(140, 145, 246, 0.25); border-radius: 6px; } .policy-content .policy-lead-box { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 8px; padding: 20px 24px; margin-bottom: 36px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35); } .policy-content .policy-lead-box p { margin: 0; color: var(--text); font-size: 1.05rem; line-height: 1.7; } .policy-content .policy-section-group { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(140, 145, 246, 0.2); } .policy-content .policy-section-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .policy-content h2 { color: var(--text); font-size: 1.35rem; font-weight: 700; line-height: 1.3; margin-top: 0; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--primary); letter-spacing: -0.01em; } .policy-content p { color: var(--text); font-size: 0.975rem; margin-top: 0; margin-bottom: 16px; line-height: 1.7; } .policy-content ul { list-style: disc; margin: 0 0 18px 24px; padding: 0; color: var(--text); } .policy-content ul li { margin-bottom: 10px; line-height: 1.65; font-size: 0.975rem; color: var(--text); } .policy-content ul li strong { color: var(--accent-text); font-weight: 600; } .policy-content a { color: var(--primary-text); text-decoration: none; border-bottom: 1px dashed var(--primary); transition: color 0.2s ease, border-bottom 0.2s ease; } .policy-content a:hover, .policy-content a:focus { color: var(--primary-hover); border-bottom-style: solid; outline: none; } @media (max-width: 767px) { .policy-content h1 { font-size: 18px; line-height: 1.25; } .policy-content h2 { font-size: 16px; line-height: 1.3; padding-left: 8px; border-left-width: 2px; } .policy-content h3 { font-size: 14px; line-height: 1.3; } .policy-content .policy-lead-box { padding: 16px; margin-bottom: 24px; } .policy-content .policy-lead-box p { font-size: 0.925rem; } .policy-content p, .policy-content ul li { font-size: 0.9rem; } .policy-content ul { margin-left: 18px; margin-bottom: 14px; } }

/* ===== PAGE: refound ===== */
.policy-content { width: 100%; max-width: 960px; margin: 0 auto; padding: 48px 24px; color: var(--text); background: transparent; overflow-wrap: anywhere; word-break: normal; } .policy-content h2 { color: var(--text); font-size: 1.75rem; font-weight: 700; line-height: 1.25; margin-top: 40px; margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 14px; } .policy-content h2:first-child { margin-top: 0; } .policy-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 18px; } .policy-content ul { list-style: disc; margin: 0 0 24px 24px; padding: 0; } .policy-content li { color: var(--text-muted); font-size: 1rem; line-height: 1.65; margin-bottom: 12px; } .policy-content strong { color: var(--text); font-weight: 600; } .policy-content a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; } .policy-content a:hover, .policy-content a:focus { color: var(--primary-hover); text-decoration: underline; } @media (max-width: 767px) { .policy-content { padding: 32px 16px; } .policy-content h2 { font-size: 16px; margin-top: 28px; margin-bottom: 14px; border-left-width: 3px; padding-left: 10px; hyphens: auto; } .policy-content p, .policy-content li { font-size: 14px; line-height: 1.6; } .policy-content ul { margin-left: 20px; margin-bottom: 20px; } }

/* ===== PAGE: delivery ===== */
.policy-content { color: var(--text); background: var(--bg); padding: 48px 24px; max-width: 960px; margin: 0 auto; line-height: 1.7; font-family: 'Noto Sans SC', sans-serif; overflow-wrap: anywhere; hyphens: auto; } .policy-content .delivery-doc-header { border-bottom: 1px solid rgba(140, 145, 246, 0.3); padding-bottom: 20px; margin-bottom: 36px; box-shadow: 0 1px 12px rgba(140, 145, 246, 0.15); } .policy-content .delivery-meta { margin-bottom: 8px; font-size: 0.95rem; color: var(--text-muted); } .policy-content .delivery-meta strong { color: var(--text); } .policy-content .delivery-section { margin-bottom: 36px; } .policy-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-top: 0; margin-bottom: 16px; line-height: 1.3; } .policy-content p { margin-top: 0; margin-bottom: 16px; color: var(--text); font-size: 1rem; } .policy-content ul { margin: 0 0 20px 0; padding-left: 20px; } .policy-content li { margin-bottom: 10px; color: var(--text-muted); } .policy-content li strong { color: var(--text); } .policy-content a { color: var(--primary-text); text-decoration: underline; transition: color 0.2s ease; } .policy-content a:hover, .policy-content a:focus { color: var(--primary-hover); text-decoration: none; } @media (max-width: 767px) { .policy-content { padding: 32px 16px; } .policy-content h2 { font-size: 16px; margin-bottom: 12px; } .policy-content p, .policy-content li { font-size: 0.9rem; } .policy-content .delivery-meta { font-size: 0.85rem; } }

/* ===== PAGE: about ===== */
.about-block {
  background-color: var(--bg);
  color: var(--text);
}
.about-block .about-block__watermark {
  position: absolute;
  top: -24px;
  left: -10px;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.about-block .about-block__glow-line {
  height: 1px;
  background: rgba(140, 145, 246, 0.3);
  box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
  width: 100%;
}
.about-block .about-block__lead {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 820px;
}
.about-block .about-block__image-frame {
  aspect-ratio: 16 / 10;
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.25);
}
.about-block .about-block__image-overlay {
  background: linear-gradient(180deg, rgba(30, 32, 35, 0) 0%, rgba(30, 32, 35, 0.9) 100%);
}
.about-block .bjx-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.about-block .bjx-card:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 36px -4px rgba(140, 145, 246, 0.4);
}
.about-block .about-block__tab-btn {
  background-color: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.about-block .about-block__tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary-text);
}
.about-block .about-block__tab-btn.active {
  background-color: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
}
.about-block .about-block__cta-band {
  background: var(--dark-band-bg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.2);
}
.about-block .bjx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.about-block .bjx-btn:hover {
  background-color: var(--primary-hover);
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(102, 109, 243, 0.6);
}
.about-block .bjx-btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.about-block .bjx-btn-alt:hover {
  background-color: var(--surface);
  color: var(--primary-text);
  border-color: var(--primary);
}
.about-block .bjx-badge {
  background-color: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 4px;
  padding: 4px 8px;
  line-height: 1;
}
.about-block .bjx-eyebrow {
  color: var(--primary-text);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}
.about-block .bjx-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
@media (max-width: 767px) {
  .about-block .about-block__watermark {
    font-size: 3rem;
    top: -12px;
  }
  .about-block .bjx-title {
    font-size: 1.5rem;
  }
  .about-block .about-block__lead {
    font-size: 1rem;
  }
  .about-block .about-block__tab-btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== PAGE: contact ===== */
.contact-block{padding-top:48px;padding-bottom:64px;position:relative;background:var(--bg);overflow:hidden}.contact-block__header{position:relative;margin-bottom:32px;padding-top:20px}.contact-block__watermark{position:absolute;top:-10px;left:0;font-size:4.5rem;font-weight:900;line-height:1;color:transparent;-webkit-text-stroke:1px rgba(140,145,246,0.12);text-stroke:1px rgba(140,145,246,0.12);user-select:none;pointer-events:none;z-index:0;letter-spacing:0.04em}.contact-block .bjx-eyebrow{position:relative;z-index:1;color:var(--primary-text);font-weight:600;font-size:0.875rem;margin-bottom:8px;display:inline-block;text-transform:uppercase}.contact-block__title{position:relative;z-index:1;font-size:2rem;font-weight:700;color:var(--text);margin-bottom:12px;line-height:1.2;overflow-wrap:anywhere}.contact-block__divider{width:100%;height:1px;background:rgba(140,145,246,0.3);box-shadow:0 1px 12px rgba(140,145,246,0.25);margin-top:16px}.contact-info-card,.contact-form-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 24px -4px rgba(0,0,0,0.45);padding:28px 24px;display:flex;flex-direction:column}.contact-info-card__title,.contact-form-card__title{font-size:1.375rem;font-weight:600;color:var(--text);margin-bottom:12px;overflow-wrap:anywhere}.contact-info-card__desc,.contact-form-card__desc{font-size:0.95rem;color:var(--text-muted);line-height:1.6;margin-bottom:24px;overflow-wrap:anywhere}.contact-info-list{display:flex;flex-direction:column;gap:18px;margin-bottom:28px}.contact-info-item{display:flex;align-items:flex-start;gap:14px}.contact-info-item__icon{flex-shrink:0;width:38px;height:38px;border-radius:8px;background:rgba(140,145,246,0.12);border:1px solid rgba(140,145,246,0.25);display:flex;align-items:center;justify-content:center;color:var(--primary)}.contact-info-item__icon svg{width:20px;height:20px;display:block}.contact-info-item__body{min-width:0;flex-grow:1}.contact-info-item__label{display:block;font-size:0.8125rem;color:var(--text-muted);font-weight:500;margin-bottom:2px}.contact-info-item__value{font-size:0.95rem;color:var(--text);font-style:normal;margin:0;line-height:1.5;overflow-wrap:anywhere}.contact-link{color:var(--primary-text);text-decoration:none;transition:color 0.2s ease}.contact-link:hover,.contact-link:focus{color:var(--primary-hover);text-decoration:underline}.contact-notice-box{margin-top:auto;padding:16px;background:var(--surface-alt);border:1px solid var(--border);border-radius:8px}.contact-notice-box__title{font-size:0.875rem;font-weight:600;color:var(--accent-text);margin-bottom:6px}.contact-notice-box__text{font-size:0.8125rem;color:var(--text-muted);margin:0;line-height:1.5}.contact-form__label{font-size:0.875rem;font-weight:500;color:var(--text);margin-bottom:6px;display:block}.contact-form__required{color:var(--primary)}.contact-form__input,.contact-form__textarea{background:var(--surface-alt)!important;border:1px solid var(--border)!important;color:var(--text)!important;border-radius:8px!important;padding:12px 14px!important;font-size:0.95rem!important;line-height:1.5!important;width:100%}.contact-form__input:focus,.contact-form__textarea:focus{background:var(--surface-alt)!important;border-color:var(--primary)!important;box-shadow:0 0 0 3px rgba(140,145,246,0.3)!important;outline:none!important;color:var(--text)!important}.contact-form__input::placeholder,.contact-form__textarea::placeholder{color:var(--text-muted)!important;opacity:1}.contact-form__consent-wrapper{display:flex;align-items:flex-start;gap:10px}.contact-form__checkbox{margin-top:4px;flex-shrink:0;width:18px;height:18px;accent-color:var(--primary);cursor:pointer}.contact-form__consent-label{font-size:0.875rem;color:var(--text-muted);line-height:1.5;margin:0;cursor:pointer}.contact-form__link{color:var(--primary-text);text-decoration:underline}.contact-form__link:hover{color:var(--primary-hover)}.contact-form__error-message{font-size:0.8125rem;color:#ff8585;margin-top:6px}.contact-form__submit{background:var(--primary);color:var(--on-primary);border:none;border-radius:8px;padding:12px 28px;font-weight:700;font-size:1rem;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(140,145,246,0.35);transition:background 0.2s ease,box-shadow 0.2s ease,color 0.2s ease;cursor:pointer;width:100%}.contact-form__submit:hover,.contact-form__submit:focus{background:var(--primary-hover);color:#ffffff;box-shadow:0 6px 24px rgba(102,109,243,0.6)}@media (min-width:768px){.contact-block{padding-top:64px;padding-bottom:88px}.contact-block__title{font-size:2.25rem}.contact-form__submit{width:auto;min-width:180px}}@media (max-width:767px){.contact-block__watermark{font-size:3rem;top:0}.contact-block__title{font-size:1.5rem;hyphens:auto}.contact-info-card__title,.contact-form-card__title{font-size:1.125rem;hyphens:auto}.contact-info-card,.contact-form-card{padding:20px 16px}}

/* ===== PAGE: catalog ===== */
.catalog-section {
  position: relative;
  overflow: hidden;
}
.catalog-header {
  position: relative;
  padding-top: 10px;
}
.catalog-watermark {
  position: absolute;
  left: -4px;
  top: -24px;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15);
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}
.catalog-heading-wrap {
  position: relative;
  z-index: 2;
}
.catalog-section .bjx-title {
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
}
.catalog-title-line {
  height: 1px;
  background: rgba(140, 145, 246, 0.3);
  box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
}
.catalog-lead {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  max-width: 680px;
  color: var(--text-muted) !important;
}
.catalog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.catalog-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.35);
}
.catalog-media {
  aspect-ratio: 3 / 2;
  width: 100%;
  overflow: hidden;
  background: #181920;
  position: relative;
}
.catalog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.catalog-card:hover .catalog-img {
  filter: brightness(1.08);
}
.catalog-section .bjx-badge {
  background: rgba(140, 145, 246, 0.15);
  color: var(--primary-text);
  border: 1px solid rgba(140, 145, 246, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.catalog-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.catalog-title-link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}
.catalog-title-link:hover,
.catalog-title-link:focus {
  color: var(--primary);
  text-decoration: none;
}
.catalog-excerpt {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted) !important;
}
.catalog-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-text);
  letter-spacing: 0.02em;
}
.catalog-more-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.catalog-more-link:hover,
.catalog-more-link:focus {
  color: var(--primary-hover);
  text-decoration: underline;
}
.catalog-pagination-wrap {
  border-top: 1px solid rgba(140, 145, 246, 0.2);
  padding-top: 1.5rem;
}
.catalog-page-btn {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.catalog-page-btn:hover {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}
.catalog-page-btn.active {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
}
@media (max-width: 767px) {
  .catalog-watermark {
    font-size: 3rem;
    top: -12px;
  }
  .catalog-section .bjx-title {
    font-size: 1.25rem;
  }
  .catalog-grid .col-12 {
    width: 100%;
  }
  .catalog-card {
    margin-bottom: 0.25rem;
  }
}

/* ===== PAGE: guide ===== */
.guide-catalog-section { padding: 48px 0 80px; position: relative; overflow: hidden; }
.guide-intro-banner { position: relative; background: var(--section-alt-bg); border: 1px solid var(--border); border-radius: 12px; padding: 36px 32px; box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45); }
.guide-intro-banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: rgba(140, 145, 246, 0.35); box-shadow: 0 1px 12px rgba(140, 145, 246, 0.3); pointer-events: none; }
.guide-watermark { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 5.5rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15); pointer-events: none; user-select: none; }
.guide-heading { color: var(--text); font-size: 2rem; font-weight: 700; line-height: 1.25; }
.guide-banner-text { color: var(--text-muted); font-size: 1rem; line-height: 1.6; max-width: 760px; }
.guide-meta-tip { color: var(--text-muted); font-size: 0.875rem; }
.guide-search-box { min-width: 260px; }
.guide-search-box .js-guide-search { background-color: var(--surface-alt); border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 10px 14px; font-size: 0.95rem; }
.guide-search-box .js-guide-search::placeholder { color: var(--text-muted); opacity: 0.9; }
.guide-search-box .js-guide-search:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 12px rgba(140, 145, 246, 0.45); background-color: var(--surface-alt); color: var(--text); }
.guide-article-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45); overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.guide-article-card:hover { border-color: var(--primary); box-shadow: 0 16px 36px -4px rgba(140, 145, 246, 0.4); }
.guide-card-media { width: 100%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--surface-alt); }
.guide-media-link { display: block; width: 100%; height: 100%; }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.25s ease; }
.guide-article-card:hover .guide-card-media img { filter: brightness(1.08); }
.guide-card-content { padding: 22px; }
.guide-date-text { color: var(--text-muted); font-size: 0.8125rem; }
.guide-card-title { font-size: 1.15rem; font-weight: 600; line-height: 1.4; margin-bottom: 12px; overflow-wrap: anywhere; }
.guide-title-link { color: var(--text); text-decoration: none; transition: color 0.2s ease; }
.guide-title-link:hover, .guide-title-link:focus { color: var(--primary); text-decoration: none; }
.guide-card-desc { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 20px; overflow-wrap: anywhere; }
.guide-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-text); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; font-size: 0.9375rem; transition: color 0.2s ease, gap 0.2s ease; }
.guide-text-link:hover, .guide-text-link:focus { color: var(--primary-hover); gap: 12px; }
.guide-link-arrow { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }
.guide-empty-state { background: var(--surface); border: 1px dashed var(--border); border-radius: 12px; padding: 40px 20px; }
.guide-empty-title { color: var(--text); font-size: 1.25rem; font-weight: 600; }
.guide-empty-sub { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 991px) { .guide-watermark { display: none; } }
@media (max-width: 767px) { .guide-catalog-section { padding: 32px 0 60px; } .guide-intro-banner { padding: 22px 18px; } .guide-heading { font-size: 1.25rem; } .guide-card-title { font-size: 1.05rem; } .guide-card-content { padding: 16px; } .guide-search-box { width: 100%; min-width: 100%; } }

/* ===== PAGE TEMPLATE: catalog ===== */
body.detail-page-theme {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans SC', sans-serif;
}

.fosskok-header {
    background-color: #0F1520;
    border-bottom: 1px solid rgba(140, 145, 246, 0.28);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    z-index: 1030;
    position: sticky;
    top: 0;
    width: 100%;
}

.fosskok-header .fosskok-navbar {
    background-color: #0F1520;
    padding: 14px 0;
}

.fosskok-header .fosskok-brand-logo {
    width: 44px;
    height: 44px;
    max-width: 44px;
    object-fit: contain;
    display: block;
}

.fosskok-header .fosskok-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ECEEF0;
    line-height: 1.2;
}

.fosskok-header .fosskok-toggler {
    background-color: #202630;
    border: 1px solid #3A414E;
    border-radius: 8px;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.fosskok-header .fosskok-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(140, 145, 246, 0.35);
    border-color: #8C91F6;
}

.fosskok-header .fosskok-toggler-icon {
    color: #8C91F6;
}

.fosskok-header .fosskok-nav-list {
    gap: 8px;
}

.fosskok-header .fosskok-nav-link {
    color: #B0B6BF;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.fosskok-header .fosskok-nav-link:hover,
.fosskok-header .fosskok-nav-link:focus {
    color: #8C91F6;
    background-color: rgba(140, 145, 246, 0.1);
}

.fosskok-header .fosskok-nav-link.active {
    color: #FFFFFF;
    font-weight: 700;
    background-color: rgba(140, 145, 246, 0.16);
}

.fosskok-header .fosskok-header-phone {
    color: #ECEEF0;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.fosskok-header .fosskok-header-phone:hover {
    color: #8C91F6;
}

.fosskok-header .fosskok-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: #202630;
    border: 1px solid #3A414E;
    color: #8C91F6;
    flex-shrink: 0;
}

.fosskok-header .fosskok-cta-btn {
    background-color: #8C91F6;
    color: #111111;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 16px rgba(140, 145, 246, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.fosskok-header .fosskok-cta-btn:hover,
.fosskok-header .fosskok-cta-btn:focus {
    background-color: #666DF3;
    color: #FFFFFF;
    box-shadow: 0 6px 24px rgba(102, 109, 243, 0.6);
}

.foss-hero {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(140, 145, 246, 0.3);
}

.foss-hero .foss-hero__video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.foss-hero .foss-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foss-hero .foss-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 21, 32, 0.95) 0%, rgba(30, 32, 35, 0.88) 55%, rgba(29, 31, 54, 0.93) 100%);
    z-index: 2;
}

.foss-hero .foss-hero__content-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
}

.foss-hero .foss-hero__text-block {
    z-index: 2;
}

.foss-hero .foss-hero__watermark {
    position: absolute;
    top: -36px;
    left: -10px;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15);
    user-select: none;
    pointer-events: none;
    z-index: 0;
    letter-spacing: 0.08em;
}

.foss-hero .foss-hero__pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    display: inline-block;
    box-shadow: 0 0 8px var(--primary);
}

.foss-hero .foss-hero__title {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--on-dark);
    overflow-wrap: anywhere;
}

.foss-hero .foss-hero__lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--on-dark-muted);
    max-width: 580px;
    overflow-wrap: anywhere;
}

.foss-hero .foss-detail-hero-currency {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
}

.foss-hero .foss-detail-hero-amount {
    font-size: 2.2rem;
    color: #FFFFFF;
    font-weight: 900;
    line-height: 1;
}

.foss-hero .foss-hero__features {
    border-top: 1px solid rgba(140, 145, 246, 0.2);
}

.foss-hero .foss-hero__feature-item {
    font-size: 0.9rem;
    color: var(--on-dark-muted);
}

.foss-hero .foss-hero__check-icon {
    color: var(--primary);
}

.foss-hero .foss-hero__stage-wrapper {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.foss-hero .foss-hero__stage-glow {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, rgba(140, 145, 246, 0.35) 0%, rgba(140, 145, 246, 0) 70%);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

.foss-hero .foss-detail-hero-media-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.25);
    overflow: hidden;
}

.foss-hero .foss-detail-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foss-hero .foss-hero__bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(140, 145, 246, 0.3);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
    z-index: 4;
}

.foss-product-layout {
    background-color: var(--bg);
}

.foss-product-container {
    max-width: 1160px;
}

.foss-heading-accented {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text);
    border-left: 4px solid var(--primary);
    padding-left: 14px;
    margin: 6px 0 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.foss-subheading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.foss-divider {
    border: 0;
    height: 1px;
    background: rgba(140, 145, 246, 0.25);
    box-shadow: 0 1px 10px rgba(140, 145, 246, 0.2);
    margin: 40px 0;
}

.foss-product-layout .foss-text-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}

.foss-product-layout .foss-text-sub {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.foss-product-layout .foss-definition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    padding: 20px 24px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 0;
}

.foss-product-layout .foss-def-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(58, 65, 78, 0.8);
}

.foss-product-layout .foss-def-term {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    margin: 0;
}

.foss-product-layout .foss-def-desc {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    text-align: right;
}

.foss-product-layout .foss-compact-cta-inline {
    background: linear-gradient(135deg, #202630 0%, #2A2E3D 100%);
    border: 1px solid rgba(140, 145, 246, 0.35);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.foss-product-layout .foss-cta-inline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
}

.foss-product-layout .foss-cta-inline-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.foss-product-layout .foss-inline-price-tag {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.foss-product-layout .foss-benefit-tile {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    height: 100%;
    transition: border-color 0.2s ease;
}

.foss-product-layout .foss-benefit-tile:hover {
    border-color: var(--primary);
}

.foss-product-layout .foss-benefit-icon {
    color: var(--primary);
}

.foss-product-layout .foss-benefit-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

.foss-product-layout .foss-benefit-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.foss-product-layout .foss-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--surface-alt);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.foss-product-layout .foss-step-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

.foss-product-layout .foss-step-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.foss-product-layout .foss-acc-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.foss-product-layout .foss-acc-btn {
    background-color: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: none;
    padding: 16px 20px;
}

.foss-product-layout .foss-acc-btn:not(.collapsed) {
    background-color: var(--surface-alt);
    color: var(--primary);
}

.foss-product-layout .foss-acc-body {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    padding: 16px 20px;
    background-color: var(--surface);
}

.foss-product-layout .foss-order-form-box {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
}

.foss-product-layout .foss-form-label {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
}

.foss-product-layout .foss-input {
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.92rem;
}

.foss-product-layout .foss-input::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

.foss-product-layout .foss-input:focus {
    background-color: var(--surface-alt);
    color: var(--text);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(140, 145, 246, 0.3);
    outline: none;
}

.foss-product-layout .foss-checkbox {
    background-color: var(--surface-alt);
    border-color: var(--border);
    width: 18px;
    height: 18px;
}

.foss-product-layout .foss-checkbox:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.foss-product-layout .foss-consent-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.foss-product-layout .foss-policy-link {
    color: var(--primary);
    text-decoration: underline;
}

.foss-product-layout .foss-policy-link:hover {
    color: var(--primary-hover);
}

.foss-product-layout .foss-consent-alert {
    color: #F87171;
    font-size: 0.85rem;
    font-weight: 500;
}

.foss-product-layout .foss-price-caption {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.foss-product-layout .foss-price-sum {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 800;
}

.foss-product-layout .foss-compact-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 100%;
    transition: border-color 0.2s ease;
}

.foss-product-layout .foss-compact-item:hover {
    border-color: var(--primary);
}

.foss-product-layout .foss-thumb-frame {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--surface-alt);
}

.foss-product-layout .foss-thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foss-product-layout .foss-compact-title {
    font-size: 0.92rem;
    margin: 0;
    font-weight: 600;
}

.foss-product-layout .foss-compact-title a {
    color: var(--text);
}

.foss-product-layout .foss-compact-title a:hover {
    color: var(--primary);
}

.foss-product-layout .foss-compact-price {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
}

.foss-product-layout .foss-compact-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
}

.bjx-footer {
    background: var(--footer-bg, #1D1F36);
    color: var(--on-footer, #FFFFFF);
    position: relative;
    overflow: hidden;
    padding-top: 40px;
}

.bjx-footer-cta-wrap {
    padding-bottom: 32px;
}

.bjx-footer-cta-box {
    background: linear-gradient(135deg, rgba(45, 48, 52, 0.9) 0%, rgba(32, 38, 48, 0.95) 100%);
    border: 1px solid rgba(140, 145, 246, 0.3);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.bjx-footer-cta-heading {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--on-dark, #FFFFFF);
}

.bjx-footer-divider {
    height: 1px;
    background: rgba(140, 145, 246, 0.25);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.2);
    margin: 0;
    width: 100%;
}

.bjx-footer-main {
    padding: 48px 0 36px;
}

.bjx-footer-brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary, #8C91F6);
    margin-bottom: 12px;
}

.bjx-footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--on-footer-muted, #B6BBC3);
    margin-bottom: 20px;
    max-width: 320px;
    overflow-wrap: anywhere;
}

.bjx-footer-pay-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--on-footer-muted, #B6BBC3);
    margin-bottom: 8px;
}

.bjx-pay-card {
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.bjx-footer-col-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--on-footer, #FFFFFF);
    margin-bottom: 16px;
}

.bjx-footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bjx-footer-link {
    font-size: 0.9rem;
    color: var(--on-footer-muted, #B6BBC3);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    overflow-wrap: anywhere;
}

.bjx-footer-link:hover,
.bjx-footer-link:focus {
    color: var(--primary, #8C91F6);
    text-decoration: none;
}

.bjx-footer-contact-list {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--on-footer-muted, #B6BBC3);
}

.bjx-footer-contact-text {
    overflow-wrap: anywhere;
    color: var(--on-footer-muted, #B6BBC3);
}

.bjx-icon-lead {
    color: var(--primary, #8C91F6);
}

.bjx-footer-bottom {
    background: rgba(15, 21, 32, 0.85);
    border-top: 1px solid rgba(58, 65, 78, 0.6);
    padding: 18px 0;
}

.bjx-footer-copy,
.bjx-footer-subcopy {
    font-size: 0.8rem;
    color: var(--on-footer-muted, #B6BBC3);
    margin: 0;
}

@media (max-width: 991.98px) {
    .fosskok-header .navbar-collapse {
        background-color: #0F1520;
        border-top: 1px solid #3A414E;
        margin-top: 14px;
        padding: 18px 12px 14px;
        border-radius: 0 0 10px 10px;
    }

    .fosskok-header .fosskok-nav-link {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .fosskok-header .fosskok-header-actions {
        border-top: 1px solid rgba(58, 65, 78, 0.6);
        margin-top: 12px;
    }

    .fosskok-header .fosskok-cta-btn {
        width: 100%;
        display: block;
    }
}

@media (max-width: 767.98px) {
    .foss-hero {
        min-height: auto;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .foss-hero .foss-hero__title {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .foss-hero .foss-hero__lead {
        font-size: 0.92rem;
    }

    .foss-hero .foss-hero__watermark {
        font-size: 2.8rem;
        top: -16px;
    }

    .foss-hero .foss-detail-hero-price-row {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.8rem;
    }

    .foss-hero .foss-hero__btn-main {
        width: 100%;
    }

    .foss-product-layout .foss-definition-grid {
        grid-template-columns: 1fr;
    }

    .foss-heading-accented {
        font-size: 16px !important;
    }

    .foss-subheading {
        font-size: 14px !important;
    }

    .bjx-footer {
        padding-top: 28px;
    }

    .bjx-footer-cta-box {
        padding: 20px;
    }

    .bjx-footer-cta-heading {
        font-size: 1.1rem;
    }

    .bjx-footer-main {
        padding: 32px 0 24px;
    }

    .bjx-footer-col {
        width: 100%;
    }

    .bjx-footer-desc {
        max-width: 100%;
    }
}

/* ===== PAGE TEMPLATE: guide ===== */
body.foss-body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans SC', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.foss-guide-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #27293A 0%, #23242E 50%, #1E2023 100%);
    border-bottom: 1px solid rgba(140, 145, 246, 0.3);
}

.foss-guide-hero .foss-guide-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(140, 145, 246, 0.15) 0%, rgba(15, 21, 32, 0.95) 80%);
    z-index: 1;
    pointer-events: none;
}

.foss-guide-hero .foss-guide-hero__container {
    position: relative;
    z-index: 2;
}

.foss-guide-hero .foss-guide-hero__watermark {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(140, 145, 246, 0.15);
    user-select: none;
    pointer-events: none;
    z-index: 0;
    letter-spacing: 0.1em;
}

.foss-guide-hero .foss-guide-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.foss-breadcrumb {
    list-style: none;
    font-size: 0.85rem;
}

.foss-breadcrumb .foss-breadcrumb__link {
    color: var(--primary-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.foss-breadcrumb .foss-breadcrumb__link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.foss-breadcrumb .foss-breadcrumb__sep {
    color: var(--border);
}

.foss-breadcrumb .foss-breadcrumb__item.active {
    color: var(--on-dark-muted);
}

.foss-guide-hero .foss-guide-hero__title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--on-dark);
    overflow-wrap: anywhere;
}

.foss-guide-hero .foss-guide-hero__lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--on-dark-muted);
    overflow-wrap: anywhere;
}

.foss-guide-hero .foss-guide-hero__meta {
    font-size: 0.875rem;
    color: var(--on-dark-muted);
}

.foss-guide-hero .foss-meta-label {
    color: var(--on-dark-muted);
}

.foss-guide-hero .foss-meta-val {
    color: var(--on-dark);
    font-weight: 600;
}

.foss-guide-hero .foss-guide-hero__bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(140, 145, 246, 0.3);
    box-shadow: 0 1px 12px rgba(140, 145, 246, 0.25);
    z-index: 3;
}

.foss-detail-page {
    background-color: var(--bg);
    position: relative;
}

.foss-detail-page .foss-detail-page__wrapper {
    max-width: 900px;
}

.foss-detail-page .foss-image-frame {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.2);
}

.foss-detail-page .foss-image-frame__inner {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--surface-alt);
}

.foss-detail-page .foss-image-frame__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.foss-detail-page .foss-toc-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
}

.foss-detail-page .foss-toc-card__heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.foss-detail-page .foss-toc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.foss-detail-page .foss-toc-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-toc-link:hover {
    color: var(--primary);
    background-color: rgba(140, 145, 246, 0.08);
}

.foss-detail-page .foss-toc-number {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.foss-detail-page .foss-content-block {
    position: relative;
}

.foss-detail-page .foss-step-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
}

.foss-detail-page .foss-content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-subheading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-prose-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-key-facts {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
}

.foss-detail-page .foss-key-facts__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.foss-detail-page .foss-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.foss-detail-page .foss-facts-item {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
}

.foss-detail-page .foss-facts-dt {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.foss-detail-page .foss-facts-dd {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
}

.foss-detail-page .foss-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.foss-detail-page .foss-data-table th {
    background: #18192B;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(140, 145, 246, 0.3);
    letter-spacing: 0.02em;
}

.foss-detail-page .foss-data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.foss-detail-page .foss-data-table tbody tr:last-child td {
    border-bottom: none;
}

.foss-detail-page .foss-data-table tbody tr:hover td {
    background-color: rgba(140, 145, 246, 0.04);
}

.foss-detail-page .foss-col-param {
    width: 35%;
}

.foss-detail-page .foss-param-title {
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.foss-detail-page .foss-param-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.foss-detail-page .foss-col-value {
    width: 65%;
}

.foss-detail-page .foss-value-highlight {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.foss-detail-page .foss-value-note {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.foss-detail-page .foss-pullquote {
    background: linear-gradient(135deg, rgba(45, 48, 52, 0.85) 0%, rgba(32, 38, 48, 0.9) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 12px 32px -4px rgba(140, 145, 246, 0.2);
}

.foss-detail-page .foss-pullquote__text {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text);
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-pullquote__line {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    display: inline-block;
}

.foss-detail-page .foss-pullquote__author {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    font-style: normal;
}

.foss-detail-page .foss-guide-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.foss-detail-page .foss-guide-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
}

.foss-detail-page .foss-check-svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.foss-detail-page .foss-checklist-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-checklist-content strong {
    color: var(--text);
}

.foss-detail-page .foss-accordion__item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.foss-detail-page .foss-accordion__trigger {
    background: transparent;
    border: none;
    padding: 16px 20px;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.foss-detail-page .foss-accordion__trigger:hover {
    background-color: rgba(140, 145, 246, 0.08);
    color: var(--primary);
}

.foss-detail-page .foss-accordion__title {
    font-size: 1rem;
    font-weight: 700;
    color: inherit;
    padding-right: 12px;
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-accordion__arrow {
    color: var(--primary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.foss-detail-page .foss-accordion__panel {
    display: none;
    padding: 0 20px 16px;
}

.foss-detail-page .foss-accordion__panel.open {
    display: block;
}

.foss-detail-page .foss-accordion__trigger[aria-expanded="true"] .foss-accordion__arrow {
    transform: rotate(180deg);
}

.foss-detail-page .foss-accordion__content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-related-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
}

.foss-detail-page .foss-related-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.foss-detail-page .foss-related-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.foss-detail-page .foss-related-item {
    border-bottom: 1px solid var(--border);
}

.foss-detail-page .foss-related-item:last-child {
    border-bottom: none;
}

.foss-detail-page .foss-related-link {
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 6px;
    color: var(--text);
    transition: all 0.2s ease;
}

.foss-detail-page .foss-related-link:hover {
    background-color: var(--surface-alt);
    color: var(--primary);
}

.foss-detail-page .foss-related-text {
    font-size: 0.95rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-related-arrow {
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s ease;
}

.foss-detail-page .foss-related-link:hover .foss-related-arrow {
    transform: translateX(4px);
}

.foss-detail-page .foss-detail-actions {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.foss-detail-page .foss-action-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.foss-detail-page .foss-action-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.foss-detail-page .foss-back-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.foss-detail-page .foss-back-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.foss-detail-page .foss-tinted-cta-band {
    background: linear-gradient(180deg, #2B2C40 0%, #272838 50%, #202630 100%);
    border-top: 1px solid rgba(140, 145, 246, 0.3);
    border-bottom: 1px solid rgba(140, 145, 246, 0.3);
}

.foss-detail-page .foss-tinted-cta-band__inner {
    max-width: 800px;
}

.foss-detail-page .foss-tinted-cta-band__title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--on-dark);
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-tinted-cta-band__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--on-dark-muted);
    overflow-wrap: anywhere;
}

.foss-detail-page .foss-tinted-cta-band__btn {
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .foss-guide-hero .foss-guide-hero__title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        hyphens: auto;
    }

    .foss-guide-hero .foss-guide-hero__watermark {
        font-size: 2.8rem;
        top: -15px;
    }

    .foss-guide-hero .foss-guide-hero__lead {
        font-size: 0.95rem;
    }

    .foss-detail-page .foss-content-title {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .foss-detail-page .foss-subheading {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .foss-detail-page .foss-facts-grid {
        grid-template-columns: 1fr;
    }

    .foss-detail-page .foss-table-wrap {
        overflow: visible;
    }

    .foss-detail-page .foss-data-table thead {
        display: none;
    }

    .foss-detail-page .foss-data-table,
    .foss-detail-page .foss-data-table tbody,
    .foss-detail-page .foss-data-table tr,
    .foss-detail-page .foss-data-table td {
        display: block;
        width: 100%;
    }

    .foss-detail-page .foss-data-table tr {
        border-bottom: 1px solid var(--border);
        padding: 12px 14px;
    }

    .foss-detail-page .foss-data-table tr:last-child {
        border-bottom: none;
    }

    .foss-detail-page .foss-data-table td {
        padding: 4px 0;
        border: none;
    }

    .foss-detail-page .foss-col-param {
        width: 100%;
        margin-bottom: 8px;
    }

    .foss-detail-page .foss-col-value {
        width: 100%;
    }

    .foss-detail-page .foss-pullquote {
        padding: 16px 18px;
    }

    .foss-detail-page .foss-pullquote__text {
        font-size: 1rem;
    }

    .foss-detail-page .foss-detail-actions {
        flex-direction: column;
        align-items: stretch !important;
    }

    .foss-detail-page .foss-action-btn {
        width: 100%;
        justify-content: center;
    }

    .foss-detail-page .foss-back-link {
        justify-content: center;
    }
}

/* mobile-text-guard */
@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, td, th, label {
    overflow-wrap: anywhere;
  }
  a, button, .btn {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  img, video, iframe {
    max-width: 100%;
  }
}

/* ===== fixes: desktop nav toggler, button text visibility, compact card text ===== */
@media (min-width: 992px) {
    .fosskok-header .fosskok-toggler {
        display: none;
    }
}

/* anchor buttons must keep label color on dark backgrounds */
.bjx-on-dark a.bjx-btn,
.bjx-section-dark a.bjx-btn {
    color: var(--on-primary);
}

.bjx-on-dark a.bjx-btn:hover,
.bjx-on-dark a.bjx-btn:focus,
.bjx-on-dark a.bjx-btn:active,
.bjx-section-dark a.bjx-btn:hover,
.bjx-section-dark a.bjx-btn:focus,
.bjx-section-dark a.bjx-btn:active {
    color: #FFFFFF;
}

.bjx-btn:focus-visible,
.bjx-btn-alt:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* recommended products: let titles wrap instead of overflowing */
.foss-product-layout .foss-compact-item {
    align-items: flex-start;
}

.foss-product-layout .foss-compact-title,
.foss-product-layout .foss-compact-title a {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: block;
    -webkit-line-clamp: unset;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.foss-product-layout .foss-compact-meta {
    min-width: 0;
    flex: 1 1 auto;
}

/* bundle order modal */
#bundleOrderModal .modal-content {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

#bundleOrderModal .modal-header {
    border-bottom: 1px solid var(--border);
}

#bundleOrderModal .modal-title {
    color: var(--text);
}
