.wc-testimonials-section {
    background: #fff;
    padding-top: 56px;
    padding-bottom: 28px;
}

.wc-testimonials-section .section-header {
    margin-bottom: 28px;
}

.wc-testimonials-section .section-header h2 {
    margin-bottom: 8px;
    font-weight: 700;
    color: #111827;
    font-family: 'Playfair Display', Georgia, serif;
}

.wc-testimonials-kicker {
    margin: 0 0 8px;
    color: #b88a3b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wc-testimonials-section .section-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
}

.wc-testimonials {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-testimonials__viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.wc-testimonials__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wc-testimonials__track::-webkit-scrollbar {
    display: none;
}

.wc-testimonial-card {
    flex: 0 0 min(100%, 360px);
    scroll-snap-align: start;
    background: #fbf8f2;
    border: 1px solid #eee6d6;
    border-radius: 18px;
    padding: 22px 22px 20px;
    box-shadow: 0 10px 28px rgba(31, 27, 22, 0.06);
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

.wc-testimonial-card--image {
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-color: #e7e1d8;
}

.wc-testimonial-card__quote-mark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    line-height: 0.7;
    color: #b88a3b;
    margin-bottom: 8px;
}

.wc-testimonial-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
    color: #c9a227;
    font-size: 0.82rem;
}

.wc-testimonial-card__stars .is-off {
    color: #d6c9a8;
}

.wc-testimonial-card blockquote {
    margin: 0 0 auto;
    color: #1f1b16;
    font-size: 1.02rem;
    line-height: 1.65;
    font-weight: 500;
}

.wc-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eee6d6;
}

.wc-testimonial-card__author strong,
.wc-testimonial-card__meta strong {
    display: block;
    color: #111827;
    font-size: 0.95rem;
}

.wc-testimonial-card__author span,
.wc-testimonial-card__meta span {
    display: block;
    color: #6b7280;
    font-size: 0.82rem;
    margin-top: 2px;
}

.wc-testimonial-card__avatar,
.wc-testimonial-card__initial {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex: 0 0 44px;
}

.wc-testimonial-card__avatar {
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #eee6d6;
}

.wc-testimonial-card__initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #132f4c, #0b1f33);
    color: #e8c547;
    font-weight: 700;
}

.wc-testimonial-card__photo {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
}

.wc-testimonial-card--image .wc-testimonial-card__photo {
    flex: 1 1 auto;
    border-radius: 0;
}

.wc-testimonial-card__photo img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.wc-testimonial-card--image .wc-testimonial-card__photo img {
    width: 100%;
    height: auto;
    max-height: 341px;
    object-fit: contain;
    object-position: center;
}

.wc-testimonial-card__meta {
    padding: 12px 8px 6px;
    color: #1f1b16;
}

.wc-testimonial-card--image .wc-testimonial-card__meta strong {
    color: #111827;
}

.wc-testimonial-card--image .wc-testimonial-card__meta span {
    color: #6b7280;
}

.wc-testimonial-card--image .wc-testimonial-card__stars {
    margin-bottom: 8px;
}

.wc-testimonials__nav {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.wc-testimonials__nav:hover,
.wc-testimonials__nav:focus {
    border-color: #b88a3b;
    color: #b88a3b;
}

.wc-testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 2px;
}

.wc-testimonials__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
}

.wc-testimonials__dot.is-active {
    background: #b88a3b;
    width: 20px;
    border-radius: 999px;
}

.wc-testimonial-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.wc-testimonial-modal[hidden] {
    display: none !important;
}

.wc-testimonial-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
}

.wc-testimonial-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: min(900px, 100%);
}

.wc-testimonial-modal__dialog img {
    max-width: min(92vw, 860px);
    max-height: 82vh;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: #111;
}

.wc-testimonial-modal__close {
    position: absolute;
    top: -12px;
    right: -12px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
}

.wc-testimonial-modal__caption {
    margin: 10px 0 0;
    color: #fff;
    text-align: center;
}

@media (max-width: 767px) {
    .wc-testimonials-section {
        padding-top: 36px;
        padding-bottom: 12px;
    }

    .wc-testimonials__nav {
        display: none;
    }

    .wc-testimonial-card {
        flex-basis: 88%;
        min-height: 0;
    }

    .wc-testimonial-card__photo img {
        height: 220px;
    }

    .wc-testimonial-card--image .wc-testimonial-card__photo img {
        height: auto;
        max-height: 341px;
    }

    .wc-testimonial-modal__close {
        top: -8px;
        right: 0;
    }
}
