﻿/** Halloween promo banner 2026 — promo + sticky compact */

:root {
    --halloween-banner-height: 260px;
}

@media (min-width: 1901px) {
    :root {
        --halloween-banner-height: 380px;
    }
}
    
    .halloween-banner {
        position: relative;
        z-index: 100;
        box-sizing: border-box;
        min-height: var(--halloween-banner-height);
        overflow: hidden;
        background: #fef9f4 !important;
        display: flex;
        align-items: center;
    }
    
    /*
     * Full banner scrolls away; compact bar + nav live in .halloween-sticky-stack (sticky top).
     */
    html:has(.halloween-banner) #main_blade_header {
        display: contents;
    }
    
    .halloween-banner ~ .halloween-sticky-stack {
        position: sticky;
        top: 0;
        z-index: 100;
        width: 100%;
        background: #fff;
        box-shadow: 0 0 0 transparent;
        transition: box-shadow 0.2s ease;
    }
    
    html.halloween-scrolled .halloween-banner ~ .halloween-sticky-stack {
        box-shadow: 0 4px 16px rgba(15, 10, 68, 0.08);
    }
    
    .halloween-banner ~ .halloween-sticky-stack #header_main {
        float: none;
        width: 100%;
        /* header_footer_115 fixes #header_main to viewport top; keep header below promo banner */
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: 1 !important;
        box-shadow: none !important;
    }
    
    .halloween-banner ~ .halloween-sticky-stack #header_main .header-main {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100%;
    }
    
    .halloween-compact-bar {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: #fef9f4;
        border-bottom: 0 solid #efe5dc;
        transition: max-height 0.25s ease, opacity 0.2s ease, border-bottom-width 0.2s ease;
        pointer-events: none;
    }
    
    html.halloween-scrolled .halloween-compact-bar {
        max-height: 88px;
        opacity: 1;
        border-bottom-width: 1px;
        pointer-events: auto;
    }
    
    .halloween-compact-bar__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 0;
        min-height: 56px;
    }
    
    .halloween-compact-bar__title {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0.35em 0.5em;
        margin: 0;
        color: #0f0a44 !important;
        font-family: "Metal Mania", cursive !important;
        text-transform: uppercase;
        letter-spacing: 2%;
    }
    
    .halloween-compact-bar__title * {
        font-family: "Metal Mania", cursive !important;
    }
    
    .halloween-compact-bar__title em {
        color: #e84908 !important;
        font-style: normal;
    }
    
    .halloween-compact-bar__amp {
        color: #0f0a44 !important;
        font-size: 0.95em;
    }
    
    .halloween-compact-bar__cta {
        flex-shrink: 0;
        min-height: 44px;
        padding: 0 14px;
        font-size: 13px;
    }
    
    .halloween-compact-bar__offer-end {
        display: none;
        width: 100%;
        margin: 0;
        color: #595959 !important;
        font-size: 11px;
        line-height: 1.3;
    }
    
    html:has(.halloween-banner) .HeadOfferActive,
    html:has(.halloween-banner) body:not(:has(.stripe-active)) .HeadOfferActive {
        margin-top: 0 !important;
    }
    
    .halloween-banner__decoration {
        position: absolute;
        z-index: 0;
        bottom: 0;
        width: auto;
        height: 92%;
        max-width: 24%;
        object-fit: contain;
        pointer-events: none;
    }
    
    .halloween-banner__decoration--left {
        left: 0;
    }
    
    .halloween-banner__decoration--right {
        right: 0;
    }
    
    .halloween-banner *,
    .halloween-banner *::before,
    .halloween-banner *::after {
        box-sizing: border-box;
    }
    
    .halloween-banner .container.h-100,
    .halloween-banner .container {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        max-width: 1320px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .halloween-content {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        width: 100%;
        height: 100%;
        min-height: var(--halloween-banner-height);
        padding: 24px 0;
        box-sizing: border-box;
    }

    .halloween-banner__left,
    .halloween-banner__right {
        min-width: 0;
    }
    
    .halloween-banner__eyebrow {
        margin-bottom: 10px;
        color: #0F0A44 !important;
        font-family: var(--font-family-main, "Helvetica Now Display", Arial, sans-serif) !important;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.3;
    }
    
    .halloween-banner__eyebrow span span{
        color: #f04b08 !important;
    }
    
    .halloween-banner__title {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin: 0 0 12px;
        color: #0F0A44 !important;
        font-family: "Metal Mania", cursive !important;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        line-height: 1.05;
    }
    .halloween-banner__description {
        margin: 0;
        max-width: 520px;
        font-family: var(--font-family-main, "Helvetica Now Display", Arial, sans-serif) !important;
        font-size: 18px !important;
        line-height: 1.45;
        color: rgba(83, 83, 83, 1) !important;
        font-weight: 500;
    }
    
    .halloween-banner__features {
        margin: 0 0 22px;
        padding: 0;
        width: 100%;
        color: #535353 !important;
    }
    
    .halloween-banner__features li {
        display: flex;
        align-items: center;
        list-style: none;
        text-align: start;
        margin: 0 0 14px;
        font-family: var(--font-family-main, "Helvetica Now Display", Arial, sans-serif) !important;
        font-size: 18px !important;
        line-height: 1.35;
        color: #535353 !important;
    }
    .halloween-banner__features li:last-child {
        margin-bottom: 0;
    }
    .halloween-banner__features li svg {
        flex-shrink: 0;
        margin-right: 10px;
    }
    .halloween-banner__title * {
        font-family: "Metal Mania", cursive !important;
    }
    
    .halloween-banner__title span {
        white-space: nowrap;
    }
    
    .halloween-banner__title em {
        color: #e84908 !important;
        font-style: normal;
    }
    
    .halloween-banner__bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
    }
    
    .halloween-banner__cta-wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: max-content;
    }

    .halloween-banner__cta-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }
    
    .halloween-banner__offer-text {
        margin: 0;
        font-family: var(--font-family-main, "Helvetica Now Display", Arial, sans-serif) !important;
        color: rgba(222, 81, 3, 0.85) !important;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.25;
        padding-left: 28px;
        position: relative;
        white-space: nowrap;
    }
    
    .halloween-banner__offer-text::after {
        content: '';
        display: block;
        width: 1.5px;
        height: calc(100% - 12px);
        min-height: 28px;
        background: rgba(222, 81, 3, 0.45);
        position: absolute;
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
    }

    .halloween-banner__offer-end {
        display: block;
        margin: 0;
        padding-left: 2px;
        font-family: var(--font-family-main, "Helvetica Now Display", Arial, sans-serif) !important;
        color: #595959 !important;
        font-size: 14px;
        line-height: 1.35;
        text-align: left;
        width: 100%;
    }
    
    .halloween-banner__button {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 54px;
        padding: 0 16px;
        border-radius: 8px;
        background: linear-gradient(90deg, #F5500B 0%, #FB6C0E 100%);
        color: #fff !important;
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }
    
    .halloween-banner__button:hover {
        background: linear-gradient(90deg, #F5500B 100%, #FB6C0E 100%);
        color: #fff !important;
    }
    
    .halloween-banner__button span {
        font-size: 20px;
        line-height: 1;
    }
    
    /* Wide desktop (>1900px): two columns */
    @media (min-width: 1901px) {
        .halloween-banner .container {
            padding-left: max(15px, 12%);
            padding-right: max(15px, 12%);
        }

        .halloween-content {
            gap: 32px 56px;
            padding: 28px 0;
        }

        .halloween-banner__left {
            flex: 1 1 48%;
            max-width: 52%;
            min-width: 0;
            text-align: left;
        }

        .halloween-banner__bottom {
            align-items: flex-start;
            width: 100%;
            max-width: 520px;
        }

        .halloween-banner__cta-wrap {
            align-items: flex-start;
        }

        .halloween-banner__cta-row {
            flex-wrap: nowrap;
            justify-content: flex-start;
            gap: 0;
        }
        .halloween-banner__decoration {
            max-width: 24%;
        }

        .halloween-banner__title {
            font-size: 56px !important;
        }
    }

    /* Compact centered hero (≤1900px) */
    @media (max-width: 1900px) {
        :root {
            --halloween-banner-height: 260px;
        }

        .halloween-content {
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 10px;
            padding: 16px 18% 20px;
        }

        .halloween-banner__description,
        .halloween-banner__features {
            display: none !important;
        }

        .halloween-banner__left,
        .halloween-banner__right {
            flex: none;
            width: 100%;
            max-width: 720px;
            min-width: 0;
            text-align: center;
        }

        .halloween-banner__right {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .halloween-banner__bottom {
            align-items: center;
            width: 100%;
            max-width: none;
        }

        .halloween-banner__cta-wrap {
            width: max-content;
            text-align: center;
            align-items: center;
        }

        .halloween-banner__cta-row {
            justify-content: center;
        }

        .halloween-banner__title {
            margin-bottom: 8px;
            font-size: 38px !important;
            align-items: center;
        }

        .halloween-banner__title span {
            white-space: normal;
        }

        .halloween-banner__eyebrow {
            font-size: 16px;
            margin-bottom: 6px;
        }

        .halloween-banner__decoration {
            position: absolute;
            bottom: 0;
            top: auto;
            height: 92%;
            max-width: 32%;
            z-index: 0;
        }

        .halloween-banner__decoration--left {
            left: 0;
        }

        .halloween-banner__decoration--right {
            right: 0;
        }
    }

    @media (max-width: 1900px) and (max-width: 1200px) {
        .halloween-banner__title {
            font-size: 34px !important;
        }

        .halloween-banner__button {
            min-height: 44px;
            padding: 0 12px;
            font-size: 16px;
        }

        .halloween-banner__offer-text {
            font-size: 15px;
        }
    }

    @media (max-width: 1900px) and (max-width: 992px) {
        .halloween-banner__offer-text {
            font-size: 13px;
            padding-left: 22px;
        }

        .halloween-banner__offer-text::after {
            left: 11px;
        }
    }
    
    @media (max-width: 991.98px) {
        html.halloween-scrolled.header_open .halloween-sticky-stack.header-mobile-chrome-pinned {
            background: #ffffff;
        }
    
        html.halloween-scrolled.header_open .halloween-sticky-stack.header-mobile-chrome-pinned .halloween-compact-bar {
            background: #fef9f4;
        }
        .halloween-banner {
            display: block !important;
            position: relative;
            z-index: 1101;
            --halloween-mobile-compact-height: 148px;
            min-height: 0 !important;
            height: var(--halloween-mobile-compact-height);
            margin-bottom: calc(-1 * var(--halloween-mobile-compact-height));
            overflow: visible;
            background: transparent !important;
            pointer-events: none;
        }
    
        .halloween-banner .container {
            display: none !important;
        }
        .halloween-banner__decoration {
            position: fixed;
            top: 0;
            bottom: auto;
            height: 116px;
            max-width: 40%;
            z-index: 1100;
            pointer-events: none;
        }

        .halloween-banner__decoration--left {
            left: 0;
        }

        .halloween-banner__decoration--right {
            right: 0;
        } 
    
        html:has(.halloween-banner) .halloween-compact-bar {
            position: relative;
            overflow: visible;
            max-height: 148px;
            opacity: 1;
            border-bottom-width: 1px;
            pointer-events: auto;
        }
    
        .halloween-compact-bar__offer-end {
            display: block;
            text-align: center !important;
        }
    
        .halloween-compact-bar__inner {
            position: relative;
            z-index: 1;
            flex-direction: column;
            align-items: stretch;
            text-align: center;
            padding: 10px 14% 10px;
            min-height: 0;
            gap: 6px;
        }
    
        .halloween-compact-bar__title {
            justify-content: center;
            gap: 0 6px;
        }
    
        .halloween-compact-bar__title span {
            white-space: normal;
        }
    
        .halloween-compact-bar__cta {
            justify-content: center;
            width: 100%;
            max-width: max-content;
            margin: 0 auto;
            min-height: 36px;
            font-size: 12px;
        }
    
        .halloween-banner__title {
            font-size: 26px !important;
        }
        .halloween-banner__eyebrow {
            font-size: 15px;
            margin-left: 10px;
        }
        .halloween-banner__button {
            min-height: 0;
            font-size: 16px;
            height: 36px;
        }
        .halloween-banner__offer-text {
            font-size: 13px !important;
        }
    }
    @media (max-width: 767px) {
        .halloween-banner__decoration {
            top: 31px;
        }
    }
    
    @media (max-width: 576px) {
        .halloween-banner__title {
            font-size: 20px !important;
        }
        .halloween-banner__eyebrow {
            font-size: 12px;
            margin-bottom: 4px;
        }
        .halloween-banner__button svg {
            width: 14px;
        }
        .halloween-banner__button {
            min-height: 24px;
            border-radius: 4px;
            font-size: 13px;
        }
        .halloween-banner__decoration {
            height: 88px;
            max-width: 40%;
            top: 54px;
        }
    
        html:has(.halloween-banner) .halloween-compact-bar__inner {
            padding-left: 16%;
            padding-right: 16%;
        }
    
        .halloween-banner__cta-wrap {
            gap: 3px;
        }
        .halloween-banner__cta-wrap small {
            font-size: 11px;
        }
        .halloween-content {
            gap: 6px;
        }
    }
    
    @media (prefers-color-scheme: dark) {
        .halloween-banner__eyebrow *, .halloween-banner__title *,
        .halloween-compact-bar__title * {
            color: #0F0A44 !important;
        }
    }

    @media (max-width: 991.98px) {
        html:has(.halloween-banner) #header_main .header-main .navbar_new {
            top: var(--header-mobile-drawer-top, var(--site-header-offset, 56px)) !important;
        }
    }

    /* Mobile menu: pin sticky stack when drawer open (header_footer_115 parity). */
    @media (max-width: 991.98px) {
        html.header_open .halloween-sticky-stack.header-mobile-chrome-pinned,
        html.header_open #header_main.header-mobile-chrome-pinned {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            z-index: 1060 !important;
            background: #ffffff;
        }

        html.header_open #header_main .header-box,
        html.header_open #header_main .header-main__toolbar {
            position: relative;
            z-index: 1062;
        }

        body.header_open #header_main .header-main .navbar_new {
            z-index: 1055 !important;
        }

        html.dark_mode.header_open .halloween-sticky-stack.header-mobile-chrome-pinned,
        html.dark_mode.header_open #header_main.header-mobile-chrome-pinned {
            background: #1a1a1a;
        }
    }

    