/* Storefront parity: catalog listings, product detail and information pages. */
@media (min-width: 768px) and (max-width: 991px) {
  body#index .static_cms > .row {
    margin-inline: 0;
  }
}

body#category .breadcrumb__wrapper,
body#search .breadcrumb__wrapper,
body#prices-drop .breadcrumb__wrapper,
body#cms .breadcrumb__wrapper {
  padding-block: 28px 42px;
}

body#category .breadcrumb__wrapper .name_category {
  margin: 12px 0 20px;
  font-size: 34px;
  line-height: 1.15;
}

body#category .columns-container,
body#search .columns-container,
body#prices-drop .columns-container,
body#cms .columns-container {
  max-width: 1200px;
}

body#category #search-filters {
  border: 1px solid #eee;
  box-shadow: 0 0 12px rgb(0 0 0 / 5%);
  background: #fff;
  padding: 22px 20px;
  color: #222;
}

body#category #search-filters .facet {
  margin-bottom: 20px;
}

body#category #search-filters .facet-title {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  color: #222;
}

body#category #js-product-list-header .category__header .category__description {
  padding: 30px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

body#category #js-product-list-header .category__header .subcategory {
  margin-top: 14px;
  margin-bottom: 34px;
}

body#category #js-product-list-header .category__header .subcategory .subcategory__link {
  border-radius: 20px;
  background: #fff;
}

body#category #js-product-list-top,
body#search #js-product-list-top,
body#prices-drop #js-product-list-top {
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 15px;
  margin: 0 0 30px;
}

body#category #js-product-list-top .products__selection,
body#search #js-product-list-top .products__selection,
body#prices-drop #js-product-list-top .products__selection {
  min-height: 30px;
  align-items: center;
  margin-bottom: 0;
}

body#category #js-product-list-top .products__sort,
body#search #js-product-list-top .products__sort,
body#prices-drop #js-product-list-top .products__sort {
  align-items: center;
  gap: 8px;
}

body#category #js-product-list-top .products__sort-label,
body#search #js-product-list-top .products__sort-label,
body#prices-drop #js-product-list-top .products__sort-label {
  color: #222;
  font: 400 14px/22px Poppins, sans-serif;
  text-transform: none;
}

body#category #js-product-list-top .products__sort-dropdown-button,
body#search #js-product-list-top .products__sort-dropdown-button,
body#prices-drop #js-product-list-top .products__sort-dropdown-button {
  min-height: 30px;
  padding: 3px 10px;
  border: 1px solid #ddd;
  border-radius: 0;
  color: #222;
  background: #fff;
  font: 400 13px/22px Poppins, sans-serif;
}

body#category #js-product-list-top .products__count,
body#search #js-product-list-top .products__count,
body#prices-drop #js-product-list-top .products__count {
  display: block;
  color: #777;
  font-size: 13px;
}

body#search #js-product-list-header .page-title-section,
body#prices-drop #js-product-list-header .page-title-section {
  margin-bottom: 22px;
}

body#search #js-product-list-header h1,
body#prices-drop #js-product-list-header h1 {
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  text-transform: uppercase;
}

body#category #products .products,
body#search #products .products,
body#prices-drop #products .products {
  width: 100%;
  padding: 0;
  gap: 30px 20px;
  align-items: start;
}

body#category #products .product-miniature,
body#search #products .product-miniature,
body#prices-drop #products .product-miniature {
  min-width: 0;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

body#category #products .product-miniature__title,
body#search #products .product-miniature__title,
body#prices-drop #products .product-miniature__title {
  max-width: 220px;
  line-height: 1.3;
}

body#category #products .product-miniature__infos,
body#search #products .product-miniature__infos,
body#prices-drop #products .product-miniature__infos {
  gap: 5px;
}

body#category #products .product-miniature__infos,
body#search #products .product-miniature__infos,
body#prices-drop #products .product-miniature__infos {
  align-items: flex-start;
  justify-items: start;
  text-align: left;
}

body#category #products .product-miniature__title,
body#search #products .product-miniature__title,
body#prices-drop #products .product-miniature__title {
  order: 1;
  max-width: 100%;
  text-align: left;
}

body#category #products .product-miniature__infos .comments_note,
body#search #products .product-miniature__infos .comments_note,
body#prices-drop #products .product-miniature__infos .comments_note {
  order: 2;
  display: flex;
  align-items: center;
  margin: 0;
  gap: 5px;
  white-space: nowrap;
  text-align: left;
}

body#category #products .product-miniature__infos .comments_note .star_content,
body#search #products .product-miniature__infos .comments_note .star_content,
body#prices-drop #products .product-miniature__infos .comments_note .star_content {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 1px;
}

body#category #products .comments_note .star,
body#search #products .comments_note .star,
body#prices-drop #products .comments_note .star {
  width: 16px;
  height: 15px;
  background-size: 16px 15px;
}

body#category #products .comments_note .star_on,
body#search #products .comments_note .star_on,
body#prices-drop #products .comments_note .star_on {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='15' viewBox='0 0 16 15'%3E%3Cpath d='M7.87501 0L5.44082 4.93929L0 5.72679L3.9375 9.57321L3.00663 15L7.87501 12.4393L12.7434 15L11.8125 9.57321L15.75 5.73214L10.3092 4.93929L7.87501 0Z' fill='%23222222'/%3E%3C/svg%3E") !important;
}

body#category #products .product-miniature__prices,
body#search #products .product-miniature__prices,
body#prices-drop #products .product-miniature__prices {
  order: 3;
  text-align: left;
  justify-content: flex-start;
}

body.page-product .product__container {
  max-width: 1200px;
  margin-inline: auto;
}

body.page-product .product__left,
body.page-product .product__right,
body.page-product .product__gallery {
  min-width: 0;
}

body.page-product .product__right {
  padding-top: 0;
}

body.page-product .product__manufacturer a img {
  margin-bottom: 15px;
}

body.page-product .product__description-short.rich-text {
  margin-bottom: 25px;
}

body.page-product .product__name.h2 {
  margin-bottom: 18px;
  font-size: 36px;
}

body.page-product .product__description-short.rich-text p {
  margin-bottom: 20px;
  font-size: 18px;
}

body.page-product .product__prices.js-product-prices {
  max-width: 400px;
  margin-bottom: 11px;
}

body.page-product .product__prices.js-product-prices .product__prices-block .product__price {
  height: 40px;
}

body.page-product .product__actions-qty-add {
  max-width: 400px;
  gap: 18px;
  min-height: 66px;
  align-items: center;
}

body.page-product .product__add-to-cart-container {
  margin-bottom: 0;
}

body.page-product .product__actions.js-product-actions {
  margin-bottom: 0;
}

body.page-product .product__bottom,
body.page-product .products-accessories {
  max-width: 1265px;
  margin-inline: auto;
}

body.page-product .product__bottom {
  width: 100vw;
}

body.page-product .product__reviews {
  position: relative;
  max-width: 1265px;
  width: 100vw;
  margin: 45px auto 70px;
  left: 50%;
  transform: translateX(-50%);
}

body.page-product .product__reviews .tabs > .pull-right {
  position: absolute;
  left: 100px;
  top: 219px;
  float: none !important;
}

body.page-product .product__reviews .open-comment-form {
  padding: 15px 45px;
  border: 1px solid #222;
  border-radius: 0;
  background: #fff;
  color: #222;
  font: 500 16px/1.5 Poppins, sans-serif;
}

body.page-product .product__review-summary {
  position: relative;
  padding: 20px 100px 133px;
}

body.page-product .product__review-summary h2 {
  margin: 0 0 57px;
  color: #222;
  text-align: center;
  font: 400 48px/1.2 'IBM Plex Serif', serif;
}

body.page-product .product__review-score {
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: #222;
}

body.page-product .product__review-score strong {
  font: 500 48px/1 Poppins, sans-serif;
}

body.page-product .product__review-score span {
  font-size: 24px;
  letter-spacing: -2px;
}

body.page-product .product__review-score small {
  font: 400 16px/1.5 Poppins, sans-serif;
}

body.page-product .product__review-chart {
  position: absolute;
  top: 155px;
  left: 50%;
  width: 534px;
  max-width: calc(50% - 100px);
}

body.page-product .product__review-chart-row {
  display: grid;
  grid-template-columns: 48px 220px 1fr;
  align-items: center;
  gap: 16px;
  height: 30px;
  font: 400 16px/1.2 Poppins, sans-serif;
}

@font-face {
  font-family: 'Storefront Review Star';
  src: url('../fonts/review-fa-solid-900.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: block;
}

body.page-product .product__review-chart-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-product .product__review-chart-star::before {
  content: '\f005';
  font: normal 900 16px/1 'Storefront Review Star';
}

body.page-product .product__review-chart-track {
  height: 16px;
  background: #f2f2f2;
}

body.page-product .product__review-chart-fill {
  display: block;
  height: 100%;
  background: #222;
}

body.page-product .product__reviews #myprestacommentsBlock > .products-section-title {
  display: none;
}

body.page-product .product__reviews #myprestacommentsBlock > .tabs {
  margin: 0;
}

body.page-product .product__reviews #product_comments_block_tab > .comment[hidden] {
  display: none !important;
}

body.page-product .product__reviews #product_comments_block_tab > .comment {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 170px;
  margin: 0;
  padding: 0;
  border-top: 1px solid #222;
  border-bottom: 0;
}

body.page-product .product__reviews #product_comments_block_tab > .comment:last-child {
  border-bottom: 1px solid #222;
}

body.page-product .product__reviews .comment_author {
  display: flex;
  flex-direction: column;
  width: 300px !important;
  padding: 28px 40px 25px 100px !important;
  border-right: 1px solid #222;
  font: 400 16px/1.5 Poppins, sans-serif;
}

body.page-product .product__reviews .comment_author > span:first-child {
  display: none !important;
}

body.page-product .product__reviews .comment_author_infos {
  order: 1;
}

body.page-product .product__reviews .comment_author > .star_content {
  order: 2;
  filter: grayscale(1) brightness(0);
}

body.page-product .product__reviews .comment_author .criterions_grade {
  display: none;
}

body.page-product .product__reviews .comment_details {
  width: auto;
  padding: 25px 55px;
  font: 400 18px/1.5 Poppins, sans-serif;
}

body.page-product .product__reviews .comment_details h4 {
  font: 600 18px/1.3 'IBM Plex Serif', serif;
  text-transform: none;
}

body.page-product .product__review-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 35px 0 50px;
}

body.page-product .product__review-pagination button {
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff;
  color: #222;
}

body.page-product .product__review-pagination button:first-child,
body.page-product .product__review-pagination button:last-child {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #222;
  color: #fff;
}

body.page-product .product__review-pagination button:disabled {
  opacity: .45;
}

body.page-product .product__bottom-left {
  width: 100%;
}

body.page-product .product__accordion {
  margin-inline: 0;
}

body.page-product #product_description,
body.page-product #product_ingredients {
  padding-inline: 0 !important;
}

body.page-product .product__accordion .accordion-item {
  border-top: 1px solid #222;
  border-bottom: 0;
}

body.page-product #product_ingredients_heading .accordion-button {
  padding: 40px 90px 40px 100px;
  font: 500 24px/1.1 'IBM Plex Serif', serif;
}

body.page-product #product_ingredients_collapse .accordion-body {
  margin: 0 50px 40px 100px;
  padding: 0;
  font-size: 18px;
  line-height: 1.5;
}

body.page-product .blockreassurance--product {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-block: 25px 15px;
}

body.page-product .blockreassurance--product .reassurance {
  min-height: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  gap: 10px;
  border: 0;
  background: none;
}

body.page-product .blockreassurance--product .reassurance__image svg [fill] {
  fill: #fbf2f4 !important;
}

body.page-product .blockreassurance--product .reassurance__image svg path {
  fill: #fbf2f4 !important;
}

body.page-product .blockreassurance--product .reassurance__title {
  color: #222;
  font: 400 16px/1.5 Poppins, sans-serif;
}

body.page-product .cs-pick-product {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  width: 400px;
  max-width: 100%;
  padding: 0;
  margin-top: 15px;
  border: 1px solid #222;
  background: #f6f6f6;
  box-shadow: none;
  gap: 0;
  align-items: stretch;
}

body.page-product .cs-pick-product__image {
  display: flex;
  align-items: center;
  border-right: 1px solid #222;
}

body.page-product .cs-pick-product__image img {
  width: 110px;
  height: 145px;
  object-fit: contain;
}

body.page-product .cs-pick-product__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 33px minmax(0, 1fr);
  gap: 0;
}

body.page-product .cs-pick-product__details h2 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-bottom: 1px solid #222;
  font: 500 14px/1.2 'IBM Plex Serif', serif;
  text-transform: none;
}

body.page-product .cs-pick-product__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 8px 4px 8px 8px;
}

body.page-product .cs-pick-product__info a {
  font: 400 14px/1.3 Poppins, sans-serif;
}

body.page-product .cs-pick-product__price {
  font: 500 20px/1.1 Poppins, sans-serif;
}

body.page-product .cs-pick-product__details form {
  align-self: center;
  padding-right: 7px;
}

body.page-product .cs-pick-product__details button {
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
}

@media (min-width: 992px) {
  body.page-product .static_cms > .row {
    margin-inline: 0;
  }

  body.page-product .product__container {
    width: 100%;
    max-width: 1265px;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 60px;
    margin-top: 40px;
  }
}

body#cms .page-header {
  margin-top: 25px;
  margin-bottom: 45px;
}

body#cms .page-header h1 {
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

body#cms .page-content--cms {
  padding: 8px 0 90px;
  font-size: 14px;
  line-height: 1.6;
}

body#cms .page-content--cms p {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  body#category #products .products,
  body#search #products .products,
  body#prices-drop #products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body#category .breadcrumb__wrapper,
  body#search .breadcrumb__wrapper,
  body#prices-drop .breadcrumb__wrapper,
  body#cms .breadcrumb__wrapper {
    padding-block: 28px 48px;
  }

  body#category .breadcrumb__wrapper {
    padding-top: 48px;
  }

  body#category .breadcrumb__wrapper .name_category {
    font-size: 28px;
  }

  body#category #js-product-list-header .category__header .category__description {
    padding: 12px 24px 0;
  }

  body#category #js-product-list-header .category__header .subcategory {
    margin-top: 24px;
    margin-bottom: 49px;
  }

  body#category #js-product-list-top,
  body#search #js-product-list-top,
  body#prices-drop #js-product-list-top {
    margin-top: 12px;
    padding: 12px;
  }

  body#category #js-product-list-top {
    margin: 10px 3px 30px;
    padding: 24px 15px 17px;
  }

  body#category #search_filter_toggler {
    flex: none;
    width: 105px;
    min-width: 105px;
    min-height: 0;
    height: 31px;
    margin-right: 0;
    padding: 3px 20px;
    border: 0;
    border-radius: 5px;
    background: #292929;
    color: #fff;
    box-shadow: none;
    font: 400 14px/25px Poppins, sans-serif;
    white-space: nowrap;
  }

  body#category #search_filter_toggler .material-icons {
    display: none;
  }

  body#category #js-product-list-top .products__count,
  body#search #js-product-list-top .products__count,
  body#prices-drop #js-product-list-top .products__count {
    display: none;
  }

  body#category #products .products,
  body#search #products .products,
  body#prices-drop #products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
    padding-inline: 10px;
  }

  body#category #products .product-miniature__title,
  body#search #products .product-miniature__title,
  body#prices-drop #products .product-miniature__title {
    max-width: 150px;
    font-size: 12px;
    justify-self: center;
    width: 100%;
    text-align: center;
  }

  body#category #products .product-miniature__infos .comments_note,
  body#search #products .product-miniature__infos .comments_note,
  body#prices-drop #products .product-miniature__infos .comments_note {
    justify-self: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  body#category #products .product-miniature__prices,
  body#search #products .product-miniature__prices,
  body#prices-drop #products .product-miniature__prices {
    justify-self: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  body#category #products .product-miniature__infos,
  body#search #products .product-miniature__infos,
  body#prices-drop #products .product-miniature__infos {
    gap: 4px;
  }

  body.page-product .product__right {
    padding-top: 20px;
  }

  body.page-product .product__bottom,
  body.page-product .product__reviews {
    width: 100%;
    max-width: 100%;
  }

  body.page-product #product_description_heading .accordion-button,
  body.page-product #product_ingredients_heading .accordion-button {
    padding: 24px 18px;
    font-size: 22px;
  }

  body.page-product #product_description_collapse,
  body.page-product #product_ingredients_collapse .accordion-body {
    margin: 0 9px 28px 5px;
  }

  body.page-product .blockreassurance--product {
    padding-bottom: 7px;
  }

  body.page-product .blockreassurance--product .reassurance:first-child {
    height: 80px;
    min-height: 80px;
    flex-basis: 80px;
  }

  body.page-product .cs-pick-product {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  body.page-product .cs-pick-product__image img {
    width: 87px;
    height: 116px;
  }

  body.page-product .product__reviews {
    width: calc(100% + 24px);
    max-width: none;
    margin-left: -12px;
    padding-inline: 0;
    left: auto;
    transform: none;
  }

  body.page-product .product__reviews .tabs > .pull-right {
    position: static;
    margin: 0 0 25px;
    text-align: center;
  }

  body.page-product .product__review-summary {
    padding: 20px 0 25px;
  }

  body.page-product .product__review-chart {
    position: static;
    width: 100%;
    max-width: 360px;
    margin: 22px auto 0;
  }

  body.page-product .product__review-chart-row {
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  body.page-product .product__review-summary h2 {
    font-size: 34px;
    margin-bottom: 20px;
  }

  body.page-product .product__review-score {
    justify-content: center;
    gap: 8px;
  }

  body.page-product .product__review-score strong {
    font-size: 34px;
  }

  body.page-product .product__review-score span {
    font-size: 18px;
  }

  body.page-product .product__review-score small {
    font-size: 12px;
  }

  body.page-product .product__reviews #product_comments_block_tab > .comment {
    grid-template-columns: 124px minmax(0, 1fr);
    column-gap: 15px;
    min-height: 166px;
  }

  body.page-product .product__reviews .comment_author {
    width: 124px !important;
    padding: 30px 0 10px 15px !important;
    border-right: 1px solid #222;
    font-size: 14px;
  }

  body.page-product .product__reviews .comment_details {
    padding: 30px 15px 15px 0;
    font-size: 14px;
  }

  body.page-product .product__left {
    margin-bottom: 80px;
  }

  body.page-product .product__name.h2 {
    font-size: 30px;
  }

  body.page-product .product__prices.js-product-prices,
  body.page-product .product__actions-qty-add {
    max-width: 100%;
  }

  body#cms .page-content--cms {
    padding: 8px 15px 50px;
  }

  body#cms .page-header {
    margin-top: 50px;
    margin-bottom: 35px;
  }
}

/* Match the legacy category grid as phone and small-tablet widths grow. */
@media (min-width: 500px) and (max-width: 669.98px) {
  body#category #products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 670px) and (max-width: 767.98px) {
  body#category #products .products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Final visual alignment for listing and product detail pages. */
body#category #products .comments_note .star,
body#search #products .comments_note .star,
body#prices-drop #products .comments_note .star {
  width: 10px;
  height: 10px;
  background-size: 10px 10px;
  color: #222 !important;
}

body#category #products .comments_note .star_on,
body#search #products .comments_note .star_on,
body#prices-drop #products .comments_note .star_on {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5.267.141 3.803 3.109.533 3.583 2.9 5.895l-.56 3.262 2.927-1.54 2.926 1.54-.56-3.262L10 3.586l-3.27-.477z' fill='%23222222'/%3E%3C/svg%3E") !important;
}

body.page-product .blockreassurance--product {
  padding-bottom: 7px;
}

body.page-product .blockreassurance--product .reassurance {
  gap: 5px;
}

body.page-product .blockreassurance--product .reassurance__image {
  width: 35px;
  min-width: 35px;
  height: 35px;
}

body.page-product .blockreassurance--product .reassurance__title {
  font: 400 14px/40px Poppins, sans-serif;
}

body.page-product .cs-pick-product__image img {
  width: 110px;
  height: 145px;
  object-fit: cover;
}

body.page-product .cs-pick-product__details h2 {
  justify-content: center;
  text-align: center;
  font: 600 14px/21px Poppins, sans-serif;
}

body.page-product .product__review-chart-track {
  height: 16px;
  border: 1px solid #222;
  background: #fff;
}

body.page-product .product__review-chart-fill {
  height: 100%;
  background: #fbf2f4;
}

body.page-product .product__reviews #product_comments_block_tab > .comment .comment_author {
  background: #f6f6f6;
}

@media (min-width: 992px) {
  body.page-product .product__bottom,
  body.page-product .product__reviews {
    width: calc(100vw - 15px);
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  body.page-product .product__reviews #product_comments_block_tab > .comment {
    grid-template-columns: 28.5% minmax(0, 1fr);
  }

  body.page-product .product__reviews .comment_author {
    width: auto !important;
    padding: 40px 40px 40px 100px !important;
  }

  body.page-product .product__reviews .comment_details {
    padding: 40px 59px;
  }
}

@media (max-width: 767.98px) {
  body.page-product .product__accordion {
    width: calc(100% + 24px);
    max-width: none;
    margin-left: -12px;
  }

  body.page-product .cs-pick-product {
    width: calc(100% - 6px);
    margin-left: 3px;
  }

  body.page-product .product__prices.js-product-prices {
    width: calc(100% - 6px);
    min-height: 60px;
    margin-left: 3px;
  }

  body.page-product .product__prices-block,
  body.page-product .product__discount-price {
    min-height: 58px;
    align-items: center;
  }

  body.page-product .product__discount-price {
    gap: 2px;
  }

  body.page-product .product__prices .product__price {
    height: 58px;
  }

  body.page-product .product__discount-percentage {
    height: auto;
    margin-left: 8px;
    white-space: nowrap;
  }

  body.page-product .blockreassurance--product {
    margin-left: 3px;
    margin-right: 3px;
  }

  body.page-product .product__review-summary {
    padding: 0 28px 44px;
  }

  body.page-product .product__review-summary h2 {
    margin-bottom: 23px;
    text-align: center;
    font: 400 30px/33px 'IBM Plex Serif', serif;
  }

  body.page-product .product__review-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: 100px;
    height: 85px;
  }

  body.page-product .product__review-score strong {
    font: 500 30px/40px Poppins, sans-serif;
  }

  body.page-product .product__review-score span {
    font-size: 13px;
    line-height: 13px;
    letter-spacing: 0;
  }

  body.page-product .product__review-score small {
    font: 400 14px/20px Poppins, sans-serif;
    white-space: nowrap;
  }

  body.page-product .product__review-chart {
    width: 242px;
    max-width: calc(100% - 27px);
    margin: 30px 0 0 27px;
  }

  body.page-product .product__review-chart-row {
    grid-template-columns: 40px 169px 9px;
    gap: 12px;
    height: 32px;
  }

  body.page-product .product__review-chart-rating {
    gap: 10px;
    color: #222;
    font: 500 20px/30px Poppins, sans-serif;
  }

  body.page-product .product__review-chart-star {
    flex: none;
    width: 18px;
    height: 20px;
  }

  body.page-product .product__review-chart-star::before {
    display: block;
    line-height: 20px;
  }

  body.page-product .product__review-chart-count {
    color: #222;
    font: 300 14px/21px Poppins, sans-serif;
  }

  body.page-product .product__review-chart-track {
    height: 12px;
  }

  body.page-product .product__reviews .tabs > .pull-right {
    position: absolute;
    top: 79px;
    right: 49px;
    left: auto;
    width: auto;
    margin: 0;
    z-index: 1;
  }

  body.page-product .product__reviews .open-comment-form {
    min-width: 177px;
    height: 48px;
    padding: 7px 15px;
    border: 2px solid #383838;
    font: 500 15px/30px Poppins, sans-serif;
    white-space: nowrap;
    box-sizing: border-box;
  }

  body.page-product .cs-pick-product__image img {
    width: 87px;
    height: 116px;
  }

  body.page-product .product__reviews #product_comments_block_tab > .comment {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: 18px 15px 20px;
    background: #f6f6f6;
  }

  body.page-product .product__reviews #product_comments_block_tab > .comment .comment_author {
    background: transparent;
  }

  body.page-product .product__reviews #product_comments_block_tab > .comment .comment_author {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: auto;
    padding: 0 !important;
    border-right: 0;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_author_infos {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    height: auto;
    padding: 0;
    white-space: nowrap;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_author_infos > span {
    min-width: 0;
    margin-left: 0;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_author_infos br {
    display: none;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_author_infos strong {
    color: #222;
    font: 500 14px/21px 'IBM Plex Serif', serif;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_author_infos em {
    flex: none;
    color: #222;
    font: 300 14px/21px Poppins, sans-serif;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_author > .star_content {
    height: 10px;
    margin: 8px 0 0;
    filter: none;
  }

  body.page-product .product__reviews #product_comments_block_tab > .comment .comment_details {
    width: 100%;
    max-width: none;
    margin: 13px 0 0;
    padding: 0;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_author > .star_content .star {
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5.26659.140625 3.80348 3.10946.533203 3.5828 2.8999 5.89476 2.34038 9.15662 5.26659 7.61746 8.1928 9.15662 7.63328 5.89476 9.99997 3.58602 6.72969 3.10946Z' fill='none' stroke='%23222' stroke-width='.8'/%3E%3C/svg%3E") !important;
    background-size: 10px 10px !important;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_author > .star_content .star_on {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5.26659.140625 3.80348 3.10946.533203 3.5828 2.8999 5.89476 2.34038 9.15662 5.26659 7.61746 8.1928 9.15662 7.63328 5.89476 9.99997 3.58602 6.72969 3.10946Z' fill='%23222'/%3E%3C/svg%3E") !important;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_details h4 {
    margin: 0 0 8px;
    padding: 0;
    color: #222;
    font: 500 14px/21px 'IBM Plex Serif', serif;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_details p {
    margin: 0;
    padding: 0;
    color: #222;
    font: 300 14px/21px Poppins, sans-serif;
  }

  body.page-product .product__review-pagination {
    position: relative;
    height: 92px;
    gap: 0;
    padding: 34px 0 35px 20px;
    border-bottom: 1px solid #222;
    box-sizing: border-box;
  }

  body.page-product .product__review-pagination button:not(:first-child):not(:last-child) {
    flex: none;
    width: 5px;
    min-width: 0;
    height: 21px;
    margin: 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    font: 300 14px/21px Poppins, sans-serif;
  }

  body.page-product .product__review-pagination button[aria-current="page"] {
    font-weight: 500 !important;
  }

  body.page-product .product__review-pagination span {
    flex: none;
    width: 8px;
    font: 300 14px/21px Poppins, sans-serif;
  }

  body.page-product .product__review-pagination button:first-child,
  body.page-product .product__review-pagination button:last-child {
    position: absolute;
    top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font: 300 20px/30px Poppins, sans-serif;
    opacity: 1;
  }

  body.page-product .product__review-pagination button:first-child {
    left: 14px;
  }

  body.page-product .product__review-pagination button:last-child {
    right: 15px;
  }
}

/* Product recommendations use the same portrait cards and review order as the old mobile shop. */
@media (max-width: 767.98px) {
  body.page-product .product__accessories {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 15px);
    max-width: none;
    margin-top: 30px;
    margin-bottom: 44px;
    margin-left: 0;
    padding: 0;
    overflow: hidden;
  }

  body.page-product .product__accessories .module-products__list .products {
    grid-template-columns: repeat(2, calc((100vw - 32px) / 2));
    gap: 22px;
    padding-inline: 15px;
  }

  body.page-product .product__accessories .product-miniature__image-container,
  body.page-product .product__accessories .product-miniature__image-link {
    aspect-ratio: 176 / 234;
    height: auto;
  }

  body.page-product .product__accessories .product-miniature__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body.page-product .product__accessories .product-miniature__bottom {
    padding: 0;
  }

  body.page-product .product__accessories .product-miniature__infos {
    gap: 3px;
    width: 100%;
  }

  body.page-product .product__accessories .product-miniature__title {
    order: 1;
    width: 100%;
    max-width: 150px;
    line-height: 1.4;
    justify-self: center;
  }

  body.page-product .product__accessories .comments_note {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    gap: 4px;
    margin: 0;
    font-size: 10px;
    line-height: 11px;
    white-space: nowrap;
  }

  body.page-product .product__accessories .comments_note .star_content {
    display: flex;
    width: auto;
    margin: 0;
  }

  body.page-product .product__accessories .comments_note .star {
    width: 10px !important;
    height: 10px !important;
    margin-right: 2px;
    background-size: 10px 10px !important;
  }

  body.page-product .product__accessories .comments_note .comments_count {
    margin: 0 !important;
  }

  body.page-product .product__accessories .product-miniature__prices {
    order: 3;
    justify-self: center;
    justify-content: center;
    width: 100%;
  }
}

/* Same-category products use the old shop's compact mobile carousel. */
@media (max-width: 767.98px) {
  body.page-product .ps-categoryproducts {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 15px);
    max-width: none;
    margin-left: 0;
    margin-bottom: 44px;
    overflow: hidden;
  }

  body.page-product .ps-categoryproducts .section-title {
    width: 100%;
    margin: 0 0 30px;
    font: 400 30px/33px 'IBM Plex Serif', serif;
    text-align: center;
  }

  body.page-product .ps-categoryproducts .module-products__list {
    position: relative;
  }

  body.page-product .ps-categoryproducts .module-products__list .products {
    display: flex;
    gap: 23px;
    width: 100%;
    margin: 0;
    padding: 0 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 30px;
    scrollbar-width: none;
  }

  body.page-product .ps-categoryproducts .module-products__list .products::-webkit-scrollbar {
    display: none;
  }

  body.page-product .ps-categoryproducts .module-products__list .products::after {
    content: '';
    flex: 0 0 calc((100vw - 58px) / 2);
  }

  body.page-product .ps-categoryproducts .product-miniature {
    flex: 0 0 calc((100vw - 32px) / 2);
    width: calc((100vw - 32px) / 2);
    max-width: none;
    margin: 0;
    scroll-snap-align: start;
  }

  body.page-product .ps-categoryproducts .product-miniature__image-container,
  body.page-product .ps-categoryproducts .product-miniature__image-link {
    aspect-ratio: 176 / 234;
    height: auto;
  }

  body.page-product .ps-categoryproducts .product-miniature__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body.page-product .ps-categoryproducts .product-miniature__bottom {
    padding: 0;
  }

  body.page-product .ps-categoryproducts .product-miniature__infos {
    gap: 3px;
    width: 100%;
  }

  body.page-product .ps-categoryproducts .product-miniature__title {
    order: 1;
    width: 100%;
    max-width: 150px;
    height: 34px;
    line-height: 1.4;
    justify-self: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  body.page-product .ps-categoryproducts .comments_note {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    gap: 4px;
    margin: 26px 0 0;
    font-size: 10px;
    line-height: 11px;
    white-space: nowrap;
  }

  body.page-product .ps-categoryproducts .comments_note .star_content {
    display: flex;
    width: auto;
    margin: 0;
  }

  body.page-product .ps-categoryproducts .comments_note .star {
    width: 10px !important;
    height: 10px !important;
    margin-right: 2px;
    background-size: 10px 10px !important;
  }

  body.page-product .ps-categoryproducts .product-miniature__prices {
    order: 3;
    justify-self: center;
    justify-content: center;
    width: 100%;
  }

  body.page-product .ps-categoryproducts__previous,
  body.page-product .ps-categoryproducts__next {
    position: absolute;
    z-index: 3;
    top: 151px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font: 300 22px/1 Poppins, sans-serif;
  }

  body.page-product .ps-categoryproducts__previous {
    left: 10px;
  }

  body.page-product .ps-categoryproducts__previous:disabled,
  body.page-product .ps-categoryproducts__next:disabled {
    background: #aaa;
  }

  body.page-product .ps-categoryproducts__next {
    display: none;
  }

  body.page-product .ps-categoryproducts .module-products__buttons {
    margin: 0;
  }

  body.page-product .ps-categoryproducts__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 24px;
  }

  body.page-product .ps-categoryproducts__dots button {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9c9c9;
  }

  body.page-product .ps-categoryproducts__dots button.active {
    background: #222;
  }

  body.page-product .ps-categoryproducts__all {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 265px;
    min-height: 57px;
    margin: 0 auto;
    padding: 14px 20px;
    gap: 6px;
    border: 2px solid #383838;
    color: #222;
    font: 500 16px/24px Poppins, sans-serif;
    white-space: nowrap;
    text-decoration: none;
  }

  body.page-product .ps-categoryproducts__all span {
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 25px;
    background: url('./all_products.svg') center no-repeat;
    font-size: 0;
  }
}

@media (min-width: 768px) {
  .ps-categoryproducts__arrows,
  .ps-categoryproducts__footer {
    display: none;
  }
}

/* Product-page parity on desktop. Keep the established mobile layouts intact. */
@media (min-width: 992px) {
  body.page-product .product__container {
    min-height: 631px;
  }

  body.page-product .product__accessories {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1265px;
    margin-inline: auto;
  }

  body.page-product .product__accessories .section-title {
    margin-left: 37px;
  }

  body.page-product .product__accessories .module-products__list .products {
    display: grid;
    grid-template-columns: repeat(4, 263px);
    justify-items: start;
    gap: 0;
    width: 100%;
    padding: 49px 0 0 115px;
  }

  body.page-product .product__accessories .product-miniature {
    width: 287px;
    margin: 0 0 30px;
  }

  body.page-product .product__accessories .product-miniature__image-container,
  body.page-product .product__accessories .product-miniature__image-link,
  body.page-product .ps-categoryproducts .product-miniature__image-container,
  body.page-product .ps-categoryproducts .product-miniature__image-link {
    display: block;
    width: 287px;
    height: 383px;
    aspect-ratio: 287 / 383;
  }

  body.page-product .product__accessories .product-miniature__image,
  body.page-product .ps-categoryproducts .product-miniature__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body.page-product .product__accessories .product-miniature__bottom,
  body.page-product .ps-categoryproducts .product-miniature__bottom {
    padding: 25px 0 0;
  }

  body.page-product .product__accessories .product-miniature__infos,
  body.page-product .ps-categoryproducts .product-miniature__infos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 287px;
    text-align: left;
  }

  body.page-product .product__accessories .product-miniature__title,
  body.page-product .ps-categoryproducts .product-miniature__title {
    order: 1;
    width: 100%;
    max-width: 250px;
    min-height: 35px;
    font: 400 16px/1.15 'IBM Plex Serif', serif;
    text-align: left;
  }

  body.page-product .product__accessories .comments_note,
  body.page-product .ps-categoryproducts .comments_note {
    order: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    min-height: 18px;
    margin: 0;
    text-align: left;
    white-space: nowrap;
  }

  body.page-product .product__accessories .comments_note .star_content,
  body.page-product .ps-categoryproducts .comments_note .star_content {
    display: flex;
    align-items: center;
    width: auto;
    margin: 0;
  }

  body.page-product .product__accessories .comments_note .comments_count,
  body.page-product .ps-categoryproducts .comments_note .comments_count {
    margin: 0;
  }

  body.page-product .product__accessories .product-miniature__prices,
  body.page-product .ps-categoryproducts .product-miniature__prices {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
  }

  body.page-product .product__review-summary {
    padding: 0 100px 213px;
  }

  body.page-product .product__review-summary h2 {
    margin-bottom: 73px;
    line-height: 1.1;
  }

  body.page-product .product__review-chart {
    left: calc(50% - 1px);
  }

  body.page-product .product__review-chart-rating,
  body.page-product .product__review-chart-count {
    font-size: 20px;
  }

  body.page-product .product__review-chart-star::before {
    font-size: 20px;
  }

  body.page-product .product__review-chart-rating {
    gap: 6px;
  }

  body.page-product .product__reviews #product_comments_block_tab > .comment {
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 171px;
  }

  body.page-product .product__reviews #product_comments_block_tab > .comment::before,
  body.page-product .product__reviews #product_comments_block_tab > .comment::after {
    content: none;
    display: none;
  }

  body.page-product .product__reviews #product_comments_block_tab > .comment:first-child {
    min-height: 198px;
  }

  body.page-product .product__reviews #product_comments_block_tab {
    margin-bottom: 0;
  }

  body.page-product .product__reviews .product__review-pagination {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
  }

  body.page-product .product__reviews .comment_author {
    box-sizing: border-box;
    width: 300px !important;
    height: 100%;
    align-self: stretch;
    padding: 40px 0 25px 100px !important;
  }

  body.page-product .product__reviews .comment_details {
    box-sizing: border-box;
    height: 100%;
    align-self: stretch;
    padding: 40px 59px;
  }

  body.page-product .product__reviews .comment_author_infos > span {
    display: block;
    margin: 0 0 10px;
    color: #222;
    font: 500 18px/27px 'IBM Plex Serif', serif;
  }

  body.page-product .product__reviews .comment_author_infos strong {
    color: #222;
    font: 600 18px/27px 'IBM Plex Serif', serif;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_author_infos em {
    display: block;
    color: #222;
    font: 300 16px/24px Poppins, sans-serif;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_details h4 {
    margin: 0 0 8px;
    padding: 0;
    color: #222;
    font: 500 18px/27px 'IBM Plex Serif', serif;
  }

  body.page-product .product__reviews #product_comments_block_tab .comment_details p {
    margin: 0;
    padding: 0;
    color: #222;
    font: 300 18px/27px Poppins, sans-serif;
  }

  body.page-product .ps-categoryproducts {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1265px;
    margin-inline: auto;
    margin-bottom: 100px;
  }

  body.page-product .ps-categoryproducts .section-title {
    margin: 0 0 65px;
    text-align: center;
  }

  body.page-product .ps-categoryproducts .module-products__list {
    position: relative;
  }

  body.page-product .ps-categoryproducts .module-products__list .products {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 33px;
    width: 100%;
    margin: 0;
    padding: 0 80px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 80px;
    scrollbar-width: none;
  }

  body.page-product .ps-categoryproducts .module-products__list .products::-webkit-scrollbar {
    display: none;
  }

  body.page-product .ps-categoryproducts .product-miniature {
    flex: 0 0 287px;
    width: 287px;
    max-width: none;
    margin: 0;
    scroll-snap-align: start;
  }

  body.page-product .ps-categoryproducts__arrows {
    display: block;
  }

  body.page-product .ps-categoryproducts__previous,
  body.page-product .ps-categoryproducts__next {
    position: absolute;
    z-index: 2;
    top: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-size: 23px;
  }

  body.page-product .ps-categoryproducts__previous {
    left: 0;
  }

  body.page-product .ps-categoryproducts__next {
    right: 0;
  }

  body.page-product .ps-categoryproducts__previous:disabled,
  body.page-product .ps-categoryproducts__next:disabled {
    background: #aaa;
  }

  body.page-product .ps-categoryproducts__footer {
    display: block;
  }

  body.page-product .ps-categoryproducts__dots {
    display: none;
  }

  body.page-product .ps-categoryproducts__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 329px;
    min-height: 63px;
    margin: 32px auto 0;
    padding: 14px 18px;
    border: 2px solid #222;
    color: #222;
    font: 500 18px/1.4 Poppins, sans-serif;
    text-decoration: none;
  }

  body.page-product .ps-categoryproducts__all span {
    font-size: 27px;
  }
}
