/* ==========================================================================
   Catalog — sticky mobile «Kit per la tua auto» bar
   ========================================================================== */

.catalog-kit-bar {
    display: none;
}

@media (max-width: 991px) {
    .catalog-kit-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
        z-index: 119;
        padding: 0 0.75rem;
        pointer-events: none;
    }

    .catalog-kit-bar__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
        padding: 0.55rem 0.7rem;
        border-radius: 12px;
        border: 1px solid rgba(34, 197, 94, 0.28);
        background: linear-gradient(135deg, rgba(22, 101, 52, 0.95) 0%, rgba(15, 23, 42, 0.97) 100%);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
        pointer-events: auto;
    }

    .catalog-kit-bar__copy {
        min-width: 0;
        flex: 1;
    }

    .catalog-kit-bar__kicker {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.62rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: rgba(187, 247, 208, 0.92);
    }

    .catalog-kit-bar__vehicle {
        display: block;
        margin-top: 0.1rem;
        font-size: 0.82rem;
        font-weight: 800;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .catalog-kit-bar__actions {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .catalog-kit-bar__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 0.75rem;
        border-radius: 8px;
        background: #22c55e;
        color: #052e16;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        text-decoration: none;
        white-space: nowrap;
        transition: background 0.15s, transform 0.15s;
    }

    .catalog-kit-bar__cta:active {
        transform: scale(0.97);
    }

    .catalog-kit-bar__reset {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.85rem;
        text-decoration: none;
        transition: background 0.15s, color 0.15s;
    }

    .catalog-kit-bar__reset:hover {
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
    }

    .page--prodotti--kit-bar .catalogue-body {
        padding-bottom: calc(8.35rem + env(safe-area-inset-bottom, 0px));
    }

    .page--prodotti--kit-bar .wa-float {
        bottom: calc(8.25rem + env(safe-area-inset-bottom, 0px));
    }
}