.s-product-options-option {
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}
.s-product-options-option-container select option {
  white-space: normal !important;
  word-wrap: break-word;
}
select.s-form-control {
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  height: auto !important;
}

/*upper is important for white issue */


/* 🍏 فلاتر أسلوب Apple Glass - فخم وشفاف */
.filter-wrapper {
  position: sticky;
  top: 70px; /* المسافة تحت الهيدر */
  z-index: 50;
  overflow: hidden;
  margin: 0 auto 15px;
  padding: 6px 10px;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-bar {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 60px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex-shrink: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 9px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #000;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* الأسهم */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.25s ease;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.scroll-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.08);
}

.scroll-left {
  left: 5px;
}
.scroll-right {
  right: 5px;
}

/* للجوال */
@media (max-width: 768px) {
  .filter-wrapper {
    top: 55px;
    border-radius: 40px;
    padding: 5px 8px;
  }

  .filter-btn {
    font-size: 14px;
    padding: 7px 16px;
  }

  .scroll-btn {
    width: 28px;
    height: 28px;
  }
}


/*upper is filter theme  */

/* تصغير شارة "وصول إلى ... ريال" حتى ما تغطي صورة المنتج بالجوال */
.s-product-card-promotion-title {
  font-size: 11px !important;
  line-height: 1.3 !important;
  padding: 4px 8px !important;
  max-width: 90px !important;
  border-radius: 6px !important;
}

@media (max-width: 768px) {
  .s-product-card-promotion-title {
    font-size: 9px !important;
    padding: 3px 6px !important;
    max-width: 70px !important;
    top: 6px !important;
    right: 6px !important;
    left: auto !important;
  }
}