.beautys-featured-products {
  padding: 0px 24px 92px;
  overflow: hidden;
  background: #fff;
  color: #161616;
  font-family: "Josefin Sans", sans-serif;
}

.beautys-featured-products__inner {
  width: min(1539px, 100%);
  margin: 0 auto;
}

.beautys-product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 24px;
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
}

.beautys-product-list .beautys-featured-product {
  min-width: 0;
  padding: 0;
  text-align: center;
}

.beautys-featured-products__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 54px;
  text-align: center;
}

.beautys-featured-products__title {
  display: flex;
  gap: 14px;
  margin: 0;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.beautys-featured-products__title strong {
  font-weight: 500;
}

.beautys-featured-products__divider {
  display: block;
  width: 275px;
  height: 30px;
  margin-top: 37px;
}

.beautys-featured-products__carousel {
  position: relative;
}

.beautys-featured-products__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.beautys-featured-products .beautys-featured-products__track {
  --beautys-products-per-view: 4;
  --beautys-products-gap: 32px;
  display: flex;
  align-items: stretch;
  gap: var(--beautys-products-gap);
  margin: 0;
  transition: none;
  will-change: transform;
}

.beautys-featured-products .beautys-featured-product {
  position: relative;
  flex: 0 0 calc((100% - (var(--beautys-products-gap) * (var(--beautys-products-per-view) - 1))) / var(--beautys-products-per-view));
  min-width: 0;
  padding: 0;
  text-align: center;
}

.beautys-featured-product__image-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: visible;
  background: #f5f2f4;
}

.beautys-featured-product__image-link,
.beautys-featured-product__image {
  display: block;
  width: 100%;
  height: 100%;
}

.beautys-featured-product__image-link {
  overflow: hidden;
}

.beautys-featured-product__image {
  object-fit: cover;
  transition: transform 450ms ease;
}

.beautys-featured-product:hover .beautys-featured-product__image,
.beautys-featured-product:focus-within .beautys-featured-product__image {
  transform: scale(1.018);
}

.beautys-featured-product__discount {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  color: #ed8d99;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.beautys-featured-product:hover .beautys-featured-product__discount,
.beautys-featured-product:focus-within .beautys-featured-product__discount {
  opacity: 1;
  transform: translateY(0);
}

.beautys-featured-product__tools {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.beautys-featured-product__tool,
.beautys-featured-products .wishlist-button-add,
.beautys-product-list .wishlist-button-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #303030;
  box-shadow: none;
  opacity: 0;
  transform: translateX(9px);
  transition: color 180ms ease, background 180ms ease, opacity 220ms ease, transform 220ms ease;
}

.beautys-featured-products .wishlist-button-add,
.beautys-product-list .wishlist-button-add {
  position: absolute;
  z-index: 6;
  top: 16px !important;
  right: 16px !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #303030 !important;
}

.beautys-featured-product__tools {
  padding-top: 52px;
}

.beautys-featured-product__tool .material-icons,
.beautys-featured-products .wishlist-button-add .material-icons,
.beautys-product-list .wishlist-button-add .material-icons {
  font-size: 21px;
}

.beautys-featured-product:hover .beautys-featured-product__tool,
.beautys-featured-product:focus-within .beautys-featured-product__tool,
.beautys-featured-product:hover .wishlist-button-add,
.beautys-featured-product:focus-within .wishlist-button-add {
  opacity: 1;
  transform: translateX(0);
}

.beautys-featured-product__tool:hover,
.beautys-featured-products .wishlist-button-add:hover,
.beautys-product-list .wishlist-button-add:hover {
  background: #eba2ab;
  color: #fff;
}

.beautys-featured-products .wishlist-button-add:hover,
.beautys-product-list .wishlist-button-add:hover {
  background: #eba2ab !important;
  color: #fff !important;
}

.beautys-featured-product__variants {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 5px 12px;
  gap: 8px;
  background: #fff;
  opacity: 0;
  transform: translate(-50%, 7px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.beautys-featured-product:hover .beautys-featured-product__variants,
.beautys-featured-product:focus-within .beautys-featured-product__variants {
  opacity: 1;
  transform: translate(-50%, 0);
}

.beautys-featured-product__variants .color {
  width: 13px;
  height: 13px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 10%);
}

.beautys-featured-product__variants a:not(.color) {
  color: #676767;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}

.beautys-featured-product__details {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 171px;
  padding: 31px 8px 0;
}

.beautys-featured-product__title {
  color: #444;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-decoration: none;
}

.beautys-featured-product__title:hover {
  color: #eba2ab;
}

.beautys-featured-product__prices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 26px;
  margin-top: 13px;
}

.beautys-featured-product__price {
  color: #0b0b0b;
  font-size: 18px;
  font-weight: 700;
}

.beautys-featured-product__price-separator {
  width: 21px;
  height: 1px;
  background: #555;
}

.beautys-featured-product__regular-price {
  color: #737373;
  font-size: 16px;
  text-decoration: line-through;
}

.beautys-featured-product__engagement {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  margin-top: 18px;
}

.beautys-featured-product__actions {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: min(240px, 100%);
  height: 45px;
  margin: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.beautys-featured-product:hover .beautys-featured-product__actions,
.beautys-featured-product:focus-within .beautys-featured-product__actions {
  opacity: 1;
  visibility: visible;
}

.beautys-featured-product__actions form {
  width: 100%;
  height: 100%;
}

.beautys-featured-product__add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 45px;
  padding: 0 20px;
  border: 1px solid #191919;
  border-radius: 0;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.beautys-featured-product__add:hover,
.beautys-featured-product__add:focus-visible {
  border-color: #eba2ab;
  background: #eba2ab;
  color: #fff;
}

.beautys-featured-product__reviews {
  display: flex;
  justify-content: center;
  min-height: 25px;
  margin: 0;
}

.beautys-featured-product__reviews .product-list-review,
.beautys-featured-product__reviews .product-list-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
}

.beautys-featured-product__reviews .grade-stars {
  filter: none;
}

.beautys-featured-product__reviews .star-content div.star,
.beautys-featured-product__reviews .star-content div.star-on,
.beautys-featured-product__reviews .star-content div.star-hover {
  background: #eba2ab;
  -webkit-mask: url("../../../../modules/productcomments/views/img/small_stars.png") no-repeat 0 0;
  mask: url("../../../../modules/productcomments/views/img/small_stars.png") no-repeat 0 0;
}

.beautys-featured-product__reviews .star-content div.star-on,
.beautys-featured-product__reviews .star-content div.star-hover {
  -webkit-mask-position: -19px 0;
  mask-position: -19px 0;
}

.beautys-featured-product__reviews .product-list-comments-number,
.beautys-featured-product__reviews .comments-nb {
  font-size: 16px;
  line-height: 20px;
}

.beautys-featured-products__arrow {
  position: absolute;
  z-index: 8;
  top: calc((100% - 212px) / 2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #7d7d7d;
  border-radius: 0;
  background: rgb(255 255 255 / 92%);
  color: #363636;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 220ms ease, color 180ms ease, border-color 180ms ease;
}

.beautys-featured-products__arrow--previous {
  left: -16px;
}

.beautys-featured-products__arrow--next {
  right: -16px;
}

.beautys-featured-products__carousel:hover .beautys-featured-products__arrow,
.beautys-featured-products__carousel:focus-within .beautys-featured-products__arrow {
  opacity: 1;
  pointer-events: auto;
}

.beautys-featured-products__arrow:hover,
.beautys-featured-products__arrow:focus-visible {
  border-color: #eba2ab;
  color: #eba2ab;
}

.beautys-featured-products__arrow .material-icons {
  font-size: 31px;
}

.beautys-featured-products__pagination {
  display: none;
}

.beautys-latest-choose__footer {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.beautys-latest-choose__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 207px;
  height: 45px;
  padding: 0 24px;
  background: #363636;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.beautys-latest-choose__more:hover,
.beautys-latest-choose__more:focus-visible {
  background: #eba2ab;
  color: #fff;
}

@media (max-width: 991px) {
  .beautys-featured-products {
    padding: 60px 20px 72px;
  }

  .beautys-featured-products__header {
    margin-bottom: 24px;
  }

  .beautys-featured-products__title {
    font-size: 34px;
  }

  .beautys-featured-products__divider {
    width: 220px;
    margin-top: 20px;
  }

  .beautys-featured-products .beautys-featured-products__track {
    --beautys-products-per-view: 2;
    --beautys-products-gap: 20px;
  }

  .beautys-featured-products__arrow {
    opacity: 1;
    pointer-events: auto;
  }

  .beautys-featured-products__arrow--previous {
    left: 8px;
  }

  .beautys-featured-products__arrow--next {
    right: 8px;
  }

  .beautys-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
}

@media (max-width: 575px) {
  .beautys-featured-products {
    padding: 0px 16px 58px;
  }

  .beautys-featured-products__title {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 10px;
    font-size: 22px;
  }

  .beautys-featured-products__arrow {
    display: none;
    top: calc((100vw - 32px) / 2);
    border: 0;
    background: transparent;
  }

  .beautys-featured-products__viewport {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .beautys-featured-products__viewport::-webkit-scrollbar {
    display: none;
  }

  .beautys-featured-products .beautys-featured-products__track {
    --beautys-products-gap: 16px;
    will-change: auto;
  }

  .beautys-featured-products .beautys-featured-product {
    flex-basis: calc(100% - 32px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .beautys-featured-product__tools,
  .beautys-featured-product__tool,
  .beautys-featured-products .wishlist-button-add,
  .beautys-product-list .wishlist-button-add,
  .beautys-featured-product__discount,
  .beautys-featured-product__variants {
    opacity: 1;
    transform: none;
  }

  .beautys-featured-product__tools {
    padding-top: 40px;
  }

  .beautys-featured-product__tool,
  .beautys-featured-products .wishlist-button-add,
  .beautys-product-list .wishlist-button-add {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }

  .beautys-featured-product__tool .material-icons,
  .beautys-featured-products .wishlist-button-add .material-icons,
  .beautys-product-list .wishlist-button-add .material-icons {
    font-size: 19px;
  }

  .beautys-featured-product__details {
    min-height: 171px;
  }

  .beautys-featured-product__actions {
    width: min(200px, 100%);
    height: 40px;
    opacity: 1;
    visibility: visible;
  }

  .beautys-featured-product__add {
    height: 40px;
    font-size: 15px;
  }

  .beautys-featured-product__variants {
    transform: translateX(-50%);
  }

  .beautys-featured-products__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 10px;
    margin-top: 24px;
  }

  .beautys-latest-choose__footer {
    margin-top: 26px;
  }

  .beautys-featured-products__dot {
    display: block;
    width: 10px;
    height: 10px;
    border: 1px solid #888;
    border-radius: 50%;
    background: #fff;
  }

  .beautys-featured-products__dot[aria-current="true"] {
    border-color: #eba2ab;
    background: #eba2ab;
  }

  .beautys-product-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beautys-featured-products *,
  .beautys-featured-products *::before,
  .beautys-featured-products *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .beautys-product-list *,
  .beautys-product-list *::before,
  .beautys-product-list *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@layer vendors {
  .beautys-featured-products .wishlist-button-add,
  .beautys-product-list .wishlist-button-add {
    top: 16px !important;
    right: 16px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #303030 !important;
  }

  .beautys-featured-products .wishlist-button-add:hover,
  .beautys-product-list .wishlist-button-add:hover {
    background: #eba2ab !important;
    color: #fff !important;
  }

  @media (max-width: 575px) {
    .beautys-featured-products .wishlist-button-add,
    .beautys-product-list .wishlist-button-add {
      width: 32px !important;
      min-width: 32px !important;
      height: 32px !important;
    }
  }
}
