.gallery-section {
    padding: 60px 0;
    background: #fff;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.gallery-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    padding: 0 20px;
}

.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-track-window {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.gallery-item {
    flex: 0 0 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.2s;
    user-select: none;
}

.gallery-arrow:hover {
    background: #e27890;
    color: #fff;
    border-color: #e27890;
}

.gallery-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

#gallery-prev-btn {
    left: -15px;
}

#gallery-next-btn {
    right: -15px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.dot {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #e27890;
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 20px 0;
    }

    .gallery-item {
        flex: 0 0 160px;
        height: 160px;
    }

    .gallery-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
        background: rgba(255, 255, 255, 0.9);
    }

    #gallery-prev-btn { left: 0; }
    #gallery-next-btn { right: 0; }
}