/* Blocco «Cerchi un prodotto?» (componente CBProductFinder). Le card sono quelle di cb-product-showcase.css (.cb-ps-*). */

.cb-psf.cb-ps {
    margin-bottom: 0;
}

.cb-psf .cb-psf-box {
    border-radius: var(--border-radius-md, 20px);
    background: var(--hb-light-gray-3, #e5ecfa);
}

.cb-psf .cb-psf-title {
    font-size: 28px;
    color: var(--cb-ps-ink);
}

.cb-psf .cb-psf-text {
    font-size: 14px;
    color: var(--cb-ps-ink);
}

.cb-psf .min-w-0 {
    min-width: 0;
}

/* Il carosello lascia spazio a ombra e outline delle card */
.cb-psf .cb-psf-swiper {
    padding: 4px;
    margin: -4px;
}

.cb-psf .cb-psf-nav {
    position: absolute;
    top: calc(50% - 20px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--cb-ps-line);
    border-radius: 50%;
    background: #fff;
    color: var(--cb-ps-ink);
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(20, 44, 71, .15);
    cursor: pointer;
    transition: opacity .15s ease, color .15s ease, border-color .15s ease;
}

.cb-psf .cb-psf-prev { left: -10px; }
.cb-psf .cb-psf-next { right: -10px; }

.cb-psf .cb-psf-nav:hover {
    border-color: var(--cb-ps-accent);
    color: var(--cb-ps-accent);
}

.cb-psf .cb-psf-nav.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

.cb-psf .cb-psf-more {
    font-size: 13px;
    color: var(--cb-ps-accent);
}

.cb-psf .cb-psf-more:hover {
    text-decoration: underline !important;
}

@media (max-width: 575.98px) {
    .cb-psf .cb-psf-title {
        font-size: 22px;
    }

    .cb-psf .cb-psf-nav {
        display: none;
    }
}
