/* =========================
   FOOTER BASE
========================= */
.site-footer {
  background: #f8fbff;
  padding: 80px 0 0;
  font-family: Inter, sans-serif;
  color: #4b5563;
  position: relative;
}

/* =========================
   GRID (5 COLUMNS)
========================= */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 5px;
  align-items: flex-start;
}

/* =========================
   HEADINGS
========================= */
.site-footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.site-footer h5 {
  font-size: 14px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: #111827;
}

/* =========================
   BRAND COLUMN
========================= */
.footer-brand img {
  max-width: 180px;
}

.footer-tagline {
  font-weight: 700;
  color: #22c55e;
  margin: 12px 0 24px;
}

/* =========================
   APP BUTTONS
========================= */
.footer-apps {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-apps img {
  height: 42px;
}

/* =========================
   PAYMENT ICONS
========================= */
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-payments img {
  height: 28px;
  object-fit: contain;
}

/* =========================
   MENUS
========================= */
.footer-menu,
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  text-decoration: none;
  color: #4b5563;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #1d4ed8;
}

/* =========================
   STORES + CONTACT
========================= */
.store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-note {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.site-footer p {
  font-size: 15px;
  margin-bottom: 10px;
}

/* =========================
   SOCIAL ICONS
========================= */
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-social i {
  font-size: 18px;
  color: #4b5563;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-social i:hover {
  color: #1d4ed8;
}

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  margin-top: 60px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 14px;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
}

.footer-links a:hover {
  color: #1d4ed8;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* =========================
   ARABIC RTL
========================= */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

.site-footer--rtl {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}

.site-footer--rtl .footer-grid {
  direction: rtl;
}

.site-footer--rtl h4,
.site-footer--rtl h5,
.site-footer--rtl p,
.site-footer--rtl .footer-tagline,
.site-footer--rtl .footer-note {
  text-align: right;
}

.site-footer--rtl ul {
  padding-right: 0;
  padding-left: 0;
  text-align: right;
}

.site-footer--rtl .footer-menu a {
  display: block;
  text-align: right;
}

.site-footer--rtl .footer-apps {
  flex-direction: row-reverse;
}

.site-footer--rtl .footer-payments {
  flex-direction: row-reverse;
}

.site-footer--rtl .store-link {
  flex-direction: row-reverse;
}

.site-footer--rtl .footer-social {
  flex-direction: row-reverse;
}

.site-footer--rtl .footer-bottom {
  flex-direction: row-reverse;
}

.site-footer--rtl .footer-links {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .site-footer--rtl .footer-bottom {
    flex-direction: column;
    align-items: flex-end;
  }
}