/*
***
    VARIABLES LOCALES CSS
*/
:root {
    --woo-main-color: #E93073;
    --woo-main-color-darker: #E93073;
    --woo-second-color: #293C4B;
    --woo-second-color-darker: #1d2b35;
}

/*
***
* WooCommerce - Fiche produit
***
* Hook pour l'apparence et la mise
* en forme d'une fiche produit,
* comprennant la typographie, la
* strucutration des sections/lignes
* et des modules la composant.
***
*/

.et_pb_wc_add_to_cart form .woocommerce-variation-price {
    margin-bottom: 20px;
    font-size: 20px;
}

.et_pb_wc_add_to_cart form span.price span bdi {
    color: #000;
}

#addtocartsecondaire form {
    text-align: center;
}

.woocommerce .et_pb_module.et_pb_wc_stock div>p.stock.in-stock {
    color: var(--woo-main-color);
}

.woocommerce .et_pb_module.et_pb_wc_gallery .et-pb-arrow-prev::before,
.woocommerce .et_pb_module.et_pb_wc_gallery .et-pb-arrow-next::before {
    color: #FFF;
}

.woocommerce .et_pb_module.et_pb_wc_gallery .et-pb-controllers a {
    background-color: #FFF;
}

.woocommerce .et_pb_module.et_pb_wc_gallery .et-pb-controllers a.et-pb-active-control {
    background-color: var(--woo-main-color);
}

.woocommerce .woocommerce-notices-wrapper .woocommerce-message {
    display: flex;
    justify-content: end;
    align-items: center;
}

.woocommerce .woocommerce-notices-wrapper .woocommerce-message>a {
    margin-left: auto;
    min-width: 110px;
    text-align: center;
}

@media screen and (max-width:452px) {
    .woocommerce .woocommerce-notices-wrapper .woocommerce-message {
        display: flex;
        flex-direction: column-reverse;
    }

    .woocommerce .woocommerce-notices-wrapper .woocommerce-message>a {
        width: 100%;
        margin-top: 10px;
    }
}




/*
***
* WooCommerce - Panier
***
* Hook pour l'apparence et la mise
* en forme de la page native de
* Woocommerce, la page panier.
* Strucutration des sections/lignes
* et des modules la composant.
***
*/

.cart_item .product-remove a.remove {
    line-height: 1.1rem;
}

.woocommerce-cart-form table .cart_item .product-thumbnail {
    display: flex;
    justify-content: center;
}

.woocommerce-cart-form table .cart_item .product-thumbnail::before {
    display: none;
}

.woocommerce-cart-form table .cart_item .product-thumbnail>a {
    text-align: center;
}

.woocommerce-cart-form table .cart_item .product-thumbnail>a>img {
    width: 50%;
}

.woocommerce-cart-form table .cart-item .product-quantity .quantity input.qty {
    width: 100% !important;
}

.woocommerce-cart-form table .cart_item .product-subtotal>small {
    display: none;
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
    display: none !important;
}

.woocommerce-cart-form .button.et_pb_button:hover {
    background-color: var(--woo-main-color) !important;
}

body #page-container .et_pb_section .et_pb_wc_cart_totals_0 a.checkout-button:hover {
    background-color: var(--woo-second-color) !important;
}

.woocommerce-cart-form table .actions {
    padding: 10px!important;
}
.woocommerce-cart-form table .actions .coupon {
    display: flex;
    width: 100%;
    padding-bottom: 0px!important;
    margin-bottom: 0px!important;
}
.woocommerce-cart-form table .actions .coupon input,
.woocommerce-cart-form table .actions .coupon button {
    width: 50%!important;
}

@media screen and (max-width:768px) {
    .woocommerce-cart-form table .actions .coupon {
        flex-direction: column;
    }
    .woocommerce-cart-form table .actions .coupon input,
    .woocommerce-cart-form table .actions .coupon button {
        width: 100%!important;
    }
    .woocommerce-cart-form table .actions {
        padding: 10px!important;
    }
    .woocommerce-cart-form table.shop_table tbody tr {
        padding: 0px!important;
    }
}



/*
***
* WooCommerce - Validation de la commande
***
* Hook pour l'apparence et la mise
* en forme de la page native de
* Woocommerce, la page de validation.
* Strucutration des sections/lignes
* et des modules la composant.
***
*/


/* Surcharge spécifique du checkout */

.woocommerce .col2-set#customer_details {
    display: flex;
    flex-direction: column;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
}

.woocommerce form .form-row.woocommerce-validated input.input-text {
    color: var(--woo-second-color);
}

.woocommerce form .form-row.woocommerce-validated input.input-text:focus {
    color: var(--woo-main-color);
}

#woosteri_date {
    background-color: var(--woo-main-color);
    color: #ffffff;
    border-radius: 3px;
    font-weight: bold;
}

#woosteri_date:hover {
    background-color: #888888;
}

table.woocommerce-checkout-review-order-table .additional-shipping-fields p:nth-of-type(2) {
    margin-bottom: 10px !important;
    margin-top: 10px !important;
    color: var(--woo-second-color);
    font-weight: initial;
}

table.woocommerce-checkout-review-order-table .additional-shipping-fields p:nth-of-type(2)::before {
    content: "⬆️ ";
    margin-right: 3px;
    margin-left: 5px;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    margin-top: 14px;
    width: 100%;
}

.woocommerce form.woocommerce-checkout h3 {
    background-color: var(--woo-main-color);
    color: #ffffff;
    padding: 10px;
    margin-bottom: 20px;
}

.woocommerce form.woocommerce-checkout h3#ship-to-different-address {
    margin-top: 30px;
    float: inherit !important;
}

#order_review_heading {
    margin-top: 30px;
}

#order_comments_field label {
    background-color: var(--woo-second-color);
    color: #ffffff;
    padding: 0px;
    padding-left: 10px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 20px;
    font-family: 'Rubik', Helvetica, Arial, Lucida, sans-serif;
}

table.woocommerce-checkout-review-order-table .product-total,
table.woocommerce-checkout-review-order-table .cart-subtotal td {
    text-align: right;
}
table.woocommerce-checkout-review-order-table .cart-subtotal td span bdi {
    color: #FFF;
}

table.woocommerce-checkout-review-order-table .product-name,
table.woocommerce-checkout-review-order-table .product-total {
    background-color: var(--woo-second-color);
    color: #ffffff;
}

table.woocommerce-checkout-review-order-table .cart_item .product-name,
table.woocommerce-checkout-review-order-table .cart_item .product-total {
    background-color: #ffffff;
    color: var(--woo-second-color);
}

table.woocommerce-checkout-review-order-table .woocommerce-shipping-totals,
table.woocommerce-checkout-review-order-table .additional-shipping-fields {
    background-color: #eeeeee;
    color: var(--woo-second-color);
}

table.woocommerce-checkout-review-order-table .cart-subtotal {
    background-color: var(--woo-second-color-darker);
}
table.woocommerce-checkout-review-order-table .cart-subtotal th {
    color: #ffffff;
}

table.woocommerce-checkout-review-order-table .order-total {
    background-color: var(--woo-main-color);
}
table.woocommerce-checkout-review-order-table .order-total th,
table.woocommerce-checkout-review-order-table .order-total td span bdi {
    color: #ffffff;
}


/* Surcharge spécifique de la page de confirmation */

.woocommerce-order p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    background-color: var(--woo-main-color);
    color: #ffffff;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
}

.woocommerce ul.order_details {
    margin: 0;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 50px;
    list-style: none;
}

.woocommerce ul.order_details li {
    float: left;
    margin-right: 1em;
    text-transform: uppercase;
    font-size: .715em;
    line-height: 1;
    border-right: 1px dashed var(--woo-main-color);
    padding-right: 1em;
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
}

h2.woocommerce-order-details__title,
h2.woocommerce-column__title {
    background-color: var(--woo-main-color);
    color: #ffffff;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 22px;
}

table.woocommerce-table--order-details .product-total,
table.woocommerce-table--order-details .cart-subtotal td {
    text-align: right;
}

table.woocommerce-table--order-details .product-name,
table.woocommerce-table--order-details .product-total {
    background-color: var(--woo-second-color);
    color: #ffffff;
}

table.woocommerce-table--order-details .order_item .product-name,
table.woocommerce-table--order-details .order_item .product-total {
    background-color: #ffffff;
    color: var(--woo-second-color);
}

table.woocommerce-table--order-details .order_item a {
    color: var(--woo-second-color);
}

table.woocommerce-table--order-details .order_item .product-quantity {
    color: var(--couleur-principale);
}

table.woocommerce-table--order-details tfoot tr {
    background-color: #eeeeee;
    color: var(--woo-second-color);
}

table.woocommerce-table--order-details .includes_tax {
    display: block;
}

.woocommerce-customer-details address {
    background-color: #ffffff;
    color: var(--woo-second-color);
    padding: 20px !important;
    border-bottom-width: 1px !important;
    border-right-width: 1px !important;
}

.woocommerce-customer-details address .woocommerce-customer-details--phone,
.woocommerce-customer-details address .woocommerce-customer-details--email {
    margin-top: 5px;
    padding-bottom: 0px;
}

.woocommerce-customer-details address .woocommerce-customer-details--phone:before,
.woocommerce-customer-details address .woocommerce-customer-details--email:before {
    color: var(--woo-main-color);
}

/* Traitement spécifique RWD */

@media (max-width: 1024px) {

    .woocommerce ul.order_details {
        margin: 0;
        padding: 0;
        margin-top: 30px;
        margin-bottom: 50px;
        list-style: none;
    }

    .woocommerce ul.order_details li {
        float: inherit;
        margin-bottom: 20px;
        border-style: none;
        text-align: center;
    }

}



/*
***
* WooCommerce - Mon compte
***
* Hook pour l'apparence et la mise
* en forme de la page native de
* Woocommerce, la page mon compte.
* Strucutration des sections/lignes
* et des modules la composant.
***
*/

/* Ecran de connexion à mon compte */

.woocommerce form.woocommerce-form-login button.woocommerce-form-login__submit,
.woocommerce form.woocommerce-form-register .woocommerce-form-row button.woocommerce-form-register__submit {
    display: flex;
    background-color: var(--woo-main-color);
    color: #FFF;
}

.woocommerce form.woocommerce-form-login button.woocommerce-form-login__submit:hover,
.woocommerce form.woocommerce-form-register .woocommerce-form-row button.woocommerce-form-register__submit:hover {
    color: #FFF !important;
    background-color: #000 !important;
    padding-right: 1em !important;
}

.woocommerce form.woocommerce-form-login button.woocommerce-form-login__submit::after,
.woocommerce form.woocommerce-form-register .woocommerce-form-row button.woocommerce-form-register__submit::after {
    line-height: inherit;
    content: "";
}

.woocommerce .woocommerce-form-login p.lost_password>a:hover {
    color: #000 !important;
}

/* Les différentes pages de "Mon Compte" */

.woocommerce .woocommerce-MyAccount-content p a:hover {
    color: #000 !important;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-info {
    display: flex;
    align-items: center;
    background: var(--woo-main-color);
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-info a.wc-forward {
    margin-left: auto;
    background-color: #FFF;
    color: #151C29;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-info a.wc-forward:hover {
    color: #FFF !important;
    background-color: #000 !important;
    border: none;
    border-radius: 3px;
}

.woocommerce .woocommerce-MyAccount-content form.edit-account button.woocommerce-Button {
    background-color: var(--woo-main-color);
    color: #FFF;
    padding: 10px 20px !important;
    margin-top: 10px;
}

.woocommerce .woocommerce-MyAccount-content form.edit-account button.woocommerce-Button::after {
    content: "";
}

.woocommerce .woocommerce-MyAccount-content form.edit-account button.woocommerce-Button:hover {
    background-color: #000 !important;
    color: #FFF !important;
    border-radius: 3px;
    border: none;
}


/* Sidebar de navigation pour "Mon Compte" */

.woocommerce .woocommerce-MyAccount-navigation>ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.woocommerce .woocommerce-MyAccount-navigation>ul li.woocommerce-MyAccount-navigation-link {
    display: flex;
    background: linear-gradient(90deg, var(--woo-second-color) 40%, #ffffff) !important;
    border-left: solid 3px var(--woo-main-color);
    transition: all 0.2s ease-out;
}

.woocommerce .woocommerce-MyAccount-navigation>ul li.woocommerce-MyAccount-navigation-link a {
    width: 100%;
    position: relative;
    padding: 10px 0px 10px 45px;
    color: var(--woo-main-color);
}

.woocommerce .woocommerce-MyAccount-navigation>ul li.woocommerce-MyAccount-navigation-link a::before {
    font-family: dashicons;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 3.5%;
    transform: translateY(-50%);
}

.woocommerce .woocommerce-MyAccount-navigation>ul li.woocommerce-MyAccount-navigation-link a:hover {
    color: #000 !important;
}

.woocommerce .woocommerce-MyAccount-navigation>ul li.woocommerce-MyAccount-navigation-link:hover {
    border-left: solid 6px #000;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title>a {
    background-color: var(--woo-main-color);
    color: #FFF !important;
    transition: 300ms ease !important;
    padding: 3px 10px;
    float: left;
    border-radius: 3px;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title>a:hover {
    background-color: #000;
}

.woocommerce .woocommerce-MyAccount-content form .woocommerce-address-fields button.button {
    background-color: var(--woo-main-color);
    margin-top: 10px;
    padding: 10px 20px !important;
}

.woocommerce .woocommerce-MyAccount-content form .woocommerce-address-fields button.button:hover {
    background-color: #000 !important;
    color: #FFF !important;
    border: none;
}

.woocommerce .woocommerce-MyAccount-content p a {
    color: #e7324a !important;
}

/* Formulaires composants la page mon-compte */
.woocommerce .woocommerce-MyAccount-content form .woocommerce-input-wrapper input {
    /* background: var(--woo-second-color); */
}

.select2-results__option--highlighted {
    background-color: var(--woo-second-color) !important;
    color: #000 !important;
}




/*
***
* WooCommerce - Product Filter
***
* Hook pour l'apparence du module
* de Themeum "Product Filter"
* Ce hook modifie les couleurs, la
* disposition et les espacements
* des champs composant ce plugin
***
*/

.wpf_reset_btn {
    color: #000 !important;
}

form.wpf_form {
    color: #000;
}

form.wpf_form .wpf_item ul li>label:hover,
form.wpf_form .wpf_item.wpf_item_onsale:hover,
form.wpf_form .wpf_reset_btn:hover {
    color: var(--woo-main-color) !important;
}

form.wpf_form .wpf_item .wpf_item_name {
    font-size: 16px;
}

form.wpf_form .wpf_item ul li label {
    font-weight: 400;
}

form.wpf_form .wpf_items_wrapper.wpf_layout_vertical .wpf_item ul.wpf_column_vertical li {
    display: flex;
    align-items: center;
}

form.wpf_form input[type="checkbox"] {
    -webkit-appearance: none;
    float: left;
    border: 0.1em solid #000;
    border-radius: 8px;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    padding: 5px;
    background: #FFFFFF;
    display: grid;
    place-content: center;
    cursor: pointer;
}

form.wpf_form input[type="radio"] {
    -webkit-appearance: none;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    padding: 5px;
    background: #FFFFFF;
    border: 0.1em solid #000;
    border-radius: 50%;
    display: grid;
    place-content: center;
    cursor: pointer;
}

form.wpf_form input[type="radio"]::before,
form.wpf_form input[type="checkbox"]::before {
    content: "" !important;
    width: 10px !important;
    height: 10px !important;
    transform: scale(0) !important;
    transition: 120ms transform ease-in-out;
    background-color: var(--woo-main-color);
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

form.wpf_form input[type="radio"]:checked::before,
form.wpf_form input[type="checkbox"]:checked::before {
    transform: scale(1) !important;
}

form.wpf_form .ui-slider-range.ui-corner-all.ui-widget-header {
    background: #FFF;
}

form.wpf_form .wpf_item.wpf_item_onsale {
    padding: 0px;
    margin-top: 30px;
}

form.wpf_form .wpf_reset_btn {
    margin-top: 10px;
}

form.wpf_form .wpf_reset_btn input {
    cursor: pointer;
}

form.wpf_form .wpf_item_price>.wpf_item_name {
    margin-top: 20px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

form.wpf_form .wpf_item_price>.wpf_slider {
    margin-top: 20px;
}

.woocommerce .wpf-no-products-found p.woocommerce-info {
    background: var(--woo-second-color);
}




/*
***
* WooCommerce - Ajax Search Pro
***
* Hook pour l'apparence et la mise
* en forme de la barre de recherche
* Ajax Search Lite (et version PRO)
* strucutration des sections/lignes
* et des modules le composant.
***
*/

div.asl_r .results .item .asl_content h3 a,
div.asl_r .results .asl_nores,
#ajaxsearchlite1 .probox .proinput form input,
#ajaxsearchlite1 .probox .proinput form input::placeholder {
    color: #000 !important;
    font-weight: 600;
}

div.asl_r .results .item .asl_content p.asl_desch {
    color: #000 !important;
}


div.wpdreams_asl_results .resdrg .asl_nores {
    background-color: var(--woo-main-color);
    color: #FFF !important;
}

div.asl_w .probox div.asl_simple-circle {
    border: 4px solid var(--woo-main-color);
}

div.asl_m .probox .proclose svg {
    background: #FFF;
}




/* Autre Hook */

div.et_pb_wc_checkout_payment_info_0.et_pb_wc_checkout_payment_info .woocommerce-order {
    background-color: white !important;
}

div.woocommerce-order .woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    margin-bottom: 30px;
    text-align: center;
    background-color: var(--woo-main-color);
    padding: 10px;
    color: #FFF !important;
    font-size: 17px;
    font-weight: 700;
}

.woocommerce-order-details {
    margin-top: 30px !important;
}

mark {
    background-color: black;
    color: white;
}

/* Étiquette badge de vente (promo) */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link span.onsale {
    border-radius: 0px !important;
}

.button-out-of-stock {
    background-color:#e93073;
    color:#FFF!important;
    padding: .3em 1em;
    line-height: 1.7em;
    font-size: 18px;
    transition: all 0.3s ease;
}

.button-out-of-stock:hover {
    background-color:#293C4B;
}