/* ================== CSS كامل للمتجر + فوتر (FINAL 4 - FIXED + CONTACT) ================== */

/* ================== (1) إزالة الزوائد من الهيدر ================== */
.top-navbar,
.header-search,
.s-search-input-wrapper,
.top-ads,
.main-header__search {
  display: none !important;
}

/* ================== (2) تنسيق الهيدر ================== */
#mainnav {
  background: #ffffff !important;
  padding: 15px 40px !important;
}
#mainnav .container > .flex {
  display: flex !important;
  align-items: center !important;
}

/* الشعار + الأقسام */
.navbar-brand { margin-left: 25px !important; }
.main-menu { display: flex !important; gap: 20px !important; }

/* تخفيف خط الأقسام */
.main-menu li a {
  font-weight: 500 !important;
  font-size: 15px !important;
  color: #111 !important;
}

/* تلوين الخصومات */
.main-menu li a[href*="discount"] span,
li[id*="122083259"] a span {
  color: #ff0000 !important;
  font-weight: 700 !important;
}

/* ================== (3) البانر العريض ================== */
.s-block--fixed-banner,
.s-block--fixed-banner .container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
.s-block--fixed-banner img {
  width: 100% !important;
  height: auto !important;
}

/* ================== (4) عناوين الأقسام ================== */
.s-block__title,
.s-slider-block__title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
  margin-bottom: 50px !important;
}
.s-block__title h2,
.s-slider-block__title h2 {
  font-size: 28px !important;
  font-weight: 500 !important;
  color: #111 !important;
}
.s-block__title::after,
.s-slider-block__title::after {
  content: "" !important;
  width: 400px !important;
  height: 1px !important;
  background: #000 !important;
  margin-top: 20px !important;
}
.s-block__title::before,
.s-slider-block__title::before {
  content: "" !important;
  width: 12px !important;
  height: 12px !important;
  border: 1px solid #000 !important;
  border-radius: 50% !important;
  background: #fff !important;
  position: absolute !important;
  bottom: -6px !important;
}

/* ================== (5) المنتجات ================== */
.s-products-list-horizontal-cards {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 30px 20px !important;
  width: 100% !important;
}
.s-product-card-horizontal {
  flex-direction: column !important;
  text-align: center !important;
  border: none !important;
  padding: 0 !important;
}

/* اسم المنتج */
.s-product-card-content-title a {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #111 !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* السعر */
.s-product-card-sale-price h4 {
  color: #c00000 !important;
  font-weight: 600 !important;
  font-size: 20px !important;
}
.s-product-card-sale-price span {
  font-size: 14px !important;
  color: #999 !important;
}

/* زر إضافة للسلة */
.s-button-element {
  background-color: #000 !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-weight: 900 !important;
  height: 52px !important;
  width: 100% !important;
  border: none !important;
  font-size: 17px !important;
  margin-top: 10px !important;
}

/* إخفاء أيقونات المنتجات */
.s-button-element i,
.s-product-card-wishlist-btn,
.s-product-card-image-cover + i {
  display: none !important;
}

/* الصورة */
.s-product-card-horizontal .s-product-card-image {
  width: 100% !important;
  margin-bottom: 15px !important;
  border-radius: 0 !important;
}

/* ================== (6) آراء العملاء ================== */
.s-block--testimonials {
  background: #fcfcfc !important;
  padding: 80px 0 !important;
}
.s-testimonial-card {
  background: #fff !important;
  border: 1px solid #eee !important;
  padding: 30px !important;
  text-align: right !important;
}
.s-testimonial-card__content {
  font-size: 15px !important;
  line-height: 1.8 !important;
}
.s-testimonial-card__author-name { font-weight: 900 !important; }
.s-rating-stars { color: #ffc107 !important; }
.s-block--testimonials .s-button {
  background: transparent !important;
  border: 1px solid #000 !important;
  color: #000 !important;
  border-radius: 0 !important;
  padding: 10px 40px !important;
  font-weight: 700 !important;
}

/* ================== (7) قسم الأقسام/التصنيفات ================== */
#main-links-1 .s-slider-block__title { align-items: center !important; text-align: center !important; }
#main-links-1 .s-slider-block__title h2 { text-align: center !important; margin: 0 auto !important; }
#main-links-1 .swiper-wrapper { justify-content: center !important; }
#main-links-1 .slide--cat-entry {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
#main-links-1 .slide--cat-entry img { width: 110px !important; height: 110px !important; margin: 0 auto 14px !important; }
#main-links-1 .slide--cat-entry h2 { font-size: 18px !important; font-weight: 600 !important; margin: 0 !important; }

/* ================== (8) تجاوب الجوال ================== */
@media (max-width: 768px) {
  .s-products-list-horizontal-cards { grid-template-columns: repeat(2, 1fr) !important; }
  .main-menu li a { font-size: 14px !important; }
  .s-product-card-content-title a { font-size: 15px !important; }
  .s-product-card-sale-price h4 { font-size: 18px !important; }

  #main-links-1 .slide--cat-entry img { width: 90px !important; height: 90px !important; margin: 0 auto 14px !important; }
  #main-links-1 .slide--cat-entry h2 { font-size: 16px !important; font-weight: 600 !important; margin: 0 !important; }
}

/* =======================================================================
   (9) FOOTER — مطابق PDF (ألوان + عبارة + سوشيال تحت يسار)
   ======================================================================= */

/* خلفية متدرجة */
footer,
.store-footer,
.store-footer__inner,
.store-footer__copyright {
  background: #000 !important;
  color: #fff !important;
}

.store-footer__inner {
  background: radial-gradient(1200px 400px at 50% 20%, #0b0b0b 0%, #000 60%) !important;
  padding: 70px 0 62px !important;
  position: relative !important;
  overflow: hidden !important;
}

/* شبكة الأعمدة */
.store-footer__inner > .container.grid {
  gap: 28px !important;
  align-items: start !important;
}

/* عناوين الأعمدة */
.store-footer__inner h3,
.store-footer__inner .s-contacts-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  margin: 0 0 18px !important;
  letter-spacing: .2px !important;
}

/* النصوص/الروابط */
.store-footer__inner a,
.store-footer__inner p,
.store-footer__inner .s-menu-footer-item,
.store-footer__inner .s-contacts-item {
  color: #bdbdbd !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  text-decoration: none !important;
}
.store-footer__inner a:hover,
.store-footer__inner .s-menu-footer-item:hover,
.store-footer__inner .s-contacts-item:hover {
  color: #ffffff !important;
}

/* عبارة الوصف تحت اسم المتجر */
.store-footer__inner .lg\:col-span-2 > a + div::before {
  content: "نؤمن أن الأناقة تبدأ من التفاصيل، لذلك نحرص على تقديم منتجات رجالية فاخرة تجمع بين الجودة والذوق الرفيع، سواف… أناقة رجالية تعكس حضورك في كل وقت." !important;
  display: block !important;
  color: #bdbdbd !important;
  font-size: 13.5px !important;
  line-height: 1.9 !important;
  max-width: 360px !important;
  margin: 8px 0 10px !important;
}

/* خط فاصل فوق منطقة الأسفل */
.store-footer__inner::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 46px !important;
  height: 1px !important;
  background: rgba(255,255,255,.12) !important;
  z-index: 1 !important;
}

/* شريط الحقوق */
.store-footer__copyright {
  background: #000 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  padding: 25px 0 !important;
}
.store-footer__copyright p,
.store-footer__copyright a,
.copyright__text,
footer .copyright,
footer [class*="copyright"] {
  color: #9e9e9e !important;
  font-size: 13px !important;
}
.store-footer__copyright a:hover { color: #eeeeee !important; }

/* =========================
   (A) SOCIAL — أسفل يسار
   ========================= */

/* اقفل كل النسخ */
.store-footer__inner salla-social { display: none !important; }

/* افتح النسخة اللي داخل hidden lg:block */
.store-footer__inner .hidden.lg\:block > salla-social {
  display: block !important;
  position: absolute !important;
  left: 40px !important;
  bottom: 18px !important;
  margin: 0 !important;
  z-index: 5 !important;
}

/* شكل الأيقونات */
.store-footer__inner .hidden.lg\:block > salla-social .s-social-list{
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
}
.store-footer__inner .hidden.lg\:block > salla-social .s-social-link a{
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.02) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: .25s ease !important;
}
.store-footer__inner .hidden.lg\:block > salla-social svg{
  width: 16px !important;
  height: 16px !important;
  fill: #bdbdbd !important;
}
.store-footer__inner .hidden.lg\:block > salla-social .s-social-link a:hover{
  border-color: rgba(255,255,255,.55) !important;
  background: rgba(255,255,255,.08) !important;
  transform: translateY(-2px) !important;
}
.store-footer__inner .hidden.lg\:block > salla-social .s-social-link a:hover svg{
  fill: #ffffff !important;
}

/* =========================
   (B) PAYMENT ICONS — بالمنتصف أسفل
   ========================= */
footer salla-apps-icons{
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: 12px !important;
  z-index: 5 !important;
  display: block !important;
}
footer salla-apps-icons img,
footer salla-apps-icons svg{
  opacity: .95 !important;
  transform: scale(.92) !important;
}

/* =========================
   MOBILE MENU — ستايل + روابط فوق بعض (النسخة الصحيحة لسلة)
   ========================= */

/* وقت فتح القائمة (سلة تستخدم mmenu) */
body.mm-ocd-opened .main-menu,
body.mm-ocd-opened .main-menu ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
}

/* كل عنصر ياخذ سطر كامل */
body.mm-ocd-opened .main-menu li {
  width: 100% !important;
}

/* تنسيق الروابط */
body.mm-ocd-opened .main-menu li a {
  display: block !important;
  width: 100% !important;
  padding: 18px 20px !important;
  border-bottom: 1px solid #e5e5e5 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  text-align: right !important;
  color: #222 !important;
}

/* العنصر النشط */
body.mm-ocd-opened .main-menu li a.active {
  color: #e53935 !important;
  font-weight: 700 !important;
}