/* Custom Swiper for Product detail image carousel */
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.mySwiper2 {
    height: 100%;
    width: 100%;
}

.mySwiper {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*  */
.fullImageClass {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    /* z-index: 100; */
}

.fullImageClass img {
    /* width: fit-content; */
    width: 60%;
    /* height: max-content; */
    height: auto;
    border-radius: 20px;
    border: 2px solid white;
    max-width: 90%;
    object-fit: contain; /* Ensures image content is properly scaled */
}

.fullImageClass span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

/* Tablet view */
@media (max-width: 1024px) {
    .fullImageClass img {
        width: 90%; /* Slightly more zoomed in for tablet */
    }
}

/* Mobile view */
@media (max-width: 767px) {
    .fullImageClass img {
        width: 85%; /* Zoomed in more for mobile screens */
    }
}

/* Very small mobile view (portrait phone) */
@media (max-width: 480px) {
    .fullImageClass img {
        width: 90%; /* Zoom in as much as possible for small screens */
    }
}
