.alojamento-gallery-wrapper-852e84d2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.swiper-main-852e84d2 {
    width: 100%;
    height: 400px; /* Default height, overridable by widget settings */
    border-radius: 8px; /* Default border-radius */
    overflow: hidden;
    position: relative;
}

.swiper-main-852e84d2 .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
}

.swiper-main-852e84d2 .swiper-slide img,
.swiper-thumbs-852e84d2 .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-thumbs-852e84d2 {
    width: 100%;
    height: 80px; /* Default thumbs height */
    box-sizing: border-box;
}

.swiper-thumbs-852e84d2 .swiper-slide {
    opacity: 0.5;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent; /* Border for active state */
    box-sizing: border-box;
}

.swiper-thumbs-852e84d2 .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #000; /* Overridable by widget settings */
}

/* Custom Navigation arrows */
.alojamento-gallery-next-852e84d2, 
.alojamento-gallery-prev-852e84d2 {
    color: #fff;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

.alojamento-gallery-next-852e84d2 {
    right: 10px;
}

.alojamento-gallery-prev-852e84d2 {
    left: 10px;
}

.alojamento-gallery-next-852e84d2:after {
    content: '>';
    font-size: 18px;
    font-weight: bold;
}

.alojamento-gallery-prev-852e84d2:after {
    content: '<';
    font-size: 18px;
    font-weight: bold;
}

.alojamento-empty-gallery-852e84d2 {
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    border: 2px dashed #ccc;
    border-radius: 8px;
    color: #666;
    font-family: sans-serif;
}
