/* Root */
.product-carousel {
    position: relative;
    color: var(--wp--preset--color--czarny);
    overflow: hidden;
    max-width: unset !important;
}

/* Wyłączenie zaznaczania */
.product-carousel * {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Swiper */
.product-carousel .swiper-container {
    width: 100%;
    overflow: visible;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.product-carousel .swiper-slide {
    height: auto;
    display: flex;
}

/* Każdy slajd zawiera kafelek product-tile (styling kafelka w style.css) */

/* Dół: nawigacja + CTA */
.product-carousel__bottom {
    display: flex;
    justify-content: space-between;
}

/* Nawigacja i paginacja */
.product-carousel__nav {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 14px;
}

.product-carousel__button-prev,
.product-carousel__button-next {
    display: flex;
    cursor: pointer;
}

.product-carousel__button-prev *,
.product-carousel__button-next * {
    transition: all 0.3s ease;
}

.product-carousel__button-prev:hover svg path,
.product-carousel__button-next:hover svg path {
    fill: #fff;
}

.product-carousel__button-prev svg rect,
.product-carousel__button-next svg rect {
    fill: transparent;
}

.product-carousel__button-prev:hover svg rect,
.product-carousel__button-next:hover svg rect {
    fill: var(--wp--preset--color--czarny);
}

/* CTA pod karuzelą */
.product-carousel__cta {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}
.product-carousel__button {
    /* dziedziczy style przycisku z WP */
}

@media (max-width: 781px){
    .product-carousel__bottom {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }
    .product-carousel__button,
    .product-carousel__cta {
        width: 100%;
    }
}
