.bp-productcarousel {
  background: var(--bp-pc-bg, #fff);
  border-radius: 14px;
  direction: rtl;
  margin: 1rem 0;
  padding: 1rem;
  text-align: center;
}

.bp-productcarousel *,
.bp-productcarousel *::before,
.bp-productcarousel *::after {
  box-sizing: border-box;
}

.bp-productcarousel-header {
  align-items: center;
  display: flex;
  gap: 0.72rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bp-productcarousel-heading {
  min-width: 0;
}

.bp-productcarousel-title {
  color: var(--bp-pc-title-color, inherit);
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.bp-productcarousel-title a {
  color: inherit;
  text-decoration: none;
}

.bp-productcarousel-title a:hover,
.bp-productcarousel-title a:focus {
  color: inherit;
  text-decoration: underline;
}

.bp-productcarousel-view-all {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.35;
  padding: 0.38rem 0.78rem;
  text-decoration: none;
}

.bp-productcarousel-view-all:hover,
.bp-productcarousel-view-all:focus {
  background: rgba(0, 0, 0, 0.04);
  color: inherit;
  text-decoration: none;
}

.bp-productcarousel-slider {
  --bp-pc-current-gap: 12px;
  direction: rtl;
  position: relative;
}

.bp-productcarousel-viewport {
  -ms-touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  cursor: grab;
  direction: rtl;
  overflow: hidden;
  overscroll-behavior-x: contain;
  contain: layout paint;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  user-select: none;
  width: 100%;
}

.bp-productcarousel-track {
  -webkit-user-select: none;
  align-items: stretch;
  backface-visibility: hidden;
  direction: rtl;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--bp-pc-current-gap);
  justify-content: flex-start;
  margin-left: auto;
  margin-right: 0;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition: none;
  user-select: none;
  will-change: transform;
  contain: layout paint style;
  transform-style: preserve-3d;
}

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

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

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

.bp-productcarousel-slide {
  box-sizing: border-box;
  direction: rtl;
  flex: 0 0 calc((100% - (var(--bp-pc-current-gap) * (var(--bp-pc-mobile, 2.2) - 1))) / var(--bp-pc-mobile, 2.2));
  max-width: calc((100% - (var(--bp-pc-current-gap) * (var(--bp-pc-mobile, 2.2) - 1))) / var(--bp-pc-mobile, 2.2));
  padding: 0;
  pointer-events: auto;
  text-align: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout paint style;
}

.bp-productcarousel-slide .product-miniature,
.bp-productcarousel-slide article.product-miniature {
  height: 100%;
  width: 100%;
}

.bp-productcarousel-slider a,
.bp-productcarousel-slider button,
.bp-productcarousel-slider .bp-product-link,
.bp-productcarousel-slider .product-miniature a {
  pointer-events: auto;
}

.bp-productcarousel-is-dragging a,
.bp-productcarousel-is-dragging img {
  user-select: none;
}

@media (min-width: 768px) {
  .bp-productcarousel-slider {
    --bp-pc-current-gap: 16px;
  }
  .bp-productcarousel-slide {
    flex-basis: calc((100% - (var(--bp-pc-current-gap) * (var(--bp-pc-tablet-portrait, var(--bp-pc-tablet, 3.2)) - 1))) / var(--bp-pc-tablet-portrait, var(--bp-pc-tablet, 3.2)));
    max-width: calc((100% - (var(--bp-pc-current-gap) * (var(--bp-pc-tablet-portrait, var(--bp-pc-tablet, 3.2)) - 1))) / var(--bp-pc-tablet-portrait, var(--bp-pc-tablet, 3.2)));
  }
}

@media (min-width: 992px) {
  .bp-productcarousel-slider {
    --bp-pc-current-gap: var(--bp-pc-gap, 20px);
  }
  .bp-productcarousel-slide {
    flex-basis: calc((100% - (var(--bp-pc-current-gap) * (var(--bp-pc-tablet-landscape, 4.2) - 1))) / var(--bp-pc-tablet-landscape, 4.2));
    max-width: calc((100% - (var(--bp-pc-current-gap) * (var(--bp-pc-tablet-landscape, 4.2) - 1))) / var(--bp-pc-tablet-landscape, 4.2));
  }
}

@media (min-width: 1200px) {
  .bp-productcarousel-slide {
    flex-basis: calc((100% - (var(--bp-pc-current-gap) * (var(--bp-pc-desktop, 5.2) - 1))) / var(--bp-pc-desktop, 5.2));
    max-width: calc((100% - (var(--bp-pc-current-gap) * (var(--bp-pc-desktop, 5.2) - 1))) / var(--bp-pc-desktop, 5.2));
  }
}

.bp-productcarousel-control {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  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-productcarousel-control svg {
  fill: currentColor;
  height: 1.1rem;
  width: 1.1rem;
}

.bp-productcarousel-control.is-disabled,
.bp-productcarousel-control[disabled] {
  cursor: default;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 991px) {
  .bp-productcarousel-control {
    display: none !important;
  }
}

.bp-productcarousel-prev {
  right: 0.25rem;
}

.bp-productcarousel-next {
  left: 0.25rem;
}

.bp-productcarousel-tabs {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  overflow-x: auto;
  padding: 0 0 0.35rem;
  scrollbar-width: thin;
}

.bp-productcarousel-tab {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  padding: 0.35rem 0.72rem;
}

.bp-productcarousel-tab:hover,
.bp-productcarousel-tab:focus,
.bp-productcarousel-tab.is-active {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.24);
}

.bp-productcarousel-tab-panel {
  min-height: 5rem;
  position: relative;
}

.bp-productcarousel-tab-panel.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.bp-productcarousel-error {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  padding: 1rem;
}

.bp-productcarousel-shell {
  min-height: 18rem;
}

.bp-productcarousel-skeleton {
  pointer-events: none;
  direction: rtl;
  overflow: hidden;
  width: 100%;
}

.bp-productcarousel-skeleton-track {
  display: flex;
  flex-wrap: nowrap;
  margin: 0 calc(var(--bp-pc-gap, 16px) / -2);
}

.bp-productcarousel-skeleton-card {
  direction: rtl;
  flex: 0 0 calc(100% / var(--bp-pc-mobile, 2.2));
  max-width: calc(100% / var(--bp-pc-mobile, 2.2));
  min-height: 16rem;
  padding: 0 calc(var(--bp-pc-gap, 16px) / 2);
  position: relative;
}

@media (min-width: 768px) {
  .bp-productcarousel-skeleton-card {
    flex-basis: calc(100% / var(--bp-pc-tablet-portrait, var(--bp-pc-tablet, 3.2)));
    max-width: calc(100% / var(--bp-pc-tablet-portrait, var(--bp-pc-tablet, 3.2)));
  }
}

@media (min-width: 992px) {
  .bp-productcarousel-skeleton-card {
    flex-basis: calc(100% / var(--bp-pc-tablet-landscape, 4.2));
    max-width: calc(100% / var(--bp-pc-tablet-landscape, 4.2));
  }
}

@media (min-width: 1200px) {
  .bp-productcarousel-skeleton-card {
    flex-basis: calc(100% / var(--bp-pc-desktop, 5.2));
    max-width: calc(100% / var(--bp-pc-desktop, 5.2));
  }
}

.bp-productcarousel-skeleton-card::before,
.bp-productcarousel-skeleton-title,
.bp-productcarousel-skeleton-button,
.bp-productcarousel-skeleton-image,
.bp-productcarousel-skeleton-line {
  animation: bp-productcarousel-skeleton 1.15s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.11) 37%, rgba(0, 0, 0, 0.06) 63%);
  background-size: 400% 100%;
  display: block;
}

.bp-productcarousel-skeleton-card::before {
  border-radius: 0.75rem;
  bottom: 0;
  content: '';
  left: calc(var(--bp-pc-gap, 16px) / 2);
  position: absolute;
  right: calc(var(--bp-pc-gap, 16px) / 2);
  top: 0;
  z-index: 0;
}

.bp-productcarousel-skeleton-image,
.bp-productcarousel-skeleton-line {
  position: relative;
  z-index: 1;
}

.bp-productcarousel-skeleton-image {
  aspect-ratio: 1 / 1;
  border-radius: 0.65rem;
  margin: 0.75rem;
}

.bp-productcarousel-skeleton-line {
  border-radius: 999px;
  height: 0.75rem;
  margin: 0.7rem 0.85rem 0;
}

.bp-productcarousel-skeleton-line-title {
  height: 0.9rem;
  width: 72%;
}

.bp-productcarousel-skeleton-line-short {
  width: 45%;
}

.bp-productcarousel-skeleton-title {
  border-radius: 999px;
  height: 1.35rem;
  max-width: 16rem;
  width: 55vw;
}

.bp-productcarousel-skeleton-button {
  border-radius: 999px;
  height: 2rem;
  width: 6.5rem;
}

@keyframes bp-productcarousel-skeleton {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

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

.bp-productcarousel-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.72rem;
  height: 100%;
  justify-content: center;
  min-height: 220px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.bp-productcarousel-viewall-card svg {
  fill: currentColor;
  height: 2rem;
  width: 2rem;
}

.bp-productcarousel-viewall-card:hover,
.bp-productcarousel-viewall-card:focus {
  color: inherit;
  text-decoration: none;
}

.bp-productcarousel-slider-horizontal .bp-productcarousel-track {
  -webkit-user-select: none;
  align-items: stretch;
}

.bp-productcarousel-slider-horizontal .bp-productcarousel-slide {
  margin: 0;
}

.bp-productcarousel-column-slide {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bp-productcarousel-horizontal-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  color: inherit;
  display: flex;
  gap: 0.65rem;
  min-height: 88px;
  overflow: hidden;
  padding: 0.55rem;
  text-decoration: none;
}

.bp-productcarousel-horizontal-card:hover,
.bp-productcarousel-horizontal-card:focus {
  background: rgba(0, 0, 0, 0.018);
  color: inherit;
  text-decoration: none;
}

.bp-productcarousel-horizontal-media {
  align-items: center;
  display: flex;
  flex: 0 0 72px;
  height: 72px;
  justify-content: center;
  max-width: 72px;
}

.bp-productcarousel-horizontal-media img {
  display: block;
  height: 72px;
  max-width: 72px;
  object-fit: contain;
  width: 72px;
}

.bp-productcarousel-horizontal-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.bp-productcarousel-horizontal-name {
  display: -webkit-box;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  max-height: 3.1em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bp-productcarousel-horizontal-brand {
  color: #666;
  display: block;
  font-size: 0.7rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-productcarousel-horizontal-price-wrap,
.bp-productcarousel-internal-price,
.bp-productcarousel-price {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 0.2rem;
}

.bp-productcarousel-regular-price {
  color: #888;
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  text-decoration: line-through;
}

.bp-productcarousel-style-internal {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
  padding: 0.9rem;
}

.bp-productcarousel-internal-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.bp-productcarousel-internal-card:hover,
.bp-productcarousel-internal-card:focus {
  color: inherit;
  text-decoration: none;
}

.bp-productcarousel-internal-media {
  align-items: center;
  background: rgba(0, 0, 0, 0.025);
  display: flex;
  justify-content: center;
  min-height: 180px;
  order: 1;
  position: relative;
}

.bp-productcarousel-internal-media img {
  display: block;
  height: 180px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.bp-productcarousel-internal-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  order: 2;
  padding: 0.7rem;
}

.bp-productcarousel-internal-title {
  display: -webkit-box;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bp-productcarousel-internal-brand {
  color: #666;
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-productcarousel-discount {
  background: #e84a5f;
  border-radius: 999px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.18rem 0.46rem;
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .bp-productcarousel-header {
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
  }
  .bp-productcarousel-title {
    font-size: 1rem;
  }
  .bp-productcarousel-control {
    height: 2rem;
    width: 2rem;
  }
  .bp-productcarousel-horizontal-media {
    flex-basis: 58px;
    height: 58px;
    max-width: 58px;
  }
  .bp-productcarousel-horizontal-media img {
    height: 58px;
    max-width: 58px;
    width: 58px;
  }
  .bp-productcarousel-horizontal-card {
    min-height: 72px;
    padding: 0.45rem;
  }
}

.bp-productcarousel-cta-slide {
  display: flex;
}

.bp-productcarousel-cta-card {
  align-items: center;
  background: var(--bp-pc-cta-bg, var(--bp-pc-bg, #fff));
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  height: 100%;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
  padding: 1.15rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.bp-productcarousel-cta-card::before {
  background-image: var(--bp-pc-cta-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.bp-productcarousel-cta-card::after {
  background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.42), transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.bp-productcarousel-cta-title,
.bp-productcarousel-cta-subtitle,
.bp-productcarousel-cta-button {
  position: relative;
  z-index: 2;
}

.bp-productcarousel-cta-title {
  color: var(--bp-pc-cta-title-color, var(--bp-pc-title-color, inherit));
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.75;
  max-width: 100%;
}

.bp-productcarousel-cta-subtitle {
  color: rgba(0, 0, 0, 0.62);
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.8;
  max-width: 92%;
}

.bp-productcarousel-cta-button {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: inherit;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.35;
  padding: 0.48rem 0.9rem;
  text-decoration: none;
}

.bp-productcarousel-cta-card:hover,
.bp-productcarousel-cta-card:focus {
  color: inherit;
  text-decoration: none;
}

.bp-productcarousel-cta-card:hover .bp-productcarousel-cta-button,
.bp-productcarousel-cta-card:focus .bp-productcarousel-cta-button {
  background: rgba(255, 255, 255, 0.92);
}

.bp-productcarousel-slider-horizontal .bp-productcarousel-cta-card {
  min-height: 100%;
}
