.greviews_wp{
        width: 100%;
        float: left;
        clear: both;
        position: relative;
        margin: 10px 0;
}
.greviews_wp:after{
    content:"";
    display: table;
    width: 100%;
    clear: both;
}
.gavg_review {
    width: 60px;
    height: 60px;
    text-align: center;
    background: var(--bs-primary, #c34f67);
    border-radius: 4px;
    display: table;
    float: left;
    margin: 0;
}
.gavg_review span{
    display: table-cell;
    vertical-align: middle;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
.gtotal_review {
    float: left;
}
.grating {
    width: 100px;
    height: 20px;
    background: url(../../img/star-gray.png) repeat-x;
    vertical-align: middle;
    background-size: contain;
    float: left;
    overflow: hidden;
}
.grating_val {
    background: url(../../img/star-light.png) repeat-x;
    background-size: contain;
    height: 20px;
    float: left;
}
span.gtotal_review_nbr {
    clear: both;
    float: left;
    font-weight: bold;
}
.gtotal_review {
    float: left;
    padding: 10px 0 0 10px;
    box-sizing: border-box;
}
.rate-list .star_graph {
    width: 48%;
    margin: 10px 10px 0 0;
    height: 5px;
    background-color: #E9E9E9;
    float: left;
    border-radius: 4px;
    overflow: hidden;
}
.star_graph_scroller {
    background-color: var(--bs-primary, #c34f67);
    float: left;
    height: 5px;
    margin: 0;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
}
.gstar_nbr{
    float: left;
    margin-right: 10px;
}
.gstar_icon{
    width: 20px;
    height: 20px;
    background: url(../../img/star-light.png) no-repeat;
    vertical-align: middle;
    background-size: contain;
    display: inline-block;
}
.rate-list li{
    list-style: none;
    width: 100%;
    float: left;
    clear: both;
    margin-top: 3px;
}
.rate-list li:first-child{
    margin-top: 0;
}
span.stra_percent {
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    min-width: 45px;
    float: left;
}
span.gstar_nbr_item {
    padding-top: 2px;
    float: left;
}
.gwrite_a_review {
    float: right;
    background: var(--bs-primary, #c34f67);
    color: #fff;
    border-radius: 4px;
    margin-top: 33px;
}
.greviews_summary_wp {
    margin: 25px 0;
    float: left;
    width: 100%;
}
.gclear{
    clear: both;
    width: 100%;
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
}
.g_reviewpagination.pull-right {
    float: right;
    clear: both;
}
.g_reviewpagination li {
    list-style: none;
    float: left;
    min-width: 30px;
    text-align: center;
    border: 1px solid #E9E9E9;
    margin-right: 5px;
    border-radius: 3px;
    padding: 3px 5px;
    background: #E9E9E9;
}
.g_reviewpagination li:hover,.g_reviewpagination li.active {
    background: var(--bs-primary, #c34f67);
    border: 1px solid var(--bs-primary, #c34f67);
    color: #fff;
}
.g_reviewpagination li a,.g_reviewpagination li span,.g_reviewpagination li b{
    font-weight: normal;
}
.g_reviewpagination li:hover a,.g_reviewpagination li.active a{
    color: #fff;
    font-weight: normal;
}
.g_reviewpagination li.truncate{
    background: transparent !important;
    border: none !important;
}
.g_reviewproducts {
    width: 100%;
    float: left;
    clear: both;
    margin-top: 15px;
}
.g_reviewproducts ul{
    margin: 0;
    padding: 0;
}
.g_reviewproducts .greviewtemplate1 li,.g_reviewproducts .greviewtemplate2 li{
    float: left;
    clear: both;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding: 10px 0;
    display: flex;
    flex-direction: row;
}
.g_reviewproducts .greviewtemplate2 li{
    border: none;
}
.g_reviewproducts .greviewtemplate1 li:first-child,.g_reviewproducts .greviewtemplate2 li:first-child{
    margin-top: 0;
    border-top: none;
}
.g_reviewproducts  .greview_avatar{
    float: left;
    position: relative;
    width: 100%;
}
.g_reviewproducts .g_avatar{
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
    font-size: 2.5em;
    border: 1px solid #ddd;
    transition: all .2s ease-in-out;
    background: #fff;
}
.g_reviewproducts .g_avatar .avatar_inlist{
    max-width: 125%;
    max-height: 125%;
}
.g_reviewproducts .greviewtemplate1  .greview_country{
    position: absolute;
    bottom: 0;
    right: 0;
    border: 1px solid #ddd;
    padding: 1px;
    border-radius: 1px;
    background: #fff;
}
.g_pull_left{
    float: left;
}
.g_pull_right{
    float: right;
}
.g_reviewproducts .greviewtemplate1 .greview_content_top,.g_reviewproducts .greviewtemplate2 .greview_content_top{
    width: 100%;
    float: left;
    clear: both;
    margin-bottom: 10px;
}
.g_reviewproducts .greviewtemplate1 .greview_content_wp,.g_reviewproducts .greviewtemplate2 .greview_content_wp{
    flex-grow: 1;
    padding: 10px;
    flex: 1 1 auto;
}
.g_reviewproducts .greviewtemplate1  .greview_customer_name,.g_reviewproducts .greviewtemplate2 .greview_customer_name{
    float: left;
    margin-right: 10px;
    font-weight: bold;
}
.greviewtemplate1 .greview_photos img,.greviewtemplate2 .greview_photos img{
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 100%;
    cursor: pointer;
    object-fit: cover;
}
.reviewphotos_link{
    margin: 0px 4px 4px 0;
}

span.greview_date_add {
    padding-left: 17px;
    background: url('../../img/date-icon.jpg') no-repeat center left transparent;
}
.large_star span.grating {
    height: 40px;
    width: 200px;
}
.large_star .grating_val {
    height: 40px;
}
.large_star  span.gtotal_review_nbr {
    text-align: center;
    width: 100%;
}
.gsummary_template2 .greviews_summary_wp{
    margin: 20px 0;
}
.gavg_review_wp {
    width: 100%;
    float: left;
    text-align: center;
}
.gsummary_template3 .gavg_review{
    float: none;
    margin: 0 auto;
}
.gsummary_template3 .gtotal_review {
    width: 100%;
    text-align: center;
    float: left;
}
.gsummary_template3 .grating ,.gsummary_template3 .gtotal_review_nbr{
    float: none;
    margin: 0 auto;
    display: block;
    text-align: center;
}
.gsummary_template3 .greviews_summary_wp{
    margin: 5px 0;
}
.gsummary_template3  .gtotal_review{
    padding-left:  0;
}

.gsummary_template4 .gavg_review {
    background: transparent;
    
}
.gsummary_template4{
    display: flex;
    width: 100%;
}
.gsummary_template4 .greviews_summary_wp{
    margin: 5px 0;
}
.gsummary_template4 .greviews_ratelist{
    width: 100%;
}
.gsummary_template4 .gavg_review {
    background: transparent;
    width: 100%;
}
.gsummary_template4 .greviews_summary{
    width: 200px;
    float: left;
}
.gsummary_template4 .gavg_review span{
    color: var(--bs-primary, #c34f67);
    font-size: 3em;
}
.gsummary_template4 .gtotal_review {
    width: 100%;
    padding: 10px 0;
}
.gsummary_template4 .grating {
    float: none;
    display: block;
    margin: 0 auto;
}
.gsummary_template4  span.gtotal_review_nbr {
    clear: both;
    float: left;
    font-weight: bold;
    text-align: center;
    width: 100%;
}
.gsummary_template4 .rate-list .star_graph {
    margin: 0;
    height: 25px;
    background-color: #E9E9E9;
    float: left;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.gsummary_template4 span.stra_percent {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    line-height: 25px;
}
.gsummary_template4 .star_graph_scroller {
    background-color: var(--bs-primary, #c34f67);
    float: left;
    height: 25px;
    margin: 0;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
.gsummary_template4  .rate-list  .gstar_nbr {
    float: left;
    margin-right: 10px;
    width: 35px;
}
.gsummary_template4 .rate-list li{
    display: flex;
}
.gsummary_template4 .rate-list .star_graph{
    width: 100%;
    max-width: 350px;
}
.g_reviewproducts .greviewtemplate2 .greview_avatar_wp {
    width: 150px;
    text-align: center;
    flex: 0 0 150px;
    min-width: 150px;
}
.g_reviewproducts .greviewtemplate2 .greview_avatar_wp  .g_avatar{
    margin: 0 auto;
}
.g_reviewproducts .greviewtemplate2 .greview_customer_name {
    font-size: 13px;
    margin: 0;
    width: 100%;
}
.g_reviewproducts .greviewtemplate2 .greview_content_wp {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    padding: 15px;
}
.greview_content {
    float: left;
    width: 100%;
    clear: both;
    margin: 10px 0;
}
@media all and (max-width: 575px) {
    .gsummary_template4{
        display:block;
    }
    .gsummary_template4 .greviews_summary {
        width: 100%;
        float: left;
    }
    .gsummary_template4 .rate-list .star_graph {
        width: 100%;
        max-width: 100%;
    }
    .g_reviewproducts .greviewtemplate1 .review_item,.g_reviewproducts .greviewtemplate2 .review_item{
        display: block;
    }
    .g_reviewproducts .greviewtemplate1 .greview_avatar_wp,.g_reviewproducts .greviewtemplate2 .greview_avatar_wp{
        width: 100%;
        margin: 0 0 10px 0;
        float: left;
    }
    .g_reviewproducts .greviewtemplate1 .greview_content_wp,.g_reviewproducts .greviewtemplate2 .greview_content_wp{
        width: 100%;
        float: left;
    }
    
}
.g_reviewproducts .greviewtemplate3 .review_images img,.g_reviewproducts .greviewtemplate4 .review_images img{
    width: 100%;
    object-fit: cover;
}
@media all and (min-width: 768px) and (max-width: 991px) {
    .greviews_ratelist .rate-list .star_graph{
        display: none;
    }
    .gsummary_template4 .greviews_ratelist .rate-list .star_graph{
        display: block;
    }
}
.box-reviews {

}

@media only screen and (max-width: 991px) {
  .box-reviews {
    padding: 0 20px;
  }
}

@media only screen and (max-width: 767px) {
  .box-reviews {
    padding-right: 0;
    padding-left: 0;
  }
}
.gali-product-review-summary {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0px 0 18px;
}
.gali-product-review-summary__read-group {
    align-items: center;
    display: inline-flex;
    gap: 7px;
}
.gali-product-review-summary__stars {
    color: #eba2ab;
    display: inline-block;
    font-size: 20px;
    height: 25px;
    letter-spacing: 1px;
    line-height: 25px;
    overflow: hidden;
    position: relative;
    width: 108px;
}
.gali-product-review-summary__stars-empty,
.gali-product-review-summary__stars-fill {
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    white-space: nowrap;
}
.gali-product-review-summary__stars-empty { color: #e9dfe2; }
.gali-product-review-summary__stars-fill { color: #eba2ab; overflow: hidden; z-index: 1; }
.gali-product-review-summary__link {
    align-items: center;
    color: inherit;
    display: inline-flex;
    font-size: 13px;
    gap: 5px;
    text-decoration: none;
}
.gali-product-review-summary__link .material-icons {
    font-size: 18px;
    line-height: 1;
}
.gali-product-review-summary__link:hover,
.gali-product-review-summary__link:focus-visible { color: var(--bs-primary, #c34f67); text-decoration: underline; }
.gali-product-review-summary .gwrite_a_review { background: none; border-radius: 0; color: inherit; float: none; margin-top: 0; padding: 0; }

.greviewtemplate3 .box-reviews .review_col {
  width: 33.333%;
  float: left;
  padding: 0 15px;
  margin-bottom: 30px;
  box-sizing: border-box;
}
.greviewtemplate4  .box-reviews .review_col {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
}
.greviewtemplate5  .box-reviews .review_col {
    width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
}
@media only screen and (max-width: 1365px) {
  .greviewtemplate3  .box-reviews .review_col {
    width: 33.333%;
  }
  .greviewtemplate4  .box-reviews .review_col {
    width: 33.333%;
  }
}

@media only screen and (max-width: 991px) {
  .greviewtemplate3  .box-reviews .review_col {
    width: 50%;
  }
  .greviewtemplate4  .box-reviews .review_col {
    width: 50%;
  }
}

@media only screen and (max-width: 767px) {
  .greviewtemplate3  .box-reviews .review_col,.greviewtemplate4  .box-reviews .review_col,.greviewtemplate5  .box-reviews .review_col {
    width: 100%;
  }
}
.review_images {
    float: left;
    width: 100%;
}
.g_reviewproducts .greviewtemplate3  .review_item,.g_reviewproducts .greviewtemplate5  .review_item,.g_reviewproducts .greviewtemplate4  .review_item .greview_content_block{
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
}
.g_reviewproducts .greviewtemplate3 .reviewphotos_link{
    margin: 0px;
    padding: 0;
}
.g_reviewproducts .greviewtemplate3   .owl-theme .owl-nav{
    margin: 0;
    padding: 0;
}
.g_reviewproducts .greviewtemplate3 .owl-theme .owl-dots{
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
}
.g_reviewproducts .greviewtemplate4 .owl-theme .owl-dots{
    display: none !important;
}
.g_reviewproducts .greviewtemplate3 .owl-carousel .owl-nav,.g_reviewproducts .greviewtemplate4 .owl-carousel .owl-nav{
    display: none;
}
.g_reviewproducts .greviewtemplate3 .owl-carousel:hover .owl-nav,.g_reviewproducts .greviewtemplate4 .owl-carousel:hover .owl-nav{
    display: block;
}
.g_reviewproducts .greviewtemplate3 .owl-carousel .owl-nav.disabled,.g_reviewproducts .greviewtemplate4 .owl-carousel .owl-nav.disabled{
    display: none !important;
}
.g_reviewproducts .greviewtemplate3 .owl-carousel .owl-nav .owl-prev,.g_reviewproducts .greviewtemplate4 .owl-carousel .owl-nav .owl-prev {
    border-radius: 2px 0 0 2px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(0,-50%);
    border: 0;
    padding: 0;
    background: no-repeat;
    font-size: 27px;
    width: 44px;
    height: 50px;
    background: url('../../img/next_prev.png')  no-repeat center  left rgb(0,0,0,0.25);
}
.g_reviewproducts .greviewtemplate3 .owl-carousel .owl-nav .owl-next,.g_reviewproducts .greviewtemplate4 .owl-carousel .owl-nav .owl-next {
    border-radius: 2px 0 0 2px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0,-50%);
    border: 0;
    padding: 0;
    background: no-repeat;
    font-size: 27px;
    width: 44px;
    height: 50px;
    background: url('../../img/next_prev.png') no-repeat center  right rgb(0,0,0,0.25);
}
.g_reviewproducts .greviewtemplate3 .greview_avatar,.g_reviewproducts .greviewtemplate5 .greview_avatar{
    display: flex;
}
.g_reviewproducts .greviewtemplate3 .greview_avatar .g_avatar,.g_reviewproducts .greviewtemplate5 .greview_avatar .g_avatar{
    flex: 0 0 75px;
}
.g_reviewproducts .greviewtemplate3 .greview_avatar .greview_customer_name_wp,.g_reviewproducts .greviewtemplate5 .greview_avatar .greview_customer_name_wp{
    flex: 0 0 auto;
    padding: 10px;
}
.g_reviewproducts .greviewtemplate4 .reviewphotos_link {
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
}
.g_reviewproducts .greviewtemplate4  .greview_avatar_wp {
    margin-top: -40px;
    z-index: 1;
}
.g_reviewproducts .greviewtemplate4  .review_images{
    min-height: 40px;
}
.g_reviewproducts .greviewtemplate4  .greview_avatar{
    text-align: center;
}
.g_reviewproducts .greviewtemplate4 .g_avatar {
    margin: 0 auto;
    border: 3px solid #fff;
    background: #f1f1f1;
}
.greviewtemplate5 .greview_photos img {
    max-width: 75px;
    max-height: 100px;
}
.greviewtemplate5 .greview_photos .reviewphotos_link{
    margin: 0px 4px 4px 0;
    float: left;
}
.greviewtemplate5 span.greview_date_add {
    color: #ccc;
    font-size: 1em;
}
.greviewtemplate5 .grating{
    position: absolute;
    top: 10px;
    right: 5px;
}
.g_reviewpagination.pull-center {
    margin: 0 auto;
    text-align: center;
}
.g_reviewpagination.pull-left {
    float: left;
    clear: both;
}
.g_reviewpagination.pull-center .pagination{
    margin: 0 auto;
    text-align: center;
    width: auto;
}
#greview_form{
    width: 100%;
    max-width: 980px;
    min-width: 340px;
}
#greview_form .form-group{
    width: 100%;
    float: left;
}
#greview_form .pull-right{
    float: right;
}
#greview_form p.review_title {
    background: var(--bs-primary, #c34f67);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    text-transform: uppercase;
}
.reviewstar_btn {
    display: inline-block;
    width: 24px;
    height: 24px;
    text-decoration: none;
    background: url(../../img/star-gray.png) no-repeat;
    background-size: contain;
}
.reviewstar_btn.reviewstar_active {
    background: url(../../img/star-light.png) no-repeat;
    background-size: contain;
}
#gformSubmitReviews_error,#gformSubmitReviews_success{
    display: none;
}
span.chars_avatar {
    text-transform: uppercase;
}
span.grequired_field {
    color: var(--bs-primary, #c34f67);
}
.g_googleRichSnippets,.itemprop_rating,.hide_greview_customer_name{
    display: none;
}
#gformSubmitReviews{
    position: relative;
    float: left;
}
#gformSubmitReviews #form_overlay {
    z-index: 99999;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(0,0,0,0.2);
}
#gformSubmitReviews #form_overlay > .container{
    margin-top: 20px;
}
.gproduct_total_review_star {
    width: 100%;
    clear: both;
    float: left;
    margin: 3px 0 5px 0;
}

/* Beautys theme bridge: soften the legacy review UI and keep it on-brand. */
.greviews_wp,
.greview_star_wp,
#greview_form {
    --g-review-accent: #eba2ab;
    --g-review-accent-hover: #e07a8b;
    --g-review-surface: #fffafb;
    --g-review-border: #f1e4e7;
    --g-review-track: #f2edef;
    --g-review-star-muted: #e9dfe2;
    --g-review-text: #2b2b2b;
    --g-review-muted: #777;
}

.greviews_wp {
    color: var(--g-review-text);
    margin: 18px 0 30px;
}

.greviews_wp > .row {
    align-items: center;
    margin-right: 0;
    margin-bottom: 34px;
    margin-left: 0;
    padding: 26px 28px;
    background: var(--g-review-surface);
    border: 1px solid var(--g-review-border);
    border-radius: 16px;
}

.greviews_wp > .row > .greviews_rate_list,
.greviews_wp > .row > .col-md-4 {
    padding-right: 0;
    padding-left: 0;
}

.greviews_wp > .row > .col-md-4 {
    display: flex;
    justify-content: flex-end;
}

.gsummary_template4 {
    display: grid;
    grid-template-columns: 150px minmax(260px, 420px);
    align-items: center;
    gap: 30px;
}

.gsummary_template4 .greviews_summary {
    width: 150px;
}

.gsummary_template4 .greviews_summary_wp,
.gsummary_template4 .gtotal_review {
    margin: 0;
    padding: 0;
}

.gsummary_template4 .gavg_review {
    height: 54px;
}

.gsummary_template4 .gavg_review span {
    color: var(--g-review-accent);
    font-size: 42px;
    line-height: 1;
}

.gsummary_template4 .gtotal_review {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.gsummary_template4 span.gtotal_review_nbr {
    color: var(--g-review-muted);
    font-size: 13px;
    font-weight: 500;
}

.gsummary_template4 .rate-list {
    margin: 0;
    padding: 0;
}

.gsummary_template4 .rate-list li {
    align-items: center;
    gap: 9px;
    min-height: 24px;
    margin: 0;
}

.gsummary_template4 .rate-list .gstar_nbr {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width: 38px;
    margin: 0;
    color: var(--g-review-muted);
    font-size: 12px;
}

.gsummary_template4 .rate-list .star_graph {
    height: 12px;
    margin: 0;
    background-color: var(--g-review-track);
    border-radius: 999px;
}

.gsummary_template4 .star_graph_scroller {
    height: 12px;
    background-color: var(--g-review-accent);
    border-radius: 999px;
}

.gsummary_template4 span.stra_percent {
    left: 7px;
    min-width: 0;
    padding: 0;
    color: var(--g-review-text);
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
}

/* Use the existing star artwork as a mask so every rating shares one color. */
.greviews_wp .grating,
.greview_star_wp .grating {
    background: var(--g-review-star-muted);
    -webkit-mask: url('../../img/star-light.png') left center / auto 100% repeat-x;
    mask: url('../../img/star-light.png') left center / auto 100% repeat-x;
}

.greviews_wp .grating_val,
.greview_star_wp .grating_val {
    background: var(--g-review-accent);
    -webkit-mask: url('../../img/star-light.png') left center / auto 100% repeat-x;
    mask: url('../../img/star-light.png') left center / auto 100% repeat-x;
}

.greviews_wp .gstar_icon,
.greviews_wp .reviewstar_btn,
#greview_form .reviewstar_btn {
    background: var(--g-review-star-muted);
    -webkit-mask: url('../../img/star-light.png') center / contain no-repeat;
    mask: url('../../img/star-light.png') center / contain no-repeat;
}

.greviews_wp .reviewstar_btn.reviewstar_active,
.greviews_wp .gstar_icon,
#greview_form .reviewstar_btn.reviewstar_active {
    background: var(--g-review-accent);
}

.greviews_wp .gwrite_a_review,
.greviews_wp .submitReviewBtn,
#greview_form .submitReviewBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .035em;
    background: var(--g-review-accent);
    border: 1px solid var(--g-review-accent);
    border-radius: 22px;
    box-shadow: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.greviews_wp .gwrite_a_review {
    float: none;
    margin-top: 0;
    font-size: 16px;
    letter-spacing: .5px;
}

.greviews_wp .gwrite_a_review:hover,
.greviews_wp .gwrite_a_review:focus-visible,
.greviews_wp .submitReviewBtn:hover,
.greviews_wp .submitReviewBtn:focus-visible,
#greview_form .submitReviewBtn:hover,
#greview_form .submitReviewBtn:focus-visible {
    color: #fff;
    background: var(--g-review-accent-hover);
    border-color: var(--g-review-accent-hover);
}

.greviews_wp .gwrite_a_review:focus-visible,
.greviews_wp .submitReviewBtn:focus-visible,
#greview_form .submitReviewBtn:focus-visible {
    outline: 2px solid rgba(235, 162, 171, .4);
    outline-offset: 3px;
}

.g_reviewproducts .greviewtemplate4 .review_item {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--g-review-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(68, 37, 45, .06);
}

.g_reviewproducts .greviewtemplate4 .review_item .greview_content_block {
    padding: 14px 17px 17px;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

.g_reviewproducts .greviewtemplate4 .greview_avatar_wp {
    margin-top: -29px;
}

.g_reviewproducts .greviewtemplate4 .g_avatar {
    width: 56px;
    height: 56px;
    color: var(--g-review-text);
    font-size: 22px;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #f3d8de;
}

.g_reviewproducts .greviewtemplate4 .greview_customer_name_wp {
    padding-top: 8px;
}

.g_reviewproducts .greviewtemplate4 .greview_customer_name {
    color: var(--g-review-text);
    font-size: 13px;
    font-weight: 600;
}

.g_reviewproducts .greviewtemplate4 .greview_content_top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 2px;
}

.g_reviewproducts .greviewtemplate4 span.greview_date_add {
    margin-left: auto;
    padding-left: 0;
    color: var(--g-review-muted);
    font-size: 12px;
    line-height: 1.4;
    background: none;
}

.g_reviewproducts .greviewtemplate4 .greview_content {
    margin: 11px 0 0;
    color: #51484a;
    font-size: 14px;
    line-height: 1.55;
}

.g_reviewproducts .greviewtemplate4 .review_images img {
    display: block;
}

.g_reviewpagination li {
    color: var(--g-review-muted);
    background: var(--g-review-surface);
    border-color: var(--g-review-border);
    border-radius: 8px;
}

.g_reviewpagination li:hover,
.g_reviewpagination li.active {
    color: #fff;
    background: var(--g-review-accent);
    border-color: var(--g-review-accent);
}

#greview_form p.review_title {
    background: var(--g-review-accent);
}

/* Cap overly tall review photo previews on all viewports (height set inline by JS). */
.g_reviewproducts .greviewtemplate4 .review_images.greview-image-capped .owl-stage-outer,
.g_reviewproducts .greviewtemplate4 .review_images.greview-image-capped .owl-stage,
.g_reviewproducts .greviewtemplate4 .review_images.greview-image-capped .owl-item,
.g_reviewproducts .greviewtemplate4 .review_images.greview-image-capped .reviewphotos_link {
    height: var(--g-review-preview-height, 500px) !important;
    max-height: var(--g-review-preview-height, 500px) !important;
}

.g_reviewproducts .greviewtemplate4 .review_images.greview-image-capped {
    overflow: hidden;
}

.g_reviewproducts .greviewtemplate4 .review_images.greview-image-capped .reviewphotos_link img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767.98px) {
    .greviewtemplate3 .box-reviews .review_col,
    .greviewtemplate4 .box-reviews .review_col,
    .greviewtemplate5 .box-reviews .review_col {
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .g_reviewproducts .review_item,
    .g_reviewproducts .review_images,
    .g_reviewproducts .review_images img,
    .g_reviewproducts .greview_photos,
    .g_reviewproducts .owl-stage-outer {
        max-width: 100%;
    }

    .greviews_wp > .row {
        margin-bottom: 26px;
        padding: 20px 18px;
        border-radius: 12px;
    }

    .greviews_wp > .row > .col-md-4 {
        justify-content: stretch;
        margin-top: 18px;
    }

    .greviews_wp .gwrite_a_review {
        width: 100%;
    }

    .gsummary_template4 {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 18px;
    }

    .gsummary_template4 .greviews_summary {
        width: 112px;
    }
}

@media (max-width: 479.98px) {
    .gsummary_template4 {
        grid-template-columns: 1fr;
    }

    .gsummary_template4 .greviews_summary {
        width: 100%;
    }
}

/* Keep the review module inside narrow Android viewports (e.g. 360px). */
@media (max-width: 575.98px) {
    #greview_form,
    .g_reviewproducts,
    .greviews_wp,
    .g_reviewproducts .review_item,
    .g_reviewproducts .review_images,
    .g_reviewproducts .greview_photos {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    #greview_form {
        width: 100%;
    }
}
