.sw-reviews-wrapper {
    display: flex !important;
    flex-direction: column !important;
    direction: rtl !important;
    font-family: inherit !important;
    width: 100% !important;
    margin-top: 40px !important;
}
.sw-reviews-header::after {
	content: "";
	width: 76px;
	height: 3px;
	background: #9B836D;
	position: absolute;
	bottom: -1px;
}
.sw-reviews-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #eaeaec !important;
    padding-bottom: 8px !important;
    margin-bottom: 30px !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    position: relative;
}
.sw-reviews-main-title {
    margin: 0 !important;
    color: #282828 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}
.sw-reviews-filters {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
}
.sw-filter-btn {
    background: transparent !important;
    border: none !important;
    color: #888888 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color 0.3s ease !important;
}
.sw-filter-btn:hover {
    color: #333333 !important;
}
.sw-filter-btn.active {
    color: #333333 !important;
}
.sw-reviews-layout {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: 30px !important;
    align-items: flex-start !important;
}
.sw-reviews-sidebar {
    flex: 0 0 320px !important;
    position: sticky !important;
    top: 20px !important;
}
.sw-reviews-main {
    flex: 1 !important;
    min-width: 0 !important;
}
.sw-rev-summary-box {
    background: #ffffff !important;
    border: 1px solid #eaeaec !important;
    border-radius: 16px !important;
    padding: 24px !important;
}
.sw-rev-top-stats {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    border-bottom: 1px solid #eaeaec !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}
.sw-rev-score-info {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 4px !important;
}
.sw-rev-score-info .score {
    font-size: 38px !important;
    font-weight: 900 !important;
    color: #333333 !important;
    line-height: 1 !important;
}
.sw-rev-score-info .text {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #666666 !important;
}
.sw-rev-stars-overall {
    display: flex !important;
    gap: 4px !important;
}
.sw-rev-count {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #888888 !important;
    margin-top: 4px !important;
}
.sw-rev-progress-bars {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}
.sw-prog-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    justify-content: space-between !important;
}
.sw-prog-item .label {
    flex: 0 0 40px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #666666 !important;
    text-align: right !important;
}
.sw-prog-item .bar-wrap {
    flex: 1 !important;
    height: 4px !important;
    background: #f0f0f0 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}
.sw-prog-item .bar-fill {
    height: 100% !important;
    border-radius: 4px !important;
}
.sw-prog-item .pct {
    flex: 0 0 35px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-align: left !important;
}
.sw-rev-open-modal-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    background: #2aa37e !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
.sw-rev-open-modal-btn:hover {
    background: #238b6b !important;
}
.sw-reviews-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}
.sw-rev-item {
    background: #ffffff !important;
    border: 1px solid #eaeaec !important;
    border-radius: 16px !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.sw-rev-item-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    flex-direction: row-reverse;
}
.sw-rev-item-date {
    font-size: 13px !important;
    color: #a0a0a0 !important;
    font-weight: 500 !important;
}
.sw-rev-user-area {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    flex-direction: row;
}
.sw-rev-user-meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 6px !important;
}
.sw-rev-name {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #333333 !important;
    margin: 0 !important;
}
.sw-rev-stars {
    display: flex !important;
    gap: 2px !important;
}
.sw-rev-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
.sw-rev-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.sw-rev-content {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    line-height: 1.8 !important;
    margin: 0 0 16px 0 !important;
    text-align: right !important;
}
.sw-rev-footer-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    width: 100% !important;
    border-bottom: 1px solid #f2f2f2 !important;
    padding-bottom: 20px !important;
}
.sw-rev-badge {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #eaf6f2 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
}
.sw-rev-badge span {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1ba582 !important;
}
.sw-rev-reply-box {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 16px !important;
    flex-direction: row-reverse;
}
.sw-rev-reply-date {
    font-size: 13px !important;
    color: #a0a0a0 !important;
    font-weight: 500 !important;
}
.sw-rev-reply-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-direction: row-reverse;
}
.sw-rev-reply-bubble {
    background: #f1ebd8 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333333 !important;
}
.sw-rev-reply-bubble .admin-tag {
    color: #927a65 !important;
}
.sw-rev-reply-arrow {
    flex-shrink: 0 !important;
}
.sw-rev-empty-state {
    background: #ffffff !important;
    border: 1px dashed #eaeaec !important;
    border-radius: 16px !important;
    padding: 40px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #666666 !important;
}
.sw-rev-load-more-wrap {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 24px !important;
}
.sw-rev-load-more-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: transparent !important;
    border: 1px solid #927a65 !important;
    color: #927a65 !important;
    border-radius: 8px !important;
    height: 52px !important;
    padding: 0 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
.sw-rev-load-more-btn:hover {
    background: #927a65 !important;
    color: #ffffff !important;
}
.sw-rev-load-more-btn:hover svg path {
    stroke: #ffffff !important;
}
.sw-rev-load-more-btn.is-loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

/* Modal Corrected Styles */
.sw-rev-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.6) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    direction: rtl !important;
    font-family: inherit !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}
.sw-rev-modal-overlay.is-active {
    opacity: 1 !important;
    visibility: visible !important;
}
.sw-rev-modal-box {
    background: #ffffff !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 500px !important;
    padding: 30px !important;
    position: relative !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
    transform: translateY(20px) !important;
    transition: transform 0.3s ease !important;
}
.sw-rev-modal-overlay.is-active .sw-rev-modal-box {
    transform: translateY(0) !important;
}
.sw-rev-modal-close {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    background: transparent !important;
    border: none !important;
    font-size: 28px !important;
    line-height: 1 !important;
    color: #999999 !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
}
.sw-rev-modal-close:hover {
    color: #ff5252 !important;
}
.sw-rev-modal-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #333333 !important;
    margin: 0 0 24px 0 !important;
    text-align: center !important;
}
.sw-rev-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.sw-rev-rating-select {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}
.sw-rev-rating-select span {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #555555 !important;
}
.sw-rev-modal-stars {
    display: flex !important;
    gap: 4px !important;
    flex-direction: row-reverse !important;
}
.sw-star-selector {
    cursor: pointer !important;
}
.sw-star-selector svg {
    width: 24px !important;
    height: 24px !important;
    transition: transform 0.2s ease !important;
}
.sw-star-selector:hover svg {
    transform: scale(1.2) !important;
}
.sw-star-selector.active svg path,
.sw-star-selector:hover ~ .sw-star-selector svg path,
.sw-star-selector:hover svg path {
    fill: #FED801 !important;
    stroke: #FED801 !important;
}
.sw-rev-textarea,
.sw-rev-input {
    width: 100% !important;
    background: #f9f9f9 !important;
    border: 1px solid #eaeaec !important;
    border-radius: 12px !important;
    padding: 16px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    color: #333333 !important;
    outline: none !important;
    transition: border-color 0.3s ease !important;
}
.sw-rev-textarea:focus,
.sw-rev-input:focus {
    border-color: #2aa37e !important;
}
.sw-rev-submit-btn {
    width: 100% !important;
    height: 52px !important;
    background: #2aa37e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    margin-top: 8px !important;
}
.sw-rev-submit-btn:hover {
    background: #238b6b !important;
}
.sw-rev-submit-btn.is-loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}
@media (max-width: 991px) {
    .sw-reviews-layout {
        flex-direction: column-reverse !important;
    }
    .sw-reviews-sidebar {
        flex: 1 !important;
        width: 100% !important;
        position: static !important;
    }
    .sw-rev-item-header {
        flex-direction: column-reverse !important;
        align-items: flex-end !important;
        gap: 12px !important;
    }
    .sw-rev-reply-box {
        flex-direction: column-reverse !important;
        align-items: flex-end !important;
        gap: 12px !important;
    }
}