/* V17: V15 bottom sticky bar, lifted from reference-layout.css by build_v17.py (do not edit by hand). */

    #macro-method-sticky,
    #macro-method-sticky * {
        box-sizing: border-box;
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    }


    /* =========================================
       MAIN STICKY BAR (DESKTOP)
    ========================================= */

    #macro-method-sticky {
        --bar-pad: clamp(14px, 4vw, 48px);

        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;

        width: 100%;

        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            auto
            minmax(0, 1fr);

        grid-template-areas: "price timer cta";

        align-items: center;

        column-gap: clamp(18px, 3vw, 45px);

        padding: 12px var(--bar-pad);
        padding-bottom: calc(
            12px + env(safe-area-inset-bottom, 0px)
        );

        background:
            radial-gradient(
                circle at 18% 50%,
                rgba(229,57,53,0.17),
                transparent 32%
            ),
            linear-gradient(
                180deg,
                #18181b 0%,
                #18181b 100%
            );

        border-top: 1px solid rgba(255, 255, 255, 0.1);

        box-shadow:
            0 -12px 38px rgba(0, 0, 0, 0.48);

        transform: translateY(120%);
        opacity: 0;
        visibility: hidden;

        transition:
            transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
            opacity 0.42s ease,
            visibility 0.42s ease;
    }


    #macro-method-sticky::before {
        content: "";

        position: absolute;

        top: 0;
        left: 0;

        width: 100%;
        height: 2px;

        background:
            linear-gradient(
                90deg,
                transparent 0%,
                rgba(255,53,46,0.15) 10%,
                #ff352e 48%,
                rgba(255,53,46,0.15) 90%,
                transparent 100%
            );

        z-index: 3;
    }


    #macro-method-sticky.on {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }



    /* =========================================
       OFFER / PRICE
    ========================================= */

    .macro-offer-copy {
        position: relative;
        z-index: 1;

        grid-area: price;

        justify-self: start;

        display: flex;
        flex-direction: column;

        gap: 3px;

        min-width: 0;

        line-height: 1;
    }


    .macro-value-line {
        display: flex;
        align-items: center;

        gap: 7px;

        white-space: nowrap;
    }


    .macro-value-label {
        color: rgba(255, 255, 255, 0.72);

        font-size: clamp(9px, 1.25vw, 11px);

        font-weight: 800;

        letter-spacing: 1.15px;

        text-transform: uppercase;
    }


    .macro-value-line strong {
        color: #ff554f;

        font-size: clamp(15px, 2.1vw, 21px);

        font-weight: 900;

        letter-spacing: -0.5px;
    }


    .macro-price-line {
        display: flex;
        align-items: center;

        gap: clamp(5px, 1vw, 9px);

        white-space: nowrap;
    }


    .macro-price-label {
        color: #ffffff;

        font-size: clamp(17px, 2.4vw, 24px);

        font-weight: 900;

        letter-spacing: -0.6px;

        text-transform: uppercase;
    }


    .macro-old-price {
        position: relative;

        color: rgba(255, 255, 255, 0.76);

        font-size: clamp(19px, 2.8vw, 29px);

        font-weight: 900;

        letter-spacing: -1px;
    }


    .macro-old-price::after {
        content: "";

        position: absolute;

        left: -3px;
        right: -3px;

        top: 52%;

        height: 3px;

        border-radius: 999px;

        background: #ff352e;

        transform: rotate(-2deg);

        box-shadow:
            0 0 10px rgba(255,53,46,0.75);
    }


    .macro-arrow {
        color: #ff554f;

        font-size: clamp(19px, 2.6vw, 28px);

        font-weight: 900;

        line-height: 1;
    }


    .macro-today-price {
        color: #ffffff;

        font-size: clamp(24px, 3.4vw, 36px);

        font-weight: 900;

        letter-spacing: -1.5px;

        text-shadow:
            0 0 18px rgba(255,53,46,0.25);
    }


    .macro-guarantee {
        color: #cbbdbd;

        font-size: clamp(9px, 1.35vw, 11px);

        font-weight: 700;

        letter-spacing: 0.55px;

        line-height: 1.25;

        text-transform: uppercase;
    }



    /* =========================================
       TIMER (DESKTOP: STACKED, CENTER)
    ========================================= */

    .macro-countdown {
        position: relative;
        z-index: 2;

        grid-area: timer;

        justify-self: center;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        min-width: 180px;

        line-height: 1;
    }


    .macro-countdown-label {
        margin-bottom: 5px;

        color: rgba(255, 255, 255, 0.68);

        font-size: 9px;

        font-weight: 800;

        letter-spacing: 1.4px;

        text-transform: uppercase;

        white-space: nowrap;
    }


    .macro-countdown-clock {
        display: flex;
        align-items: flex-start;
        justify-content: center;

        gap: 5px;
    }


    .macro-time-unit {
        display: flex;
        flex-direction: column;
        align-items: center;

        min-width: 37px;
    }


    .macro-time-unit strong {
        color: #ffffff;

        font-size: clamp(22px, 2.3vw, 31px);

        font-weight: 900;

        line-height: 0.95;

        letter-spacing: -1px;

        font-variant-numeric: tabular-nums;

        text-shadow:
            0 0 15px rgba(255,53,46,0.36);
    }


    .macro-time-unit small {
        margin-top: 4px;

        color: #ff554f;

        font-size: 7px;

        font-weight: 800;

        letter-spacing: 0.8px;

        line-height: 1;
    }


    .macro-time-colon {
        color: #ff554f;

        font-size: clamp(20px, 2vw, 27px);

        font-weight: 900;

        line-height: 0.9;

        opacity: 0.95;

        animation: macroColonPulse 1s ease-in-out infinite;
    }


    @keyframes macroColonPulse {
        0%,
        100% {
            opacity: 0.45;
        }

        50% {
            opacity: 1;
        }
    }



    /* =========================================
       CTA BUTTON
    ========================================= */

    #macro-method-sticky .macro-checkout-link {
        position: relative;
        z-index: 1;

        grid-area: cta;

        justify-self: end;

        flex: 0 0 auto;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 3px;

        min-width: 0;
        min-height: 54px;

        padding:
            10px
            clamp(17px, 3vw, 34px);

        border-radius: 11px;

        overflow: hidden;

        background:
            linear-gradient(
                135deg,
                #ff423b 0%,
                #e53935 55%,
                #cb0700 100%
            );

        color: #ffffff;

        font-size: clamp(12px, 1.7vw, 15px);

        font-weight: 900;

        letter-spacing: 0.35px;

        line-height: 1.05;

        text-align: center;

        text-decoration: none;

        text-transform: uppercase;

        white-space: nowrap;

        box-shadow:
            0 10px 24px rgba(229,57,53,0.38),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);

        transition:
            transform 0.2s ease,
            box-shadow 0.2s ease;
    }


    #macro-method-sticky .macro-checkout-link::before {
        content: "";

        position: absolute;

        top: 0;
        left: -70%;

        width: 45%;
        height: 100%;

        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.3),
                transparent
            );

        transform: skewX(-20deg);

        transition: left 0.55s ease;
    }


    #macro-method-sticky .macro-checkout-link:hover {
        transform: translateY(-2px);

        box-shadow:
            0 14px 30px rgba(229,57,53,0.54),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }


    #macro-method-sticky .macro-checkout-link:hover::before {
        left: 125%;
    }


    #macro-method-sticky .macro-checkout-link:focus-visible {
        outline: 3px solid #ffffff;
        outline-offset: 2px;
    }


    #macro-method-sticky .macro-cta-sub {
        font-size: clamp(9px, 1.25vw, 11px);

        font-weight: 700;

        letter-spacing: 0.1px;

        line-height: 1.2;

        text-transform: none;

        white-space: normal;

        opacity: 0.93;
    }


    /* Wide labels show by default, narrow labels only on mobile */
    #macro-method-sticky .macro-cta-label-narrow,
    #macro-method-sticky .macro-cta-sub-narrow {
        display: none;
    }



    /* =========================================
       MOBILE / TABLET: TWO-ROW LAYOUT

       Row 1  ->  full-width timer ribbon
       Row 2  ->  price (auto) + CTA (fills)
    ========================================= */

    @media (max-width: 760px) {

        #macro-method-sticky {
            --bar-pad: 12px;

            grid-template-columns: auto minmax(0, 1fr);

            grid-template-areas:
                "timer timer"
                "price cta";

            column-gap: 10px;
            row-gap: 9px;

            /* no top padding: the ribbon sits flush at the top */
            padding: 0 var(--bar-pad) 10px;
            padding-bottom: calc(
                10px + env(safe-area-inset-bottom, 0px)
            );
        }


        /* ---- Timer becomes a single-line urgency ribbon ---- */

        .macro-countdown {
            justify-self: stretch;

            flex-direction: row;
            align-items: center;
            justify-content: center;

            gap: 8px;

            min-width: 0;

            /* bleed to both edges of the bar */
            margin: 0 calc(var(--bar-pad) * -1);

            padding: 6px var(--bar-pad);

            background:
                linear-gradient(
                    90deg,
                    rgba(229,57,53,0.04) 0%,
                    rgba(229,57,53,0.24) 50%,
                    rgba(229,57,53,0.04) 100%
                );

            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        }


        .macro-countdown-label {
            margin-bottom: 0;

            font-size: 10.5px;

            letter-spacing: 1px;
        }


        .macro-countdown-clock {
            align-items: center;

            gap: 0;
        }


        .macro-time-unit {
            flex-direction: row;

            min-width: 0;
        }


        .macro-time-unit strong {
            min-width: 2ch;

            font-size: 17px;

            line-height: 1;

            letter-spacing: 0;

            text-align: center;

            text-shadow: 0 0 12px rgba(255,53,46,0.5);
        }


        /* HRS / MIN / SEC captions are redundant inline */
        .macro-time-unit small {
            display: none;
        }


        .macro-time-colon {
            margin: 0 1px;

            font-size: 17px;

            line-height: 1;
        }


        /* ---- Price ---- */

        .macro-offer-copy {
            gap: 2px;
        }


        /* Total value and "Today Only" drop out, the ribbon carries urgency */
        .macro-value-line,
        .macro-price-label {
            display: none;
        }


        .macro-price-line {
            gap: 5px;
        }


        .macro-old-price {
            font-size: 17px;
        }


        .macro-old-price::after {
            height: 2px;
        }


        .macro-arrow {
            font-size: 15px;
        }


        .macro-today-price {
            font-size: 24px;
        }


        .macro-guarantee {
            font-size: 8.5px;

            letter-spacing: 0.3px;
        }


        /* ---- CTA fills the rest of the row ---- */

        #macro-method-sticky .macro-checkout-link {
            justify-self: stretch;

            width: 100%;

            min-height: 48px;

            padding: 8px 12px;

            border-radius: 10px;

            font-size: 13px;

            letter-spacing: 0.2px;
        }


        #macro-method-sticky .macro-cta-label-wide,
        #macro-method-sticky .macro-cta-sub-wide {
            display: none;
        }


        #macro-method-sticky .macro-cta-label-narrow,
        #macro-method-sticky .macro-cta-sub-narrow {
            display: block;
        }


        #macro-method-sticky .macro-cta-sub {
            font-size: 9px;

            white-space: nowrap;
        }
    }



    /* =========================================
       SMALL MOBILE
    ========================================= */

    @media (max-width: 480px) {

        #macro-method-sticky {
            --bar-pad: 10px;

            column-gap: 8px;
            row-gap: 8px;
        }


        .macro-countdown {
            gap: 6px;

            padding: 5px var(--bar-pad);
        }


        .macro-countdown-label {
            font-size: 10.5px;

            letter-spacing: 0.85px;
        }


        .macro-time-unit strong,
        .macro-time-colon {
            font-size: 17px;
        }


        .macro-old-price {
            font-size: 16px;
        }


        .macro-today-price {
            font-size: 22px;
        }


        .macro-guarantee {
            font-size: 8px;

            letter-spacing: 0;
        }


        #macro-method-sticky .macro-checkout-link {
            min-height: 46px;

            padding: 8px 10px;

            font-size: 12px;
        }


        #macro-method-sticky .macro-cta-sub {
            font-size: 8.5px;
        }
    }



    /* =========================================
       EXTRA SMALL MOBILE
    ========================================= */

    @media (max-width: 380px) {

        #macro-method-sticky {
            --bar-pad: 8px;

            column-gap: 6px;
        }


        .macro-countdown {
            gap: 5px;
        }


        .macro-countdown-label {
            font-size: 10px;

            letter-spacing: 0.7px;
        }


        .macro-time-unit strong,
        .macro-time-colon {
            font-size: 16px;
        }


        .macro-old-price {
            font-size: 15px;
        }


        .macro-arrow {
            font-size: 13px;
        }


        .macro-today-price {
            font-size: 20px;
        }


        .macro-guarantee {
            font-size: 7.5px;
        }


        #macro-method-sticky .macro-checkout-link {
            min-height: 44px;

            padding: 7px 9px;

            font-size: 11px;
        }


        #macro-method-sticky .macro-cta-sub {
            font-size: 8px;
        }
    }



    /* =========================================
       REDUCED MOTION
    ========================================= */

    @media (prefers-reduced-motion: reduce) {

        #macro-method-sticky {
            transition:
                opacity 0.25s ease,
                visibility 0.25s ease;

            transform: none !important;
        }


        #macro-method-sticky .macro-checkout-link,
        #macro-method-sticky .macro-checkout-link::before {
            transition: none;
        }


        .macro-time-colon {
            animation: none;
        }
    }

/* V15 overrides (b2u-theme.css, v8-refinements.css, v15-system.css) */
#macro-method-sticky{background:linear-gradient(180deg,#27272A,#18181B)!important}
#macro-method-sticky .macro-checkout-link{background:linear-gradient(135deg,#FF3B30,#C62828)!important;border-radius:14px!important;justify-content:center;text-align:center}
#macro-method-sticky .macro-cta-sub{display:none!important}
.macro-countdown-label{white-space:normal!important}
.macro-time-unit strong{font-variant-numeric:tabular-nums}
.macro-price-label{white-space:nowrap;font-size:14px!important}
/* the page footer needs room so the bar never covers the legal links */
footer.site{padding-bottom:150px!important}
/* cookie banner (z 10000) and its settings button (z 9999) must stay clickable above the bar */
#macro-method-sticky{z-index:9000!important}
body:has(#macro-method-sticky.on) #tracking-settings{bottom:110px!important}
