/* ── Testimonials (ShopWise-style) ──────────────────────────────────────── */

.nexab-testimonials__head { text-align: center; margin-bottom: 2.5rem; }
.nexab-testimonials__title {
    font-size: clamp(1.625rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--nx-heading, #10243d);
    margin: 0 0 .75rem;
}
.nexab-testimonials__sub {
    font-size: 1.0625rem;
    color: var(--nx-text, #5a6577);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Swiper wrapper ─────────────────────────────────────────────────────── */
.nexab-tsm-swiper { padding-bottom: 3rem !important; }
.nexab-tsm-swiper .swiper-pagination { bottom: 0; }
.nexab-tsm-swiper .swiper-pagination-bullet {
    background: var(--nx-border, #e5e7eb);
    opacity: 1;
    transition: all .2s;
}
.nexab-tsm-swiper .swiper-pagination-bullet-active {
    background: var(--nx-accent, #0d9488);
    width: 22px;
    border-radius: 4px;
}
.nexab-tsm-swiper .swiper-button-prev,
.nexab-tsm-swiper .swiper-button-next {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--nx-border, #e5e7eb);
    color: var(--nx-heading, #10243d);
    box-shadow: var(--nx-shadow-sm, 0 1px 3px rgba(0,0,0,.06));
    transition: all .2s ease;
}
.nexab-tsm-swiper .swiper-button-prev:hover,
.nexab-tsm-swiper .swiper-button-next:hover {
    background: var(--nx-accent, #0d9488);
    border-color: var(--nx-accent, #0d9488);
    color: #fff;
}
.nexab-tsm-swiper .swiper-button-prev::after,
.nexab-tsm-swiper .swiper-button-next::after { font-size: .8125rem; font-weight: 900; }

/* ── Card ───────────────────────────────────────────────────────────────── */
.nexab-tsm-card {
    background: #fff;
    border: 1px solid var(--nx-border, #e5e7eb);
    border-radius: var(--nx-radius, 10px);
    padding: 1.75rem;
    box-shadow: var(--nx-shadow-sm, 0 1px 3px rgba(0,0,0,.05));
    transition: box-shadow .2s ease, transform .2s ease;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.nexab-tsm-card:hover {
    box-shadow: var(--nx-shadow, 0 4px 16px rgba(0,0,0,.08));
    transform: translateY(-2px);
}

/* Stars */
.nexab-tsm-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
    color: #f59e0b;
    font-size: .875rem;
}

/* Quote */
.nexab-tsm-card__text {
    font-size: .9375rem;
    color: var(--nx-text, #5a6577);
    line-height: 1.75;
    font-style: italic;
    margin: 0 0 1.5rem;
    flex: 1;
    position: relative;
}
.nexab-tsm-card__text::before {
    content: '\201C';
    position: absolute;
    top: -1.5rem;
    left: -.25rem;
    font-size: 4rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--nx-accent, #0d9488);
    opacity: .12;
}

/* Author */
.nexab-tsm-card__author {
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-top: auto;
}
.nexab-tsm-card__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--nx-border, #e5e7eb);
    flex-shrink: 0;
}
.nexab-tsm-card__photo--placeholder {
    background: var(--nx-surface, #f4f7f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-muted, #6b7280);
    font-size: 1.25rem;
}
.nexab-tsm-card__name {
    display: block;
    font-size: .9375rem;
    font-weight: 700;
    color: var(--nx-heading, #10243d);
    line-height: 1.3;
}
.nexab-tsm-card__role {
    font-size: .8125rem;
    color: var(--nx-accent, #0d9488);
    font-weight: 500;
}
