/* ====== Al Ekhwa Footer -- footer.css ======
   نفس الألوان البرندية المستخدمة في الهيدر:
   أخضر أساسي #0B7239 | خلفية hover/active #f0fdf4
*/

.ekhwa-footer {
  direction: rtl;
  font-family: inherit;
  color: #374151;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.ekhwa-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.ekhwa-footer-top {
  padding: 48px 0 32px;
}

.ekhwa-footer-top .ekhwa-footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.ekhwa-footer-col-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.ekhwa-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.ekhwa-footer-logo img {
  height: 36px;
  width: auto;
}

.ekhwa-footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #0B7239;
}

.ekhwa-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ekhwa-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #4b5563;
}

.ekhwa-footer-contact i {
  color: #0B7239;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.ekhwa-footer-contact a {
  color: #4b5563;
  text-decoration: none;
}

.ekhwa-footer-contact a:hover {
  color: #0B7239;
}

.ekhwa-footer-col-toggle {
  display: none;
  width: 100%;
  background: none;
  border: none;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  padding: 14px 0;
  cursor: pointer;
}

.ekhwa-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ekhwa-footer-links li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.ekhwa-footer-links i {
  color: #0B7239;
  font-size: 12px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.ekhwa-footer-links a {
  color: #4b5563;
  text-decoration: none;
  transition: color .15s ease;
}

.ekhwa-footer-links a:hover {
  color: #0B7239;
}

.ekhwa-footer-social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.ekhwa-footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f0fdf4;
  color: #0B7239;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.ekhwa-footer-social-icons a:hover {
  background: #0B7239;
  color: #fff;
}

.ekhwa-footer-newsletter-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.ekhwa-footer-newsletter-sub {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

.ekhwa-footer-newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ekhwa-footer-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
  direction: rtl;
}

.ekhwa-footer-newsletter-form input[type="email"]:focus {
  border-color: #0B7239;
}

.ekhwa-footer-newsletter-form button {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: #0B7239;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}

.ekhwa-footer-newsletter-form button:hover {
  background: #095c2e;
}

.ekhwa-footer-bottom {
  background: #0B7239;
}

.ekhwa-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  flex-wrap: wrap;
}

.ekhwa-footer-payments {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 22px;
}

.ekhwa-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 5px 12px;
}

.ekhwa-footer-copyright {
  margin: 0;
  font-size: 13px;
  color: #f0fdf4;
  text-align: center;
}

@media (max-width: 1024px) {
  .ekhwa-footer-top .ekhwa-footer-container {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }

  .ekhwa-footer-social-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .ekhwa-footer-top {
    padding: 32px 0 16px;
  }

  .ekhwa-footer-top .ekhwa-footer-container {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .ekhwa-footer-brand {
    order: -1;
    margin-bottom: 12px;
  }

  .ekhwa-footer-social-col {
    grid-column: auto;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 8px;
  }

  .ekhwa-footer-col:not(.ekhwa-footer-brand):not(.ekhwa-footer-social-col) {
    border-top: 1px solid #e5e7eb;
  }

  .ekhwa-footer-col-toggle {
    display: flex;
  }

  .ekhwa-footer-col-body {
    display: none;
    padding-bottom: 16px;
  }

  .ekhwa-footer-col.is-open .ekhwa-footer-col-body {
    display: flex;
  }

  .ekhwa-footer-col.is-open .ekhwa-footer-chevron {
    transform: rotate(180deg);
  }

  .ekhwa-footer-chevron {
    transition: transform .15s ease;
  }

  .ekhwa-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
}
.ekhwa-payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 22px;
  line-height: 1;
  color: #ffffff;
  background: none;
  border: none;
  padding: 0;
}
