.ds-painkiller-gallery-grid-c764c4b0 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    width: 100%;
}

@media (max-width: 1024px) {
    .ds-painkiller-gallery-grid-c764c4b0 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ds-painkiller-gallery-grid-c764c4b0 {
        grid-template-columns: 1fr;
    }
}

.ds-painkiller-gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1920 / 812;
    background: #000;
}

.ds-painkiller-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ds-painkiller-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

.ds-painkiller-gallery-item:hover::after {
    opacity: 1;
}

.ds-painkiller-gallery-item:hover img {
    transform: scale(1.03);
}

.ds-painkiller-lightbox-c764c4b0 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ds-painkiller-lightbox-c764c4b0.is-active {
    opacity: 1;
    visibility: visible;
}

.ds-painkiller-lightbox-overlay-c764c4b0 {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.ds-painkiller-lightbox-content-c764c4b0 {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 2;
}

.ds-painkiller-lightbox-img-c764c4b0 {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ds-painkiller-lightbox-close-c764c4b0 {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.ds-painkiller-lightbox-close-c764c4b0:hover {
    color: #ccc;
}
