.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-container .products .carousel-viewport {
    display: flex;
    scroll-behavior: smooth;
    overflow: hidden;
    width: 100%;
    padding: 0px;
}

/* sipky carouselu */

.carousel-prev, .carousel-next {
    background: #009833;
    width: 30px;
    height: 30px;
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    border: none;
    transition: 0.3s ease all;
}

.carousel-prev:hover, .carousel-next:hover {
    scale: 1.1;
}

/* @media (max-width: 768px) {
    .carousel-prev, .carousel-next {
        display: none;
    }
} */

.carousel-prev:before, .carousel-next:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: -3px;
}

.carousel-next:before {
    transform: rotate(-180deg);
}

.carousel-next {
    position: absolute;
    right: 0px;
    top: -40px;
}

.carousel-prev {
    position: absolute;
    right: 38px;
    top: -40px;
}

.carousel-next svg g path,
.carousel-prev svg g path {
    fill: #fff;
}

.carousel-next svg,
.carousel-prev svg {
    width: 30px;
    height: 30px;
}

/* produktová karta */

.products .carousel-viewport .product {
    flex: 0 0 auto;
    width: 25%;
    height: auto;
    padding: 10px;
}

/* .products-block .ratings-wrapper .availability {
    text-align: left;
} */

.products-block .p {
    padding: 12px;
    border-radius: 12px;
    box-shadow: 1px 1px 8px #9494945b;
}

/* .products-block>div .p {
    transition: 0.3s ease all;
}

.products-block>div .p:hover {
    scale: 1.02;
} */

/* produktová karta --- button */

.btn.add-to-cart-button:before, .btn.btn-cart:before, a.btn.add-to-cart-button:before, a.btn.btn-cart:before {
    display: none;
}

@media (max-width: 1220px) {
    .products .carousel-viewport .product {
        flex: 0 0 auto;
        width: 33.3%;
        height: auto;
        padding: 10px;
    }
}

@media (max-width: 992px) {
    .products .carousel-viewport .product {
        width: 260px;
    }
}

@media (max-width: 550px) {
    .carousel-next {
        position: absolute;
        right: auto;
        top: auto;
        left: 55%;
        bottom: -40px;
        transform: translateX(-50%);
    }

    .carousel-prev {
        position: absolute;
        right: auto;
        top: auto;
        left: 45%;
        bottom: -40px;
        transform: translateX(-50%);
    }
}

@media (max-width: 400px) {
    .carousel-next {
        position: absolute;
        right: auto;
        top: auto;
        left: 65%;
        bottom: -40px;
    }

    .carousel-prev {
        position: absolute;
        right: auto;
        top: auto;
        left: 35%;
        bottom: -40px;
    }
}