.ofh {
    --ofh-top: 0px;
    --ofh-navy: #150F2C;
    --ofh-navy-2: #231167;
    --ofh-purple: #6A48ED;
    --ofh-purple-light: #E1D9FE;
    --ofh-lime: #CBFB57;
    --ofh-cream: #FFF7F2;
    --ofh-line: #EDECF1;
    --ofh-text: #150F2C;
    --ofh-muted: #4D4E4F;
    --ofh-grey: #8C8F94;
    --ofh-accent: #CBFB57;
    --ofh-accent-ink: #150F2C;
    --ofh-hero-bg: #150F2C;
    --ofh-font-display: ABCSocial, sans-serif;
    --ofh-font-num: GettersDisplayV1, ABCSocial, sans-serif;
    background: var(--ofh-cream);
    color: var(--ofh-text);
    font-family: ABCSocial, sans-serif;
}

.ofh [data-theme="black-friday"] {
    --ofh-accent: #CBFB57;
    --ofh-accent-ink: #0B0814;
    --ofh-hero-bg: #0B0814;
}

.ofh [data-theme="cyber-monday"] {
    --ofh-accent: #5EEFFF;
    --ofh-accent-ink: #061436;
    --ofh-hero-bg: #061436;
}

.ofh [data-theme="christmas"] {
    --ofh-accent: #F5C451;
    --ofh-accent-ink: #2A0B12;
    --ofh-hero-bg: #2A0B12;
}

.ofh [data-theme="summer"] {
    --ofh-accent: #FFD166;
    --ofh-accent-ink: #083B5C;
    --ofh-hero-bg: #083B5C;
}

.ofh-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ofh-hero-bg);
    color: #fff;
    border-top: 6px solid var(--ofh-accent);
}

.ofh-hero-motif {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 55%, transparent 0 150px, rgba(255, 255, 255, 0.07) 151px 152px, transparent 153px),
        radial-gradient(circle at 82% 55%, transparent 0 230px, var(--ofh-accent) 231px 232px, transparent 233px),
        radial-gradient(circle at 82% 55%, transparent 0 320px, rgba(255, 255, 255, 0.05) 321px 322px, transparent 323px),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px);
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 40%, #000 70%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 40%, #000 70%);
}

.ofh-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.ofh-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--ofh-hero-bg) 0%, color-mix(in srgb, var(--ofh-hero-bg) 82%, transparent) 45%, color-mix(in srgb, var(--ofh-hero-bg) 35%, transparent) 100%);
}

.ofh-hero.has-image .ofh-hero-motif {
    display: none;
}

.ofh-hero-inner {
    position: relative;
    z-index: 1;
    padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px);
    max-width: 920px;
}

.ofh-title {
    font-family: var(--ofh-font-display);
    font-weight: 900;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: #fff;
}

.ofh-sub {
    max-width: 560px;
    margin: 0 0 26px;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.ofh-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0 0 30px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.ofh-stat {
    padding: 0 18px 0 0;
    margin-right: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.ofh-stat:last-child {
    border-right: 0;
    margin-right: 0;
}

.ofh-stat strong {
    font-weight: 700;
    color: #fff;
}

.ofh-stat-accent strong {
    color: var(--ofh-accent);
}

.ofh-countdown-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.ofh-countdown-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.ofh-countdown {
    display: inline-flex;
    align-items: stretch;
    gap: 6px;
}

.ofh-cd-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 10px 8px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.ofh-cd-value {
    font-family: var(--ofh-font-num);
    font-size: 32px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.ofh-cd-value.is-flip {
    animation: ofh-flip 0.3s ease-out;
}

.ofh-cd-unit {
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.6);
}

.ofh-cd-sep {
    align-self: center;
    font-family: var(--ofh-font-num);
    font-size: 24px;
    color: var(--ofh-accent);
}

.ofh-countdown.is-urgent .ofh-cd-cell {
    border-color: var(--ofh-accent);
}

.ofh-countdown.is-done {
    opacity: 0.4;
}

.ofh-ticker {
    background: var(--ofh-accent);
    color: var(--ofh-accent-ink);
    overflow: hidden;
}

.ofh-ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 9px 0;
    animation: ofh-marquee 40s linear infinite;
    will-change: transform;
}

.ofh-ticker-item {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ofh-ticker-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ofh-accent-ink);
    margin: 0 22px;
    opacity: 0.7;
}

.ofh-tabs-sentinel {
    height: 1px;
}

.ofh-tabs {
    position: sticky;
    top: var(--ofh-top);
    z-index: 40;
    background: var(--ofh-cream);
    border-bottom: 1px solid var(--ofh-line);
    padding: 12px 0;
}

.ofh-tabs.is-stuck {
    box-shadow: 0 6px 18px rgba(21, 15, 44, 0.06);
}

.ofh-tabs-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ofh-tabs-track::-webkit-scrollbar {
    display: none;
}

.ofh-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 10px;
    border-radius: 999px;
    border: 1px solid var(--ofh-line);
    background: #fff;
    color: var(--ofh-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ofh-tab:hover {
    border-color: var(--ofh-purple);
}

.ofh-tab.is-active {
    background: var(--ofh-navy);
    border-color: var(--ofh-navy);
    color: #fff;
}

.ofh-tab-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ofh-tab-pill-live {
    background: var(--ofh-lime);
    color: var(--ofh-navy);
}

.ofh-tab-pill-soon {
    background: var(--ofh-purple-light);
    color: var(--ofh-navy-2);
}

.ofh-tab-pill-always {
    background: var(--ofh-line);
    color: var(--ofh-muted);
}

.ofh-tab.is-active .ofh-tab-pill-soon,
.ofh-tab.is-active .ofh-tab-pill-always {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.ofh-tab-meta {
    font-size: 12px;
    opacity: 0.6;
}

.ofh-campaign {
    display: none;
    padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 72px);
}

.ofh-campaign.is-active {
    display: block;
}

.ofh-campaign-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--ofh-line);
}

.ofh-campaign-kicker {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ofh-purple);
    font-weight: 700;
}

.ofh-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ofh-purple);
}

.ofh-campaign-window {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--ofh-purple-light);
    color: var(--ofh-navy-2);
    letter-spacing: 0.02em;
}

.ofh-campaign-title {
    font-family: var(--ofh-font-display);
    font-weight: 900;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ofh-text);
}

.ofh-campaign-desc {
    margin-top: 10px;
    max-width: 640px;
    color: var(--ofh-muted);
    font-size: 15px;
    line-height: 1.55;
}

.ofh-campaign-desc p:last-child {
    margin-bottom: 0;
}

.ofh-campaign-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    flex: 0 0 auto;
}

.ofh-campaign-side .ofh-countdown-wrap {
    align-items: flex-end;
}

.ofh-campaign-side .ofh-countdown-label {
    color: var(--ofh-muted);
}

.ofh-campaign-side .ofh-cd-cell {
    background: #fff;
    border-color: var(--ofh-line);
    min-width: 56px;
    padding: 8px 6px 6px;
}

.ofh-campaign-side .ofh-cd-value {
    color: var(--ofh-text);
    font-size: 24px;
}

.ofh-campaign-side .ofh-cd-unit {
    color: var(--ofh-grey);
}

.ofh-campaign-side .ofh-cd-sep {
    color: var(--ofh-purple);
    font-size: 20px;
}

.ofh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--ofh-purple);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--ofh-purple);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ofh-btn:hover {
    background: var(--ofh-navy-2);
    border-color: var(--ofh-navy-2);
    color: #fff;
}

.ofh-btn .icon {
    font-size: 12px;
}

.ofh-btn-ghost {
    background: transparent;
    color: var(--ofh-text);
    border-color: var(--ofh-text);
}

.ofh-btn-ghost:hover {
    background: var(--ofh-text);
    color: #fff;
    border-color: var(--ofh-text);
}

.ofh-btn-big {
    padding: 15px 26px;
    font-size: 15px;
}

.ofh-teaser {
    margin: 6px 0 10px;
}

.ofh-teaser-card {
    border-radius: 12px;
    padding: clamp(28px, 4vw, 48px);
    color: #fff;
    background: var(--ofh-hero-bg);
    border-left: 6px solid var(--ofh-accent);
}

.ofh-teaser-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ofh-accent);
}

.ofh-teaser-title {
    font-family: var(--ofh-font-display);
    font-weight: 900;
    font-size: clamp(30px, 4.5vw, 54px);
    line-height: 1;
    margin: 0 0 22px;
}

.ofh-teaser-title span {
    display: block;
    font-size: 0.4em;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ofh-accent);
    margin-top: 8px;
}

.ofh-teaser-card .ofh-countdown {
    margin: 8px 0 16px;
}

.ofh-teaser-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.ofh-rail-wrap {
    margin: 0 0 24px;
}

.ofh-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--ofh-line);
}

.ofh-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--ofh-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.ofh-chip:hover {
    background: var(--ofh-purple-light);
    color: var(--ofh-navy-2);
}

.ofh-chip.is-active {
    background: var(--ofh-navy);
    color: #fff;
}

.ofh-chip-count {
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(21, 15, 44, 0.08);
}

.ofh-chip.is-active .ofh-chip-count {
    background: var(--ofh-lime);
    color: var(--ofh-navy);
}

.ofh-section {
    padding: 14px 0 26px;
    scroll-margin-top: calc(var(--ofh-top) + 80px);
}

.ofh-section + .ofh-section {
    border-top: 1px solid var(--ofh-line);
    margin-top: 6px;
}

.ofh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ofh-section-title-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ofh-section-title {
    margin: 0;
    font-family: var(--ofh-font-display);
    font-weight: 800;
    font-size: clamp(20px, 2.1vw, 26px);
    line-height: 1.1;
    color: var(--ofh-text);
}

.ofh-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--ofh-lime);
    color: var(--ofh-navy);
    font-size: 12px;
    font-weight: 700;
}

.ofh-section-meta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--ofh-muted);
}

.ofh-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ofh-purple);
    font-weight: 600;
    text-decoration: none;
}

.ofh-section-link:hover {
    color: var(--ofh-navy-2);
    text-decoration: underline;
}

.ofh-section-link .icon {
    font-size: 10px;
}

.ofh-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ofh-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--ofh-line);
    overflow: hidden;
}

.ofh-card .card-product-wrapper {
    border-radius: 0;
    background: #fff;
}

.ofh-card-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 6px;
    background: var(--ofh-navy);
    color: var(--ofh-lime);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.ofh-card-timer {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--ofh-navy);
    color: #fff;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.ofh-card-info {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ofh-card-avail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ofh-muted);
}

.ofh-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ofh-grey);
}

.ofh-dot-success {
    background: #3dab25;
}

.ofh-dot-warning {
    background: #f0a750;
}

.ofh-dot-danger {
    background: #EF4444;
}

.ofh-dot-info {
    background: #0c74d6;
}

.ofh-card-brand {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ofh-purple);
    font-weight: 700;
}

.ofh-card .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--ofh-text);
    min-height: 2.7em;
}

.ofh-card-prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.ofh-price-old {
    font-size: 13px;
    color: var(--ofh-grey);
    text-decoration: line-through;
}

.ofh-price-new {
    font-family: var(--ofh-font-num);
    font-size: 20px;
    line-height: 1;
    color: var(--ofh-text);
}

.ofh-vat {
    font-size: 10px;
    color: var(--ofh-grey);
}

.ofh-card-save {
    font-size: 12px;
    font-weight: 600;
    color: #2F7A12;
}

.ofh-section-more {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.ofh-campaign-foot {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.ofh-empty {
    padding: 50px 0 80px;
}

.ofh-empty-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--ofh-line);
    padding: 44px 28px;
}

.ofh-empty-icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ofh-purple-light);
    margin-bottom: 16px;
    font-family: var(--ofh-font-num);
    font-size: 26px;
    color: var(--ofh-purple);
}

.ofh-empty-icon::after {
    content: "%";
}

.ofh-empty-card h2 {
    font-family: var(--ofh-font-display);
    font-weight: 800;
    font-size: 26px;
    margin: 0 0 10px;
}

.ofh-empty-card p {
    color: var(--ofh-muted);
    margin: 0 0 22px;
}

.ofh-empty-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (min-width: 576px) {
    .ofh-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 992px) {
    .ofh-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 1400px) {
    .ofh-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .ofh-campaign-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ofh-campaign-side {
        align-items: flex-start;
        width: 100%;
    }

    .ofh-campaign-side .ofh-countdown-wrap {
        align-items: flex-start;
    }

    .ofh-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ofh-rail-wrap {
        margin: 0 -16px 18px;
    }

    .ofh-rail {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        padding: 8px 16px;
    }

    .ofh-rail::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .ofh-cd-cell {
        min-width: 58px;
        padding: 8px 6px 6px;
    }

    .ofh-cd-value {
        font-size: 26px;
    }

    .ofh-stats {
        font-size: 14px;
    }

    .ofh-hero-motif {
        background:
            radial-gradient(circle at 88% 20%, transparent 0 70px, var(--ofh-accent) 71px 72px, transparent 73px),
            repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 14px);
        -webkit-mask-image: none;
        mask-image: none;
    }

    .ofh-hero-image::after {
        background: linear-gradient(180deg, color-mix(in srgb, var(--ofh-hero-bg) 70%, transparent) 0%, var(--ofh-hero-bg) 100%);
    }

    .ofh-stat {
        padding-right: 12px;
        margin-right: 12px;
    }

    .ofh-price-new {
        font-size: 18px;
    }

    .ofh-btn-big {
        width: 100%;
        justify-content: center;
        padding: 14px 18px;
        font-size: 14px;
    }
}

@keyframes ofh-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes ofh-flip {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ofh-ticker-track,
    .ofh-cd-value.is-flip {
        animation: none;
    }
}
