/* Message de retour en stock */
.woocommerce div.product p.stock.clpac-restock-message,
.out-of-stock-message .clpac-restock-message,
p.clpac-restock-message {
    color: #BA5C33 !important;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif !important;
}

.atc tr, .atc td, .atc th{
    background-color: transparent !important;
}

.atc tr:first-of-type{
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
}

.atc table.variations tr:first-of-type th.label{
    display: flex !important;
    padding: 0px 0px 4px 0px
}

.atc .cfvsw-swatches-container[swatches-attr="attribute_pa_size"] .cfvsw-swatch-inner{
    font-size: 18px;
    font-weight: 400;
    font-family: "Poppins", Sans-serif;
}

.atc .cfvsw-swatches-container[swatches-attr="attribute_pa_size"] .cfvsw-swatches-option{
    padding: 16px;
    border: 2px solid #DAD9D8;
}

.atc .cfvsw-swatches-container[swatches-attr="attribute_pa_size"] .cfvsw-swatches-option:hover, .atc .cfvsw-swatches-container[swatches-attr="attribute_pa_size"] .cfvsw-selected-swatch {
    border: 3px solid #BA5C33 !important;
}

.atc .cfvsw-swatches-container[swatches-attr="attribute_pa_couleurs"] .cfvsw-selected-swatch, .atc .cfvsw-swatches-container[swatches-attr="attribute_pa_couleurs"] .cfvsw-swatches-option:hover{
    border: 2px solid #BA5C33 !important;
}

.atc .cfvsw-swatches-container[swatches-attr="attribute_pa_couleurs"] .cfvsw-swatches-option{
    border:2px solid #00000000;
}

.atc .cfvsw-swatches-container[swatches-attr="attribute_pa_couleurs"]{
    grid-gap:0px 12px;
}

.atc .cfvsw-swatches-container[swatches-attr="attribute_pa_size"]{
    grid-gap:0px 16px;
}

.atc .reset_variations{
    display: none !important
}

@media only screen and (max-width: 400px) {
    .atc .cfvsw-swatches-container[swatches-attr="attribute_pa_couleurs"]{
        grid-gap:0px 24px;
        display:flex;
        margin-top:16px;
        margin-bottom:20px;
    }
    
    .atc .label{
        display:none;
    }
    
    .atc .cfvsw-hidden-select{
        display:none;
    }
    
    .atc .cfvsw-swatches-container{
        display:flex;
    }
    
    .atc .woocommerce-variation-add-to-cart{
        display:grid !important;
    }
    
    .atc .single_add_to_cart_button{
        margin-left:0px !important;
        margin-top:24px !important;
    }
}

@media only screen and (max-width: 768px) {
    .atc .variations{
        display:flex;
    }
    
    .atc .label{
        display:none;
    }
    
    .atc .cfvsw-swatches-container{
        display:flex;
    }
}

.quantity input {
    border: none !important;
}

.variations_form.all-out-of-stock .reset_variations,
.variations_form.all-out-of-stock .woocommerce-variation-add-to-cart {
    display: none !important;
}