.bn-product-gallery {
    width: 100%;
    max-width: 100%;
}

/* ── Main Swiper ── */
.bn-gallery-main {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.bn-gallery-main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.bn-gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Navigation arrows */
.bn-product-gallery .swiper-button-prev,
.bn-product-gallery .swiper-button-next {
    color: #1a3a2a;
    background: rgba(255, 255, 255, 0.85);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bn-product-gallery:hover .swiper-button-prev,
.bn-product-gallery:hover .swiper-button-next {
    opacity: 1;
}

.bn-product-gallery .swiper-button-prev::after,
.bn-product-gallery .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

/* ── Thumbnail Swiper ── */
.bn-gallery-thumbs {
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.bn-gallery-thumbs .swiper-slide {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}

.bn-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #1a3a2a;
}

.bn-gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ══════════════════════════════════════════════════════════
   Custom Gallery Layout
   ══════════════════════════════════════════════════════════ */

.bn-custom-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
}

/* ── Top Row ── */
.bn-cg-top {
    display: flex;
    gap: 16px;
}

.bn-cg-image {
    border-radius: 16px;
    overflow: hidden;
}

.bn-cg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bn-cg-image-main {
    flex: 1;
    min-height: 300px;
}

.bn-cg-image-full {
    max-height: 450px;
}

/* ── Features Column ── */
.bn-cg-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 140px;
    width: 100%;
}

.bn-cg-feature {
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
}

.bn-cg-feature-icon {
    width: 48px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.bn-cg-feature-label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

/* ── Bottom Row ── */
.bn-cg-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bn-cg-bottom .bn-cg-image {
    aspect-ratio: 1 / 1;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .bn-cg-top {
        grid-template-columns: 1fr;
    }

    .bn-cg-features {
        flex-direction: row;
    }

    .bn-cg-feature {
        padding: 16px 12px;
    }

    .bn-cg-feature-label {
        font-size: 14px;
    }

    .bn-cg-bottom {
        grid-template-columns: 1fr;
    }
}
