/* BWS CusRev single product reviews v1.3.0 */

section.reviews .bws-cr-v130 {
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
}

section.reviews .bws-cr-heading {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 32px;
    color: #333;
}

section.reviews .bws-cr-summary {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 35px;
    padding: 15px 0 35px;
    border-bottom: 1px solid #e9e9e9;
}

section.reviews .bws-cr-overall {
    text-align: center;
    border-right: 1px solid #e5e5e5;
    padding: 12px 20px;
    font-size: 15px;
}

section.reviews .bws-cr-stars {
    color: #ed1717;
    font-size: 25px;
    letter-spacing: 1px;
    line-height: 1.2;
}

section.reviews .bws-cr-total {
    font-size: 14px;
    margin-top: 6px;
    color: #666;
}

section.reviews .bws-cr-hist-row {
    display: grid;
    grid-template-columns: 38px 1fr 25px;
    gap: 12px;
    align-items: center;
    margin: 6px 0;
    font-size: 13px;
    color: #ed1717;
}

section.reviews .bws-cr-bar {
    height: 10px;
    background: #eeeeee;
}

section.reviews .bws-cr-bar > div {
    height: 100%;
    background: #ed1717;
}

section.reviews .bws-cr-action {
    text-align: center;
}

section.reviews .bws-cr-write {
    border: 0;
    background: #ed1717;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 35px;
    cursor: pointer;
}

section.reviews .bws-cr-write:hover {
    background: #c81010;
    color: #fff;
}

/* Remove the boxed, numbered WooCommerce appearance. */

section.reviews .bws-cr-native #comments > h2,
section.reviews .bws-cr-native .woocommerce-Reviews-title {
    display: none;
}

section.reviews .bws-cr-native .commentlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

section.reviews .bws-cr-native .commentlist > li {
    list-style: none !important;
    padding: 25px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #e9e9e9;
    background: transparent !important;
}

section.reviews .bws-cr-native .commentlist > li[hidden] {
    display: none !important;
}

section.reviews .bws-cr-native .comment_container {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: block;
}

section.reviews .bws-cr-native .comment-text {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

section.reviews .bws-cr-native .star-rating,
section.reviews .bws-cr-native .star-rating::before,
section.reviews .bws-cr-native .star-rating span::before {
    color: #ed1717 !important;
}

section.reviews .bws-cr-native .star-rating {
    float: none !important;
    margin: 0 0 12px !important;
}

section.reviews .bws-cr-native .meta {
    font-size: 14px;
    color: #777;
    margin: 8px 0 12px;
}

section.reviews .bws-cr-native .description,
section.reviews .bws-cr-native .description p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

section.reviews .bws-cr-native img.avatar {
    display: none !important;
}

section.reviews .bws-cr-native .cr-comment-image,
section.reviews .bws-cr-native .cr-comment-image img {
    max-width: 100%;
}

section.reviews .bws-cr-native #review_form_wrapper.bws-cr-collapsed {
    display: none !important;
}

section.reviews .bws-cr-native #review_form_wrapper.bws-cr-expanded {
    display: block !important;
    max-width: 800px;
    margin: 30px auto;
}

section.reviews .bws-cr-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 0;
}

section.reviews .bws-cr-pagination button {
    border: none;
    background: transparent;
    color: #ed1717;
    cursor: pointer;
    padding: 8px;
    font-size: 15px;
}

section.reviews .bws-cr-pagination button.current {
    color: #333;
    font-weight: 700;
}

@media (max-width: 767px) {
    section.reviews .bws-cr-heading {
        font-size: 25px;
    }

    section.reviews .bws-cr-summary {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    section.reviews .bws-cr-overall {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    section.reviews .bws-cr-histogram {
        max-width: 420px;
        width: 100%;
        margin: auto;
    }
}


/* BWS product title rating color v1.3.1 */

.single-product .summary .star-rating,
.single-product .summary .star-rating::before,
.single-product .summary .star-rating span::before,
.single-product .preview-badge .star-rating,
.single-product .preview-badge .star-rating::before,
.single-product .preview-badge .star-rating span::before {
    color: #ed1717 !important;
}

.single-product .bws-review-rating .star-rating,
.single-product .bws-review-rating .star-rating::before,
.single-product .bws-review-rating .star-rating span::before {
    color: #ed1717 !important;
}


/* BWS review login prompt v1.3.4 */

section.reviews .bws-cr-login-prompt {
    text-align: center;
    padding: 10px 0;
}

section.reviews .bws-cr-login-prompt p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 14px;
    color: #444;
}

section.reviews .bws-cr-login-button {
    display: inline-block;
    padding: 12px 20px;
    background: #ed1717;
    border: 0;
    border-radius: 0;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

section.reviews .bws-cr-login-button:hover,
section.reviews .bws-cr-login-button:focus {
    background: #c81010;
    color: #fff !important;
}

section.reviews .bws-cr-verified-message {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* WooCommerce already displays a duplicate verification
   notice below the list. The summary above replaces it. */

section.reviews .bws-cr-v130
.woocommerce-verification-required {
    display: none !important;
}

@media (max-width: 767px) {
    section.reviews .bws-cr-login-button {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
    }
}

/* ==================================================
   BWS Review Form Fields - v1.3.5
   Consistent Name, Email, Title, and Review inputs
   ================================================== */

section.reviews .bws-cr-native #review_form_wrapper
.comment-form-author,

section.reviews .bws-cr-native #review_form_wrapper
.comment-form-email {
    margin: 15px 0;
    width: 100%;
    float: none;
    clear: both;
}

section.reviews .bws-cr-native #review_form_wrapper
.comment-form-author label,

section.reviews .bws-cr-native #review_form_wrapper
.comment-form-email label {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

section.reviews .bws-cr-native #review_form_wrapper
.comment-form-author input,

section.reviews .bws-cr-native #review_form_wrapper
.comment-form-email input {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px;
    padding: 10px 12px !important;
    margin: 0;
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #333 !important;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    box-sizing: border-box;
    box-shadow: none !important;
}

section.reviews .bws-cr-native #review_form_wrapper
.comment-form-author input:focus,

section.reviews .bws-cr-native #review_form_wrapper
.comment-form-email input:focus {
    outline: 2px solid #208ebf;
    outline-offset: 1px;
}

/* Keep the form at a comfortable reading width */

section.reviews .bws-cr-native #review_form_wrapper
.comment-form {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 767px) {
    section.reviews .bws-cr-native #review_form_wrapper
    .comment-form-author,
    section.reviews .bws-cr-native #review_form_wrapper
    .comment-form-email {
        width: 100%;
    }
}
