.woocommerce-product-gallery{
    padding-top: 80px !important;
    padding-left: 80px !important;
}

.woocommerce-js div.product div.images.woocommerce-product-gallery .flex-viewport{
    margin-bottom: 30px !important;
}

.woocommerce-product-details__short-description {
    display:none;
}

.woocommerce-product-gallery .zoomImg {
    display:none !important;
}

.woocommerce-product-gal lery__image a {
    cursor: default !important;
}

.woocommerce-product-gallery.woocommerce-product-gallery--zoom-enabled {
    pointer-events: auto;
}

.woocommerce-product-gallery {
    background:#fff;
    padding:12px;
}



.woocommerce-product-gallery__image img {
    border-radius:10px;
    transition:opacity .25s ease;
}

.woocommerce-product-gallery__image.is-updating img {
    opacity:.35;
}

.wapf-swatch.wapf-checked .apf-pick-box {
    outline:2px solid #111;
    outline-offset:2px;
    border-radius:10px;
}


.single_add_to_cart_button {
    margin-left: unset !important;
}

.woocommerce-product-gallery__trigger{
    display: none;
}

.lcp-content{
    opacity: 1 !important;
}

.lcp-content-zoom{
    display: none !important;
}

.woocommerce-breadcrumb, .single-product-category, .product_meta, .woocommerce-tabs{
    display: none !important;
}

.ue-count-buttons-wrapper{
   display: flex;
   align-items: center;
}

.ue-message{
   padding: 10px;
   background-color: #d79285;
   color: #fff;
   border: 1px solid #626365;
}

.ue-count-buttons-wrapper > *{
   transition: all .3s;
}

.ue-count-buttons-button{
   display: flex;
   justify-content: center;
   align-items: center;
   flex-grow:0;
   flex-shrink:0;
   line-height:1em;
    height: 45px;
    width: 0px;
    background-color: #FFFFFF !important;
    color: var(--e-global-color-secondary) !important;
    border-style: none;
}

.ue-count-buttons-button:disabled{
   opacity:0.5;
}

.ue-count-buttons-button svg{
   height:1em;
   width:1em;
}

.ue-count-buttons-input{
   text-align:center;
   flex-grow:1;
}

.ue-message-cart-button{
   display: none !important;
}

.woocommerce-js .quantity input[type=number]{
    border: none !important;
}

.product_title {
    color: #2C2722;
    font-family: "Jost", Sans-serif;
    font-size: 40px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    line-height: 35px;
}

.price {
    color: #2C2722 !important;
    font-family: "Jost", Sans-serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 34px !important;
}

.wapf-swatch.wapf-checked .apf-pick-box{
    outline: unset !important;
    border-radius: 0 !important;
}

.wapf--inner > div:nth-child(1), .wapf--inner > div:nth-child(2){
    display: none !important;
}

.wapf-pricing-hint{
    display: none !important;
}

.woocommerce-Price-amount{
    display: none !important;
}

.woocommerce-Price-amount.amount::before {
    content: 'A partir de ';
    color: #2C2722 !important;
    font-family: "Jost", Sans-serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 34px !important;
}


.entry-summary{
    padding: 70px 150px 70px 50px;
}


.lcp-text{
    opacity: 0.65;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    align-items: flex-end;
}

.description-product h3, .description-product h4{
    font-family: "Jost", Sans-serif;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.related.products{
    display: none !important;
}

/* ========================================
   Carrousel Swiper pour les vignettes
   ======================================== */

/* Cacher les vignettes originales de WooCommerce/FlexSlider */
.flex-control-nav.flex-control-thumbs {
    display: none !important;
}

.thumbs-swiper {
    position: relative;
    width: 100%;
    padding: 0 !important;
    margin-top: 20px;
}

.thumbs-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.thumbs-swiper .swiper-slide {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    opacity: 0.6;
    height: auto;
    max-width: 120px;
    max-height: 120px;
}

.thumbs-swiper .swiper-slide.active-thumb {
    opacity: 1;
    border-color: #2C2722;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    max-width: 120px;
    max-height: 120px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* Dernière image en object-fit: contain */
.thumbs-swiper .swiper-slide:last-child img {
    object-fit: contain;
    background-color: #f5f5f5;
}

/* Cacher les boutons de navigation Swiper */
.thumbs-swiper-prev,
.thumbs-swiper-next {
    display: none !important;
}


@media (min-width: 1024px){

}

@media (max-width: 1500px){
    .product_title{
        font-size: 30px;
        margin-bottom: 5px !important;
    }

    .woocommerce-Price-amount.amount::before, .price {
        font-size: 18px !important;
    }

    .woocommerce-js .select2-container .select2-selection--single, .woocommerce-js select, .woocommerce-page .select2-container .select2-selection--single, .woocommerce-page select {
        padding: 0em .8em !important;
        font-size: 13px !important;
        height: 32px !important;
    }

    .wapf-field-container {
        padding: 0 5px var(--apf-margin-bottom, 6px) 5px;
    }

    .entry-summary{
        padding: 70px 50px 70px 50px;
    }

    /* Carrousel responsive */
    .thumbs-swiper .swiper-slide {
        max-width: 100px;
        max-height: 100px;
    }

    .thumbs-swiper .swiper-slide img {
        max-width: 100px;
        max-height: 100px;
    }
}


@media (max-width: 1024px){
    .entry-summary{
        padding: 15px 20px 20px 20px;
        margin-bottom : 0 !important;
    }

    .woocommerce-product-gallery{
        padding: 20px !important;
    }


    .description-product h3, .description-product h4{
        font-size: 25px;
    }

    .product-container > div{
        display: flex;
        flex-direction: column-reverse;
    }

    .woocommerce-js div.product form.cart .button{
        margin-bottom: 0;
        top: 0;
    }

    /* Carrousel mobile */
    .thumbs-swiper {
        margin-top: 15px;
    }

    .thumbs-swiper .swiper-slide {
        border-width: 1.5px;
        max-width: 80px;
        max-height: 80px;
    }

    .thumbs-swiper .swiper-slide img {
        max-width: 80px;
        max-height: 80px;
    }
}
