/**
 * Testimonials Slider Styles
 */

.ah-testimonials-section .swiper-slide {
    height: auto;
}

.ah-testimonial-card {
    background: var(--ah-card-bg, #fff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ah-testi__wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: 100%;
    padding: 16px;
}

.ah-testi__image {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.ah-testi__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* puste pasy z lewej/prawej */
}

.ah-testi__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.ah-testi__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ah-testi__name {
    font-size: 1.0625rem;
    line-height: 1.3;
    margin: 0;
    color: #202328;
    font-weight: 600;
}

.ah-testi__verified {
    font-size: 0.8125rem;
    color: #6b7280;
    white-space: nowrap;
}

.ah-testi__text {
    font-size: 0.95rem;
    color: #202328;
    line-height: 1.55;
}

.ah-testi__sep {
    height: 1px;
    background: #e5e7eb;
    width: 100%;
    margin-top: 0.25rem;
}

.ah-testi__product {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.ah-testi__product:hover {
    opacity: 0.8;
}

.ah-testi__pimg {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ah-testi__pimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ah-testi__ptitle {
    font-size: 0.9375rem;
    color: #202328;
}

/* Navigation */
.ah-testimonials-section .ah-swiper-nav--bottom {
    margin-top: 20px;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.ah-testimonials-section .ah-swiper-nav--bottom .btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #202328;
    color: #fff;
    border: 0;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    padding: 0;
}

.ah-testimonials-section .ah-swiper-nav--bottom .btn svg {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.ah-testimonials-section .ah-swiper-nav--bottom .btn:hover:not([disabled]) {
    transform: translateY(-2px);
    background: #111827;
}

.ah-testimonials-section .ah-swiper-nav--bottom .btn:active:not([disabled]) {
    transform: translateY(0);
}

.ah-testimonials-section .ah-swiper-nav--bottom .btn.swiper-button-disabled,
.ah-testimonials-section .ah-swiper-nav--bottom .btn[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
}

.ah-testimonials-section .swiper {
    padding-bottom: 4px;
}

/* Equal heights */
.ah-testimonials-section .swiper-wrapper {
    align-items: stretch;
}

/* Responsive */
@media (max-width: 768px) {
    .ah-testi__name {
        font-size: 1rem;
    }

    .ah-testi__text {
        font-size: 0.9rem;
    }

    .ah-testimonials-section .ah-swiper-nav--bottom .btn {
        width: 40px;
        height: 40px;
    }

    .ah-testimonials-section .ah-swiper-nav--bottom .btn svg {
        width: 18px;
        height: 18px;
    }
}
