/* Style dla przycisków nawigacji kategorii WooCommerce */

/* Wyśrodkowanie przycisków wertykalnie */
.wcn-categories-wrapper {
    position: relative;
}

/* Style dla przycisków nawigacyjnych - podobne do Splide */
.wcn-scroll-arrow {
    /* Pozycjonowanie i wyśrodkowanie */
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    
    /* Wymiary */
    width: 2.5em !important;
    height: 2.5em !important;
    
    /* Wygląd */
    background-color: #1f7c4e !important;
    border: none !important;
    border-radius: 25px !important;
    
    /* Flexbox dla ikony */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Interakcja */
    cursor: pointer !important;
    opacity: 0.75 !important;
    transition: all 0.3s ease !important;
    
    /* Cień */
    box-shadow: 0 4px 12px rgba(31, 124, 78, 0.3) !important;
    
    /* Kolor ikony */
    color: #ffffff !important;
    font-size: 1.2rem !important;
    padding: 0 !important;
}

/* Pozycje lewej i prawej strzałki */
.wcn-scroll-arrow.left {
    left: -20px !important;
}

.wcn-scroll-arrow.right {
    right: -20px !important;
}

/* Hover efekt */
.wcn-scroll-arrow:hover {
    opacity: 1 !important;
    background-color: #064072 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(6, 64, 114, 0.4) !important;
}

/* Active state */
.wcn-scroll-arrow:active {
    transform: translateY(-50%) scale(0.95) !important;
}

/* Ukrycie niewidocznych przycisków */
.wcn-scroll-arrow:not(.visible) {
    display: none !important;
}

/* Responsywność - mniejsze przyciski na mobilnych */
@media (max-width: 768px) {
    .wcn-scroll-arrow {
        width: 2em !important;
        height: 2em !important;
        font-size: 1rem !important;
    }
    
    .wcn-scroll-arrow.left {
        left: -10px !important;
    }
    
    .wcn-scroll-arrow.right {
        right: -10px !important;
    }
}

/* Dodatkowy margines dla kontenera, żeby przyciski się mieściły */
.wcn-categories-wrapper {
    margin-left: 30px !important;
    margin-right: 30px !important;
}

@media (max-width: 768px) {
    .wcn-categories-wrapper {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}