.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.gallery .image-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery .zoomable {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
}

.gallery-zoom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.gallery-zoom img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.gallery-zoom .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.gallery-zoom .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.gallery-zoom .prev-button {
    left: 10px;
}

.gallery-zoom .next-button {
    right: 10px;
}
