.variant-btn {
    color: #000;
}

.variant-btn.active {
    border-color: #2C3B28 !important;
    border-width: 2px !important;
    background-color: #f4f7f4 !important;
    color: #2C3B28 !important;
}

.variant-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hide {
    display: none !important;
}

.product-uniques {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f1f1f1;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.product-unipue {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #444;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.product-unipue:last-child {
    border-bottom: none;
}

.product-unipue strong {
    width: 140px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.product-unipue span.value {
    font-weight: 500;
    color: #222;
}

#product-thumb-filter-group {
    justify-content: flex-start !important;
    gap: 12px;
    padding: 10px 0;
}

.thumb-filter {
    margin: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumb-filter.active {
    border-color: #dc2626;
}

/* --- Modern Review System Styles --- */
.rts-customer-reviews-area {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #fcfcfc;
}

.review-system-wrapper {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.review-summary-sidebar {
    background: #fff;
    padding: 50px;
    border-right: 1px solid #f0f0f0;
    height: 100%;
    position: sticky;
    top: 100px;
}

.review-list-main {
    padding: 0 50px 50px 50px;
    max-height: 800px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dc2626 #f5f5f5;
    scroll-behavior: smooth;
}

.review-list-main::-webkit-scrollbar {
    width: 6px;
}

.review-list-main::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.review-list-main::-webkit-scrollbar-thumb {
    background-color: #dc2626;
    border-radius: 10px;
}

.review-list-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    padding: 30px 0;
    margin-bottom: 30px !important;
    border-bottom: 1px solid #f8f8f8;
}

.avg-rating-value {
    font-size: 72px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 5px;
}

.rating-stars-primary {
    color: #ffb400;
    font-size: 20px;
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
}

.total-review-count {
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

.rating-distribution-list {
    margin: 40px 0;
}

.dist-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.dist-label {
    min-width: 45px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dist-bar-container {
    flex-grow: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.dist-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.dist-count {
    min-width: 30px;
    text-align: right;
    font-size: 13px;
    font-weight: 500;
    color: #888;
}

.write-review-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.btn-write-review {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Review Cards */
.review-item-card {
    background: #fcfcfc;
    border: 1px solid #f5f5f5;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.review-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
    border-color: #ebebeb;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.user-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #a91d1d 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-info-text .user-name {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.3;
}

.empty-reviews-state {
    text-align: center;
    padding: 60px 30px;
    background: #fdfdfd;
    border: 2px dashed #f0f0f0;
    border-radius: 20px;
    margin: 20px 0;
}

.empty-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    font-size: 32px;
    color: #ddd;
}

.empty-reviews-state h4 {
    color: #333;
    font-weight: 700;
}

.empty-reviews-state p {
    color: #777;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.empty-reviews-state .rts-btn {
    display: inline-flex;
    margin: 0 auto;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 50px;
}

.review-date {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.review-card-stars {
    color: #ffb400;
    font-size: 13px;
    margin-bottom: 12px;
}

.review-comment-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

/* Modal Styling */
#reviewModal .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

#reviewModal .modal-header {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

#reviewModal .modal-body {
    padding: 30px;
}

#reviewModal .modal-title {
    font-weight: 800;
    color: #1a1a1a;
}

.star-rating-interactive {
    display: flex;
    gap: 8px;
    font-size: 32px;
    color: #ddd;
    margin-bottom: 25px;
}

.star-rating-interactive i {
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.star-rating-interactive i:hover {
    transform: scale(1.2);
}

.review-textarea {
    border: 2px solid #f0f0f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    font-size: 15px !important;
    transition: border-color 0.3s ease;
    background: #fbfbfb !important;
}

.review-textarea:focus {
    border-color: #dc2626 !important;
    background: #fff !important;
    box-shadow: none !important;
}

#sortReviews:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.1) !important;
}

.review-filter-area select {
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    transition: all 0.3s ease;
}

.review-filter-area select:hover {
    border-color: #dc2626;
}

/* Responsive Queries */
@media (max-width: 991px) {
    .review-summary-sidebar {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 40px 30px;
    }

    .review-list-main {
        padding: 0 30px 30px 30px;
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .avg-rating-value {
        font-size: 56px;
    }

    .review-item-card {
        padding: 20px;
    }

    .user-avatar-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.discount-badge {
    background-color: #dc2626;
    color: #fff;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 15px;
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(220, 38, 38, 0.2);
}

.product-details-review-product-style {
    display: block;
    align-items: flex-start;
    gap: 60px;
}

/* css by team v  */
@media (min-width: 768px) {
    .product-details-popup-wrapper.in-shopdetails {
        display: block;
    }

    .product-thumb-area {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .contents {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-uniques {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .product-uniques {
        width: 100%;
    }
}

/* css by team v  */
