/* ── Shopper Customer Reviews Widget ──────────────────────────────────────── */

.scr-widget {
    font-family: inherit;
    color: #333;
    background: #fff;
    padding: 15px 15px;
    transition: opacity 0.2s ease;
}

/* ── Summary Bar ─────────────────────────────────────────────────────────── */

.scr-summary {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 15px 0 20px;
    flex-wrap: wrap;
}

.scr-summary-left {
    text-align: center;
    min-width: 90px;
}

.scr-big-score {
    background: #019f17;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    width: 100%;
    height: 72px;
    line-height: 72px;
}

.scr-out-of {
    font-size: 12px;
    color: #fff;
    background: #000;
    padding: 4px;
}

/* Star distribution bars */
.scr-summary-bars {
    flex: 1;
    min-width: 160px;
}

.scr-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 12px;
    color: #555;
}

.scr-bar-track {
    flex: 1;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.scr-bar-fill {
    height: 100%;
    background: #3d6cb9;
    border-radius: 5px;
    transition: width 0.4s ease;
    float: left;
}

.scr-bar-count {
    min-width: 36px;
    text-align: right;
    color: #777;
    font-size: 11px;
}

/* Overall rating */
.scr-summary-center {
    text-align: center;
    min-width: 120px;
}

.scr-summary-label {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #3b4044;
}
.scr-summary-stars {
    color: #f5a623;
    font-size: 22px;
}
/* Positive percentage */
.scr-summary-right {
    font-size: 14px;
    font-weight: 700;
    max-width: 180px;
    line-height: 1.5;
    text-align: center;
}

.scr-positive-pct {
    font-size: 30px;
}
.scr-summary-stars i {
    margin-right: 3px;
}
.scr-positive-text {
    font-size: 12px;
    font-weight: 400;
    color: #555;
}

.scr-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 0 15px;
}

/* ── Individual Review ────────────────────────────────────────────────────── */

.scr-review {
    padding: 18px 0;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.scr-review:last-child {
    border-bottom: none;
}

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

.scr-stars {
    display: inline-flex;
    gap: 2px;
    color: #f5a623;
    font-size: 18px;
    margin-left: 0px
}

.scr-stars .fa-star-o {
    color: #ccc;
}

.scr-verified {
    font-size: 12px;
    margin-right: 0px;
    color: #555;
}

.scr-verified .fa {
    margin-right: 3px;
    color: #3d6cb9;
}

.scr-review-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.scr-review-comment {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* ── Footer: Pagination + Sort ────────────────────────────────────────────── */

.scr-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 15px;
}

.scr-pagination {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

.scr-page-btn {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    color: #333;
    background: #fff;
    transition: background 0.15s;
    user-select: none;
}

.scr-page-btn:hover,
.scr-page-btn.scr-active {
    background: #3d6cb9;
    color: #fff;
    border-color: #3d6cb9;
}

.scr-page-btn.scr-prev-next {
    font-size: 16px;
    line-height: 1;
}

.scr-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.scr-sort-wrap .form-control {
    width: auto;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ── Loading State ───────────────────────────────────────────────────────── */

.scr-loading {
    padding: 30px;
    text-align: center;
    color: #888;
}

.scr-list {
    transition: opacity 0.2s ease;
}

.scr-row {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 15px 0 20px;
    flex-wrap: wrap;
    margin-left: 0;
}