/**
 * # Mizu Theme - A Minimalist Luxury Fashion and Beauty Theme
 *
 * @author         modstar.co.uk
 * @copyright      Copyright (C) 2025 modstar.co.uk. All rights reserved.
 * @license        https://modstar.co.uk/LICENSE.txt
 *
 * @name           Mizu Theme
 *
 * @version        1.0.0
 *
 * @description    Mizu theme is a minimal and modern multi-purpose Prestashop theme.
 *
 * @contact        support@modstar.co.uk
 *
 * ## Disclaimer of Warranty
 *
 * This Software is provided "as is", without warranty of any kind, express or implied, including but not limited to
 * the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the
 * authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract,
 * tort, or otherwise, arising from, out of, or in connection with the Software or the use or other dealings in the
 * Software.
 *
 * ## Copyright Notice
 *
 * This Software, including all text, graphics, software, and other content, is the property of modstar.co.uk and is
 * protected by UK and international copyright laws.
 *
 * The unauthorized reproduction or distribution of this copyrighted work, or any portion thereof, is strictly
 * prohibited and may result in civil and criminal penalties. Any use of this Software not expressly authorized by
 * modstar.co.uk may also violate trademark, privacy, and other applicable laws.
 *
 * modstar.co.uk reserves all rights not expressly granted in this copyright notice, including the right to take legal
 * action against any unauthorized use of this Software.
 *
 * For inquiries about licensing, permissions, or other usage rights, please contact: support@modstar.co.uk.
 *
 * Any use of this Software implies acceptance of the terms and conditions outlined in this copyright notice.
 *
 * Thank you for using this Software responsibly and respecting our intellectual property rights.
 *
 * Copyright © 2025 modstar.co.uk. All rights reserved.
 *
 * All other trademarks, logos and brand names are the property of their respective owners.
 */
/**
 *  Product comments CSS
 */

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

.btn-comment,
.btn-comment-inverse {
  background-color: transparent;
  padding: 0;
  text-decoration: underline;
}

.btn-comment-inverse {
  font-size: 0.8rem;
}

.btn-comment-big, .btn-comment-huge {
  height: 45px;
}

.link-comment {
  color: #232323;
}

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

#product-comments-list {
  display: grid;
  gap: 2rem 5rem;
  margin: 0 2rem 2rem;
}

/**
 * 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;
}

.post-product-comment {
  margin-bottom: 2rem;
  text-underline-offset: 3px;
  font-size: 0.875rem;
}

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

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

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

.product-comment-modal .modal-header .h2 {
  font-size: 0.875rem;
  font-weight: normal;
}

.product-comment-modal .modal-dialog {
  margin: 0;
}

.product-comment-modal .modal-dialog .modal-content {
  border: none;
  border-radius: 0;
  min-height: 100vh;
}

.product-comment-modal .modal-dialog .h3 {
  font-size: 0.875rem;
  font-weight: normal;
}

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

.product-comment-modal .modal-dialog .product-image {
  margin-bottom: 2rem;
}

.product-comment-modal .modal-dialog .product-cover,
.product-comment-modal .modal-dialog .product-cover img {
  max-width: 15rem;
  margin-left: auto;
  margin-right: auto;
}

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

#criterions_list li {
  margin-bottom: 1rem;
}

.product-comment-modal input {
  width: 100%;
  border: unset;
  border-bottom: 1px solid #232323;
  margin-bottom: 1rem;
}

.grade-stars input {
  border: none;
  color: transparent;
}

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

.product-comment-modal .btn-comment {
  font-size: 0.875rem;
}

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

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

.product-comment-modal .post-comment-buttons .btn-comment {
  width: 100%;
  text-decoration: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

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

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

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

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

/**
 *  Star component
 */

.star-content {
  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: 20px;
  height: 20px;
  background: url(../img/stars.png) no-repeat 0 0 transparent;
  flex: auto;
  margin-left: 3px;
  filter: grayscale(1) brightness(0.3);
}
.star-content div.star-on,
.star-content div.star-hover {
  background-position: -24px 0;
}

.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: 20px;
  min-width: 120px;
  display: inline-block;
  align-self: center;
}

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

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

.criterion-rating .grade-stars {
  align-self: unset;
}

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

#post-product-comment-modal .criterion-rating label {
  color: #363a41;
  font-size: 0.875rem;
  text-align: unset;
}

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

/**
 *  Product comments list
 */

#product-comments-list-header {
  padding: 0 1rem;
  color: #232323;
  margin-top: 2rem;
}

#product-comments-list-header .comments-note {
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
  padding: 2rem;
  font-size: 1rem;
  height: 12rem;
  justify-content: center;
  border: 1px solid #232323;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

#product-comments-list-header .comments-nb {
  padding-left: 0;
  padding-top: 3px;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: inherit;
  line-height: inherit;
  text-transform: uppercase;
}

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

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

#product-comments-list hr {
  width: calc(100% - 3rem);
}

.product-comment-list-item {
  padding: 0rem 1.5rem;
  background-color: #ffffff;
  text-align: left;
  border-left: 1px solid #232323;
  display: flex;
  flex-direction: column;
}

#empty-product-comment {
  padding: 0;
  width: fit-content;
  padding-left: 1rem;
  border: none;
}

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

.product-comment-list-item .comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.product-comment-list-item .comment-infos {
  color: #7a7a7a;
  font-size: 0.875rem;
}

.product-comment-list-item .comment-content {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-comment-list-item .comment-content .comment-author {
  margin-bottom: 1rem;
  margin-top: auto;
}

.product-comment-list-item .comment-content .h4 {
  height: 22px;
  color: #232323;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.product-comment-list-item .comment-content p {
  color: #7a7a7a;
  font-size: 0.9rem;
  letter-spacing: -0.28px;
  line-height: 19px;
  word-break: break-word;
  white-space: pre-wrap;
  font-weight: 400;
}

.product-comment-list-item .comment-content .comment-buttons a {
  color: #aaa;
  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;
}

.product-comment-list-item .comment-content .comment-buttons a .material-icons:hover {
  color: #232323;
}

/*
** 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
  .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;
  left: 0;
  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-comments-list-footer {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

@media (min-width: 576px) {
  #product-comments-list-header .comments-note {
    margin-bottom: 4rem;
  }

  #product-comments-list-header {
    margin-top: 4rem;
  }

  #product-comments-list {
  }

  #product-comments-list hr {
    width: calc(100% - 5rem);
  }
}

@media (min-width: 768px) {
  #product-comments-list-header .comments-nb {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .post-product-comment {
    margin-bottom: 4rem;
    font-size: 0.9rem;
  }

  #product-comments-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    margin-bottom: 4rem;
    gap: 3rem 5rem;
  }

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

}

@media (min-width: 992px) {
  #product-comments-list-header {
    padding: 0 2rem;
  }

  #empty-product-comment {
    padding-left: 2rem;
  }

  #product-comments-list {
    margin-left: 14rem;
    margin-right: 14rem;
  }
}

@media (max-width: 768px) {
  #product-comments-list-pagination {
    margin-bottom: 10px;
  }
}

#product-comments-list-pagination ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

#product-comments-list-pagination ul li span {
  height: 32px;
  width: 24px;
  margin: 0 5px;
  cursor: pointer;
  display: block;
  text-align: center;
  font-size: 0.875rem;
  line-height: 32px;
  color: #232323;
}

#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 {
}

#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;
  text-decoration: underline;
  text-underline-offset: 6px;
}

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

