/*
    CSS per le chip usate nella schermata della singola macchina
    per i campi "optionals", "note" e "note_rivenditore"
*/
.seppia_chips_container {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.seppia_chip {
    white-space: nowrap;
    background-color: var(--e-global-color-f79917a);
    padding: 0.5rem 1rem;
}

/*
    CSS per griglia loghi auto in homepage
*/
.seppia_car_logos_container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

a.car_logo_link {
    flex: 0 0 20%;
}

a.car_logo_link img {
    height: 150px;
    width: 100%;
    object-fit: contain;
}

@media screen and (max-width: 500px) {
    a.car_logo_link {
        flex: 0 0 45%;
    }

    a.car_logo_link img {
        height: 100px;
    }
}

/*
    CSS per "ribbon" con scritto USATO nel nelle immagini dei veicoli
*/
.imgRibbonMainEl {
    height: 100px;
    overflow: hidden;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
    width: 100px;
    z-index: 1;
}

.imgRibbonMainEl span {
    box-shadow: 0 3px 12px -7px rgba(0, 0, 0, 1);
    color: #fff;
    display: block;
    font: 600 12px / 30px "Source Sans Pro", sans-serif;
    position: absolute;
    right: -35px;
    text-align: center;
    text-transform: uppercase;
    top: 13px;
    transform: rotate(45deg);
    width: 125px;
    background: var( --e-global-color-primary );
}

/*
    Button per filtri search and filter pro
*/
#sf-reset-button {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 12px 20px;
    background: var(--e-global-color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

#sf-reset-button:hover {
    background-color: var(--e-global-color-accent);
}

/*
    FILTRI CUSTOM
*/
.sf-filters-desktop-container {
    display: flex;
    flex-direction: column;
    gap: 1vw; 
}

.sf-filters-desktop-container .container_sf_custom.field_potenza {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.sf-filters-mobile-container {
    padding: 8vw;
    display: flex;
    flex-direction: column;
    gap: 5vw;
}

.sf-filters-mobile-container .container_sf_custom.field_potenza {
    display: flex;
    flex-direction: column;
    gap: 5vw;
}