/* Add custom CSS styles below */

/* الهيدر الثابت */
.mainnav.fixed-header {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease;
}


/* التابات */
.tabs__product {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  border-bottom: 1px solid #ddd;
}

.tabs__product .tab-trigger {
  font-size: 15px;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
  background-color: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #444;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tabs__product .tab-trigger.is-active {
  background-color: #fdfaf5;
  border-bottom: 3px solid #B89F80;
  color: #222;
}

.tabs__product .tab-trigger:hover {
  color: #000;
}

/* تبويب التقييمات عند عدم وجود تقييمات */
#product-tabs-faqs:empty::before {
  content: "لا توجد تقييمات حالياً، كن أول من يقيّم المنتج.";
  display: block;
  color: #999;
  font-size: 15px;
  padding: 20px;
  text-align: center;
  background-color: #fcfcfc;
  border-radius: 12px;
}

/* تفاصيل المنتج */
#product-tabs-details {
  background-color: #f9f4ef !important;
  box-shadow: none;
  border-radius: 0;
  padding: 25px;
  font-size: 15.5px;
  line-height: 1.8;
  
  transition: opacity 0.3s ease-in-out;
}

#product-tabs-details strong,
#product-tabs-details b {
  font-weight: 600;
  color: #2C2C2C;
}

/* الشريط السفلي للشراء */
.sticky-product-bar {
  background: #ffffff;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
  border-top: 1px solid #eee;
  padding: 16px 20px;
  align-items: center;
}

.sticky-product-bar .product-title {
  font-weight: 600;
  font-size: 14px;
  color: #222;
}

.sticky-product-bar .product-price {
  font-weight: bold;
  font-size: 16px;
  color: #B89F80;
}

.sticky-product-bar button {
  background: linear-gradient(135deg, #000, #222);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: 0.3s ease-in-out;
}

.sticky-product-bar button:hover {
  transform: translateY(-2px);
  background: #1a1a1a;
}

/* الصور */
.product-card img,
.product-gallery img,
.swiper-slide img {
  background-color: #f9f4ef !important;
  
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease-in-out;
}

/* الخط العام */
body {
  font-family: 'Tajawal', sans-serif;
}

/* السعر */
.price__original {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
}

.price__final {
  font-size: 18px;
  color: #B89F80;
  font-weight: bold;
}

/* السعر الحالي */
.special-product .price-current {
  color: #142f53 !important; /* لون فاخر */
  font-weight: bold;
  font-size: 24px;
}

/* السعر السابق */
.special-product .price-old {
  color: #999999 !important; /* رمادي هادئ */
  text-decoration: line-through;
}

/* العداد */

.s-count-down-dark .s-count-down-item {
  background-color: #fff;
  color: #C0392B; /* أحمر داكن */
  font-weight: bold;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.special-product-countdown .label {
  color: #5A5A5A;
  font-size: 13px;
}

/* زر أضف للسلة */
.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
   background-color: #7B1E1E !important; /* خمري */
  color: #fff !important;
  font-weight: bold;
  border-radius: 8px;
  font-size: 16px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.salla-add-product-button button:hover {
  background-color: #5A1212 !important; /* أغمق عند التحويم */
}

/* زر تفاصيل أكثر */
.btn.btn--primary.font-primary {
  background-color: #F5F5F5 !important;
  color: #142f53 !important;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.btn.btn--primary.font-primary:hover {
  background-color: #e6e6e6 !important;
}

.special-product video {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  border-radius: 12px;
  max-height: 550px;
}


/* لون أيقونة السلة عند وجود منتجات */
.s-cart-summary-count:not(:empty) ~ .icon {
  color: #C0392B !important; /* أحمر داكن */
}

/* أو استهداف الأيقونة نفسها */
.s-cart-summary-count:not(:empty) + .s-cart-summary-content + .icon {
  color: #FFD700 !important; /* ذهبي فاخر */
}
.header-btn.\!flex {
color: #000000 !important;
}
/* تحسين شكل الرقم */
.s-cart-summary-count {
  background-color: #C0392B;
  color: white;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 12px;
  position: absolute;
  top: -6px;
  right: -6px;
}

.sicon-menu.text-primary.text-2xl {
color: #000000;
}

.sticky-product-bar h2,
.sticky-product-bar .product-name {
  color: #142f53 !important; /* أزرق داكن واضح */
  font-weight: bold;
}

/* خلفية الشريط */
.sticky-product-bar {
  background-color: #f7f5f2 !important;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.07);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e0e0e0;
}

/* زر "أضف للسلة" */
.sticky-product-bar .s-button-primary {
  background-color: #7b1e1e !important;
  color: #fff !important;
  font-weight: bold;
  border-radius: 8px;
  font-size: 16px;
  padding: 10px 24px;
  flex-grow: 1;
}

/* زر "اشترِ الآن" */
.sticky-product-bar .btn--secondary {
  background-color: #142f53 !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  font-size: 16px;
  padding: 10px 24px;
  flex-grow: 1;
}

/* أزرار الكمية */
.quantity-button,
.s-quantity-input-button {
  background-color: #e3e3e3;
  border: none;
  color: #142f53;
  font-weight: bold;
  font-size: 20px;
  padding: 6px 14px;
  border-radius: 6px;
  height: 44px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* الرقم بين الأزرار */
.s-quantity-input-input {
  font-size: 16px;
  font-weight: bold;
  color: #000000 !important;
  margin: 0 10px;
  width: 40px;
  text-align: center;
}

i.sicon-user.text-base.text-black.da-tm {
    color: #000000 !important;
} 
.max-w-3\/4.da-tm.leading-normal.text-lg.md\:text-xl.line-clamp-1 {
color: #000000 !important;
}

p.da-tm.hidden.text-xl.md\:block.ms-1 {
    color: #000000 !important;
}
i.sicon-search.text-base.text-black.da-tm {
    color: #000000 !important;
}
.dark .s-cart-summary-total {
    color: #000000 !important;
}
i.sicon-sar {
    color: #000000 !important;
}
i.sicon-add.text-base.text-black.da-tm
Specificity: (0,4,1)
 {
    color: #000000 !important;
}

.header-btn .sicon-add::before {
    color: #000000 !important;
}

.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-free-mode.swiper-rtl.swiper-ios.swiper-backface-hidden {
    PADDING-LEFT: 0px !important;
}