.mlm-reviews-section {
    padding: 40px 15px;
}

.mlm-reviews-header {
    text-align: center;
    margin-bottom: 35px;
}

.mlm-reviews-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.mlm-reviews-title {
    margin: 0 0 10px;
    color: #333;
    font-family: "Archivo Narrow", sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.5em;
    letter-spacing: 3px;
}

.mlm-reviews-subtitle {
    max-width: 640px;
    margin: 0 auto;
}

/* Slider — equal height slides */
.mlm-reviews-section .slick-initialized .slick-track {
    display: flex !important;
    align-items: stretch;
}

.mlm-reviews-section .slick-initialized .slick-slide {
    float: none;
    height: auto !important;
    display: flex !important;
}

.mlm-reviews-section .slick-initialized .slick-slide > div {
    display: flex;
    width: 100%;
    height: 100%;
}

.mlm-reviews-slider .mlm-review-item {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0 10px;
}

/* Card */
.mlm-review-card {
    display: flex;
    align-items: stretch;
    flex: 1;
    width: 100%;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    overflow: hidden;
    min-height: 220px;
    height: 100%;
}

.mlm-review-content {
    flex: 1 1 58%;
    display: flex;
    flex-direction: column;
    padding: 16px;
    min-width: 0;
}

.mlm-review-media {
    display: flex;
    align-items: center;
    flex: 0 0 42%;
    max-width: 42%;
    padding: 16px 16px 16px 0;
}

.mlm-review-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.mlm-review-stars {
    margin-bottom: 8px;
    line-height: 1;
}

.mlm-cr-rating {
    --mlm-cr-stars: 5;
    --mlm-cr-star-size: 14px;
    --mlm-cr-star-gap: 0px;
    --mlm-cr-rating: 0;
    --mlm-cr-percent: calc(var(--mlm-cr-rating) / var(--mlm-cr-stars) * 100%);

    position: relative;
    display: block;
    width: calc(var(--mlm-cr-stars) * var(--mlm-cr-star-size));
    height: var(--mlm-cr-star-size);
}

.mlm-cr-rating::before,
.mlm-cr-rating::after {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: repeat-x;
    background-size: var(--mlm-cr-star-size) var(--mlm-cr-star-size);
}

.mlm-cr-rating::before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73' viewBox='0 0 140 126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.mlm-cr-rating::after {
    width: var(--mlm-cr-percent);
    overflow: hidden;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73' viewBox='0 0 140 126.73'%3e%3cpath fill='%23f5c400' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.mlm-review-quote {
    --mlm-cr-quote-size: 24px;

    display: inline-block;
    width: var(--mlm-cr-quote-size);
    height: calc(var(--mlm-cr-quote-size) * 0.8);
    margin-bottom: 4px;
    color: transparent;
    opacity: 0.25;
}

.mlm-review-quote::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='none' d='M0 0h24v24H0z'/%3e%3cpath fill='%23111' d='M4.583 17.321C3.553 16.227 3 15 3 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179zm10 0C13.553 16.227 13 15 13 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179z'/%3e%3c/svg%3e");
}

.mlm-review-comment {
    flex: 1;
    margin: 0 0 16px;
    border: none;
    padding: 0;
    quotes: none;
    color: #555;
    font-size: 12px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
}

.mlm-review-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.mlm-review-author {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: #111;
    font-size: 14px;
}

.mlm-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

.mlm-review-verified::before {
    content: '✓';
    color: #313537;
    font-size: 12px;
    line-height: 1;
}

/* Nav */
.mlm-reviews-nav:empty {
    display: none;
}

.mlm-reviews-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
    width: 100%;
}

.mlm-reviews-nav .slick-prev {
    order: 1;
}

.mlm-reviews-nav .slick-dots {
    order: 2;
}

.mlm-reviews-nav .slick-next {
    order: 3;
}

.mlm-reviews-nav .slick-prev,
.mlm-reviews-nav .slick-next {
    position: static;
    transform: none;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mlm-reviews-nav .slick-prev:hover,
.mlm-reviews-nav .slick-next:hover {
    /* background: rgba(0, 0, 0, 0.04); */
    outline: none;
}

.mlm-reviews-nav .slick-prev:focus,
.mlm-reviews-nav .slick-next:focus {
    outline: none;
}

.mlm-reviews-nav .slick-prev:before,
.mlm-reviews-nav .slick-next:before {
    font-size: 18px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.6);
    opacity: 1;
    transition: color 0.2s ease;
}

.mlm-reviews-nav .slick-prev:hover::before,
.mlm-reviews-nav .slick-next:hover::before {
    color: rgba(0, 0, 0, 1);
}

.mlm-reviews-nav .slick-prev:before {
    content: '‹';
}

.mlm-reviews-nav .slick-next:before {
    content: '›';
}

.mlm-reviews-nav .slick-dots {
    position: static;
    flex: 0 1 auto;
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mlm-reviews-nav .slick-dots li {
    margin: 0 4px;
    line-height: 0;
}

.mlm-reviews-nav .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ccc;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.mlm-reviews-nav .slick-dots li button:before {
    display: none;
}

.mlm-reviews-nav .slick-dots li.slick-active button {
    background: rgba(0, 0, 0, 0.6);
    outline: none;
}

/* Fallback without Slick */
.mlm-reviews-fallback {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
}

.mlm-reviews-fallback .mlm-review-item {
    display: flex;
    flex: 0 0 calc(25% - 15px);
    padding: 0;
}

@media (max-width: 1199px) {
    .mlm-reviews-fallback .mlm-review-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 991px) {
    .mlm-reviews-fallback .mlm-review-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 575px) {
    .mlm-review-card {
        flex-direction: column;
    }

    .mlm-review-media {
        flex: 0 0 auto;
        max-width: 100%;
        min-height: 180px;
        padding: 0;
    }

    .mlm-reviews-fallback .mlm-review-item {
        flex: 0 0 100%;
    }
}
