/* 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#manufacturer .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#manufacturer .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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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,
  body#manufacturer #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#manufacturer .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,
  body#manufacturer #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,
  body#manufacturer #js-product-list-top .products__count {
    display: none;
  }

  body#category #products .products,
  body#search #products .products,
  body#prices-drop #products .products,
  body#manufacturer #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,
  body#manufacturer #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,
  body#manufacturer #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,
  body#manufacturer #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,
  body#manufacturer #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,
body#manufacturer #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,
body#manufacturer #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;
  }
}

/* Legacy-style compact add-to-cart modal. Every value below is measured from the old shop's modal
   (415px wide, 1px #222 frame, 22px side padding) at desktop and mobile. */
#blockcart-modal.blockcart-modal--legacy .modal-dialog {
  align-items: flex-start;
  max-width: 415px;
  min-height: 0;
  margin: 30px auto;
}

#blockcart-modal.blockcart-modal--legacy .modal-content {
  border: 1px solid #222;
  border-radius: 0;
  background: #fff;
  font-family: Poppins, sans-serif;
  color: #707070;
}

#blockcart-modal.blockcart-modal--legacy .modal-header {
  position: relative;
  justify-content: center;
  padding: 23px 21px 0;
  border: 0;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__title {
  display: block;
  width: 100%;
  margin: 0;
  color: #222;
  font: 500 18px/27px Poppins, sans-serif;
  text-align: center;
  text-transform: capitalize;
}

#blockcart-modal.blockcart-modal--legacy .btn-close {
  position: absolute;
  top: 21px;
  right: 21px;
  width: 18px;
  height: 24px;
  margin: 0;
  padding: 0;
  background-size: 18px;
  opacity: 1;
}

#blockcart-modal.blockcart-modal--legacy .modal-body {
  padding: 23px 21px 0;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__product {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 2px;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__image-wrapper,
#blockcart-modal.blockcart-modal--legacy .blockcart-modal__details {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__image-wrapper {
  text-align: center;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__name {
  margin: 0 0 8px;
  color: #292929;
  font: 600 16px/24px Poppins, sans-serif;
  text-transform: capitalize;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__quantity {
  margin: 10px 0 9px;
  color: #222;
  font: 500 12px/13px Poppins, sans-serif;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews {
  display: flex;
  align-items: center;
  height: 22px;
  font-size: 20px;
  line-height: 22px;
  white-space: nowrap;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews .comments_note {
  display: flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 22px;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews .star_content {
  display: flex;
  float: none;
  width: auto;
  margin: 0;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews .star_content .star {
  flex: 0 0 auto;
  width: 16px !important;
  height: 16px !important;
  margin: 0 3px 0 0;
  background-size: 16px !important;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews .comments_count {
  float: none;
  margin-left: 5px;
  font-size: 20px;
  line-height: 22px;
  white-space: nowrap;
}

/* The old modal never scrolls inside itself; the page scrolls instead. */
#blockcart-modal.blockcart-modal--legacy .modal-dialog-scrollable,
#blockcart-modal.blockcart-modal--legacy .modal-dialog-scrollable .modal-content {
  max-height: none;
  overflow: visible;
}

#blockcart-modal.blockcart-modal--legacy .modal-dialog-scrollable .modal-body {
  overflow: visible;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 6px 0 0;
  color: #222;
  font: 500 18px/20px Poppins, sans-serif;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__price-regular {
  margin: 0 5px 0 15px;
  color: #999;
  font-weight: 300;
  text-decoration: line-through;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__shipping {
  margin: 0;
  padding-top: 7px;
  color: #222;
  font: 400 12px/13px Poppins, sans-serif;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__shipping-labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__shipping-labels strong,
#blockcart-modal.blockcart-modal--legacy .blockcart-modal__shipping-labels span:last-child {
  font-weight: 500;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__shipping-track {
  height: 14px;
  margin: 11px 0 20px;
  border: 1px solid #222;
  background: #fff;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__shipping-track > span {
  display: block;
  height: 100%;
  background: #fbf2f4;
  border-right: 1px solid #222;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__accessories {
  margin-bottom: 20px;
  padding: 11px;
  border: 1px solid #222;
  background: #f7f7f7;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__accessories-title {
  margin: 2px 0 12px;
  padding: 0 0 0 0;
  color: #292929;
  font: 600 20px/24px Poppins, sans-serif;
  text-align: center;
  text-transform: capitalize;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__accessories-list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0 0 27px;
  list-style: none;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__accessories-list li {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__accessories-list a {
  display: block;
}

#blockcart-modal.blockcart-modal--legacy .blockcart-modal__accessories-list img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 87px;
  object-fit: contain;
}

#blockcart-modal.blockcart-modal--legacy .modal-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 21px;
  padding: 0 21px 30px;
  border: 0;
}

#blockcart-modal.blockcart-modal--legacy .modal-footer .btn {
  margin: 0;
  padding: 10px 30px;
  border-radius: 0;
  font: 600 14px/21px Poppins, sans-serif;
  text-transform: capitalize;
}

#blockcart-modal.blockcart-modal--legacy .modal-footer .btn-outline-primary {
  min-height: 45px;
  border: 2px solid #383838;
  background: #fff;
  color: #222;
}

#blockcart-modal.blockcart-modal--legacy .modal-footer .btn-primary {
  min-height: 41px;
  border: 0;
  background: #292929;
  color: #fff;
}

/* ==========================================================================
   Tester round 2: listing, filters, badges, CMS, breadcrumb, header, reviews
   ========================================================================== */

/* Discount badge: Poppins everywhere (it inherited the serif product-card font). */
body .product-flags .badge {
  font-family: Poppins, sans-serif;
}

/* Product titles: two lines with an ellipsis, like the old cards. */
body#category #products .product-miniature__title,
body#search #products .product-miniature__title,
body#prices-drop #products .product-miniature__title,
body#manufacturer #products .product-miniature__title,
body.page-product .ps-categoryproducts .product-miniature__title,
body.page-product .product__accessories .product-miniature__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Listing toolbar: grid/list switch, legacy sort label, solid triangle. */
#js-product-list-top .products__display {
  display: flex;
  flex: 0 0 auto;
  gap: 15px;
  margin: 0 40px 0 0;
  padding: 0;
  list-style: none;
}

#js-product-list-top .products__display-button {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: #c3c3c3;
  line-height: 0;
  cursor: pointer;
}

body:not(.listing-view-list) #js-product-list-top .products__display-button--grid,
body.listing-view-list #js-product-list-top .products__display-button--list {
  color: #222;
}

#js-product-list-top .products__selection {
  justify-content: flex-start;
}

#js-product-list-top .products__sort {
  margin-left: auto;
}

#js-product-list-top .products__sort-label span {
  text-transform: capitalize;
}

#js-product-list-top .products__sort-dropdown-button::after {
  all: unset;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid #222;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

@media (max-width: 767.98px) {
  #js-product-list-top .products__display {
    display: none;
  }
}

/* List view (toggled by product-list-view.js). */
@media (min-width: 768px) {
  body.listing-view-list #products .products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  body.listing-view-list #products .product-miniature__inner {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  body.listing-view-list #products .product-miniature__top {
    flex: 0 0 260px;
    max-width: 260px;
  }

  body.listing-view-list #products .product-miniature__bottom {
    flex: 1 1 auto;
  }
}

/* Category filter: uppercase title, no dividers or arrows, legacy block order, no discount group. */
.search-filters .left-block__title {
  text-transform: uppercase;
  font: 500 20px/20px Poppins, sans-serif;
  color: #292929;
}

.search-filters .accordion {
  display: flex;
  flex-direction: column;
}

.search-filters .accordion-item[data-type="category"] { order: 1; }
.search-filters .accordion-item[data-type="price"] { order: 2; }
.search-filters .accordion-item[data-type="manufacturer"] { order: 3; }
.search-filters .accordion-item[data-type="extras"] { display: none; }

.search-filters .accordion-item,
.search-filters .accordion-item + .accordion-item {
  border: 0;
}

.search-filters .accordion-button {
  padding-inline: 0;
  background: none;
  box-shadow: none;
  color: #292929;
  font: 500 18px/1.4 Poppins, sans-serif;
}

.search-filters .accordion-button::after {
  display: none;
}

.search-filters .accordion-body {
  padding-inline: 0;
}

/* Price range reads above the slider as "10,00 € - 262,00 €". */
.search-filters__slider-container {
  display: flex;
  flex-direction: column-reverse;
}

.search-filters__slider-values {
  margin-bottom: 14px;
  color: #222;
  font: 400 14px/22px Poppins, sans-serif;
}

/* CMS content: no bullets, hairline rules, grey links. */
body#cms .page-content--cms ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body#cms .page-content--cms li {
  padding: 0;
}

body#cms .page-content--cms hr {
  display: block;
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #e8e8e8;
  opacity: 1;
}

body#cms .page-content--cms a {
  color: #707070;
  text-decoration: none;
}

/* Breadcrumb: serif current page everywhere; on mobile the separator stays on the previous line. */
ol.breadcrumb li:last-child > span {
  color: #222;
  font: 500 14px/110% "IBM Plex Serif", serif;
}

@media (max-width: 767.98px) {
  ol.breadcrumb li:last-child > span {
    color: #000;
    font-size: 16px;
    font-weight: 400;
  }

  .breadcrumb__wrapper .breadcrumb-item + .breadcrumb-item::before {
    content: none;
  }

  .breadcrumb__wrapper .breadcrumb-item:not(:last-child)::after {
    content: "/";
    padding-inline: 0.5rem 0.25rem;
    color: var(--bs-breadcrumb-divider-color, #6c757d);
  }

  .breadcrumb__wrapper .breadcrumb-item:last-child {
    flex-basis: 100%;
  }

  /* "You might also like" cards must fit the viewport. */
  body.page-product .product__accessories .module-products__list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body.page-product .product__accessories .product-miniature {
    width: 100%;
    min-width: 0;
  }

  /* Thin magnifier like the old mobile search field. */
  .ps-searchbar__magnifier {
    width: 20px;
    height: 20px;
    overflow: hidden;
    color: transparent;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23222' stroke-width='1.5' stroke-linecap='round'><circle cx='8.5' cy='8.5' r='6.5'/><path d='M13.5 13.5L18.5 18.5'/></svg>") center / contain no-repeat;
  }
}

/* Header: the sign-in label sat 10px left of the old position. */
@media (min-width: 992px) {
  #_desktop_ps_customersignin .ps-customersignin .header-block__title {
    margin: 0;
  }

  /* Signed-in state renders a <button>, which missed the link's side padding. */
  #_desktop_ps_customersignin button.header-block__action-btn {
    padding: 5px 21px 0;
  }
}

/* Reviews: the "be the first" notice is plain text under the heading, not a second button. */
body.page-product .product__reviews .alert-info {
  padding: 0;
  border: 0;
  background: none;
  color: #222;
  text-align: left;
}

body.page-product .product__reviews .alert-info .open-comment-form {
  padding: 0;
  border: 0;
  background: none;
  font: 600 14px/22px Poppins, sans-serif;
}

/* Footer: links are capitalised like the old shop; mobile copyright is 12px. */
#footer .footer-block__content li a,
#footer .footer__block__content-list a {
  text-transform: capitalize;
}

#footer .footer-block__content li a[href^="mailto:"],
#footer .footer-block__content li a[href^="tel:"],
#footer .footer__block__content-list a[href^="mailto:"],
#footer .footer__block__content-list a[href^="tel:"] {
  text-transform: none;
}

@media (max-width: 767.98px) {
  .footer__main-bottom.row .copyright {
    font: 300 12px/18px Poppins, sans-serif;
  }
}

/* Listing toolbar on desktop: one row like the old shop (icons, count, then sort at the right). */
@media (min-width: 992px) {
  body:is(#category, #search, #prices-drop, #manufacturer) #js-product-list-top .products__selection {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  body:is(#category, #search, #prices-drop, #manufacturer) #js-product-list-top .products__display {
    margin-right: 40px;
  }

  body:is(#category, #search, #prices-drop, #manufacturer) #js-product-list-top .products__count {
    flex: 1 1 auto;
    color: #707070;
    font-size: 12px;
    text-align: left;
    text-transform: capitalize;
  }

  body:is(#category, #search, #prices-drop, #manufacturer) #js-product-list-top .products__sort {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 15px;
    margin-left: auto;
    order: 0;
  }

  body:is(#category, #search, #prices-drop, #manufacturer) #js-product-list-top .products__sort-label {
    color: #707070;
    font-size: 12px;
  }

  body:is(#category, #search, #prices-drop, #manufacturer) #js-product-list-top .products__sort-dropdown {
    flex: 0 0 288px;
    width: 288px;
  }

  body:is(#category, #search, #prices-drop, #manufacturer) #js-product-list-top .products__sort-dropdown-button {
    padding: 2px 15px;
    border-color: #ebebeb;
    color: #707070;
  }
}

/* Add-to-cart modal, mobile (<768px). Values measured from the old shop's modal at 390px.
   Desktop rules above stay untouched. */
@media (max-width: 575.98px) {
  #blockcart-modal.blockcart-modal--legacy .modal-dialog {
    margin: 10px;
  }
}

@media (max-width: 767.98px) {
  #blockcart-modal.blockcart-modal--legacy .modal-header {
    padding-top: 23px;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__title {
    font: 500 14.4px/21px Poppins, sans-serif;
  }

  #blockcart-modal.blockcart-modal--legacy .btn-close {
    top: 21px;
  }

  #blockcart-modal.blockcart-modal--legacy .modal-body {
    padding: 40px 16px 0;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__product {
    margin-bottom: 24px;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__image-wrapper {
    flex: 0 0 35.7%;
    max-width: 35.7%;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__details {
    flex: 1 1 0;
    max-width: none;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__name {
    margin: 10px 0 8px;
    color: #000;
    font: 400 16px/17.6px "IBM Plex Serif", serif;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__quantity {
    margin: 10px 0;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews,
  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews .comments_note {
    height: 14px;
    font-size: 13px;
    line-height: 14.3px;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews {
    margin-bottom: 6px;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews .star_content .star {
    width: 10px !important;
    height: 10px !important;
    background-size: 10px !important;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__reviews .comments_count {
    font-size: 13px;
    line-height: 14.3px;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__price {
    margin: 0 0 8px;
    font: 500 14.4px/15.84px Poppins, sans-serif;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__price-regular {
    margin: 0 5px 0 7px;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__shipping {
    padding-top: 7px;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__shipping-track {
    margin: 8px 0 19px;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__accessories-title {
    margin: 1px 0 13px;
    font: 600 14.24px/24px Poppins, sans-serif;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__accessories-list {
    gap: 12.8px;
    padding-bottom: 0;
  }

  #blockcart-modal.blockcart-modal--legacy .blockcart-modal__accessories-list img {
    min-height: 69px;
  }

  #blockcart-modal.blockcart-modal--legacy .modal-footer {
    padding: 0 16px 16px;
  }
}

/* Perfume landing: carousels and the hero video are wider than the viewport; clip instead of scrolling sideways. */
body#module-cs_questionnaire-perfume,
body#module-cs_questionnaire-beautybox {
  overflow-x: clip;
}

/* Colour variants: 40px round swatches with the shade name underneath, like the old shop. */
.product-variant:has(.product-variant__colors) .product-variant__selected {
  display: none;
}

.product-variant__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0 15px;
}

.product-variant__colors .product-variant__color {
  margin-bottom: 25px;
}

.product-variant__colors .input-color__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 45px;
  margin: 0;
  box-shadow: none;
  text-align: center;
}

.product-variant__colors .color {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  outline: 0;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  background-size: cover;
}

.product-variant__colors .color.active,
.product-variant__colors .color:hover,
.product-variant__colors .color:focus-visible {
  border: 2px solid #232323;
  outline: 0;
}

.product-variant__color-name {
  margin-top: 8px;
  color: #222;
  font: 400 14px/15px Poppins, sans-serif;
  text-transform: none;
}

.product-variant:has(.product-variant__colors) {
  display: flex;
  flex-direction: column;
}

.product-variant:has(.product-variant__colors) .product-variant__label {
  margin-bottom: 14px;
}

.product-variant:has(.product-variant__colors) .product-variant__legend {
  margin: 0;
  color: #222;
  font: 400 18px/20px "IBM Plex Serif", serif;
  float: none;
}

/* Contact form: old layout, label column on the left, 20px uppercase title, dark "Siųsti" button. */
.contact-form {
  max-width: 960px;
  margin-inline: auto;
}

.contact-form .contact-form__title {
  margin: 0 0 30px;
  color: #232323;
  font: 600 20px/24px Poppins, sans-serif;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .contact-form .form-fields .mb-3 {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    align-items: start;
    margin-bottom: 16px !important;
  }

  .contact-form .form-fields .mb-3 > .form-label {
    padding-top: 10px;
    font: 400 13px/22px Poppins, sans-serif;
  }

  .contact-form .form-fields .mb-3 > select,
  .contact-form .form-fields .mb-3 > input:not([type="checkbox"]) {
    max-width: 524px;
  }

  .contact-form .form-fields .mb-3 > .form-text {
    grid-column: 2;
  }
}

.contact-form .form-label.required::after {
  content: none;
}

.contact-form .form-control,
.contact-form .form-select {
  border-color: #ebebeb;
  font-size: 14px;
}

.contact-form input[type="file"]::file-selector-button {
  margin: -6px 12px -6px -16px;
  padding: 8px 16px;
  border: 0;
  background: #28b4d3;
  color: #fff;
  font: 500 11px/20px Poppins, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form .buttons-wrapper .btn-primary {
  min-width: 90px;
  border-radius: 0;
  background: #222;
  border-color: #222;
  color: #fff;
}

/* Brand list: two columns, logo left, name/count/description/button right (old shop). */
.brand__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .brand__list {
    grid-template-columns: 1fr 1fr;
  }
}

.brand__list .brand {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
}

.brand__list .brand__image {
  flex: 0 0 90px;
}

.brand__list .brand__infos {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand__list .brand__title {
  margin: 0;
  font: 500 18px/24px Poppins, sans-serif;
}

.brand__list .brand__title a {
  color: #222;
  text-decoration: none;
}

.brand__list .brand .brand__products {
  margin: 4px 0 12px;
  color: #222;
  font: 400 12px/18px Poppins, sans-serif;
}

.brand__list .brand__text {
  margin: 0 0 16px;
  color: #707070;
  font: 300 14px/22px Poppins, sans-serif;
}

.brand__list .brand__more {
  border-radius: 0;
  font-size: 14px;
}

.brand__list .brand__more.btn-outline-primary {
  border: 1px solid #222;
  background: transparent;
  color: #222;
}

/* Listing cards use a 3:4 image box like the old shop (taller rows). */
body:is(#category, #search, #prices-drop, #manufacturer, #best-sales, #new-products) #products .product-miniature__image-container,
body:is(#category, #search, #prices-drop, #manufacturer, #best-sales, #new-products) #products .product-miniature__image-link {
  aspect-ratio: 3 / 4;
  height: auto;
}

body:is(#category, #search, #prices-drop, #manufacturer, #best-sales, #new-products) #products .product-miniature__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Home product module titles are centred on mobile like the old shop. */
@media (max-width: 767.98px) {
  body#index .module-products > .section-title,
  body#index .module-products .section-title {
    text-align: center;
  }
}

/* "Kitos prekės kategorijoje" (desktop): arrows sit at the viewport edges, never on top of a card. */
@media (min-width: 992px) {
  body.page-product .ps-categoryproducts__previous {
    left: calc(50% - 50vw - 6px);
  }

  body.page-product .ps-categoryproducts__next {
    right: calc(50% - 50vw + 25px);
  }
}

/* Footer background matches the old shop (#222). */
#footer .footer__main,
#footer .footer.footer__main {
  background-color: #222;
}

/* Closed product accordions show "+" like the old shop. */
.product__accordion .accordion-button.collapsed::after {
  width: auto;
  height: auto;
  background-image: none;
  content: "+";
  color: #222;
  font: 300 28px/1 Poppins, sans-serif;
  transform: none;
}

/* Review titles are capitalised ("Puikus Serumas"). */
body.page-product .product__reviews .comment_details strong,
body.page-product .product__reviews .comment_details .title {
  text-transform: capitalize;
}
