/* ── Gap token — read by JS via getComputedStyle ── */
:root {
    --fdo-tc-gap: 40px;
}
@media (max-width: 991px) { :root { --fdo-tc-gap: 28px; } }
@media (max-width: 575px)  { :root { --fdo-tc-gap: 0px;  } }

/* ── What Our Customers Are Saying section ── */
.fdo-testimonials-section {
    background: #f5f5f5;
    padding: 40px 0 45px;
}

.fdo-testimonials-heading {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #ff3600;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.fdo-testimonials-divider {
    display: block;
    width: 110px;
    height: 3px;
    background: #222;
    margin: 0 auto 44px;
    border: none;
}

/* ── Carousel wrapper: [btn] [viewport] [btn] ── */
.fdo-testimonials-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.fdo-testimonials-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* ── Sliding track — flex, transform-driven ── */
.fdo-testimonials-track {
    display: flex;
    gap: var(--fdo-tc-gap);
    will-change: transform;
    /* transition applied by JS; none by default to allow instant resets */
    transition: none;
}

.fdo-testimonials-track.fdo-tc-sliding {
    transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fdo-testimonials-track.fdo-tc-centered {
    justify-content: center;
}

/* ── Card ── */
.fdo-tc-card {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    /* width set via --fdo-tc-card-width CSS custom property by JS */
    width: var(--fdo-tc-card-width, 0px);
}

.fdo-tc-stars {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 14px;
}

.fdo-tc-text {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.fdo-tc-name {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.fdo-tc-verified {
    display: inline-flex;
    align-items: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Always rendered — min-height keeps vertical alignment consistent
   whether or not a company name is present */
.fdo-tc-company {
    font-size: 14px;
    font-weight: 600;
    color: #ff3600;
    min-height: 1.5em;
}

/* ── Prev / Next buttons — rounded-rectangle, matches site style ── */
.fdo-tc-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    background: transparent;
    color: #ff3600;
    border: 2px solid #ff3600;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
    line-height: 1.4;
}

.fdo-tc-btn:hover {
    background: #ff3600;
    color: #fff;
}

.fdo-tc-btn:disabled,
.fdo-tc-btn:disabled:hover {
    opacity: 0.35;
    background: transparent;
    color: #ff3600;
    cursor: not-allowed;
}

/* ── Loading / empty states ── */
.fdo-tc-loader,
.fdo-tc-empty {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    padding: 20px 0;
}

/* ── Hidden utility ── */
.fdo-tc-hidden { display: none !important; }

/* ── Responsive ── */
@media (max-width: 575px) {
    .fdo-tc-btn              { display: none; }
    .fdo-testimonials-heading { font-size: 22px; }
}
