/* =========================
   1) زر اللغة يبقى بمكانه الطبيعي دائمًا
========================= */
button[aria-label="Change Language"],
button[onclick*="localization::open"] {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    z-index: auto !important;
}

/* =========================
   2) عمود روابط مهمة يكون مرجع
========================= */
.text-center.order-1.lg\:order-\[unset\] {
    position: relative !important;
}

/* =========================
   3) مساحة تحت "من نحن"
   غيري الرقم كما تحبين
========================= */
.text-center.order-1.lg\:order-\[unset\] .footer-list.links_with_bullits li:first-child {
    margin-bottom: 28px !important;
}

/* =========================
   4) نقل أيقونات السوشال تحت "من نحن"
   على جميع المقاسات
========================= */
.store-footer__contacts-row salla-social.rounded_contacts {
    position: absolute !important;
    right: 0 !important;
    top: 48px !important;
    margin: 0 !important;
    width: auto !important;
    z-index: 20 !important;
    transform: none !important;
    display: block !important;
}

/* =========================
   5) ترتيب الأيقونات
========================= */
.store-footer__contacts-row salla-social.rounded_contacts .s-social-list {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.store-footer__contacts-row salla-social.rounded_contacts .s-social-link {
    margin: 0 !important;
}

.store-footer__contacts-row salla-social.rounded_contacts .s-social-link a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =========================
   6) الجوال: ضبط أدق للمكان
========================= */
@media (max-width: 768px) {
    .text-center.order-1.lg\:order-\[unset\] .footer-list.links_with_bullits li:first-child {
        margin-bottom: 52px !important;
    }

    .store-footer__contacts-row salla-social.rounded_contacts {
        right: 190px !important;
        top: 200px !important;
    }
}

/* =========================
   7) الديسكتوب / الابتوب
========================= */
@media (min-width: 769px) {
    .text-center.order-1.lg\:order-\[unset\] .footer-list.links_with_bullits li:first-child {
        margin-bottom: 62px !important;
    }

    .store-footer__contacts-row salla-social.rounded_contacts {
        right: 720px !important;
        top: 200px !important;
    }
}
.store-footer__contacts-row salla-social.rounded_contacts .s-social-link a {
    background: #f56f10 !important;
    border: 1px solid #f56f10 !important;
    color: #000 !important;
}

.store-footer__contacts-row salla-social.rounded_contacts .s-social-link svg,
.store-footer__contacts-row salla-social.rounded_contacts .s-social-link svg path {
    fill: #000 !important;
    color: #000 !important;
}
.store-footer .footer-badges.flex.justify-center.items-center {
    margin-top: 150px !important; /* غيري الرقم */
}
.footer-list a[href*="من-نحن"],
.footer-list li:first-child a {
    margin-bottom: 0 !important;
}
.footer-list.links_with_bullits li:first-child,
.footer-list.links_with_bullits li:first-child a {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.footer-list.links_with_bullits li:first-child + li {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.text-center.order-1.lg\:order-\[unset\] .footer-list.links_with_bullits li:first-child {
    margin-bottom: 0px !important;
}

/* =========================
   لابتوب / ديسكتوب
========================= */
@media (min-width: 769px) {
  .enhanced_rounded_contacts {
    position: relative !important;
    top: -200px !important;     /* فوق وتحت */
    right: 0px !important;   /* يمين ويسار */
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 5 !important;
  }
}

/* =========================
   الجوال
========================= */
@media (max-width: 768px) {
  .enhanced_rounded_contacts {
    position: relative !important;
    top: -460px !important;     /* فوق وتحت */
    right: 0px !important;   /* يمين ويسار */
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 5 !important;
  }
}
/* =========================
   لابتوب / ديسكتوب
========================= */
@media (min-width: 769px) {
  .store-footer .footer-badges {
    position: relative !important;
    top: -50px !important;      /* فوق / تحت */
    right: -640px !important;    /* يمين / يسار */
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 5 !important;
  }
}

/* =========================
   الجوال
========================= */
@media (max-width: 768px) {
  .store-footer .footer-badges {
    position: relative !important;
    top: 320px !important;      /* فوق / تحت */
    right: -160px !important;    /* يمين / يسار */
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 5 !important;
  }
}
/* =========================
   لابتوب / ديسكتوب
========================= */
@media (min-width: 769px) {
  .store-footer .footer-badges {
    transform: scale(1) !important; /* حجم المكوّن كامل */
    transform-origin: center center !important;
  }

  .store-footer .s-trust-badges-image {
    width: 55px !important;   /* حجم الأيقونة */
    height: 55px !important;
  }

  .store-footer .s-trust-badges-label {
    font-size: 14px !important;  /* حجم كلمة السجل التجاري */
  }

  .store-footer .s-trust-badges-number {
    font-size: 14px !important;  /* حجم الرقم */
  }
}

/* =========================
   الجوال
========================= */
@media (max-width: 768px) {
  .store-footer .footer-badges {
    transform: scale(1) !important; /* حجم المكوّن كامل */
    transform-origin: center center !important;
  }

  .store-footer .s-trust-badges-image {
    width: 32px !important;   /* حجم الأيقونة */
    height: 32px !important;
  }

  .store-footer .s-trust-badges-label {
    font-size: 10px !important;  /* حجم كلمة السجل التجاري */
  }

  .store-footer .s-trust-badges-number {
    font-size: 10px !important;  /* حجم الرقم */
  }
}