/* ===============================
   Reviews Slider Root
================================ */

.patche-reviews-slider {
    position: relative;
    width: 100%;
}


/* ===============================
   Embla Viewport
================================ */

.patche-reviews-viewport {
    overflow: hidden;
    width: 100%;
}


/* ===============================
   Embla Track (Required Setup)
================================ */

.patche-reviews-track {
    display: flex;
    align-items: stretch;
}


/* ===============================
   Embla Slide
   Desktop: 3 per view
   Gap via padding-right only
================================ */

.patche-review-slide {
    flex: 0 0 33.3333%;
    min-width: 0;
    padding-right: 28px;
    box-sizing: border-box;
    display: flex;
}

/* Remove trailing gap on last slide */
.patche-review-slide:last-child {
    padding-right: 0;
}


/* ===============================
   Review Item (Base)
================================ */

.patche-review {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    box-sizing: border-box;
}


/* ===============================
   Stars
================================ */

.patche-review-stars {
    color: #ffc107;
    font-size: 36px;
    letter-spacing: 3px;
    line-height: 1;
}


/* ===============================
   Review Text
================================ */

.patche-review-text {
    line-height: 1.65;
    font-size: 16px;
    max-width: 95%;
}


/* ===============================
   Author
================================ */

.patche-review-author {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
}


/* ===============================
   LIGHT SKIN
================================ */

.patche-skin-light {
    color: #333;
}

.patche-skin-light .patche-review-text {
    color: #333;
}

.patche-skin-light .patche-review-author {
    color: #666;
}


/* ===============================
   DARK SKIN
================================ */

.patche-skin-dark {
    color: #fff;
}

.patche-skin-dark .patche-review-text {
    color: #eee;
}

.patche-skin-dark .patche-review-author {
    color: #bbb;
}


/* ===============================
   BOXED LAYOUT
================================ */

.patche-skin-light-boxed .patche-review,
.patche-skin-dark-boxed .patche-review {
    padding: 24px;
    border-radius: 6px;
    transition: box-shadow 0.2s ease;
    height: 100%;
}

.patche-skin-light-boxed .patche-review {
    background: #ffffff;
    border: 1px solid #e6e6e6;
}

.patche-skin-light-boxed .patche-review:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.patche-skin-dark-boxed .patche-review {
    background: #1f1f1f;
    border: 1px solid #333;
}

.patche-skin-dark-boxed .patche-review:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.patche-skin-dark-boxed {
    color: #fff;
}

.patche-skin-dark-boxed .patche-review-text {
    color: #eee;
}

.patche-skin-dark-boxed .patche-review-author {
    color: #bbb;
}


/* ===============================
   Dots Pagination
================================ */

.patche-reviews-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.patche-reviews-dot {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 0 !important;
    margin: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
    opacity: 0.7;
}

.patche-reviews-dot:hover {
    transform: scale(1.08);
    opacity: 1;
}

.patche-reviews-dot.is-active {
    background: rgba(0, 0, 0, 0.65);
    opacity: 1;
}


/* ===============================
   Dots - Dark Themes
================================ */

.patche-skin-dark .patche-reviews-dot,
.patche-skin-dark-boxed .patche-reviews-dot {
    background: rgba(255, 255, 255, 0.28);
}

.patche-skin-dark .patche-reviews-dot.is-active,
.patche-skin-dark-boxed .patche-reviews-dot.is-active {
    background: rgba(255, 255, 255, 0.9);
}


/* ===============================
   Single Review Fallback
================================ */

.patche-reviews-slider.is-single-review .patche-review-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
}

.patche-reviews-slider.is-single-review .patche-reviews-dots {
    display: none;
}


/* ===============================
   Responsive
   Tablet: 2 per view
================================ */

@media (max-width: 1024px) {
    .patche-review-slide {
        flex: 0 0 50%;
    }
}


/* ===============================
   Responsive
   Mobile: 1 per view
================================ */

@media (max-width: 640px) {
    .patche-review-slide {
        flex: 0 0 100%;
        padding-right: 0;
    }

    .patche-review-stars {
        font-size: 30px;
    }

    .patche-review-text,
    .patche-review-author {
        font-size: 15px;
    }
}
