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

.btn-comment,
.btn-comment-inverse {
    background-color: #e9bc40;
    color: rgba(13, 19, 35, 0.85);;
    font-size: 1.1rem;;
    font-weight: 600;
    padding: 13px 20px 10px!important;
    border: 2px solid #e9bc40;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.product-comment-modal .btn-comment, .btn-comment-inverse {
	padding: 12px 30px!important;
}

.btn-comment .material-icons,
.btn-comment-inverse .material-icons {
  font-size:16px;
  margin-right: 2px;
  position: relative;
  top: -1px;
}

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

.btn-comment-inverse {
  background-color: #ffffff;
  color: #363a41;
  border: 1px solid #979797;
}
.btn-comment-inverse:hover {
  background-color: #6b868f;
  border: 1px solid #6b868f;
  color: #ffffff;
}

.product-comment-modal .btn-comment-inverse {
    background-color: #ffffff;
    color: rgba(13, 19, 35, 0.85);
    border: 1px solid rgba(13, 19, 35, 0.85);
  }

.product-comment-modal .btn-comment-inverse:hover {
	background-color: #A7190F;
	border: 1px solid #A7190F;
	color: #ffffff;
}


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

.link-comment {
  color: #232323;
}

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

/**
 * Additional product infos
 */

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

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

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

.product-comments-list__wrapper .comments-note {
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0 5px;
}

#empty-product-comment:not([style*="display: none"]) + .product-comments-list__wrapper {
    display: none;
}

.comments-note__icon {
    display: block;
    width: 26px;
    margin-bottom: 10px;
}

.comments-note__title {
    font-weight: 500;
}

/**
 *  Post comment modal
 */
.product-comment-modal .modal-header {
  border: none;
  padding: 30px 30px 15px;
  display: flex;
  justify-content: space-between;
}

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

.product-comment-modal .modal-header .h2 {
    float: none;;
    font-size: 3rem;
    color: rgba(13, 19, 35, 0.85);
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap:6px 0;
}

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

#product-comment-posted-modal-message {
    text-align: center;
}

.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;
}

.product-comment-modal label.form-label {
	font-size: 1.4rem;
	margin: 0 0 5px;
	font-weight: 500;
}

.product-comment-modal input {
  width: 100%;
  height: 44px;
  border: 1px solid #DAE0E5;
  padding: 0 10px;
  transition: all 0.3s ease;
  color: rgba(13, 19, 35, 0.85);
}

.product-comment-modal textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid #DAE0E5;
  margin-bottom: 10px;
  padding: 10px 10px;
  transition: all 0.3s ease;
  color: rgba(13, 19, 35, 0.85);
}

.product-comment-modal input:focus,
.product-comment-modal textarea:focus,
.product-comment-modal input:hover,
.product-comment-modal textarea:hover {
  border: 1px solid #BCC7CF;
  outline: none;
}

.product-comment-modal .btn-comment,
.product-comment-modal .btn-comment-inverse {
	font-size: 1.3rem;
	font-weight: 500;
}

.product-comment-modal sup.required {
	font-size: 12px;
	margin-left: 1px;
	top: 0;
    color: #ab4746;
}

.product-comment-modal .post-comment-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 30px;
  gap: 0 10px;
}

#product-comment-posted-modal .post-comment-buttons .btn-comment,
#product-comment-post-error .post-comment-buttons .btn-comment,
#update-comment-usefulness-post-error .post-comment-buttons .btn-comment {
    padding: 12px 18px;
}

#product-comment-posted-modal .post-comment-buttons,
#product-comment-post-error .post-comment-buttons,
#update-comment-usefulness-post-error .post-comment-buttons {
    margin-top: 22px;
    justify-content: center;
}

.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;
  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: 16px;
    height: 16px;
    background: url(../img/stars.png) no-repeat 0 0 transparent;
    background-size: 32px 16px;
    flex: auto;
    margin-left: 2px;
}

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

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

.star-content div.star:first-child,
.star-content div.star-on:first-child,
.star-content div.star-hover:first-child,
.small-stars .star-content div.star:first-child,
.small-stars .star-content div.star-on:first-child,
.small-stars .star-content div.star-hover:first-child {
    margin-left: 0;
}

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

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

#post-product-comment-form .grade-stars {
  top: 3px;
}

.comments-note .grade-stars {
    bottom: 1px;
}

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

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

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

#post-product-comment-modal .star-content div.star a {
  display: block;
  position: absolute;
  text-indent: -5000px;
}
#post-product-comment-modal .criterion-rating {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 0 5px;
}

#post-product-comment-modal .criterion-rating label {
  color: rgba(13, 19, 35, 0.85);
  font-size: 2rem;
  font-weight: 500;
}

#ratingNotChosen {
  font-size: smaller;
  color: #A7190F;
}

#post-product-comment-form input.error,
#post-product-comment-form textarea.error {
  background-color: #FEF2F3;
  border: solid 1px #A7190F;
}


/**
 *  Product comments list
 */

 #product-comments-list {
    margin-top: 20px;
 }

#product-comments-list-header {
    margin: 40px 0 0;
    padding-top: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

#product-comments-list-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #e9bc40;

}

#product-comments-list-header .comments-nb {
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(13, 19, 35, 0.85);;
}

#product-comments-list-header .comments-nb .material-icons {
    color: #e9bc40;
    font-size: 3rem;
    margin-bottom: 7px;
    display: none;
}

#product-comments-list .btn-comment {
  margin: 0 auto;
  display: block;
}

.product-comment-list-item {
  display: flex;
  justify-content: space-between;
}

#empty-product-comment.product-comment-list-item {
    margin-top: 20px;
}

#product-comments-list .product-comment-list-item {
	margin: 10px 0 0;
	background: white;
	border: 1px solid #DAE0E5;
	padding: 20px;
}

#product-comments-list .product-comment-list-item:first-child {
	margin: 0;
}

#product-comments-list-footer {
    padding-bottom: 40px;
    border-bottom: 1px solid #DAE0E5;
}

#empty-product-comment {
  text-align: center;
}

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

.product-comment-list-item .comment-infos {
  width: 130px;
  min-width: 130px;
  line-height: 19px;
}

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

.comment-content {
    padding-left: 20px;
    border-left: 1px solid #DAE0E5;
    width: calc(100% - 130px - 20px);
}

.product-comment-list-item .comment-content .h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(13, 19, 35, 0.85);;
}

.product-comment-list-item .comment-content p {
  line-height: 19px;
  word-break: break-word;
  white-space: pre-wrap;
  color: rgba(13, 19, 35, 0.85);;
}

.product-comment-list-item .comment-content .comment-buttons {
    margin-top: 15px;
}

.product-comment-list-item .comment-content .comment-buttons a {
  color: #c2c8cc;
  font-size: 1.3rem;
  margin-right: 8px;
}

.product-comment-list-item .comment-content .comment-buttons a .material-icons {
  font-size: 16px;
  cursor: pointer;
  position: relative;
  top: -2px;
}
.product-comment-list-item .comment-content .comment-buttons a .material-icons.thumb_down {
  top: -1px;
}

/*
** Quickview style
*/

.product-quickview-review {
  display: flex;
  flex-direction: row;
}

.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 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    visibility: hidden;
}

.product-list-reviews .comments-nb {
  margin-left: 3px;
  font-size: 1.2rem;
}

#product-comments-list-footer .post-product-comment {
    margin: 14px 0 0 auto;
    display: block;
}

@media (min-width: 960px) {
  #product-comments-list-footer {
    position: relative;
    min-height: 45px;
  }



  #product-comments-list-pagination {
    position: absolute;
    right: 0;
    top: 5px;
  }
}

@media (max-width: 960px) {
  #product-comments-list-footer {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}

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

  #product-comments-list-pagination {
    margin-bottom: 10px;
  }

    #product-comments-list-footer .post-product-comment {
        margin: 14px auto 0;
        display: block;
    }
}


#product-comments-list-pagination {
	height: 32px;
	position: initial;
	display: flex;
	justify-content: flex-end;
    margin-top: 10px;
}

#product-comments-list-pagination ul {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: fit-content;
    gap: 0 5px;
}

#product-comments-list-pagination ul li span {
  height: 32px;
  width: 32px;
  margin: 0;
  cursor: pointer;
  display: block;
  text-align: center;
  font-size: 1.2rem;
  line-height: 29px;
  color: #9da4a8;
  border: 1px solid #DAE0E5;
  background-color: #fff;
}

#product-comments-list-pagination ul li.active span,
#product-comments-list-pagination ul li span.next i,
#product-comments-list-pagination ul li span.prev i {
  font-weight: 500;
}

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

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

#product-comments-list-pagination ul li.hidden {
  display: none;
}

.product-note-information__wrapper-comments {
    display: flex;
    gap: 0 5px;
    align-items: center;
}

.product-note-information__wrapper-comments .comments-note__icon,
.product-note-information__wrapper-comments .comments-note__title {
    display: none;
}

.product-note-information__wrapper-comments .comments-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    padding: 0;
    border-radius: 0;
    border: none;
}

.product-note__link {
    color: rgba(13, 19, 35, 0.85);
    text-decoration: underline;
    transition: all 0.2s ease;
}

.product-note__link:hover {
    color: #A7190F !important;
    text-decoration: underline;
}

.product-note__link:focus {
    color: rgba(13, 19, 35, 0.85);
    text-decoration: underline;
}

.product-note__link:focus:hover {
    color: #A7190F;
}

.global-note_wrapper ul {
    display: flex;
    gap: 10px 0;
    flex-direction: column;
    margin-bottom: 20px;
}

.global-note_wrapper ul li {
	width: fit-content;
}

#post-product-comment-form .form-row {
	margin: 30px 0 20px;
	display: flex;
	justify-content: space-between;
	gap: 0 20px;
}

#post-product-comment-form .form-row .form-group {
	margin: 0;
	flex: 1;
}

.product-comment-modal .psgdpr_consent_message {
    font-size: 1.2rem;
}

#product-comments-list-pagination .material-icons {
	font-size: 18px;
	position: relative;
	right: 0.5px;
	bottom: 1.5px;
}

@media (max-width: 1199px) {

    .product-comment-list-item .comment-content .comment-buttons {
	    margin-top: 24px;
    }
    
}

@media (max-width: 991px) {

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

}