/* Add custom CSS styles below */ 
/* ===============================
   متغيرات الألوان والهوية
================================ */
:root {
  /* الذهبي (هوية الشعار) */
  --color-primary: #C9A24D;
  --color-primary-dark: #A8842F;
  --color-primary-light: #E6C76A;
  --color-primary-reverse: #C9A24D;

  /* ألوان متناسقة مع البنر */
  --color-bg-dark: #241A4A;
  --color-bg-mid: #2B1E5A;
  --color-accent: #2EC4C9;

  --logo: url(https://ibb.co/Xk3NgmSn);
}

/* شريط التمرير الأفقي */
.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: 110px;
    height: 150px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
}

/* الصور */
.menu-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ddd;
    object-fit: cover;
    margin-bottom: 8px;
    display: block;
    transition: transform 0.3s ease;
}

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

/* النص تحت الصورة */
.menu-item span {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    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: #333;
}

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

/* الدائرة في منتصف الخط */
.quick-menu-title::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #333;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: calc(58px - 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-slider-block__title h2,
.s-block__title h2 {
  background: linear-gradient(
    to right,#C9A24D , #E6C76A ,#A8842F )!important ;
  border-radius: 2rem 0 0 1rem;
  font-size: 20px !important;
  font-weight: 700;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}

/* إخفاء العنوان الفرعي */
.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;
}

/* جعل الصور بنفس الطول */
.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);
}

/* بطاقات المنتجات */


  /* جعل شريط الهيدر Flex */
.navbar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* توسيط الشعار في المنتصف تمامًا */
.navbar-brand {
    position: absolute;
    left: 55%;
    transform: translateX(-45%);
    margin: 0 auto !important;
}


  footer.store-footer {
  padding: 20px 0 120px;
  }

  /* زر المفضلة داخل البطاقة */

  
/* ===============================
   الفوتر
================================ */
footer.store-footer { 
  position: relative; 
  overflow: visible; 
  border-radius: 0 !important; 
  margin: 0 !important; 
  padding: 40px 0 120px; 
  width: 100% !important; 
  left: 0; 
  bottom: 0; 
  color: white; 
  text-align: center; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  box-sizing: border-box;
  }
/* تغيير لون عنوان الفوتر */
.s-contacts-title {
    color: #A8842F; /* أزرق غامق */
    text-align: center;
}

  footer,
footer * {
  text-align: center !important;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
  color: var(--color-primary) !important;
}

/* إظهار نص جميع الأزرار بدون تغيير الخلفية */
button.s-button-btn,
button.s-button-btn span,
.s-button-text {
    color: #ffffff !important;   /* لون النص (أسود واضح) */
    opacity: 1 !important;
    visibility: visible !important;
}

/* إزالة أي فلتر أو تأثير يخفي النص */
button.s-button-btn,
button.s-button-btn * {
    filter: none !important;
}

/* إظهار نص جميع الأزرار بدون تغيير الخلفية */
button.s-button-btn,
button.s-button-btn span,
.s-button-text {
    color: #ffffff !important;   /* لون النص (أسود واضح) */
    opacity: 1 !important;
    visibility: visible !important;
}

/* إزالة أي فلتر أو تأثير يخفي النص */
button.s-button-btn,
button.s-button-btn * {
    filter: none !important;
}

/* إظهار نص جميع الأزرار بدون تغيير الخلفية */
button.s-button-btn,
button.s-button-btn span,
.s-button-text {
    color: #ffffff !important;   /* لون النص (أسود واضح) */
    opacity: 1 !important;
    visibility: visible !important;
}

/* إزالة أي فلتر أو تأثير يخفي النص */
button.s-button-btn,
button.s-button-btn * {
    filter: none !important;
}
  
/* إصلاح الأيقونات داخل دائرتها الصغيرة */
.s-contacts-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* محاذاة محتوى الفوتر للمنتصف */
.s-contacts-item,
.s-contacts-item .unicode {
    display: block;
    text-align: center;
    margin: 0 auto;
}

/* جعل قائمة التواصل الاجتماعي في المنتصف */
.s-social-list {
    display: flex;
    justify-content: center;
    gap: 15px; /* مسافة بين أيقونات السوشيال */
    padding: 0;
    margin: 20px 0;
}

/* ضبط كل عنصر من عناصر السوشيال */
.s-social-link {
    list-style: none;
    text-align: center;
}

/* التأكد من أن أيقونة السوشيال داخل الدائرة الخاصة بها */
.s-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto;
}
  
/* زر أضف للسلة داخل البطاقة */
.s-product-card-vertical {
  position: relative !important;
  padding-bottom: 0 !important;
}

.s-product-card-content {
  padding-bottom: 10px !important;
}

.s-product-card-vertical .s-button-wide {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-radius: 0 !important;
  background: linear-gradient(
    to right,
    var(--color-primary-dark),
    var(--color-primary)
  );
}


  .whatsapp-bubble {
  position: fixed;
  right: 20px;
  bottom: 75px;
  background: #fff;
  color: #000;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.5s ease;
}

/* إخفاء الفقاعة */
.whatsapp-bubble.hide {
  opacity: 0;
  pointer-events: none;
}

  /* أيقونة القلب سوداء مهما كانت صفحة المنتج أو الكرت */
.sicon-heart {
    color: black !important;
}

/* حاوية كرت المنتج */
.s-product-card-vertical {
  position: relative;
}

.fake-rating {
  display: flex;
  justify-content: center;   /* توسيط أفقي حقيقي */
  align-items: center;
  width: 100%;
  text-align: center;
  font-size: 15px;
  color: #f5b301;
  letter-spacing: 2px;
  margin: 6px 0 10px 0;
  line-height: 1;
  direction: ltr;            /* مهم جداً */
}