.strass-bought-also {
  margin: 34px 0 28px;
  padding: 28px 34px 30px;
  border: 1px solid #ececf1;
  border-radius: 8px;
  background: #fff;
  color: #15131f;
}

.strass-bought-also__inner {
  width: 100%;
}

.strass-bought-also__header {
  margin-bottom: 18px;
}

.strass-bought-also__header h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
}

.strass-bought-also__header p {
  margin: 0;
  color: #565a66;
  font-size: 14px;
  line-height: 1.4;
}

.strass-bought-also__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: center;
}

.strass-bought-also__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.strass-bought-card {
  min-width: 0;
  position: relative;
}

.strass-bought-card__check {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  margin: 0;
  cursor: pointer;
}

.strass-bought-card__check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.strass-bought-card__check span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid #1d6bb5;
  border-radius: 4px;
  background: #fff;
}

.strass-bought-card__check span:after {
  content: "";
  width: 8px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0;
}

.strass-bought-card__check input:checked + span {
  background: #1d6bb5;
}

.strass-bought-card__check input:checked + span:after {
  opacity: 1;
}

.strass-bought-card__image {
  display: block;
  aspect-ratio: 1.25;
  border-radius: 8px;
  background: #f7f7f9;
  overflow: hidden;
}

.strass-bought-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  mix-blend-mode: multiply;
}

.strass-bought-card__body {
  padding-top: 13px;
}

.strass-bought-card__name {
  display: -webkit-box;
  min-height: 44px;
  color: #075a9f;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.strass-bought-card__name strong {
  color: #15131f;
  font-weight: 800;
}

.strass-bought-card__name:hover {
  color: #e61010;
}

.strass-bought-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  line-height: 1.2;
}

.strass-bought-card__price strong {
  color: #15131f;
  font-size: 18px;
  font-weight: 800;
}

.strass-bought-card__discount {
  color: #cc0c39;
  font-size: 17px;
  font-weight: 800;
}

.strass-bought-card__regular {
  color: #6f7280;
  font-size: 13px;
  text-decoration: line-through;
}

.strass-bought-also__plus {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 300px;
  color: #6f7280;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.strass-bought-summary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.strass-bought-summary__total {
  display: flex;
  justify-content: center;
  gap: 5px;
  font-size: 16px;
  line-height: 1.3;
}

.strass-bought-summary__total strong {
  font-size: 20px;
  font-weight: 800;
}

.strass-bought-summary__free-shipping {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid #ccefd7;
  border-radius: 4px;
  background: #f2fff6;
  color: #177a3b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.strass-bought-summary__free-shipping[hidden] {
  display: none;
}

.strass-bought-summary__button {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 4px;
  background: #e61010;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(230, 16, 16, .22);
}

.strass-bought-summary__button:hover,
.strass-bought-summary__button:focus {
  background: #b90d0d;
  color: #fff;
}

.strass-bought-summary__button[disabled] {
  cursor: wait;
  opacity: .65;
}

.strass-bought-summary__note {
  margin: 14px 0 0;
  color: #343541;
  font-size: 13px;
  line-height: 1.45;
}

.strass-bought-summary__note:before {
  content: "i";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  border-radius: 50%;
  background: #1d6bb5;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.strass-bought-summary__note.is-error {
  color: #cc0c39;
}

.strass-bought-summary__note.is-success {
  color: #177a3b;
}

.strass-same-category-carousel {
  margin: 28px 0;
  padding: 26px 28px 30px;
  border: 1px solid #ececf1;
  border-radius: 8px;
  background: #fff;
  color: #15131f;
  overflow: hidden;
}

.strass-same-category-carousel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.strass-same-category-carousel__head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
}

.strass-same-category-carousel__nav {
  display: inline-flex;
  gap: 8px;
  flex: 0 0 auto;
}

.strass-same-category-carousel__button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ececf1;
  border-radius: 50%;
  background: #fff;
  color: #15131f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}

.strass-same-category-carousel__button:hover,
.strass-same-category-carousel__button:focus {
  border-color: #e61010;
  background: #e61010;
  color: #fff;
}

.strass-same-category-carousel__button:disabled {
  cursor: default;
  opacity: .35;
  pointer-events: none;
}

.strass-same-category-carousel__viewport {
  position: relative;
}

.strass-same-category-carousel__viewport:before,
.strass-same-category-carousel__viewport:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  z-index: 2;
  width: 34px;
  pointer-events: none;
}

.strass-same-category-carousel__viewport:before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.strass-same-category-carousel__viewport:after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.strass-same-category-carousel__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #e61010 transparent;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.strass-same-category-carousel__track::-webkit-scrollbar {
  height: 7px;
}

.strass-same-category-carousel__track::-webkit-scrollbar-track {
  background: transparent;
}

.strass-same-category-carousel__track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #e61010;
}

.strass-same-category-carousel__track::-webkit-scrollbar-thumb:hover {
  background: #e61010;
}

.strass-same-category-carousel__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.strass-same-category-card {
  flex: 0 0 204px;
  min-width: 0;
  scroll-snap-align: start;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.strass-same-category-card:hover {
  border-color: #ececf1;
  box-shadow: 0 12px 28px rgba(21, 19, 31, .08);
  transform: translateY(-2px);
}

.strass-same-category-card__image {
  display: block;
  aspect-ratio: 1;
  border: 1px solid #ececf1;
  border-radius: 8px;
  background: #f7f7f9;
  overflow: hidden;
}

.strass-same-category-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  mix-blend-mode: multiply;
}

.strass-same-category-card__name {
  display: -webkit-box;
  min-height: 42px;
  margin-top: 10px;
  color: #15131f;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.strass-same-category-card__name:hover {
  color: #e61010;
}

.strass-same-category-card__price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 7px;
  line-height: 1.2;
}

.strass-same-category-card__price span {
  color: #cc0c39;
  font-size: 14px;
  font-weight: 800;
}

.strass-same-category-card__price strong {
  color: #15131f;
  font-size: 17px;
  font-weight: 800;
}

@media (max-width: 991px) {
  .strass-bought-also__layout {
    grid-template-columns: 1fr;
  }

  .strass-bought-summary {
    max-width: 360px;
  }
}

@media (max-width: 767px) {
  .strass-bought-also {
    margin: 26px 0;
    padding: 20px 16px 24px;
  }

  .strass-bought-also__items {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .strass-bought-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  .strass-bought-also__plus {
    display: none;
  }

  .strass-bought-summary {
    max-width: none;
  }

  .strass-same-category-carousel {
    padding: 20px 16px 24px;
  }

  .strass-same-category-carousel__nav {
    display: none;
  }

  .strass-same-category-carousel__viewport:before,
  .strass-same-category-carousel__viewport:after {
    width: 18px;
  }

  .strass-same-category-card {
    flex-basis: 164px;
  }
}

/* Reviews inside bought-together cards */
.strass-bought-card__reviews {
  min-height: 18px;
  margin-top: 7px;
  line-height: 1;
}

.strass-bought-card__reviews:empty {
  display: none;
}

.strass-bought-card__reviews .iqitreviews-simple,
.strass-bought-card__reviews .iqitreviews-simple-product,
.strass-bought-card__reviews .iqitreviews-simple-product-rating,
.strass-bought-card__reviews .iqit-review-star,
.strass-bought-card__reviews .iqit-reviews-simple {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  vertical-align: top;
}

.strass-bought-card__reviews .iqitreviews-nb,
.strass-bought-card__reviews .iqit-review-nb,
.strass-bought-card__reviews .iqit-reviews-nb {
  margin-left: 4px;
  color: #5f6470;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.strass-bought-card__reviews .star,
.strass-bought-card__reviews .material-icons,
.strass-bought-card__reviews i {
  color: #ffb21a !important;
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 767px) {
  .strass-bought-card__reviews {
    margin-top: 6px;
  }
}

/* Reviews inside same-category carousel cards */
.strass-same-category-card__reviews {
  min-height: 17px;
  margin-top: 6px;
  line-height: 1;
}

.strass-same-category-card__reviews:empty {
  display: none;
}

.strass-same-category-card__reviews .iqitreviews-simple {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
}

.strass-same-category-card__reviews .iqit-review-star {
  font-size: 12px;
  line-height: 1;
  color: #ffb21a !important;
}

.strass-same-category-card__reviews .iqitreviews-nb {
  margin-left: 4px;
  color: #5f6470;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
