/* تغيير لون كلمة تخفيضات فقط */
#offers > a,
#offers > a span {
  color: #88c4ee !important;
}

/* خلفية أنيقة عند المرور على صورة التصنيف */
.rectangular-list-item a > div {
  background-color: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
  padding: 10px;
  border-radius: 12px;
}

/* Hover */
.rectangular-list-item:hover a > div {
  background-color: #0F52BA;
  box-shadow: 0 10px 25px rgba(15, 82, 186, 0.25);
}

/* حذف المسافة بين البنرات */
.container > .flex {
  gap: 0 !important;
}



#wa-selia{
  /* يرجع يتحرك مع الشاشة */
  position: fixed !important;
  right: 16px !important;
  bottom: 80px !important;
  z-index: 999999 !important;

  /* حجم مناسب */
  width: 56px !important;
  height: 56px !important;

  /* Liquid Glass (نفس لونك لكن شفاف) */
  background-color: rgba(34, 197, 94, 0.35) !important;
  -webkit-backdrop-filter: blur(14px) saturate(170%) !important;
  backdrop-filter: blur(14px) saturate(170%) !important;

  border: 1px solid rgba(255,255,255,0.28) !important;
  box-shadow:
    0 10px 22px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.35) !important;

  overflow: hidden !important;
}

#wa-selia::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.10) 35%,
    rgba(255,255,255,0.00) 70%
  );
  pointer-events: none;
}

#wa-selia a{
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#wa-selia i.sicon-whatsapp2{
  color: rgba(255,255,255,0.92) !important;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.28)) !important;
}

.product-card__image img {
    object-fit: cover !important; /* ملء المساحة بدون تشويه */
    aspect-ratio: 3/4; /* نسبة طولية تناسب فساتين السهرة */
}

/* كود التصميم العصري والراقي الموحد */

/* 1. تنسيق بطاقة المنتج ككل */
.product-card {
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; /* ظل خفيف جداً */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 15px !important;
    overflow: hidden;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-8px) !important; /* حركة ارتفاع خفيفة عند التمرير */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* 2. تنظيف الصورة والأيقونات */
.product-card__actions, .wishlist, .quickview-btn, .product-card__buttons {
    display: none !important;
}

/* 3. تنسيق زر "تفردي الآن" بشكل راقي */
.product-card .s-button-element {
    border-radius: 50px !important; /* حواف دائرية كاملة لشكل عصري */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500 !important;
    padding: 10px 25px !important;
    height: auto !important;
}

/* 4. تغيير النص إلى تفردي الآن */
.product-card .s-button-text {
    font-size: 0 !important;
}

.product-card .s-button-text::before {
    content: "تفردي الآن";
    font-size: 15px !important;
    visibility: visible !important;
    display: inline-block;
    font-family: inherit;
}

/* 5. إخفاء أيقونة السلة */
.product-card .s-button-text i {
    display: none !important;
}

/* 6. تنسيق اسم المنتج والسعر */
.product-card__title a {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
    display: block;
}

.total-price {
    color: var(--secondary-color) !important;
    font-size: 18px !important;
}

@media (max-width: 768px){

  /* ===== 1) الشريط مربوط بالشاشة ===== */
  .selia-bottom-nav{
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
    background: transparent !important;
  }

  /* ===== 2) البار + Liquid Glass ===== */
  .selia-bottom-nav .selia-bottom-nav-items{
    margin: 0 !important;
    list-style: none !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;

    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;

    background: transparent !important; /* مهم للشفافية */
    border-top: 1px solid rgba(255,255,255,0.20) !important;
    box-shadow: 0 -10px 24px rgba(0,0,0,0.16) !important;

    position: relative !important;
    overflow: hidden !important;
  }

  /* طبقة الزجاج الأساسية */
  .selia-bottom-nav .selia-bottom-nav-items::before{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;

    background: rgba(255,255,255,0.10) !important; /* شفافية زجاج */
    -webkit-backdrop-filter: blur(18px) saturate(190%) !important;
    backdrop-filter: blur(18px) saturate(190%) !important;

    pointer-events: none !important;
    z-index: 0 !important;
  }

  /* لمعان Liquid Glass */
  .selia-bottom-nav .selia-bottom-nav-items::after{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.35),
      rgba(255,255,255,0.10) 40%,
      rgba(255,255,255,0.00) 70%
    ) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.32) !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }

  /* العناصر فوق طبقات الزجاج */
  .selia-bottom-nav .selia-bottom-nav-items > *{
    position: relative !important;
    z-index: 1 !important;
  }

  /* ===== 3) توزيع الأزرار ===== */
  .selia-bottom-nav .selia-bottom-nav-button{
    flex: 1 1 0 !important;
    text-align: center !important;
  }

  /* زر/رابط كل عنصر: أيقونة فوق + نص تحت */
  .selia-bottom-nav .selia-bottom-nav-icon,
  .selia-bottom-nav .selia-bottom-nav-button > span,
  .selia-bottom-nav .selia-bottom-nav-cart .s-cart-summary-wrapper{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
  }

  /* ===== 4) توحيد أحجام الأيقونات والنص ===== */
  .selia-bottom-nav .selia-bottom-nav-icon i,
  .selia-bottom-nav #s-cart-icon i{
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .selia-bottom-nav .selia-bottom-nav-icon span,
  .selia-bottom-nav .selia-bottom-nav-button > span{
    font-size: 11px !important;
    line-height: 1 !important;
    opacity: .95 !important;
  }

  /* لون أنيق على الزجاج (أسود خفيف) */
  .selia-bottom-nav .selia-bottom-nav-icon,
  .selia-bottom-nav .selia-bottom-nav-icon *{
    color: rgba(0,0,0,0.82) !important;
  }

  /* ===== 5) إصلاح السلة: نخفي المبلغ ونبقي العداد ===== */
  .selia-bottom-nav .selia-bottom-nav-cart .s-cart-summary-content,
  .selia-bottom-nav .selia-bottom-nav-cart .s-cart-summary-total{
    display: none !important;
  }

  /* تثبيت عداد السلة فوق الأيقونة */
  .selia-bottom-nav .selia-bottom-nav-cart{
    position: relative !important;
  }

  .selia-bottom-nav .selia-bottom-nav-cart .s-cart-summary-count{
    position: absolute !important;
    top: -6px !important;
    right: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    line-height: 18px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }

}

/* تحسين خيار "اضافة بوكس" داخل السلة */
#item-3549188604167923345 .s-product-options-grid-mode label{
  display: block !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  padding: 12px 12px !important;
  margin: 8px 0 !important;
  border-radius: 0 !important; /* حاد */
  cursor: pointer !important;
  background: rgba(255,255,255,.6) !important;
}

#item-3549188604167923345 .s-product-options-grid-mode input[type="radio"]{
  display: none !important;
}

/* عند التحديد */
#item-3549188604167923345 .s-product-options-grid-mode label:has(input[type="radio"]:checked){
  border-color: rgba(34,197,94,.6) !important;
  background: rgba(34,197,94,.10) !important;
}

/* نص الخيار */
#item-3549188604167923345 .s-product-options-grid-mode-span{
  font-weight: 700 !important;
  font-size: 14px !important;
}