/* Thumbnails Container - Appended to body to bypass overflow hidden */
.carousel-thumbs-container-52bc9b3e {
    position: absolute; /* Will be positioned via JS */
    display: flex;
    gap: 15px;
    z-index: 9999; /* Ensure it's on top of everything */
    pointer-events: auto;
    opacity: 0; /* Hidden initially until positioned */
    transition: opacity 0.3s ease;
}

.carousel-thumbs-container-52bc9b3e.is-ready {
    opacity: 1;
}

/* Thumb Items */
.carousel-thumb-item-52bc9b3e {
    flex-shrink: 0;
    width: 60px; 
    height: 60px;
    opacity: 0.4; /* Inactive opacity */
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    border-radius: 4px;
    background-color: #673c30; /* Fallback brand color */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.carousel-thumb-item-52bc9b3e:hover {
    opacity: 0.8;
}

.carousel-thumb-item-52bc9b3e.is-active {
    opacity: 1;
    transform: scale(1.05);
}

/* Desktop vs Mobile logic is handled mostly by JS position recalculation, 
   but we can define the flex-direction here */
@media (min-width: 768px) {
    .carousel-thumbs-container-52bc9b3e {
        flex-direction: row;
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .carousel-thumbs-container-52bc9b3e {
        flex-direction: column;
    }
    
    /* Make room for the absolute thumbnails on mobile */
    .elementor-element-aabdcf6 {
        margin-left: 75px !important;
        width: calc(100% - 75px) !important;
    }
}