/* =========================
   REVIEW FORM
========================= */

.brb-review-form {
    max-width: 720px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.brb-review-form h3 {
    margin-bottom: 15px;
}

.brb-review-form p {
    margin-bottom: 18px;
}

.brb-review-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.brb-review-form input[type="text"],
.brb-review-form select,
.brb-review-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
}

.brb-review-form textarea {
    min-height: 160px;
}

.brb-review-form small {
    color: #6b7280;
}

.brb-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
}

.brb-submit:hover {
    opacity: .9;
}

/* =========================
   RATING ROW
========================= */

.brb-rating-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.brb-rating-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    white-space: nowrap;
}

.brb-star-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brb-star-label {
    margin: 0;
    cursor: pointer;
}

.brb-star-label input[type="radio"] {
    display: none;
}

.brb-star-label span {
    font-size: 30px;
    color: #f59e0b;
    line-height: 1;
}

/* =========================
   ALERTS
========================= */

.brb-success {
    padding: 16px;
    border: 1px solid #16a34a;
    background: #f0fdf4;
    border-radius: 8px;
}

.brb-error {
    padding: 16px;
    border: 1px solid #dc2626;
    background: #fef2f2;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* =========================
   HEIGHTS STYLE LAYOUT
========================= */

.brb-reviews-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .brb-reviews-layout {
        grid-template-columns: 1fr;
    }
}

/* =========================
   SUMMARY COLUMN
========================= */

.brb-review-summary {
    position: sticky;
    top: 20px;
}

.brb-review-summary h3 {
    margin-bottom: 12px;
}

.brb-average-rating {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.brb-review-count {
    color: #6b7280;
    margin-bottom: 20px;
}

.brb-breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.brb-breakdown-bar {
    flex: 1;
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
}

.brb-breakdown-fill {
    height: 100%;
    background: #111827;
    border-radius: 999px;
}

/* =========================
   REVIEW GRID
========================= */

.brb-review-grid {
    column-count: 3;
    column-gap: 24px;
}

.brb-review-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
}


@media (max-width: 1200px) {
    .brb-review-grid {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .brb-review-grid {
        column-count: 1;
    }
}
.brb-load-more-wrap {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

/* =========================
   REVIEW CARD
========================= */

.brb-review-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
    transition: all .2s ease;
}

.brb-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.brb-review-stars {
    font-size: 20px;
    margin-bottom: 12px;
}

.brb-star-filled {
    color: #f59e0b;
}

.brb-star-empty {
    color: #d1d5db;
}

.brb-review-card h4 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.4;
}

.brb-review-text {
    line-height: 1.7;
    color: #374151;
}

.brb-read-more {
    background: none;
    border: 0;
    color: #111827;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    font-weight: 600;
}

.brb-read-more:hover {
    text-decoration: underline;
}

/* =========================
   REVIEW META
========================= */

.brb-review-meta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.brb-review-product {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.brb-verified {
    color: #059669;
    font-size: 14px;
    margin-top: 6px;
    font-weight: 600;
}

.brb-review-date {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}
.brb-rating-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brb-rating-label {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

.brb-star-label {
    margin: 0 !important;
}

.brb-star-label span {
    font-size: 30px;
    color: #f59e0b;
}

.brb-star-label input {
    display: none;
}

/* =========================
   HEIGHTS STYLE LAYOUT
========================= */

.brb-reviews-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.brb-review-summary {
    position: sticky;
    top: 20px;
}

@media (max-width: 1024px) {
    .brb-reviews-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brb-review-summary {
        position: static;
    }
}

/* =========================
   PREMIUM SUMMARY PANEL
========================= */

.brb-review-summary {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.brb-average-rating {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.brb-review-count {
    color: #6b7280;
    margin-bottom: 24px;
}

.brb-breakdown-row {
    margin-bottom: 12px;
}

