/* Container */
.straus-gallery-container {
    display: flex;
    width: 100%;
    gap: 20px;
}

/* Thumbnails (Desktop) */
.straus-gallery-thumbs {
    width: 10%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.straus-gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: 2px solid transparent;
    /* Selection indicator space */
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.straus-gallery-thumb.active-thumb {
    border-color: #000;
    /* Active Color */
}

.straus-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main Slider */
.straus-gallery-main {
    width: 90%;
    position: relative;
    overflow: hidden;
    /* Important for Swiper */
    border-radius: 8px;
}

.straus-gallery-main .swiper-slide {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    /* Optional: if images have transparency */
}

.straus-gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Main image should be fully visible? User said "aspect ratio 1/1" for main images. If actual image isn't 1/1, contain is safer. */
}

/* Hide Pagination by default (Desktop) */
.straus-gallery-main .swiper-pagination {
    display: none;
}


/* Mobile Layout */
@media (max-width: 767px) {
    .straus-gallery-container {
        flex-direction: column;
    }

    .straus-gallery-thumbs {
        display: none;
        /* Hide thumbs on mobile */
    }

    .straus-gallery-main {
        width: 100%;
    }

    /* Show pagination on mobile */
    .straus-gallery-main .swiper-pagination {
        display: block;
        bottom: 10px;
    }
}