/* =========================================
   Customer Testimonials
========================================= */

.customer-testimonials {
    background: #f5f5f5;
    padding: 20px 0 10px;
}

.customer-testimonials .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}


/* =========================================
   Heading
========================================= */

.testimonial-heading {
    text-align: center;
    margin-bottom: 45px;
}

.testimonial-heading > span {
    display: block;
    margin-bottom: 5px;

    color: #333;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
}

.testimonial-heading h1 {
    margin: 0 0 8px;

    color: #222;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.testimonial-heading h1 strong {
    color: #f7941d;
    font-weight: 700;
}

.testimonial-heading p {
    margin: 0;

    color: #555;
    font-size: 15px;
}


/* =========================================
   Slider
========================================= */

.testimonial-slider {
    position: relative;
    padding: 10px 50px 15px;
    overflow: hidden;
}

.testimonial-slider .swiper-wrapper {
    align-items: stretch;
}

.testimonial-slider .swiper-slide {
    height: auto;
}


/* =========================================
   Testimonial Card
========================================= */

.testimonial-card {
    display: flex;
    flex-direction: column;

    height: 100%;
    min-height: 300px;

    padding: 22px 20px 16px;

    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: 14px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);

    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   Rating + Date
========================================= */

.testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.testimonial-stars {
    color: #ff9200;
    font-size: 15px;
    letter-spacing: 2px;
    line-height: 1;

    white-space: nowrap;
}

.testimonial-date {
    color: #999;
    font-size: 10px;
    line-height: 1;

    white-space: nowrap;
}


/* =========================================
   Review
========================================= */

.testimonial-review {
    flex-grow: 1;
    min-height: 125px;

    color: #111;
    font-size: 14px;
    line-height: 1.55;
}

.testimonial-review p {
    margin: 0;
}


/* =========================================
   Divider
========================================= */

.testimonial-divider {
    width: 100%;
    height: 0;

    margin: 1px 0 14px;

    border-top: 1px solid #e5e5e5;
    background: none;
}


/* =========================================
   Product
========================================= */

.testimonial-product {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 75px;
    margin: 0;
}

.testimonial-product-image {
    width: 70px;
    height: 70px;

    flex: 0 0 70px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-product-image img,
.testimonial-product img {
    width: 70px !important;
    height: 70px !important;

    max-width: 70px !important;
    max-height: 70px !important;

    object-fit: contain;

    display: block;

    margin: 0 !important;
}

.testimonial-product-info {
    flex: 1;
    min-width: 0;
}

.testimonial-product-info strong,
.testimonial-product strong {
    display: block;

    margin: 0 0 2px;

    color: #111;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.testimonial-product-info span,
.testimonial-product span {
    display: block;

    color: #555;
    font-size: 10px;
    line-height: 1.3;
}


/* =========================================
   Verified Customer
========================================= */

.testimonial-verified {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    width: auto;

    margin-top: 1px;
    padding: 6px 12px;

    background: #e8f7ef;
    border-radius: 20px;

    color: #17885d;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.testimonial-verified .verified-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 15px;
    height: 15px;

    flex: 0 0 15px;

    border-radius: 50%;

    background: #17885d;
    color: #fff;

    font-size: 9px;
    line-height: 1;
}


/* =========================================
   Navigation Arrows
========================================= */

.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 50%;
    z-index: 10;

    transform: translateY(-50%);

    color: #f7941d;
    font-size: 52px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
    user-select: none;
}

.testimonial-prev {
    left: 5px;
}

.testimonial-next {
    right: 5px;
}


/* =========================================
   Pagination Dots
========================================= */

.testimonial-pagination {
    position: relative !important;
    bottom: auto !important;

    margin-top: 45px;

    text-align: center;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;

    background: #bbb;
    opacity: 1;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: #222;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 991px) {

    .testimonial-heading h1 {
        font-size: 30px;
    }

    .testimonial-slider {
        padding-left: 40px;
        padding-right: 40px;
    }

}


/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {

    .customer-testimonials {
        padding: 40px 0;
    }

    .customer-testimonials .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .testimonial-heading {
        margin-bottom: 30px;
    }

    .testimonial-heading h1 {
        font-size: 25px;
    }

    .testimonial-heading p {
        font-size: 14px;
    }

    .testimonial-slider {
        padding-left: 30px;
        padding-right: 30px;
    }

    .testimonial-card {
        min-height: 300px;
    }

    .testimonial-review {
        min-height: auto;
    }

    .testimonial-prev,
    .testimonial-next {
        font-size: 42px;
    }

}