/* Add custom CSS styles below */ 
/* شريط التمرير الأفقي */
.menu-scroll {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    padding: 0 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-scroll::-webkit-scrollbar {
    display: none;
}

/* الحاوية لكل عنصر */
.menu-item {
  /*  flex: 0 0 auto;*/
    width: 100px;
    height: 150px;
    text-align: right;
    box-sizing: border-box;
    display: flex;
  margin-right: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
   padding: -15px;
}

/* الصور */
.menu-item img {
    width: 80px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #D8883E; /* ذهبي خافت */
    object-fit: cover;
    margin-bottom: 7px;
    display: block;
    transition: transform 0.3s ease;
}

/* تكبير الصورة عند المرور بالماوس */
.menu-item:hover img {
    transform: scale(1.2);
}

/* النص تحت الصورة */
.menu-item span {
    font-size: 22px;
    font-weight: bold;
    color: #000000; /* ذهبي خافت */
    text-align: center;
    line-height: 1.2;
    display: block;
    word-wrap: break-word;
}

/* نسخة الموبايل */
@media(max-width: 768px) {
    .menu-item img {
        width: 90px;
        height: 90px;
    }
}

.quick-menu-icons-wrapper {
    text-align: center;
}

/* العنوان */
.quick-menu-title {
    position: relative; 
    display: inline-block;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: ##000000; /* ذهبي خافت */
}

/* الخط تحت العنوان */
.quick-menu-title::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 1.5cm;
    transform: translateX(-50%);
    width: 250px;
    height: 2px;
    background-color:#000000; /* ذهبي خافت */
}

/* الدائرة في منتصف الخط */
.quick-menu-title::before {
    content: "";
    width: 8px;
    height: 8px;
  padding:8px;
  background-color: #000000; /* ذهبي خافت */
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: calc(55px - 6px);
    transform: translateX(-50%);
}

/* المسافة بين الخط والقائمة */
.quick-menu-icons-wrapper .menu-scroll {
    margin-top: 1cm;
}

/* ====== الصفحة الرئيسية: 3 منتجات في الصف ====== */
.home-page .s-product-card-vertical {
    width: calc(33.333% - 12px) !important;
    max-width: calc(33.333% - 12px) !important;
    flex: 0 0 calc(33.333% - 12px) !important;
    height: 100px !important;
    padding: 2px !important;
    margin: 2px !important;
    box-sizing: border-box !important;
}

/* تباعد السلايدر */
.slick-slide > .s-product-card-vertical,
.swiper-slide > .s-product-card-vertical {
    margin: 3px !important;
}

/* بطاقات المنتجات */
.s-product-card-vertical {
  position: relative;
  border-radius: 10px;
  background-color: white;
  overflow: hidden;
  box-sizing: border-box;
  padding: 1px;
}

/* الحدود بتدرج ذهبي خافت بدل الأزرق */
.s-product-card-vertical::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 10px;
  padding:2px; 
  background: linear-gradient(to bottom, #D8883E, #D8883E); /* ذهبي خافت متدرج */
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

/* إخفاء العنوان الفرعي */
.s-product-card-content-subtitle {
    display: none !important;
}

/* اسم المنتج سطرين فقط */
.s-product-card-vertical h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.2em;
    max-height: 2.4em;
}

/* فوتر ليارا */
footer.store-footer,
footer.store-footer::before,
footer.store-footer * {
    background: none !important;
    background-color: transparent !important;
      text-align: center;
  color: #fff;

}

footer.store-footer {
    background: linear-gradient(to right, #c8b072, #a38f5a) !important; /* ذهبي خافت */
    padding: 20px 0;
    color: white !important;
}
/* جميع عناوين الفوتر */
footer h3,
footer .footer-title,
footer a h3 {
  color: #5A473A !important; /* ذهبي خافت */
}
/* جعل الصور بنفس الطول */
.s-product-card-vertical img {
  width: 100%;
  height: 210px;
  object-fit: cover; 
  display: block;
  transition: transform 0.3s ease;
}

.s-product-card-vertical img:hover {
  transform: scale(1.03);
}

/* زر أضف للسلة — تدرج ذهبي خافت */
/* بطاقات المنتجات */
.s-product-card-vertical .s-button-wide {
  background: linear-gradient(90deg, #a38f5a, #c8b072) !important;
}

/* صفحة المنتج */
/* زر أضف للسلة بطول بطاقة المنتج */
.s-product-form__add-button,
.s-button-primary {
  background: linear-gradient(90deg, #a38f5a, #c8b072) !important;
}

.s-product-card-vertical .s-button-wide {
    background: linear-gradient(90deg, #a38f5a,#c8b072) !important; /* ذهبي خافت */
    color: white;
    font-size: 14px;
    padding: 2px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
   position: relative;
}

.s-product-card-vertical .s-button-wide.custom-position {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* ====== عناوين الأقسام باللون الذهبي المتدرج ====== */
.s-slider-block__title h2,
.s-block__title h2,
h2.mb-4.text-lg.font-bold.leading- {
   /* background: linear-gradient(to right, #a38f5a, #c8b072) !important; /* ذهبي خافت متدرج */
  /*  border-radius: 2rem 0rem 0rem 1rem;*/
    font-size: 20px !important;
    font-weight: 700;
    color: #000;
 /*   padding: 5px 5px 5px 5px;*/
  /*  margin-right: 15px;*/
  /*  text-align: center;*/
}

body, .page-wrapper, .main-content {
    padding-bottom: 60px !important;
    box-sizing: border-box;
}

.s-trust-badges-content,
.s-trust-badges-image,
.s-trust-badges-number,
.s-trust-badges-content * {
  display: none !important;
}
.navbar-brand {
    position: absolute;
    left: 55%;
    transform: translateX(-50%);
    margin: 0 auto !important;
}
.s-cart-summary-wrapper,
.s-user-menu-trigger {
    transform: scale(0.75);
    transform-origin: center;
}

#whatsapp-icon {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9999;
  display: block;
}

#whatsapp-icon img {
  width: 55px;
  height: 55px;
  display: block;
}

/* حركة خفيفة اختيارية */
#whatsapp-icon:hover img {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}




.save-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: 10px;
  margin-top: 6px;
  background: linear-gradient(135deg, #D8883E, #ff5722);
  color: #fff;
  padding: 2px 3px;
  border-radius: 0px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  white-space: nowrap;
}

.save-box .fire {
  font-size: 16px;
}

.save-box strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


/* 🔥 تحويل الحاوية إلى Flex وإلغاء grid نهائياً */
.grid.grid-cols-\[repeat\(2\,minmax\(0\,1fr\)\)\] {
  display: flex !important;
  flex-wrap: nowrap !important;   /* منع النزول لسطر ثاني */
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 12px !important;
}

/* 🔒 إجبار كل عنصر على ثلث العرض */
.s-block--features__item {
  flex: 0 0 32% !important;
  max-width: 32% !important;
  box-sizing: border-box;
  text-align: center;
}

/* 🧹 إزالة أي هوامش أو تمدد زائد */
.s-block--features__item * {
  max-width: 100%;
}

/* دائرة الأيقونة */
.s-block--features__item .feature-icon {
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* الأيقونة ذهبية */
.s-block--features__item .feature-icon i {
  color: #c8a24d;
  font-size: 30px;
}

/* العنوان ذهبي */
.s-block--features__item h2 {
  color: #c8a24d;
  font-weight: 800;
  font-size: 17px;
  margin: 4px 0;
  line-height: 1.2;
}

/* النص السفلي */
.s-block--features__item p {
  color: #555;
  font-size: 10px;
  margin: 0;
}

/* ===============================
   زر المفضلة (القلب)
=============================== */
.s-product-card-wishlist-btn {
  width: 26px;
  height: 26px;
  position: absolute;
  background: transparent;
  border: none;
  border-radius: 50%;
  z-index: 5;
}

/* أيقونة القلب */
.s-product-card-wishlist-btn i {
  font-size: 15px;
  color: #999;
}

/* القلب عند الإضافة للمفضلة */
.s-product-card-wishlist-btn.added i,
.s-product-card-wishlist-btn.favorited i {
  color: #D8883E;
  background: #D8883E;
}

/* ===============================
   العنوان الترويجي
=============================== */
.s-product-card-promotion-title {
  position: absolute;
  top: 0px;
  right: 0px;
 background: #e63946;
  color: #fff;
  font-size: 13px;
  padding: 2px 3px;
  border-radius: 6px;
  font-weight: bold;
  z-index: 4;
}