.block-damedlov0{
    max-width: 730px !important;
}

.block-damov56{
    max-width: 530px !important;
}

.galerie-produit > *{
    width: 320px !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
}

.galerie-produit img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.product-description strong{
    color: var(--orange) !important;
    font-weight: 500 !important;
}

.list-vedeo2 ul{
    padding-left: 10px !important;
}

.list-vedeo2 ul li + li{
    margin-top: 7px !important;
}

.single_add_to_cart_button{
    width: 100% !important;
    padding-top: 25px !important;
    padding-bottom: 20px !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    letter-spacing: 5% !important;
    color: var(--orangeDark) !important;
    background-color: var(--orange) !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    /* align-items: center; */
}

.single_add_to_cart_button::before{
    content: "" !important;
    width: 22px;
    height: 22px;
    display: block;
    position: relative;
    background-color: var(--orangeDark);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.0261792 2.07185L3.52588 2.02604L3.72222 17.0248L17.3981 16.8457L22.0406 4.78392L5.56498 4.9996L5.49953 2.87099e-05L0 0.0720215L0.0261792 2.07185ZM3.75167 19.2741L6.50186 19.2381L6.53786 21.9882L3.78767 22.0242L3.75167 19.2741ZM9.75115 19.1955L9.78716 21.9457L12.5373 21.9097L12.5013 19.1595L9.75115 19.1955Z' fill='%23573112'/%3E%3C/svg%3E");
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    position: relative;
    top: -2px;
}

/* Structure globale avec le gap de 10px */
.wc-custom-stock-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* Le carré de 13px par 13px */
.wc-custom-stock-status .stock-square {
    width: 13px;
    height: 13px;
    flex-shrink: 0; /* Évite que le carré se déforme si le texte va à la ligne */
    position: relative;
    top: -1px;
}

/* --- ÉTAT : EN STOCK --- */
.wc-custom-stock-status.is-in-stock .stock-square {
    background-color: var(--vert);
}
.wc-custom-stock-status.is-in-stock .stock-label {
    color: var(--vert);
}

/* --- ÉTAT : EN RUPTURE --- */
.wc-custom-stock-status.is-out-of-stock .stock-square {
    background-color: var(--orange);
}
.wc-custom-stock-status.is-out-of-stock .stock-label {
    color: var(--orange);
}

h1{
    max-width: 370px !important;
}

/* Conteneur principal */
.custom-bundle-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

/* Ligne produit devenue un Label cliquable */
.bundle-product-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid transparent; /* Bordure transparente par défaut */
}

/* Effet au survol (Hover) */
.bundle-product-row:hover {
    opacity: 0.85;
}

@media only screen and (min-width: 1024px){
    .bundle-product-row:hover {
        border-color: var(--vert);
    }
}

/* Style quand la checkbox cachée est COCHÉE (Sélectionné) */
.bundle-product-row:has(.bundle-checkbox:checked) {
    opacity: 1;
    border-color: var(--vert); /* La bordure devient verte quand sélectionné */
    background-color: rgba(var(--vert), 0.05)
}

/* Rendre la checkbox totalement invisible */
.bundle-checkbox {
    display: none !important;
}

/* Wrapper et Image forcés en carré de 48px */
.bundle-img-wrapper {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}
.bundle-product-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Bloc texte Titre + Prix (20px, var(--vert)) */
.bundle-info {
    font-size: 20px;
    color: var(--vert);
}
.bundle-price {
    font-weight: 500;
}

/* Conteneur global */
.custom-gallery-wrapper {
    width: 100%;
    overflow: hidden;
}

.custom-gallery-wrapper button{
    padding: 0 !important;
}

/* --- SLIDER PRINCIPAL --- */
.slider-main-container {
    position: relative; /* Nécessaire pour les flèches */
    margin-bottom: 13px; /* Espace entre le grand slider et les miniatures */
    width: 100%;
}

.slider-main-container .slick-list{
    aspect-ratio: 1 / 1;
}

.slide-nav-item{
    aspect-ratio: 1 / 1;
    /* height: 150px !important; */
}

.slider-main, 
.slider-main .slick-list, 
.slider-main .slick-track,
.slide-main-item {
    height: 100%; /* Force les conteneurs à prendre 100% de la hauteur */
}

.slider-main {
    padding: 0 13px;
}

.slide-main-item img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
}

/* --- FLÈCHES DU MAIN (Centrées au milieu verticalement) --- */
.slick-custom-prev,
.slick-custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 38px;
    cursor: pointer;
}
.slick-custom-prev:hover,
.slick-custom-next:hover {
    opacity: .8 !important;
}

.slick-custom-prev { left: 8px; }
.slick-custom-next { right: 8px; }

/* --- SLIDER NAVIGATEUR --- */
.slider-nav {
    margin-left: -8px !important;
    margin-right: -8px !important;
    transform: rotate(-1deg);
}
.slide-nav-item {
    margin: 0 8px !important;
    cursor: pointer;
    flex: none;

}
.slide-nav-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    opacity: 0.5; /* Légère transparence par défaut */
}

/* Changement d'état : Au survol et sur la miniature active */
.slide-nav-item.slick-current img,
.slide-nav-item:hover img {
    opacity: 1; /* Devient opaque quand actif ou survolé */
}

/* Vos règles d'inclinaisons sur les enfants */
.slide-nav-item:nth-child(1){
    transform: rotate(-1.5deg);
}
.slide-nav-item:nth-child(2){
    transform: rotate(0.5deg);
}
.slide-nav-item:nth-child(3){
    transform: rotate(-0.5deg);
}
.slide-nav-item:nth-child(4){
    transform: rotate(-1.5deg);
}

.custom-gallery-wrapper .slider-nav .slick-track{
    display: flex !important;
    position: relative;
    left: -10px;
}

.lightbox-icon{
    width: 50px !important;
    height: 50px !important;
    background-color: var(--vert) !important;
    position: absolute !important;
    right: 8px;
    top: 8px;
    transform: rotate(-0.5deg);
    cursor: pointer;
    transition: none !important;
}

.lightbox-icon .elementor-icon-wrapper{
    display: flex !important;
}

.lightbox-icon:hover {
    transform: scale(1.1);
    transition: none !important;
}

.button-email{
    cursor: pointer;
}

@media only screen and (max-width: 1024px) and (min-width: 0px){
    .galerie-produit{
        flex-wrap: wrap !important;
    }

    .galerie-produit > *{
        width: calc(100% / 2 - 10px + 10px / 2) !important;
    }
}

@media only screen and (max-width: 767px) and (min-width: 0px){
    .slide-nav-item{
        aspect-ratio: unset;
    }
}

@media only screen and (max-width: 450px) and (min-width: 0px){
    .single_add_to_cart_button{
        font-size: 14px !important;
    }
}