/* ==========================================================================
   WooCommerce: archivio [ii_shop], scheda [ii_prodotto], carrello, pagamento,
   account e wishlist. Misure dai template Elementor 2030 / 1570 / 1438-1440 / 2023.
   ========================================================================== */

/* --- Archivio ------------------------------------------------------------ */

.ii-shop {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.ii-shop__intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-left: 30px;
}

.ii-shop__titolo {
    display: flex;
    gap: 20px;
    width: 100%;
    padding: 10px 10px 10px 0;
}

.ii-shop__discover {
    font-family: Silkscreen, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: -1.4px;
    color: #7a7a7a;
    height: 24px;
}

.ii-shop__discover span {
    color: #000;
}

.ii-shop__conteggio {
    height: 24px;
}

.ii-shop__testo {
    width: 100%;
    margin-bottom: 5px;
    font-family: "Helvetica Neue Light", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    color: #7a7a7a;
}

.ii-shop__testo p {
    margin-top: 0;
}

.traccia {
    -webkit-text-fill-color: #7a7a7a87;
    -webkit-text-stroke: .33px;
}

.ii-shop__vista {
    width: 100%;
}

/* Griglia prodotti (widget Elementor "Prodotti") */
.ii-prodotti ul.products {
    display: grid;
    grid-template-columns: repeat(var(--ii-colonne), 1fr);
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ii-prodotti--6 { --ii-colonne: 6; }
.ii-prodotti--4 { --ii-colonne: 4; }
.ii-prodotti--2 { --ii-colonne: 2; }

.ii-prodotti ul.products::before,
.ii-prodotti ul.products::after {
    content: none;
    display: none;
}

.woocommerce .ii-prodotti ul.products li.product,
.ii-prodotti ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.ii-prodotti ul.products li.product a.woocommerce-loop-product__link {
    display: block;
    position: relative;
}

.woocommerce .ii-prodotti ul.products li.product a img.attachment-woocommerce_thumbnail {
    margin-bottom: 0;
}

.woocommerce .ii-prodotti ul.products li.product .woocommerce-loop-product__title {
    font-family: Roboto, sans-serif;
    font-size: 0;
    font-weight: 600;
    color: #fff;
}

.ii-prodotti ul.products li.product .price,
.ii-prodotti ul.products li.product .button,
.ii-prodotti ul.products li.product .star-rating {
    display: none;
}

@media (max-width: 1024px) {
    .ii-prodotti { --ii-colonne: 3 !important; }
    .ii-prodotti ul.products { gap: 40px 20px; }
}

@media (max-width: 767px) {
    .ii-prodotti { --ii-colonne: 2 !important; }
}

/* --- Scheda prodotto ------------------------------------------------------ */

.ii-prodotto {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.ii-prodotto p {
    margin: 0 0 14.4px;
}

.ii-prodotto ul.ii-lista {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Spaziatura fra i "widget" della colonna informazioni (8px come in Elementor). */
.ii-prodotto__info > *,
.ii-prodotto__info > ul.ii-lista {
    margin-bottom: 8px;
}

/* Galleria: carosello a due immagini con frecce e punti */
.ii-prodotto__galleria {
    padding: 0 30px;
}

.ii-prodotto__galleria--vuota {
    min-height: 1px;
}

.ii-carosello {
    position: relative;
    padding-bottom: 30px;
    overflow: hidden;
}

.ii-carosello__finestra {
    overflow: hidden;
}

.ii-carosello__traccia {
    display: flex;
}

.ii-carosello__slide {
    flex: 0 0 50%;
    text-align: center;
}

.ii-carosello__img {
    display: block;
    width: 100%;
    height: auto;
}

.ii-carosello__freccia {
    position: absolute;
    top: calc(50% - 15px);
    z-index: 1;
    display: flex;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.ii-carosello__freccia svg {
    width: 20px;
    height: 20px;
}

.ii-carosello__freccia--prev { left: 10px; }
.ii-carosello__freccia--next { right: 10px; }

.ii-carosello__punti {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    display: flex;
    justify-content: center;
    height: 24px;
    padding-top: 12px;
}

.ii-carosello__punto {
    width: 6px;
    height: 6px;
    margin: 0 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #000;
    opacity: .2;
    cursor: pointer;
}

.ii-carosello__punto.is-attivo {
    opacity: 1;
}

/* Titolo ACF */
.ii-prodotto__intestazione {
    padding: 10px;
}

.ii-prodotto__titolo {
    margin: 0 20px 0 0;
    padding: 0;
    font-family: "Helvetica Neue Bold", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    color: #111;
}

/* Filtro colore / taglia / prezzo (shortcode DC) */
.ii-prodotto__filtro {
    padding: 10px;
}

.ii-prodotto__filtro .dc-price-display.is-acquistabile {
    cursor: pointer;
}

.ii-prodotto__spazio {
    height: 20px;
}

/* Corpo: informazioni a sinistra, foto ACF a destra */
.ii-prodotto__corpo {
    display: flex;
}

.ii-prodotto__info {
    display: flex;
    flex-direction: column;
    width: 35%;
}

.ii-prodotto__foto {
    width: 64.607%;
}

.ii-prodotto__info > section {
    margin: -10px 0 0;
}

.ii-prodotto__info > .ii-prodotto__blocco--aiuto {
    margin-top: -22px;
}

.ii-prodotto__blocco {
    display: flex;
    flex-direction: column;
}

.ii-prodotto__blocco > * {
    margin-bottom: -6px;
}

.ii-prodotto__blocco > :last-child {
    margin-bottom: 0;
}

.ii-prodotto__sottotitolo {
    font-family: "Helvetica Neue Medium", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
    color: #111;
}

.ii-prodotto__testo {
    font-family: "Helvetica Neue Light", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    color: #7a7a7a87;
}

/* Liste con icona */
.ii-lista__voce {
    display: flex;
    align-items: center;
}

.ii-lista__icona {
    display: flex;
}

.ii-lista__testo {
    padding-left: 5px;
}

.ii-lista--titolo .ii-lista__icona svg {
    width: 14px;
    height: 14px;
    margin-right: 3.5px;
}

.ii-lista--titolo .ii-lista__testo,
.ii-lista--sezione .ii-lista__testo {
    font-family: "Silkscreen Expanded", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: -2px;
    color: #111;
}

.ii-lista--sezione .ii-lista__icona svg {
    width: 22px;
    height: 22px;
    margin-right: 5.5px;
}

.ii-lista--dettagli .ii-lista__voce {
    justify-content: center;
    margin-bottom: 15px;
}

.ii-lista--dettagli .ii-lista__voce:not(:last-child) {
    padding-bottom: 6px;
}

.ii-lista--dettagli .ii-lista__voce:not(:first-child) {
    margin-top: 6px;
}

.ii-lista--dettagli .ii-lista__icona {
    padding-right: 120px;
}

.ii-lista--dettagli .ii-lista__icona svg {
    width: 12px;
    height: 12px;
    margin-right: 3px;
}

.ii-lista--dettagli .ii-lista__testo,
.ii-lista--aiuto .ii-lista__testo {
    font-family: "Helvetica Neue Light", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    color: #7a7a7a87;
}

.ii-lista--aiuto .ii-lista__voce {
    justify-content: flex-end;
    text-align: end;
}

.ii-lista--aiuto .ii-lista__testo {
    padding-left: 0;
    font-size: 13px;
}

/* Codice e categoria */
.ii-prodotto__meta {
    font-family: "Helvetica Neue Medium", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-transform: uppercase;
    text-align: right;
}

.ii-prodotto__meta .detail-container {
    display: block;
}

.ii-prodotto__meta .detail-label {
    font-weight: normal;
}

/* Divisori */
.ii-divisore__linea {
    display: flex;
    align-items: center;
}

.ii-divisore__linea::after {
    content: "";
    display: block;
    flex-grow: 1;
    border-top: 1px solid #7a7a7a87;
}

.ii-divisore__icona {
    display: flex;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.ii-divisore__icona svg {
    width: 24px;
    height: 24px;
}

.ii-divisore--primo .ii-divisore__linea {
    margin-top: 16px;
}

.ii-divisore--blocco .ii-divisore__linea {
    margin-top: -16px;
    padding: 15px 0;
}

.ii-divisore--dettagli .ii-divisore__linea {
    padding: 24px 0;
}

/* A closer look */
.ii-prodotto__sezione {
    height: 22px;
}

.ii-prodotto__closer {
    display: flex;
    flex-direction: column;
    min-height: 811px;
    padding: 10px;
    text-align: center;
}

.ii-prodotto__closer-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Correlati */
.ii-prodotto__correlati {
    margin-bottom: 50px;
}

.ii-prodotto__correlati > .ii-lista {
    margin-bottom: 20px !important;
}

.ii-prodotti--correlati { --ii-colonne: 4; }

.ii-prodotti--correlati ul.products {
    gap: 40px 20px;
}

.ii-prodotti--correlati .related > h2 {
    display: none;
}

.woocommerce .ii-prodotti--correlati ul.products li.product {
    text-align: center;
}

.woocommerce .ii-prodotti--correlati ul.products li.product a img {
    margin-bottom: 16px;
}

.woocommerce .ii-prodotti--correlati ul.products li.product .woocommerce-loop-product__title {
    padding: 7px 0;
    font-family: "Helvetica Neue Medium", sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 16.8px;
    color: #111;
}

.woocommerce .ii-prodotti--correlati ul.products li.product .price {
    display: block;
    margin-bottom: .5em;
    font-family: Roboto, sans-serif;
    font-size: .857em;
    font-weight: 600;
    line-height: 1.5;
    color: #6ec1e4;
}
