.bp-onsalesproduct {
  direction: rtl;
  margin: 2rem 0;
  text-align: right;
}

.bp-onsalesproduct,
.bp-onsalesproduct * {
  box-sizing: border-box;
}

.bp-onsalesproduct-shell {
  background: #e72b61;
  border-radius: 14px;
  overflow: hidden;
  padding: 0 0.5rem 0.75rem;
}

.bp-onsalesproduct-header {
  padding: 0.75rem 0.5rem 0.25rem;
}

.bp-onsalesproduct-header-link {
  align-items: center;
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 44px;
  text-decoration: none;
  width: 100%;
}

.bp-onsalesproduct-header-link:hover,
.bp-onsalesproduct-header-link:focus {
  color: #fff;
  text-decoration: none;
}

.bp-onsalesproduct-heading {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bp-onsalesproduct-heading strong {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
}

.bp-onsalesproduct-kicker {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.8;
  padding: 0 0.6rem;
}

.bp-onsalesproduct-viewall {
  align-items: center;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.35rem;
  white-space: nowrap;
}

.bp-onsalesproduct-arrow {
  fill: currentColor;
  height: 0.95rem;
  width: 0.95rem;
}

.bp-onsalesproduct-slider {
  direction: rtl;
  overflow: hidden;
  padding: 0.5rem 0;
  position: relative;
}

.bp-onsalesproduct-viewport {
  direction: rtl;
  overflow: hidden;
  width: 100%;
}

.bp-onsalesproduct-track {
  direction: rtl;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: flex-start;
  margin-left: auto;
  margin-right: 0;
  transition: transform 0.45s ease;
  will-change: transform;
}

.bp-onsalesproduct-slide {
  direction: rtl;
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0.25rem;
}

.bp-onsalesproduct-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
  color: #1f1f1f;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  min-height: 248px;
  padding: 0.55rem;
  position: relative;
  text-decoration: none;
}

.bp-onsalesproduct-card:hover,
.bp-onsalesproduct-card:focus {
  color: #1f1f1f;
  text-decoration: none;
}

.bp-onsalesproduct-image-wrap {
  align-items: center;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 140px;
  width: 100%;
}

.bp-onsalesproduct-image {
  display: block;
  height: 100%;
  max-height: 140px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.bp-onsalesproduct-no-image {
  background: #f4f4f4;
  border-radius: 10px;
  display: block;
  height: 100%;
  width: 100%;
}

.bp-onsalesproduct-brand {
  color: #777;
  display: block;
  font-size: 0.75rem;
  line-height: 1.6;
  min-height: 1.2rem;
}

.bp-onsalesproduct-name {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #111;
  display: -webkit-box;
  flex: 1 1 auto;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
  min-height: 2.55rem;
  overflow: hidden;
}

.bp-onsalesproduct-pricing {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
  margin-top: auto;
  width: 100%;
}

.bp-onsalesproduct-pricebox {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bp-onsalesproduct-regular-price {
  color: #777;
  font-size: 0.72rem;
  line-height: 1.2;
  text-decoration: line-through;
}

.bp-onsalesproduct-price {
  color: #111;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.4;
}

.bp-onsalesproduct-discount {
  align-items: center;
  background: #d91535;
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  min-width: 34px;
  padding: 0 0.25rem;
}

.bp-onsalesproduct-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #333;
  cursor: pointer;
  display: none;
  height: 34px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  z-index: 3;
}

.bp-onsalesproduct-control[disabled] {
  cursor: default;
  opacity: 0.35;
}

.bp-onsalesproduct-control-icon {
  fill: currentColor;
  height: 24px;
  width: 24px;
}

.bp-onsalesproduct-prev {
  left: auto;
  right: 0.7rem;
}

.bp-onsalesproduct-next {
  left: 0.7rem;
  right: auto;
}

@media (min-width: 768px) and (orientation: portrait) {
  .bp-onsalesproduct-slide {
    flex-basis: 33.333333%;
    max-width: 33.333333%;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) and (orientation: landscape) {
  .bp-onsalesproduct-slide {
    flex-basis: 25%;
    max-width: 25%;
  }
}

@media (min-width: 992px) {
  .bp-onsalesproduct-shell {
    padding: 0.5rem 0.75rem 1rem;
  }

  .bp-onsalesproduct-header {
    padding: 0.5rem 0.5rem 0.65rem;
  }

  .bp-onsalesproduct-heading strong {
    font-size: 1.35rem;
  }

  .bp-onsalesproduct-card {
    min-height: 280px;
    padding: 0.75rem;
  }

  .bp-onsalesproduct-brand,
  .bp-onsalesproduct-name,
  .bp-onsalesproduct-price {
    font-size: 0.9rem;
  }

  .bp-onsalesproduct-regular-price {
    font-size: 0.82rem;
  }

  .bp-onsalesproduct-discount {
    border-radius: 9px;
    font-size: 0.9rem;
    height: 26px;
    min-width: 44px;
  }

  .bp-onsalesproduct-control {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .bp-onsalesproduct-slide {
    flex-basis: 20%;
    max-width: 20%;
  }
}
