.woolements-reviews-wrapper {
    font-family: inherit;
    width: 100%;
    margin-bottom: 30px;
    direction: rtl;
}

/* --- Empty State --- */
.woolements-reviews-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fdfdfd;
    border: 1px dashed #e0e0e0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.woolements-reviews-empty .empty-stars {
    font-size: 48px;
    color: #e0e0e0;
    margin: 20px 0;
    line-height: 1;
}

.woolements-reviews-empty .empty-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.woolements-reviews-empty .empty-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.woolements-reviews-empty .empty-encouragement {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
}

.woolements-empty-decor-icon {
    position: absolute;
    opacity: 0.1;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* --- Summary / Populated State --- */
.woolements-reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.woolements-reviews-summary {
    flex: 1;
    min-width: 300px;
}

.woolements-summary-header {
    margin-bottom: 20px;
    text-align: center;
}

.woolements-summary-start-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.woolements-big-stars {
    font-size: 36px;
    color: #FFD700;
    letter-spacing: -2px;
}

.woolements-average-score {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    color: #333;
}

.woolements-rating-count-label {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Progress Bars */
.woolements-rating-bars {
    max-width: 100%;
}

.woolements-rating-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #444;
}

.woolements-bar-star-label {
    width: 60px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.woolements-bar-container {
    flex: 1;
    height: 12px;
    background-color: #f1f1f1;
    border-radius: 10px;
    margin: 0 15px;
    overflow: hidden;
    position: relative;
}

.woolements-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-out;
    background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
}

.woolements-bar-stats {
    width: 90px;
    text-align: left;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    font-size: 13px;
    color: #777;
}

.woolements-cta-button {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    text-align: center;
    margin-top: 20px;
}

.woolements-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: #fff;
}

.woolements-cta-container {
    text-align: center;
    margin-top: 30px;
    width: 100%;
}

/* --- Review List --- */
.woolements-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.woolements-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s;
}

.woolements-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.woolements-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.woolements-reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.woolements-reviewer-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.woolements-reviewer-meta {
    display: flex;
    flex-direction: column;
}

.woolements-reviewer-name {
    font-weight: 700;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.woolements-verified-badge {
    color: #27ae60;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
}

.woolements-review-date {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.woolements-review-stars {
    color: #FFD700;
    font-size: 14px;
}

.woolements-review-body {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.woolements-review-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.woolements-review-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #eee;
}

.woolements-review-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    border-top: 1px solid #f9f9f9;
    padding-top: 15px;
}

.woolements-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.woolements-action-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.woolements-action-btn.dislike {
    color: #aaa;
}

/* Form hidden by default */
#review_form_wrapper {
    display: none;
    margin-top: 30px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 16px;
}

#review_form_wrapper.active {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Customize generic Woo form styles if inside widget */
.woolements-reviews-wrapper #respond {
    background: transparent !important;
    padding: 0 !important;
}

.woolements-reviews-wrapper .comment-reply-title {
    font-size: 18px;
    margin-bottom: 20px;
    display: block;
}
