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

.bp-samecategoryproduct-title {
  margin-bottom: 1rem;
  text-align: right;
}

.bp-samecategoryproduct-slider {
  direction: rtl;
  position: relative;
}

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

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

.bp-samecategoryproduct-slide {
  box-sizing: border-box;
  direction: rtl;
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0.5rem;
  text-align: right;
}

.bp-samecategoryproduct-slide .product-miniature {
  width: 100%;
}

.bp-samecategoryproduct-control {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 2.25rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  z-index: 2;
}

.bp-samecategoryproduct-icon {
  display: block;
  fill: none;
  height: 1.35rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  width: 1.35rem;
}

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

.bp-samecategoryproduct-prev {
  left: auto;
  right: 1.25rem;
}

.bp-samecategoryproduct-next {
  left: 1.25rem;
  right: auto;
}

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

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

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