/* =========================================
   APX Final Clean CSS
   Header + Category + Product Cards + Product Page
   نسخة نظيفة كاملة
   ========================================= */

:root {
  --apx-black: #050505;
  --apx-dark: #0b0b0b;
  --apx-white: #ffffff;
  --apx-border: #eeeeee;
  --apx-border-soft: #f1f1f1;
  --apx-text: #111111;
  --apx-muted: #6b7280;
}

/* =========================================
   1) خلفية عامة
   ========================================= */

body,
#app,
.app-inner,
main,
.index-page,
.category-page,
.products-page,
.product-page,
.single-product {
  background: #ffffff !important;
}

/* =========================================
   2) الهيدر النهائي
   ========================================= */

@media (min-width: 992px) {
  .store-header.apx-lux-ready {
    position: relative !important;
    z-index: 80 !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .store-header.apx-lux-ready > .top-navbar,
  .store-header.apx-lux-ready > #mainnav {
    display: none !important;
  }

  .apx-lux-header {
    width: 100% !important;
    direction: rtl !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .apx-lux-top {
    width: min(100%, 1500px) !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    margin: 0 auto !important;
    padding: 6px 34px 2px !important;
    display: grid !important;
    grid-template-columns: minmax(360px, 1fr) 300px minmax(320px, 1fr) !important;
    align-items: center !important;
    gap: 24px !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .apx-lux-right,
  .apx-lux-left {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: transparent !important;
    min-width: 0 !important;
  }

  .apx-lux-right {
    justify-content: flex-start !important;
  }

  .apx-lux-left {
    justify-content: flex-start !important;
    direction: ltr !important;
  }

  .apx-lux-left > * {
    direction: rtl !important;
  }

  .apx-lux-center {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 84px !important;
    min-height: 84px !important;
    max-height: 84px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .apx-lux-center .navbar-brand {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 84px !important;
    min-height: 84px !important;
    max-height: 84px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    clip-path: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    overflow: visible !important;
  }

  .apx-lux-center .navbar-brand::before {
    display: none !important;
  }

  .apx-lux-center .navbar-brand::after {
    content: "شريكك في نجاح أعمالك" !important;
    display: block !important;
    margin-top: 2px !important;
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    background: transparent !important;
    transform: translateY(-2px) !important;
  }

  .apx-lux-center .navbar-brand img,
  .apx-lux-center .navbar-brand picture img,
  .apx-lux-center .navbar-brand svg {
    width: auto !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    max-width: 220px !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    background: transparent !important;
    transform: scale(1.35) !important;
    transform-origin: center center !important;
  }

  .apx-lux-menu-btn {
    appearance: none !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 46px !important;
    min-height: 46px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #111111 !important;
    cursor: pointer !important;
    border-radius: 14px !important;
  }

  .apx-lux-menu-btn span {
    width: 22px !important;
    height: 1.5px !important;
    background: #111111 !important;
    border-radius: 999px !important;
    display: block !important;
  }

  .apx-lux-menu-btn em {
    margin-top: 5px !important;
    font-style: normal !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .apx-lux-menu-btn:hover {
    border-color: #eeeeee !important;
    background: #ffffff !important;
  }

  .apx-lux-right .header-search {
    width: 280px !important;
    max-width: 280px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .apx-lux-right .header-search salla-search,
  .apx-lux-right .header-search .s-search-input-wrapper {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
  }

  .apx-lux-right .header-search .s-search-input-wrapper {
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    box-shadow: none !important;
  }

  .apx-lux-right .header-search .s-search-input-wrapper:focus-within {
    border-color: #d7d7d7 !important;
    box-shadow: none !important;
  }

  .apx-lux-right .header-search .s-search-input {
    height: 42px !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
  }

  .apx-lux-right .header-search .s-search-input::placeholder {
    color: #9ca3af !important;
  }

  .apx-lux-right .header-search svg,
  .apx-lux-right .header-search .s-search-icon,
  .apx-lux-right .header-search path {
    color: #111111 !important;
    fill: currentColor !important;
  }

  .apx-lux-left .header-buttons,
  .apx-lux-left salla-user-menu,
  .apx-lux-left salla-cart-summary {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .apx-lux-left .s-localization-modal-trigger-btn,
  .apx-lux-left .s-user-menu-trigger,
  .apx-lux-left .s-cart-summary-wrapper {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    box-shadow: none !important;
    color: #111111 !important;
  }

  .apx-lux-left .s-localization-modal-trigger-btn {
    min-width: 94px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .apx-lux-left .s-user-menu-trigger {
    width: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .apx-lux-left .s-user-menu-trigger-content,
  .apx-lux-left .s-user-menu-trigger-icon {
    display: none !important;
  }

  .apx-lux-left .s-user-menu-avatar-wrap {
    width: 23px !important;
    height: 23px !important;
    background: transparent !important;
  }

  .apx-lux-left .s-user-menu-trigger-avatar {
    width: 23px !important;
    height: 23px !important;
    filter: none !important;
    opacity: 1 !important;
    background: transparent !important;
  }

  .apx-lux-left .s-cart-summary-wrapper {
    min-width: 86px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  .apx-lux-left #s-cart-icon,
  .apx-lux-left .header-btn__icon {
    color: #111111 !important;
    font-size: 20px !important;
  }

  .apx-lux-left .s-cart-summary-total {
    color: #111111 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  .apx-lux-left .s-cart-summary-count {
    top: -6px !important;
    right: auto !important;
    left: -4px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border-radius: 999px !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    border: 2px solid #ffffff !important;
  }

  .apx-lux-left .s-localization-modal-trigger-btn:hover,
  .apx-lux-left .s-user-menu-trigger:hover,
  .apx-lux-left .s-cart-summary-wrapper:hover {
    border-color: #d7d7d7 !important;
    box-shadow: none !important;
  }

  .apx-lux-nav {
    width: min(100%, 1500px) !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 auto !important;
    padding: 0 34px !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .apx-lux-nav custom-main-menu {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: block !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .apx-lux-nav custom-main-menu .main-menu {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .apx-lux-nav custom-main-menu .main-menu > li.root-level {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    background: transparent !important;
  }

  .apx-lux-nav custom-main-menu .main-menu > li.root-level > a {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    background: transparent !important;
  }

  .apx-lux-nav custom-main-menu .main-menu > li.root-level > a::after {
    display: none !important;
  }
}

/* =========================================
   3) الجوال - الهيدر
   ========================================= */

@media (max-width: 991px) {
  .store-header,
  .store-header .top-navbar,
  .store-header #mainnav,
  .store-header .header-search,
  .store-header .header-search .s-search-input-wrapper,
  .store-header .header-search .s-search-input,
  .store-header .s-localization-modal-trigger-btn {
    background: #ffffff !important;
  }

  .store-header {
    box-shadow: none !important;
  }

  .store-header .top-navbar {
    border-bottom: 0 !important;
  }

  .store-header .header-search .s-search-input-wrapper {
    border-radius: 999px !important;
    border: 1px solid #eeeeee !important;
  }

  .store-header .s-localization-modal-trigger-btn {
    border-radius: 999px !important;
    font-weight: 700 !important;
  }

  .store-header #mainnav {
    box-shadow: none !important;
    border-bottom: 1px solid #f1f1f1 !important;
  }

  .store-header .navbar-brand img {
    max-height: 30px !important;
    width: auto !important;
    object-fit: contain !important;
  }
}

/* =========================================
   4) رأس التصنيف
   ========================================= */

#page-main-title {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  color: #050505 !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#page-main-title::before {
  content: "";
  display: inline-block !important;
  width: 5px !important;
  height: 54px !important;
  min-width: 5px !important;
  border-radius: 999px !important;
  background: #050505 !important;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.06) !important;
}

#page-main-title::after {
  display: none !important;
}

.apx-category-desc {
  margin-top: 10px !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  max-width: 620px !important;
}

.apx-category-badges,
.apx-category-badge {
  display: none !important;
}

/* =========================================
   5) زر الفرز
   ========================================= */

#product-filter {
  min-height: 42px !important;
  border-radius: 12px !important;
  border: 1px solid #e5e7eb !important;
  background-color: #ffffff !important;
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding-inline: 14px 34px !important;
  box-shadow: none !important;
  outline: none !important;
}

#product-filter:hover,
#product-filter:focus {
  border-color: #050505 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
  background-color: #ffffff !important;
}

label[for="product-filter"],
[for="product-filter"] {
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* =========================================
   6) شبكة المنتجات
   ========================================= */

.s-products-list-wrapper,
.s-products-list-wrapper.s-products-list-vertical-cards {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px 16px !important;
  align-items: start !important;
  background: transparent !important;
}

@media (max-width: 1200px) {
  .s-products-list-wrapper,
  .s-products-list-wrapper.s-products-list-vertical-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 768px) {
  .s-products-list-wrapper,
  .s-products-list-wrapper.s-products-list-vertical-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

/* =========================================
   7) كروت المنتجات
   ========================================= */

custom-salla-product-card.s-product-card-entry.s-product-card-vertical {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

@media (min-width: 992px) {
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical {
    transition: box-shadow 0.18s ease, border-color 0.18s ease !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical:hover,
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical:focus-within {
    border-color: rgba(0, 0, 0, 0.18) !important;
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.045),
      inset 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  }
}

custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image,
custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image-full-height {
  height: 170px !important;
  min-height: 170px !important;
  max-height: 170px !important;
  padding: 14px !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-bottom: 0 !important;
}

custom-salla-product-card.s-product-card-entry.s-product-card-vertical img,
.s-product-card-image img,
.s-product-card-image-full-height img,
.s-products-list-wrapper img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 130px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  margin: 0 auto !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
}

custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content {
  padding: 12px 14px 0 !important;
  gap: 6px !important;
  min-height: 0 !important;
  background: #ffffff !important;
  border-top: 0 !important;
}

custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-main {
  min-height: 46px !important;
  max-height: 50px !important;
  overflow: hidden !important;
}

custom-salla-product-card.s-product-card-entry.s-product-card-vertical h3.s-product-card-content-title,
custom-salla-product-card.s-product-card-entry.s-product-card-vertical h3.s-product-card-content-title a {
  font-size: 12px !important;
  line-height: 1.55 !important;
  font-weight: 700 !important;
  color: #111111 !important;
  margin: 0 !important;
  padding: 0 !important;
  max-height: 38px !important;
  overflow: hidden !important;
}

custom-salla-product-card.s-product-card-entry.s-product-card-vertical h3.s-product-card-content-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-sub {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  min-height: 18px !important;
  margin: 0 !important;
}

/* زر إضافة للسلة داخل الكرت */

@media (min-width: 992px) {
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-footer {
    margin: 10px -14px 0 !important;
    padding: 0 !important;
    width: calc(100% + 28px) !important;
    gap: 0 !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-add-product-button {
    display: block !important;
    width: 100% !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-add-product-button .s-button-element.s-button-primary-outline,
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-add-product-button button.s-button-element {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 0 10px !important;
    background: #050505 !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-add-product-button .s-button-text,
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-add-product-button svg,
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-add-product-button i {
    color: inherit !important;
  }
}

/* زر المفضلة داخل المنتج */

custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-button.s-product-card-wishlist-btn {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  outline: 0 !important;
}

custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-button.s-product-card-wishlist-btn > button.s-product-card-wishlist-btn,
custom-salla-product-card.s-product-card-entry.s-product-card-vertical button.s-product-card-wishlist-btn.s-button-element {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid #eeeeee !important;
  border-radius: 10px !important;
  color: #9ca3af !important;
  box-shadow: none !important;
  outline: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-button.s-product-card-wishlist-btn.added > button,
custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-button.s-product-card-wishlist-btn.favorited > button,
custom-salla-product-card.s-product-card-entry.s-product-card-vertical button.s-product-card-wishlist-btn.added,
custom-salla-product-card.s-product-card-entry.s-product-card-vertical button.s-product-card-wishlist-btn.favorited {
  color: #050505 !important;
  border-color: rgba(0, 0, 0, 0.28) !important;
  background: #ffffff !important;
}

/* زر تحميل المزيد */

.s-infinite-scroll-wrapper {
  margin-top: 18px !important;
  text-align: center !important;
}

.s-infinite-scroll-btn {
  min-height: 42px !important;
  padding: 0 24px !important;
  background: #050505 !important;
  color: #ffffff !important;
  border: 1px solid #050505 !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.s-infinite-scroll-btn .s-button-text {
  color: inherit !important;
  font-weight: 700 !important;
}

/* كروت الجوال */

@media (max-width: 768px) {
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical {
    border-radius: 14px !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image,
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image-full-height {
    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
    padding: 10px !important;
    border-bottom: 0 !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical img {
    max-height: 112px !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content {
    padding: 10px 11px 12px !important;
    border-top: 0 !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-main {
    min-height: 44px !important;
    max-height: 48px !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical h3.s-product-card-content-title,
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical h3.s-product-card-content-title a {
    font-size: 11px !important;
    line-height: 1.45 !important;
    max-height: 34px !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-sub {
    font-size: 11.5px !important;
  }

  custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-add-product-button .s-button-element,
  custom-salla-product-card.s-product-card-entry.s-product-card-vertical salla-add-product-button button.s-button-element {
    height: 32px !important;
    min-height: 32px !important;
    font-size: 10.5px !important;
    border-radius: 9px !important;
    background: #050505 !important;
    color: #ffffff !important;
    border: 1px solid #050505 !important;
  }

  #page-main-title::before,
  #page-main-title::after,
  .apx-category-desc,
  .apx-category-badges {
    display: none !important;
  }
}

/* =========================================
   8) صفحة المنتج النهائية
   ========================================= */

body.apx-product-page,
body.apx-product-page main,
body.apx-product-page #main-content,
body.apx-product-page .app-inner,
body.apx-product-page .product-page,
body.apx-product-page .single-product {
  background: #ffffff !important;
}

body.apx-product-page .breadcrumbs,
body.apx-product-page salla-comments,
body.apx-product-page .s-comments,
body.apx-product-page .comments,
body.apx-product-page [class*="comments"],
body.apx-product-page [id*="comments"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* إخفاء أقسام غير مطلوبة في صفحة المنتج */
body.apx-product-page .product__description,
body.apx-product-page .product__description article,
body.apx-product-page salla-installment,
body.apx-product-page salla-cashback-banner,
body.apx-product-page salla-bought-together,
body.apx-product-page salla-quick-order {
  display: none !important;
}

@media (min-width: 992px) {
  body.apx-product-page #main-content > .container,
  body.apx-product-page main > .container {
    width: 100% !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    background: #ffffff !important;
    overflow: visible !important;
  }

  body.apx-product-page .apx-product-layout {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 34px auto 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(560px, 690px) minmax(350px, 410px) !important;
    grid-template-rows: auto auto !important;
    column-gap: 72px !important;
    row-gap: 22px !important;
    align-items: start !important;
    justify-content: center !important;
    direction: ltr !important;
    background: #ffffff !important;
    overflow: visible !important;
  }

  body.apx-product-page .apx-product-gallery-panel {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    max-width: 690px !important;
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    direction: rtl !important;
    background: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.apx-product-page .apx-product-gallery-panel salla-slider,
  body.apx-product-page .apx-product-gallery-panel .s-slider-container,
  body.apx-product-page .apx-product-gallery-panel .swiper,
  body.apx-product-page .apx-product-gallery-panel .swiper-wrapper,
  body.apx-product-page .apx-product-gallery-panel .s-slider-swiper-wrapper,
  body.apx-product-page .apx-product-gallery-panel .swiper-slide,
  body.apx-product-page .apx-product-gallery-panel .homeslider__slide,
  body.apx-product-page .apx-product-gallery-panel .magnify-wrapper {
    width: 100% !important;
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.apx-product-page .apx-product-gallery-panel .swiper-slide,
  body.apx-product-page .apx-product-gallery-panel .homeslider__slide,
  body.apx-product-page .apx-product-gallery-panel .magnify-wrapper {
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.apx-product-page .apx-product-gallery-panel img,
  body.apx-product-page .apx-product-gallery-panel picture img,
  body.apx-product-page .apx-product-gallery-panel .swiper-slide img {
    width: auto !important;
    height: auto !important;
    max-width: 82% !important;
    max-height: 340px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
    display: block !important;
    mix-blend-mode: normal !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.apx-product-page .apx-product-gallery-panel .s-slider-block__title,
  body.apx-product-page .apx-product-gallery-panel .btn--wishlist.sws {
    display: none !important;
  }

  body.apx-product-page .apx-product-gallery-panel .s-slider-nav-arrow {
    width: 32px !important;
    height: 32px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    box-shadow: none !important;
    color: #111111 !important;
    opacity: 0.9 !important;
  }

  body.apx-product-page .apx-product-gallery-panel .s-slider-nav-arrow svg {
    width: 18px !important;
    height: 18px !important;
  }

  body.apx-product-page .apx-product-info-panel {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    max-width: 410px !important;
    margin: 0 !important;
    padding: 34px 0 0 !important;
    direction: rtl !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    text-align: right !important;
  }

  body.apx-product-page .apx-product-info-panel h1 {
    color: #111111 !important;
    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.012em !important;
    margin: 0 0 14px !important;
    max-width: 400px !important;
    text-align: right !important;
  }

  body.apx-product-page .apx-product-info-panel > .flex.whitespace-nowrap.gap-4.items-center {
    margin: 0 0 20px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  body.apx-product-page .apx-product-info-panel > .flex.whitespace-nowrap.gap-4.items-center p {
    color: #111111 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  body.apx-product-page .apx-product-info-panel > .flex.rtl\:space-x-reverse.space-x-3 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
  }

  body.apx-product-page .apx-product-info-panel salla-social-share,
  body.apx-product-page .apx-product-info-panel .btn--wishlist.s-button-wrap {
    margin: 0 !important;
  }

  body.apx-product-page .apx-product-info-panel salla-social-share button,
  body.apx-product-page .apx-product-info-panel .btn--wishlist.s-button-element {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    color: #111111 !important;
    box-shadow: none !important;
  }

  body.apx-product-page .apx-product-info-panel salla-social-share svg,
  body.apx-product-page .apx-product-info-panel .btn--wishlist svg,
  body.apx-product-page .apx-product-info-panel .btn--wishlist i {
    width: 16px !important;
    height: 16px !important;
    color: #111111 !important;
    fill: currentColor !important;
  }

  body.apx-product-page .apx-product-info-panel .product-form {
    width: 100% !important;
    max-width: 330px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.apx-product-page .apx-product-info-panel .product-form > section:first-of-type {
    display: none !important;
  }

  body.apx-product-page .apx-product-info-panel .sticky-product-bar {
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-radius: 0 !important;
  }

  body.apx-product-page .apx-product-info-panel .sticky-product-bar__quantity {
    margin: 0 0 16px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  body.apx-product-page .apx-product-info-panel .sticky-product-bar__quantity .form-label {
    margin: 0 !important;
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  body.apx-product-page .apx-product-info-panel salla-quantity-input,
  body.apx-product-page .apx-product-info-panel .s-quantity-input-container {
    width: 150px !important;
    max-width: 150px !important;
    height: 40px !important;
  }

  body.apx-product-page .apx-product-info-panel .s-quantity-input-container {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  body.apx-product-page .apx-product-info-panel .s-quantity-input-button,
  body.apx-product-page .apx-product-info-panel .s-quantity-input-input {
    height: 40px !important;
    min-height: 40px !important;
    color: #111111 !important;
    background: #ffffff !important;
    font-weight: 800 !important;
  }

  body.apx-product-page .apx-product-info-panel .s-quantity-input-button svg {
    width: 13px !important;
    height: 13px !important;
  }

  body.apx-product-page .apx-product-info-panel salla-add-product-button {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
  }

  body.apx-product-page .apx-product-info-panel .s-add-product-button-main {
    width: 100% !important;
    display: block !important;
  }

  body.apx-product-page .apx-product-info-panel salla-add-product-button salla-button,
  body.apx-product-page .apx-product-info-panel salla-add-product-button button {
    width: 100% !important;
  }

  body.apx-product-page .apx-product-info-panel salla-add-product-button .s-button-element {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 6px !important;
    background: #050505 !important;
    color: #ffffff !important;
    border: 1px solid #050505 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
  }

  body.apx-product-page .apx-product-info-panel salla-add-product-button .s-button-text {
    color: inherit !important;
    font-weight: 900 !important;
  }

  body.apx-product-page .apx-product-info-panel salla-mini-checkout-widget,
  body.apx-product-page .apx-product-info-panel .s-add-product-button-mini-checkout,
  body.apx-product-page .apx-product-info-panel .s-add-product-button-mini-checkout-content {
    display: none !important;
  }

  body.apx-product-page .apx-product-benefits {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    direction: rtl !important;
    transform: none !important;
    position: relative !important;
    z-index: 3 !important;
    background: transparent !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.apx-product-page .apx-product-benefit {
    width: 100% !important;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    margin: 0 !important;
    padding: 10px 8px !important;
    background: #ffffff !important;
    border: 1px solid #e9e9e9 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 5px !important;
  }

  body.apx-product-page .apx-product-benefit-icon {
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    border-radius: 999px !important;
    border: 1px solid #eeeeee !important;
    background: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  body.apx-product-page .apx-product-benefit-title {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    color: #111111 !important;
  }

  body.apx-product-page .apx-product-benefit-text {
    margin: 0 !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #6b7280 !important;
  }
}

@media (min-width: 1400px) {
  body.apx-product-page .apx-product-layout {
    max-width: 1260px !important;
    grid-template-columns: minmax(640px, 740px) minmax(370px, 420px) !important;
    column-gap: 78px !important;
  }

  body.apx-product-page .apx-product-gallery-panel {
    max-width: 740px !important;
  }

  body.apx-product-page .apx-product-benefits {
    max-width: 920px !important;
  }
}

@media (max-width: 991px) {
  body.apx-product-page .apx-product-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding: 0 14px !important;
    margin-top: 18px !important;
    background: #ffffff !important;
  }

  body.apx-product-page .apx-product-gallery-panel {
    order: 1 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  body.apx-product-page .apx-product-info-panel {
    order: 2 !important;
    background: #ffffff !important;
    text-align: right !important;
  }

  body.apx-product-page .apx-product-info-panel h1 {
    font-size: 22px !important;
    line-height: 1.45 !important;
    font-weight: 900 !important;
    color: #111111 !important;
    text-align: right !important;
  }

  body.apx-product-page .apx-product-info-panel .product-form > section:first-of-type {
    display: none !important;
  }

  body.apx-product-page .apx-product-info-panel .product-form,
  body.apx-product-page .apx-product-info-panel .s-add-product-button-main {
    width: 100% !important;
  }

  body.apx-product-page .apx-product-info-panel salla-add-product-button .s-button-element {
    width: 100% !important;
    height: 44px !important;
    border-radius: 8px !important;
    background: #050505 !important;
    color: #ffffff !important;
    border: 1px solid #050505 !important;
    font-weight: 900 !important;
  }

  body.apx-product-page .apx-product-info-panel salla-mini-checkout-widget,
  body.apx-product-page .apx-product-info-panel .s-add-product-button-mini-checkout,
  body.apx-product-page .apx-product-info-panel .s-add-product-button-mini-checkout-content {
    display: none !important;
  }

  body.apx-product-page .apx-product-benefits {
    padding: 0 14px !important;
    margin-top: 12px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    direction: rtl !important;
  }

  body.apx-product-page .apx-product-benefit {
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 8px !important;
    padding: 12px !important;
    text-align: center !important;
    overflow: visible !important;
  }

  body.apx-product-page .apx-product-benefit-title {
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  body.apx-product-page .apx-product-benefit-text {
    font-size: 11px !important;
    color: #6b7280 !important;
  }
}
/* =========================================
   APX Product Page Final Polish
   آخر تحسينات صفحة المنتج
   ========================================= */

@media (min-width: 992px) {
  /* توسيع منطقة المنتج يمين وإراحة النص */
  body.apx-product-page .apx-product-layout {
    max-width: 1280px !important;
    grid-template-columns: minmax(560px, 680px) minmax(420px, 480px) !important;
    column-gap: 72px !important;
    row-gap: 12px !important;
  }

  body.apx-product-page .apx-product-info-panel {
    max-width: 480px !important;
    padding-top: 44px !important;
  }

  body.apx-product-page .apx-product-info-panel h1 {
    max-width: 470px !important;
    font-size: 23px !important;
    line-height: 1.45 !important;
  }

  /* تصغير الصورة قليلًا حتى تكون أهدأ */
  body.apx-product-page .apx-product-gallery-panel img,
  body.apx-product-page .apx-product-gallery-panel picture img,
  body.apx-product-page .apx-product-gallery-panel .swiper-slide img {
    max-width: 78% !important;
    max-height: 320px !important;
  }

  /* توسيع منطقة الفورم والزر */
  body.apx-product-page .apx-product-info-panel .product-form {
    max-width: 360px !important;
  }

  body.apx-product-page .apx-product-info-panel salla-add-product-button .s-button-element {
    height: 46px !important;
    min-height: 46px !important;
  }

  /* تقريب كروت المزايا للأعلى قليلًا */
  body.apx-product-page .apx-product-benefits {
    max-width: 940px !important;
    margin-top: -4px !important;
  }
}

@media (min-width: 1400px) {
  body.apx-product-page .apx-product-layout {
    max-width: 1320px !important;
    grid-template-columns: minmax(620px, 740px) minmax(440px, 500px) !important;
    column-gap: 80px !important;
  }

  body.apx-product-page .apx-product-info-panel {
    max-width: 500px !important;
  }

  body.apx-product-page .apx-product-info-panel h1 {
    max-width: 490px !important;
  }

  body.apx-product-page .apx-product-benefits {
    max-width: 960px !important;
  }
}
/* =========================================
   APX Product Page Anti Flash
   منع ظهور شكل ثيم رائد قبل تطبيق التعديلات
   ========================================= */

body.apx-product-page:not(.apx-product-ready) .apx-product-layout,
body.apx-product-page:not(.apx-product-ready) .apx-product-benefits {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.apx-product-page.apx-product-ready .apx-product-layout,
body.apx-product-page.apx-product-ready .apx-product-benefits {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.18s ease !important;
}

/* احتياط قبل ما تكتمل معالجة صفحة المنتج */
body.apx-product-page:not(.apx-product-ready) [id^="product-"] {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.apx-product-page.apx-product-ready [id^="product-"] {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.18s ease !important;
}
/* =========================================
   APX Custom Footer
   فوتر APX مخصص بالكامل
   ========================================= */

/* إخفاء فوتر الثيم الأصلي */
.store-footer {
  display: none !important;
}

/* الفوتر الجديد */
.apx-custom-footer {
  width: 100% !important;
  background: #ffffff !important;
  color: #111111 !important;
  border-top: 1px solid #eeeeee !important;
  margin-top: 70px !important;
  direction: rtl !important;
  font-family: inherit !important;
}

.apx-footer-shell {
  width: min(100%, 1440px) !important;
  margin: 0 auto !important;
  padding: 70px 42px 28px !important;
  background: #ffffff !important;
}

.apx-footer-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.15fr !important;
  gap: 56px !important;
  align-items: start !important;
}

.apx-footer-col {
  min-width: 0 !important;
}

.apx-footer-title,
.apx-footer-confidence-title {
  color: #111111 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
}

.apx-footer-title::after,
.apx-footer-confidence-title::after {
  content: "" !important;
  display: block !important;
  width: 30px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #111111 !important;
  margin-top: 12px !important;
}

/* الروابط */
.apx-footer-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.apx-footer-link {
  display: block !important;
  color: #333333 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  padding: 11px 0 !important;
  border-bottom: 1px solid #eeeeee !important;
  transition: color 0.18s ease !important;
}

.apx-footer-link:hover {
  color: #000000 !important;
}

/* التواصل */
.apx-footer-contact-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
}

.apx-footer-contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: #111111 !important;
}

.apx-footer-contact-icon {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border: 1px solid #eeeeee !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111111 !important;
  background: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.apx-footer-contact-main {
  display: block !important;
  color: #111111 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  direction: ltr !important;
  text-align: right !important;
}

.apx-footer-contact-label {
  display: block !important;
  margin-top: 2px !important;
  color: #777777 !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 600 !important;
}

/* وسائل التواصل */
.apx-footer-socials {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 20px !important;
}

.apx-footer-social-link {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid #eeeeee !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111111 !important;
  background: #ffffff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

/* وثيقة العمل الحر */
.apx-footer-trust-card {
  width: 100% !important;
  max-width: 280px !important;
  min-height: 78px !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  margin-bottom: 28px !important;
}

.apx-footer-trust-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.apx-footer-trust-label {
  color: #555555 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.apx-footer-trust-number {
  color: #111111 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.apx-footer-trust-img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
}

/* الثقة */
.apx-footer-confidence {
  margin-top: 0 !important;
}

.apx-footer-confidence-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.apx-footer-confidence-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #333333 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.apx-footer-confidence-icon {
  width: 26px !important;
  height: 26px !important;
  border-radius: 999px !important;
  border: 1px solid #eeeeee !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  color: #111111 !important;
}

/* شعارات الجهات */
.apx-footer-gov-logos {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 26px !important;
}

.apx-footer-gov-logo {
  width: 100% !important;
  max-width: 280px !important;
  min-height: 58px !important;
  padding: 12px 14px !important;
  border: 1px solid #eeeeee !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.apx-footer-gov-mark {
  width: 44px !important;
  height: 34px !important;
  border-radius: 8px !important;
  border: 1px solid #eeeeee !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111111 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  background: #ffffff !important;
}

.apx-footer-gov-name {
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

/* الخط الفاصل */
.apx-footer-rule {
  width: 100% !important;
  height: 1px !important;
  background: #eeeeee !important;
  margin: 56px 0 32px !important;
}

/* القسم السفلي */
.apx-footer-bottom {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 28px !important;
}

.apx-footer-payments {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.apx-footer-payments .s-payments-list,
.apx-footer-payments ul {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  flex-wrap: wrap !important;
}

.apx-footer-payments .s-payments-list-item,
.apx-footer-payments li {
  width: 48px !important;
  height: 34px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px !important;
  box-shadow: none !important;
  color: #111111 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

.apx-footer-payments img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* الشعار أسفل الصفحة فقط */
.apx-footer-bottom-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.apx-footer-bottom-logo {
  width: auto !important;
  height: 74px !important;
  max-height: 74px !important;
  max-width: 240px !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
  opacity: 1 !important;
  background: transparent !important;
  transform: scale(1.25) !important;
  transform-origin: center center !important;
}

.apx-footer-text-logo {
  display: block !important;
  color: #111111 !important;
  font-size: 34px !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  line-height: 1 !important;
}

.apx-footer-bottom-slogan {
  margin-top: 6px !important;
  color: #111111 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}

/* ميتا */
.apx-footer-meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #555555 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

/* الحقوق */
.apx-footer-legal {
  margin-top: 30px !important;
  padding-top: 18px !important;
  border-top: 1px solid #eeeeee !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  color: #555555 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.apx-footer-legal-links {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.apx-footer-legal-links a {
  color: #555555 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.apx-footer-copy {
  color: #555555 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.apx-footer-copy strong {
  color: #111111 !important;
  font-weight: 900 !important;
}

/* الجوال */
@media (max-width: 991px) {
  .apx-custom-footer {
    margin-top: 44px !important;
  }

  .apx-footer-shell {
    padding: 44px 18px 24px !important;
  }

  .apx-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    text-align: center !important;
  }

  .apx-footer-title::after,
  .apx-footer-confidence-title::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .apx-footer-list {
    align-items: center !important;
  }

  .apx-footer-link {
    width: 100% !important;
    max-width: 340px !important;
  }

  .apx-footer-contact-item {
    justify-content: center !important;
  }

  .apx-footer-contact-main,
  .apx-footer-contact-label {
    text-align: center !important;
  }

  .apx-footer-socials {
    justify-content: center !important;
  }

  .apx-footer-trust-card,
  .apx-footer-gov-logo {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .apx-footer-confidence-items {
    align-items: center !important;
  }

  .apx-footer-bottom {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .apx-footer-payments {
    justify-content: center !important;
    order: 2 !important;
  }

  .apx-footer-bottom-brand {
    order: 1 !important;
  }

  .apx-footer-meta {
    align-items: center !important;
    order: 3 !important;
  }

  .apx-footer-bottom-logo {
    height: 58px !important;
    max-height: 58px !important;
    transform: scale(1.15) !important;
  }

  .apx-footer-bottom-slogan {
    white-space: normal !important;
    font-size: 13px !important;
  }

  .apx-footer-legal {
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .apx-footer-legal-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}
/* =========================================
   APX Footer Final Clean Override
   حذف العناصر غير المطلوبة + تثبيت توزيع الفوتر
   ========================================= */

/* عناصر لم تعد مطلوبة في التصميم النهائي */
.apx-footer-trust-col,
.apx-footer-trust-card,
.apx-footer-confidence,
.apx-footer-gov-logos,
.apx-footer-meta,
.apx-footer-legal-links,
.apx-footer-socials {
  display: none !important;
}

@media (min-width: 992px) {
  /* أعمدة الفوتر الثلاثة في وسط الصفحة */
  .apx-footer-grid {
    width: 100% !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(240px, 280px)) !important;
    justify-content: center !important;
    align-items: start !important;
    gap: 64px !important;
    direction: rtl !important;
  }

  .apx-footer-grid > .apx-footer-col {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .apx-footer-title {
    text-align: center !important;
  }

  .apx-footer-title::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .apx-footer-list,
  .apx-footer-link {
    text-align: center !important;
  }

  .apx-footer-contact-list {
    align-items: center !important;
  }

  .apx-footer-contact-item {
    justify-content: center !important;
  }

  .apx-footer-contact-main,
  .apx-footer-contact-label {
    text-align: center !important;
  }

  /* الجزء السفلي: الشعار وسط، الدفع يسار */
  .apx-footer-bottom {
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 28px !important;
    direction: ltr !important;
  }

  .apx-footer-bottom-brand {
    grid-column: 2 !important;
    justify-self: center !important;
    text-align: center !important;
    direction: rtl !important;
  }

  .apx-footer-payments {
    grid-column: 1 !important;
    justify-self: start !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    direction: ltr !important;
  }

  .apx-footer-payments .s-payments-list,
  .apx-footer-payments ul {
    justify-content: flex-start !important;
  }

  /* إزالة الخط السفلي تحت منطقة الشعار والحقوق */
  .apx-footer-legal {
    border-top: 0 !important;
    margin-top: 12px !important;
    padding-top: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    text-align: left !important;
    direction: ltr !important;
  }

  .apx-footer-copy {
    text-align: left !important;
    direction: rtl !important;
    margin: 0 !important;
  }
}

@media (max-width: 991px) {
  .apx-footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .apx-footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
  }

  .apx-footer-payments {
    justify-content: center !important;
  }

  .apx-footer-legal,
  .apx-footer-copy {
    justify-content: center !important;
    text-align: center !important;
  }
}
/* إزالة أيقونات تواصل معنا في الفوتر */
.apx-footer-contact-icon {
  display: none !important;
}
/* توسيط الرقم والبريد والنصوص */
.apx-footer-contact-main,
.apx-footer-contact-label {
  text-align: center !important;
}
/* تنزيل بيانات تواصل معنا - نسخة أقوى */
@media (min-width: 992px) {
  .apx-footer-grid .apx-footer-col:nth-child(3) .apx-footer-contact-list,
  .apx-footer-grid .apx-footer-col:last-child .apx-footer-contact-list {
    position: relative !important;
    top: 22px !important;
  }
}
/* =========================================
   APX Homepage V2 - Final Build
   ========================================= */

.apx-home-v2,
.apx-home-v2 * {
  box-sizing: border-box !important;
}

.apx-home-v2 {
  width: 100% !important;
  background: #ffffff !important;
  color: #111111 !important;
  direction: rtl !important;
  font-family: inherit !important;
  overflow: hidden !important;
}

.apx-home-v2-container {
  width: min(100%, 1440px) !important;
  margin: 0 auto !important;
  padding-left: 42px !important;
  padding-right: 42px !important;
}

/* Shared */

.apx-home-v2-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 0 14px !important;
  border: 1px solid #eeeeee !important;
  border-radius: 999px !important;
  color: #111111 !important;
  background: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  margin-bottom: 16px !important;
}

.apx-home-v2-eyebrow bdi {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

.apx-home-v2-section {
  background: #ffffff !important;
  padding: 52px 0 !important;
}

.apx-home-v2-section-head {
  margin-bottom: 26px !important;
  text-align: right !important;
}

.apx-home-v2-section-head h2,
.apx-home-v2-business-content h2,
.apx-home-v2-corporate-content h2,
.apx-home-v2-about-content h2 {
  margin: 0 !important;
  color: #050505 !important;
  font-size: clamp(26px, 3vw, 42px) !important;
  font-weight: 950 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.025em !important;
}

.apx-home-v2-section-head p,
.apx-home-v2-business-content p,
.apx-home-v2-corporate-content p,
.apx-home-v2-about-content p {
  margin: 12px 0 0 !important;
  color: #6b7280 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
}

/* 1. Banner */

.apx-home-v2-hero-banner-section {
  width: 100% !important;
  background: #ffffff !important;
  padding: 18px 0 18px !important;
}

.apx-home-v2-banner {
  width: 100% !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.045) !important;
}

.apx-home-v2-banner img {
  width: 100% !important;
  height: auto !important;
  max-height: 450px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  background: #ffffff !important;
}

/* 2. Intro */

.apx-home-v2-intro {
  padding: 46px 0 58px !important;
  background: #ffffff !important;
  text-align: center !important;
}

.apx-home-v2-intro-inner {
  max-width: 980px !important;
  margin: 0 auto !important;
}

.apx-home-v2-main-title {
  margin: 0 auto !important;
  color: #050505 !important;
  font-size: clamp(42px, 5.6vw, 76px) !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.055em !important;
  max-width: 980px !important;
}

.apx-home-v2-main-subtitle {
  margin: 22px auto 0 !important;
  color: #6b7280 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
  max-width: 760px !important;
}

.apx-home-v2-intro-actions {
  margin-top: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.apx-home-v2-btn {
  min-height: 46px !important;
  padding: 0 26px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  transition: transform 0.18s ease, border-color 0.18s ease, opacity 0.18s ease !important;
}

.apx-home-v2-btn:hover {
  transform: translateY(-1px) !important;
}

.apx-home-v2-btn-primary {
  background: #050505 !important;
  color: #ffffff !important;
  border: 1px solid #050505 !important;
}

.apx-home-v2-btn-secondary {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #eeeeee !important;
}

.apx-home-v2-btn-secondary:hover {
  border-color: #050505 !important;
}

/* 3. Benefits */

.apx-home-v2-benefits {
  background: #ffffff !important;
  padding: 10px 0 36px !important;
}

.apx-home-v2-benefits-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.apx-home-v2-benefit {
  min-height: 96px !important;
  padding: 16px 14px !important;
  border: 1px solid #eeeeee !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.apx-home-v2-benefit-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid #eeeeee !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111111 !important;
  background: #ffffff !important;
  line-height: 1 !important;
}

.apx-home-v2-benefit-icon svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  fill: currentColor !important;
}

.apx-home-v2-benefit strong {
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

.apx-home-v2-benefit em {
  color: #6b7280 !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

/* 4. APX Business */

.apx-home-v2-business-card {
  border: 1px solid #eeeeee !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  padding: 42px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr) !important;
  gap: 32px !important;
  align-items: center !important;
}

.apx-home-v2-business-content p {
  max-width: 760px !important;
}

.apx-home-v2-business-points {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.apx-home-v2-business-points div {
  padding: 18px !important;
  border: 1px solid #eeeeee !important;
  border-radius: 16px !important;
  background: #ffffff !important;
}

.apx-home-v2-business-points strong {
  display: block !important;
  color: #050505 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  margin-bottom: 8px !important;
}

.apx-home-v2-business-points span {
  display: block !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
}

/* 5. Corporate Orders */

.apx-home-v2-corporate-card {
  border-radius: 28px !important;
  border: 1px solid #111111 !important;
  background:
    radial-gradient(circle at top left, rgba(28, 213, 214, 0.16), transparent 34%),
    #050505 !important;
  color: #ffffff !important;
  padding: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
}

.apx-home-v2-eyebrow-dark {
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.apx-home-v2-corporate-content h2 {
  color: #ffffff !important;
}

.apx-home-v2-corporate-content p {
  color: rgba(255, 255, 255, 0.76) !important;
  max-width: 760px !important;
}

.apx-home-v2-whatsapp-btn {
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #050505 !important;
  border: 1px solid #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform 0.18s ease, opacity 0.18s ease !important;
}

.apx-home-v2-whatsapp-btn:hover {
  transform: translateY(-1px) !important;
  opacity: 0.92 !important;
}

/* 6. Why APX */

.apx-home-v2-about {
  display: grid !important;
  grid-template-columns: 390px minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: stretch !important;
  direction: ltr !important;
}

.apx-home-v2-about > * {
  direction: rtl !important;
}

.apx-home-v2-about-logo-panel {
  min-height: 340px !important;
  border-radius: 28px !important;
  background: #050505 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 34px !important;
  overflow: hidden !important;
}

.apx-home-v2-logo-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.apx-home-v2-logo-img {
  width: auto !important;
  height: 78px !important;
  max-height: 78px !important;
  max-width: 230px !important;
  object-fit: contain !important;
  display: block !important;
  filter: brightness(0) invert(1) !important;
  transform: scale(1.12) !important;
  transform-origin: center center !important;
}

.apx-home-v2-logo-box em {
  display: block !important;
  margin-top: 16px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
}

.apx-home-v2-about-content {
  padding: 42px !important;
  border: 1px solid #eeeeee !important;
  border-radius: 28px !important;
  background: #ffffff !important;
}

.apx-home-v2-about-list {
  margin-top: 30px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.apx-home-v2-about-list div {
  padding: 18px !important;
  border: 1px solid #eeeeee !important;
  border-radius: 16px !important;
  background: #ffffff !important;
}

.apx-home-v2-about-list strong {
  display: block !important;
  color: #050505 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  margin-bottom: 9px !important;
}

.apx-home-v2-about-list span {
  display: block !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
}

/* 7. FAQ */

.apx-home-v2-faq-section {
  padding-bottom: 34px !important;
}

.apx-home-v2-faq {
  border: 1px solid #eeeeee !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.apx-home-v2-faq details {
  border-bottom: 1px solid #eeeeee !important;
  background: #ffffff !important;
}

.apx-home-v2-faq details:last-child {
  border-bottom: 0 !important;
}

.apx-home-v2-faq summary {
  cursor: pointer !important;
  list-style: none !important;
  padding: 20px 24px 20px 52px !important;
  color: #111111 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1.5 !important;
  position: relative !important;
}

.apx-home-v2-faq summary::-webkit-details-marker {
  display: none !important;
}

.apx-home-v2-faq summary::after {
  content: "+" !important;
  position: absolute !important;
  left: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #111111 !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.apx-home-v2-faq details[open] summary::after {
  content: "–" !important;
}

.apx-home-v2-faq details p {
  margin: 0 !important;
  padding: 0 24px 20px !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
  max-width: 760px !important;
}

/* Responsive */

@media (max-width: 1100px) {
  .apx-home-v2-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .apx-home-v2-business-card {
    grid-template-columns: 1fr !important;
  }

  .apx-home-v2-corporate-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .apx-home-v2-about {
    grid-template-columns: 1fr !important;
    direction: rtl !important;
  }

  .apx-home-v2-about-logo-panel {
    min-height: 240px !important;
  }

  .apx-home-v2-about-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .apx-home-v2-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .apx-home-v2-hero-banner-section {
    padding-top: 14px !important;
    padding-bottom: 12px !important;
  }

  .apx-home-v2-banner {
    border-radius: 18px !important;
  }

  .apx-home-v2-banner img {
    max-height: none !important;
  }

  .apx-home-v2-intro {
    padding-top: 34px !important;
    padding-bottom: 42px !important;
  }

  .apx-home-v2-main-title {
    font-size: 38px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.035em !important;
  }

  .apx-home-v2-main-subtitle {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }

  .apx-home-v2-intro-actions {
    align-items: stretch !important;
  }

  .apx-home-v2-btn {
    width: 100% !important;
  }

  .apx-home-v2-benefits {
    padding-top: 8px !important;
    padding-bottom: 26px !important;
  }

  .apx-home-v2-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .apx-home-v2-benefit {
    min-height: 96px !important;
    padding: 14px 10px !important;
  }

  .apx-home-v2-benefit-icon {
    width: 34px !important;
    height: 34px !important;
  }

  .apx-home-v2-benefit-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  .apx-home-v2-benefit em {
    font-size: 11px !important;
  }

  .apx-home-v2-section {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }

  .apx-home-v2-business-card,
  .apx-home-v2-corporate-card,
  .apx-home-v2-about-content {
    padding: 26px !important;
    border-radius: 20px !important;
  }

  .apx-home-v2-business-points {
    gap: 10px !important;
  }

  .apx-home-v2-corporate-card {
    align-items: stretch !important;
    text-align: right !important;
  }

  .apx-home-v2-whatsapp-btn {
    width: 100% !important;
  }

  .apx-home-v2-about-logo-panel {
    min-height: 190px !important;
    border-radius: 20px !important;
  }

  .apx-home-v2-logo-img {
    height: 58px !important;
    max-height: 58px !important;
    max-width: 180px !important;
    transform: scale(1.08) !important;
  }

  .apx-home-v2-faq {
    border-radius: 18px !important;
  }

  .apx-home-v2-faq summary {
    padding: 18px 20px 18px 46px !important;
    font-size: 14px !important;
  }

  .apx-home-v2-faq summary::after {
    left: 20px !important;
  }

  .apx-home-v2-faq details p {
    padding: 0 20px 18px !important;
    font-size: 13px !important;
  }
}
/* =========================================
   APX Payments Final Fix
   منع تكرار أيقونات الدفع نهائيًا
   ========================================= */

.apx-footer-payments salla-payments,
.apx-footer-payments .s-payments-list-wrap,
.apx-footer-payments .s-payments-list:not(.apx-payments-clean-list) {
  display: none !important;
}

.apx-footer-payments .apx-payments-clean-list {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  flex-wrap: wrap !important;
}

.apx-footer-payments .apx-payment-item {
  width: 48px !important;
  height: 34px !important;
  flex: 0 0 48px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px !important;
  box-shadow: none !important;
  color: #111111 !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  overflow: hidden !important;
}

.apx-footer-payments .apx-payment-item img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 991px) {
  .apx-footer-payments {
    width: 100% !important;
    justify-content: center !important;
  }

  .apx-footer-payments .apx-payments-clean-list {
    justify-content: center !important;
    max-width: 340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 8px !important;
  }

  .apx-footer-payments .apx-payment-item {
    width: 48px !important;
    height: 34px !important;
    flex: 0 0 48px !important;
  }
}