.utd_ventes_container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 10px;
    overflow: auto;
    grid-template-areas: "content price";
}

.utd_ventes_slider {
    display: none !important;
}

.utd_ventes_content {
    grid-area: content;
}

.utd_ventes_price_container {
    position: relative;
    overflow: auto;
    grid-area: price;
}

.utd_ventes_price_container p {
    padding-bottom: 0;
}

.utd_ventes_price_card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 1rem;
    padding: 20px 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    font-size: 28px;
    z-index: 10;
    font-weight: bold;
}

.utd_ventes_price_card a {
    display: block;
    width: 100%;
    border-radius: 100px;
    overflow: hidden;
    text-shadow: none;
    --tve-applied-text-shadow: none;
    box-shadow: rgba(0,0,0,0.25) 0px 8px 15px 0px;
    --tve-applied-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.25);
    background-color: transparent !important;
    background-image: linear-gradient(45deg, rgb(255, 181, 36) 38%, rgb(255, 186, 117) 100%) !important;
    background-size: auto !important;
    background-position: 50% 50% !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    padding: 15px 20px !important;
    color: rgb(255, 255, 255) !important;
    font-size: 18px !important;
}

.utd_ventes_price_card a:hover {
    background-image: linear-gradient(145deg, rgb(255, 136, 36) 0%, rgb(255, 186, 117) 100%) !important;
}

.utd_ventes_gallery {
    display: grid;
    grid-template-columns: repeat(12,minmax(0,1fr));
    grid-gap: 5px;
    position: relative;
}

@media (max-width: 768px) {
    .utd_ventes_gallery {
        display: none;
    }

    .utd_ventes_slider {
        display: block !important;
    }

    .utd_ventes_container {
        grid-template-areas: "price" "content";
    }

    .utd_ventes_content {
        grid-column: span 12 / span 12;
    }

    .utd_ventes_price_container {
        grid-column: span 12 / span 12 ;
    }
}

.utd_ventes_gallery_images_main {
    grid-column: span 6 / span 6;
}

.utd_ventes_gallery_images_main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.utd_ventes_gallery_images {
    grid-column: span 6 / span 6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
            'item1 item1'
            'item2 item3';

    grid-gap: 5px;
    position: relative;
}

.utd_ventes_gallery_images .item1{
    grid-area: item1;
}

.utd_ventes_gallery_images .item2{
    grid-area: item2;
}

.utd_ventes_gallery_images .item3{
    grid-area: item3;
}

.utd_ventes_gallery_images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.utd_ventes_gallery_item {
    position: relative;
}

.utd_ventes_gallery_more {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
}

.swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

#utd_ventes_lightbox_container {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top:0;
    left: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.utd_ventes_lightbox_launcher {
    cursor: pointer;
}

.utd_ventes_lightbox_close {
    position: absolute;
    top: 50px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .et_pb_section_0_tb_body {
        min-height: 150px !important;
    }
}