/* ── Gallery Swiper – main slider ─────────────────────────────────────── */
.gallery-main {
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    border: 0.5px solid var(--line);
    max-height: 600px;
    background: var(--page-bg-from);
}

.gallery-main .swiper-wrapper {
    display: flex;
    box-sizing: content-box;
    transition-property: transform;
    will-change: transform;
    align-items: center;
}

.gallery-main .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.gallery-main .swiper-slide img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

/* ── Pagination bullets ───────────────────────────────────────────────── */
.gallery-main .swiper-pagination {
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.gallery-main .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(var(--tint) / 0.35);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.gallery-main .swiper-pagination-bullet-active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--accent);
}

/* ── Thumbs slider ────────────────────────────────────────────────────── */
.gallery-thumbs {
    overflow: hidden;
    margin-top: 12px;
}

.gallery-thumbs .swiper-wrapper {
    display: flex;
    justify-content: center;
    box-sizing: content-box;
    gap: 8px;
}

.gallery-thumbs .swiper-slide {
    flex-shrink: 0;
    width: 80px !important;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.5;
}

.gallery-thumbs .swiper-slide-thumb-active {
    border-color: var(--accent);
    opacity: 1;
}

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