/* assets/css/style.css */
.gallery-lovatel {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 30px;
}

.gallery-lovatel .mySwiper2 {
    width: 80%;
    overflow: hidden;
    position: relative;
    height: fit-content;
}

.gallery-lovatel .mySwiper2 figure {
    margin: 0;
    padding: 0;
}

.gallery-lovatel .mySwiper2 img {
    width: 100%;
    aspect-ratio: 31 / 39;
    object-fit: contain;
    padding: 20px;
    display: block;
}

.gallery-lovatel .mySwiper {
    order: -1;
    width: 190px;
    flex-shrink: 0;
    height: 100%;
    padding: 5px; /* Espaço para não cortar a borda/sombra */
    box-sizing: border-box;
}

.gallery-lovatel .mySwiper .swiper-slide {
    opacity: 0.6;
    cursor: pointer;
    border: 1px solid transparent;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
    /* Removido height: auto para não quebrar o cálculo vertical do Swiper */
}

.gallery-lovatel .mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #6A2A17;
}

.gallery-lovatel .mySwiper .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.gallery-lovatel .mySwiper img {
    width: 100%;
    height: auto;
    aspect-ratio: 31 / 39;
    object-fit: contain;
    padding: 10px;
}

/* Swiper Buttons */
.gallery-lovatel .swiper-button-next,
.gallery-lovatel .swiper-button-prev {
    color: #6A2A17;
}

.gallery-lovatel .swiper-button-next:after,
.gallery-lovatel .swiper-button-prev:after {
    font-size: 20px;
}

@media (max-width: 900px) {
    .gallery-lovatel {
        flex-direction: column;
    }
    .gallery-lovatel .mySwiper2 {
        width: 100%;
    }
    .gallery-lovatel .mySwiper {
        width: 100%;
        order: 1;
    }
    .gallery-lovatel .mySwiper .swiper-wrapper {
        flex-direction: row;
    }
}
