/* Client Testimonials Styles */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

/* Główny kontener */
.client-testimonials-container {
    margin: 40px auto 60px;
    position: relative;
	padding: 0px !important;
}

/* Style dla przycisków nawigacji */
.client-swiper-nav {
    position: absolute;
    display: flex;
    gap: 12px;
    right: 20px;
    top: -100px;
    z-index: 100;
}

/* Wspólne style dla obu przycisków */
.client-swiper-button-prev,
.client-swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    border: 1px solid #E6E6E6;
}

/* Styl dla strzałki w lewo (prev) */
.client-swiper-button-prev {
    background-color: #fff;
    color: #000;
}

.client-swiper-button-prev:hover {
    background-color: #f5f5f5;
}

/* Styl dla strzałki w prawo (next) */
.client-swiper-button-next {
    background-color: #fff;
    color: #000;
}

.client-swiper-button-next:hover {
    background-color: #f5f5f5;
}

/* Styl dla ikon SVG wewnątrz przycisków */
.client-swiper-button-prev svg,
.client-swiper-button-next svg {
    width: 20px;
    height: 20px;
}

/* Ukryj paginację Swiper */
.client-testimonials-swiper .swiper-pagination {
    display: none;
}

/* Kontener karuzeli */
.client-testimonials-swiper {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.client-testimonials-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.client-testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Karta opinii */
.client-testimonial-card {
    background: #D2ECFB;
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

/* Zdjęcia produktów */
.client-product-images {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-image {
    flex: 0 0 calc(33.333% - 7px);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
	max-width: 100px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gwiazdki oceny */
.client-rating {
    display: flex;
    gap: 3px;
}

.client-star {
    color: #E0E0E0;
    font-size: 24px;
}

.client-star.filled {
    color: #FFC107; /* Żółty kolor gwiazdek */
}

/* Tekst opinii */
.client-testimonial-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Informacje o kliencie */
.client-info {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.client-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin: 0;
}

.client-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.client-name, .client-title {
	margin: 0 !important;
}

/* Responsywność */
@media (max-width: 767px) {
    .client-testimonials-swiper {
        padding: 0 5px;
    }
    
    .client-product-images {
        flex-wrap: wrap;
    }
    
    .product-image {
        flex: 0 0 calc(50% - 5px);
    }
    
    .client-swiper-nav {
        position: relative;
        justify-content: flex-end;
        margin-top: 20px;
        right: auto;
        top: auto;
    }
    
    .client-testimonials-heading {
        margin-bottom: 10px;
        font-size: 24px;
    }
}

/* Poprawka dla tabletów */
@media (min-width: 768px) and (max-width: 1023px) {
    .client-testimonials-swiper {
        padding: 0 5px;
    }
    
    .product-image {
        flex: 0 0 calc(50% - 5px);
    }
}