/* 
Theme Name: Bronzes de France
Description: Bronzes de France template based from Hello Elementor
Author: Dizajner
Author URI: https://dizajner.fr/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */

.otgs-development-site-front-end {
    display: none;
}

.elementor-widget-text-editor {
    p:last-of-type {
        margin-bottom: 0;
    }
}

.elementor-widget-button .elementor-button:not(:hover) {
    background-color: inherit;
}

#menu-menu-produits-colonne-1,
#menu-menu-produits-colonne-2,
#menu-menu-collections-colonne-1,
#menu-menu-collections-colonne-2 {
    padding: 0;
    list-style: none;
    li.menu-item {
        margin-bottom: 1rem;
        &:last-of-type {
            margin-bottom: 0;
        }
        a {
            color: var(--e-global-color-c5c6e56);
            font-family: var(--e-global-typography-ed2fb63-font-family), Sans-serif !important;
            font-size: 17px;
            line-height: 1.2em;
            .designer {
                font-size: 15px;
                font-style: italic;
                display: block;
                font-family: var(--e-global-typography-b280b6e-font-family), Sans-serif !important;
            }
        }
        &.menu-item-has-children {
            margin-bottom: 2rem;
            &:last-of-type {
                margin-bottom: 0;
            }
            > a {
                text-decoration: underline;
                text-underline-offset: 6px;
                font-size: 16px;
                font-weight: var(--e-global-typography-ed2fb63-font-weight);
                text-transform: var(--e-global-typography-ed2fb63-text-transform);
                line-height: var(--e-global-typography-ed2fb63-line-height);
                letter-spacing: var(--e-global-typography-ed2fb63-letter-spacing);
                color: var(--e-global-color-c5c6e56);
            }
        }
    }
    .sub-menu {
        padding: 0;
        list-style: none;
        margin-top: 1.5rem;
    }
}

#blockThumbMenu {
    img {
        filter: grayscale(1);
    }
    &:hover {
        img {
            filter: grayscale(0);
        }
    }
}


.wpml-ls-legacy-list-horizontal {
    padding: 0;
    ul {
        margin: 0 -7px !important;
        li.wpml-ls-item {
            .wpml-ls-link {
                padding: 0 7px;
                font-size: inherit;
            }
            &.wpml-ls-current-language {
                .wpml-ls-link {
                    color: var(--e-global-color-c5c6e56) !important;
                }
            }
        }
    }
}


.e-filter-item {
    padding: 0 !important;
    &.child-term {
        padding-left: 1rem !important;
    }
}

.linkTitle {
    &:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: var(--e-global-color-c5c6e56);
        opacity: 0;
        transition: 0.3s;
    }
    &.goldUnderline {
        &:after {
            background-color: var(--e-global-color-deb2b82);
        }
    }
    &.constantUnderline {
        &:after {
            opacity: 1;
        }
    }
    &:hover {
        &:after {
            opacity: 1;
        }
        &.goldEffectUnderline {
            &:after {
                background-color: var(--e-global-color-deb2b82);
            }
        }
    }
} 


.swiper:not(.swiper-initialized) ~ .elementor-swiper-button {
    display: none !important;
}

.designersRow {
    display: flex;
    flex-direction: column;
    gap: 20px;
    .designerBlock {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 30px;
        .designerPhoto {
            width: 130px;
            img {
                aspect-ratio: 1/1;
                border-radius: 50%;
                object-fit: cover;
                object-position: center;
            }
        }
        .designerContent {
            flex: 1;
            .designerName {
                font-family: var(--e-global-typography-3222400-font-family), Sans-serif;
                font-size: 20px;
                font-weight: var(--e-global-typography-3222400-font-weight);
                line-height: var(--e-global-typography-3222400-line-height);
                color: var(--e-global-color-c5c6e56);
                margin-bottom: 6px;
            }
            .designerText {
                font-family: var(--e-global-typography-5082a61-font-family), Sans-serif;
                font-size: var(--e-global-typography-5082a61-font-size);
                font-weight: var(--e-global-typography-5082a61-font-weight);
                line-height: var(--e-global-typography-5082a61-line-height);
                color: var(--e-global-color-c5c6e56);
            }
        }
    }
}

@media (max-width: 767px) {
   .designersRow {
        .designerBlock {
            flex-direction: column;
            gap: 20px;
            align-items: center;
            .designerPhoto {
                width: 130px;
            }
            .designerContent {
                text-align: center;
            }
        }
    } 
}




.zoom-effect {
    overflow: hidden;
    position: relative;
}

.zoom-effect img {
    transition: transform 0.5s;
    transform-origin: center center; /* Point d'origine par défaut */
}




.image-grid {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    > div {
        padding: 0;
        box-sizing: border-box;
    }
    img {
        display: block;
        object-fit: cover;
        object-position: center;
        height: 100%;
        width: 100%;
    }
    .full-width {
        flex: 0 1 100%;
        aspect-ratio: 1.618/1;
        height: auto;
    }
    .one-third {
        flex: 1;
        height: 550px;
    }
    .two-thirds {
        flex: 2;
        height: 550px;
    }
}

@media (max-width: 1024px) {
    .image-grid {
        .one-third {
            height: 330px;
        }
        .two-thirds {
            height: 330px;
        }
    }
}


.scroll-container {
    padding-left: 20px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden; /* Empêche le défilement vertical */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Active le défilement fluide sur iOS */
    -ms-overflow-style: none;  /* Masque la barre de défilement pour IE et Edge */
    scrollbar-width: none;  /* Masque la barre de défilement pour Firefox */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Masque la barre de défilement pour Chrome, Safari et Opera */
}

.scroll-container .slide {
    height: 400px;
    aspect-ratio: 4/5;
    width: auto; /* Conserve le ratio */
    display: inline-block;
    white-space: normal;
    margin-right: 20px;
    &.paysage {
        aspect-ratio: 1.618/1;
    }
    img {
        object-fit: cover;
        object-position: center;
        height: 100%;
        width: 100%;
        display: block;
    }
}






.chocolat-wrapper {
    z-index: 9999999999 !important;
    .chocolat-overlay.chocolat-visible {
        opacity: 1 !important;
    }
    .chocolat-bottom {
        background: white !important;
        justify-content: center;
        .chocolat-fullscreen,
        .chocolat-description,
        .chocolat-set-title {
            display: none;
        }
        .chocolat-pagination {
            color: black;
            margin: 0;
        }
    }
}