.custom-gallery-wrapper-3bfdea53 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.custom-gallery-main-3bfdea53 {
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-gallery-main-3bfdea53 img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

/* Main Image Navigation Arrows */
.main-image-nav-3bfdea53 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background 0.2s;
}

.main-image-nav-3bfdea53:hover {
    background: rgba(255, 255, 255, 1);
}

.main-image-nav-3bfdea53.prev-btn {
    left: 10px;
}

.main-image-nav-3bfdea53.next-btn {
    right: 10px;
}

.main-image-nav-3bfdea53 i {
    font-size: 16px;
    color: #333;
}

/* Thumbnails Swiper Container */
.custom-gallery-thumbnails-3bfdea53 {
    width: 100%;
    padding: 5px 0;
}

.custom-gallery-item-3bfdea53 {
    width: 80px; /* Swiper handles actual sizing via JS, this is fallback/base */
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.custom-gallery-item-3bfdea53:hover,
.custom-gallery-item-3bfdea53.active {
    border-color: #333;
    opacity: 1;
}

.custom-gallery-item-3bfdea53 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}