/* Makram Ford - Header Design */

/* خلفية القائمة العلوية */
header .main-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

/* روابط تصنيفات السيارات */
header .main-menu > li > a {
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

/* تأثير المرور على التصنيف */
header .main-menu > li > a:hover {
  background-color: #103b73;
  color: #ffffff;
}

/* تصميم القوائم المنسدلة */
header .sub-menu {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* خيارات السنوات */
header .sub-menu a {
  display: block;
  padding: 10px 15px;
  color: #111111;
  border-radius: 7px;
  transition: 0.2s;
}

/* إخفاء زر المساعدة العائم */
.salla-chat-widget,
.salla-chat-widget-container,
#salla-chat-widget {
  display: none !important;
}

/* زر واتساب أسفل يسار الشاشة */
.makram-whatsapp {
  right: auto !important;
  left: 25px !important;
  bottom: 25px !important;
}

/* الجوال */
@media (max-width: 767px) {
  .makram-whatsapp {
    right: auto !important;
    left: 15px !important;
    bottom: 20px !important;
  }
}

#mk-year-picker {
  direction: rtl;
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  margin: 20px 0 30px;
  text-align: center;
}

#mk-year-picker h2 {
  font-size: 24px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 20px;
}

.mk-years-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mk-years-grid a {
  display: block;
  padding: 20px 10px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #f7f7f7;
  color: #111111 !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 700;
  transition: .25s;
}

.mk-years-grid a:hover {
  background: #103b73;
  color: #ffffff !important;
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .mk-years-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #mk-year-picker h2 {
    font-size: 20px;
  }
}

/* MAKRAM - YEAR CARDS */
#makram-years {
  direction: rtl;
  background: #ffffff;
  padding: 28px 18px;
  border-radius: 14px;
  margin: 24px 0;
  width: 100%;
}

#makram-years h2 {
  text-align: center;
  font-size: 25px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 20px;
}

.makram-years-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.makram-years-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75px;
  padding: 12px;
  text-align: center;
  background: #f5f5f5;
  border: 1px solid #dddddd;
  border-radius: 12px;
  color: #111111 !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
  transition: .25s;
}

.makram-years-grid a:hover {
  background: #103b73;
  color: #ffffff !important;
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .makram-years-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #makram-years h2 {
    font-size: 20px;
  }

  .makram-years-grid a {
    font-size: 15px;
    min-height: 60px;
  }
}