.desktop-image-gallery {
    margin: 0 8% 90px 8%;
    font-family: 'Helvetica', 'Arial', sans-serif;
    display: block;
}

.desktop-image-gallery .four-image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.desktop-image-gallery .grid-image-container {
    flex: 1 1 calc(25% - 10px);
    max-width: calc(25% - 10px);
    box-sizing: border-box;
    background-color: #fff;
}

.desktop-image-gallery .grid-image-container img.grid-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #eee;
}

.lightbox-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #333;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #000;
}

.lightbox-content {
    position: static;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-modal .lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    display: block;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    z-index: 1010;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background-color: #f0f0f0;
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

.lightbox-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    cursor: pointer;
    height: 4px;
    width: 25px;
    margin: 0 3px;
    background-color: #d3d3d3;
    border-radius: 2px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #006039;
}

.desktop-image-gallery {
    display: block;
}
.mobile-carousel-wrapper {
    display: none;
}

@media (max-width: 767px) {
    picture.product-top-image-container {
        display: none !important;
    }

    div.mobile-carousel-wrapper.product-top-image-container {
        display: block !important;
        width: 100%;
        padding: 0;
        margin: 0;
        clear: both;
    }

    .desktop-image-gallery,
    .lightbox-modal {
        display: none !important;
    }

    .reeds-mobile-owl-carousel {
        margin-bottom: 5px;
    }

    .reeds-mobile-owl-carousel .item img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .reeds-mobile-owl-carousel .owl-dots {
        text-align: center;
        margin-top: 5px;
        margin-bottom: 0;
        line-height: 1;
    }

    .reeds-mobile-owl-carousel .owl-dots .owl-dot.active span {
        background: #006039 !important;
    }
    .reeds-mobile-owl-carousel .owl-dots .owl-dot span {
        background: #d3d3d3 !important;
        margin: 0 3px !important;
        width: 25px !important;
        height: 4px !important;
        border-radius: 2px !important;
        padding: 0 !important;
        display: inline-block;
    }

    .reeds-mobile-owl-carousel .owl-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-image-gallery .grid-image-container {
    }
}

@media (max-width: 480px) {
    .desktop-image-gallery .four-image-grid {
    }
    .desktop-image-gallery .grid-image-container {
    }
}
