.section-template--13579__main-padding {
    padding-top: 27px;
    padding-bottom: 9px;
}

@media screen and (min-width: 750px) {
    .section-template--13579__main-padding {
        padding-top: 36px;
        padding-bottom: 12px;
    }
}

/* Gallery */
.image-container {
    position: relative;
    display: inline-block;
}

#previewImage {
    width: 70%;
    max-width: 800px;
    height: auto;
    display: block;
    border: 1px solid #e7e6e6;
    cursor: zoom-in;
    margin: 0 auto;
    border-radius: 10px;
}

.hover-zoom-cursor {
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    pointer-events: none;
    z-index: 10;
    border: 2px solid white;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
}

#zoomPreviewBox {
    width: 400px;
    height: 400px;
    background-repeat: no-repeat;
    background-size: 800px auto;
    border: 2px solid #ccc;
    display: none;
    margin-left: 10px;
}

.thumbnails {
    margin-top: 5px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.thumbnails img {
    width: 24%;
    height: auto;
    cursor: pointer;
    border: 1px solid #e7e6e6;
    transition: border-color 0.3s ease;
}

.thumbnails img.active {
    border-color: gray;
}

.thumbnails img:hover {
    border-color: gray;
}

.modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal img {
    max-width: 90vw;
    max-height: 90vh;
}

.modal .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ffffff;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.modal .close-btn:hover {
    background-color: #f0f0f0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.modal .arrow-btns {
    position: absolute;
    top: 45%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.modal .arrow-btns button {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #cccccc;
    width: 48px;
    height: 48px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 30px;
}

.modal .arrow-btns button:hover {
    background-color: #f0f0f0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}