/* Main slider styles */
.pas-container {
  position: relative;
  width: 100%;
  margin: 20px 0;
  overflow: hidden;
}

.pas-products-slider {
  display: flex;
  position: relative;
  width: 100%;
}

.pas-slider-wrapper {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.pas-slider-wrapper:active {
  cursor: grabbing;
}

.pas-slider-track {
  direction: ltr;
  justify-content: flex-end;
  transition: transform 0.5s ease;
  will-change: transform;
  display: flex;
  user-select: none;
  touch-action: pan-y;
}

.pas-product {
  flex: 0 0 calc(100% / 4);
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
  min-width: 260px;
}

.pas-product-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.pas-product-image {
  border-radius: 4px;
}

.pas-slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.pas-product-price {
  text-align: left;
  font-size: small;
  border: none;
  text-decoration: none;
}

.pas-slider-control.pas-prev {
  right: auto;
  left: 10px;
}

.pas-slider-control.pas-next {
  left: auto;
  right: 10px;
}

.pas-product-title {
  font-size: small;
  line-height: 1.25rem;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  direction: rtl;
}

.pas-product-title ::after,
.pas-product-title ::before {
  content: none;
  display: none;
}

.pas-product a {
  text-decoration: none !important;
  text-align: right;
}

/* Mobile styles */
@media (max-width: 767px) {
  .pas-slider-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pas-slider-track {
    display: flex;
    gap: 10px;
  }

  .pas-product {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 200px;
  }

  .pas-slider-control {
    display: none !important;
  }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .pas-product {
    flex: 0 0 calc(100% / 3);
    width: 200px;
  }
}


.mce-window .mce-container-body {
  padding: 10px;
}

.mce-window .mce-textbox {
  width: 100%;
  margin-bottom: 10px;
}