/*wooslider*/
body {
    background: black;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

html, body {
    height: 100% !important;
}

/* Force tous les parents à prendre 100% de hauteur */
#all,
#pagecontent,
.col.span_1_of_1.full,
.full1.wrap,
#fixdiv1,
.textwrapper.text_div1 {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.eds_wooslider { /*_container {*/
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    height: 100vh !important;
    /*width: 100vw !important;*/
    padding: 15px !important;
    box-sizing: border-box !important;
    align-items: flex-end !important;
    align-content: flex-end !important;
}

.eds_wooslider_product {
    flex: 1 1 300px !important;
    min-width: 250px !important;
    max-width: calc(33.333% - 10px) !important;
    height: 100% !important;
    max-height: calc(100vh - 30px) !important; /* Ne dépasse pas l'écran */
    display: flex !important;
    flex-direction: column !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
    /*background: rgba(20,20,20,0.9) !important;*/
}

/* Conteneur thumbnail limité à la hauteur disponible */
.eds_wooslider_thumbnail {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-height: calc(100vh - 150px) !important; /* 150px pour content et padding */
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
    /*background: #000 !important;*/
}

/* Image adaptée au conteneur sans déformer */
.eds_wooslider_thumbnail img {
    width: 100% !important;
    height: 100% !important;          /* remplit le conteneur mais garde ratio */
    max-height: 100% !important;      
    object-fit: contain !important;    /* conserve proportions */
    display: block !important;
    position: relative !important;
}


.eds_wooslider_content {
    padding: 15px !important;
    flex-shrink: 0 !important;
    background: rgba(0,0,0,0.9) !important;
    max-width: 100% !important;
}

.eds_wooslider_title {
    color: yellow !important;
    font-size: 25px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    min-height: 40px !important;
    word-wrap: break-word !important;
}

.eds_wooslider_price {
    font-size: 25px !important;
    color: yellow !important;
    font-weight: bold !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .eds_wooslider_product {
        max-width: calc(50% - 10px) !important;
    }
}

@media (max-width: 768px) {
    .eds_wooslider_product {
        max-width: 100% !important;
    }
}

.eds_woosliderwrapper {
    overflow: hidden;
    position: relative;
}

.eds_wooslider {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
}

.eds_wooslider_product {
    flex: 0 0 auto;
}
