.product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    /* align-items: flex-start !important; */
    width: 100%;
    margin-bottom: 1.5rem;
    padding-top: 5px;
}

.product-gallery-main-image img {
    object-fit: cover;
    width: 600px;
    height: 600px !important;
    display: block;
    margin: 0 auto;
    max-width: 100% !important;
}

.product-gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
    left: 0;
}

.product-thumbnail img {
    width: 100px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: border 0.3s ease;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    max-width: 100%;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
	pointer-events: none; /* <<< */
}

/* These elements remain clickable */
.lightbox-slide img,
.lightbox-prev,
.lightbox-next,
.lightbox-close,
.lightbox-close-desktop {
  pointer-events: auto; /* <<< */
}

.lightbox-slider {
    width: 100%;
    text-align: center;
}

.lightbox-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-slide img {
    max-width: 100%;
    max-height: 80vh;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.lightbox-close-desktop {
    position: relative;
    top: -10px;
    right: -20px;
    color: #fff;
    font-size: 0px;
    cursor: pointer;
    z-index: 10;
}

/* If you truly want to hide the global close button, keep this; otherwise remove it */
.lightbox-close { display: none; }

.img-close-ctn {
    display: flex;
    justify-content: center;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 22px;
    padding: 0 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.lightbox-overlay-content {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.lightbox-close {
    display: none;
}

@media (max-width: 769px) {
    .lightbox-close {
        display: block;
    }

    .lightbox-close-desktop {
        display: none;
    }
}

.product-gallery-main-image {
    margin-bottom: 10px;
}

.product-thumbnail {
    cursor: pointer;
    width: 100px;
}

.product-gallery-thumbnails .slick-prev,
.product-gallery-thumbnails .slick-next {
    top: 50%;
    position: absolute;
    font-size: 24px;
    color: #000;
    z-index: 1;
}

.emoji {
    display: none !important;
    opacity: 0;
}

.product-thumbnail img.active-thumbnail {
    border: 5px solid rgb(135 210 210 / 70%) !important;
}

.product-thumbnail.slick-active img {
    border: 1px solid rgba(130, 127, 127, 1);
}

.product-gallery-thumbnails .slick-list.draggable {
    width: 75%;
    text-align: center;
    margin: auto;
}

.product-gallery-thumbnails .slick-prev:before,
.product-gallery-thumbnails .slick-next:before {
    display: none;
}

.product-gallery-thumbnails .slick-prev {
    left: 0;
}

.product-gallery-thumbnails .slick-next {
    right: 0;
}

.product-gallery-thumbnails .slick-prev:hover,
.product-gallery-thumbnails .slick-prev:focus,
.product-gallery-thumbnails .slick-next:hover,
.product-gallery-thumbnails .slick-next:focus {
    color: #000000;
}

.product-gallery-thumbnails .slick-track {
    display: flex;
    gap: 15px;
}