/*
Theme Name: Aquaflo
Theme URI: https://github.com/elementor/hello-theme/
Description: Thème enfant de Hello Elementor par IPSO
Author: IPSO
Author URI: https://www.studioipso.fr
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
*/

/* Header */
body:is(.scroll-down, .scroll-up) .header-site {
    background: #fff !important;
    box-shadow: 0 0 10px rgba(0,0,0,.1) !important;
}

body:is(.scroll-down, .scroll-up) .header-actions a:not(:hover, :focus, :active) .elementor-icon-list-icon > svg {
    fill: var(--e-global-color-secondary) !important;
}

.header-menu .elementor-menu-toggle__icon--open,
.header-menu .elementor-menu-toggle__icon--close {
    height: 2rem !important;
}

body:is(.scroll-down, .scroll-up) .header-menu .elementor-menu-toggle__icon--open svg ,
body:is(.scroll-down, .scroll-up) .header-menu .elementor-menu-toggle__icon--close svg {
    fill: var(--e-global-color-secondary) !important;
}

.header-menu .elementor-nav-menu > .menu-item > a {
    position: relative;
}

.header-menu .elementor-nav-menu > .menu-item > a:is(.elementor-item-active) {
    font-weight: 700;
}

.header-menu .sub-menu .menu-item a {
    border-left: unset;
    text-align: center;
}

body:is(.scroll-down, .scroll-up) .header-menu nav.elementor-nav-menu--dropdown {
    border-top: 1px solid #eee;
}

.header-menu .elementor-nav-menu--dropdown a,
.header-menu .elementor-nav-menu--dropdown a:hover,
.header-menu .elementor-nav-menu--dropdown a:active {
    border-inline-start: inherit;
}

@media screen and (max-width: 520px) {
    .header-cta {
        display: none;
    }
}

@media screen and (max-width: 1059px) {
    .header-menu li:not(:last-child) {
        border-bottom: 1px solid #eee !important;
    }

    .header-menu .sub-menu > li:first-child {
        border-top: 1px solid var(--e-global-color-primary) !important;
    }
}


@media screen and (min-width: 1060px) {
    .header-menu .sub-menu {
        padding: .5em !important;
    }

    .header-menu .sub-menu li a {
        justify-content: center !important;
    }

    .header-menu .elementor-nav-menu--main .elementor-nav-menu--dropdown.sub-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .header-menu .elementor-nav-menu > .menu-item:not(.menu-item-has-children) > a::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        height: 2px;
        width: calc(100% - 2.4em);
        background: var(--e-global-color-a60e8e8);
    }

    body:is(.scroll-down, .scroll-up) .header-menu li a:not(:hover, :focus, .elementor-item-active) {
        color: var(--e-global-color-secondary) !important;
    }
}



/* Slider realisations */
.slider-realisations .swiper-pagination-bullets {
    bottom: .8em !important;
}



/* Slider produits */
.slider-produits-title {
    max-width: 420px;
}

@media screen and (max-width: 767px) {
    .slider-produits-title {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 1350px) {
    .slider-produits-title {
        max-width: 290px;
    }
}



/* Facet */
.filtres .facetwp-facet {
    margin-bottom: 0;
}

.filtres .facetwp-type-sort select {
    padding: .4em 1em;
    font-size: .9rem;
    border-radius: 0;
    border-color: var(--e-global-color-secondary);
    color: var(--e-global-color-secondary);
    background: #fff;
}

.filtres .facetwp-facet-result {
    color: var(--e-global-color-secondary);
    font-weight: 500;
}



/* Mon compte */
.woocommerce form .form-row .required {
    color: var(--e-global-color-primary);
}

.woocommerce-MyAccount-navigation-link.is-active:is(:hover, :focus) a {
    color: #fff !important;
}

.woocommerce-MyAccount-content legend {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #b81c23 !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .woocommerce-button {
    margin-right: 4px;
}





/* Panier */
.woocommerce-cart .woocommerce .button.wc-backward {
    padding: 1em 1.5em !important;
    font-size: .85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: unset !important;
    border: 1px solid var(--e-global-color-primary) !important;
    color: #fff !important;
    background: var(--e-global-color-primary) !important;
    transition: .3s ease;
}

.woocommerce-cart .woocommerce .button.wc-backward:is(:hover, :focus) {
    color: var(--e-global-color-primary) !important;
    background: transparent !important;
}

.woocommerce-cart .quantity input.qty {
    color: var(--e-global-color-secondary) !important;
    border-radius: unset !important;
    text-align: center !important;
}

.woocommerce-cart #coupon_code {
    border-radius: unset;
    padding: calc(1em - 2px) 1.5em;
}

.woocommerce-cart .woocommerce-shipping-calculator input {
    padding: .9em 1em !important;
    border-radius: unset !important;
}

.woocommerce-cart #select2-calc_shipping_country-container {
    padding-top: .9em !important;
    padding-bottom: .9em !important;
    line-height: normal !important;
    text-align: left !important;
}

.woocommerce-cart #select2-calc_shipping_country-container + .select2-selection__arrow {
    height: 100%;
}

.woocommerce-cart .order-total .includes_tax .woocommerce-Price-amount {
    color: var(--e-global-color-b1f935c) !important;
    font-size: inherit !important;
    font-weight: 400 !important;
}

.amount {
    white-space: nowrap;
}

.shipping-colissimo {
    margin-top: .3em;
    height: 20px !important;
    width: auto;
}

#shipping-calculator-form label {
    text-align: left !important;
}

@media screen and (max-width: 767px) {
    .woocommerce-cart .woocommerce-cart-form__cart-item {
        padding: 0 !important;
    }
}



/* WooCommerce Select */
.select2-container--default .select2-results__option--highlighted[aria-selected], 
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--e-global-color-primary);
}

.select2-container .select2-dropdown, 
.select2-container .select2-selection {
    border: 2px solid #eee;
    border-radius: unset;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: unset;
}

.select2-results__option {
    padding: .7em 1em;
}



/* Checkout */
.woocommerce-checkout .woocommerce-checkout-review-order-table #shipping_method label {
    font-size: .85rem !important;
}

.woocommerce-checkout .wc_payment_methods .wc_payment_method:not(:first-of-type) {
    margin-top: 1em !important;
}

.woocommerce-checkout #payment .payment_box {
    background: #eee !important;
}

.woocommerce-checkout #payment .wc_payment_methods .woocommerce-info {
    padding: .8em;
    line-height: 1.5;
}

.woocommerce ul#shipping_method li p {
    color: #757575;
}



/* Produit */
.single-product .variations_form .variations {
    border: 1px solid #eee !important;
}

.single-product .variations_form :is(.label, .value) {
    background: #fff;
    vertical-align: middle !important;
}

.single-product .variations_form .value select {
    border-color: var(--e-global-color-secondary) !important;
}

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

.single-product .single_variation_wrap .woocommerce-variation-price {
    margin-bottom: 1rem;
}

.single-product .single_variation_wrap .woocommerce-variation-price .price {
    color: var(--e-global-color-primary);
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
    padding: 1em;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    padding: .8em;
    opacity: 1 !important;
}

.single-product .woocommerce-product-details__short-description ul {
    margin-bottom: .9rem;
    padding-left: 1em;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border-color: #757575 !important;
}

.single-product .btn-devis {
    margin-top: 1em;
    font-size: .85rem;
    text-transform: uppercase;
}

.e-loop-item .btn-devis {
    display: none;
}

.woocommerce-tabs .tabs {
    padding: 0 !important;
}

.woocommerce-tabs .tabs li {
    border: 1px solid #eee !important;
}

.woocommerce-tabs .tabs li > a {
    padding: 1em 1.5em !important;
}

.woocommerce-tabs .tabs li.active > a {
    background: var(--e-global-color-secondary);
    color: #fff !important;
    border: 1px solid var(--e-global-color-secondary);
}

.woocommerce-Tabs-panel {
    padding: 1.5em 0 0 0 !important;
}

.woocommerce table.shop_attributes .woocommerce-product-attributes-item__label {
    padding: .6em 1em;
    width: 185px;
    color: var(--e-global-color-secondary);
    font-weight: 500;
    text-align: left;
    border-left: unset;
    border-right: 1px solid #eee;
    vertical-align: middle;
}

.woocommerce table.shop_attributes .woocommerce-product-attributes-item__value {
    padding: .6em 1em;
    font-style: normal;
    vertical-align: middle;
    border-right: unset;
}

.woocommerce table.shop_attributes .woocommerce-product-attributes-item__value p {
   padding: 0;
}

.woocommerce .product p.stock {
    font-size: 1.05rem !important;
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    .single-product .woocommerce-product-gallery {
        margin-bottom: 0 !important;
    }
}



/* Product highlighted description */
.product-highlighted-description,
.phd-galerie-logo {
    margin: 0;
    padding: 0;
    list-style: none;
}

.phd-item,
.phd-galerie-logo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.phd-item-icon {
    position: relative;
    height: 20px;
    width: 20px;
}

.phd-item-icon svg {
    height: 100%;
    width: 100%;
    fill: var(--e-global-color-b1f935c);
}

.phd-item-text {
    padding-left: .4em;
    font-size: .95rem;
    color: var(--e-global-color-b1f935c);
}

.phd-galerie-logo {
    margin-top: 1rem;
    margin-bottom: 1rem;
    gap: 1em;
}

.e-loop-item .phd-galerie-logo {
    display: none;
}

.phd-galerie-logo-item {
    height: 30px;
    max-width: 100px;
}

.phd-galerie-logo-image {
    height: 100% !important;
    width: 100%;
    object-fit: contain;
}



/* Product category CTA */
.product-category-cta {
    margin-bottom: 5rem;
    padding: 4rem;
    background: url('img/default-image-small.jpg');
    background-size: initial;
    background-position: center;
    background-repeat: repeat;
    border: 1px solid #e2f3fb;
}

.product-category-cta-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.product-category-cta .product-category-cta-title {
    margin-bottom: 1em;
    font-size: 1.8rem;
    color: var(--e-global-color-secondary);
    text-align: center;
}

.product-category-cta .product-category-cta-button {
    background: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
}

.product-category-cta .product-category-cta-button:is(:hover, :focus) {
    color: var(--e-global-color-secondary);
}

.product-category-cta svg {
    fill: var(--e-global-color-primary);
}

@media screen and (max-width: 767px) {
    .product-category-cta .product-category-cta-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 1060px) {
    .product-category-cta {
        padding: 3rem 1rem;
    }
}




/* WPForms */
.wpforms-container .wpforms-field {
    padding: .9rem 0 !important;
}

.wpforms-form .wpforms-field-label {
    margin-bottom: .9em;
    font-family: 'Roboto', sans-serif;
    font-size: .9rem;
    font-weight: 700 !important;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--e-global-color-secondary);
}

.wpforms-form .wpforms-required-label {
    color: var(--e-global-color-primary) !important;
}

.wpforms-form input,
.wpforms-form textarea,
.wpforms-form select {
    padding: .9em 1em;
    color: var(--e-global-color-secondary);
    font-size: 1rem;
    font-weight: 400 !important;
    border: 2px solid #eee;
    border-radius: unset;
    background: #fff;
}

.wpforms-form input:is(:hover, :focus),
.wpforms-form textarea:is(:hover, :focus) {
    border-color: #eee;
}

.wpforms-form input {
    line-height: 1;
}

.wpforms-form textarea {
    padding: .9em 1em;
}

.wpforms-field-produit {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--e-global-color-primary);
}

.wpforms-form .wpforms-field-sublabel {
    margin-top: .6em;
}

/* RGPD */
.wpforms-form .wpforms-field-checkbox ul,
.wpforms-form .wpforms-field-gdpr-checkbox ul {
    display: flex;
    flex-direction: column;
    gap: .8em;
    padding-left: 0;
    list-style: none;
}

.wpforms-form .wpforms-field-checkbox ul li,
.wpforms-form .wpforms-field-gdpr-checkbox ul li {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.wpforms-form .wpforms-field-checkbox ul li input[type="checkbox"],
.wpforms-form .wpforms-field-gdpr-checkbox ul li input[type="checkbox"] {
    align-self: flex-start;
}

.wpforms-form .wpforms-field-checkbox ul li label,
.wpforms-form .wpforms-field-gdpr-checkbox ul li label {
    font-weight: 400;
    line-height: 1.2;
}

/* Error */
.wpforms-form .wpforms-field em.wpforms-error {
    margin-top: .25em;
    color: #bf1a1b !important;
    font-size: 0.8em !important;
}

/* Submit */
.wpforms-form .wpforms-submit-container {
    margin-top: 1.5em;
}

.wpforms-form .wpforms-submit {
    font-size: .85rem;
    text-transform: uppercase;
}

/* Confirmation */
.wpforms-confirmation-container {
    margin-top: 1rem !important;
    color: var(--e-global-color-secondary) !important;
}


#wpforms-2084-field_1-container {
    padding-bottom: 0 !important;
}



/* Notification bars */
.mtsnb a {
    text-decoration: underline !important;
}