/* Display-only stars with partial fill */
.ratting_main .rate .wpbr_star_s {
    position: relative;
    display: inline-block;
    width: 27px;
    height: 27px;
    line-height: 27px;
    margin-left: 10px;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    text-align: center;
    float: none;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    border-radius: 100%;
}

.ratting_main .rate .wpbr_star_s:first-child {
    margin-left: 0;
}

/* Fully filled star (your existing rule also sets this colour) */
.ratting_main .rate .wpbr_star_s.fill {
    color: #FF7A28;
}

/* The orange part of a partly filled star: its width is set from PHP */
.ratting_main .rate .wpbr_star_partial {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    color: #FF7A28;
}

/* Keeps the orange star the same size as the full star box so it clips correctly */
.ratting_main .rate .wpbr_star_partial_inner {
    display: block;
    width: 27px;
    height: 27px;
    line-height: 27px;
    text-align: center;
}

.ratting_main .rate .wpbr_star_s.fill{
    color: #FF7A28;
}

.ratting_main.vrcc_fix_star_width{
	width: 100%;
    padding: 5px 0px;
}

.rate {
    position: relative;
    display: flex;
}

.rate:not(:checked) > input {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

.rate:not(:checked) > label {
    float: right;
    width: 27px;
    overflow: hidden;
    cursor: pointer;
    color: #fff;
    padding-bottom: 1px;
}

.rate:not(:checked) > label::before {
    content: "★  ";
}

.rate > input:checked ~ label {
    color: #FF7A28;
}

.wpbr_star_s {
    background-color: #252e46;
    border-radius: 3px;
    margin-left: 10px;
    text-align: center;
}

#rating_5 + label.wpbr_star_s.fill {
    margin-left: 0px;
}

/** Review Shortcode Listing */
.custom-review-wrapper{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin:40px 0;
}

.custom-review-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:18px;
    padding:22px;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
    transition:0.3s;
    min-height:320px;
}

.custom-review-card:hover{
    transform:translateY(-4px);
}

.review-header{
    display:flex;
    align-items:center;
    margin-bottom:18px;
}

.review-avatar img{
    width:52px;
    height:52px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #f4b400;
}

.review-info{
    margin-left:14px;
}

.review-name{
    font-size:24px;
    font-weight:700;
    color:#0d1b3d;
    margin:0;
    line-height:1.2;
}

.review-date{
    font-size:15px;
    color:#8b8b8b;
    margin-top:4px;
}

.review-stars{
    color:#f4b400;
    font-size:22px;
    margin-bottom:18px;
    letter-spacing:2px;
}

.review-content{
    font-size:17px;
    line-height:1.8;
    color:#4a4a4a;
}

@media(max-width:1024px){
    .custom-review-wrapper{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:767px){
    .custom-review-wrapper{
        grid-template-columns:1fr;
    }

    .review-name{
        font-size:20px;
    }

    .review-content{
        font-size:16px;
    }
}
