.gallery {
    max-width: 700px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 10;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
}

.gallery-main img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 0.6s ease;
}

.gallery-main img.active {
    opacity: 1;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 3;

    width: 44px;
    height: 44px;

    background: #fff;
    color: #777;

    border: none;
    border-radius: 50%;

    font-size: 20px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.2s;
    backdrop-filter: blur(4px);
}

.arrow:hover {
    transform: translateY(-50%) scale(1.1);
    color: var(--main);
}

.arrow.left {
    left: 12px;
}

.arrow.right {
    right: 12px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.gallery-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}



