.seamless-slider {
    overflow: hidden;
    position: relative;
}

.seamless-slider-track {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
    scroll-behavior: smooth;
}


.seamless-slide {
    flex: 0 0 auto;
    max-width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.seamless-slide img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    background-color: white!important;
    border-radius: 10px;
}

.seamless-slide-caption {
    padding: 10px 0;
    font-size: 16px;
    color: #444;
}

/* 🔄 Автопрокрутка — скрываем стрелки */
.slider-buttons {
    display: none;
}


.lamp-wrapper {
    position: absolute;
    top: -20px;
    left: -60px; /* подвинем влево, чтобы выглядывала */
    width: 50px;
    height: 140px;
    z-index: 99;
    pointer-events: none;
    overflow: visible;
}

.lamp-swing {
    transform-origin: top center; /* качается вокруг провода */
    transition: transform 0.2s ease-out;
}



/* Стрелки */
.slider-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: white;
    color: black;
    border: 1px solid #000;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background 0.2s ease;
    border-radius: 8px;
    box-shadow: inset 0px 0px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .slider-btn {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }
}

.prev-btn-hide {
    background: transparent;
    color: transparent;
    border: none;
    position: relative;
    left: -200px;
}

.next-btn-hide {
    background: transparent;
    color: transparent;
    border: none;
    position: relative;
    right: -200px;
}

.slider-btn:hover {
    background: #f0f0f0;
}
