/* شريط التمرير الأفقي */
.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-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: 1px;
  background: linear-gradient(to bottom, #3b4a3f 100%);
  -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;
}

/* زر واتساب */
#whatsapp-button {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50px;
    padding: 0 9px;
    height: 40px;
    display: inline-flex;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    color: white;
    font-size: 15px;
    text-decoration: none;
    font-family: inherit;
    width: 130px;
    max-width: 200px;
    white-space: nowrap;
}

#whatsapp-button img {
    width: 26px;
    height: 26px;
    display: block;
}


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

footer.store-footer {
    background: linear-gradient(to right, #1f3d3b) !important; /* تدرج زيتي */
   padding: 20px 0;
    color: white !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, #1f2a1f, #3b4a3f) !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, #1f3d3b, #3b4a3f) !important; /* تدرج زيتي */
    border-radius: 2rem 0rem 0rem 1rem;
    font-size: 20px !important;
    font-weight: 700;
    color: #fff;
    padding: 10px 10px 10px 20px;
    margin-right: 15px;
    text-align: center;
}

  /* جعل شريط الهيدر 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: 40px 0 120px;
  }

  .s-trust-badges-content,
.s-trust-badges-image,
.s-trust-badges-number,
.s-trust-badges-content * {
  display: none !important;
}