.dg-wrapper-37c831c6 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dg-main-container-37c831c6 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dg-main-image-37c831c6 {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dg-main-image-37c831c6:hover {
    transform: scale(1.02);
}

.dg-nav-btn-37c831c6 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.dg-nav-btn-37c831c6 svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.dg-nav-prev-37c831c6 { left: 10px; }
.dg-nav-next-37c831c6 { right: 10px; }

.dg-nav-btn-37c831c6:hover {
    background: rgba(0,0,0,0.8);
}

.dg-thumbnails-container-37c831c6 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.dg-thumb-wrapper-37c831c6 {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s, opacity 0.3s;
    overflow: hidden;
    box-shadow: none; /* Removing shadow */
}

.dg-thumb-wrapper-37c831c6:hover {
    opacity: 0.8;
}

.dg-thumb-wrapper-37c831c6.active {
    border-color: #000;
}

.dg-thumb-37c831c6 {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

/* Lightbox */
.dg-lightbox-overlay-37c831c6 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dg-lightbox-img-37c831c6 {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.dg-lightbox-close-37c831c6 {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 40px;
    cursor: pointer;
}