/* Product page — mobile sticky Call / Buy bar (above bottom nav) */

:root {
    --pv-sticky-cta-h: 72px;
}

@media (max-width: 768px) {
    .pv-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(var(--mbn-h, 54px) + env(safe-area-inset-bottom, 0));
        z-index: 970;
        pointer-events: none;
        transform: translateY(110%);
        opacity: 0;
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.28s ease;
    }

    .pv-sticky-cta--visible {
        pointer-events: auto;
        transform: translateY(0);
        opacity: 1;
    }

    .pv-sticky-cta-inner {
        display: flex;
        align-items: stretch;
        gap: 10px;
        padding: 10px 14px;
        background: #ffffff;
        border-top: 1px solid #e8e8e6;
        box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.1);
    }

    .pv-sticky-cta-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
        padding: 12px 14px;
        border-radius: 10px;
        font-family: 'Figtree', sans-serif;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        text-decoration: none;
        border: none;
        cursor: pointer;
        white-space: nowrap;
        transition: filter 0.14s, transform 0.14s;
        -webkit-tap-highlight-color: transparent;
    }

    .pv-sticky-cta-btn:active {
        transform: scale(0.98);
    }

    .pv-sticky-cta-btn svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }

    .pv-sticky-cta-btn--call {
        background: #1a1a1a;
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    }

    .pv-sticky-cta-btn--call:hover {
        filter: brightness(1.08);
        color: #ffffff !important;
    }

    .pv-sticky-cta-btn--buy {
        background: linear-gradient(135deg, #ff6b00, #ff8c33);
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(255, 107, 0, 0.32);
    }

    .pv-sticky-cta-btn--buy:hover {
        filter: brightness(1.07);
        color: #ffffff !important;
    }

    .pv-sticky-cta-btn--buy svg {
        stroke: #ffffff;
    }

    .pv-sticky-cta-btn--preorder {
        background: linear-gradient(135deg, #ff6b00, #ff8c33);
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(255, 107, 0, 0.32);
    }

    .pv-sticky-cta--visible ~ .mbn-bar,
    body.pv-sticky-cta-active .mbn-bar {
        /* keep nav below sticky bar */
    }

    body.pv-sticky-cta-active .fs-footer {
        padding-bottom: calc(var(--mbn-h, 54px) + var(--pv-sticky-cta-h) + env(safe-area-inset-bottom, 0));
    }

    body.pv-sticky-cta-active .pv-toast {
        bottom: calc(var(--mbn-h, 54px) + var(--pv-sticky-cta-h) + 12px + env(safe-area-inset-bottom, 0)) !important;
    }
}

@media (min-width: 769px) {
    .pv-sticky-cta {
        display: none !important;
    }
}
