.slick-slide>div {
    width: unset;
}

.product-carousel .carousel-item {
    padding: 10px;
    text-align: center;
    display: flex !important;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.product-categories-buttons {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    gap: 10px;
}

.category-button, .category-button:focus {
    border-radius: 100px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    background-color: #efe383 !important;
    color: #9b322f !important;
    outline: none !important;
}


.category-button.active {
    background-color: #fff !important;
    color: #9b322f !important;
    outline: none !important;
}

.product-carousel .carousel-item img {
    height: auto;
    display: block;
    max-height: 300px !important;
    transform: translateX(12px);
}

.carousel-item img {
    transition: all 0.2s ease-out;
    display: block;
    transform-origin: bottom; 
}

.product-carousel {
    display: flex;
    align-items: flex-start;
    justify-content: start;
    overflow: hidden;
}

.product-categories-buttons {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
}

.categories-container {
    display: flex;
    overflow-x: auto;
    /* Umožňuje horizontálne posúvanie */
    white-space: nowrap;
    /* Udržuje tlačidlá v jednom riadku */
}

.carousel-item h3 {
    font-size: 20px;
    color: var(--e-global-color-a61b999);
    font-weight: 400;
}

.product-carousel h2.category-title {
    display: none;
}

@media screen and (min-width: 768px) {
    
    .carousel-item:hover img {
        transform: scale(1.05) rotate(0deg) translateX(12px); /* Scale the image and keep it aligned at the bottom */
    }
    
    .product-carousel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* Zarovná položky na stred, keď nezaplnia celý riadok */
        gap: 20px;
    }

    .product-carousel h2.category-title {
        display: block;
        flex: 0 0 100%;
        width: 100%;
        text-align: center;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 30px;
    }

    .product-carousel .carousel-item {
        flex: 0 0 calc(25% - 15px);
    }

    .product-carousel .carousel-item.column-5 {
        flex: 0 0 calc(20% - 25px);
    }

    .product-categories-buttons {
        display: none;
    }
}