@media (min-width: 1024px) {
  .store-header {
    --atlas-gold: #d2ac47;
    --atlas-search: #dbc998;
    --atlas-text: #292929;
  }

  /* الشريط العلوي */
  .store-header .top-navbar {
    height: 48px;
    min-height: 48px;
    background: var(--atlas-gold);
    color: var(--atlas-text);
  }

  .store-header .top-navbar > .container,
  .store-header .main-nav-container .container {
    width: min(calc(100% - 48px), 1240px);
    max-width: 1240px;
    margin-inline: auto;
  }

  .store-header .top-navbar > .container {
    height: 100%;
    align-items: center;
  }

  .store-header .header-search {
    flex: 1;
    max-width: none;
    margin-inline: 16px;
  }

  .store-header .header-search .s-search-input {
    width: 100%;
    height: 36px !important;
    border: 0;
    border-radius: 999px !important;
    background: var(--atlas-search);
    color: var(--atlas-text);
  }

  .store-header .header-search .s-search-input::placeholder {
    color: #828b96;
  }

  .store-header .s-contacts-topnav-link {
    color: var(--atlas-text);
    font-size: 13px;
    white-space: nowrap;
  }

  /* تثبيت ارتفاع الصف الأبيض */
  .store-header .main-nav-container,
  .store-header .main-nav-container .inner,
  .store-header .main-nav-container .container,
  .store-header .main-nav-container .container > .flex {
    height: 84px;
    min-height: 84px;
  }

  .store-header .main-nav-container {
    background: #fff;
    border: 0;
    box-shadow: none;
  }

  .store-header .main-nav-container .container > .flex {
    align-items: center;
  }

  .store-header .main-nav-container .container > .flex > .flex:last-child {
    margin-block: 0;
  }

  /* تكبير الشعار دون زيادة ارتفاع الهيدر */
  .store-header .navbar-brand {
    width: 110px;
    height: 64px;
    margin-inline-end: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .store-header .navbar-brand img {
    width: 110px;
    height: 110px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    flex-shrink: 0;
  }

  /* إبقاء الروابط وسهم القائمة في سطر واحد */
  .store-header .main-menu > li.root-level {
    height: 84px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
  }

  .store-header .main-menu > li.root-level > a {
    min-height: 0;
    height: auto;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    color: var(--atlas-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
  }

  .store-header .main-menu > li.root-level > a:hover,
  .store-header .main-menu > li.root-level > a[href$="c683520199"] {
    color: var(--atlas-gold);
  }

  /* السلة */
  .store-header .s-cart-summary-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--atlas-text);
  }

  .store-header .s-cart-summary-count {
    background: #a51f25;
    color: #fff;
  }

  .store-header .s-cart-summary-content {
    display: block;
  }

  /* مطابق للصورة المرجعية */
  .store-header salla-user-menu {
    display: none;
  }
}
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap");

.store-footer {
  --footer-gold: #d2ac47;
  --footer-brown: #442814;
  background: #fff;
  color: #171717;
  border-top: 2px solid var(--footer-gold);
  font-family: "Cairo", sans-serif;
}

/* المساحة البيضاء */
.store-footer .store-footer__inner {
  background: #fff;
  padding: 42px 0 30px;
}

.store-footer .store-footer__inner > .container {
  width: min(calc(100% - 64px), 1280px);
  max-width: 1280px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}

.store-footer .store-footer__inner > .container > * {
  grid-column: auto !important;
  padding: 0 !important;
}

/* لا توجد أيقونات تطبيقات ظاهرة في التصميم المرجعي */
.store-footer [data-testid="store-footer-apps"] {
  display: none;
}

/* عمود المتجر والشعار */
.store-footer .store-footer__inner > .container > :first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-footer .atlas-footer-brand {
  width: 175px;
  height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.store-footer .atlas-footer-logo {
  width: 175px;
  height: 175px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.store-footer .atlas-footer-brand h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.store-footer .store-footer__inner > .container > :first-child > .max-w-sm {
  max-width: 430px;
  margin-bottom: 18px;
  color: #171717;
  font-size: 16px;
  line-height: 1.65;
}

/* السجل قبل حسابات التواصل */
.store-footer .store-footer__inner > .container > :first-child > .flex {
  order: 3;
}

.store-footer .store-footer__inner > .container > :first-child > .hidden {
  order: 4;
}

.store-footer .s-trust-badges-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.store-footer .s-trust-badges-image {
  width: 50px;
  height: 50px;
}

.store-footer .s-trust-badges-label,
.store-footer .s-trust-badges-number {
  color: #292929;
  font-size: 12px;
}

/* عناوين الأعمدة */
.store-footer .store-footer__inner h3,
.store-footer .s-contacts-title {
  margin: 0 0 20px;
  color: var(--footer-brown);
  font-family: "Cairo", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

/* روابط مهمة */
.store-footer .atlas-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-footer .atlas-footer-links li {
  margin-bottom: 9px;
}

.store-footer .atlas-footer-links a {
  color: #171717;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.store-footer .atlas-footer-links a:hover {
  color: var(--footer-gold);
}

/* التواصل */
.store-footer .s-contacts-list-vertical {
  gap: 12px;
}

.store-footer .s-contacts-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #171717;
  font-size: 15px;
}

.store-footer .s-contacts-icon,
.store-footer .s-social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--footer-brown);
  border-radius: 50%;
  color: var(--footer-brown);
}

.store-footer .s-contacts-icon svg,
.store-footer .s-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* الرقم الثالث تكرار للرقم الثاني دون مفتاح الدولة */
.store-footer .s-contacts-item[href="tel:532613001"] {
  display: none;
}

.store-footer .s-social-list {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* الشريط الذهبي السفلي */
.store-footer > .container {
  width: 100%;
  max-width: none;
  min-height: 70px;
  margin: 0;
  padding: 12px max(24px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--footer-gold);
}

.store-footer .copyright-text p,
.store-footer .copyright-text a {
  margin: 0;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
}

.store-footer .s-payments-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.store-footer .s-payments-list-item {
  height: 34px;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 3px;
}

.store-footer .s-payments-list-item img {
  width: auto;
  max-width: 58px;
  max-height: 26px;
  object-fit: contain;
}

/* الموبايل */
@media (max-width: 767px) {
  .store-footer .store-footer__inner {
    padding: 34px 0;
  }

  .store-footer .store-footer__inner > .container {
    width: calc(100% - 36px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .store-footer > .container {
    flex-direction: column;
    padding: 20px 18px;
    text-align: center;
  }

  .store-footer .s-payments-list {
    justify-content: center;
  }
}
/* ترتيب عمود المتجر */
.store-footer .store-footer__inner > .container > :first-child > a {
  order: 0 !important;
}

.store-footer .store-footer__inner > .container > :first-child > .max-w-sm {
  order: 1 !important;
}

.store-footer .store-footer__inner > .container > :first-child > div.flex.gap-4 {
  order: 2 !important;
}

.store-footer .store-footer__inner > .container > :first-child > .hidden {
  order: 3 !important;
}

/* تنظيم روابط مهمة */
.store-footer .atlas-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.store-footer .atlas-footer-links li {
  margin: 0;
}

/* توحيد بطاقات الدفع */
.store-footer .s-payments-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.store-footer .s-payments-list-item {
  flex: 0 0 64px;
  width: 64px !important;
  height: 36px !important;
  padding: 4px !important;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 3px;
}

.store-footer .s-payments-list-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}
/* ترتيب عمود المتجر */
.store-footer .store-footer__inner > .container > :first-child > a {
  order: 0 !important;
}

.store-footer .store-footer__inner > .container > :first-child > .max-w-sm {
  order: 1 !important;
}

.store-footer .store-footer__inner > .container > :first-child > div.flex.gap-4 {
  order: 2 !important;
}

.store-footer .store-footer__inner > .container > :first-child > .hidden {
  order: 3 !important;
}

/* تنظيم روابط مهمة */
.store-footer .atlas-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.store-footer .atlas-footer-links li {
  margin: 0;
}

/* توحيد بطاقات الدفع */
.store-footer .s-payments-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.store-footer .s-payments-list-item {
  flex: 0 0 64px;
  width: 64px !important;
  height: 36px !important;
  padding: 4px !important;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 3px;
}

.store-footer .s-payments-list-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}
@media (max-width: 767px) {
  .store-footer .store-footer__inner > .container {
    width: min(calc(100% - 36px), 420px);
    margin-inline: auto;
    grid-template-columns: 1fr !important;
    gap: 34px;
    text-align: center;
  }

  .store-footer .store-footer__inner > .container > * {
    width: 100%;
    padding: 0 !important;
    text-align: center;
  }

  /* الشعار والوصف والسجل */
  .store-footer .store-footer__inner > .container > :first-child {
    align-items: center !important;
  }

  .store-footer .atlas-footer-brand,
  .store-footer .store-footer__inner > .container > :first-child > a {
    margin-inline: auto;
    justify-content: center;
  }

  .store-footer .store-footer__inner > .container > :first-child > .max-w-sm {
    margin-inline: auto;
    text-align: center;
    line-height: 1.8;
  }

  .store-footer .store-footer__inner > .container > :first-child > div.flex.gap-4 {
    justify-content: center;
    width: 100%;
  }

  .store-footer .s-trust-badges-wrapper {
    justify-content: center;
  }

  /* العناوين والروابط */
  .store-footer .store-footer__inner h3,
  .store-footer .s-contacts-title {
    text-align: center;
    margin-bottom: 16px;
  }

  .store-footer .atlas-footer-links,
  .store-footer .s-menu-footer-list {
    align-items: center !important;
    text-align: center;
  }

  .store-footer .atlas-footer-links a {
    display: inline-block;
    padding-block: 3px;
  }

  /* أرقام التواصل والأيقونات */
  .store-footer .s-contacts-list-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .store-footer .s-contacts-item {
    width: fit-content;
    margin-inline: auto;
    justify-content: center;
  }

  .store-footer .contact-social .s-social-list,
  .store-footer .s-payments-list {
    justify-content: center;
  }

  .store-footer > .container {
    text-align: center;
  }
}

/* البنر الرئيسي: بدون مسافة بينه وبين الهيدر */
#main-content > .s-block--bundle-hero-banner {
  margin-top: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

.s-block--bundle-hero-banner [component-name="hero-banner"] {
  --hero-height-desktop: min(750px, 52.083vw) !important;
}

/* البنران الآخران: مسافة من الجانبين */
.s-block--bundle-showcase-banner {
  padding-inline: 20px !important;
  box-sizing: border-box;
}

.s-block--bundle-showcase-banner [component-name="showcase-banner"] {
  --banner-height: min(600px, calc((100vw - 72px) * .5)) !important;
}

@media (max-width: 767px) {
  .s-block--bundle-hero-banner [component-name="hero-banner"] {
    --hero-height-mobile: 52.083vw !important;
    --mobile-object-fit: contain !important;
  }

  .s-block--bundle-showcase-banner [component-name="showcase-banner"] {
    --banner-mobile-height: calc((100vw - 72px) * .5) !important;
  }
}
body.index main#main-content {
  padding-top: 0 !important;
}

body.index main#main-content > section.s-block.s-block--bundle-hero-banner {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  padding-top: 0 !important;
}
@media (min-width: 1024px) {
  /* إلغاء الإزاحة التي تضيفها قائمة سلة */
  .store-header #mobile-menu,
  .store-header #mobile-menu > .main-menu {
    height: 84px !important;
    min-height: 84px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
  }

  .store-header #mobile-menu > .main-menu {
    display: flex !important;
    align-items: center !important;
  }

  /* lg:!inline-block في القالب كانت تمنع توسيط عنصر القائمة */
  .store-header .main-menu > li.root-level {
    display: inline-flex !important;
    align-items: center !important;
    height: 84px !important;
  }

  .store-header .main-menu > li.root-level > a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.4;
  }

  .store-header .s-contacts-topnav-link {
    font-size: 14px;
  }
}
@media (min-width: 1024px) {
  .store-header .main-menu > li.root-level.has-children > a {
    position: relative;
    min-height: 52px;
  }

  .store-header .main-menu > li.root-level.has-children > a::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 2px !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    border: 0 !important;
    border-right: 2px solid #d2ac47 !important;
    border-bottom: 2px solid #d2ac47 !important;
    transform: translateX(-50%) rotate(45deg) !important;
  }
}