﻿.fx-product-strip {
    background-color:#fff;
}

.fx-product-strip .container-xl {
    position: relative;
    overflow: visible;
}

.fx-strip-viewport {
    overflow: hidden;
    padding: 0px 50px 50px 50px !important;
}

.fx-strip-track {
    display: flex;
    gap: 22px;
}

/* exactly 4 visible */
.fx-product-card {
    flex: 0 0 calc((100% - (22px * 3)) / 4);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

/* image area */
.fx-card-img {
    position: relative;
    height: 170px;
    background: #eee;
}

/* placeholder block (remove when using <img>) */
.fx-img-placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
}

/* when you use an <img>, this will fit it nicely */
.fx-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* POPULAR pill */
.fx-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #00b3a6;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
}

.fx-card-body {
    padding: 16px;
}

.fx-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.fx-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #00b3a6;
}

/* arrow — purely visual */
.fx-strip-next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    z-index: 50;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 10px 18px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
}

/***/
.fx-testimonials {
    background: #fff;
    padding: 66px 0 0;
}

.fx-section-title {
    text-align: center;
    font-weight: 800;
    font-size: 2.1rem;
    margin: 0 0 34px;
    color: #111;
}

.fx-testimonials-wrap {
    position: relative;
    margin-bottom: 46px;
}

.fx-testimonials-viewport {
    overflow: hidden;
    padding: 0px 50px 50px 50px !important;
}

.fx-testimonials-track {
    display: flex;
    gap: 26px;
}

/* 5 cards visible */
.fx-t-card {
    flex: 0 0 calc((100% - (26px * 4)) / 5);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    padding: 22px 18px 18px;
    border: 1px solid rgba(0,0,0,0.05);
    min-height: 260px;
}

.fx-quote {
    color: rgba(0,179,166,0.35);
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 8px;
}

.fx-t-text {
    color: rgba(17,24,39,0.70);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fx-stars {
    color: #00b3a6;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.fx-t-name {
    font-weight: 800;
    font-size: 0.85rem;
    color: #111;
    margin-bottom: 6px;
}

.fx-t-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: #00b3a6;
    text-decoration: none;
}

    .fx-t-more:hover {
        color: #009b90;
    }

/* Right arrow */
.fx-testimonials-next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    z-index: 50;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 10px 18px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
}

/* Stats strip */
.fx-stats {
    background: #f6f7f9;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 26px 0;
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    margin-top: -80px;
}

.fx-stat-value {
    font-weight: 900;
    font-size: 1.75rem;
    color: #111;
    line-height: 1.1;
}

.fx-teal {
    color: #00b3a6;
}

.fx-stat-label {
    margin-top: 6px;
    font-size: 0.85rem;
    color: rgba(17,24,39,0.60);
}

.fx-product-strip .container-xl {
    position: relative;
}

.fx-strip-prev,
.fx-strip-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.95);
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fx-strip-prev {
    left: 8px;
}

.fx-strip-next {
    right: 8px;
}

/* responsive */
@media (max-width: 991.98px) {
    .fx-t-card {
        flex: 0 0 calc((100% - 26px) / 2);
    }

    .fx-testimonials-next {
        right: 8px;
        transform: translate(0, -50%);
    }

    .fx-stats {
        flex-wrap: wrap;
        gap: 18px;
        padding: 22px 12px;
    }
}
