/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


.thmaf-cart-modal-close2 {
float: unset !important;
vertical-align: super !important;
}


/* centrer le nombre de résultats */
.woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count {
    right: initial !important;
    text-align: center;
    width: 100%;
}

/* enlever les angles arrondis des cards produits */
.products li.product.minimal .product-wrap,
li.product.minimal .product-wrap img {
    border-radius: 0 !important;
}

/* mettre le fond de la page en blanc */
.post-type-archive-product.woocommerce .container-wrap, .tax-product_cat.woocommerce .container-wrap {
    background-color: white !important;
}

/* donner une size fixe aux images des produits */
.woocommerce ul.products li.product .product-wrap img, .woocommerce-page ul.products li.product .product-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products li.product.minimal .product-image-wrap {
    overflow: hidden;
    aspect-ratio: 1/1;
    width: 100%;
}

/* mettre 4 produits par ligne */
@media screen and (min-width: 1301px) {
    .woocommerce ul.products[data-product-style=minimal] li.product.minimal, .woocommerce-page ul.products[data-product-style=minimal] li.product.minimal {
        width: calc(25% - 15px) !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1300px) {
    .woocommerce ul.products[data-product-style=minimal] li.product.minimal, .woocommerce-page ul.products[data-product-style=minimal] li.product.minimal {
        width: calc(33% - 15px) !important;
    }
}

@media screen and (max-width: 768px) {
    .woocommerce ul.products[data-product-style=minimal] li.product.minimal, .woocommerce-page ul.products[data-product-style=minimal] li.product.minimal {
        width: calc(99% - 15px) !important;
    }
}

/* decoller du top les produits */
.woocommerce .products ul, .woocommerce ul.products {
    padding-top: 2%;
}

/* changer le padding des textes des produits */
.products li.product.minimal .product-meta {
    padding: 1em 0 2em;
}


.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
}

/* mettre les filtres en avant */
.woocommerce-ordering {
    z-index: 2;
}

/* changer l'épaisseur du prix */
.woocommerce ul.products li.product .price {
    font-weight: 400 !important;
}

/* produit out of stock */
.out-of-stock-notice {
    color: #E2001A;
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.in-stock-notice {
    color: #1647AC;
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}


/* mettre la side bar à gauche */
#sidebar {
    padding-top: 3%;
    left: 0;
}

/* mettre la max-width de la page à 100% */
@media only screen and (min-width: 1000px) {
    .container {
        max-width: 100%;
    }
}


/* couleur des filtres en noir */
.wpfDisplay, .wpfValue, .wpfFilterTaxNameWrapper, .wpfCount {
    color: black;
}


/* full height pour les filtres */
#wpfBlock_2 .wpfFilterVerScroll {
    max-height: 100% !important;
}

/* mettre à droite les elements du header */
.nectar-shop-header .nectar-shop-header-bottom .right-side {
    margin-left: 0;
    justify-content: flex-end;
}

.nectar-shop-header-bottom .left-side {
    margin-left: auto;
}

/* afficher entierement le tri */
.woocommerce .woocommerce-ordering select {
    width: auto;
}

/* taille image produit */
/* .woocommerce.single-product div.product div.images .woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woocommerce.single-product div.product div.images .woocommerce-product-gallery__image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
} */


/* enlever le titre description */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: none;
}

/* enlever la short description */
.woocommerce-product-details__short-description {
    display: none;
}


/* enlever le padding du texte description */
#tab-description p {
    padding-bottom: 0;
}


/* mettre la color de la navbar en noir */
#header-outer #top nav > ul > li > a {
    color: black !important;
}

/* espacer les elements du header */
body .nectar-shop-header .nectar-shop-header-bottom .woocommerce-result-count {
    margin-right: 3em;
    margin-left: 3em;
}


.mobile-icon div a.using-label i.label {
    display: none !important;
}



.woocommerce-shipping-fields #ship-to-different-address,
.woocommerce-shipping-fields #thmaf_shipping_alt_field {
    display: none;
}

.woocommerce-shipping-fields #shipping_address {
    display: block !important;
}


.checkout .woocommerce-billing-fields {
    padding-bottom: 0;
}

.woocommerce .col2-set .col-2:has(h2), .woocommerce-page .col2-set .col-2:has(h2) {
    display: none;
}

.woocommerce .col2-set .col-1:has(h2), .woocommerce-page .col2-set .col-1:has(h2) {
    width: auto;
}



.woocommerce-shipping-destination {
    display: none;
}

tr.woocommerce-orders-table__row--status-processing td.woocommerce-orders-table__cell-order-actions {
    display: flex;
    justify-content: space-around;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 {
    display: none;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .u-column1 {
    width: 100%;
}


.single-product .sku_wrapper {
    display: none !important;
}

.single-product .woocommerce-Tabs-panel--additional_information {
    display: none !important;
}


.woocommerce ul.products li.product .product-add-to-cart a:first-child {
    display: none !important;
}

.woocommerce ul.products li.product .product-add-to-cart a:nth-child(2) {
    border-radius: 8px !important;
}


.bandeau-defilant {
    width: 100%;
    background: #1647AC;
    color: #fff;
    overflow: hidden;
    position: relative;
    margin-top: 120px;
    margin-bottom: -120px;
    height: 48px;
    display: flex;
    align-items: center;
}
.bandeau-defilant__inner {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}
.bandeau-defilant__inner span {
    display: inline-block;
    padding: 10px 40px;
    font-size: 18px;
    font-weight: bold;
    margin-right: 100px;
}