/**
 *  Product comments CSS
 */

.product-comment-modal .material-icons[data-icon]:before,
.product-comment-list-item .material-icons[data-icon]:before,
.gc_productrating-additional-info .material-icons[data-icon]:before,
#gc-productratings-list-header .material-icons[data-icon]:before,
#gc-productratings-list-footer .material-icons[data-icon]:before {
  content: attr(data-icon);
}

.btn-comment,
.btn-comment-inverse {
  height: 36px;
  border-radius: 2px;
  background-color: #000;
  color: #ffffff;
  font-size: 14px;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
  padding: 8px;
}
.btn-comment .material-icons,
.btn-comment-inverse .material-icons {
  font-size: 20px;
  margin-right: 7px;
}

.btn-comment:hover {
  background-color: #555;
}

.btn-comment-inverse {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}
.btn-comment-inverse:hover {
  background-color: #000;
  border: 1px solid #fff;
  color: #ffffff;
}

.btn-comment-big {
  padding: 13px 16px;
  height: 45px;
}

.btn-comment-huge {
  padding: 13px 28px;
  height: 45px;
}

.link-comment {
  color: #555;
}

.link-comment a {
  color: #FFAB03;
}

.product-additional-info .link-comment {
  color: #555 !important;
}


.link-comment:hover,
.link-comment:active {
  text-decoration: underline;
  color: #555;
}

/**
 * Additional product infos
 */

.gc_productrating-additional-info {
  margin: 20px 0;
  font-weight: 300;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 14px;
}

.gc_productrating-additional-info .link-comment.post-product-comment {
  border-left: 1px solid #555;
  padding-left: 12px;
  margin-left: 12px;
}

.gc_productrating-additional-info .comments-note {
  margin-right: 30px;
  margin-bottom: 20px;
}

/**
 *  Post comment modal
 */
.product-comment-modal .modal-header {
  border: none;
  padding: 30px 30px 15px;
}

.product-comment-modal .modal-body {
  padding: 15px 30px 30px;
}

.product-comment-modal .modal-header .h2 {
  float: left;
  font-size: 20px;
  font-weight: bold;
}

.product-comment-modal .modal-dialog {
  width: calc(100% - 30px);
  max-width: 774px;
}

.product-comment-modal .modal-dialog .h3 {
  font-size: 14px;
}

.product-comment-modal .modal-dialog .product-flag {
  display: none;
}

.product-comment-modal .modal-dialog .product-cover,
.product-comment-modal .modal-dialog .product-cover img {
  width: 99px;
  height: 99px;
}

#post-gc-productrating-form .product-cover {
  margin-bottom: 45px;
}

#post-gc-productrating-form .btn-comment-inverse:hover {
  background-color: #8C0000;
  border: 1px solid #8C0000;
}

#post-gc-productrating-form .btn-comment-inverse {
  background-color: #555;
  border: 1px solid #555;
}

.product-comment-modal label.form-label {
  font-size: 16px;
  margin: 10px 0;
}

.product-comment-modal input {
  width: 100%;
  height: 44px;
  border: 1px solid #555;
  background-color: #f5f5f5;
  padding: 0 10px;
}

.product-comment-modal textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid #555;
  background-color: #f5f5f5;
  margin-bottom: 10px;
  padding: 10px 10px;
}

.product-comment-modal .btn-comment,
.product-comment-modal .btn-comment-inverse {
  font-size: 16px;
  line-height: 16px;
  font-weight: bold;
  color: #f5f5f5;
}

.product-comment-modal .required {
  font-size: 12px;
  margin-left: 5px;
}

.product-comment-modal .post-comment-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.product-comment-modal .post-comment-buttons .btn-comment {
  margin-left: 15px;
}

#gc-productrating-posted-modal .post-comment-buttons,
#gc-productrating-post-error .post-comment-buttons,
#update-comment-usefulness-post-error .post-comment-buttons {
  margin-top: 40px;
}


.modal-header .material-icons {
  color: #40a85f;
  font-size: 30px;
  line-height: 25px;
}

.modal-header .material-icons.error {
  color: #a94442;
}

.modal-header .material-icons.feedback {
  color: #f39d72;
}

/**
 *  Star component
 */

.star-content {
  margin: 0 0 0 5px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.star-content div.star,
.star-content div.star-on,
.star-content div.star-hover {
  display: block;
  width: 25px;
  height: 25px;
  background: url(../img/empty_star.svg) no-repeat 0 0 transparent;
  background-size: cover;
  flex: auto;
  margin-left: 3px;
}
.star-content div.star-on,
.star-content div.star-hover {
  /*  background-position: -24px 0;*/
  background: url(../img/star.svg) no-repeat 0 0 transparent;
  background-size: cover;
}

.small-stars .star-content div.star,
.small-stars .star-content div.star-on,
.small-stars .star-content div.star-hover {
  background: url(../img/small_stars.png) no-repeat 0 0 transparent;
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

.small-stars .star-content div.star-on,
.small-stars .star-content div.star-hover {
  background-position: -19px 0;
}

.star-content div.star-hover {
  cursor: pointer;
}

.grade-stars {
  position: relative;
  height: 25px;
  min-width: 145px;
  display: inline-block;
}

.grade-stars.small-stars {
  min-width: 100px;
}

.grade-stars .star-content {
  position: absolute;
  top: 0px;
  left: 0;
}

.criterion-rating .grade-stars .star-content {
  top: 0;
}

#post-gc-productrating-modal .star-content div.star a {
  display: block;
  position: absolute;
  text-indent: -5000px;
}
#post-gc-productrating-modal .criterion-rating {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

#post-gc-productrating-modal .criterion-rating label {
  color: #555;
  font-size: 14px;
  font-weight: bold;
}

.ratings-global {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}
.ratings-global .comment-rating-number {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.comment-rating.stars-mask {
  position: relative;
  display: inline-block;
  line-height: 1;
  font-size: 20px;
  letter-spacing: 2px;
}
.comment-rating.stars-mask .stars-base {
  position: relative; /* base defines intrinsic width */
  white-space: nowrap;
}
.comment-rating.stars-mask .stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
}
.comment-rating.stars-mask .stars-base span {
  color: #ddd;
}
.comment-rating.stars-mask .stars-fill {
  width: 0;
}
.comment-rating.stars-mask .stars-fill span {
  color: #8E0000;
}

#post-gc-productrating-form input.error,
#post-gc-productrating-form textarea.error {
  background-color: #f5f5f5;
  border: solid 1px #555;
}

#post-gc-productrating-form input.valid,
#post-gc-productrating-form textarea.valid {
  background-color: #f5f5f5;
  border: solid 1px #555;
}

/**
 *  Product comments list
 */

.product-comment-list-item.row {
  background-color: #f5f5f5 !important ;
  padding: 3px 12px 20px 12px;
  min-width: 45%;
  display: inline-block;
}

#gc-productratings-list-headline {
  text-align: left;
  margin-top: 60px;
      display: flex;
    justify-content: space-between;
        border-bottom: 1px solid #d9d0bf;
            padding: 10px 0 10px 0;
    margin: 0px 0px 15px 0px;
}

#gc-productratings-list-headline h2 {
  font-size: 22px;
  text-transform: uppercase;
      display: flex;
    align-items: center;
    margin: 0px;
}

#gc-productratings-list-headline .customNavigation {
  position: relative;
  top: unset;
  right: unset;
  left: unset;
  z-index: 1;
}

.btn-comment {
  background-color: #555;
}

.btn-comment-big {
  padding: 12px 35px;
  height: 45px;
}

.btn.btn-comment.btn-comment-big {
  background-color: #555 !important;
  font-weight: bold;
}


.btn-comment .material-icons, .btn-comment-inverse .material-icons{
  font-size: 20px;
  margin-right: 3px;
}

#post-gc-productrating-form .input-group .input-group-btn > .btn {
  padding: 10px;
  border: 1.75px solid #555 !important;
  background-color: #fff;
 }

.col-md-6.col-sm-6.post-comment-buttons {
  margin-top: 20px;
}

.buttonText {
  color: #555;
}

#gc-productratings-list-header {
  padding: 20px 15px;
  color: #555;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

#gc-productratings-list-header .comments-nb {
  padding-left: 0;
  padding-top: 3px;
}

#gc-productratings-list-header .comments-nb  .material-icons {
  margin-right: 3px;
}

/*#gc-productratings-list-header .comments-sort a {
  font-size: 0.75rem;
}*/

#gc-productratings-list .btn-comment {
  margin: 0 auto;
  display: block;
}

.product-comment-list-item {
  padding: 26px 0;
  margin: 0 0 20px;
  background-color: #DCDCDC;
  text-align: left;
}

#empty-gc-productrating {
  text-align: center;
      background: none;
}

.product-comment-list-item .grade-stars .star-content {
  margin: 0 0 10px;
}

.product-comment-list-item .comment-infos {
  height: 19px;
  color: #555;
  font-size: 14px;
  letter-spacing: -0.28px;
  line-height: 19px;
  min-height: 100px;
}

.product-comment-list-item .comment-infos .grade-stars {
  margin-bottom: 20px;
}

.product-comment-list-item .comment-content {
  padding: 0px;
}

.product-comment-list-item .comment-content .comment-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.product-comment-list-item .comment-content .h4 {
  height: 22px;
  color: #555;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.32px;
  line-height: 22px;
}

.product-comment-list-item .comment-content p {
  color: #555;
  font-size: 14px;
  letter-spacing: -0.28px;
  line-height: 19px;
  word-break: break-word;
  white-space: pre-wrap;
  font-size: 16px;
}

.product-comment-list-item .comment-content p.comment-text {
  margin-bottom: 15px;
  font-size: 16px;
}

.product-comment-list-item .comment-author {
  color: #8E0000;
  font-size: 16px;
}

.product-comment-list-item .comment-content .comment-buttons a {
  color: #555;
  font-size: 14px;
  letter-spacing: -0.28px;
  line-height: 19px;
  margin-right: 8px;
}

.product-comment-list-item .comment-content .comment-buttons a .material-icons {
  font-size: 18px;
  cursor: pointer;
}

.comments-sort.products-sort-order.dropdown {
    border: 1px solid;
    padding: 7px;
    margin: 0 5px;
}

#gc-productratings-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 0px;
  transition: transform 0.3s ease-in-out;
}

.gc-productratings-list-wraper {
  overflow-x: hidden;
  position: relative;
}

#gc-productratings-pagination-info {
  display: none;
  text-align: right;
  color: #8A0000;
  font-size: 13px;
  line-height: 22px;
  margin-bottom: 10px;
}

/*
** Quickview style
*/

.product-quickview-review {
      display: flex;
    flex-wrap: nowrap;
    /* align-items: flex-start; */
    gap: 10px;
    overflow-x: hidden;
}

.product-quickview-review .grade-stars .star-content {
  margin: 0 0 0 0;
  top: 0;
}

/*
** Product list override
*/

#products .thumbnail-container.has-reviews:hover .highlighted-informations,
#products .thumbnail-container.has-reviews:focus .highlighted-informations,
.featured-products
  .thumbnail-container.has-reviews:hover
  .highlighted-informations,
.featured-products
  .thumbnail-container.has-reviews:focus
  .highlighted-informations,
.product-accessories
  .thumbnail-container.has-reviews:hover
  .highlighted-informations,
.featured-products
  .thumbnail-container.has-reviews:focus
  .highlighted-informations,
.product-miniature
  .thumbnail-container.has-reviews:hover
  .highlighted-informations,
.product-miniature
  .thumbnail-container.has-reviews:focus
  .highlighted-informations {
  height: 4.5rem;
}

#products
  .thumbnail-container.has-reviews:hover
  .highlighted-informations
  .variant-links,
#products
  .thumbnail-container.has-reviews:focus
  .highlighted-informations
  .variant-links,
.featured-products
  .thumbnail-container.has-reviews:hover
  .highlighted-informations
  .variant-links,
.featured-products
  .thumbnail-container.has-reviews:focus
  .highlighted-informations
  .variant-links,
.product-accessories
  .thumbnail-container.has-reviews:hover
  .highlighted-informations
  .variant-links,
.featured-products
  .thumbnail-container.has-reviews:focus
  .highlighted-informations
  .variant-links,
.product-miniature
  .thumbnail-container.has-reviews:hover
  .highlighted-informations
  .variant-links,
.product-miniature
  .thumbnail-container.has-reviews:focus
  .highlighted-informations
  .variant-links {
  min-height: 3.7rem;
}

#products
  .thumbnail-container.has-reviews:hover
  .highlighted-informations.no-variants,
#products
  .thumbnail-container.has-reviews:focus
  .highlighted-informations.no-variants,
.featured-products
  .thumbnail-container.has-reviews:hover
  .highlighted-informations.no-variants,
.featured-products
  .thumbnail-container.has-reviews:focus
  .highlighted-informations.no-variants,
.product-accessories
  .thumbnail-container.has-reviews:hover
  .highlighted-informations.no-variants,
.featured-products
  .thumbnail-container.has-reviews:focus
  .highlighted-informations.no-variants,
.product-miniature
  .thumbnail-container.has-reviews:hover
  .highlighted-informations.no-variants,
.product-miniature
  .thumbnail-container.has-reviews:focus
  .highlighted-informations.no-variants {
  height: 4.125rem;
}

#products
  .product-miniature
  .thumbnail-container.has-reviews
  .discount-amount.online-only,
#products
  .product-miniature
  .thumbnail-container.has-reviews
  .discount-percentage.online-only,
#products
  .product-miniature
  .thumbnail-container.has-reviews
  .on-sale.online-only,
#products
  .product-miniature
  .thumbnail-container.has-reviews
  .online-only.online-only,
#products .product-miniature .thumbnail-container.has-reviews .pack.online-only,
#products
  .product-miniature
  .thumbnail-container.has-reviews
  .product-flags
  .new.online-only,
.featured-products
  .product-miniature
  .thumbnail-container.has-reviews
  .discount-amount.online-only,
.featured-products
  .product-miniature
  .thumbnail-container.has-reviews
  .discount-percentage.online-only,
.featured-products
  .product-miniature
  .thumbnail-container.has-reviews
  .on-sale.online-only,
.featured-products
  .product-miniature
  .thumbnail-container.has-reviews
  .online-only.online-only,
.featured-products
  .product-miniature
  .thumbnail-container.has-reviews
  .pack.online-only,
.featured-products
  .product-miniature
  .thumbnail-container.has-reviews
  .product-flags
  .new.online-only,
.product-accessories
  .product-miniature
  .thumbnail-container.has-reviews
  .discount-amount.online-only,
.product-accessories
  .product-miniature
  .thumbnail-container.has-reviews
  .discount-percentage.online-only,
.product-accessories
  .product-miniature
  .thumbnail-container.has-reviews
  .on-sale.online-only,
.product-accessories
  .product-miniature
  .thumbnail-container.has-reviews
  .online-only.online-only,
.product-accessories
  .product-miniature
  .thumbnail-container.has-reviews
  .pack.online-only,
.product-accessories
  .product-miniature
  .thumbnail-container.has-reviews
  .product-flags
  .new.online-only {
  top: 11.5rem;
}

.product-list-reviews {
  position: absolute;
  top: -26px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  visibility: hidden;
}

.product-list-reviews .grade-stars .star-content {
  top: 1px;
}

.product-list-reviews .comments-nb {
  margin-left: 5px;
  font-size: 13px;
}

.product-comment-list-item .comment-answer {
  background-color: #fff;
  padding: 0.3rem;
  margin-bottom: 0;
  margin-top: 20px;
      min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#gc-productratings-list-header .comments-nb .material-icons {
  margin-right: 3px;
  color: #555;
}

#gc-productratings-list-footer .post-product-comment {
  width: fit-content;
  background-color: #8A0000;
}

@media (min-width: 768px) {
  #gc-productratings-list-footer {
    position: relative;
    min-height: 45px;
  }

  #gc-productratings-list-footer .post-product-comment {
    display: block;
  }

  #gc-productratings-list-pagination {
    position: absolute;
    right: 15px;
    top: 5px;
  }
}

#gc-productratings-list-pagination {
  height: 32px;
}

#gc-productratings-list-pagination ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

#gc-productratings-list-pagination ul li span {
  height: 32px;
  width: 24px;
  margin: 0 5px;
  cursor: pointer;
  display: block;
  text-align: center;
  font-size: 20px;
  line-height: 32px;
  color: #fff;
}

#gc-productratings-list-pagination ul li span.next,
#gc-productratings-list-pagination ul li span.prev {
  line-height: 25px;
}

#gc-productratings-list-pagination ul li.active span{
  font-weight: bold;
}

#gc-productratings-list-pagination ul li.disabled span {
  opacity: 0.3;
  cursor: not-allowed;
}

#gc-productratings-list-pagination ul li.active span {
  cursor: not-allowed;
}

.product-comment-list-item .images-wraper {
  display: flex;
}
.product-comment-list-item .images-wraper .img-item-box {
  margin-right: 5px;
}
.product-comment-list-item .images-wraper .img-item-box::last-child {
  margin-right: 0px;
}

@media (max-width: 991px) {
  #gc-productratings-pagination-info {
    display: block;
  }
  .product-comment-list-item.row {
    min-width: 50%;
  }
  .product-comment-list-item .comment-answer {
    min-height: unset;
  }
}

@media (max-width: 768px) {
  #gc-productratings-list-footer {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  #gc-productratings-list-pagination ul li span {
    color: #000;
  }
  .product-comment-list-item.row {
    min-width: 100%;
  }
  .product-comment-list-item.row .grade-stars {
    transform: scale(0.7);
    margin-right: -27px;
  }
  #gc-productratings-list-headline h2 {
/*    flex-direction: column;*/
/*    align-items: flex-start;*/
    font-size: 16px;
  }
  #gc-productratings-list-headline h2 .grade-stars {
    transform: scale(0.7);
    margin-left: -21px;
  }
  #gc-productratings-list-headline .grade-stars .star-content {
    margin: 0px;
  }
  #gc-productratings-list-headline .star-content div.star,
  #gc-productratings-list-headline .star-content div.star-on {
    margin: 0px 0px 0px 10px;
  }
}

@media (max-width: 576px) {
  #gc-productratings-list-footer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
  }

  #gc-productratings-list-pagination {
    margin-bottom: 10px;
  }
  #gc-productratings-list-pagination ul li span.next, #gc-productratings-list-pagination ul li span.prev {
    line-height: 28px;
  }
}
