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

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

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

.bp-samebrandproduct-viewport {
  cursor: grab;
  direction: rtl;
  overflow: hidden;
  overscroll-behavior: auto;
  touch-action: pan-y;
  width: 100%;
}

.bp-samebrandproduct-track {
  direction: rtl;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-left: auto;
  margin-right: 0;
  transition: transform 0.36s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.bp-samebrandproduct-is-dragging .bp-samebrandproduct-viewport {
  cursor: grabbing;
}

.bp-samebrandproduct-is-dragging .bp-samebrandproduct-track {
  user-select: none;
}

.bp-samebrandproduct-track img {
  -webkit-user-drag: none;
  user-drag: none;
}

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

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

.bp-samebrandproduct-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-samebrandproduct-icon {
  display: block;
  fill: none;
  height: 1.35rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  width: 1.35rem;
}

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

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

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

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

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

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


.bp-samebrandproduct-viewall-slide {
  display: flex;
}

.bp-samebrandproduct-viewall-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  justify-content: center;
  min-height: 220px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.bp-samebrandproduct-viewall-card:hover,
.bp-samebrandproduct-viewall-card:focus {
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.bp-samebrandproduct-viewall-card-icon {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  fill: none;
  height: 2.75rem;
  padding: 0.62rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
  width: 2.75rem;
}

.bp-samebrandproduct-viewall-card-text {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
}
