:root {
  --wsr-stars-color: #f5a400;
  --wsr-verified-color: #ffe769;
  --wsr-buttons-color: #2fb5d2;
}

#product_review_block_extra {
  padding: 0;
  margin: 12px 0;
  background: inherit;
  font-size: 12px;
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  /* 12px between stars and buttons when the buttons wrap below, 20px side by side. */
  gap: 12px 20px;
}

.ws_stars_wrapp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

#product_review_block_extra .star_content {
  display: flex;
  align-items: center;
  line-height: 0;
  margin-right: 0;
}

#product_review_block_extra .star_content a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.review_count_extra {
  display: flex;
  align-items: center;
  line-height: 1;
  font-size: 14px;
}

#product_review_block_extra .comments_advices {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#product_review_block_extra .comments_advices li {
  margin: 0;
  list-style: none;
}

/* "Read reviews": a text link next to the stars (secondary action), in both buttons styles. */
#product_review_block_extra .comments_advices a.reviews {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  white-space: nowrap;
}

#product_review_block_extra .comments_advices a.reviews:hover,
#product_review_block_extra .comments_advices a.reviews:focus {
  color: inherit;
  text-decoration-thickness: 2px !important;
}

/* "Write a review": a small button (btn-sm), so it does not compete with "Add to cart".
   Theme style: the theme's .btn-primary.btn-sm; the module look only under .wsr-btns-module. */
#product_review_block_extra .comments_advices .open-ws-review-form,
.comments_advices .open-ws-review-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
}

#product_review_block_extra.wsr-btns-module .comments_advices .open-ws-review-form,
.wsr-btns-module .comments_advices .open-ws-review-form {
  box-sizing: border-box;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--wsr-buttons-color, #2fb5d2);
  border-radius: 8px;
  background: var(--wsr-buttons-color, #2fb5d2);
  box-shadow: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

#product_review_block_extra.wsr-btns-module .comments_advices .open-ws-review-form:hover,
#product_review_block_extra.wsr-btns-module .comments_advices .open-ws-review-form:focus,
.wsr-btns-module .comments_advices .open-ws-review-form:hover,
.wsr-btns-module .comments_advices .open-ws-review-form:focus {
  background: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  border-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  color: #fff;
  outline: none;
}

#product_review_block_extra .comments_advices a.reviews:focus-visible,
.wsr-btns-module .comments_advices .open-ws-review-form:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 45%, transparent);
  outline-offset: 2px;
}

#product_review_block_extra .comments_advices .ws-pr-icon,
.comments_advices .open-ws-review-form .ws-pr-icon {
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 0;
  color: inherit;
}

#product_review_block_extra .comments_advices .ws-pr-icon svg,
.comments_advices .open-ws-review-form .ws-pr-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

.hidden {
  display: none;
}

.visually-hidden {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-break: normal;
}

/* WS_MODAL */

.ws_modal_open {
  overflow: hidden;
}

.ws_modal_review {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
}

.ws_modal_backdrop {
  background: #000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  opacity: 0;
}

.ws_modal_open .ws_modal_review {
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 1;
  /* Above sticky / fixed theme headers (Bootstrap 1020-1030, some themes 9999):
     the backdrop covers the whole page, the header included, and the dialog is on top. */
  z-index: 100000;
}

.ws_modal_open .ws_modal_backdrop {
  opacity: 0.5;
}

.ws_modal_dialog {
  position: relative;
  color: #000;
  background: #fff;
  max-width: 650px;
  width: calc(100% - 40px);
  margin: 56px auto;
  z-index: 9999;
}

.ws_modal_close {
  position: absolute;
  right: -24px;
  top: 0px;
  width: 22px;
  height: 22px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.4s;
}

.ws_modal_close:before,
.ws_modal_close:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 19px;
  height: 3px;

  background-color: #d0d0d0;
}

.ws_modal_close:before {
  transform: rotate(45deg);
}

.ws_modal_close:after {
  transform: rotate(-45deg);
}

.ws_modal_close:hover {
  transform: rotate(90deg);
  background-color: transparent;
}

.ws_modal_content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.ws_modal_product {
  max-width: 40%;
  padding: 20px;
  text-align: right;
}

.ws_modal_product img {
  max-width: 100%;
}

.ws_modal_product_name {
  padding-top: 24px;
}

.ws-form__title {
  font-size: 14px;
}

.ws_modal_form_content {
  max-width: 60%;
  padding: 20px 20px 0;
}

.ws_product_voucher > i {
  display: inline-block;
  vertical-align: top;
}

.ws_product_voucher > p {
  display: inline-block;
  max-width: 84%;
  margin-bottom: 0;
  padding-left: 6px;
  color: inherit;
}

.ws_product_voucher small {
  padding-left: 30px;
  color: #878787;
}

.ws_modal_form_content .form-control-label {
  font-size: 14px;
  padding-top: 0.625rem;
  margin-bottom: 0.5rem;
}

.ws_modal_form_content .form-control,
#id_new_review_form input.form-control,
#id_new_review_form textarea.form-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  color: #333;
}

.ws_modal_form_content .form-control:focus,
#id_new_review_form input.form-control:focus,
#id_new_review_form textarea.form-control:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 1px #333;
}

.ws_modal_form_content textarea.form-control,
#id_new_review_form textarea.form-control {
  min-height: 145px;
  resize: vertical;
}

.ws_review_recommend {
  display: flex;
}

.ws_review_recommend > p {
  margin-bottom: 0px;
}

.yes-ws_review {
  padding-right: 18px;
}

.ws_modal_form_content input#file {
  padding: 0;
  border: 0;
  overflow: hidden;
}

.ws_modal_form_content .btn {
  margin-left: -4px;
}

.ws_modal_form_content button.delete_attach_btn {
  margin-left: 6px;
  padding: 2px 6px;
}

.ws_gdrp {
  width: 100%;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

.ws_modal_footer {
  text-align: right;
  padding: 20px;
}

.ws_modal_buttons {
  margin-bottom: 0px;
}

#file-add-button,
.ws_modal_review .add_photo_btn,
.ws-file-upload .add_photo_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--wsr-buttons-color, #2fb5d2);
  background: var(--wsr-buttons-color, #2fb5d2);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 24%, transparent);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#file-add-button:hover,
.ws_modal_review .add_photo_btn:hover,
.ws-file-upload .add_photo_btn:hover,
#file-add-button:focus,
.ws_modal_review .add_photo_btn:focus,
.ws-file-upload .add_photo_btn:focus {
  background: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  border-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 30%, transparent);
  transform: translateY(-1px);
  outline: none;
}

/* Send (+ other primary buttons of the review forms): module look only for .wsr-btns-module */
.wsr-btns-module #submitWsReview,
.wsr-btns-module .ws_modal_footer .btn-primary,
.wsr-btns-module .ws-form input.btn-primary,
.wsr-btns-module .ws-form .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--wsr-buttons-color, #2fb5d2);
  background: var(--wsr-buttons-color, #2fb5d2);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 24%, transparent);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  font-weight: 500;
  color: #fff;
}

.wsr-btns-module #submitWsReview:hover,
.wsr-btns-module .ws_modal_footer .btn-primary:hover,
.wsr-btns-module .ws-form input.btn-primary:hover,
.wsr-btns-module .ws-form .btn-primary:hover,
.wsr-btns-module #submitWsReview:focus,
.wsr-btns-module .ws_modal_footer .btn-primary:focus,
.wsr-btns-module .ws-form input.btn-primary:focus,
.wsr-btns-module .ws-form .btn-primary:focus {
  background: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  border-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 30%, transparent);
  transform: translateY(-1px);
  outline: none;
}

.wsr-btns-module .ws_modal_close_link {
  color: inherit;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.wsr-btns-module .ws_modal_close_link:hover,
.wsr-btns-module .ws_modal_close_link:focus {
  color: var(--wsr-buttons-color, #2fb5d2);
  outline: none;
}

/* TAB COMMENTS ******************************************************************************** */
#product_reviews_block_tab {
  margin-left: auto;
  padding: 0px;
  flex-grow: 1;
  font-size: 14px;
  max-width: 100%;
}

/* gap: 14px between author and text when they wrap under each other,
   15px between them side by side — the only spacing between the two blocks. */
#product_reviews_block_tab .comment_wrapp {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  gap: 14px 15px;
}

/* Outer review row: product image | (author + text) | customer photos below */
#product_reviews_block_tab .comment {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin: 0 0 40px;
  padding: 0 0px 28px 0px;
  border-bottom: 1px solid #c4c4c4;
}

/* The card's own padding closes the list. */
#product_reviews_block_tab .comment:last-child {
  margin-bottom: 0;
}

#product_reviews_block_tab .comment__product-img {
  flex: 0 0 auto;
  width: 140px;
  max-width: 140px;
  padding: 0;
  margin: 0;
}

#product_reviews_block_tab .comment__product-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* No padding here or on .comment_details: spacing is the .comment_wrapp gap,
   so stacked blocks stay left-aligned. */
#product_reviews_block_tab .comment_author {
  flex-shrink: 0;
}

#product_reviews_block_tab .comment_details {
  flex-grow: 1;
  min-width: 0;
  padding-left: 0;
}

/* Customer photos sit on a new row, full width — tight top gap */
#product_reviews_block_tab .comment > .ws_customers_imgs {
  flex: 1 1 100%;
  width: 100%;
  margin: -10px 0 0;
}

#product_reviews_block_tab .comment > .ws_customers_imgs .ws_carousel--simple {
  margin-top: 0;
}

#product_reviews_block_tab .comment_author span {
  font-weight: bold;
}

#product_reviews_block_tab .comment_grade_wrapp {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

#product_reviews_block_tab div.star_on {
  background-position: 0 -12px;
}

#product_reviews_block_tab .comment_author_infos em {
  color: #999;
}

#product_reviews_block_tab .title_block,
#product_reviews_block_tab h4 {
  padding-bottom: 10px;
}

#product_reviews_block_tab div.comment_details p {
  padding-bottom: 10px;
}

.comment_details_content {
  padding-right: 14px;
}

.recommended {
  display: flex;
  padding-bottom: 8px;
  padding-bottom: 8px;
  align-items: center;
}

#product_reviews_block_tab .helpful {
  list-style-type: none;
  margin: 14px 0 0;
  padding: 12px;
  background-color: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
}

#product_reviews_block_tab .helpful:empty {
  display: none;
}

.helpful li {
  min-width: 116px;
}

#product_reviews_block_tab a {
  font-weight: bold;
}

#product_reviews_block_tab a:hover {
  text-decoration: underline;
}

#product_reviews_block_tab button.usefulness_btn {
  cursor: pointer;
  margin: 5px 5px 0 0px;
  display: inline-block;
  padding: 0 2px;
  border: none;
  color: #000;
  font-weight: normal;
  text-shadow: none;
  background: none;
}

#product_reviews_block_tab span.report_btn {
  cursor: pointer;
  line-height: 2;
}

#product_reviews_block_tab span.report_btn:hover {
  text-decoration: underline;
}

#uniform-file {
  display: none;
}

.star_content {
  overflow: hidden;
}

#ws_img_carousel,
.comment_img_list {
  display: grid;
  margin: 14px 0;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

#ws_img_carousel img {
  cursor: pointer;
  max-width: 100%;
}

.alert-success .form-group {
  display: inline-block;
  margin-bottom: 0;
}

/* HOME WIDGET (legacy markup; new widget uses .reviews-carousel-item__*) */
.products-block-image {
  grid-row: span 2;
}

.reviews-carousel-item .review_title,
.reviews-carousel-item .reviews-carousel-item__headline {
  font-weight: bold;
  padding-left: 0;
  font-size: 16px;
}

.reviews-carousel-item blockquote:not(.reviews-carousel-item__quote) {
  display: block;
}

.reviews-carousel-item .reviews-carousel-item__readmore {
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
  font-size: 16px;
  color: var(--wsr-buttons-color, #2fb5d2);
}

.reviews-carousel-item .reviews-carousel-item__readmore:hover {
  text-decoration: underline;
  color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
}

ul.product_list.grid
  > li
  .product-container
  .hook-reviews
  .comments_note
  .star_content {
  padding: 4px 6px 0;
  width: auto;
  min-width: 0;
  float: none;
  margin: 0;
  text-align: center;
}

.comments_note .star_lable {
  line-height: 2;
}

#reviews_section .ws-pr-icon svg {
  width: 20px;
}

.rating > span:hover:before,
.rating > span:hover ~ span:before {
  width: 20px;
}

#reviews_section .ws-pr-icon.no_custom_color {
  color: #999;
}

.ajax_block_product h5 {
  clear: both;
}

.ajax_block_product .star_label {
  margin: 0;
  text-align: center;
}

.star_content .star {
  cursor: default;
  margin: 0 1px 0 0;
}

.star_content .review_filtre .star {
  cursor: pointer;
}

.star {
  position: relative;
  top: -1px;
  float: left;
  width: 14px;
  overflow: hidden;
  cursor: pointer;
  font-size: 14px;
  font-weight: normal;
}

.star {
  display: block;
}

.star a {
  display: block;
  position: absolute;
  text-indent: -5000px;
}

/* Legacy div.star / span.star (Font Awesome) removed — storefront uses .ws-pr-star-* SVG partials. */

span.star:after,
div.star:after {
  content: none;
  display: none;
}

span.star.star_on:after,
div.star.star_on:after,
span.star.star_hover:after,
div.star.star_hover:after {
  content: none;
  display: none;
}

div.star.icon-star-half:after,
div.star.icon-star-half:before {
  content: none;
  display: none;
}

.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 0px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.well blockquote {
  border-color: #ddd;
  border-color: rgba(0, 0, 0, 0.15);
}

.well-lg {
  padding: 24px;
  border-radius: 6px;
}

.well-sm {
  padding: 9px;
  border-radius: 3px;
}

ul.product_list .comments_note {
  width: 100%;
  overflow: inherit;
}

.star_content .star {
  cursor: default;
  margin: 0 1px 0 0;
}

/* Inner spacing of the reviews card (summary + list): shrinks with the screen
   instead of disappearing, so the content never touches the edges on phones. */
#reviews_section_wrap {
  display: flex;
  background: #fff;
  padding: clamp(12px, 2.5vw, 24px);
  /* Space between the summary and the list, side by side or stacked. */
  gap: clamp(20px, 3vw, 34px);
}

#reviews_section_wrap p {
  color: #333a40;
}

.star_label {
  margin-top: 4px;
  margin-left: 0;
}

/* Outer spacing comes from #reviews_section_wrap (padding + gap). */
.score-chart-holder {
  text-align: left;
  padding: 0;
  flex-shrink: 1;
  flex-basis: 300px;
  min-width: 300px;
}

/* No top padding: the summary starts at the same height as the sort bar. */
.score-chart-holder h3 {
  padding: 0 0 16px;
  margin-top: 0;
  margin-bottom: 0;
}

.score-chart-holder .score {
  margin: 0 0 14px;
  font-size: 34px;
  font-family: inherit;
  font-weight: 700;
}

.score-chart-top-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.score-chart-top-container .reviews-number {
  margin: 6px 0 0;
  line-height: 1.4;
}

.rating-holder {
  display: flex;
  align-items: center;
  line-height: 0;
  position: relative;
  background-color: transparent;
}

.rating-holder .star_content {
  display: flex;
  align-items: center;
  line-height: 0;
}

.rating-graph-container_17 ul {
  padding-left: 0px;
}

.rating-graph-container {
  margin: 14px auto;
  width: 124px;
}

.rating-graph-container_17 li,
.rating-graph-container li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

.rating-graph-container_17 .star_content,
.rating-graph-container .star_content {
  display: flex;
  align-items: center;
  line-height: 0;
  margin-right: 0;
  min-width: auto;
  flex: 0 0 auto;
}

body .star_content {
  min-width: 113px;
}

.rating-graph-note {
  display: flex;
  align-items: center;
  line-height: 1;
  font-size: 14px;
  min-width: auto;
  flex: 0 0 auto;
}

.rating-graph-container .rating-graph-note {
  line-height: 1;
  font-size: 13px;
}

#reviews_section .rating-graph-container_17 li > .rating-graph-note:first-child,
#reviews_section .rating-graph-container li > .rating-graph-note:first-child {
  min-width: 1.1em;
}

#reviews_section .rating-graph-container_17 li > .rating-graph-note:last-child,
#reviews_section .rating-graph-container li > .rating-graph-note:last-child {
  min-width: 2.2em;
}

#reviews_section .rating-graph-container_17 .star_content,
#reviews_section .rating-graph-container .star_content {
  min-width: unset;
}

#reviews_section .rating-graph-container_17 .ws-pr-star-row,
#reviews_section .rating-graph-container .ws-pr-star-row {
  font-size: 14px;
}

#reviews_section .score-chart-top-container .ws-pr-star-row {
  font-size: 18px;
}

/* .btn.open-ws-review-form (old reviews block) removed in 5.0.5: the button now takes the
   theme .btn-primary look, or the module look under .wsr-btns-module (reviews-list.css). */

.helpful .button.button-small span {
  display: block;
  padding: 3px 8px 3px 8px;
  border: 1px solid #8b8a8a;
  border-radius: 5px;
}

.helpful .button.button-small span:hover {
  background: #fffbed;
}

.nav-review {
  border-bottom: 1px solid #ececec;
  margin-bottom: 16px;
  padding: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.nav-review.nav_review--bottom {
  border-bottom: 0;
  border-top: 1px solid #ececec;
  justify-content: flex-end;
  margin-top: 18px;
  margin-bottom: 0;
  padding-top: 14px;
  padding-bottom: 0;
}

.paging-container,
.sortby-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sortby-container .label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

#sortingOrder {
  min-height: 40px;
  height: auto;
  padding: 8px 36px 8px 12px;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#sortingOrder:hover {
  border-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 35%, transparent);
}

#sortingOrder:focus {
  border-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 15%, transparent);
  outline: none;
}

.nav-review a,
.nav-review .paging-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.nav-review .paging-ellipsis {
  min-width: auto;
  padding: 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #6b7280;
}

.nav-review a:hover,
.nav-review a:focus {
  text-decoration: none;
  border-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 35%, transparent);
  color: var(--wsr-buttons-color, #2fb5d2);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  outline: none;
}

.nav-review a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 45%, transparent);
  outline-offset: 2px;
}

.nav-review a.paging-selected {
  background: var(--wsr-buttons-color, #2fb5d2);
  border-color: var(--wsr-buttons-color, #2fb5d2);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 24%, transparent);
}

.nav-review a.paging-selected:hover,
.nav-review a.paging-selected:focus {
  background: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  border-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  color: #fff;
}

.nav-review a.paging-prev,
.nav-review a.paging-next {
  min-width: 40px;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .nav-review {
    flex-direction: column;
    align-items: stretch;
  }

  .sortby-container,
  .paging-container {
    width: 100%;
    justify-content: space-between;
  }

  #sortingOrder {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-review a,
  .nav-review .paging-ellipsis {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 7px;
  }

  .nav-review a.paging-prev,
  .nav-review a.paging-next {
    min-width: 36px;
  }
}

#reviewscarousel-column .widget_photo img {
  width: 100%;
}

.reviews_section_17 .label {
  display: block;
  padding-right: 16px;
}

.respond {
  margin: 14px 20px 14px 0;
  padding: 14px 18px;
  background: #d0f3de;
}

.review_filtre_label--active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35em;
}

.review_filtre_label--active .review_filtre_label__text {
  margin: 0;
}

.review_filtre_label--active .review_filtre_reset {
  text-decoration: underline;
}

.review_filtre {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  width: auto;
  cursor: pointer;
  padding: 0;
}

.review_filtre_current,
.rating-graph-container li:hover,
.rating-graph-container_17 li:hover {
  background: #e9e9e8;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  padding-top: 6px;
}

.verified_label {
  line-height: 1.2;
}

.verified_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  line-height: 1;
  box-sizing: border-box;
  overflow: hidden;
}

#product_reviews_block_tab .comment .verified .verified_icon i {
  color: #fff;
  font-size: 12px;
  width: 11px;
}

#product_reviews_block_tab .comment .verified .verified_icon .ws-verified-svg,
#reviews_section .verified .verified_icon .ws-verified-svg,
#module-ws_productreviews-default .verified .verified_icon .ws-verified-svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

#product_reviews_block_tab .comment .verified .verified_icon .fa,
#reviews_section .verified .verified_icon .fa {
  color: #fff;
  font-size: 12px;
}

.ws-verified-classic-check {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  vertical-align: middle;
}

.rating-graph-container_17,
.rating-graph-container {
  color: #999;
  font-size: 14px;
  margin: 14px 0;
  width: auto;
  max-width: 100%;
}

#reviews_section .review_filtre_label {
  margin: 0 0 8px;
  line-height: 1.4;
}

#reviews_section #ws_reviewList {
  padding: 0 15px;
}

#reviews_section #ws_reviewList .align_center {
  text-align: left;
  margin: 0;
}

.idTabHrefShort.page-product-heading {
  font-size: 1.25rem;
  margin: 30px 10px 25px;
}

#review_head {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid;
}

#review_head > span {
  font-size: 28px;
}

#review_head .all_review {
  font-size: 16px;
  color: #000;
  text-decoration: none;
  font-weight: normal;
  line-height: 1.8;
}

#review_head .all_review:hover {
  color: #555454;
}

#criterions_review_list,
.ws-review-form__criterions {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

#criterions_review_list .criterion,
.ws-review-form__criterions .criterion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#criterions_review_list .criterion__wrapper,
.ws-review-form__criterions .criterion__wrapper {
  margin-left: 14px;
  line-height: 1;
  font-size: 30px;
  position: relative;
  min-width: 125px;
  overflow: visible;
}

#criterions_review_list .criterion__wrapper:before {
  content: none;
}

#criterions_review_list .criterion__items,
.ws-review-form__criterions .criterion__items {
  display: flex;
  flex-direction: row-reverse;
  position: relative;
  width: 100%;
}

#criterions_review_list .criterion__item,
.ws-review-form__criterions .criterion__item {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  visibility: hidden;
}

#criterions_review_list .criterion__label,
.ws-review-form__criterions .criterion__label {
  flex: 0 0 20%;
  height: 100%;
  width: 100%;
  font-size: inherit;
  font-weight: normal;
  cursor: pointer;
  margin: 0;
  color: #d9d9d9;
}

#criterions_review_list .criterion__label:before,
.ws-review-form__criterions .criterion__label:before {
  content: "★";
  display: block;
  color: inherit;
  transition: color 0.2s ease 0s;
}

#criterions_review_list .criterion__item:checked ~ .criterion__label,
#criterions_review_list .criterion__label:hover,
#criterions_review_list .criterion__label:hover ~ .criterion__label,
.ws-review-form__criterions .criterion__item:checked ~ .criterion__label,
.ws-review-form__criterions .criterion__label:hover,
.ws-review-form__criterions .criterion__label:hover ~ .criterion__label {
  color: var(--wsr-stars-color, #ffd222);
}

#criterions_review_list .criterion__items:hover .criterion__item:checked ~ .criterion__label,
.ws-review-form__criterions .criterion__items:hover .criterion__item:checked ~ .criterion__label {
  color: #d9d9d9;
}

#criterions_review_list .criterion__items:hover .criterion__label:hover,
#criterions_review_list .criterion__items:hover .criterion__label:hover ~ .criterion__label,
.ws-review-form__criterions .criterion__items:hover .criterion__label:hover,
.ws-review-form__criterions .criterion__items:hover .criterion__label:hover ~ .criterion__label {
  color: var(--wsr-stars-color, #ffd222) !important;
}

#criterions_review_list .star_content .star {
  cursor: pointer;
}

#criterions_review_list div.radio {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  visibility: hidden;
}

.total_advice {
  line-height: 2;
}

#product_reviews_block_tab.review_in_tab {
  width: 100%;
  margin: 0;
}

.yes-ws_review label,
.yes_ws_recommend {
  color: #4cbb6c;
  font-weight: bold;
  font-size: 14px;
}

.no_ws_recommend,
.no-ws_review label {
  color: inherit;
  font-weight: bold;
  font-size: 14px;
}

.yes-ws_review .ws-pr-icon,
#ws_reviewList .yes_ws_recommend .ws-pr-icon,
#ws_reviewList .no_ws_recommend .ws-pr-icon,
.no-ws_review .ws-pr-icon {
  padding: 0 4px;
  font-size: 20px;
  width: auto;
  min-width: 26px;
  color: #4cbb6c;
}

#idTab15 {
  display: flex;
  flex-flow: row;
}

@media all and (max-width: 639px) {
  #idTab15 {
    flex-direction: column;
  }
}

.reviews_section_17.review_tab #idTab15 {
  display: block;
}

.reviews_section_17.review_tab
  #product_reviews_block_tab
  div.comment
  div.comment_author,
.reviews_section_17.review_tab .comment_details {
  width: 100%;
}

.product_img_review {
  float: left;
  width: 120px;
}

#product_comments_block_tab .comment {
  margin-bottom: 24px;
  border-bottom: 1px solid #7a7a7a;
  padding-bottom: 14px;
}

.score-chart-holder .no-registered {
  margin: 0px auto;
  font-weight: 100;
  font-size: 14px;
  line-height: 1.4;
  max-width: 300px;
}

#product_review_block_extra .open-ws-review-form.open-review-form-mobile {
  display: none;
}

.modal-footer
  #product_review_block_extra
  .comments_advices
  .open-ws-review-form.open-review-form-desctop {
  display: none;
}

.modal-footer
  #product_review_block_extra
  .comments_advices
  .open-ws-review-form.open-review-form-mobile {
  display: block;
}

#reviews_section .verified_icon .ws-pr-star--full svg,
#reviews_section .verified_icon .ws-pr-star--half .ws-pr-star__fg {
  color: #fff;
}

#reviews_section .verified_icon .ws-pr-icon,
#reviews_section .verified_icon .ws-pr-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
}

#reviews_section .verified_icon .ws-pr-icon svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.submitReviewAfter {
  padding: 18px;
}

#module-ws_productreviews-default .rating-graph-container_17 {
  width: 222px;
}

#module-ws_productreviews-default #score-chart-holder {
  width: 205px;
  margin: 0 auto;
  text-align: center;
}

#module-ws_productreviews-default .score {
  margin: 23px 0 14px;
  font-size: 34px;
  font-family: inherit;
  font-weight: 700;
}

.category_footer_block {
  clear: both;
  margin-bottom: 24px;
}

.ws-reviewscarousel-module__average {
  padding: 10px 0;
}

.cat_review_item {
  overflow: hidden;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #7a7a7a;
}

#module-ws_productreviews-default .rating-graph-container {
  width: 134px;
}

.reviews_widget_footer {
  font-size: 14px;
  text-transform: none;
}

.reviews_widget_footer a {
  color: var(--wsr-buttons-color, #2fb5d2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.reviews_widget_footer a:hover,
.reviews_widget_footer a:focus {
  color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  text-decoration: underline;
  outline: none;
}

.reviews_widget_footer a:focus-visible {
  outline: 2px solid var(--wsr-buttons-color, #2fb5d2);
  outline-offset: 2px;
  border-radius: 4px;
}

#reviewscarousel_module,
.ws-reviewscarousel-module {
  margin-bottom: 24px;
}

#reviewscarousel_module .page-heading,
.ws-reviewscarousel-module .page-heading {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#left-column #reviewscarousel_module .product-content,
#left-column .ws-reviewscarousel-module .product-content {
  padding: 14px 0;
}

#left-column #reviewscarousel_module .reviews-owl-carousel .owl-item,
#left-column .ws-reviewscarousel-module .reviews-owl-carousel .owl-item {
  border: none;
}

#left-column .reviews-carousel-item .reviews-carousel-item__readmore {
  padding-left: 0px;
}

#reviews_section_click {
  overflow: hidden;
  clear: both;
  margin-bottom: 24px;
}

@media (max-width: 414px) {
  #right_carusel_column .star_content .ws-pr-star {
    font-size: 12px;
  }
}

.ws_p_criterions {
  clear: both;
  width: 100%;
  font-size: 12px;
  padding: 14px 0px;
}

.ws_p_criterions .ws-pr-star {
  font-size: 17px;
}

#reviews_section .ws_p_criterions .ws-pr-star {
  width: auto;
  min-width: 14px;
}

.comments_note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.comments_note .star_content {
  min-width: 0;
  width: auto;
  margin: 0;
  flex: 0 0 auto;
  overflow: visible;
}

.comments_note .star_label {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reviews_section {
  width: 100%;
  overflow: hidden;
}

.ws_product_voucher {
  padding: 15px;
  margin-bottom: 15px;
  text-align: left;
  background-color: #ddf0de;
}

#new_review_form_error {
  border: 1px solid red;
}

#id_new_review_form label.required:before {
  content: "";
  display: none;
}

#id_new_review_form .form-group {
  text-align: left;
}

@media (max-width: 992px) {
  #product_reviews_block_tab .comment_wrapp {
    flex-wrap: wrap;
    padding: 0;
    flex-grow: 1;
  }
}

@media (max-width: 1024px) {
  #reviews_section_wrap {
    flex-wrap: wrap;
  }

  /* Scoped to the product card: #score-chart-holder also exists on the
     all-reviews page. Spacing between the stacked blocks is the card's gap. */
  #reviews_section_wrap > #product_reviews_block_tab,
  #reviews_section_wrap > #score-chart-holder {
    flex-grow: 1;
    margin: 0;
  }
}

@media (min-width: 768px) {
  .ws_modal_close {
    right: -34px;
  }

  .ws-form__title {
    font-size: 18px;
  }
}

/* GALERY */
.ws_customers_imgs--main {
  height: auto;
  margin: 8px auto 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #ececec;
  overflow: visible;
}

/* Fixed height only on the track (slider JS reads slide width from here). */
.ws_customers_imgs--main .ws_carousel__track-container.ws_slider {
  height: 168px;
  max-height: 168px;
  margin-bottom: 8px;
}

.ws_customers_imgs--main h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Decorative line on the right of the heading (no color change) */
.ws_customers_imgs--main h3::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.15;
}

.ws_customers_imgs {
  position: relative;
  width: 95%;
  margin: 18px auto;
}

.ws_carousel__track-container {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 4px 2px;
  box-sizing: border-box;
}

.ws_carousel__track {
  position: relative;
  height: 100%;
  transition: transform 250ms ease-in;
}

/* Per-review thumbnails: responsive grid with rounded thumbs */
.ws_carousel--simple {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.ws_carousel--simple .ws_carousel__slide_wrapper {
  width: 100%;
  height: auto;
  position: static;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dcdcdc;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ws_carousel--simple .ws_carousel__slide_wrapper:hover {
  border-color: #b8b8b8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ws_carousel--simple .ws_carousel__slide {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: zoom-in;
}

/* Main "Customer Photos" gallery on product page (slider track variant kept untouched) */
.ws_customers_imgs--main .ws_carousel__slide_wrapper {
  /* Width is read by the slider JS — keep it. Style the inner image instead. */
  width: 150px;
  height: 100%;
  background: transparent;
  padding: 4px;
  box-sizing: border-box;
}

.ws_customers_imgs--main .ws_carousel__slide {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  background: #fff;
  box-sizing: border-box;
  transition: transform 0.3s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ws_customers_imgs--main .ws_carousel__slide:hover {
  transform: scale(1.04);
  border-color: #b8b8b8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Slider mode (with absolutely positioned slides) keeps fixed width */
.ws_slider .ws_carousel__slide_wrapper {
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 575px) {
  .ws_customers_imgs--main .ws_carousel__track-container.ws_slider {
    height: 132px;
    max-height: 132px;
  }

  .ws_customers_imgs--main .ws_carousel__slide_wrapper {
    width: 116px;
  }

  .ws_carousel--simple {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px;
  }
}

.ws_carousel__button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 3;
  transform: translateY(-50%);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
  color: #1f2937;
}

.ws_carousel__button svg {
  display: none;
}

.ws_carousel__button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-top: 0;
  border-right: 0;
  transform-origin: center;
}

.ws_carousel__button:hover,
.ws_carousel__button:focus {
  background: rgba(255, 255, 255, 0.98);
  border-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 35%, transparent);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  transform: translateY(-50%) scale(1.04);
  color: var(--wsr-buttons-color, #2fb5d2);
  outline: none;
}

.ws_carousel__button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 45%, transparent);
  outline-offset: 2px;
}

.ws_carousel__button--left {
  left: -22px;
}

.ws_carousel__button--left::before {
  transform: translate(-35%, -50%) rotate(45deg);
}

.ws_carousel__button--right {
  right: -22px;
}

.ws_carousel__button--right::before {
  transform: translate(-65%, -50%) rotate(-135deg);
}

@media (max-width: 767px) {
  .ws_carousel__button {
    width: 36px;
    height: 36px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  }

  .ws_carousel__button::before {
    width: 8px;
    height: 8px;
  }

  .ws_carousel__button--left {
    left: 4px;
  }

  .ws_carousel__button--right {
    right: 4px;
  }
}

@media (max-width: 420px) {
  .ws_carousel__button {
    width: 34px;
    height: 34px;
    top: 42%;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;

  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  width: 100%;
  height: 100%;
  padding-top: 60px;
  overflow: auto;

  background-color: rgba(0, 0, 0, 0.8);
}

.cancel {
  display: block;
  margin: 0;
  padding: 0;

  width: 42px;
  height: 42px;

  font-size: 0;

  background-color: rgba(255, 255, 255, 0.2);
  background-image: url("../img/icon-cross.svg");
  background-position: center;
  background-repeat: no-repeat;

  border: 0;
  border-radius: 2px;

  opacity: 0.6;
}

.cancel:hover,
.cancel:focus {
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.cancel:active {
  -webkit-transform: translateY(1px);
  -ms-transform: translateY(1px);
  transform: translateY(1px);
}

.big-picture__preview {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 600px;
  height: 90%;
  width: 85%;
  display: flex;
  transform: translate(-50%, -50%);
}

.big-picture__img {
  max-width: 100%;
  object-fit: contain;
  max-height: 100%;
}

.grabbing {
  cursor: grabbing;
}

.big-picture__img img {
  display: block;
}

.big-picture__cancel {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 10px;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.big-picture__arrow {
  position: absolute;
  top: 45%;
  left: -30px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  border-radius: 2px;
  transition: all 0.3s ease-out;
  opacity: 0.6;
}

.big-picture__arrow--right {
  left: auto;
  right: -30px;
  rotate: 180deg;
}

.big-picture__arrow:hover {
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.big-picture__arrow:focus {
  outline: none;
}

/* MODULE UPLOAD PHOTO */
#ws_file {
  display: none;
}

.add_photo_btn {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.add_photo_btn:hover {
  background-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  border-color: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 85%, #000);
  color: #fff;
}

.upload_photo_btn {
  margin-right: 24px;
}

.preview {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem;
}

.preview-image {
  position: relative;
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
  overflow: hidden;
}

.preview-image.removing {
  transform: scale(0);
  transition: transform 0.3s;
}

.preview-image img {
  display: block;
  max-width: 180px;
  max-height: 200px;
}

.preview-image:hover .preview-remove {
  opacity: 1;
}

.preview-image:hover .preview-info {
  bottom: 0px;
}

.preview-remove {
  opacity: 0;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 0;
  top: 0;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.22s;
}

.preview-info {
  position: absolute;
  right: 0;
  bottom: -30px;
  left: 0;
  height: 24px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  transition: bottom 0.22s;
}

.preview-info-complete {
  height: 30px;
  margin: 0 auto;
  width: 30px;
  background: url("../img/complete.svg") center no-repeat;
}

#product_review_block_extra .star_content {
  min-width: unset;
}
/* =========================================================================
   REVIEW MODAL (product page) — compact single-column layout.
   Everything is scoped to .ws_modal_review_form: the reminder page
   (review_form.tpl) shares some of these classes and keeps its own look.
   ========================================================================= */

.ws_modal_review .ws_modal_review_form {
  display: flex;
  flex-direction: column;
  width: calc(100% - 32px);
  max-width: 600px;
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  margin: 32px auto;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #111827;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

/* Header: thumbnail, title, product name, close */
.ws_modal_review_form .ws-rm__header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.ws_modal_review_form .ws-rm__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #f3f4f6;
  object-fit: cover;
}

.ws_modal_review_form .ws-rm__heading {
  flex: 1 1 auto;
  min-width: 0;
}

.ws_modal_review_form .ws-rm__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #111827;
}

.ws_modal_review_form .ws-rm__product {
  margin: 2px 0 0;
  overflow: hidden;
  font-size: 14px;
  color: #4b5563;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws_modal_review_form .ws_modal_close {
  position: static;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 22px;
  color: #4b5563;
  transform: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ws_modal_review_form .ws_modal_close:before,
.ws_modal_review_form .ws_modal_close:after {
  content: none;
}

.ws_modal_review_form .ws_modal_close:hover,
.ws_modal_review_form .ws_modal_close:focus-visible {
  background: #f3f4f6;
  color: #111827;
  transform: none;
}

.ws_modal_review_form .ws_modal_close .ws-pr-icon {
  line-height: 0;
}

/* Scrolling body */
.ws_modal_review_form .ws-rm__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 22px;
  min-height: 0;
  padding: 20px 24px 24px;
  overflow-y: auto;
}

/* Voucher banner */
.ws_modal_review_form .ws-rm__voucher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 12%, #fff);
  color: #1f2937;
  text-align: left;
}

.ws_modal_review_form .ws-rm__voucher > .ws-pr-icon {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 0;
  color: var(--wsr-buttons-color, #2fb5d2);
}

.ws_modal_review_form .ws-rm__voucher p {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

.ws_modal_review_form .ws-rm__voucher small {
  display: block;
  padding: 0;
  font-size: 13px;
  color: #4b5563;
}

/* Form */
.ws_modal_review_form .ws_modal_form_content {
  max-width: none;
  padding: 0;
}

.ws_modal_review_form .ws-review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ws_modal_review_form .ws-review-form .form-group {
  margin: 0;
}

.ws_modal_review_form .form-control-label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-align: left;
}

.ws_modal_review_form .form-control-label sup.required {
  color: #b42318;
}

.ws_modal_review_form #id_new_review_form input.form-control,
.ws_modal_review_form #id_new_review_form textarea.form-control {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  color: #111827;
}

.ws_modal_review_form #id_new_review_form textarea.form-control {
  min-height: 128px;
  line-height: 1.5;
}

.ws_modal_review_form #id_new_review_form input.form-control:focus,
.ws_modal_review_form #id_new_review_form textarea.form-control:focus {
  border-color: var(--wsr-buttons-color, #2fb5d2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 20%, transparent);
}

.ws_modal_review_form #new_review_form_error {
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid #fda29b;
  border-radius: 10px;
  background: #fef3f2;
  color: #b42318;
  font-size: 14px;
}

.ws_modal_review_form #new_review_form_error ul {
  margin: 0;
  padding-left: 18px;
}

/* Rating: one bordered row per criterion, stars close together */
.ws_modal_review_form #criterions_review_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.ws_modal_review_form #criterions_review_list .criterion {
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px 6px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.ws_modal_review_form #criterions_review_list .criterion > .form-control-label {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.ws_modal_review_form #criterions_review_list .criterion__wrapper {
  min-width: 0;
  margin-left: 0;
  font-size: 32px;
}

.ws_modal_review_form #criterions_review_list .criterion__items {
  width: auto;
}

.ws_modal_review_form #criterions_review_list .criterion__label {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  padding: 2px 1px;
}

/* Recommend: two toggle buttons, the radios stay in the markup */
.ws_modal_review_form .ws_review_recommend {
  display: flex;
  gap: 10px;
}

.ws_modal_review_form .ws_review_recommend > span {
  position: relative;
  flex: 1 1 0;
  padding: 0;
}

.ws_modal_review_form .ws_review_recommend input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.ws_modal_review_form .ws_review_recommend label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  margin: 0;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ws_modal_review_form .ws_review_recommend label .ws-pr-icon {
  min-width: 0;
  padding: 0;
  font-size: 18px;
  color: inherit;
}

.ws_modal_review_form .ws_review_recommend input:checked + label {
  border-color: var(--wsr-buttons-color, #2fb5d2);
  background: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 10%, #fff);
  color: #111827;
}

.ws_modal_review_form .ws_review_recommend input:focus-visible + label {
  outline: 2px solid color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 45%, transparent);
  outline-offset: 2px;
}

/* Photos: thumbnails (.preview, added by JS after #ws_file) + drop zone */
.ws_modal_review_form .ws-review-form__optional {
  font-weight: 400;
  color: #4b5563;
}

.ws_modal_review_form .ws-review-form__photo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.ws_modal_review_form .ws-review-form__photo-row .preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
}

.ws_modal_review_form .ws-review-form__photo-row .preview:empty {
  display: none;
}

.ws_modal_review_form .preview-image {
  width: 84px;
  height: 84px;
  margin: 0;
  border-radius: 10px;
  background: #f3f4f6;
}

.ws_modal_review_form .preview-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

/* Always visible: a hover-only button cannot be reached on touch screens */
.ws_modal_review_form .preview-remove {
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.75);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  opacity: 1;
}

.ws_modal_review_form .preview-info {
  display: none;
}

.ws_modal_review_form .ws-file-upload .add_photo_btn.ws-review-form__dropzone {
  display: flex;
  flex: 1 1 200px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 84px;
  padding: 10px;
  border: 1.5px dashed #9ca3af;
  border-radius: 10px;
  background: #fafafa;
  color: #374151;
  font-weight: 600;
  box-shadow: none;
  transform: none;
}

.ws_modal_review_form .ws-file-upload .add_photo_btn.ws-review-form__dropzone:hover,
.ws_modal_review_form .ws-file-upload .add_photo_btn.ws-review-form__dropzone:focus {
  border-color: var(--wsr-buttons-color, #2fb5d2);
  background: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 6%, #fff);
  color: #111827;
  box-shadow: none;
  transform: none;
}

.ws_modal_review_form .ws-file-upload .add_photo_btn.ws-review-form__dropzone:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 45%, transparent);
  outline-offset: 2px;
}

.ws_modal_review_form .ws-review-form__dropzone .ws-pr-icon {
  font-size: 22px;
  line-height: 0;
}

.ws_modal_review_form .ws-review-form__dropzone-title {
  font-size: 14px;
}

.ws_modal_review_form .ws-review-form__dropzone-hint {
  font-size: 12px;
  font-weight: 400;
  color: #4b5563;
}

/* Footer: consent + actions, always visible */
.ws_modal_review_form .ws-rm__footer {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  text-align: left;
}

.ws_modal_review_form .ws-rm__consent {
  flex: 1 1 220px;
  width: auto;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #4b5563;
  text-align: left;
}

.ws_modal_review_form .ws-rm__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0 auto;
}

.ws_modal_review_form .ws-rm__cancel {
  text-decoration: none;
}

.wsr-btns-module .ws_modal_review_form .ws-rm__cancel {
  display: inline-flex;
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
}

.wsr-btns-module .ws_modal_review_form .ws-rm__cancel:hover,
.wsr-btns-module .ws_modal_review_form .ws-rm__cancel:focus {
  border-color: #9ca3af;
  background: #f3f4f6;
  color: #111827;
}

.wsr-btns-module .ws_modal_review_form #submitWsReview {
  letter-spacing: normal;
  text-transform: none;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}

/* Phones: bottom sheet, full-width submit pinned at the bottom */
@media (max-width: 575px) {
  .ws_modal_review .ws_modal_review_form {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 24px);
    min-height: calc(100dvh - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: 24px 0 0;
    border-radius: 18px 18px 0 0;
  }

  .ws_modal_review_form .ws-rm__header {
    gap: 12px;
    padding: 12px 16px;
  }

  .ws_modal_review_form .ws-rm__thumb {
    width: 44px;
    height: 44px;
  }

  .ws_modal_review_form .ws-rm__title {
    font-size: 18px;
  }

  .ws_modal_review_form .ws-rm__body {
    gap: 18px;
    padding: 16px;
  }

  /* 16px avoids the iOS zoom on focus */
  .ws_modal_review_form #id_new_review_form input.form-control,
  .ws_modal_review_form #id_new_review_form textarea.form-control {
    font-size: 16px;
  }

  .ws_modal_review_form .ws-rm__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px 16px;
    background: #fff;
  }

  .ws_modal_review_form .ws-rm__actions {
    width: 100%;
    margin: 0;
  }

  /* The header close button does the same */
  .ws_modal_review_form .ws-rm__cancel {
    display: none;
  }

  .ws_modal_review_form #submitWsReview {
    flex: 1 1 auto;
    width: 100%;
    min-height: 50px;
  }

  .ws_modal_review_form .ws-rm__consent {
    flex-basis: auto;
    order: 2;
    text-align: center;
  }
}

/* Success state inside the review modal (replaces the old fancybox popup) */
.ws_modal_review_form.ws-rm--success .ws-rm__voucher,
.ws_modal_review_form.ws-rm--success .ws_modal_form_content,
.ws_modal_review_form.ws-rm--success .ws-rm__footer {
  display: none;
}

.ws_modal_review_form .ws-rm__success:focus {
  outline: none;
}

.ws_modal_review_form .ws-rm__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 8px 8px;
  text-align: center;
}

/* Animated check: the circle pops in with a slight overshoot, then the check is drawn.
   Played once; static for users who ask for reduced motion. */
.ws_modal_review_form .ws-rm__success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wsr-buttons-color, #2fb5d2) 14%, #fff);
  color: var(--wsr-buttons-color, #2fb5d2);
  line-height: 0;
  animation: ws-rm-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ws_modal_review_form .ws-rm__check {
  width: 56px;
  height: 56px;
}

.ws_modal_review_form .ws-rm__check-circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  opacity: 0.35;
}

/* Path length of the check is ~32: dash 34 hides it fully before drawing. */
.ws_modal_review_form .ws-rm__check-mark {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  animation: ws-rm-draw 0.35s ease-out 0.3s forwards;
}

@keyframes ws-rm-pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ws-rm-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws_modal_review_form .ws-rm__success-icon,
  .ws_modal_review_form .ws-rm__check-mark {
    animation: none;
  }

  .ws_modal_review_form .ws-rm__check-mark {
    stroke-dashoffset: 0;
  }
}

.ws_modal_review_form .ws-rm__success-title {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.ws_modal_review_form .ws-rm__success-text {
  max-width: 420px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
}

.ws_modal_review_form .ws-rm__success-ok.btn-primary {
  min-width: 140px;
  margin-top: 8px;
}

.wsr-btns-module .ws_modal_review_form .ws-rm__success-ok.btn-primary {
  letter-spacing: normal;
  text-transform: none;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}

/* =========================================================================
   Product page rating block, styles line / badge / summary (WS_PRODUCTREVIEWS_PP_STYLE).
   Classic keeps the rules above. The id is repeated to win over theme link styles.
   ========================================================================= */
#product_review_block_extra.wsr-pp:not(.wsr-pp--classic) {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #5b6370;
}

#product_review_block_extra .wsr-pp__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

#product_review_block_extra .wsr-pp__rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}

#product_review_block_extra .wsr-pp .ws-pr-star,
#product_review_block_extra.wsr-pp .ws-pr-star {
  font-size: 16px;
  color: var(--wsr-stars-color, #f5a400);
}

#product_review_block_extra.wsr-pp .ws-pr-star--empty {
  color: #d5d9de;
}

#product_review_block_extra.wsr-pp:not(.wsr-pp--classic) .ws-pr-star--empty path,
#product_review_block_extra.wsr-pp:not(.wsr-pp--classic) .ws-pr-star--half .ws-pr-star__bg path {
  fill: #d5d9de !important;
  stroke: none;
}

#product_review_block_extra .wsr-pp__avg {
  font-weight: 600;
  color: #111827;
}

#product_review_block_extra .wsr-pp__count {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#product_review_block_extra .wsr-pp__rating--none .wsr-pp__count {
  text-decoration: none;
}

#product_review_block_extra a.wsr-pp__rating:hover .wsr-pp__count,
#product_review_block_extra a.wsr-pp__rating:focus-visible .wsr-pp__count,
#product_review_block_extra .wsr-pp__link:hover,
#product_review_block_extra .wsr-pp__link:focus-visible {
  color: #111827;
  text-decoration-thickness: 2px;
}

#product_review_block_extra .wsr-pp__sep {
  width: 1px;
  height: 14px;
  background: #d1d5db;
}

/* Write a review: a text link with a pen (not a second main button next to Add to cart) */
#product_review_block_extra .wsr-pp__write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #111827;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

#product_review_block_extra .wsr-pp__write:hover,
#product_review_block_extra .wsr-pp__write:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#product_review_block_extra .wsr-pp__write .ws-pr-icon,
#product_review_block_extra .wsr-pp__btn .ws-pr-icon {
  display: inline-flex;
  font-size: 14px;
  line-height: 0;
}

#product_review_block_extra .wsr-pp__write .ws-pr-icon svg,
#product_review_block_extra .wsr-pp__btn .ws-pr-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

/* Badge: the pill of the product lists, then the links */
#product_review_block_extra .wsr-pp__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #5b6370;
  font-size: 13px;
  line-height: 18px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

#product_review_block_extra .wsr-pp__badge:hover,
#product_review_block_extra .wsr-pp__badge:focus-visible {
  background: #e5e7eb;
}

#product_review_block_extra .wsr-pp__badge .ws-pr-star {
  font-size: 14px;
}

#product_review_block_extra .wsr-pp__one {
  display: inline-flex;
  line-height: 0;
}

#product_review_block_extra .wsr-pp__badge-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 1px;
  background: #d1d5db;
}

#product_review_block_extra .wsr-pp__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Summary: rating, reviews, recommendations, two outline buttons */
#product_review_block_extra .wsr-pp__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

#product_review_block_extra .wsr-pp__big {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #111827;
}

/* The column grows: buttons on the same line go to the right, wrapped buttons start on the left */
#product_review_block_extra .wsr-pp__col {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

#product_review_block_extra .wsr-pp__none {
  color: #111827;
  font-weight: 600;
}

#product_review_block_extra .wsr-pp__meta {
  font-size: 13px;
}

#product_review_block_extra .wsr-pp__reco strong {
  color: #166534;
}

#product_review_block_extra .wsr-pp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#product_review_block_extra .wsr-pp__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--wsrl-btn-radius, 8px);
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

#product_review_block_extra .wsr-pp__btn:hover,
#product_review_block_extra .wsr-pp__btn:focus-visible {
  border-color: var(--wsr-buttons-color, #2fb5d2);
  color: #111827;
}

/* Desktop / quick view variants of "Write a review" (as in the classic style) */
#product_review_block_extra .wsr-pp__write.open-review-form-mobile,
#product_review_block_extra .wsr-pp__btn.open-review-form-mobile {
  display: none;
}

.modal-footer #product_review_block_extra .wsr-pp__write.open-review-form-desctop,
.modal-footer #product_review_block_extra .wsr-pp__btn.open-review-form-desctop {
  display: none;
}

.modal-footer #product_review_block_extra .wsr-pp__write.open-review-form-mobile,
.modal-footer #product_review_block_extra .wsr-pp__btn.open-review-form-mobile {
  display: inline-flex;
}

/* Position "under the product name" (moved by wsr-theme.js): closer to the title */
#product_review_block_extra.wsr-pp--moved {
  margin: 4px 0 12px;
}

/* Under the price (inside the tax line of the theme): its own line */
.product-prices #product_review_block_extra.wsr-pp,
.product__prices #product_review_block_extra.wsr-pp {
  margin: 8px 0 0;
}

/* Phones: the line may wrap, a separator would hang at the end of the first line */
@media (max-width: 575px) {
  #product_review_block_extra .wsr-pp__sep {
    display: none;
  }
}
