.stonet-gallery {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(60, 188, 200, .24), transparent 52%),
        linear-gradient(145deg, rgba(26, 116, 196, .15), rgba(11, 39, 66, .08));
}

.stonet-gallery__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 280px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 36px rgba(7, 29, 41, .16);
}

.stonet-gallery__main {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.stonet-gallery__control {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 999px;
    background: rgba(11, 39, 66, .82);
    color: #fff;
    font: 800 25px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}

.stonet-gallery__control:hover,
.stonet-gallery__control:focus-visible {
    background: #1a74c4;
    outline: 3px solid rgba(60, 188, 200, .42);
    outline-offset: 2px;
    transform: translateY(-50%) scale(1.06);
}

.stonet-gallery__control--prev {
    left: 12px;
}

.stonet-gallery__control--next {
    right: 12px;
}

.stonet-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.stonet-gallery__thumb {
    min-width: 0;
    padding: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.stonet-gallery__thumb:hover,
.stonet-gallery__thumb:focus-visible {
    border-color: #3cbcc8;
    outline: none;
    transform: translateY(-2px);
}

.stonet-gallery__thumb.is-active {
    border-color: #1a74c4;
    box-shadow: 0 8px 18px rgba(26, 116, 196, .24);
}

.stonet-gallery__thumb img {
    display: block;
    width: 100%;
    height: 64px;
    object-fit: contain;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
}

.stonet-gallery__status {
    margin: 0;
    color: #284355;
    font-size: 13px;
    font-weight: 750;
    text-align: center;
}

@media (max-width: 640px) {
    .stonet-gallery {
        padding: 10px;
        border-radius: 22px;
    }

    .stonet-gallery__stage {
        min-height: 220px;
    }

    .stonet-gallery__control {
        width: 38px;
        height: 38px;
    }

    .stonet-gallery__thumb img {
        height: 52px;
    }
}
