/* Review Slider - Trustpilot-style Design */
.woodmart-review-slider {
    --rs-slides-desktop: 4;
    --rs-slides-tablet: 2;
    --rs-slides-mobile: 1;
    --rs-space: 24px;
    --rs-star-filled: #00B67A;
    --rs-star-empty: #DCDCE6;
    position: relative;
    overflow: hidden;
    width: 100% !important;
}

.woodmart-review-slider-track {
    display: flex;
    gap: var(--rs-space);
    align-items: stretch;
    will-change: transform;
}

.woodmart-review-slide {
    flex: 0 0 auto;
    display: flex;
}



/* Card Styling */
.woodmart-review-card {
    background: var(--rs-card-bg, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--rs-card-border, rgba(0, 0, 0, 0.06));
    padding: 24px;
    display: flex;
    flex-direction: column;
    width: 385px;
    height: 290px;
    flex-shrink: 0;
}

/* Shadow Presets */
.woodmart-review-slider.is-shadow-soft .woodmart-review-card {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.woodmart-review-slider.is-shadow-medium .woodmart-review-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.woodmart-review-slider.is-shadow-strong .woodmart-review-card {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

/* Header - Stars and Decor */
.woodmart-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

/* Trustpilot-style Star Rating */
.woodmart-review-stars {
    display: flex;
    gap: 3px;
    align-items: center;
}

.rs-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    background: var(--rs-star-empty, #DCDCE6);
    position: relative;
    overflow: hidden;
}

.rs-star svg {
    display: block;
    width: 18px;
    height: 18px;
}

.rs-star svg path {
    fill: #FFFFFF;
}

.rs-star.filled {
    background: var(--rs-star-filled, #00B67A);
}

.rs-star.half {
    background: var(--rs-star-empty, #DCDCE6);
}

.rs-star.half::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--rs-star-filled, #00B67A);
}

.rs-star.half svg {
    position: relative;
    z-index: 1;
}

/* Decorative Star Icon (top right) */
.woodmart-review-decor {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
}

.rs-decor-star {
    display: block;
    width: 24px;
    height: 24px;
}

.rs-decor-star path {
    fill: var(--rs-star-filled, #00B67A);
}

/* Review Text Content */
.woodmart-review-text {
    color: #666;
    margin-bottom: 16px;
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.7;
}

.woodmart-review-text .read-more-toggle {
    font-weight: 700;
    text-decoration: none;
    color: var(--rs-name-color, #1F2937);
    text-transform: uppercase;
    cursor: pointer;
    font-size: 13px;
}

.woodmart-review-text .read-more-toggle:hover {
    text-decoration: underline;
}

/* Footer with Avatar and Author Name */
.woodmart-review-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid #F3F4F6;
    padding-top: 16px;
    margin-top: auto;
}

.woodmart-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Default Avatar Circle - For users without images */
.woodmart-review-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    background: #F97316;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.woodmart-review-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--rs-name-color, #1F2937);
}