/* Maher fixed header and footer — intentionally loaded after all theme customization. */

/* Branded refresh loader */
.maher-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  background: var(--hkm-bg);
  background: color-mix(in srgb, var(--hkm-bg) 72%, transparent);
  backdrop-filter: blur(15px) saturate(.75);
  -webkit-backdrop-filter: blur(15px) saturate(.75);
  transition: opacity .46s ease, visibility .46s ease;
  animation: maher-loader-failsafe 4s step-end forwards;
}

.maher-page-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--hkm-primary) 13%, transparent), transparent 27%),
    linear-gradient(180deg, color-mix(in srgb, var(--hkm-surface) 48%, transparent), color-mix(in srgb, var(--hkm-bg) 78%, transparent));
}

.maher-page-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.maher-page-loader__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.maher-page-loader__spinner {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: rgba(255, 255, 255, .82);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 18 16;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, .2));
  animation: maher-loader-spin .82s linear infinite;
}

.maher-page-loader__logo {
  display: grid;
  place-items: center;
  animation: maher-loader-logo 1.05s ease-in-out infinite;
}

.maher-page-loader__logo img {
  width: auto;
  max-width: min(290px, 58vw);
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .38));
}

.maher-page-loader__logo strong {
  color: var(--hkm-primary-light);
  font-size: clamp(30px, 8vw, 64px);
}

@keyframes maher-loader-spin { to { transform: rotate(360deg); } }
@keyframes maher-loader-logo {
  0%, 100% { opacity: .58; transform: scale(.965); filter: brightness(.82); }
  46% { opacity: 1; transform: scale(1.025); filter: brightness(1.13); }
  62% { opacity: .72; transform: scale(.99); filter: brightness(.92); }
  78% { opacity: 1; transform: scale(1.01); filter: brightness(1.08); }
}
@keyframes maher-loader-failsafe {
  0%, 99% { visibility: visible; pointer-events: auto; }
  100% { visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .maher-page-loader__logo { animation: none; }
  .maher-page-loader__spinner { animation-duration: 1.5s; }
}

.maher-fixed-header {
  position: sticky !important;
  top: 0;
  z-index: 1900;
  display: block !important;
  color: var(--hkm-text) !important;
  background: var(--hkm-bg) !important;
  background: color-mix(in srgb, var(--hkm-bg) 97%, transparent) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hkm-primary) !important;
  border-bottom-color: color-mix(in srgb, var(--hkm-primary) 18%, transparent) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .24) !important;
  backdrop-filter: blur(18px);
}

.maher-fixed-header::after { display: none !important; }

body.admin-bar .maher-fixed-header { top: 32px !important; }

.maher-fixed-header__row {
  min-height: 108px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center;
  gap: 28px;
}

.maher-fixed-header__primary,
.maher-fixed-header__utilities {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.maher-fixed-header__primary {
  grid-column: 1;
  justify-content: flex-start;
}

.maher-fixed-header__brand {
  grid-column: 2;
  justify-self: center;
}

.maher-fixed-header__utilities {
  grid-column: 3;
  justify-content: flex-end;
}

.maher-fixed-header__brand .custom-logo-link,
.maher-fixed-header__brand > a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.maher-fixed-header__brand .custom-logo,
.maher-fixed-header__brand .hkm-brand__img {
  width: auto !important;
  max-width: 220px !important;
  max-height: 72px !important;
  object-fit: contain;
}

/* أيقونات الهيدر: مجردة بدون مربع أو حدود، على الموبايل والبي سي */
.maher-header-menu,
.maher-header-icon,
.maher-fixed-cart,
.maher-liquid-glass .maher-header-menu,
.maher-liquid-glass .maher-header-icon,
.maher-liquid-glass .maher-fixed-cart {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px !important;
  color: var(--hkm-text) !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.maher-header-menu {
  width: auto !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

.maher-header-menu:hover,
.maher-header-icon:hover,
.maher-fixed-cart:hover {
  color: var(--hkm-primary-light) !important;
  background: none !important;
  transform: none !important;
}

.maher-header-menu svg,
.maher-header-icon svg,
.maher-fixed-cart svg {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.maher-header-menu svg { color: var(--hkm-primary); }

.maher-header-currency {
  color: var(--hkm-muted);
  white-space: nowrap;
  font-size: 14px;
}

.maher-fixed-cart { position: relative; }
.maher-fixed-cart .hkm-cart__total {
  color: var(--hkm-on-primary);
  font-size: 13px;
  white-space: nowrap;
}
.maher-fixed-cart .hkm-cart__count {
  top: 1px;
  right: 0;
  min-width: 20px;
  height: 20px;
  color: var(--hkm-on-danger);
  background: var(--hkm-danger);
  border: 2px solid var(--hkm-bg);
}

.maher-fixed-drawer {
  color: var(--hkm-text);
  background: var(--hkm-surface) !important;
  border-color: var(--hkm-primary) !important;
}

@media (min-width: 901px) { .maher-currency-trigger--drawer { display: none !important; } }

/* الشريط الإعلاني أعلى الهيدر — نص متحرك بسرعة من الإعدادات */
.maher-announce {
  position: relative;
  z-index: 1600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px 0 12px;
  color: var(--hkm-on-primary);
  background: linear-gradient(90deg, var(--hkm-primary-dark), var(--hkm-primary), var(--hkm-primary-dark));
}
.maher-announce[hidden] { display: none !important; }
.maher-announce__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.maher-announce__track {
  display: flex;
  width: max-content;
  animation: maher-announce-roll var(--announce-speed, 26s) linear infinite;
}
.maher-announce:hover .maher-announce__track { animation-play-state: paused; }
.maher-announce__group { display: flex; flex: 0 0 auto; }
.maher-announce__item {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.maher-announce__item::after {
  content: "•";
  margin-inline-start: 26px;
  opacity: .55;
}
@keyframes maher-announce-roll { to { transform: translateX(50%); } }
.maher-announce__close {
  position: absolute;
  inset-inline-start: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: .8;
}
.maher-announce__close:hover { opacity: 1; }
.maher-announce__close svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round;
}
@media (prefers-reduced-motion: reduce) {
  .maher-announce__track { animation: none; }
}

/* لوحة البحث — تفتح من أيقونة البحث في الهيدر */
.maher-search { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: flex-start; justify-content: center; }
.maher-search[hidden] { display: none !important; }
.maher-search__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.maher-search__panel {
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin-top: clamp(70px, 14vh, 150px);
  /* Grid, not a flat flex row: the field and the close button share row 1 and
     the live results take the full width underneath them. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--hkm-surface);
  border: 1px solid color-mix(in srgb, var(--hkm-primary) 34%, transparent);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.maher-search__form { min-width: 0; display: flex; align-items: center; gap: 10px; }
.maher-search__icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--hkm-primary-light); stroke-width: 1.9; stroke-linecap: round; }
.maher-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 4px;
  color: var(--hkm-text);
  background: none;
  border: 0;
  outline: none;
  font-size: 16px;
}
.maher-search__input::placeholder { color: var(--hkm-muted); }
.maher-search__submit {
  flex: 0 0 auto;
  padding: 11px 20px;
  color: var(--hkm-on-primary);
  background: var(--hkm-primary);
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
.maher-search__close {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  padding: 0;
  color: var(--hkm-muted);
  background: none; border: 0; cursor: pointer;
}
.maher-search__close:hover { color: var(--hkm-text); }
.maher-search__close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 600px) {
  .maher-search__panel { padding: 11px; gap: 6px; }
  .maher-search__submit { padding: 10px 14px; font-size: 13px; }
  .maher-search__input { font-size: 16px; }
}

/* زر العملة + نافذة اختيارها */
.maher-currency-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  color: var(--hkm-text);
  background: none;
  border: 1px solid color-mix(in srgb, var(--hkm-primary) 30%, transparent);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.maher-currency-trigger:hover { color: var(--hkm-primary-light); border-color: var(--hkm-primary); }
.maher-currency-trigger svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.maher-currency-trigger--drawer {
  width: 100%;
  justify-content: space-between;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 15px;
}

.maher-currency-modal { position: fixed; inset: 0; z-index: 2200; display: flex; align-items: center; justify-content: center; }
.maher-currency-modal[hidden] { display: none !important; }
.maher-currency-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.maher-currency-modal__panel {
  position: relative;
  width: min(420px, calc(100% - 36px));
  padding: 26px 22px 22px;
  background: var(--hkm-surface);
  border: 1px solid color-mix(in srgb, var(--hkm-primary) 38%, transparent);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  text-align: start;
}
.maher-currency-modal__close {
  position: absolute;
  inset-inline-end: 16px;
  top: 16px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  padding: 0;
  color: var(--hkm-on-danger);
  background: var(--hkm-danger);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}
.maher-currency-modal__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.maher-currency-modal__title { margin: 0 0 18px; padding-inline-end: 44px; color: var(--hkm-text); font-size: 19px; font-weight: 800; }
.maher-currency-modal__form { display: grid; gap: 14px; }
.maher-currency-modal__select {
  width: 100%;
  padding: 14px 16px;
  color: var(--hkm-text);
  background: var(--hkm-surface-2);
  border: 1px solid color-mix(in srgb, var(--hkm-primary) 46%, transparent);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.maher-currency-modal__select:focus-visible { outline: 2px solid var(--hkm-primary); outline-offset: 2px; }
.maher-currency-modal__submit {
  width: 100%;
  padding: 14px 16px;
  color: var(--hkm-on-primary);
  background: linear-gradient(180deg, var(--hkm-primary-light), var(--hkm-primary));
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.maher-currency-modal__submit:hover { filter: brightness(1.05); }

/* لوحة البحث — تفتح من أيقونة البحث في الهيدر */
.maher-search { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: flex-start; justify-content: center; }
.maher-search[hidden] { display: none !important; }
.maher-search__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.maher-search__panel {
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin-top: clamp(70px, 14vh, 150px);
  /* Grid, not a flat flex row: the field and the close button share row 1 and
     the live results take the full width underneath them. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--hkm-surface);
  border: 1px solid color-mix(in srgb, var(--hkm-primary) 34%, transparent);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.maher-search__form { min-width: 0; display: flex; align-items: center; gap: 10px; }
.maher-search__icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--hkm-primary-light); stroke-width: 1.9; stroke-linecap: round; }
.maher-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 4px;
  color: var(--hkm-text);
  background: none;
  border: 0;
  outline: none;
  font-size: 16px;
}
.maher-search__input::placeholder { color: var(--hkm-muted); }
.maher-search__submit {
  flex: 0 0 auto;
  padding: 11px 20px;
  color: var(--hkm-on-primary);
  background: var(--hkm-primary);
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
.maher-search__close {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  padding: 0;
  color: var(--hkm-muted);
  background: none; border: 0; cursor: pointer;
}
.maher-search__close:hover { color: var(--hkm-text); }
.maher-search__close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 600px) {
  .maher-search__panel { padding: 11px; gap: 6px; }
  .maher-search__submit { padding: 10px 14px; font-size: 13px; }
  .maher-search__input { font-size: 16px; }
}

/* محوّل العملات — زر حقيقي في الهيدر وفي القائمة الجانبية */
.maher-currency--drawer .maher-currency__opt { flex: 1 1 auto; justify-content: center; border-radius: 11px; padding: 9px 12px; font-size: 13.5px; }

/* Fixed footer — one DOM, layout re-arranged with grid only */
.maher-fixed-footer {
  position: relative;
  display: block !important;
  padding: 0 0 30px;
  color: var(--hkm-text) !important;
  background: var(--hkm-bg) !important;
  background-image: radial-gradient(circle at 82% 28%, color-mix(in srgb, var(--hkm-primary) 7%, transparent), transparent 32%) !important;
  border: 0 !important;
}

/* الإطار الخارجي: يقفل الفوتر كقطعة واحدة، بأركان سفلية منحنية */
.maher-footer-shell {
  padding: 0 clamp(20px, 4vw, 56px) clamp(24px, 3vw, 34px);
  border: 1px solid var(--hkm-primary) !important;
  border-color: color-mix(in srgb, var(--hkm-primary) 34%, transparent) !important;
  border-top: 0 !important;
  border-radius: 0 0 clamp(24px, 3vw, 38px) clamp(24px, 3vw, 38px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--hkm-surface) 42%, transparent), transparent 55%);
  box-shadow: 0 -1px 0 color-mix(in srgb, var(--hkm-primary) 18%, transparent),
              0 24px 60px -40px color-mix(in srgb, var(--hkm-primary) 45%, transparent);
}

.maher-footer-top {
  display: flex;
  justify-content: center;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--hkm-primary) 14%, transparent);
}

.maher-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hkm-muted) !important;
  font-size: 15px;
}
.maher-back-to-top:hover { color: var(--hkm-primary-light) !important; }

/* الشعار + وصف المتجر: في المنتصف على كل الأجهزة */
.maher-footer-brand {
  padding: clamp(30px, 4vw, 48px) 0 clamp(26px, 3.5vw, 40px);
  text-align: center;
}
.maher-footer-logo .custom-logo-link,
.maher-footer-logo > a { display: inline-flex; justify-content: center; }
.maher-footer-logo .custom-logo,
.maher-footer-logo img {
  width: auto !important;
  max-width: 210px !important;
  max-height: 88px !important;
  object-fit: contain;
}
.maher-footer-brand p {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--hkm-text) !important;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.95;
}

/* شبكة الفوتر: الروابط يمين + تحتها التواصل، وخدمة العملاء في النص */
.maher-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas:
    "links contact"
    "social contact";
  align-items: start;
  gap: clamp(26px, 3.5vw, 48px) clamp(40px, 7vw, 110px);
  max-width: 940px;
  margin-inline: auto;
  padding-bottom: clamp(30px, 4vw, 46px);
}
.maher-footer-links { grid-area: links; }
.maher-footer-contact { grid-area: contact; }
.maher-footer-social { grid-area: social; }
.maher-footer-grid section { min-width: 0; }

.maher-footer-grid h3 {
  margin: 0 0 18px !important;
  color: var(--hkm-primary-light) !important;
  font-size: clamp(17px, 1.4vw, 20px) !important;
  line-height: 1.4;
}
.maher-footer-grid p,
.maher-footer-grid a,
.maher-footer-grid li {
  color: var(--hkm-text) !important;
  font-size: 15px;
  line-height: 1.9;
}

.maher-footer-links .menu { list-style: none; margin: 0; padding: 0; }
.maher-footer-links .menu li { margin: 6px 0; }
.maher-footer-links .menu a:hover { color: var(--hkm-primary-light) !important; }

/* "خدمة العملاء" داخل شريط بحدود بسيطة زي المرجع */
.maher-footer-contact { text-align: center; }
.maher-footer-contact h3 {
  display: block;
  padding: 12px 20px;
  border: 1px solid color-mix(in srgb, var(--hkm-primary) 40%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--hkm-surface-2) 60%, transparent);
}

.maher-footer-social,
.maher-contact-icons,
.maher-payment-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.maher-contact-icons { justify-content: center; flex-wrap: wrap; }
.maher-footer-social { justify-content: flex-start; flex-wrap: wrap; }

.maher-footer-social a,
.maher-contact-icons a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--hkm-text) !important;
  background: var(--hkm-surface-2);
  border: 1px solid var(--hkm-primary);
  border-color: color-mix(in srgb, var(--hkm-primary) 16%, transparent);
  border-radius: 14px;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.maher-footer-social a:hover,
.maher-contact-icons a:hover {
  color: var(--hkm-primary-light) !important;
  border-color: var(--hkm-primary);
  transform: translateY(-2px);
}
.maher-footer-social svg,
.maher-contact-icons svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.maher-footer-contact-text {
  display: block;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

/* السطر السفلي: الحقوق يسار وطرق الدفع يمين */
.maher-footer-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(20px, 2.5vw, 26px);
  border-top: 1px solid color-mix(in srgb, var(--hkm-primary) 14%, transparent);
}
.maher-footer-closing p {
  margin: 0;
  color: var(--hkm-muted) !important;
  font-size: 13px;
}

.maher-payment-badges { flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.maher-payment-badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 10px;
  color: var(--hkm-text);
  background: var(--hkm-surface-2);
  border: 1px solid var(--hkm-border);
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.maher-payment-badges span em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
}
.maher-payment-badges span svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--hkm-primary-light);
}
.maher-payment-badges img {
  width: auto;
  max-width: 62px;
  max-height: 22px;
  margin: 0;
  object-fit: contain;
}

/* Floating contact button: a brand-coloured circle with a chat bubble sitting
   beside it. The bubble is always out — it is the invitation, not a tooltip —
   and it is positioned outside the circle, so the button keeps `overflow`
   visible and the bubble's tail can poke into it. */
.maher-floating-whatsapp {
  position: fixed;
  /* Physical `right`, not a logical property: the button is anchored to the
     bottom-right corner of the viewport in every language. */
  right: 24px;
  bottom: 24px;
  z-index: 1800;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 4px solid color-mix(in srgb, var(--hkm-text) 90%, transparent);
  border-radius: 50%;
  color: var(--hkm-on-primary, #fff) !important;
  background: var(--hkm-primary);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .3);
  text-decoration: none;
  overflow: visible;
  transition: transform .2s ease, filter .2s ease;
}
.maher-floating-whatsapp:hover,
.maher-floating-whatsapp:focus-visible {
  color: var(--hkm-on-primary, #fff) !important;
  transform: translateY(-3px);
  filter: brightness(1.06);
}
.maher-floating-whatsapp:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hkm-primary) 45%, transparent);
  outline-offset: 3px;
}
.maher-floating-whatsapp__icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.maher-floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The bubble. Anchored to the circle's left edge (the inward side at the
   bottom-right corner) so it can never grow off-screen. */
.maher-floating-whatsapp__bubble {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  transform: translateY(-50%);
  padding: 10px 16px;
  border: 1px solid var(--hkm-border);
  border-radius: 14px 14px 3px 14px;
  background: var(--hkm-surface);
  color: var(--hkm-text);
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  animation: hkmWaBubble 3.4s ease-in-out infinite;
}
/* Tail: a rotated square, drawn from the same surface and border so it reads as
   part of the bubble rather than a separate shape. */
.maher-floating-whatsapp__bubble::after {
  position: absolute;
  top: 50%;
  right: -6px;
  width: 11px;
  height: 11px;
  content: '';
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid var(--hkm-border);
  border-right: 1px solid var(--hkm-border);
  background: var(--hkm-surface);
}

@keyframes hkmWaBubble {
  0%, 88%, 100% { transform: translateY(-50%); }
  92%           { transform: translateY(calc(-50% - 4px)); }
  96%           { transform: translateY(-50%); }
}

/* Very small screens: the bubble would crowd the thumb reach, so drop it. */
@media (max-width: 380px) {
  .maher-floating-whatsapp__bubble { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .maher-floating-whatsapp { transition: none; }
  .maher-floating-whatsapp__bubble { animation: none; }
}

/* The shell stays visible on checkout and all WooCommerce endpoints. */
.woocommerce-checkout .maher-fixed-header,
.woocommerce-checkout .maher-fixed-footer { display: block !important; }

@media (max-width: 900px) {
  .maher-header-currency,
  .maher-currency-trigger--header,
  .maher-fixed-cart .hkm-cart__total { display: none !important; }

  .maher-announce__item { padding: 10px 18px; font-size: 12.5px; }
  .maher-announce__item::after { margin-inline-start: 18px; }

  .maher-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px 40px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .maher-fixed-header { top: 46px !important; }
}

@media (max-width: 720px) {
  .maher-fixed-header__row {
    min-height: 112px !important;
    width: calc(100% - 24px) !important;
    grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr) !important;
    gap: 8px;
  }

  .maher-fixed-header__primary,
  .maher-fixed-header__utilities { gap: 2px; }

  .maher-header-menu span { display: none !important; }

  .maher-header-menu,
  .maher-header-icon,
  .maher-fixed-cart {
    min-width: 41px !important;
    min-height: 41px !important;
    padding: 5px !important;
  }

  .maher-header-menu svg,
  .maher-header-icon svg,
  .maher-fixed-cart svg {
    width: 27px;
    height: 27px;
  }

  .maher-fixed-header__brand .custom-logo,
  .maher-fixed-header__brand .hkm-brand__img {
    max-width: 172px !important;
    max-height: 68px !important;
  }

  /* موبايل: كل شيء عمودي ومتمركز — شعار، وصف، روابط، خدمة العملاء، تواصل، دفع، حقوق */
  .maher-footer-shell {
    padding: 0 18px 26px;
    border-radius: 0 0 26px 26px;
  }

  .maher-footer-brand { padding: 30px 0 26px; }
  .maher-footer-logo .custom-logo,
  .maher-footer-logo img { max-width: 200px !important; max-height: 84px !important; }
  .maher-footer-brand p { font-size: 14px; line-height: 1.9; }

  .maher-footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "links"
      "contact"
      "social";
    gap: 34px;
    text-align: center;
    padding-bottom: 30px;
  }

  .maher-footer-grid section { width: 100%; }
  .maher-footer-links .menu { text-align: center; }
  .maher-footer-contact h3 { display: inline-block; }
  .maher-footer-social { justify-content: center; }

  .maher-footer-closing {
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding-top: 24px;
    text-align: center;
  }
  .maher-payment-badges { justify-content: center; }
  .maher-footer-closing p { font-size: 12.5px; }

  .maher-floating-whatsapp {
    right: 16px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }
  .maher-floating-whatsapp__bubble { padding: 9px 13px; font-size: 13.5px; right: calc(100% + 11px); }
}

@media (max-width: 390px) {
  .maher-fixed-header__row {
    width: calc(100% - 14px) !important;
    grid-template-columns: minmax(66px, 1fr) auto minmax(66px, 1fr) !important;
  }
  .maher-fixed-header__brand .custom-logo,
  .maher-fixed-header__brand .hkm-brand__img { max-width: 138px !important; }
  .maher-header-menu,
  .maher-header-icon,
  .maher-fixed-cart { min-width: 36px !important; }
}

/* ---------------------------------------------------------------------
   Live search results
--------------------------------------------------------------------- */
.maher-search__results {
  grid-column: 1 / -1;
  max-height: min(56vh, 460px);
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--hkm-border);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.maher-search__results[hidden] { display: none; }
.maher-search__result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--hkm-text);
  text-decoration: none;
  transition: background .16s ease;
}
.maher-search__result:hover,
.maher-search__result.is-active {
  background: color-mix(in srgb, var(--hkm-primary) 14%, transparent);
  color: var(--hkm-text);
}
.maher-search__thumb {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--hkm-border);
  border-radius: 10px;
  object-fit: cover;
  background: var(--hkm-bg);
}
.maher-search__thumb--blank { display: block; }
.maher-search__meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}
.maher-search__name {
  overflow: hidden;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.maher-search__price { color: var(--hkm-primary-light, var(--hkm-primary)); font-weight: 800; font-size: 13.5px; }
.maher-search__stock { color: var(--hkm-muted); font-size: 12.5px; }
.maher-search__empty {
  margin: 0;
  padding: 14px 10px;
  color: var(--hkm-muted);
  font-size: 14px;
  text-align: center;
}
.maher-search__more {
  display: block;
  margin-top: 6px;
  padding: 11px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--hkm-primary) 12%, transparent);
  color: var(--hkm-primary-light, var(--hkm-primary));
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}
.maher-search__more:hover,
.maher-search__more.is-active { background: color-mix(in srgb, var(--hkm-primary) 22%, transparent); }

@media (max-width: 600px) {
  .maher-search__results { max-height: 52vh; }
  .maher-search__thumb { width: 42px; height: 42px; }
  .maher-search__name { font-size: 14px; }
}
.maher-search__price { display: inline-flex; align-items: center; gap: 7px; }
.maher-search__was { color: var(--hkm-muted); font-weight: 600; font-size: 12.5px; }

/* ---------------------------------------------------------------------
   Shop cards: smaller, and showing the whole product image.
   The image sits in a fixed 4:5 box with `contain`, so tall artwork is
   letterboxed rather than cropped and every card in a row lines up.
--------------------------------------------------------------------- */
.woocommerce ul.products li.product { padding: 11px; border-radius: 14px; }
/* The aspect ratio and object-fit are set by the theme studio's inline CSS
   (printed after this file), so they are deliberately not repeated here. */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  margin-bottom: 9px;
  border-radius: 11px;
  background: var(--hkm-bg);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  line-height: 1.5;
  margin: 0 0 5px;
}
.woocommerce ul.products li.product .price { font-size: 14px; }
.woocommerce ul.products li.product .button { margin-top: 8px; padding: 9px 10px; font-size: 13px; }

@media (min-width: 1200px) {
  .woocommerce ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
}

/* ---------------------------------------------------------------------
   Category landing: one section per sub-category
--------------------------------------------------------------------- */
.hkm-catnav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 26px;
}
.hkm-catnav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--hkm-border);
  border-radius: 999px;
  background: var(--hkm-surface);
  color: var(--hkm-text);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.hkm-catnav__link:hover {
  border-color: var(--hkm-primary);
  color: var(--hkm-primary-light, var(--hkm-primary));
}
.hkm-catnav__count {
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hkm-primary) 16%, transparent);
  color: var(--hkm-primary-light, var(--hkm-primary));
  font-size: 12px;
}

.hkm-catsection { margin-bottom: 38px; }
.hkm-catsection__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.hkm-catsection__title {
  margin: 0;
  color: var(--hkm-text);
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 900;
}
.hkm-catsection__all {
  flex: 0 0 auto;
  color: var(--hkm-primary-light, var(--hkm-primary));
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.hkm-catsection ul.products {
  margin: 0 !important;
  /* auto-fill, not a fixed column count: a sub-category with two products keeps
     cards the same size as a row with six instead of stretching them. */
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}
@media (max-width: 600px) {
  .hkm-catsection ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .hkm-catnav { gap: 7px; margin-bottom: 20px; }
  .hkm-catnav__link { padding: 8px 12px; font-size: 13px; }
  .hkm-catsection { margin-bottom: 28px; }
}

/* ---------------------------------------------------------------------
   Add-to-cart toast
--------------------------------------------------------------------- */
.hkm-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2200;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(520px, calc(100% - 28px));
  padding: 13px 15px;
  border: 1px solid var(--hkm-border);
  border-radius: 16px;
  background: var(--hkm-surface);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .24s ease, transform .24s ease;
}
.hkm-toast[hidden] { display: none; }
.hkm-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.hkm-toast__check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hkm-success, #2fbf71);
  color: var(--hkm-on-success, #fff);
  font-weight: 900;
}
.hkm-toast__body { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.hkm-toast__title { color: var(--hkm-text); font-weight: 800; font-size: 14.5px; }
.hkm-toast__name {
  overflow: hidden;
  color: var(--hkm-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hkm-toast__name:empty { display: none; }
.hkm-toast__cta {
  flex: 0 0 auto;
  margin-inline-start: auto;
  padding: 9px 15px;
  border-radius: 10px;
  background: var(--hkm-primary);
  color: var(--hkm-on-primary, #fff);
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
}
.hkm-toast__close {
  flex: 0 0 auto;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--hkm-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* Clear of the sticky purchase bar on phones. */
@media (max-width: 900px) {
  .hkm-toast { bottom: calc(96px + env(safe-area-inset-bottom)); gap: 10px; padding: 11px 13px; }
  .hkm-toast__title { font-size: 13.5px; }
  .hkm-toast__cta { padding: 8px 12px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hkm-toast { transition: none; }
}

/* ---------------------------------------------------------------------
   Side drawer navigation
--------------------------------------------------------------------- */
.hkm-drawer__nav { margin-top: 6px; }
.hkm-drawer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hkm-drawer__menu--links { margin-top: 10px; border-top: 1px solid var(--hkm-border); }
.hkm-drawer__item { margin: 0; }

.hkm-drawer__row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--hkm-border);
}
.hkm-drawer__link {
  flex: 1 1 auto;
  min-width: 0;
  padding: 15px 4px;
  color: var(--hkm-text);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.5;
  text-decoration: none;
}
.hkm-drawer__link:hover { color: var(--hkm-primary-light, var(--hkm-primary)); }
.hkm-drawer__count {
  flex: 0 0 auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hkm-primary) 15%, transparent);
  color: var(--hkm-primary-light, var(--hkm-primary));
  font-size: 12px;
}

.hkm-drawer__toggle {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--hkm-muted);
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}
.hkm-drawer__toggle:hover {
  background: color-mix(in srgb, var(--hkm-primary) 12%, transparent);
  color: var(--hkm-primary-light, var(--hkm-primary));
}
.hkm-drawer__toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* The chevron points into the page (left in RTL, right in LTR) when closed,
     and downwards once the branch is open. */
  transform: rotate(180deg);
  transition: transform .25s ease;
}
.hkm-drawer__item.is-open > .hkm-drawer__row .hkm-drawer__toggle svg { transform: rotate(270deg); }
.hkm-drawer__item.is-open > .hkm-drawer__row .hkm-drawer__toggle { color: var(--hkm-primary-light, var(--hkm-primary)); }

/* Sub-items: collapsed by default, opened by the row's expander. */
.hkm-drawer__sub {
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .22s ease;
}
.hkm-drawer__item.is-open > .hkm-drawer__sub {
  max-height: 1200px;
  opacity: 1;
}
.hkm-drawer__sub .hkm-drawer__link {
  padding: 12px 4px;
  color: var(--hkm-text-secondary, var(--hkm-muted));
  font-weight: 600;
  font-size: 14.5px;
}
.hkm-drawer__sub .hkm-drawer__link:hover { color: var(--hkm-primary-light, var(--hkm-primary)); }
.hkm-drawer__sub .hkm-drawer__row { border-bottom-style: dashed; }
.hkm-drawer__sub > .hkm-drawer__item:last-child > .hkm-drawer__row { border-bottom: 0; }

[dir="ltr"] .hkm-drawer__toggle svg { transform: rotate(0deg); }
[dir="ltr"] .hkm-drawer__item.is-open > .hkm-drawer__row .hkm-drawer__toggle svg { transform: rotate(90deg); }
[dir="ltr"] .hkm-drawer__sub { padding: 0 0 0 14px; }

@media (prefers-reduced-motion: reduce) {
  .hkm-drawer__sub,
  .hkm-drawer__toggle svg { transition: none; }
}

/* === SND PAY IMG :: start === */
.maher-footer-closing .maher-payment-badges--img{display:flex;justify-content:center;gap:0;flex-wrap:nowrap;flex:0 1 440px;min-width:0}
.maher-footer-closing .maher-payment-badges--img .snd-pay-img{display:block;width:440px;max-width:100%;height:auto !important;max-height:none !important;object-fit:contain;border:0;background:none;box-shadow:none}
@media (max-width:600px){.maher-footer-closing .maher-payment-badges--img{flex:1 1 100%;width:100%}.maher-footer-closing .maher-payment-badges--img .snd-pay-img{width:100%;max-width:400px}}
/* === SND PAY IMG :: end === */

/* === SND HEADER CLOUD :: start === */
@keyframes sndHeaderBreath{0%,100%{opacity:.45;transform:scaleX(.82)}50%{opacity:1;transform:scaleX(1)}}
html body header.maher-fixed-header.hkm-header{background:radial-gradient(circle at 50% -40%,rgba(245,223,112,.18),transparent 58%),linear-gradient(180deg,#17130b 0%,#0a0908 100%) !important;border-bottom:1px solid rgba(212,175,55,.2) !important;border-radius:0 0 20px 20px !important;box-shadow:0 10px 30px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.05) !important}
html body header.maher-fixed-header.hkm-header::after{content:"" !important;display:block !important;position:absolute !important;left:8%;right:8%;bottom:-1px;top:auto;height:1.5px;background:linear-gradient(90deg,transparent,#8a6a1f 18%,#f5df70 38%,#f5df70 62%,#8a6a1f 82%,transparent);box-shadow:0 0 12px rgba(245,223,112,.35),0 0 26px rgba(245,223,112,.18);animation:sndHeaderBreath 4s ease-in-out infinite;pointer-events:none}
html body header.maher-fixed-header.hkm-header .maher-fixed-header__row{min-height:80px !important;height:80px}
html body header.maher-fixed-header.hkm-header .maher-fixed-header__primary,html body header.maher-fixed-header.hkm-header .maher-fixed-header__utilities{gap:4px !important}
html body header.maher-fixed-header.hkm-header .maher-fixed-header__utilities > :not(.maher-header-icon):not(.hkm-cart){display:none !important}
html body header.maher-fixed-header.hkm-header .hkm-cart__total{display:none !important}
html body header.maher-fixed-header.hkm-header .maher-fixed-header__brand img.custom-logo{height:56px !important;max-height:56px !important;width:auto !important;max-width:101px !important;object-fit:contain;filter:drop-shadow(0 0 12px rgba(245,223,112,.25))}
html body header.maher-fixed-header.hkm-header .maher-fixed-header__brand a{height:auto !important}
html body header.maher-fixed-header.hkm-header .maher-header-icon,html body header.maher-fixed-header.hkm-header .hkm-cart{width:32px !important;min-width:32px !important;height:32px !important;padding:0 !important;display:inline-flex !important;align-items:center;justify-content:center;background:none !important;border:0 !important;box-shadow:none !important;position:relative}
html body header.maher-fixed-header.hkm-header .maher-header-menu{height:32px !important;padding:0 !important;gap:6px !important;background:none !important;border:0 !important;box-shadow:none !important;color:#e6c15a !important}
html body header.maher-fixed-header.hkm-header .maher-header-menu span{font-size:20px !important;font-weight:600 !important;color:#fff !important}
html body header.maher-fixed-header.hkm-header .maher-header-icon svg,html body header.maher-fixed-header.hkm-header .hkm-cart svg,html body header.maher-fixed-header.hkm-header .maher-header-menu svg{width:22px !important;height:22px !important;fill:none !important;stroke:currentColor !important;stroke-width:1.6 !important;stroke-linecap:round;stroke-linejoin:round;transition:filter .25s ease,transform .25s ease}
html body header.maher-fixed-header.hkm-header .maher-header-menu,html body header.maher-fixed-header.hkm-header .maher-header-icon{color:#e6c15a !important}
html body header.maher-fixed-header.hkm-header .maher-header-menu svg,html body header.maher-fixed-header.hkm-header .maher-header-icon svg{filter:drop-shadow(0 0 6px rgba(230,193,90,.45))}
html body header.maher-fixed-header.hkm-header .hkm-cart{color:#fff !important}
html body header.maher-fixed-header.hkm-header .hkm-cart svg{filter:drop-shadow(0 0 5px rgba(245,223,112,.3))}
html body header.maher-fixed-header.hkm-header .maher-header-icon:hover svg,html body header.maher-fixed-header.hkm-header .hkm-cart:hover svg,html body header.maher-fixed-header.hkm-header .maher-header-menu:hover svg{transform:translateY(-1px);filter:drop-shadow(0 0 10px rgba(245,223,112,.7))}
html body header.maher-fixed-header.hkm-header .hkm-cart__count{position:absolute !important;top:-3px !important;right:-3px !important;left:auto !important;width:14px !important;height:14px !important;min-width:14px !important;padding:0 !important;border-radius:50% !important;display:grid !important;place-items:center;font-size:9px !important;font-weight:800;line-height:1 !important;color:#1a1407 !important;background:#f0cf66 !important;border:0 !important;box-shadow:0 0 8px rgba(245,223,112,.55) !important}
@media (max-width:900px){
  html body header.maher-fixed-header.hkm-header::after{left:30px;right:30px}
  html body header.maher-fixed-header.hkm-header .maher-fixed-header__row{padding-inline:10px !important}
  html body header.maher-fixed-header.hkm-header .maher-header-menu{width:22px !important;min-width:22px !important}
  html body header.maher-fixed-header.hkm-header .maher-header-menu span{display:none !important}
}
@media (prefers-reduced-motion:reduce){html body header.maher-fixed-header.hkm-header::after{animation:none;opacity:.8}}
/* === SND HEADER CLOUD :: end === */

/* === SND ANNOUNCE SLIM :: start === */
html body .maher-announce,html body .maher-announce .maher-announce__viewport,html body .maher-announce .maher-announce__track,html body .maher-announce .maher-announce__group{height:auto !important;min-height:0 !important}
html body .maher-announce{padding:0 34px 0 12px !important}
html body .maher-announce .maher-announce__item{padding:5px 20px !important;font-size:12.5px !important;line-height:20px !important}
html body .maher-announce .maher-announce__close{width:22px !important;height:22px !important;min-width:22px !important}
html body .maher-announce .maher-announce__close svg{width:13px !important;height:13px !important}
@media (max-width:600px){
  html body .maher-announce{padding:0 30px 0 8px !important}
  html body .maher-announce .maher-announce__item{padding:4px 14px !important;font-size:12px !important;line-height:18px !important}
}
/* === SND ANNOUNCE SLIM :: end === */

/* === SND ANNOUNCE STICKY :: start === */
html body{--snd-ann-h:30px;--snd-bar-h:0px}
html body.admin-bar{--snd-bar-h:32px}
@media (max-width:782px){html body.admin-bar{--snd-bar-h:46px}}
@media (max-width:600px){html body{--snd-ann-h:26px}html body.admin-bar{--snd-bar-h:0px}}
html body > .maher-announce{position:sticky !important;top:var(--snd-bar-h) !important;z-index:1901 !important}
html body:has(> .maher-announce:not([hidden])) > header.maher-fixed-header.hkm-header{top:calc(var(--snd-bar-h) + var(--snd-ann-h)) !important}
/* === SND ANNOUNCE STICKY :: end === */

/* === SND FOOTER CLOUD :: start === */
/* فوتر بترتيب كلاود بالدهبي: قوس منوّر فوق + خط نيون، زر «العودة إلى أعلى» كبسولة، اللوجو والوصف في النص،
   عناوين بنقطة منوّرة وخط تحتها، الروابط تحت بعض، وتحت خالص طرق الدفع والحقوق بعد خط رفيع. */
@keyframes sndFootNeon{0%,100%{opacity:.55}50%{opacity:1}}
html body footer.hkm-footer.maher-fixed-footer{position:relative !important;overflow:hidden !important;margin-top:14px !important;background:#0a0a0c !important;isolation:isolate}
html body footer.hkm-footer.maher-fixed-footer::before{content:"";position:absolute;top:0;left:50%;width:max(600px,160%);height:220px;translate:-50% 0;border-top:1px solid rgba(245,223,112,.5);border-radius:50%;box-shadow:inset 0 30px 60px -30px rgba(212,175,55,.3);-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent);mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent);pointer-events:none;z-index:0}
html body footer.hkm-footer.maher-fixed-footer::after{content:"";position:absolute;top:0;left:6%;right:6%;height:1.5px;background:linear-gradient(90deg,transparent,#6b5418 18%,#d4af37 38%,#fff3c4 50%,#d4af37 62%,#6b5418 82%,transparent);box-shadow:0 0 10px rgba(245,223,112,.55),0 0 24px rgba(212,175,55,.3);animation:sndFootNeon 4s ease-in-out infinite;pointer-events:none;z-index:0}
html body footer.hkm-footer.maher-fixed-footer .hkm-container{position:relative;z-index:1}
html body footer.hkm-footer.maher-fixed-footer .hkm-container::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 100%,transparent 0 7px,rgba(212,175,55,.1) 7.5px 8.3px,transparent 8.8px) 0 0/28px 14px;opacity:.45;-webkit-mask-image:linear-gradient(to top,#000,transparent 70%);mask-image:linear-gradient(to top,#000,transparent 70%);pointer-events:none;z-index:-1}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-shell{background:none !important;box-shadow:none !important;border:0 !important;border-radius:0 !important;padding:10px 0 0 !important;max-width:none !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-top{display:flex !important;flex-direction:column;align-items:center;padding:0 !important;margin:0 !important;border:0 !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-top::after{content:"";display:block;align-self:stretch;height:65px;border-bottom:1px solid rgba(212,175,55,.08)}
html body footer.hkm-footer.maher-fixed-footer .maher-back-to-top{display:inline-flex !important;align-items:center;gap:6px;height:40px;padding:6px 16px !important;border:1px solid rgba(212,175,55,.25) !important;border-radius:999px !important;background:rgba(10,10,12,.6) !important;color:#e6c15a !important;font-size:15px !important;font-weight:400 !important;text-decoration:none !important}
html body footer.hkm-footer.maher-fixed-footer .maher-back-to-top span{font-size:15px;line-height:1;color:inherit}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-brand{display:flex !important;flex-direction:column;align-items:center;padding:32px 0 0 !important;margin:0 !important;text-align:center !important;border:0 !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-logo{display:flex !important;justify-content:center;margin:0 0 8px !important;padding:0 !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-logo img{width:auto !important;height:72px !important;max-width:160px}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-brand p{max-width:384px !important;margin:0 auto !important;padding:0 12px !important;color:#fff !important;font-size:15px !important;line-height:1.6 !important;text-align:center !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-grid{display:flex !important;flex-direction:column !important;align-items:center !important;gap:26px !important;padding:26px 0 32px !important;margin:0 !important;border:0 !important;grid-template-columns:none !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-grid > section{display:flex !important;flex-direction:column;align-items:center;width:auto !important;min-width:212px;padding:0 !important;margin:0 !important;background:none !important;border:0 !important;text-align:center !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-grid h3{display:block !important;width:auto !important;margin:0 0 12px !important;padding:0 0 16px !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;color:#e6c15a !important;font-size:18px !important;font-weight:700 !important;line-height:1.55 !important;text-align:center !important;background:radial-gradient(circle,#fff6d6 0 2px,rgba(212,175,55,.5) 2.6px,transparent 6px) 50% 100%/12px 10px no-repeat,linear-gradient(90deg,transparent,rgba(245,223,112,.6),transparent) 50% calc(100% - 5px)/120px 1px no-repeat !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-grid h3::before,html body footer.hkm-footer.maher-fixed-footer .maher-footer-grid h3::after{display:none !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-links ul{display:flex !important;flex-direction:column;align-items:center;gap:13px;margin:0 !important;padding:0 !important;list-style:none !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-links li{margin:0 !important;padding:0 !important;line-height:1}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-links li::before,html body footer.hkm-footer.maher-fixed-footer .maher-footer-links a::before{display:none !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-links a{display:block;padding:0 !important;color:#fff !important;font-size:14px !important;line-height:1.1 !important;text-decoration:none !important;transition:color .2s ease}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-links a:hover,html body footer.hkm-footer.maher-fixed-footer .maher-footer-contact-text:hover{color:#f5df70 !important}
html body footer.hkm-footer.maher-fixed-footer .maher-contact-icons{display:flex !important;justify-content:center !important;gap:10px !important;margin:0 0 10px !important}
html body footer.hkm-footer.maher-fixed-footer .maher-contact-icons a{width:44px !important;height:44px !important;border-radius:999px !important;border:1px solid rgba(212,175,55,.25) !important;background:rgba(10,10,12,.6) !important;color:#e6c15a !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-contact-text{display:none !important}
html body footer.hkm-footer.maher-fixed-footer .maher-contact-icons{margin:0 !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-closing{display:flex !important;flex-direction:row !important;flex-wrap:wrap;align-items:center !important;justify-content:space-between !important;gap:16px !important;margin:0 !important;padding:16px 0 !important;border:0 !important;border-top:1px solid rgba(212,175,55,.1) !important}
html body footer.hkm-footer.maher-fixed-footer .maher-footer-closing > p{margin:0 !important;color:#fff !important;opacity:.75;font-size:14px !important}
html body footer.hkm-footer.maher-fixed-footer .maher-payment-badges--img img{display:block;width:auto !important;max-width:100% !important;height:30px !important}
@media (max-width:767px){
  html body footer.hkm-footer.maher-fixed-footer .maher-footer-shell{padding:10px 10px 0 !important}
  html body footer.hkm-footer.maher-fixed-footer .maher-footer-closing{flex-direction:column !important;justify-content:center !important;text-align:center}
  html body footer.hkm-footer.maher-fixed-footer .maher-payment-badges--img{max-width:100%}
  html body footer.hkm-footer.maher-fixed-footer .maher-payment-badges--img img{height:auto !important;width:100% !important;max-width:340px !important;margin:0 auto}
}
@media (prefers-reduced-motion:reduce){html body footer.hkm-footer.maher-fixed-footer::after{animation:none}}
/* === SND FOOTER CLOUD :: end === */

/* === SND WHATSAPP FLOAT :: start === */
/* زر واتساب العايم: دايرة دهبي بنبض خفيف، بيطلع فوق أي بار ثابت تحت الشاشة (بار صفحة المنتج وبار السلة)
   عن طريق --snd-wa-offset اللي بيحسبه theme.js. مخفي في صفحة الدفع (body.snd-co). */
@keyframes sndWaPulse{0%{transform:scale(1);opacity:.55}70%{transform:scale(1.55);opacity:0}100%{transform:scale(1.55);opacity:0}}
html body a.maher-floating-whatsapp{position:fixed !important;top:auto !important;left:auto !important;right:18px !important;bottom:calc(var(--snd-wa-offset,0px) + 18px + env(safe-area-inset-bottom)) !important;z-index:9000 !important;display:grid !important;place-items:center;width:58px !important;height:58px !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:50% !important;background:none !important;box-shadow:none !important;overflow:visible !important;transform:none;filter:none !important;transition:bottom .25s ease,transform .2s ease}
html body a.maher-floating-whatsapp::before{content:"";position:absolute;inset:0;border-radius:50%;background:rgba(212,175,55,.45);animation:sndWaPulse 2.6s ease-out infinite;pointer-events:none}
html body a.maher-floating-whatsapp .maher-floating-whatsapp__icon{position:relative;display:grid !important;place-items:center;width:58px !important;height:58px !important;margin:0 !important;border:2px solid rgba(255,255,255,.28) !important;border-radius:50% !important;background:linear-gradient(150deg,#f7e3a1,#e0b84a 48%,#b8871f) !important;color:#1a1407 !important;box-shadow:0 10px 26px rgba(0,0,0,.45) !important}
html body a.maher-floating-whatsapp .maher-floating-whatsapp__icon svg{width:30px !important;height:30px !important}
html body a.maher-floating-whatsapp:hover{transform:translateY(-3px)}
html body a.maher-floating-whatsapp .maher-floating-whatsapp__bubble{position:absolute !important;top:50% !important;right:70px !important;left:auto !important;bottom:auto !important;translate:0 -50%;margin:0 !important;padding:8px 14px !important;border:1px solid rgba(212,175,55,.35) !important;border-radius:999px !important;background:#15130e !important;color:#f5df70 !important;font-size:13px !important;font-weight:700 !important;line-height:1.2 !important;white-space:nowrap;box-shadow:0 6px 18px rgba(0,0,0,.35) !important;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
html body a.maher-floating-whatsapp .maher-floating-whatsapp__bubble::before,html body a.maher-floating-whatsapp .maher-floating-whatsapp__bubble::after{display:none !important}
@media (hover:hover) and (min-width:901px){html body a.maher-floating-whatsapp:hover .maher-floating-whatsapp__bubble,html body a.maher-floating-whatsapp:focus-visible .maher-floating-whatsapp__bubble{opacity:1;visibility:visible}}
@media (max-width:900px){html body a.maher-floating-whatsapp{right:14px !important;width:52px !important;height:52px !important}html body a.maher-floating-whatsapp .maher-floating-whatsapp__icon{width:52px !important;height:52px !important}html body a.maher-floating-whatsapp .maher-floating-whatsapp__icon svg{width:27px !important;height:27px !important}html body a.maher-floating-whatsapp .maher-floating-whatsapp__bubble{display:none !important}}
@media (prefers-reduced-motion:reduce){html body a.maher-floating-whatsapp::before{animation:none;opacity:0}}
html body.snd-co a.maher-floating-whatsapp{display:none !important}
/* لوجو واتساب الرسمي: دايرة خضرا وعلامة واتساب بيضا بدل الأيقونة القديمة. */
html body a.maher-floating-whatsapp::before{background:rgba(37,211,102,.45) !important}
html body a.maher-floating-whatsapp .maher-floating-whatsapp__icon{background:#25D366 !important;color:#ffffff !important;border-color:rgba(255,255,255,.35) !important}
html body a.maher-floating-whatsapp .maher-floating-whatsapp__icon svg{display:none !important}
html body a.maher-floating-whatsapp .maher-floating-whatsapp__icon::after{content:"";width:31px;height:31px;background:#ffffff;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.871.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%200%201-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%200%201-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%200%201%202.893%206.994c-.003%205.45-4.437%209.884-9.885%209.884m8.413-18.297A11.815%2011.815%200%200%200%2012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.142%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%200%200%205.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%200%200-3.48-8.413Z%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.871.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%200%201-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%200%201-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%200%201%202.893%206.994c-.003%205.45-4.437%209.884-9.885%209.884m8.413-18.297A11.815%2011.815%200%200%200%2012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.142%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%200%200%205.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%200%200-3.48-8.413Z%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
@media (max-width:900px){html body a.maher-floating-whatsapp .maher-floating-whatsapp__icon::after{width:28px;height:28px}}
/* === SND WHATSAPP FLOAT :: end === */
