/* Sticky mobile CTA — proxy version (no DOM moving) */
@media (max-width: 767px) {
    .pdp-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 8;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0, .08);
        box-shadow: 0px 4px 14px rgba(0, 0, 0, .7);

        /* keep mounted to avoid IO thrash; slide in/out */
        transform: translateY(100%);
        transition: transform 160ms ease-out;
        will-change: transform;
        font-family: 'FHOscarPro';
    }

    .pdp-sticky-cta.is-active {
        transform: translateY(0%);
    }

    .pdp-sticky-cta__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px 12px;
        align-items: center;
    }

    .pdp-sticky-cta__size {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .pdp-sticky-cta__size label {
        font-size: 12px;
        line-height: 1;
        color: #333;
        white-space: nowrap;
        font-family: 'FHOscarPro';
    }

    .pdp-sticky-cta__size select {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 0    ;
        font-size: 0.8rem;
        background: #fff;
        font-family: 'FHOscarPro';
    }

    /* Make the proxy ATC visually match: uppercase + weight/size */
    .pdp-sticky-cta__button {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 40px;
        padding: 10px 14px;
        border-radius: 0;
        border: none;

        /* match typical PDP button style; adjust if your theme differs */
        text-transform: uppercase;
        font-weight: 600;
        font-size: 0.8rem;
        font-family: 'FHOscarPro';
        background: #111;
        color: #fff;
    }

    .pdp-sticky-cta__button[disabled],
    .pdp-sticky-cta__button[aria-disabled="true"] {
        opacity: .55;
    }

    /* Give page bottom spacing so sticky doesn’t overlap the footer */
    body.has-pdp-sticky-cta {
        padding-bottom: 84px;
        /* ~bar height */
    }
}

/* No sticky on desktop */
@media (min-width: 768px) {
    .pdp-sticky-cta {
        display: none;
    }
}
