/* review rating form star */
h1,
h2,
h3,
p {
    margin: 0;
    padding: 0;
}
.write-review-wrapper {
  max-width: 1050px;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
  border-radius: 5px;
  background-color: #fff;
  margin: 20px 0px;
}
.woocommerce-tabs .panel {
  padding: 10px !important;
}
.write-review-wrapper .ratting_field {
  -webkit-appearance: none;
}
.login_redirect a{
  color: #ffc700 !important;
}
.write-review-wrapper .rating-group .group{
  border-right: 1px solid #cbcaca;
  margin-right: 4px;
  line-height: 1px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.write-review-wrapper .rating-group .group:last-child {
  border-right: none;
}
.write-review-wrapper .rating-group input{
  margin: 0px !important;
}
.write-review-wrapper .rating-group .icon {
  padding: 0px 5px;
  cursor: pointer;
  margin: 0px !important;

}

.write-review-wrapper h2 {
  margin-bottom: 5px !important;
}




.write-review-wrapper a{
 outline: none !important;
}
.write-review-wrapper .rating_field:checked+.icon {
  transition: all 0.2s;
}

.write-review-wrapper .media_group .images_field,
.video_field {
  display: none;
}

.write-review-wrapper .media_group {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.write-review-wrapper .ratting_group,
.review_group,
.media_group {
  margin-bottom: 15px;
}

.write-review-wrapper .review_field {
  overflow-y: hidden;
  resize: none;
  min-height: 120px;
  max-height: 160px;
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  padding: 4px 11px;
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  line-height: 1.5714285714285714;
  list-style: none;
  background-color: #ffffff;
  background-image: none;
  border-width: 1px !important;
  border-style: dashed !important;
  border-color: #d9d9d9 !important;
  border-radius: 6px;
  transition: all 0.2s;
  display: block;
  width: 100%;
}
.write-review-wrapper textarea:focus {
  outline: 0;
  box-shadow: none;
}
.write-review-wrapper .rating-group {
  display: flex;
}
/* .write-review-wrapper .review_field:hover {
  border-color: #F85606;
} */

.write-review-wrapper .media_group .add_images,
.add_video {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 74px;
  transition: width 0.2s;
}

.write-review-wrapper .media_group .media_card {
  color: #F85606;
  font-size: 12px;
  line-height: 16px;
  border: 1px dashed #F85606;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 2px;
  font-weight: 400 !important;
  text-transform: capitalize;
}

.write-review-wrapper .image-item {
  position: relative;
  display: inline-block;
  margin: 5px;
  border: 2px solid #ccc;
  border-radius: 8px;
  /* Add border radius to the images */
}

.write-review-wrapper .image-item img {
  width: 50px;
  height: 50px;

}

.write-review-wrapper .remove-button {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0px 2px !important;
}

.write-review-wrapper .remove-button:hover {
  background-color: #F85606;
}

.write-review-wrapper .privacy_policy {
  margin: 10px 0px;
}

.write-review-wrapper .privacy_policy label {
  font-size: 13px;
}

.write-review-wrapper .submit_btn,
.reply-comment-form .submit_btn {
  border-radius: 0;
  margin: 15px 0px !important;
  display: block;
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 500 !important;
  padding: 10px 33px !important;
  line-height: 20px;
  letter-spacing: 1px;
  transition: all ease 0.35s;
  -webkit-transition: all ease 0.35s;
  -moz-transition: all ease 0.35s;
}

.reply-comment-form .submit_btn {
  font-size: 15px;
  font-weight: 400;
  padding: 8px 10px;
  float: right;
  text-transform: capitalize;
}


#full-stars .rating-group {
  display: inline-flex;
}
#full-stars .rating__icon {
  pointer-events: none;
}
#full-stars .rating__input {
  position: absolute !important;
  left: -9999px !important;
}
#full-stars .rating__label {
  cursor: pointer;
  padding: 0 0.1em;
  font-size: 2rem;
}
#full-stars .rating__label--half {
  padding-right: 0;
  margin-right: -39px;
  z-index: 2;
}

/* review rating form end */

/* Rating Summary Styles */
.revnextwoo_rating_summary {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.revnextwoo_rating_overview {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.revnextwoo_average_rating {
    text-align: center;
    min-width: 180px;
}

.revnextwoo_rating_number {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.revnextwoo_rating_stars {
    color: #ffc107;
    font-size: 24px;
    margin-bottom: 8px;
}

.revnextwoo_rating_stars .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.revnextwoo_rating_count {
    font-size: 14px;
    color: #666;
}

.revnextwoo_rating_bars {
    flex: 1;
    min-width: 250px;
}

.revnextwoo_rating_bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.revnextwoo_star_label {
    width: 60px;
    color: #333;
}

.revnextwoo_progress {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}

.revnextwoo_progress_bar {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
}

.revnextwoo_count {
    width: 40px;
    text-align: right;
    color: #666;
}

/* Review Form Styles */
.revnextwoo_review_form_wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.revnextwoo_review_form_wrapper h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.revnextwoo_form_group {
    margin-bottom: 20px;
}

.revnextwoo_form_group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.revnextwoo_rating_input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 10px;
}

.revnextwoo_rating_input input[type="radio"] {
    display: none;
}

.revnextwoo_rating_input label {
    color: #ddd;
    cursor: pointer;
    font-size: 24px;
    margin: 0;
    transition: color 0.2s;
}

.revnextwoo_rating_input label:hover,
.revnextwoo_rating_input label:hover ~ label,
.revnextwoo_rating_input input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.revnextwoo_rating_input input[type="radio"]:checked + label {
    color: #ffc107;
}

.revnextwoo_rating_input .dashicons {
    width: 28px;
    height: 28px;
    font-size: 28px;
}

.revnextwoo_form_group input[type="text"],
.revnextwoo_form_group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.revnextwoo_form_group textarea {
    min-height: 120px;
    resize: vertical;
}

.revnextwoo_form_group input[type="text"]:focus,
.revnextwoo_form_group textarea:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.revnextwoo_form_submit button {
    background: #4a90e2;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.revnextwoo_form_submit button:hover {
    background: #3a7bc8;
}

.revnextwoo_login_notice {
    background: #fff8e1;
    padding: 15px;
    border-radius: 4px;
    color: #5d4037;
    border-left: 4px solid #ffc107;
}

.revnextwoo_login_notice a {
    color: #1976d2;
    text-decoration: none;
}

.revnextwoo_login_notice a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .revnextwoo_rating_overview {
        flex-direction: column;
        gap: 20px;
    }
    
    .revnextwoo_rating_bars {
        width: 100%;
    }
}

/* Review Section Styles */
.revnextwoo_reviews_list {
    margin-top: 30px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.revnextwoo_reviews_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.revnextwoo_reviews_header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.revnextwoo_reviews_sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.revnextwoo_reviews_sort span {
    font-size: 14px;
    color: #666;
}

.revnextwoo_sort_select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

/* Review Item Styles */
.revnextwoo_review_item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.revnextwoo_review_item:last-child {
    border-bottom: none;
}

.revnextwoo_reviewer_info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.revnextwoo_reviewer_avatar {
    margin-right: 15px;
}

.revnextwoo_reviewer_avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.revnextwoo_reviewer_details h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.revnextwoo_review_meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.revnextwoo_review_rating {
    color: #ffc107;
    display: flex;
    gap: 2px;
}

.revnextwoo_review_rating .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.revnextwoo_verified_badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
}

.revnextwoo_review_content {
    margin-left: 65px;
}

.revnextwoo_review_title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #333;
}

.revnextwoo_review_text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 15px;
}

/* Review Images */
.revnextwoo_review_images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.revnextwoo_review_image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.revnextwoo_review_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.revnextwoo_review_image:hover img {
    transform: scale(1.05);
}

.revnextwoo_review_image_more {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

/* Review Actions */
.revnextwoo_review_actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-left: 65px;
}

.revnextwoo_like_btn,
.revnextwoo_report_btn {
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.revnextwoo_like_btn:hover,
.revnextwoo_report_btn:hover {
    background: #f5f5f5;
    color: #333;
}

.revnextwoo_like_btn.liked {
    color: #2196f3;
}

.revnextwoo_like_btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Review Form Styles */
.revnextwoo_review_form_wrapper {
    margin-top: 30px;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.revnextwoo_review_form_wrapper h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.revnextwoo_form_group {
    margin-bottom: 20px;
}

.revnextwoo_form_group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.revnextwoo_rating_input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.revnextwoo_rating_input input[type="radio"] {
    display: none;
}

.revnextwoo_rating_input label {
    color: #ddd;
    cursor: pointer;
    font-size: 24px;
    margin: 0;
}

.revnextwoo_rating_input label:hover,
.revnextwoo_rating_input label:hover ~ label,
.revnextwoo_rating_input input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.revnextwoo_rating_input input[type="radio"]:checked + label {
    color: #ffc107;
}

.revnextwoo_rating_input .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.revnextwoo_form_group input[type="text"],
.revnextwoo_form_group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.revnextwoo_form_group textarea {
    min-height: 120px;
    resize: vertical;
}

.revnextwoo_form_group input[type="text"]:focus,
.revnextwoo_form_group textarea:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Media Upload */
.revnextwoo_media_upload {
    margin-top: 10px;
}

.revnextwoo_media_preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.revnextwoo_media_item {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.revnextwoo_media_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.revnextwoo_upload_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    color: #666;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px dashed #ddd;
}

.revnextwoo_upload_btn:hover {
    background: #eee;
    border-color: #ccc;
}

.revnextwoo_upload_btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Form Submit Button */
.revnextwoo_form_submit button {
    background: #4a90e2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.revnextwoo_form_submit button:hover {
    background: #3a7bc8;
}

/* Login Notice */
.revnextwoo_login_notice {
    margin-top: 20px;
    padding: 15px;
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    color: #5d4037;
}

.revnextwoo_login_notice a {
    color: #1976d2;
    text-decoration: none;
}

.revnextwoo_login_notice a:hover {
    text-decoration: underline;
}

/* No Reviews Message */
.revnextwoo_no_reviews {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .revnextwoo_reviews_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .revnextwoo_reviews_sort {
        width: 100%;
        justify-content: space-between;
    }
    
    .revnextwoo_review_content {
        margin-left: 0;
    }
    
    .revnextwoo_review_actions {
        padding-left: 0;
    }
}

/* Star Rating Fix */
.dashicons-star-filled:before {
    content: "\f155";
}

.dashicons-star-empty:before {
    content: "\f154";
}


/* review show start */
.product_review_show {
  max-width: 1050px;
  overflow: hidden;
  width: 100%;
  padding: 20px;
  border-radius: 5px;
  margin: 20px 0px;
}

.product_review_show .slct {
  height: 30px;
  padding: 5px 30px;
  font-size: 15px;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #e2eded;
  line-height: 0px !important;
}


.product_review_show .mode-filter-sort .sort-mode,
.filter-mode {
  display: flex;
  gap: 30px;
  margin: 13px 0px;
}
#container-review {
  padding: 10px
}
.product_review_show .mode-filter-sort .sort-mode span {
  color: #af978b;
}

.product_review_show .mode-filter-sort .most-recent,
.all-ratng,
.fil-verified,
.fil-images-videos {
  display: flex;
  gap: 5px;
  align-content: center;
}
.product_review_show .mode-filter-sort label{
  font-size: 13px;
  margin: 0;
}

.fancybox-button--close {
  position: absolute;
  top: 80px; 
  right: 340px; 
}
.product_review_show .review-item {
  margin-top: 30px;
}

.product_review_show .review-item .cards,
.review-reply-card {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  margin-bottom: 10px;
}


.product_review_show .review-item .review-reply-card {
  width: 90%;
  margin-left: auto;
  margin-top: 10px;
}
.waiting-for-review .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.product_review_show .review-item .vote_sec i {
  width: 20px;
  color: #7a7a7a;
  margin-right: 5px;
}

.product_review_show .review-item .vote_sec .icon {
  padding: 2px 5px;
  background: #f2f2f2;
  border-radius: 36px;
  height: 28px;
  display: ruby;
}

.product_review_show .review-item .user-info.comment-user {
  display: flex;
  gap: 20px;
  margin-bottom: 2px;
}
.review-item .rating_start {
  text-align: right;
}

.review-item .user-info .user_img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.review-item .user-info p {
  padding: 0;
  margin: 2px;
  font-weight: 300 !important;
  font-size: 14px !important;
}

.review-item .user-info .verified {
  padding: 2px 4px;
  width: fit-content;
  font-size: 12px !important;
  color: #fff;
}

.review-item .review-content {
  margin: 10px 0px;
}
.review-item .review-content p {
  margin: 0px !important;
}

.review-item .review-content .review_img {
  margin: 5px;
  width: 90px;
  height: 90px;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #d03131;
}



.review_group label{
  font-size: 15px;
  font-weight: 400;
  text-transform: capitalize;
}
.product_review_show .slct option {
  font-size: 15px;
  font-weight: 300;
}

.review-item .vote_sec {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  cursor: pointer;
  position: relative;
}

.review-item .reply_dropdown {
  padding: 8px;
  border: 1px solid #dfdfdf;
  margin-top: 14px;
  font-size: 15px;
  border-radius: 2px;
  cursor: pointer;
  position: absolute;
  width: 135px;
  right: 0px;
  top: 18px;
  z-index: 100;
  background-color: #f7f7f7;
  text-align: left;
}

.review-item .reply_dropdown h5 {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 5px;
  transition: all 0.8s;
  width: fit-content;
}

.reply-comment-form {
  width: 50vw;
}

.reply-comment-form .reply_field {
  overflow-y: hidden;
  resize: none;
  min-height: 120px;
  max-height: 160px;
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  padding: 4px 11px;
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  line-height: 1.5714285714285714;
  list-style: none;
  background-color: #ffffff;
  background-image: none;
  border-width: 1px;
  border-style: solid;
  border-color: #d9d9d9;
  border-radius: 6px;
  transition: all 0.2s;
}

.reply-comment-form .reply_field:hover {
  border-color: #F85606;
}
.thumb_up.active, .thumb_down.active{
  color: #2AC2F0  !important;
}

/* review show end */

.loader {
  color: #fff;
  font-size: 10px;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  animation: mulShdSpin 1.3s infinite linear;
  transform: translateZ(0);
  margin: auto;
  display: block;
}
/* Percentage Based Star Rating With Font Awesome */
.average_ratings .front-stars, .back-stars, .star-ratings {
  display: flex;
}

.average_ratings .star-ratings {
  align-items: center;
  font-size: 2.2em;
  justify-content: start;
  margin: 20px 0px;
}

.average_ratings .back-stars {
  color: #ccc;
  position: relative;
}

.average_ratings .front-stars {
  overflow: hidden;
  position: absolute;
  top: 0;
  transition: all 0.5s;
}

/* Styles for the modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
  overflow: auto;
}

/* Style for the modal content (the image) */
.modal-content {
  margin: auto;
  max-width: 80%;
  max-height: 80%;
}

/* Style for the close button */
.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}



.average_ratings .empty-ratings {
  padding: 0;
  display: block;
  z-index: 0;
}

@keyframes mulShdSpin {

  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em,
      2em -2em 0 0em, 3em 0 0 -1em,
      2em 2em 0 -1em, 0 3em 0 -1em,
      -2em 2em 0 -1em, -3em 0 0 -1em,
      -2em -2em 0 0;
  }

  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em,
      3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em,
      -2em 2em 0 -1em, -3em 0 0 -1em,
      -2em -2em 0 -1em;
  }

  25% {
    box-shadow: 0 -3em 0 -0.5em,
      2em -2em 0 0, 3em 0 0 0.2em,
      2em 2em 0 0, 0 3em 0 -1em,
      -2em 2em 0 -1em, -3em 0 0 -1em,
      -2em -2em 0 -1em;
  }

  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
      3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em,
      -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }

  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
      3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em,
      -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }

  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
      3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0,
      -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }

  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em,
      3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em,
      -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }

  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em,
      3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em,
      -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}


/* average rating css */
.average_ratings {
  max-width: 1050px;
  overflow: hidden;
  width: 100%;
  border-radius: 5px;
  background: #fff;
  margin: 20px 0px;
}

.average_ratings .title {
  padding: 10px;
  text-align: left !important;
  font-weight: 500 !important;
}


.mode-filter-sort h2, 
.average_ratings .title h4 {
  text-align: left !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0px;
  padding: 0px;
}


.average_ratings .percentage h3 span {
  font-size: 38px;
  color: rgb(190, 190, 190);
}

.average_ratings .percentage {
  display: flex;
  justify-content: center;
  padding: 30px;
  gap: 70px;
  align-items: center;
}

.average_ratings .aver-rating-percent {
  position: relative;
  appearance: none;
  color: transparent;
  width: auto;
  display: inline-block;
  vertical-align: baseline;
}


.average_ratings .one_star,
.two_star,
.three_star,
.four_star,
.five_star {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.average_ratings .rating_star_percentage .icon i{
  margin:0px 2px;
}

.average_ratings .rating_star_percentage .icon_empty,
.review-item .icon_empty
{
  color: #ccc;
}
.rating_start i{
  margin: 0px 2px;
}
.average_ratings .rating_star_percentage {
  display: grid;
  grid-template-columns: auto auto;
  gap: 3px 80px;
}

.average_progress {
  width: 100%;
}

.average_progress .progresss {
  position: relative;
  overflow: hidden;
  width: 200px;
  font-family: "Roboto", sans-serif;
}
.not_found{
  margin-top: 10px;
}
.average_progress .progress-bar {
  display: block;
  float: left;
  width: 0%;
  height: 100%;
  box-shadow: inset 0px -1px 2px rgba(0, 0, 0, 0.1);
  transition: width 0.8s ease-in-out;
}

.average_progress .progress-label {
  position: absolute;
  overflow: hidden;
  left: 0px;
  right: 0px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.7em;
  text-align: center;
  text-shadow: 0px 1px rgba(0, 0, 0, 0.3);
}



.progresss {
  background-color: #EEE;
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
}

.progresss .progress-bar {
  height: 18px;
}

.progresss .progress-label {
  line-height: 18px;
}
.waiting-for-review {
  margin-bottom:20px;
  margin-top: 10px;
}
.waiting-for-review .cardss {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 20px;
  padding: 10px;
}

.waiting-for-review  .item {
  display: flex;
  justify-content: left;
  align-content: center;
  align-items: center;
  padding: 8px 10px;
  background-color: #f9f9f9;
  gap: 11px;
  overflow: hidden;
  border: 1px solid #ffb74d;
}
.waiting-for-review  .product_image {
  width: 50px;
  height: 50px;
}
.waiting-for-review .product_name {
  font-size: 13px !important;
  margin: 2px !important;
  color: black;
}
.waiting-for-review  .title{
  font-size: 20px;
  font-weight: 500;
  border-bottom: 2px solid #ffb74d;
  width: fit-content;
  padding-bottom: 4px;
  margin: 0px 0 20px 0px !important;
}

.waiting-for-review .provide_link{
  font-size: 12px !important;
  color: black;
}

.waiting-for-review .provide_link:hover{
  color: #ffb74d;
}

.waiting-for-review .not_found{
  padding: 10px;
  background: #f7f7f7;
  color: ba;
  color: #ffb74d;
}


.user_question_section {
  max-width: 1050px;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgb(238, 238, 238);
  border-radius: 5px;
  background: #fff;
  margin: 20px 0px;
}
.user_question_section  .title{
  background-color: #f2f2f2;
  padding: 10px;
  text-align: left !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  position: static !important;
  font-weight: 500 !important;
  margin-bottom: 3px !important;

}
.user_question_section .login_redirect{
  font-size: 14px;
  color: black;
  padding-left: 20px;
  margin-bottom: 0px !important;
}
.user_question_section .login_redirect a{
  color: #F85606;
}
.user_question_section form {
  padding: 18px;
  margin: 0px;
}
.user_question_section  .input_group {
  display: flex;
  text-align: center;
  margin: 0 auto;
  justify-content: center;
  align-content: center;
  align-items: center;/* Adjust the maximum width as needed */
}
.input_group.focused {
  flex-direction: column;
  align-items: end !important;
  gap: 9px;
}

.user_question_section #error-message, #reply-error-message{
  display: none;
  text-align: left;
  font-size: 14px;
  color: rgb(44, 44, 44);
}

.user_question_section .question_field {
  width: 100%;
  height: 40px; 
  min-height: 40px;
  padding: 10px; 
  resize: vertical; 
  cursor: text;
  border: 1px solid #ccc;
  resize: none;
  overflow: hidden;
  background: none;
  box-shadow: none;
  outline: none;
  margin: 0px;
}

.user_question_section .submit_btn {
  border-radius: 0;
  display: block;
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 10px;
  line-height: 18px;
  transition: all ease 0.35s;
  -webkit-transition: all ease 0.35s;
  -moz-transition: all ease 0.35s;
  margin: 0px;
}
.write-review-wrapper .submit_btn:hover, .reply-comment-form .submit_btn:hover {
  background-color: #F85606 !important;
}
.user_question_show {
  padding: 20px;
}

.user_question_show .item {
  align-content: center;
  align-items: center;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  margin-top: -1px;
  border-top: 1px solid #ececec;
  padding: 5px;
}
.user_question_show .item:last-child {
  border: none;
}
.user_question_show  .create_date {
  font-size: 14px;
}
.user_question_show .question-reply-trigger{
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  width: fit-content;
}
.user_question_show .item  p{
  margin-bottom: 0px !important;
}
.user_question_show .short_title{
  font-size: 18px !important;
  color: black;
  text-align: left;
  font-weight: 500 !important;
}
.user_question_show .short_content {
  display: flex;
  align-content: center;
  /* align-items: center; */
  gap: 5px 17px;
  width: 90%;
}
.user_question_show .question_icon{
  width: 20px;
  height: 20px;
}
/* responsive small, medium, large */

@media screen and (max-width: 992px) {
  .write-review-wrapper, .user_question_section {
    width: 100%;
    display: block;
  }

  .product_review_show {
    width: 100%;
  }
  .user_question_show .short_content{
    display: block;
  }
  .user_question_show .item {
    align-items: first baseline;
    grid-template-columns: auto;
  }
  .user_question_section #question-form {
    padding: 5px;
  }  
  .user_question_section form{
    padding: 5px;
  }
  #question-form .submit_btn{
    font-size: 14px;
  }
  .product_review_show .mode-filter-sort .fil-verified,
  .fil-images-videos {
    /* display: inline-grid; */
    gap: 5px;
  }
  .product_review_show .mode-filter-sort .sort-mode, .filter-mode {
    display: inline-grid;
    gap: 20px;
    margin-right: 10px;
  }
  .reply-comment-form {
    width: 120%;
  }

  .average_ratings {
    width: 100%;
  }
  
  
  .average_ratings .one_star, .two_star, .three_star, .four_star, .five_star {
    grid-template-columns: auto;
    display: grid;
    align-content: center;
    justify-content: left;
    align-items: center;
    gap: 0px;
  }
  
  #container-review {
    padding: 2px
  }
  #five-stars 
  .group
  {
    display: flex;
    margin-bottom: 5px;
    border: none;
    justify-content: start;
  }
  #five-stars .rating_field  {
    display: block;
  }

  .woocommerce-tabs .panel {
    padding: 2px 2px !important;
  }
}
@media screen and (max-width: 768px) {
  #five-stars .rating-group {
    display: block;
  }

  .average_ratings .rating_star_percentage {
    display: block;
    margin-top: 30px;
  }
}
@media screen and (max-width: 515px) {
  .average_ratings .percentage {
    display: block;
  }
}
@media (min-width: 768px) {
  .woocommerce-tabs .panel {
    width: 100% !important;
    float: right !important;;
    margin-right: 0 !important;;
    margin-bottom: 3.706325903em !important;;
  }
}