/*
Theme Name: Océanis
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
*/



/* Body */
body {
    background-color: #fff;
    background-image: url('img/pattern-03.jpg');
    background-repeat: repeat;
    background-size: 100%;
    background-position: center;
}



/* Header */
@media screen and (min-width: 768px) and (max-width: 1090px){
    .header-secondary > div {
        overflow-x: auto;
    }
}

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

.header-menu .destockage {
position: relative;
}

.header-menu .destockage::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 1rem;
    width: 1rem;
    background-image: url('img/icon-discount.svg');
    background-size: contain;
}

.header-menu .destockage > a {
    padding-left: .5rem !important;
    color: #d21b19 !important;
}

@media screen and (max-width: 767px) {
    .header-menu .destockage::before {
        left: 1rem;
    }

    .header-menu .destockage > a {
        margin-left: 1.7rem;
    }

}


@media screen and (max-width: 767px) {
    .header-menu .sub-menu > .menu-item:first-of-type {
        border-top: 1px solid #eee;
    }
}

.header-menu .elementor-menu-toggle {
    padding: 0;
}

.header-menu .elementor-menu-toggle :is(.elementor-menu-toggle__icon--open, .elementor-menu-toggle__icon--close)::after {
    content: "Menu";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: .4em;
    font-size: 1rem;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    color: #fff;
}

.header-menu .elementor-menu-toggle .elementor-menu-toggle__icon--close::after {
    content: "Fermer";
}

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

@media screen and (min-width: 1060px) {
    .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;
    }
}

@media screen and (max-width: 350px) {
    .header-primary .btn-devis {
        display: none;
    }
}




/* Breadcrumb */
.elementor-widget-breadcrumbs a {
    display: inline-block;
    text-transform: lowercase;
}

.elementor-widget-breadcrumbs a::first-letter {
    text-transform: uppercase;
}



/* Loop Loadmore*/
.e-loop__load-more.elementor-button-wrapper {
    margin-top: 50px !important;
}

@media screen and (max-width: 767px) {
    .e-loop__load-more.elementor-button-wrapper {
        margin-top: 30px !important;
    }
}



/* Modèle - Produit */
.modele-produit .price {
    margin-bottom: 0;
}



/* Filter - Produit */
#filter-button {
    cursor: pointer;
}

.filter-produit .facet-wrap > span {
    display: inline-block;
    margin-bottom: .8em;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.filter-produit .facetwp-slider-reset {
    display: none !important;
}

.filter-produit .facetwp-facet {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .filter-produit {
        max-width: 220px;
    }
}



/* Facet slider */
.facetwp-type-slider .facetwp-slider-wrap {
    padding-bottom: .6em;
}

.facetwp-type-slider .facetwp-slider-label {
    font-size: 0.9rem;
    color: var( --e-global-color-text );
}

.facetwp-type-slider .facetwp-slider,
.facetwp-type-slider .facetwp-slider .noUi-handle {
    border-radius: unset;
}


/* Facet hierarchy */
.facetwp-type-hierarchy .facetwp-link {
    font-size: .9rem;
    font-weight: 400;
    text-transform: lowercase;
    line-height: 1.5;
}

.facetwp-type-hierarchy .facetwp-link::first-letter {
    text-transform: uppercase !important;
}

.facetwp-type-hierarchy .facetwp-link:not(:last-of-type) {
    margin-bottom: .25em;
}


.facetwp-type-hierarchy .facetwp-depth {
    margin-left: 0;
}

.facetwp-type-hierarchy .facetwp-depth .facetwp-depth > .facetwp-link {
    margin-left: .5rem;
}


/* Facet Pager */
.facetwp-type-pager {
    margin-bottom: 0 !important;
}


/* Facet Sort */
.facetwp-type-sort {
    margin-bottom: 0 !important;
}

.facetwp-type-sort select {
    color: var(--e-global-color-secondary);
    font-size: .9rem;
    border-radius: unset;
    border-color: #eee;
    background: #fff;
}



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

.wpforms-form .wpforms-field-label {
    margin-bottom: .5em;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    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: .75em 1em;
    color: var(--e-global-color-secondary);
    font-size: 1rem;
    font-weight: 400 !important; 
    border: 1px 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: 700;
    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: .9rem;
    text-transform: uppercase;
}

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



/* Produit */
.price .uom {
    font-size: 75%;
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}



@media screen and (max-width: 767px) {
    .single-product .woocommerce-product-gallery {
        display: flex;
        flex-direction: column;
    }

    .woocommerce div.product div.images {
        margin-bottom: 0;
    }
}

/* Add to Cart */
.single-product .single_add_to_cart_button {
    display: none !important;
}

.elementor-add-to-cart .btn-devis-add-to-cart-loop {
    background: transparent;
    color: var(--e-global-color-primary);
}

.elementor-add-to-cart .btn-devis-add-to-cart-loop:is(:hover, :focus) {
    background: var(--e-global-color-primary);
    color: #fff;
}

/* Table */
.woocommerce-tabs .tabs {
    display: flex;
    flex-wrap: wrap;
    padding: 0 !important;
}

.woocommerce-tabs .tabs li {
    margin: 0 !important;
    border: unset !important;
    border-radius: unset !important;
}

.woocommerce-tabs .tabs li > a {
    padding: .9rem 1.2rem !important;
    font-weight: 400 !important;
    font-size: .9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    .woocommerce-tabs .tabs li > a {
        padding: .7rem 1rem !important;
    }
}

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

.woocommerce-Tabs-panel {
    padding: 1.5em 0 0 0 !important;
    border-color: #eee !important;
}

.woocommerce table.shop_attributes {
    background: #fff;
}

.woocommerce table.shop_attributes .woocommerce-product-attributes-item__label {
    padding: .6em 1em;
    width: 185px;
    color: var(--e-global-color-secondary);
    font-weight: 700;
    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;
    color: var(--e-global-color-text);
    font-style: normal;
    vertical-align: middle;
    border-right: unset;
}

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

/* Variations */
.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-text) !important;
}

.single-product .variations_form .variations th {
    padding-left: unset;
    padding-right: unset;
}

.single-product .variations_form .variations :is(th, td) {
    background: transparent;
}

.single-product .variations_form .variations th span {
    vertical-align: middle;
}

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

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

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


/* Variations swatches */
.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border-radius: unset;
}

.woo-variation-swatches .archive-variable-items.variable-items-wrapper {
    justify-content: center;
}

.woo-variation-swatches .woo-variation-swatches-variable-item-more {
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wvs-has-image-tooltip::before, 
[data-wvstooltip]::before {
    border-radius: unset;
}




/* Calculateur - Produit */

.single-product .woocommerce-variation-add-to-cart {
    display: block !important;
}

.pewc-product-extra-groups .pewc-item .required {
	display: none;
	visibility: hidden;
}

.single-product .pewc-product-extra-groups-wrap {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #eee;
    background: #fff;
}

.single-product .pewc-product-extra-groups-wrap .pewc-product-extra-groups {
    padding-left: 0;
    list-style: none;
}

.single-product .pewc-product-extra-groups-wrap .pewc-product-extra-groups > li {
    margin-bottom: 0;
}

.single-product .pewc-product-extra-groups-wrap .pewc-group-heading-wrapper h3 {
    margin: 0 0 .5em 0;
    font-size: 1rem;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: var(--e-global-color-secondary);
}

.single-product .pewc-product-extra-groups-wrap .pewc-field-label {
    margin: 0;
}

.single-product .pewc-product-extra-groups-wrap .pewc-field-label-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 400 !important;
    letter-spacing: 1px;
    line-height: 1.2;
    color: var(--e-global-color-secondary);
}

.single-product .pewc-product-extra-groups-wrap .pewc-form-field {
    margin-top: .5rem;
}

.single-product .pewc-product-extra-groups-wrap .pewc-number-field {
    border: 1px solid #eee !important;
    border-radius: unset;
    max-width: 100px;
}

.single-product .pewc-product-extra-groups-wrap .pewc-number-field:is(:focus) {
    border-color: var(--e-global-color-secondary) !important;
}

.single-product .pewc-product-extra-groups-wrap .pewc-group-calculation .pewc-item-field-wrapper {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: .5rem;
}

.single-product .pewc-product-extra-groups-wrap .pewc-group-calculation #pewc-calculation-value {
    color: var(--e-global-color-primary);
    font-weight: 700;
}

.single-product .btn-devis-add-to-cart {
    display: inline-block;
}



/* Modèle - Catégorie de produits */
.modele-categorie-produit {
    text-decoration: none !important;
}

.modele-categorie-produit:is(:hover, :focus) .elementor-heading-title {
    text-decoration: underline !important;
}



/* Listing categories */
@media screen and (max-width: 767px) {
    .listing-categories .elementor-loop-container {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        overflow-x: auto;
    }

    .listing-categories .elementor-loop-container > .e-loop-item {
        min-width: 250px;
    }
}

/* Listing produits */
@media screen and (max-width: 767px) {
    .listing-produits .elementor-loop-container {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        overflow-x: auto;
    }

    .listing-produits .elementor-loop-container > .e-loop-item {
        min-width: 275px;
    }
}