/* Custom Slider Styles - 1 teljes + 1/4 kártya megjelenítés */

.custom-slider-wrapper {
    display: flex;
    transition: transform 500ms ease-in-out;
    will-change: transform;
}

.custom-slider-wrapper > * {
    flex-shrink: 0;
}

/* Arrow buttons */
.custom-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.custom-slider-arrow:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.custom-slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.custom-slider-prev {
    left: 10px;
}

.custom-slider-next {
    right: 10px;
}

.custom-slider-arrow i {
    color: #333;
    font-size: 16px;
}

/* Dots navigation */
.custom-slider-dots {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    height: 20px;
}

.custom-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #dedede;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.custom-slider-dot:hover {
    background:#444;
    transform: scale(1.2);
}

.custom-slider-dot.active {
    background: #000;
    transform: scale(1.3);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .custom-slider-arrow {
        width: 35px;
        height: 35px;
        display: none; /* Mobilra elrejtjük a nyilakat */
    }

    .custom-slider-dots {
        bottom: -10px;
    }

    .custom-slider-dot {
        width: 8px;
        height: 8px;
    }
}

/* Touch swipe feedback */
.primary_banner.custom-slider-initialized {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

/* Smooth transitions */
.primary_banner.custom-slider-initialized .custom-slider-wrapper {
    backface-visibility: hidden;
    perspective: 1000px;
}


.primary_banner.custom-slider-initialized{
position: relative;
    padding-bottom: 18px;
    margin-bottom: 20px;
}
.primary_banner{
    margin-left: 5px;
}