/* ===== Wrapper ===== */
.zeesy-gallery {
    display: flex;
    gap: 16px;
    max-width: 700px;
    align-items: center;
}

/* ===== Thumbnails ===== */
.zeesy-thumbs {
    width: 99px;
    height: 746px;
    position: relative; /* arrows ke liye */
}

/* ===== Thumbnails ===== */
.zeesy-thumbs .swiper-slide {
    width: 99px;
    height: 131px;
    opacity: 0.4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: black;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}


/* Active thumbnail */
.zeesy-thumbs .swiper-slide-thumb-active {
    position: relative;
    border-radius: 15px;
    padding: 2px; /* thickness of the border */
    background: black; /* keep inner background black */
    overflow: hidden;
}

/* RGB rotating border using ::after */
.zeesy-thumbs .swiper-slide-thumb-active::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 17px; /* slightly bigger than slide */
    padding: 2px;
    background: conic-gradient(
             #b8860b,
      #ffd700,
      #fff3b0,
      #ffd700,
      #b8860b);
    
    pointer-events: none;
    animation: rotateBorder 3s linear infinite;
    z-index: 2;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Remove any pseudo-element interference */
.zeesy-thumbs .swiper-slide:before {
    content: none !important;
}
/* Active thumbnail */
.zeesy-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

/* Inner image */
.zeesy-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    display: block;
}

.zeesy-thumbs .swiper-slide-thumb-active img {
    position: relative;
    z-index: 3;
    border-radius: 15px;
background: black;
}
/* ===== Main Image ===== */
.zeesy-main {
    width: 560px;
    height: 746px;
    position: relative;
    border-radius: 15px;
    background:black;
}

.zeesy-main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zeesy-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* ===== Arrows on Thumbnails ===== */
.zeesy-thumbs .zeesy-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.zeesy-thumbs-prev { top: 5px; }
.zeesy-thumbs-next { bottom: 5px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {

    .zeesy-gallery {
        flex-direction: column;
        max-width: 100%;
    }

    .zeesy-thumbs {
        order: 2;
        width: 100%;
        height: 110px;
    }

    .zeesy-thumbs .swiper-wrapper {
        flex-direction: row !important;
    }

    .zeesy-thumbs .swiper-slide {
        width: 80px;
        height: 100px;
    }

    .zeesy-main {
        order: 1;
        width: 100%;
        height: auto;
        aspect-ratio: 560 / 746;
    }

    .zeesy-main img {
        height: auto;
    }

.zeesy-arrow  {
        display: none !important; /* hide arrows on mobile */
    }
}
