/*PRODOTTO*/
.product-title, #lista-colori, #lista-taglie, .woocommerce-LoopProduct-link { 
    color: var(--fs-color-primary)!important; 
}

.price-wrapper .woocommerce-Price-amount { 
    color: var(--fs-color-secondary)!important; 
}

.page-title-bg { 
    display: none!important; 
}

.product-info .woocommerce-breadcrumb { 
    display: none!important; 
}

.flex-control-thumbs li img {
    /*fix gif height in product gallery*/
    max-height: 100px;
}

@media only screen and (max-width: 48em) {
    .ux-swatches { 
        gap: 15px!important;
    }
    
    .ux-swatch-selected-value { 
        display: none; 
    }
}

.ux-swatch__text {
    max-width: 88vw;
    overflow: hidden;
    text-overflow: ellipsis;
}

.variations_form .ux-swatch.selected { 
    box-shadow: 0 0 0 2px var(--fs-color-primary)!important;
}

.ux-swatches--large .ux-swatch--image { 
    height: calc(var(--swatch-size-large)*1.4)!important; 
}

.ux-swatch.disabled {
    opacity: 0.3!important;
}

.ux-swatch--label.disabled { 
    background: none!important; 
}

.ux-swatch--image.disabled::before { 
    background: none!important;
    /*rimuovo barrato*/
}

.ux-quantity__button, .wc-block-components-quantity-selector__button {
    background-color: var(--secondario)!important;
    color: white!important;
}

.my-lightbox {
    background-color: rgba(0, 0, 0, 0.5)!important; 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 9999;
}

.my-lightbox img {
    max-width: 95%;
    max-height: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.yith-wcwl-add-button { 
    margin-bottom: 15px; 
}

.accordion-title {
    border-color: var(--fs-color-primary)!important;
    color: var(--fs-color-primary)!important;
}

.accordion-title.active {
    background-color: var(--fs-color-primary)!important;
    color: white!important;
}

.related > .row { 
    max-width: 100%!important; 
}

.related .product-section-title { 
    text-align: center; 
}

.woocommerce-product-attributes .woocommerce-product-attributes-item--weight, 
.woocommerce-product-attributes .woocommerce-product-attributes-item--dimensions { 
    display: none!important; 
}

.woocommerce-product-attributes-item--attribute_pa_colore a, 
.woocommerce-product-attributes-item--attribute_pa_colore .aggiunta-scheda, 
.woocommerce-product-attributes-item--attribute_pa_taglia a, 
.woocommerce-product-attributes-item--attribute_pa_taglia .aggiunta-scheda {
    display: none; 
}

.wc-block-components-form .wc-block-components-text-input input:autofill + label, 
.wc-block-components-form .wc-block-components-text-input.is-active label, 
.wc-block-components-text-input input:autofill + label, 
.wc-block-components-text-input.is-active label {
    display: none!important; 
}

.flickity-prev-next-button svg { 
    color: var(--fs-color-primary);
}

@media only screen and (max-width: 997px) {
    .accordion-inner { 
        padding: 1em 0.5!important; 
    }
    
    #tabella-taglie-container { 
        width: 100%; 
    }
}

#tabella-taglie-container { 
    width: 90%;
    margin: 0 5%;
    padding: 20px 0; 
}

.titolo-tabella-misure { 
    text-align: center; 
}

#tabella-taglie { 
    width: 100%; 
    max-width: 100%; 
}

#tabella-taglie th, #tabella-taglie td { 
    text-align: center; 
}

#tabella-taglie .titolo-misura, .size { 
    color: var(--fs-color-primary); 
    font-size: 1.2em;
}

.size { 
    width: 20%;
}

#tabella-taglie span { 
    display: inline-block; 
    padding: 5px; 
    border: 1px solid var(--fs-color-primary); 
    border-radius: 3px; 
}

#tabella-taglie span:first-child { 
    margin-right: 10px; 
}

#tabella-taglie span.active { 
    background-color: var(--fs-color-primary); 
    color: white; 
}

#tabella-taglie td:first-child { 
    width: 16%; 
    max-width: 60px; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}

@media screen and (max-width: 576px) {
    #tabella-taglie tbody { 
        width: 100%;
    }

    tr.linea-princ {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .titolo-misura, .linea-size {
        width: 100%!important;
        max-width: 100%!important;
    }
}

/*COLORI*/
.swatch-s10-nero, .swatch-s10-black-en {
    background-color: black;
}

.swatch-s110-blu-chiaro, .swatch-s110-mid-blue-en {
    background-color: lightblue;
}

.swatch-s111-blu-scuro, .swatch-s111-royal-blue-en {
    background-color: royalblue;
}

.swatch-s121-blu-notte, .swatch-s121-nightshade-blue-en {
    background-color: navy;
}

.swatch-s125-turchese, .swatch-s125-turquoise-en {
    background-color: turquoise;
}

.swatch-s131-marrone-cioccolato, .swatch-s131-chocolate-brown-en {
    background-color: chocolate;
}

.swatch-s135-viola-susina, .swatch-s135-damson-purple-en {
    background-color: purple;
}

.swatch-s140-rosa-bubblegum, .swatch-s140-bubblegum-pink-en {
    background-color: hotpink;
}

.swatch-s180-white, .swatch-s180-white-en {
    background-color: white;
}

.swatch-s20-prugna, .swatch-s20plum-en {
    background-color: plum;
}

.swatch-s30-rosso, .swatch-s30-red-en {
    background-color: red;
}

.swatch-s50-arancione, .swatch-s50-orange-en {
    background-color: orange;
}

.swatch-s60-giallo, .swatch-s60-yellow-en {
    background-color: yellow;
}

.swatch-s80-verde-natura, .swatch-s80-natural-green-en {
    background-color: green;
}

.swatch-t10-semitrasparente, .swatch-t10-translucent-en {
    background-color: rgba(0, 0, 0, 0.5);
}

.swatch-t30-semitrasparente-oliva, .swatch-t30-translucent-smoky-olive-en {
    background-color: rgba(128, 128, 0, 0.5);
}

.swatch-t40-semitrasparente-nero, .swatch-t40-translucent-smoky-black-en {
    background-color: rgba(0, 0, 0, 0.5);
}

.swatch-t50-semitrasparente-blu, .swatch-t50-translucent-blue-en {
    background-color: rgba(0, 0, 255, 0.5);
}