/*
 * AntiGravity — complete merged custom CSS | 25 October 2026
 * استبدل محتوى خانة CSS المخصص بالكامل بهذا الملف.
 * هذه النسخة تضم الهيدر والميجا منيو والفوتر والإصلاحات والهوية الموحدة.
 */

:root {
  --ag-btn-bg: #0A0A0A;
  --ag-btn-text: #FFFFFF;
  --ag-btn-border: #0A0A0A;
  --ag-btn-hover-bg: #FFFFFF;
  --ag-btn-hover-text: #0A0A0A;
  --ag-btn-hover-border: #0A0A0A;
  --ag-btn-women-bg: #FFFFFF;
  --ag-btn-women-text: #0A0A0A;
  --ag-btn-women-border: #0A0A0A;
  --ag-btn-disabled-bg: #DEDED8;
  --ag-btn-disabled-text: #60605A;
  --ag-btn-disabled-border: #DEDED8;
  --ag-btn-duration: 250ms;
  /* توافق مع أكواد السلة القديمة. */
  --ag-cart-bg: var(--ag-btn-bg);
  --ag-cart-text: var(--ag-btn-text);
  --ag-cart-hover-bg: var(--ag-btn-hover-bg);
  --ag-cart-hover-text: var(--ag-btn-hover-text);
}

/* Add custom CSS styles below */ 
/* الهيدر العلوي فقط */
header.store-header #mainnav .header-inner {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: transform 240ms ease !important;
}

/* إخفاؤه عند النزول */
html.ag-header-hidden header.store-header #mainnav .header-inner {
  transform: translateY(calc(-100% - 8px)) !important;
  pointer-events: none !important;
}

/* حجز مساحة الهيدر لمنع قفزة المحتوى */
html.ag-header-ready header.store-header #mainnav {
  height: var(--ag-header-height) !important;
  min-height: var(--ag-header-height) !important;
}

@media (prefers-reduced-motion: reduce) {
  header.store-header #mainnav .header-inner {
    transition: none !important;
  }
}

/* إزالة المسافة فوق بنر الهيرو في الصفحة الرئيسية */
body.index section.s-block--bundle-hero-ultimate {
  padding-top: 0 !important;
}
/* AntiGravity mega menu — append AFTER the existing header CSS. */
#ag-mega-menu,
#ag-mega-backdrop {
  --ag-mm-lime: var(--ag-btn-hover-bg, #FFFFFF);
  --ag-mm-ink: #0A0A0A;
  --ag-mm-top: 146px;
  box-sizing: border-box;
}
#ag-mega-menu *, #ag-mega-menu *::before, #ag-mega-menu *::after {
  box-sizing: border-box;
}
#ag-mega-menu[hidden], #ag-mega-backdrop[hidden] { display: none !important; }
html.ag-mega-open header.store-header #mainnav .header-inner {
  transform: translateY(0) !important;
  pointer-events: auto !important;
  transition: none !important;
}
#ag-mega-backdrop {
  position: fixed;
  inset: var(--ag-mm-top) 0 0;
  z-index: 101;
  background: rgb(10 10 10 / 40%);
}
#ag-mega-menu {
  position: fixed;
  top: var(--ag-mm-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 102;
  width: min(1480px, calc(100% - 48px));
  max-height: calc(100vh - var(--ag-mm-top) - 16px);
  max-height: calc(100dvh - var(--ag-mm-top) - 16px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: var(--ag-mm-ink);
  border: 1px solid #e5e5e1;
  border-top: 3px solid #0A0A0A;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 22px 55px rgb(0 0 0 / 16%);
  padding: 20px 26px 16px;
  direction: var(--ag-mm-direction, rtl);
  text-align: start;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  animation: ag-mm-appear 180ms ease-out;
}
#ag-mega-menu a { color: inherit; text-decoration: none; }
#ag-mega-menu button { font: inherit; cursor: pointer; }
#ag-mega-menu :is(a, button, summary):focus-visible {
  outline: 3px solid var(--ag-mm-ink);
  outline-offset: 3px;
}
#ag-mega-menu .ag-mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e9e9e5;
}
#ag-mega-menu .ag-mm-title {
  margin: 0;
  color: var(--ag-mm-ink);
  font-size: 21px;
  line-height: 1.5;
  font-weight: 800;
}
#ag-mega-menu .ag-mm-close {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #e4e4df;
  border-radius: 50%;
  background: #f5f5f1;
  color: var(--ag-mm-ink);
  transition: background-color 180ms ease;
}
#ag-mega-menu .ag-mm-close svg { width: 18px; height: 18px; }
#ag-mega-menu .ag-mm-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
#ag-mega-menu :is(.ag-mm-group, .ag-mm-direct) { min-width: 0; margin: 0; }
#ag-mega-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  font-weight: 800;
  font-size: 18px;
  cursor: default;
}
#ag-mega-menu summary::-webkit-details-marker { display: none; }
#ag-mega-menu .ag-mm-chevron { display: none; width: 18px; height: 18px; }
#ag-mega-menu .ag-mm-photo {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #FFFFFF;
  margin: 0 0 12px;
}
#ag-mega-menu .ag-mm-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 220ms ease;
}
#ag-mega-menu .ag-mm-links {
  display: grid;
  gap: 3px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#ag-mega-menu .ag-mm-link {
  display: block;
  overflow-wrap: anywhere;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: background-color 180ms ease, color 180ms ease;
}
#ag-mega-menu .ag-mm-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  margin-top: 10px;
  font-weight: 800;
  font-size: 13px;
  border-bottom: 2px solid #0A0A0A;
}
#ag-mega-menu .ag-mm-direct-title {
  display: block;
  margin: 0 0 10px;
  min-height: 38px;
  font-size: 18px;
  font-weight: 800;
}
#ag-mega-menu .ag-mm-feature-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 7px;
  padding: 10px;
  background: var(--ag-mm-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}
#ag-mega-menu .ag-mm-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e9e9e5;
}
#ag-mega-menu .ag-mm-footer a {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 6px;
}
#ag-mega-menu :is(.ag-mm-link, .ag-mm-feature-link, .ag-mm-close, .ag-mm-footer a):active {
  background: var(--ag-mm-lime);
  color: var(--ag-mm-ink);
}
@media (hover: hover) {
  #ag-mega-menu :is(.ag-mm-link, .ag-mm-feature-link, .ag-mm-close, .ag-mm-footer a):hover {
    background: var(--ag-mm-lime);
    color: var(--ag-mm-ink);
  }
  #ag-mega-menu .ag-mm-photo:hover img { transform: scale(1.1); }
  #ag-mega-menu .ag-mm-all:hover { color: #0A0A0A; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  #ag-mega-menu { padding-inline: 18px; }
  #ag-mega-menu .ag-mm-grid { gap: 12px; }
  #ag-mega-menu .ag-mm-link { padding-inline: 6px; font-size: 13px; }
}
@media (max-width: 1023px) {
  #ag-mega-menu {
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-height: calc(100vh - var(--ag-mm-top));
    max-height: calc(100dvh - var(--ag-mm-top));
    padding: 16px 16px max(20px, env(safe-area-inset-bottom));
    border-inline: 0;
    border-radius: 0 0 12px 12px;
  }
  #ag-mega-menu .ag-mm-title { font-size: 19px; }
  #ag-mega-menu .ag-mm-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #ag-mega-menu .ag-mm-group { border-bottom: 1px solid #e9e9e5; }
  #ag-mega-menu summary {
    min-height: 54px;
    margin: 0;
    padding: 12px 4px;
    font-size: 17px;
    cursor: pointer;
  }
  #ag-mega-menu .ag-mm-chevron { display: block; transition: transform 180ms ease; }
  #ag-mega-menu details[open] .ag-mm-chevron { transform: rotate(180deg); }
  #ag-mega-menu .ag-mm-body { padding: 0 4px 16px; }
  #ag-mega-menu .ag-mm-photo img { height: 140px; aspect-ratio: auto; }
  #ag-mega-menu .ag-mm-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  #ag-mega-menu .ag-mm-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    height: 100%;
    padding: 10px;
    background: #f5f5f1;
    font-size: 14px;
  }
  #ag-mega-menu .ag-mm-direct { padding: 16px 4px 0; }
  #ag-mega-menu .ag-mm-direct-title { min-height: 0; font-size: 17px; }
  #ag-mega-menu .ag-mm-direct > .ag-mm-photo { display: none; }
}
@keyframes ag-mm-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #ag-mega-menu { animation: none; }
  #ag-mega-menu * { transition: none !important; }
}
/* دائرة فتح الأسئلة الشائعة */
.faqs-list__item .faq-item.open-badge {
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: #0A0A0A !important;
}

/* لون الرمز نفسه */
.faqs-list__item .faq-item.open-badge::before {
  color: inherit !important;
}

/* الهوفر */
@media (hover: hover) {
  .faqs-list__item:hover .faq-item.open-badge {
    background-color: var(--ag-cart-hover-bg, #FFFFFF) !important;
    color: var(--ag-cart-hover-text, #0A0A0A) !important;
  }
}

/* الضغط على الجوال والتحديد بلوحة المفاتيح */
.faqs-list__item:active .faq-item.open-badge,
.faqs-list__item:focus-within .faq-item.open-badge {
  background-color: var(--ag-cart-hover-bg, #FFFFFF) !important;
  color: var(--ag-cart-hover-text, #0A0A0A) !important;
}
/*
 * AntiGravity footer | 24 October 2026
 * أضف هذا الملف في نهاية CSS المخصص، بعد الأكواد الحالية.
 * لا تحذف أكواد الهيدر والميجا منيو ولا تغيّر JavaScript.
 * كل المحددات أدناه محصورة داخل footer.store-footer.
 * لتغيير الألوان والمسافات، عدّل المتغيرات في أول قاعدة فقط.
 */

footer.store-footer {
  --agf-bg: #0a0a0a;
  --agf-panel: #151515;
  --agf-lime: var(--ag-btn-hover-bg, #FFFFFF);
  --agf-text: #f5f5f2;
  --agf-muted: #b3b3ac;
  --agf-line: rgb(255 255 255 / 12%);
  --agf-width: 1320px;
  --agf-radius: 14px;
  --agf-space: 28px;
  --agf-logo-width: 170px;
  --agf-logo-filter: brightness(0) invert(1);

  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: var(--agf-bg) !important;
  color: var(--agf-text) !important;
  font-family: inherit;
  text-align: start;
  color-scheme: dark;
}

/* إضاءة هادئة وخط علوي مستوحى من الهوية الرياضية. */
footer.store-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFFFFF 30%, #FFFFFF 70%, transparent);
  pointer-events: none;
}

footer.store-footer .store-footer__inner {
  padding: 0 !important;
  background: radial-gradient(ellipse at 85% 0%, rgb(255 255 255 / 5%), transparent 48%) !important;
  color: var(--agf-text) !important;
  border: 0 !important;
}

footer.store-footer .store-footer__inner > .container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
  width: 100% !important;
  max-width: var(--agf-width) !important;
  margin-inline: auto !important;
  padding: 28px var(--agf-space) 0 !important;
  box-sizing: border-box;
}

footer.store-footer :is(.footer-top, .footer-middle, .footer-bottom) {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  border-color: var(--agf-line) !important;
  background: transparent !important;
}

/* صف خفيف يجمع التواصل الاجتماعي والعودة لأعلى. */
footer.store-footer .to-top {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: var(--agf-text) !important;
}

footer.store-footer .to-top > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  height: auto !important;
  padding: 10px 16px !important;
  border: 1px solid var(--agf-line);
  border-radius: 999px;
  background: var(--agf-panel);
  color: var(--agf-text) !important;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

footer.store-footer .to-top :is(p, i) {
  margin: 0;
  color: inherit !important;
}

footer.store-footer .footer-top {
  grid-column: 1;
  grid-row: 1;
  justify-content: flex-start !important;
  padding: 0 !important;
  border: 0 !important;
}

footer.store-footer :is(.footer-social, .social-links, salla-social) {
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

footer.store-footer .s-social-list {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

footer.store-footer .s-social-link {
  margin: 0 !important;
  padding: 0 !important;
}

footer.store-footer .s-social-link > a {
  display: grid !important;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 11px !important;
  box-sizing: border-box;
  border: 1px solid var(--agf-line) !important;
  border-radius: 12px !important;
  background: var(--agf-panel) !important;
  color: var(--agf-text) !important;
  transition: transform 200ms ease, color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

footer.store-footer .s-social-icon {
  display: grid;
  place-items: center;
  width: 20px !important;
  height: 20px !important;
  color: inherit !important;
}

footer.store-footer .s-social-icon svg {
  display: block;
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
}

/* أربعة أعمدة: البراند، الروابط، التواصل، والبيانات الرسمية. */
footer.store-footer .footer-middle {
  display: grid !important;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start !important;
  gap: 32px;
  margin-top: 28px !important;
  padding: 36px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--agf-line) !important;
}

footer.store-footer .footer-middle > div {
  min-width: 0 !important;
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  align-items: stretch;
  text-align: start;
}

footer.store-footer .footer-profile {
  gap: 16px;
}

footer.store-footer .logo-footer {
  justify-content: flex-start !important;
  width: fit-content;
  max-width: 100%;
  margin: 0 !important;
}

/* هذا التحويل خاص بلوجو البراند فقط، ولا يشمل الدفع أو التوثيق. */
footer.store-footer .logo-footer img {
  display: block !important;
  width: var(--agf-logo-width) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 82px !important;
  object-fit: contain;
  object-position: center;
  filter: var(--agf-logo-filter);
}

footer.store-footer .footer-profile :is(p, span) {
  margin: 0 !important;
  color: var(--agf-muted) !important;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

footer.store-footer .footer-profile p:empty {
  display: none;
}

footer.store-footer :is(.footer-title, .s-contacts-title) {
  position: relative;
  margin: 0 0 18px !important;
  padding: 0 0 12px !important;
  color: var(--agf-text) !important;
  font-family: inherit;
  font-size: 17px !important;
  line-height: 1.6;
  font-weight: 700;
  text-align: start !important;
}

footer.store-footer :is(.footer-title, .s-contacts-title)::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--agf-lime);
  pointer-events: none;
}

footer.store-footer .footer-list {
  display: grid;
  gap: 4px;
}

footer.store-footer .footer-list a {
  display: flex !important;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  margin: 0 !important;
  padding: 5px 0 !important;
  color: var(--agf-muted) !important;
  font-size: 14px;
  line-height: 1.6 !important;
  overflow-wrap: anywhere;
  text-decoration: none;
  text-underline-offset: 5px;
  transition: color 200ms ease;
}

/* إظهار وسائل التواصل بنصوصها الفعلية مع بقاء روابط سلة كما هي. */
footer.store-footer salla-contacts {
  display: block;
  width: 100%;
  color: var(--agf-text) !important;
}

footer.store-footer .s-contacts-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100%;
  margin: 0 !important;
}

footer.store-footer .s-contacts-list > div {
  width: 100%;
  min-width: 0;
}

footer.store-footer .s-contacts-item {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px;
  min-width: 0;
  min-height: 42px;
  margin: 0 !important;
  color: var(--agf-muted) !important;
  text-decoration: none;
  transition: color 200ms ease;
}

footer.store-footer .s-contacts-icon {
  display: grid !important;
  place-items: center;
  flex: 0 0 36px;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid var(--agf-line);
  border-radius: 10px;
  background: var(--agf-panel);
  color: var(--agf-lime) !important;
  transition: color 200ms ease, background-color 200ms ease;
}

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

footer.store-footer .s-contacts-item .unicode {
  display: inline !important;
  min-width: 0;
  color: inherit !important;
  font-size: 13px;
  line-height: 1.65;
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
  text-align: start;
}

/* بطاقة مستقلة للسجل التجاري والرقم الضريبي، دون تعديل البيانات. */
footer.store-footer .footer-middle > div:last-child {
  gap: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--agf-line);
  border-radius: var(--agf-radius);
  background: var(--agf-panel);
  box-sizing: border-box;
}

footer.store-footer :is(.footer-images, salla-apps-icons):empty {
  display: none !important;
}

footer.store-footer .footer-vat {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer.store-footer salla-trust-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--agf-text) !important;
}

footer.store-footer .s-trust-badges-image {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  object-fit: contain;
}

footer.store-footer :is(.s-trust-badges-label, .vat-num p) {
  margin: 0 0 4px !important;
  color: var(--agf-muted) !important;
  font-size: 12px;
  line-height: 1.6;
}

footer.store-footer :is(.s-trust-badges-number, .vat-num span) {
  display: inline-block;
  color: var(--agf-text) !important;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
}

footer.store-footer .vat-num {
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--agf-line);
}

/* شعارات الدفع على مساحات بيضاء للحفاظ على ألوانها ووضوحها. */
footer.store-footer .footer-bottom {
  display: grid !important;
  grid-column: 1 / -1;
  grid-row: 3;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 22px 0 !important;
  border-top: 1px solid var(--agf-line) !important;
}

footer.store-footer .sbc-certificate {
  justify-content: flex-start;
  min-width: 0;
  gap: 10px;
  color: var(--agf-muted) !important;
  font-size: 12px;
  line-height: 1.6;
}

footer.store-footer .sbc-certificate p {
  margin: 0 !important;
  color: inherit !important;
}

footer.store-footer .sbc-link {
  flex: 0 0 42px;
  width: 42px !important;
  height: 36px !important;
  border-radius: 6px;
  background: #fff !important;
}

footer.store-footer .sbc-link img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

footer.store-footer salla-payments {
  display: block;
  min-width: 0;
  max-width: 100%;
}

footer.store-footer .s-payments-list {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

footer.store-footer .s-payments-list-item {
  display: grid !important;
  place-items: center;
  flex: 0 0 48px;
  width: 48px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 4px !important;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 6px;
  background: #fff !important;
  box-sizing: border-box;
}

footer.store-footer .s-payments-list-item :is(a, img) {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

footer.store-footer .copyrights {
  min-width: 0;
  color: var(--agf-muted) !important;
  opacity: 1 !important;
  font-size: 12px;
  line-height: 1.8;
  text-align: end;
  overflow-wrap: anywhere;
}

footer.store-footer .copyrights p {
  margin: 0 !important;
  color: inherit !important;
}

footer.store-footer .copyrights a {
  color: var(--agf-text) !important;
  transition: color 200ms ease;
}

footer.store-footer a:focus-visible {
  outline: 2px solid var(--agf-lime);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  footer.store-footer :is(.to-top > a, .s-social-link > a):hover {
    background: var(--agf-lime) !important;
    border-color: var(--agf-lime) !important;
    color: var(--agf-bg) !important;
  }

  footer.store-footer .s-social-link > a:hover {
    transform: translateY(-3px);
  }

  footer.store-footer :is(.footer-list a, .s-contacts-item, .copyrights a):hover {
    color: var(--agf-lime) !important;
  }

  footer.store-footer .footer-list a:hover {
    text-decoration: underline;
  }

  footer.store-footer .s-contacts-item:hover .s-contacts-icon {
    background: var(--agf-lime);
    color: var(--agf-bg) !important;
  }
}

@media (max-width: 1100px) {
  footer.store-footer .footer-middle {
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer.store-footer .footer-bottom {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between !important;
  }

  footer.store-footer .footer-bottom salla-payments {
    flex: 1 0 100%;
    order: -1;
  }
}

@media (max-width: 639px) {
  footer.store-footer {
    --agf-space: 20px;
    --agf-logo-width: 150px;
  }

  footer.store-footer .store-footer__inner > .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 24px !important;
  }

  footer.store-footer .footer-top {
    grid-column: 1;
    grid-row: 1;
    justify-content: center !important;
    justify-self: center;
  }

  footer.store-footer .s-social-list {
    justify-content: center !important;
  }

  footer.store-footer .to-top {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    margin-top: 16px !important;
  }

  footer.store-footer .footer-middle {
    grid-row: 3;
    gap: 28px 18px;
    margin-top: 24px !important;
    padding: 28px 0 !important;
  }

  footer.store-footer :is(.footer-profile, .footer-middle > div:last-child) {
    grid-column: 1 / -1;
  }

  footer.store-footer .footer-profile {
    align-items: center !important;
    text-align: center;
    gap: 12px;
  }

  footer.store-footer .footer-profile p {
    max-width: 38ch;
    margin-inline: auto !important;
    font-size: 13px;
    line-height: 1.9;
  }

  footer.store-footer :is(.footer-title, .s-contacts-title) {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }

  footer.store-footer .footer-list a {
    min-height: 44px;
    font-size: 13px;
  }

  footer.store-footer .s-contacts-item {
    min-height: 44px;
    gap: 7px;
  }

  footer.store-footer .s-contacts-icon {
    flex-basis: 30px;
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px;
  }

  footer.store-footer .s-contacts-item .unicode {
    font-size: 12px;
  }

  footer.store-footer .footer-middle > div:last-child {
    padding: 16px !important;
  }

  footer.store-footer .footer-vat {
    flex-flow: row wrap;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
  }

  footer.store-footer .footer-vat > * {
    min-width: 0;
    max-width: 100%;
  }

  footer.store-footer .vat-num {
    padding-top: 0;
    border-top: 0;
  }

  footer.store-footer .footer-bottom {
    grid-row: 4;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 18px;
    padding: 22px 0 28px !important;
  }

  footer.store-footer .footer-bottom salla-payments {
    flex: 0 1 auto;
    width: 100%;
  }

  footer.store-footer .sbc-certificate {
    justify-content: center;
  }

  footer.store-footer .copyrights {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer.store-footer *,
  footer.store-footer *::before,
  footer.store-footer *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
@media (max-width: 1023px) {

  /* شريط التنقل السفلي */
  .bottom-header {
    z-index: 90 !important;
    isolation: isolate;
    opacity: 1 !important;
  }

  /* حصر طبقات أزرار البنرات داخل أقسامها */
  section.s-block--bundle-hero-ultimate,
  section.s-block--bundle-shop-by-piece {
    position: relative;
    z-index: 0 !important;
    isolation: isolate;
  }
}
/* تفعيل الضغط على علامة فتح الإجابة */
.s-block--faqs .faqs-list__item label .open-badge {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ألوان السلة وتأكيد اللغة قبل تهيئة الجافاسكريبت فقط.
   بعد تهيئته ينتقل الزر إلى قواعد الهوية الموحدة أدناه. */
:is(button.s-button-element[product-id], .s-localization-modal-inner button.s-button-element.s-button-primary):not([data-ag-ui-button]) {
  background-color: var(--ag-btn-bg) !important;
  background-image: none !important;
  color: var(--ag-btn-text) !important;
  border-color: var(--ag-btn-border) !important;
  transition: background-color var(--ag-btn-duration) ease, color var(--ag-btn-duration) ease, border-color var(--ag-btn-duration) ease !important;
}
:is(button.s-button-element[product-id], .s-localization-modal-inner button.s-button-element.s-button-primary):not([data-ag-ui-button]) .s-button-text,
:is(button.s-button-element[product-id], .s-localization-modal-inner button.s-button-element.s-button-primary):not([data-ag-ui-button]) .s-button-text * {
  color: inherit !important;
}
@media (hover: hover) and (pointer: fine) {
  :is(button.s-button-element[product-id], .s-localization-modal-inner button.s-button-element.s-button-primary):not([data-ag-ui-button]):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-busy="true"]):hover {
    background-color: var(--ag-btn-hover-bg) !important;
    color: var(--ag-btn-hover-text) !important;
    border-color: var(--ag-btn-hover-border) !important;
  }
}
:is(button.s-button-element[product-id], .s-localization-modal-inner button.s-button-element.s-button-primary):not([data-ag-ui-button]):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-busy="true"]):active {
  background-color: var(--ag-btn-hover-bg) !important;
  color: var(--ag-btn-hover-text) !important;
  border-color: var(--ag-btn-hover-border) !important;
}
:is(button.s-button-element[product-id], .s-localization-modal-inner button.s-button-element.s-button-primary):not([data-ag-ui-button]):is(:disabled, [disabled], [aria-disabled="true"]) {
  background-color: var(--ag-btn-disabled-bg) !important;
  color: var(--ag-btn-disabled-text) !important;
  border-color: var(--ag-btn-disabled-border) !important;
}
:is(button.s-button-element[product-id], .s-localization-modal-inner button.s-button-element.s-button-primary):not([data-ag-ui-button]):focus-visible {
  outline: 2px solid var(--ag-btn-border, #0A0A0A) !important;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  :is(button.s-button-element[product-id], .s-localization-modal-inner button.s-button-element.s-button-primary):not([data-ag-ui-button]) { transition: none !important; }
}

/* يحدد JavaScript أزرار التنفيذ؛ لا تستهدف القاعدة كل button أو a. */
[data-ag-ui-button] {
  --ag-ui-bg: var(--ag-btn-bg, #0A0A0A);
  --ag-ui-text: var(--ag-btn-text, #FFFFFF);
  --ag-ui-border: var(--ag-btn-border, #0A0A0A);
  --ag-ui-duration: var(--ag-btn-duration, 250ms);
  background-color: var(--ag-ui-bg) !important;
  background-image: none !important;
  color: var(--ag-ui-text) !important;
  border-color: var(--ag-ui-border) !important;
  transition:
    background-color var(--ag-ui-duration, 250ms) ease,
    color var(--ag-ui-duration, 250ms) ease,
    border-color var(--ag-ui-duration, 250ms) ease !important;
}

/* زر النساء في الهيرو: خلفية شفافة وحدود ونص بالأسود. */
[data-ag-ui-button="women"] {
  --ag-ui-bg: var(--ag-btn-women-bg, transparent);
  --ag-ui-text: var(--ag-btn-women-text, #FFFFFF);
  --ag-ui-border: var(--ag-btn-women-border, #FFFFFF);
}

/* تظل التابة المختارة واضحة بعد انتهاء الضغط عليها. */
[data-ag-ui-button="tab"]:is(.active, [aria-selected="true"]) {
  --ag-ui-bg: var(--ag-btn-hover-bg, #FFFFFF);
  --ag-ui-text: var(--ag-btn-hover-text, #0A0A0A);
  --ag-ui-border: var(--ag-btn-hover-border, #FFFFFF);
}

[data-ag-ui-button] :is(.s-button-text, .s-button-text *, i, [data-ag-button-text]) {
  color: inherit !important;
}

/* روابط «عرض الكل» الأصلية بالثيم تصبح أزرارًا مقروءة دون تغيير وجهتها. */
[data-ag-ui-button]:is(.s-block__display-all, .s-slider-block__display-all) {
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-inline: 16px !important;
}
[data-ag-ui-button]:is(.s-block__display-all, .s-slider-block__display-all)::after {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  [data-ag-ui-button]:not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-busy="true"]):hover {
    --ag-ui-bg: var(--ag-btn-hover-bg, #FFFFFF);
    --ag-ui-text: var(--ag-btn-hover-text, #0A0A0A);
    --ag-ui-border: var(--ag-btn-hover-border, #FFFFFF);
  }
}

/* حالة الضغط تشمل شاشات اللمس. */
[data-ag-ui-button]:not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-busy="true"]):active {
  --ag-ui-bg: var(--ag-btn-hover-bg, #FFFFFF);
  --ag-ui-text: var(--ag-btn-hover-text, #0A0A0A);
  --ag-ui-border: var(--ag-btn-hover-border, #FFFFFF);
}

[data-ag-ui-button][data-ag-ui-button]:focus-visible {
  outline: 2px solid var(--ag-btn-hover-bg, #FFFFFF) !important;
  outline-offset: 3px !important;
}

[data-ag-ui-button]:is(:disabled, [disabled], [aria-disabled="true"]) {
  --ag-ui-bg: var(--ag-btn-disabled-bg, #DEDED8);
  --ag-ui-text: var(--ag-btn-disabled-text, #60605A);
  --ag-ui-border: var(--ag-btn-disabled-border, #DEDED8);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  [data-ag-ui-button] { --ag-ui-duration: 0ms !important; transition: none !important; }
}
/* AntiGravity — تبويبات صفحة المنتج */
button.tab-trigger[data-component-id="product-tabs"] {
  --ag-product-tab-bg: var(--ag-btn-bg, #0A0A0A);
  --ag-product-tab-text: var(--ag-btn-text, #FFFFFF);
  --ag-product-tab-border: var(--ag-btn-border, #0A0A0A);

  background-color: var(--ag-product-tab-bg) !important;
  background-image: none !important;
  color: var(--ag-product-tab-text) !important;
  border-color: var(--ag-product-tab-border) !important;

  transition:
    background-color var(--ag-btn-duration, 250ms) ease,
    color var(--ag-btn-duration, 250ms) ease,
    border-color var(--ag-btn-duration, 250ms) ease !important;
}

/* الأيقونات والنصوص تتبع لون التبويب */
button.tab-trigger[data-component-id="product-tabs"] :is(i, span) {
  color: inherit !important;
}

/* التبويب المختار + لحظة الضغط على الجوال */
button.tab-trigger[data-component-id="product-tabs"]:is(
  .is-active,
  [aria-selected="true"],
  :active
) {
  --ag-product-tab-bg: var(--ag-btn-hover-bg, #FFFFFF);
  --ag-product-tab-text: var(--ag-btn-hover-text, #0A0A0A);
  --ag-product-tab-border: var(--ag-btn-hover-border, #FFFFFF);
}

/* الهوفر للأجهزة التي تدعم الماوس */
@media (hover: hover) and (pointer: fine) {
  button.tab-trigger[data-component-id="product-tabs"]
  :is(i, span) {
    color: inherit !important;
  }

  button.tab-trigger[data-component-id="product-tabs"]:not(:disabled):hover {
    --ag-product-tab-bg: var(--ag-btn-hover-bg, #FFFFFF);
    --ag-product-tab-text: var(--ag-btn-hover-text, #0A0A0A);
    --ag-product-tab-border: var(--ag-btn-hover-border, #FFFFFF);
  }
}

/* وضوح التنقل بلوحة المفاتيح */
button.tab-trigger[data-component-id="product-tabs"]:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: -4px !important;
}

@media (prefers-reduced-motion: reduce) {
  button.tab-trigger[data-component-id="product-tabs"] {
    transition: none !important;
  }
}
/* AntiGravity — ألوان مربعات المقاسات */

/* المقاسات المتاحة */
salla-product-options .s-product-options-grid-mode
label input:not(:disabled) + .s-product-options-grid-mode-span {
  background: var(--ag-btn-bg, #0A0A0A) !important;
  color: var(--ag-btn-text, #FFFFFF) !important;
  border-color: var(--ag-btn-border, #0A0A0A) !important;

  transition:
    background-color var(--ag-btn-duration, 250ms) ease,
    color var(--ag-btn-duration, 250ms) ease,
    border-color var(--ag-btn-duration, 250ms) ease !important;
}

/* المقاس المختار — أبيض وحد أسود واضح */
salla-product-options .s-product-options-grid-mode
label input:is([type="radio"], [type="checkbox"]):checked:not(:disabled)
+ .s-product-options-grid-mode-span {
  background: var(--ag-btn-hover-bg, #FFFFFF) !important;
  color: var(--ag-btn-hover-text, #0A0A0A) !important;
  border-color: var(--ag-btn-hover-border, #FFFFFF) !important;
}

/* الهوفر للمقاسات المتاحة فقط */
@media (hover: hover) and (pointer: fine) {
  salla-product-options .s-product-options-grid-mode
  label:hover input:not(:disabled)
  + .s-product-options-grid-mode-span {
    background: var(--ag-btn-hover-bg, #FFFFFF) !important;
    color: var(--ag-btn-hover-text, #0A0A0A) !important;
    border-color: var(--ag-btn-hover-border, #FFFFFF) !important;
  }
}

/* التركيز عند استخدام لوحة المفاتيح */
salla-product-options .s-product-options-grid-mode
label input:focus-visible + .s-product-options-grid-mode-span {
  outline: 2px solid var(--ag-btn-hover-bg, #FFFFFF) !important;
  outline-offset: 3px !important;
}

/* المقاسات غير المتاحة */
salla-product-options .s-product-options-grid-mode
label input:disabled + .s-product-options-grid-mode-span {
  background: var(--ag-btn-disabled-bg, #DEDED8) !important;
  color: var(--ag-btn-disabled-text, #60605A) !important;
  border-color: var(--ag-btn-disabled-border, #DEDED8) !important;
  text-decoration: line-through !important;
  cursor: not-allowed !important;
}

@media (prefers-reduced-motion: reduce) {
  salla-product-options .s-product-options-grid-mode-span {
    transition: none !important;
  }
}
/* AntiGravity — إظهار زر اللغة على الجوال */
@media (max-width: 1023px) {
  header.store-header button.lang[class~="!hidden"] {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px;
    min-height: 40px;
    padding: 4px 6px !important;
    margin-inline-start: 3px;
    border: 1px solid var(--ag-btn-border, #0A0A0A) !important;
    border-radius: 8px;
    background: var(--ag-btn-bg, #0A0A0A) !important;
    color: var(--ag-btn-text, #FFFFFF) !important;
    cursor: pointer;
    transition: background-color 250ms ease,
                color 250ms ease,
                border-color 250ms ease;
  }

  header.store-header button.lang[class~="!hidden"]
  .language-btn > span {
    display: none !important;
  }

  header.store-header button.lang[class~="!hidden"]
  .language-btn::after {
    content: "EN";
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
  }

  html:lang(en) header.store-header
  button.lang[class~="!hidden"] .language-btn::after {
    content: "عربي";
  }

  header.store-header button.lang[class~="!hidden"]:active {
    background: var(--ag-btn-hover-bg, #FFFFFF) !important;
    color: var(--ag-btn-hover-text, #0A0A0A) !important;
    border-color: var(--ag-btn-hover-border, #FFFFFF) !important;
  }

  header.store-header button.lang[class~="!hidden"]:focus-visible {
    outline: 2px solid var(--ag-btn-hover-bg, #FFFFFF);
    outline-offset: 2px;
  }
}

/* ================================================================
   AntiGravity 11-11-2026 | white & black design refinements
   Minimal-diff additions; retain all original header/menu functionality.
   ================================================================ */

/* Slightly compact the fixed navigation. Header height is remeasured by existing JS. */
header.store-header #mainnav .header-inner > .container {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
@media (max-width: 1023px) {
  header.store-header #mainnav .header-inner > .container {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
}

/* Main picture fills the grey framing and slightly crops internal image margins. */
#ag-mega-menu .ag-mm-photo { background: #FFFFFF !important; }
#ag-mega-menu .ag-mm-photo img { object-fit: cover !important; }

/* Remove direct phone contact boxes only; WhatsApp/email continue to work. */
footer.store-footer .s-contacts-list > :is(div, li):has(a[href^="tel:"]),
footer.store-footer .s-contacts-list > :is(div, li):has(a[href^="TEL:"]),
footer.store-footer .s-contacts-list a[href^="tel:"],
footer.store-footer [data-agf-hidden-phone="true"] {
  display: none !important;
}

/* Keep the Saudi Business Center's existing trust badge in the registration/tax card. */
footer.store-footer .footer-vat > .sbc-certificate {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--agf-line);
}

/* Official ZATCA emblem next to the tax number, not as a certification badge. */
footer.store-footer .agf-vat-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--agf-line);
}
footer.store-footer .agf-vat-row > .vat-num {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding-top: 0 !important;
  border-top: none !important;
}
footer.store-footer .agf-zatca-logo {
  display: grid;
  place-items: center;
  flex: 0 0 102px;
  width: 102px;
  min-height: 44px;
  padding: 4px;
  border-radius: 6px;
  background: #FFFFFF;
  overflow: hidden;
}
footer.store-footer .agf-zatca-logo[hidden] { display: none !important; }
footer.store-footer .agf-zatca-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

/* Certificate is relocated into the card, so footer-bottom now has two columns. */
footer.store-footer .footer-bottom {
  grid-template-columns: minmax(0, 1fr) auto;
}
footer.store-footer .footer-bottom .s-payments-list { justify-content: flex-start !important; }
@media (max-width: 1100px) {
  footer.store-footer .footer-bottom .s-payments-list { justify-content: center !important; }
}
@media (max-width: 639px) {
  footer.store-footer .agf-vat-row { flex-wrap: wrap; gap: 10px; }
  footer.store-footer .agf-zatca-logo { flex-basis: 98px; width: 98px; }
}


/* ================================================================
   AntiGravity | Size guide alongside product detail/review tabs
   Original Salla size-chart trigger stays mounted and functional.
   ================================================================ */

/* The Salla trigger remains in the DOM for its existing click handler. */
button[data-ag-size-guide-source="true"],
[data-ag-size-guide-heading="true"] {
  display: none !important;
}

/* Match the existing monochrome product tabs without registering as a tab. */
button.ag-size-guide-tab {
  --ag-guide-bg: var(--ag-btn-bg, #0A0A0A);
  --ag-guide-text: var(--ag-btn-text, #FFFFFF);
  --ag-guide-border: var(--ag-btn-border, #0A0A0A);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 38px;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid var(--ag-guide-border) !important;
  border-radius: 7px;
  background: var(--ag-guide-bg) !important;
  background-image: none !important;
  color: var(--ag-guide-text) !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}
button.ag-size-guide-tab svg {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  stroke: currentColor;
}
@media (hover: hover) and (pointer: fine) {
  button.ag-size-guide-tab:hover {
    --ag-guide-bg: var(--ag-btn-hover-bg, #FFFFFF);
    --ag-guide-text: var(--ag-btn-hover-text, #0A0A0A);
    --ag-guide-border: var(--ag-btn-hover-border, #0A0A0A);
  }
}
button.ag-size-guide-tab:active {
  --ag-guide-bg: var(--ag-btn-hover-bg, #FFFFFF);
  --ag-guide-text: var(--ag-btn-hover-text, #0A0A0A);
  --ag-guide-border: var(--ag-btn-hover-border, #0A0A0A);
}
button.ag-size-guide-tab:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 3px;
}
@media (max-width: 639px) {
  button.ag-size-guide-tab {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 12px;
    gap: 4px;
  }
  button.ag-size-guide-tab svg { width: 13px; height: 13px; flex-basis: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  button.ag-size-guide-tab { transition: none !important; }
}


/* ================================================================
   AntiGravity | Hero Ultimate buttons only — 11 November 2026
   Men: black background / white text / thin white outline.
   Women: white background / black text / thin black outline.
   Hover and press invert each button. Leave dimensions and links as-is.
   Kept scoped to the original hero buttons, including Salla shadow roots.
   ================================================================ */
.btn-ultimate.btn-men[data-ag-ui-button="primary"],
.btn-ultimate.btn-women[data-ag-ui-button="women"] {
  border: 1px solid var(--ag-ui-border) !important;
}
.btn-ultimate.btn-men[data-ag-ui-button="primary"] {
  --ag-ui-bg: #000000 !important;
  --ag-ui-text: #FFFFFF !important;
  --ag-ui-border: #FFFFFF !important;
}
.btn-ultimate.btn-women[data-ag-ui-button="women"] {
  --ag-ui-bg: #FFFFFF !important;
  --ag-ui-text: #000000 !important;
  --ag-ui-border: #000000 !important;
}
@media (hover: hover) and (pointer: fine) {
  .btn-ultimate.btn-men[data-ag-ui-button="primary"]:not(:disabled):not([disabled]):hover {
    --ag-ui-bg: #FFFFFF !important;
    --ag-ui-text: #000000 !important;
    --ag-ui-border: #000000 !important;
  }
  .btn-ultimate.btn-women[data-ag-ui-button="women"]:not(:disabled):not([disabled]):hover {
    --ag-ui-bg: #000000 !important;
    --ag-ui-text: #FFFFFF !important;
    --ag-ui-border: #FFFFFF !important;
  }
}
.btn-ultimate.btn-men[data-ag-ui-button="primary"]:not(:disabled):not([disabled]):active {
  --ag-ui-bg: #FFFFFF !important;
  --ag-ui-text: #000000 !important;
  --ag-ui-border: #000000 !important;
}
.btn-ultimate.btn-women[data-ag-ui-button="women"]:not(:disabled):not([disabled]):active {
  --ag-ui-bg: #000000 !important;
  --ag-ui-text: #FFFFFF !important;
  --ag-ui-border: #FFFFFF !important;
}


/* ================================================================
   AntiGravity | Shop-by-piece / products-tabs buttons | 11 Nov 2026
   Inactive: white / black text. Active: black / white text.
   Hover flips each state. Preserve native tab behavior and dimensions.
   Scope: the existing .tab-btn buttons tagged by the identity script.
   ================================================================ */
.tab-btn[data-ag-ui-button="tab"] {
  --ag-ui-bg: #FFFFFF !important;
  --ag-ui-text: #000000 !important;
  --ag-ui-border: #000000 !important;
}
.tab-btn[data-ag-ui-button="tab"]:is(.active, [aria-selected="true"]) {
  --ag-ui-bg: #000000 !important;
  --ag-ui-text: #FFFFFF !important;
  --ag-ui-border: #000000 !important;
}
@media (hover: hover) and (pointer: fine) {
  .tab-btn[data-ag-ui-button="tab"]:not(.active):not([aria-selected="true"]):hover {
    --ag-ui-bg: #000000 !important;
    --ag-ui-text: #FFFFFF !important;
    --ag-ui-border: #000000 !important;
  }
  .tab-btn[data-ag-ui-button="tab"]:is(.active, [aria-selected="true"]):hover {
    --ag-ui-bg: #FFFFFF !important;
    --ag-ui-text: #000000 !important;
    --ag-ui-border: #000000 !important;
  }
}
.tab-btn[data-ag-ui-button="tab"]:not(.active):not([aria-selected="true"]):active {
  --ag-ui-bg: #000000 !important;
  --ag-ui-text: #FFFFFF !important;
  --ag-ui-border: #000000 !important;
}
.tab-btn[data-ag-ui-button="tab"]:is(.active, [aria-selected="true"]):active {
  --ag-ui-bg: #FFFFFF !important;
  --ag-ui-text: #000000 !important;
  --ag-ui-border: #000000 !important;
}
.tab-btn[data-ag-ui-button="tab"]:focus-visible {
  outline-color: #000000 !important;
}


/* ==============================================================
   AntiGravity | Monochrome hover override | 11 Nov 2026
   Guard against legacy lime hover layers in Mishmar components.
   Hero buttons / tab buttons only; preserve click handlers/layout.
   Keep in both global CSS and JS-injected Shadow DOM stylesheet.
   ============================================================== */
/* Update the native Mishmar hover variables without touching the
   section settings for sizes, spacing, links, or other content. */
.btn-ultimate.btn-men[data-ag-ui-button="primary"] {
  --btn-bg-hover: #FFFFFF !important;
  --btn-text-hover: #000000 !important;
  --btn-border-hover: #000000 !important;
}
.btn-ultimate.btn-women[data-ag-ui-button="women"] {
  --btn-bg-hover: #000000 !important;
  --btn-text-hover: #FFFFFF !important;
  --btn-border-hover: #FFFFFF !important;
}
.tab-btn[data-ag-ui-button="tab"]:not(.active):not([aria-selected="true"]) {
  --btn-bg-hover: #000000 !important;
  --btn-text-hover: #FFFFFF !important;
  --btn-border-hover: #000000 !important;
}
.tab-btn[data-ag-ui-button="tab"]:is(.active, [aria-selected="true"]) {
  --btn-bg-hover: #FFFFFF !important;
  --btn-text-hover: #000000 !important;
  --btn-border-hover: #000000 !important;
}
/* Do not let a leftover theme lime box-shadow/gradient appear on hover.
   The existing --ag-ui-* variables still determine black/white states. */
@media (hover: hover) and (pointer: fine) {
  :is(.btn-ultimate.btn-men[data-ag-ui-button="primary"],
      .btn-ultimate.btn-women[data-ag-ui-button="women"],
      .tab-btn[data-ag-ui-button="tab"]):hover {
    background-color: var(--ag-ui-bg) !important;
    background-image: none !important;
    color: var(--ag-ui-text) !important;
    border-color: var(--ag-ui-border) !important;
    box-shadow: none !important;
    outline-color: var(--ag-ui-border) !important;
  }
  :is(.btn-ultimate.btn-men[data-ag-ui-button="primary"],
      .btn-ultimate.btn-women[data-ag-ui-button="women"],
      .tab-btn[data-ag-ui-button="tab"]):hover::before,
  :is(.btn-ultimate.btn-men[data-ag-ui-button="primary"],
      .btn-ultimate.btn-women[data-ag-ui-button="women"],
      .tab-btn[data-ag-ui-button="tab"]):hover::after {
    background: transparent !important;
    box-shadow: none !important;
  }
}
:is(.btn-ultimate.btn-men[data-ag-ui-button="primary"],
    .btn-ultimate.btn-women[data-ag-ui-button="women"],
    .tab-btn[data-ag-ui-button="tab"]):active {
  background-color: var(--ag-ui-bg) !important;
  background-image: none !important;
  color: var(--ag-ui-text) !important;
  border-color: var(--ag-ui-border) !important;
  box-shadow: none !important;
}
/* Keep tab label and icon synchronized with the monochrome button. */
.tab-btn[data-ag-ui-button="tab"] :is(span, i, svg) {
  color: inherit !important;
}

/* ==============================================================
   AntiGravity | 11 Nov 2026 | precision visual adjustments
   - Order-count word and title underline: black
   - Desktop header: slightly lower profile; mobile unchanged
   - Mega-menu photos: full original image, no flat grey side bars
   ============================================================= */

/* The quantity word may have inline !important; JS handles that
   narrow case within the main document and Mishmar shadow roots. */
span.title-decoration-line,
span.title-decoration-line::before,
span.title-decoration-line::after {
  color: #000000 !important;
  background-color: #000000 !important;
  background-image: none !important;
  border-color: #000000 !important;
}

/* Desktop only; existing scroll/ResizeObserver header logic stays intact. */
@media (min-width: 1024px) {
  header.store-header #mainnav .header-inner > .container {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }
}

/* The full photo is on top; the same photo softly fills any leftover
   side space behind it, instead of cropping the subject or showing grey. */
#ag-mega-menu .ag-mm-photo {
  position: relative;
  isolation: isolate;
  background: #FFFFFF !important;
}
#ag-mega-menu .ag-mm-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--ag-mm-photo-url, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(11px) grayscale(1);
  transform: scale(1.07);
  pointer-events: none;
}
#ag-mega-menu .ag-mm-photo img {
  position: relative;
  z-index: 1;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  background: transparent !important;
}
@media (hover: hover) {
  #ag-mega-menu .ag-mm-photo:hover img {
    transform: none !important;
  }
}