/* Idehal Pro header (Figma node 1:7372) — staging preview */

.header-pro {
  --hp-primary: #0056cc;
  --hp-primary-deep: #0048aa;
  --hp-on-surface: #2a2d33;
  --hp-muted: #aaabad;
  --hp-outline: #d4d5d6;
  --hp-outline-soft: #f4f4f5;
  --hp-promo: #ffd043;
  --hp-error: #ff3333;
  --hp-radius-input: 16px;
  --hp-nav-icon-gap: 4px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  /* Replace removed yellow promo with top breathing room */
  padding-top: 32px;
  /* Keep sticky header from collapsing under legacy .nav.fixed transforms */
  box-shadow: none;
}

/* Kill legacy scroll-fixed behavior on the inner top bar */
.header-pro .nav.fixed,
.header-pro .nav.main-nav.fixed,
.header-pro .nav.fixed.anim {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  width: auto !important;
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Kill legacy scroll-up fixed nav row — keeps HeaderPro layout stable */
.header-pro .menu.nav-list-fix,
.header-pro .menu.fade-in-down,
.header-pro .menu.fade-in-up {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  width: auto !important;
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: auto !important;
}

body.scroll-up .header-pro,
body.scroll-down .header-pro {
  position: sticky !important;
  top: 0 !important;
  transform: none !important;
}

/* Promo strip — Figma 889:8846 / promotion 373:4919 (height 48, #FFD043) */
/* Hidden for now (product request). */
.header-pro .hp-promo {
  display: none !important;
}

.header-pro .hp-promo-legacy {
  position: relative;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  align-self: stretch;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: #ffd043;
  overflow: hidden;
  direction: ltr;
}

.header-pro .hp-promo--mobile {
  display: none;
}

/* Pixel-perfect banner art from Figma (1450×48) — patterns + pill + badge */
.header-pro .hp-promo__strip {
  position: relative;
  z-index: 1;
  display: block;
  width: 1450px;
  max-width: none;
  height: 48px;
  flex-shrink: 0;
  object-fit: fill;
  object-position: center center;
  pointer-events: none;
}

.header-pro .hp-promo__strip-mobile {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 402px;
  height: 48px;
  margin-inline: auto;
  object-fit: fill;
  object-position: center center;
  pointer-events: none;
}

.header-pro .hp-promo__pill {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: none;
  padding: 4px 12px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  direction: rtl;
  gap: 0;
}

.header-pro .hp-promo__pill-text {
  color: #030d04;
  font-family: "Yekan Bakh FaNum", "Yekan Bakh", IRANYekan, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.header-pro .hp-promo__pill-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 19px;
  flex-shrink: 0;
  color: #ff0000;
  font-family: "Yekan Bakh FaNum", "Yekan Bakh", IRANYekan, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -2.24px;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .header-pro {
    gap: 0;
  }

  .header-pro .hp-promo--desktop {
    display: none;
  }

  .header-pro .hp-promo--mobile {
    display: flex;
    width: 100%;
    height: 48px;
    background: #ffd043;
  }

  .header-pro .hp-main {
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  .header-pro .hp-top-bar {
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start !important;
    direction: ltr;
  }

  .header-pro .hp-mobile {
    order: 0;
    width: 100%;
    display: flex !important;
  }

  .header-pro .hp-main .nav.main-nav {
    height: auto !important;
    min-height: 0 !important;
    background: #fff;
    overflow: visible;
  }

  .header-pro .hp-main .nav.main-nav .container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Mobile header stack — Figma 1003:14943 + 1003:15030 */
  .header-pro .hp-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: #fff;
    visibility: visible;
    opacity: 1;
  }

  .header-pro .hp-mobile__bar {
    box-sizing: border-box;
    position: relative;
    display: flex !important;
    width: 100%;
    height: 55px;
    min-height: 55px;
    justify-content: center;
    align-items: center;
    gap: 75px;
    flex-shrink: 0;
    background: var(--Primary-Container, #f4f9ff);
    direction: ltr;
    padding: 0 12px;
    visibility: visible;
  }

  .header-pro .hp-mobile__search {
    box-sizing: border-box;
    display: flex !important;
    width: 100%;
    padding: 8px 12px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    align-self: stretch;
    background: #fff;
    position: relative;
    z-index: 20;
    visibility: visible;
  }

  /* Figma 1003:14944 — support row */
  .header-pro .hp-mobile__support {
    display: flex;
    width: 138px;
    height: 40px;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    direction: ltr;
  }

  /* Figma 1003:14945 — icon chip (8px pad → 24px glyph = 40×40) */
  .header-pro .hp-mobile__support-icon {
    box-sizing: border-box;
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 8px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid var(--outline-variant, #f4f4f5);
    background: #fff;
  }

  /* Figma 1003:14946 */
  .header-pro .hp-mobile__support-icon img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
  }

  /* Figma 1003:14947 */
  .header-pro .hp-mobile__support-text {
    display: flex;
    width: 91px;
    height: 39px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    text-align: right;
    direction: rtl;
  }

  /* Figma 1003:14948 — ۰۲۱۸ + ۱۰۱۰ */
  .header-pro .hp-mobile__support-num {
    display: block;
    box-sizing: border-box;
    width: 59px;
    max-width: 59px;
    height: 17px;
    flex-shrink: 0;
    overflow: visible;
    color: var(--On-Surface, #2a2d33);
    font-feature-settings: "liga" off, "clig" off;
    font-family: "Yekan Bakh FaNum", iranyekanfa, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 17px;
    text-align: right;
    text-transform: capitalize;
    white-space: nowrap;
    letter-spacing: 0;
  }

  .header-pro .hp-mobile__support-num span {
    color: #0048aa;
    font-feature-settings: "liga" off, "clig" off;
    font-family: "Yekan Bakh FaNum", iranyekanfa, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 17px;
    text-transform: capitalize;
    letter-spacing: 0;
  }

  /* Figma 1003:14949 */
  .header-pro .hp-mobile__support-label {
    display: flex;
    box-sizing: border-box;
    width: 91px;
    height: 20px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    align-items: flex-end;
    overflow: visible;
    color: var(--On-Surface-Variant-4, #aaabad);
    font-feature-settings: "liga" off, "clig" off;
    font-family: "Yekan Bakh FaNum", iranyekanfa, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
    text-transform: capitalize;
    white-space: nowrap;
    letter-spacing: 0;
  }

  .header-pro .hp-mobile__logo {
    display: block;
    width: 124px;
    height: 40px;
    flex-shrink: 0;
    aspect-ratio: 31 / 10;
    overflow: hidden;
  }

  .header-pro .hp-mobile__logo img {
    display: block;
    width: 124px;
    height: 40px;
    object-fit: contain;
  }

  .header-pro .hp-mobile__search-shell {
    position: relative;
    width: 100%;
  }

  .header-pro .hp-mobile__search-field {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--outline, #d4d5d6);
    background: #fff;
    overflow: visible;
    /* LTR: search icon on the left, placeholder text on the right (Figma 1003:15031) */
    direction: ltr;
  }

  .header-pro .hp-mobile__search-icon {
    display: inline-flex;
    order: 1;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
  }

  .header-pro .hp-mobile__search-icon img {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .header-pro .hp-mobile__search-input {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--On-Surface, #2a2d33);
    font-family: "Yekan Bakh FaNum", "Yekan Bakh", IRANYekan, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    direction: rtl;
    outline: none;
    box-shadow: none;
  }

  .header-pro .hp-mobile__search-input::placeholder {
    color: var(--On-Surface-Variant-5, #55575c);
    opacity: 1;
  }

  .header-pro #mobile-search-suggest.search-suggest-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(70vh, 420px);
    z-index: 40;
    background: #fff;
    border: 1px solid var(--outline, #d4d5d6);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(42, 45, 51, 0.12);
    overflow: auto;
    direction: rtl;
    text-align: right;
  }

  @media (max-width: 400px) {
    .header-pro .hp-mobile__bar {
      gap: 24px;
      padding: 0 8px;
    }
  }
}

/* Mobile bottom nav — Figma 429:7110 (outside sticky header so position:fixed sticks to viewport) */
.hp-mobile-nav {
  display: none;
}

@media (max-width: 991.98px) {
  .header-pro .responsive-menu {
    display: none !important;
  }

  .hp-mobile-nav {
    box-sizing: border-box;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10060;
    display: flex;
    width: 100%;
    max-width: 100vw;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--Neutral-100, #f4f4f5);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    direction: ltr;
  }

  /* 429:7111 / 429:7114 — 64×48 */
  .hp-mobile-nav__item {
    box-sizing: border-box;
    display: flex;
    width: 64px;
    height: 48px;
    padding: 0 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 1000px;
    text-decoration: none;
    color: var(--On-Surface-Variant-5, #55575c);
    position: relative;
  }

  /* 429:7117 / 429:7120 — width 64, height from content */
  .hp-mobile-nav__item--home,
  .hp-mobile-nav__item--menu {
    height: auto;
  }

  .hp-mobile-nav__item--active {
    color: var(--Primary, #0056cc) !important;
  }

  .hp-mobile-nav__item--active .hp-mobile-nav__label {
    color: var(--Primary, #0056cc) !important;
  }

  .hp-mobile-nav__item--active .hp-mobile-nav__icon {
    color: var(--Primary, #0056cc);
  }

  .hp-mobile-nav__item--active .hp-mobile-nav__icon img {
    /* Recolor #55575C glyphs → primary blue #0056CC */
    filter: brightness(0) saturate(100%) invert(24%) sepia(90%) saturate(2140%) hue-rotate(201deg) brightness(94%) contrast(101%);
  }

  .hp-mobile-nav__item--active .hp-mobile-nav__icon--cart .hp-cart-badge,
  .hp-mobile-nav__item--active .hp-mobile-nav__icon--cart .hint {
    filter: none;
  }

  /* 429:7112 / 429:7115 — 20×20 */
  .hp-mobile-nav__icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    color: inherit;
  }

  /* 429:7118 — 24×24 */
  .hp-mobile-nav__icon--home {
    width: 24px;
    height: 24px;
  }

  /* 429:7121 — 16×16 (glyph); keep 24 frame to match Figma icon slot */
  .hp-mobile-nav__icon--menu {
    width: 24px;
    height: 24px;
  }

  .hp-mobile-nav__icon img {
    display: block;
    flex-shrink: 0;
    object-fit: contain;
  }

  .hp-mobile-nav__icon--home img {
    width: 24px;
    height: 24px;
  }

  .hp-mobile-nav__icon--menu img {
    width: 16px;
    height: 16px;
  }

  .hp-mobile-nav__icon:not(.hp-mobile-nav__icon--home):not(.hp-mobile-nav__icon--menu) img {
    width: 20px;
    height: 20px;
  }

  .hp-mobile-nav__icon--cart .hp-cart-badge,
  .hp-mobile-nav__icon--cart .hint {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #ff3333;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
  }

  .hp-mobile-nav__label {
    font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    text-transform: capitalize;
    white-space: nowrap;
    color: inherit;
  }

  .hp-mobile-nav__indicator {
    position: absolute;
    top: 0;
    left: 0; /* anchor to nav edge; do not transition this property */
    right: auto;
    width: 28px;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: var(--Primary, #0056cc);
    pointer-events: none;
    opacity: 0;
    /* Only transform is animated — never ship a stylesheet transform:translateX(0)
       default (Chrome restarts interrupted transitions from that 0). */
    transition: transform 0.2s ease, opacity 0.15s ease;
  }

  body:has(.hp-mobile-nav) {
    padding-bottom: 76px;
  }

  /* Extra room when checkout CTA bar sits above bottom nav */
  body:has(.hp-mobile-nav):has(.checkout-mobile-bar) {
    padding-bottom: 72px;
  }

  body:has(.hp-mobile-nav):has(.checkout-mobile-bar) #cart-contents .cart-items,
  body:has(.hp-mobile-nav):has(.checkout-mobile-bar) #cart-contents .cart-wrapper {
    padding-bottom: 300px !important;
  }

  /* Mobile: never show mini-cart sheet (cart icon goes to /cart) */
  .header-pro .hp-mini-cart,
  .header-pro .hp-mini-cart-backdrop {
    display: none !important;
    pointer-events: none !important;
  }

  /* Keep product/stock sticky buy bars and cart checkout bar above the bottom nav */
  body:has(.hp-mobile-nav) .mobile-buy-wrapper,
  body:has(.hp-mobile-nav) .bottom-bar-wrapper,
  body:has(.hp-mobile-nav) .checkout-mobile-bar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 72px !important;
    width: 100% !important;
    max-width: 100vw !important;
    z-index: 10050 !important;
    margin: 0 !important;
  }

  /* On PDP / cart mobile bars, mini-cart must never cover the legacy UI */
  body:has(.mobile-buy-wrapper) .header-pro .hp-mini-cart,
  body:has(.mobile-buy-wrapper) .header-pro .hp-mini-cart-backdrop,
  body:has(.bottom-bar-wrapper) .header-pro .hp-mini-cart,
  body:has(.bottom-bar-wrapper) .header-pro .hp-mini-cart-backdrop,
  body:has(.checkout-mobile-bar) .header-pro .hp-mini-cart,
  body:has(.checkout-mobile-bar) .header-pro .hp-mini-cart-backdrop {
    display: none !important;
    pointer-events: none !important;
  }
}

@media (min-width: 992px) {
  .header-pro .hp-mobile {
    display: none !important;
  }

  .hp-mobile-nav {
    display: none !important;
  }
}

/* Mobile hamburger sheet — Figma 429:7684 / 429:7685 */
.hp-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10070;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  background: var(--Schema-On-Surface, #2a2d33);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.hp-menu-backdrop.is-open,
body.blured .hp-menu-backdrop {
  display: block;
}

@media (max-width: 991.98px) {
  #megaMenuList.hp-menu-sheet.menu-items-aside {
    box-sizing: border-box;
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    top: auto;
    bottom: 72px;
    width: 100% !important;
    max-width: none !important;
    height: auto;
    max-height: min(78vh, calc(100vh - 72px - 8px));
    margin: 0;
    padding: 24px 19px !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    border-radius: 30px 30px 0 0;
    background: var(--Gray-White, #fff);
    box-shadow: none;
    z-index: 10055;
    overflow: hidden !important;
    overflow-x: hidden !important;
    transform: translate3d(0, calc(100% + 80px), 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    direction: ltr !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #megaMenuList.hp-menu-sheet.menu-items-aside::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  /* Hide page scrollbar while menu sheet is open */
  body.blured {
    overflow: hidden !important;
  }

  #megaMenuList.hp-menu-sheet.menu-items-aside.right-menu {
    left: 0;
    right: 0;
  }

  #megaMenuList.hp-menu-sheet.menu-items-aside.active,
  #megaMenuList.hp-menu-sheet.menu-items-aside.right-menu.active {
    left: 0;
    right: 0;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    z-index: 10080;
    transition: transform 0.28s ease, visibility 0s linear 0s;
  }

  .hp-menu-sheet__head.cart-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    align-self: stretch;
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    position: relative !important;
    color: inherit;
    direction: ltr !important;
    background: transparent !important;
  }

  .hp-menu-sheet__close.backBtn {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    display: inline-flex !important;
    width: 24px !important;
    height: 24px !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 !important;
    margin: 0 !important;
    border: 0;
    background: transparent !important;
    text-decoration: none;
    order: 1;
  }

  .hp-menu-sheet__close img {
    display: block;
    width: 24px;
    height: 24px;
  }

  /* Figma 429:7688 / 429:7693 — logo on the right */
  .hp-menu-sheet__logo {
    display: block;
    width: 99px;
    height: 32.389px;
    flex-shrink: 0;
    overflow: hidden;
    order: 2;
    margin: 0 !important;
    margin-inline-start: auto !important;
  }

  /* Figma 429:7693 — cover within 99×32.389 */
  .hp-menu-sheet__logo img {
    display: block;
    width: 99px;
    height: 32.389px;
    object-fit: contain;
    object-position: center right;
    background: transparent;
  }

  .hp-menu-sheet__nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    align-self: stretch;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: auto;
    overflow-x: hidden;
    min-height: 0;
    flex: 1 1 auto;
    direction: ltr;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
  }

  .hp-menu-sheet__nav::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .hp-menu-sheet__group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* Figma 429:7696 / 429:7709 — gap 8px; label hugs icon (not centered in leftover space) */
  .hp-menu-sheet__row {
    box-sizing: border-box !important;
    display: flex;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 8px 10px 8px 14px;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-decoration: none;
    color: #021024;
    cursor: pointer;
    font: inherit;
    direction: ltr !important;
    overflow: hidden;
  }

  /* Figma 429:7710 — IRANYekanWeb 14 Bold; right-align so text sits 8px from icon */
  .hp-menu-sheet__label {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    font-family: IRANYekanWeb, IRANYekan, "Yekan Bakh", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 187%;
    color: var(--Primary-Primary-900, #021024);
    white-space: nowrap;
  }

  /* Rows without chevron: keep label+icon as a tight end group (Figma 429:7709) */
  .hp-menu-sheet__row:not(:has(.hp-menu-sheet__chevron)) .hp-menu-sheet__label {
    flex: 0 1 auto;
  }

  /* Figma 429:7141 — 24×24 icon box; glyph centered via contain (not stretched) */
  .hp-menu-sheet__icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hp-menu-sheet__icon img,
  .hp-menu-sheet__icon svg {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    object-position: center;
  }

  /* Figma 429:7703 / 429:7697 — down glyph; closed = down (0deg), open = up (180deg) */
  .hp-menu-sheet__chevron {
    display: inline-flex;
    width: 20px;
    height: 20px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    transform: none;
    transition: transform 0.2s ease;
  }

  .hp-menu-sheet__chevron img,
  .hp-menu-sheet__chevron svg {
    display: block;
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
  }

  .hp-menu-sheet__toggle[aria-expanded="true"] .hp-menu-sheet__chevron {
    transform: rotate(180deg);
  }

  .hp-menu-sheet__panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 4px 0 0;
    box-sizing: border-box;
  }

  .hp-menu-sheet__panel[hidden] {
    display: none !important;
  }

  .hp-menu-sheet__links {
    list-style: none;
    margin: 0;
    padding: 0 8px 0 0;
  }

  .hp-menu-sheet__links a {
    display: block;
    padding: 8px 4px;
    color: #55575c;
    font-size: 13px;
    text-decoration: none;
  }

  .hp-menu-sheet__cats {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .hp-menu-sheet__cat {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  /* Figma 429:7142 — must not exceed parent content width */
  .hp-menu-sheet__cat-toggle {
    box-sizing: border-box !important;
    display: flex;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 12px;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border: 0;
    border-radius: 8px;
    background: var(--Primary-Primary-50, #f4f8fe);
    color: #021024;
    cursor: pointer;
    font: inherit;
    direction: ltr !important;
    overflow: hidden;
  }

  /* Figma 530:3782 — label+icon cluster on the right */
  .hp-menu-sheet__cat-main {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  /* Figma 530:3780 — Primary-900; ellipsis if title is long */
  .hp-menu-sheet__cat-label {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    text-align: right;
    font-family: IRANYekanWeb, IRANYekan, "Yekan Bakh", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 187%;
    color: var(--Primary-Primary-900, #021024);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hp-menu-sheet__cat-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #3e7fd7;
  }

  .hp-menu-sheet__cat-icon:empty::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url("/Content/header-pro/mobile-menu/icon-category-docs.svg") center / 20px 20px no-repeat;
  }

  .hp-menu-sheet__cat-icon img,
  .hp-menu-sheet__cat-icon svg,
  .hp-menu-sheet__cat-icon i,
  .hp-menu-sheet__cat-icon * {
    display: block;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
    font-size: 20px !important;
    line-height: 20px !important;
  }

  /* Figma 429:7143 — 12×12 down chevron; closed = down, open = up */
  .hp-menu-sheet__cat-chevron {
    display: inline-flex;
    width: 12px;
    height: 12px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    transform: none;
    transition: transform 0.2s ease;
  }

  .hp-menu-sheet__cat-chevron img,
  .hp-menu-sheet__cat-chevron svg {
    display: block;
    width: 12px;
    height: 12px;
    max-width: 12px;
    max-height: 12px;
  }

  .hp-menu-sheet__cat-toggle[aria-expanded="true"] .hp-menu-sheet__cat-chevron {
    transform: rotate(180deg);
  }

  /* Figma 429:7149 / 429:7150 — stay inside parent; disc inside (no outside overflow) */
  .hp-menu-sheet__subcats {
    list-style: none;
    margin: 0;
    box-sizing: border-box;
    height: 181px;
    max-width: 100%;
    min-width: 0;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    border-radius: 12px;
    width: 100%;
    align-self: stretch;
    min-height: 0;
    overflow: auto;
    overflow-x: hidden;
    direction: ltr;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hp-menu-sheet__subcats::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .hp-menu-sheet__subcats[hidden] {
    display: none !important;
  }

  .hp-menu-sheet__subcats li {
    box-sizing: border-box;
    width: min(170px, 100%);
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
    direction: rtl;
  }

  .hp-menu-sheet__subcats a {
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--On-Surface, #2a2d33);
    font-family: IRANYekanWeb, IRANYekan, "Yekan Bakh", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    text-transform: capitalize;
    text-align: right;
    direction: rtl;
  }

  .hp-menu-sheet__subcats a:hover,
  .hp-menu-sheet__subcats a:focus {
    color: var(--Primary, #0056cc);
  }

  .hp-menu-sheet__repair-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .hp-menu-sheet__repair-item {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    padding: 8px 12px;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: #f4f9ff;
    text-decoration: none;
    color: var(--On-Surface, #2a2d33);
    direction: ltr !important;
  }

  .hp-menu-sheet__repair-label {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    font-family: "Yekan Bakh", "Yekan Bakh FaNum", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
  }

  .hp-menu-sheet__repair-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    padding: 6px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 6.4px;
  }

  .hp-menu-sheet__repair-icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  /* Figma 530:4258 — CCTV icon uses scaleY(-1) + rotate(180) (= scaleX(-1)) */
  .hp-menu-sheet__repair-icon img[src*="icon-cctv"] {
    transform: scaleX(-1);
  }

  /* Figma 429:7722 — 360×48 row, gap 8, two fixed 176 CTAs (cancel sheet side pad) */
  .hp-menu-sheet__actions {
    display: flex;
    box-sizing: border-box;
    width: calc(100% + 38px);
    max-width: none;
    min-width: 0;
    margin-left: -19px;
    margin-right: -19px;
    padding-left: 16.5px;
    padding-right: 16.5px;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: nowrap;
    direction: ltr;
    align-self: stretch;
  }

  /* Figma 429:7724 / 429:7725 — 176×48, pad 12×24, gap 8, radius 12, shrink-0 */
  .hp-menu-sheet__btn {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 176px;
    width: 176px;
    min-width: 176px;
    max-width: 176px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    text-decoration: none !important;
    overflow: hidden;
  }

  /* Figma 429:7723 — label + icon cluster */
  .hp-menu-sheet__btn-content {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    max-width: 100%;
  }

  /* Figma 429:7726 — Label Large, single line (whitespace-nowrap + shrink-0) */
  .hp-menu-sheet__btn-label {
    flex: 0 0 auto;
    font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-align: right;
    letter-spacing: 0;
    font-stretch: normal;
    font-feature-settings: "liga" off, "clig" off;
    text-transform: capitalize;
    white-space: nowrap;
    transform: none;
  }

  .hp-menu-sheet__btn img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  /* Figma 429:7727 — WhatsApp glyph 24×24 */
  .hp-menu-sheet__btn--ghost img {
    object-fit: contain;
    object-position: center;
    background: transparent;
  }

  .hp-menu-sheet__btn--primary {
    background: var(--Primary, #0056cc);
    border: 0;
  }

  .hp-menu-sheet__btn--primary .hp-menu-sheet__btn-label {
    color: var(--On-Primary, #fff);
  }

  .hp-menu-sheet__btn--ghost {
    border: 1px solid var(--Outline-Variant, #f4f4f5);
    background: var(--Surface-Container-Low, #fafafa);
  }

  .hp-menu-sheet__btn--ghost .hp-menu-sheet__btn-label {
    color: var(--On-Surface, #2a2d33);
  }

  /* Sub-360 viewports: keep one line by shrinking type/padding, not wrapping */
  @media (max-width: 359.98px) {
    .hp-menu-sheet__actions {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
      padding-left: 0;
      padding-right: 0;
      gap: 6px;
    }

    .hp-menu-sheet__btn {
      flex: 1 1 0;
      width: auto;
      min-width: 0;
      max-width: none;
      padding: 12px 10px;
    }

    .hp-menu-sheet__btn-content {
      gap: 4px;
    }

    .hp-menu-sheet__btn-label {
      font-size: 12px;
      line-height: 24px;
    }

    .hp-menu-sheet__btn img {
      width: 20px;
      height: 20px;
    }
  }

  /* Keep bottom nav above menu sheet + backdrop (open or closed) */
  .hp-mobile-nav,
  body.blured .hp-mobile-nav {
    z-index: 10090 !important;
  }

  /* Hide floating phone CTA while menu sheet is open (overlaps CTAs / nav) */
  body.blured #mobileCallLeft.mobile-call-left,
  body.blured .mobile-call-left,
  body.blured .mobile-call-left.show-for-mobile {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
}

/* Main header block — Figma 0:154 / 889:8846 (1240×108, gap 16, centered)
   Desktop-only geometry — must NOT override mobile hp-mobile bar/search */
@media (min-width: 992px) {
.header-pro .hp-main {
  box-sizing: border-box;
  display: flex;
  width: min(1240px, 100%);
  max-width: 1240px;
  height: 108px;
  min-height: 108px;
  margin-inline: auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  direction: ltr;
  flex-shrink: 0;
  padding: 0;
  padding-bottom: 0;
}

/* Top bar row — 48px */
.header-pro .hp-main .nav.main-nav {
  background: #fff;
  border-bottom: none;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0;
  flex-shrink: 0;
}

.header-pro .hp-main .nav.main-nav .container {
  max-width: none;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.header-pro .hp-main .nav.main-nav .row {
  height: 100%;
  margin: 0;
}

/* Top bar — Figma 0:155: justify-end, gap 115, [460 actions][665 brand] */
.header-pro .hp-top-bar {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 48px;
  min-height: 48px;
  justify-content: flex-end;
  align-items: center;
  align-self: stretch;
  direction: ltr;
  gap: 115px;
  flex-shrink: 0;
}

  .header-pro .hp-top-bar {
    justify-content: flex-end !important;
    gap: 115px !important;
  }

  .header-pro .hp-top-bar__actions {
    order: 1 !important;
  }

  .header-pro .hp-top-bar__brand {
    order: 2 !important;
  }
}

/* Brand cluster — Figma 0:177 (665×48): search 505 + gap 20 + logo 140 */
.header-pro .hp-top-bar__brand {
  display: flex;
  width: 665px;
  max-width: 665px;
  flex: 0 0 665px;
  order: 2;
  justify-content: flex-end;
  align-items: center;
  gap: 20px !important;
  min-width: 0;
  margin: 0 !important;
  margin-inline: 0 !important;
  padding: 0 !important;
  direction: ltr;
}

.header-pro .hp-top-bar__search {
  flex: 0 0 505px !important;
  width: 505px !important;
  max-width: 505px !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.header-pro .hp-top-bar__search.mobile-searchbar,
.header-pro .mobile-searchbar.hp-top-bar__search {
  width: 505px !important;
  max-width: 505px !important;
  flex: 0 0 505px !important;
}

.header-pro .hp-top-bar__search .nav__search,
.header-pro .hp-top-bar__search .search-suggest-shell {
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.header-pro .hp-top-bar__search .search-suggest-field {
  width: 100%;
}

.header-pro .hp-top-bar__search .nav__search {
  padding: 0 !important;
  padding-left: 0 !important;
  align-self: stretch;
}

.header-pro .hp-top-bar__search .search-suggest-field.hp-search-input {
  position: relative !important;
  /* LTR row so leading search icon sits on the left; Persian text stays right-aligned */
  direction: ltr !important;
  display: flex !important;
  flex-direction: row !important;
  padding: 12px 16px !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 8px !important;
  align-self: stretch;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border-radius: 16px !important;
  border: 1px solid var(--Schema-Outline, #d4d5d6) !important;
  background: var(--Schema-Surface-Container, #fff) !important;
}

.header-pro .hp-top-bar__search .hp-search-input__field {
  flex: 1 0 0;
  min-width: 0;
  width: auto !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--Schema-On-Surface, #2a2d33) !important;
  text-align: right !important;
  font-feature-settings: "liga" off, "clig" off;
  font-family: var(--Typography-16-Regular-Font-Family, "Yekan Bakh FaNum"), "Yekan Bakh", sans-serif !important;
  font-size: var(--Typography-Body-Large-Size, 14px) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: var(--Typography-16-Regular-Line-Height, 24px) !important;
  text-transform: capitalize;
  order: 2;
}

.header-pro .hp-top-bar__search .hp-search-input__field::placeholder {
  color: var(--Schema-On-Surface, #2a2d33);
  opacity: 1;
  text-align: right;
  font-feature-settings: "liga" off, "clig" off;
  font-family: var(--Typography-16-Regular-Font-Family, "Yekan Bakh FaNum"), "Yekan Bakh", sans-serif;
  font-size: var(--Typography-Body-Large-Size, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--Typography-16-Regular-Line-Height, 24px);
  text-transform: capitalize;
}

.header-pro .hp-top-bar__search .hp-search-input__icon,
.header-pro .hp-top-bar__search .submit-btn.hp-search-input__icon,
.header-pro .hp-top-bar__search button.submit-btn.hp-search-input__icon {
  position: static !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  float: none !important;
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  line-height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 0 !important;
  text-align: center;
  order: 1;
}

.header-pro .hp-top-bar__search .hp-search-input__icon img {
  display: block;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px;
  max-height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.header-pro .hp-top-bar__search .hp-search-input__icon i {
  display: none !important;
}

.header-pro .hp-top-bar__search .search-suggest-shell.search-suggest-open .search-suggest-field {
  border-bottom-left-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
}

.header-pro .hp-top-bar__search .search-suggest-shell.search-suggest-open .hp-search-input__field {
  border-radius: 0 !important;
}

.header-pro .hp-top-bar__search .nav__search .form-control:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Actions cluster — Figma 0:156 (460×48, gap 12): account + cart on the left rail */
.header-pro .hp-top-bar__actions {
  box-sizing: border-box;
  display: flex;
  width: 460px;
  flex: 0 0 460px;
  max-width: 460px;
  min-width: 460px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  order: 1;
  direction: ltr;
  position: relative;
  overflow: visible;
}

.header-pro .hp-top-bar__actions-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row;
  direction: ltr;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.header-pro .hp-top-bar__actions .container-user {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-pro .hp-top-bar__actions .nav__cart__btn {
  flex-shrink: 0;
}

.header-pro .hp-cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 48px;
  width: 48px;
  max-width: 48px;
}

/* Logo: hide legacy inline assets, keep Figma logo */
.header-pro .nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-pro .nav__logo > svg,
.header-pro .nav__logo > img:not(.hp-logo__img) {
  display: none !important;
}

.header-pro .hp-top-bar__logo {
  flex: 0 0 140px;
  flex-shrink: 0;
  width: 140px;
  height: 45px;
  aspect-ratio: 28 / 9;
  margin: 0 !important;
  margin-inline: 0 !important;
  padding: 0 !important;
}

.header-pro .hp-logo__img {
  width: 140px;
  height: 45px;
  flex-shrink: 0;
  aspect-ratio: 28 / 9;
  display: block;
  object-fit: contain;
}

/* Search */
.header-pro .hp-top-bar__search .nav__search .form-control {
  text-align: right;
  font-size: 14px;
  color: var(--hp-on-surface);
}

.header-pro .nav__search .form-control::placeholder {
  color: var(--hp-on-surface);
  opacity: 0.85;
}

.header-pro .hp-top-bar__search .submit-btn {
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-pro .hp-top-bar__search .submit-btn i {
  display: none !important;
}

.header-pro .nav__search .submit-btn i {
  font-size: 0;
  width: 24px;
  height: 24px;
  display: block;
  background: url("/Content/header-pro/icon-search.svg") center / contain no-repeat;
}

/* Cart button — Figma nodes 545:247 (button), 545:248 (icon), 545:251 (badge) */
.header-pro .nav__cart__btn {
  box-sizing: border-box;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--hp-outline-soft, #f4f4f5) !important;
  border-radius: 16px !important;
  background: #fff !important;
  margin: 0 !important;
  text-decoration: none;
}

@media (min-width: 992px) {
  .header-pro .nav__cart__btn.d-lg-inline-flex,
  .header-pro #hpDesktopCartBtn {
    display: inline-flex !important;
  }
}

.header-pro .nav__cart__btn .ig-basket {
  font-size: 0;
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  background: url("/Content/header-pro/icon-cart.svg") center / 24px 24px no-repeat;
}

.header-pro .nav__cart__btn .hint,
.header-pro .header-cart-count {
  position: absolute;
  right: 6px;
  bottom: 9px;
  left: auto;
  top: auto;
  display: flex;
  min-width: 15px;
  width: auto;
  height: auto;
  padding: 4px 5px 2px 4px;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: #f33 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  border: none !important;
}

/* Mini-cart dropdown — Figma 429:13463 */
.header-pro .hp-cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 48px;
  width: 48px;
  max-width: 48px;
}

.header-pro .hp-mini-cart {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  z-index: 60;
  box-sizing: border-box;
  display: none;
  width: 313px;
  padding: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 4px 32px 90px 0 rgba(13, 23, 41, 0.33);
  direction: rtl;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.header-pro .hp-cart-wrap:hover .hp-mini-cart.is-ready,
.header-pro .hp-cart-wrap:focus-within .hp-mini-cart.is-ready,
.header-pro .hp-mini-cart.is-open {
  display: inline-flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .header-pro .hp-top-bar__actions {
    position: fixed;
    left: 0;
    bottom: 0;
    flex: 0 0 auto;
    width: 0;
    min-width: 0;
    height: 0;
    overflow: visible;
    gap: 0;
    pointer-events: none;
    order: 0;
  }

  .header-pro .hp-top-bar__actions #hpDesktopCartBtn,
  .header-pro .hp-top-bar__actions .nav__cart__btn {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  .header-pro .hp-cart-wrap {
    position: static;
    width: 0;
    height: 0;
    overflow: visible;
  }

  .header-pro .hp-cart-wrap,
  .header-pro .hp-mini-cart,
  .header-pro .hp-mini-cart-backdrop {
    pointer-events: auto;
  }

  /* Mobile: sheet row stuck above bottom nav (not desktop floating popup) */
  .header-pro .hp-mini-cart {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 72px;
    z-index: 10070;
    display: none;
    width: 100%;
    max-width: 100vw;
    max-height: min(52vh, 420px);
    margin: 0;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--Neutral-100, #f4f4f5);
    border-bottom: 0;
    background: #fff;
    box-shadow: 0 -12px 40px rgba(13, 23, 41, 0.16);
    transform: translateY(12px);
    overflow: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .header-pro .hp-mini-cart::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .header-pro .hp-mini-cart.is-open {
    display: flex;
    transform: translateY(0);
  }

  .header-pro .hp-mini-cart.is-ready[data-empty="1"],
  .header-pro .hp-mini-cart:has([data-empty="1"]) {
    max-height: none;
  }

  .header-pro .hp-mini-cart__empty {
    padding: 4px 0;
    justify-content: space-between;
    gap: 12px;
    direction: rtl;
  }

  .header-pro .hp-mini-cart__empty-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--Primary-Primary-50, #f4f8fe);
  }

  .header-pro .hp-mini-cart__empty-icon img {
    display: block;
    width: 20px;
    height: 20px;
    opacity: 0.9;
    filter: invert(28%) sepia(86%) saturate(1800%) hue-rotate(198deg) brightness(90%);
  }

  .header-pro .hp-mini-cart__empty-text {
    flex: 1 1 auto;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: var(--On-Surface, #2a2d33);
  }

  .header-pro .hp-mini-cart__empty-cta {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 10px;
    background: var(--Primary, #0056cc);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
  }

  .header-pro .hp-mini-cart__panel {
    width: 100%;
    max-width: 100%;
  }

  .header-pro .hp-mini-cart__row {
    width: 100%;
    max-width: 100%;
  }

  .header-pro .hp-mini-cart__footer {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-pro .hp-mini-cart-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    bottom: 72px;
    z-index: 10065;
    background: rgba(42, 45, 51, 0.35);
    border: 0;
    padding: 0;
    margin: 0;
  }

  .header-pro .hp-mini-cart-backdrop.is-open {
    display: block;
  }
}

.header-pro .hp-mini-cart__empty {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  padding: 12px 8px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 13px;
  line-height: 24px;
  color: #55575c;
  font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
}

.header-pro .hp-mini-cart__empty-icon {
  display: none;
}

.header-pro .hp-mini-cart__empty-text {
  flex: 1 1 auto;
  min-width: 0;
}

.header-pro .hp-mini-cart__empty-cta {
  display: none;
}

.header-pro .hp-mini-cart__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.header-pro .hp-mini-cart__row {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  width: 100%;
  direction: ltr;
}

.header-pro .hp-mini-cart__info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  width: 209px;
}

.header-pro .hp-mini-cart__title {
  display: block;
  width: 100%;
  min-height: 24px;
  max-height: 48px;
  overflow: hidden;
  align-self: stretch;
  color: var(--On-Surface, #2a2d33) !important;
  text-align: right;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-transform: capitalize;
  text-decoration: none !important;
  direction: rtl;
}

.header-pro .hp-mini-cart__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  width: 100%;
  direction: ltr;
}

.header-pro .hp-mini-cart__qty {
  box-sizing: border-box;
  display: flex;
  width: 98px;
  height: 33px;
  padding: 4px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--Outline-Variant, #f4f4f5);
  background: #fff;
  direction: ltr;
}

.header-pro .hp-mini-cart__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.header-pro .hp-mini-cart__qty-btn img,
.header-pro .hp-mini-cart__qty-btn svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: none;
}

.header-pro .hp-mini-cart__qty-value {
  box-sizing: border-box;
  width: 28px;
  min-width: 28px;
  height: 24px;
  margin: 0;
  padding: 0 2px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
  font-size: 12px;
  line-height: 24px;
  font-weight: 700;
  color: #0056cc;
  text-align: center;
  white-space: nowrap;
  appearance: textfield;
  -moz-appearance: textfield;
  cursor: text;
}

.header-pro .hp-mini-cart__qty-value:focus {
  outline: none;
  background: rgba(0, 86, 204, 0.08);
}

.header-pro .hp-mini-cart__qty-value::-webkit-outer-spin-button,
.header-pro .hp-mini-cart__qty-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.header-pro .hp-mini-cart__prices {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-end;
  align-self: stretch;
  min-width: 72px;
  text-align: right;
  direction: rtl;
  overflow: visible;
}

.header-pro .hp-mini-cart__price-old {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 18px;
  overflow: hidden;
  color: var(--On-Surface-Variant-5, #55575c);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  text-decoration-line: line-through;
  text-transform: none;
  white-space: nowrap;
}

.header-pro .hp-mini-cart__price-now {
  display: block;
  width: 100%;
  color: var(--On-Surface-Variant-4, #aaabad);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  text-transform: none;
  white-space: nowrap;
}

.header-pro .hp-mini-cart__thumb {
  display: block;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background-color: #d3d3d3;
  background-position: 50%;
  background-size: contain;
  background-repeat: no-repeat;
  text-decoration: none;
}

.header-pro .hp-mini-cart__divider {
  width: 281px;
  max-width: 100%;
  height: 1px;
  background: var(--Outline-Variant, #f4f4f5);
  flex-shrink: 0;
}

.header-pro .hp-mini-cart__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  direction: ltr;
}

.header-pro .hp-mini-cart__checkout {
  box-sizing: border-box;
  display: inline-flex !important;
  height: 44px;
  min-width: 48px;
  min-height: 44px;
  padding: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  background: #0056cc !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  direction: ltr;
}

.header-pro .hp-mini-cart__checkout span:first-child {
  direction: rtl;
}

.header-pro .hp-mini-cart__checkout-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.header-pro .hp-mini-cart__checkout-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.header-pro .hp-mini-cart__payable {
  display: flex;
  width: 141px;
  height: 35px;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.header-pro .hp-mini-cart__payable-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 88px;
  height: 16px;
  font-size: 12px;
  line-height: 24px;
  color: #2a2d33;
  text-align: right;
  direction: rtl;
}

.header-pro .hp-mini-cart__payable-value {
  font-size: 12px;
  line-height: 24px;
  font-weight: 700;
  color: #0056cc;
  white-space: nowrap;
  direction: rtl;
}

/* Account dropdown — Figma 429:13464 */
.header-pro .hp-account-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-pro .dropdown-user-profile.hp-account-menu {
  box-sizing: border-box;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  z-index: 60;
  display: flex;
  width: 279px;
  padding: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 4px 32px 90px 0 rgba(13, 23, 41, 0.33);
  direction: rtl;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.header-pro .dropdown-user-profile.hp-account-menu.active-dropdown-user {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header-pro .hp-account-menu__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  width: 100%;
  direction: ltr;
}

.header-pro .hp-account-menu__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  width: 178px;
  flex-shrink: 0;
  text-align: center;
  font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  text-transform: capitalize;
}

.header-pro .hp-account-menu__name {
  margin: 0;
  color: var(--On-Surface, #2a2d33);
  text-align: right;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-pro .hp-account-menu__profile-link {
  color: var(--Primary, #0056cc) !important;
  text-align: right;
  text-decoration: none !important;
  width: 100%;
  white-space: nowrap;
}

.header-pro .hp-account-menu__profile-link:hover {
  text-decoration: underline !important;
}

.header-pro .hp-account-menu__avatar {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  flex-shrink: 0;
  border-radius: 80px;
  background: var(--Primary-Container, #f4f9ff);
}

.header-pro .hp-account-menu__divider {
  width: 252px;
  height: 1px;
  flex-shrink: 0;
  background: var(--Outline-Variant, #f4f4f5);
  border: 0;
}

.header-pro .hp-account-menu__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
}

.header-pro .hp-account-menu__logout-form {
  display: block;
  width: 100%;
  margin: 0;
}

.header-pro .hp-account-menu__item {
  box-sizing: border-box;
  display: flex;
  width: 247px;
  max-width: 100%;
  height: 24px;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  border-radius: 8px;
  direction: ltr;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}

.header-pro .hp-account-menu__item:hover {
  background: transparent;
}

.header-pro .hp-account-menu__label {
  color: var(--On-Surface, #2a2d33);
  text-align: right;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  text-transform: capitalize;
  white-space: nowrap;
}

.header-pro .hp-account-menu__item--logout .hp-account-menu__label {
  font-size: 12px;
  line-height: 20px;
}

.header-pro .hp-account-menu__icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  overflow: hidden;
}

.header-pro .hp-account-menu__leaf {
  position: absolute;
  display: block;
  pointer-events: none;
}

.header-pro .hp-account-menu__leaf img {
  position: absolute;
  display: block;
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* User solid — placement inset 12.5% / 20.83% */
.header-pro .hp-account-menu__leaf--user {
  inset: 12.5% 20.83%;
}

.header-pro .hp-account-menu__leaf--user img {
  inset: 0;
}

/* Bag handle — top 8.33%, bottom 75%, sides 33.33%; stroke pad -18.75% / -9.38% */
.header-pro .hp-account-menu__leaf--bag-handle {
  top: 8.33%;
  bottom: 75%;
  left: 33.33%;
  right: 33.33%;
}

.header-pro .hp-account-menu__leaf--bag-handle img {
  inset: -18.75% -9.38%;
  width: auto;
  height: auto;
}

/* Bag body — top 25%, bottom 8.33%, sides 14.71%; stroke pad -4.69% / -4.43% */
.header-pro .hp-account-menu__leaf--bag-body {
  top: 25%;
  bottom: 8.33%;
  left: 14.71%;
  right: 14.71%;
}

.header-pro .hp-account-menu__leaf--bag-body img {
  inset: -4.69% -4.43%;
  width: auto;
  height: auto;
}

/* Favorites: box inset 8.33%; stroke -3.75% */
.header-pro .hp-account-menu__leaf--fav-box {
  inset: 8.33%;
}

.header-pro .hp-account-menu__leaf--fav-box img {
  inset: -3.75%;
  width: auto;
  height: auto;
}

.header-pro .hp-account-menu__leaf--fav-handle {
  top: 8.33%;
  bottom: 50%;
  left: 33.33%;
  right: 33.33%;
}

.header-pro .hp-account-menu__leaf--fav-handle img {
  inset: -7.5% -9.38% 6.61% -9.38%;
  width: auto;
  height: auto;
}

.header-pro .hp-account-menu__leaf--fav-heart {
  top: 57.58%;
  right: 7.32%;
  bottom: 7.07%;
  left: 57.32%;
  transform: rotate(-45deg);
  transform-origin: center;
}

.header-pro .hp-account-menu__leaf--fav-heart img {
  inset: -12.5%;
  width: auto;
  height: auto;
}

/* Setting — inset 12.5%; stroke -4.17% */
.header-pro .hp-account-menu__leaf--setting {
  inset: 12.5%;
}

.header-pro .hp-account-menu__leaf--setting img {
  inset: -4.17%;
  width: auto;
  height: auto;
}

/* Location pin + center dot */
.header-pro .hp-account-menu__leaf--loc-dot {
  top: 33.33%;
  right: 37.5%;
  bottom: 41.67%;
  left: 37.5%;
}

.header-pro .hp-account-menu__leaf--loc-dot img {
  inset: -12.5%;
  width: auto;
  height: auto;
}

.header-pro .hp-account-menu__leaf--loc-pin {
  top: 8.33%;
  bottom: 8.33%;
  left: 12.5%;
  right: 12.5%;
}

.header-pro .hp-account-menu__leaf--loc-pin img {
  inset: -3.75% -4.17%;
  width: auto;
  height: auto;
}

/* Logout door + rotated arrow */
.header-pro .hp-account-menu__leaf--logout-arrow {
  top: 41.67%;
  right: 8.33%;
  bottom: 41.67%;
  left: 83.33%;
  transform: rotate(-90deg);
  transform-origin: center;
}

.header-pro .hp-account-menu__leaf--logout-arrow img {
  inset: -37.5% -18.75% -16.79% -18.75%;
  width: auto;
  height: auto;
}

.header-pro .hp-account-menu__leaf--logout-door {
  top: 16.67%;
  right: 12.5%;
  bottom: 16.67%;
  left: 8.33%;
}

.header-pro .hp-account-menu__leaf--logout-door img {
  inset: -4.69% -3.95%;
  width: auto;
  height: auto;
}

/* Account button — Figma 889:8846 / 367:3669 */
.header-pro .container-user .btn-profile,
.header-pro .container-user a.btn.btn-profile.btn-default {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 4px !important;
  padding: 12px 8px !important;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  flex-shrink: 0;
  direction: ltr;
  border-radius: 12px !important;
  border: 1px solid var(--Primary, #0056cc) !important;
  color: var(--Primary, #0056cc) !important;
  background: #fff !important;
  background-color: #fff !important;
  box-shadow: none !important;
  font-family: var(--Typography-16-Regular-Font-Family, "Yekan Bakh FaNum"), "Yekan Bakh", iranyekanfa, sans-serif;
  font-size: var(--Typography-Body-Large-Size, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--Typography-16-Regular-Line-Height, 24px);
  white-space: nowrap;
  text-decoration: none;
  text-transform: capitalize;
  overflow: visible !important;
}

.header-pro .container-user .btn-profile::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("/Content/header-pro/icon-chevron.svg") center / 24px 24px no-repeat;
  display: block;
  order: 1;
}

.header-pro .container-user .btn-profile::after {
  display: none !important;
}

.header-pro .container-user .btn-profile .ig-profile {
  font-size: 0;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
  background: url("/Content/header-pro/icon-user.svg") center / 24px 24px no-repeat;
  margin: 0 !important;
  order: 3;
}

.header-pro .container-user .btn-profile > span {
  order: 2;
  display: block;
  box-sizing: border-box;
  flex: 0 0 77px;
  width: 77px;
  min-width: 77px;
  max-width: 77px;
  height: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  color: var(--Primary, #0056cc) !important;
  text-align: right;
  font-feature-settings: "liga" off, "clig" off;
  font-family: var(--Typography-16-Regular-Font-Family, "Yekan Bakh FaNum"), "Yekan Bakh", iranyekanfa, sans-serif;
  font-size: var(--Typography-Body-Large-Size, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--Typography-16-Regular-Line-Height, 24px); /* 171.429% */
  text-transform: capitalize;
  white-space: nowrap;
  /* Figma shows the full label — do not ellipsize / clip glyphs */
  overflow: visible;
  text-overflow: clip;
}

/* Hide old support block in top row (moved to bottom nav in design) */
.header-pro .nav__cart .menu__support {
  display: none !important;
}

.header-pro .nav__cart {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-direction: row;
  direction: ltr;
}


.header-pro .hp-top-bar__logo.nav__logo {
  display: inline-flex;
  align-items: center;
  height: 48px;
}

/* Bottom menu row — Figma 0:217 (40px): support 138 + gap 306 + nav cluster 796 */
.header-pro .hp-main .menu.d-lg-block {
  width: 100%;
  height: 40px;
  min-height: 40px;
  border-top: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  background: #fff;
  flex-shrink: 0;
}

.header-pro .hp-main .menu .container {
  max-width: none;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.header-pro .hp-main .menu .d-flex.hp-bottom-bar,
.header-pro .hp-main .menu .hp-bottom-bar {
  box-sizing: border-box;
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  direction: ltr;
  justify-content: flex-start;
  gap: 0;
}

.header-pro .hp-main .menu .menu__support {
  order: 1;
  flex: 0 0 138px;
  width: 138px;
  max-width: 138px;
  margin: 0 !important;
}

/* Nav cluster — Figma 0:236: flex + gap 24, right-aligned under brand (no wrap) */
.header-pro .hp-bottom-bar__nav {
  order: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 0 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0 0 0 auto !important;
  direction: ltr;
  flex-wrap: nowrap;
}

.header-pro .hp-main .menu .menu__content {
  order: 1;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0 !important;
  margin-left: 0 !important;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-pro .hp-main .menu .menu__content > ul {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.header-pro .hp-main .menu .menu__category {
  order: 2;
  flex: 0 0 auto;
  margin: 0 !important;
}

.header-pro .menu__category > ul {
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.header-pro .menu__category > ul > li > a {
  color: var(--On-Surface, #2a2d33) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  display: inline-flex !important;
  align-items: center;
  gap: var(--hp-nav-icon-gap, 4px) !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  text-transform: capitalize;
  font-family: var(--Typography-16-Regular-Font-Family, "Yekan Bakh FaNum"), "Yekan Bakh", sans-serif !important;
  text-align: right;
  font-feature-settings: "liga" off, "clig" off;
}

.header-pro .menu__category .magamenu-btn {
  color: var(--On-Surface, #2a2d33) !important;
  display: inline-flex !important;
  align-items: center;
  gap: var(--hp-nav-icon-gap, 4px) !important;
  direction: rtl;
  flex-direction: row;
  white-space: nowrap !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  font-family: var(--Typography-16-Regular-Font-Family, "Yekan Bakh FaNum"), "Yekan Bakh", sans-serif !important;
  text-transform: capitalize;
  font-feature-settings: "liga" off, "clig" off;
}

.header-pro .menu__category .magamenu-btn svg {
  display: none;
}

.header-pro .menu__category .magamenu-btn::before {
  content: "";
  width: 24px;
  height: 24px;
  background: url("/Content/header-pro/icon-menu.svg") center / 24px 24px no-repeat;
  display: inline-block;
  flex-shrink: 0;
}

/* Bottom nav icons (Figma 889:8846 — Body Large 14/24, gap 4, nowrap) */
.header-pro .hp-nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: var(--hp-nav-icon-gap, 4px) !important;
  direction: rtl;
  flex-direction: row;
  white-space: nowrap !important;
  color: var(--On-Surface, #2a2d33) !important;
  text-align: right;
  font-feature-settings: "liga" off, "clig" off;
  font-family: var(--Typography-16-Regular-Font-Family, "Yekan Bakh FaNum"), "Yekan Bakh", sans-serif !important;
  font-size: var(--Typography-Body-Large-Size, 14px) !important;
  font-style: normal;
  font-weight: 400 !important;
  line-height: var(--Typography-16-Regular-Line-Height, 24px) !important;
  text-transform: capitalize;
}

.header-pro .hp-nav-link::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  background: center / 24px 24px no-repeat;
}

.header-pro .hp-nav-link--repairs::before {
  background-image: url("/Content/header-pro/icon-setting.svg");
}

.header-pro .hp-nav-link--stock::before {
  background-image: url("/Content/header-pro/icon-package-stock.svg");
}

.header-pro .hp-nav-link--about::before {
  background-image: url("/Content/header-pro/icon-computer-stand.svg");
}

.header-pro .hp-nav-link--download::before {
  background-image: url("/Content/header-pro/icon-download.svg");
}

.header-pro .hp-nav-link--org::before {
  background-image: url("/Content/header-pro/icon-gmail.svg");
}

.header-pro .hp-nav-caret {
  display: none !important;
}

/* Support phone — Figma 0:218 (138×40); sits on left under actions rail */
.header-pro .menu__support {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 138px;
  width: 138px;
  height: 40px;
  min-width: 138px;
  max-width: 138px;
}

.header-pro .menu__support > .hp-support-fallback,
.header-pro .menu__support a.hp-support-fallback {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 138px;
  height: 40px;
  min-width: 138px;
  max-width: 138px;
  flex-shrink: 0;
  box-sizing: border-box;
  text-decoration: none !important;
  color: inherit !important;
  direction: ltr !important;
}

.header-pro .hp-support-fallback__icon {
  box-sizing: border-box;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  padding: 8px !important;
  margin: 0 !important;
  border: 1px solid var(--outline-variant, #f4f4f5) !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff !important;
}

.header-pro .hp-support-fallback__icon img {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.header-pro .hp-support-fallback__text {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 86px !important;
  min-width: 86px !important;
  max-width: 86px !important;
  height: 40px !important;
  flex: 0 0 86px !important;
  text-align: right !important;
  direction: rtl !important;
  overflow: hidden;
}

.header-pro .menu__support a.hp-support-fallback p,
.header-pro .hp-support-fallback__num {
  width: 59px;
  max-width: 86px;
  height: 17px;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--On-Surface, #2a2d33) !important;
  text-align: right !important;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Yekan Bakh FaNum", iranyekanfa, sans-serif !important;
  font-size: 16px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
  text-transform: capitalize;
}

.header-pro .menu__support a.hp-support-fallback p span,
.header-pro .hp-support-fallback__num span {
  color: #0048aa !important;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Yekan Bakh FaNum", iranyekanfa, sans-serif !important;
  font-size: 16px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 24px !important;
  text-transform: capitalize;
  letter-spacing: 0 !important;
}

.header-pro .menu__support a.hp-support-fallback .hp-support-fallback__label,
.header-pro .hp-support-fallback__label {
  width: 86px !important;
  height: 19px !important;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--On-Surface-Variant-4, #aaabad) !important;
  text-align: right !important;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Yekan Bakh FaNum", iranyekanfa, sans-serif !important;
  font-size: 12px !important;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 19px !important;
  letter-spacing: 0 !important;
  text-transform: capitalize;
}

@media (max-width: 991.98px) {
  .header-pro .hp-logo__img {
    width: 110px;
    height: auto;
  }
}

/* Nav link hover (Figma material-style opacity layer) */
.header-pro .menu__category > ul > li > a:hover,
.header-pro .menu__category > ul > li > a:focus-visible {
  background: rgba(0, 86, 204, 0.08) !important;
  border-radius: 12px;
}

.header-pro .menu__category > ul > li.has-megamenu > a:hover {
  color: var(--hp-primary) !important;
}

/* ── Figma Mega Menu (node 429:9321 MY menu) ── */
@keyframes hp-mega-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.header-pro .hp-mega-menu {
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  display: none;
  box-sizing: border-box;
  width: min(855px, calc(100vw - 32px)) !important;
  height: auto !important;
  min-height: 391px;
  margin-top: 8px !important;
  padding: 12px !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 20px;
  border-radius: 20px !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0) !important;
  background: rgba(243, 249, 255, 0.89) !important;
  backdrop-filter: blur(12.5px);
  -webkit-backdrop-filter: blur(12.5px);
  box-shadow: 0 12px 40px rgba(42, 45, 51, 0.12) !important;
  overflow: hidden;
  z-index: 50;
  direction: rtl;
}

.header-pro .hp-mega-menu::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("/Content/header-pro/mega-menu-pattern.png") 0 0 / 100px 100px repeat !important;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  height: auto !important;
}

.header-pro .menu__category > li:hover .hp-mega-menu,
.header-pro .menu__category > li:focus-within .hp-mega-menu {
  display: flex !important;
  animation: hp-mega-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.header-pro .hp-mega-menu__body,
.header-pro .hp-mega-menu .maham-mega-menu-wrapper {
  position: relative;
  z-index: 1;
  top: 0 !important;
  margin: 0 !important;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  /* Top-align columns — avoid excess space above promos when category list is tall */
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  flex-direction: row;
  direction: rtl;
}

.header-pro .hp-mega-menu [class*="col-"] {
  width: auto;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  flex: 0 0 auto;
}

.header-pro .hp-mega-menu .maham-mega-menu-item {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  padding: 12px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  text-decoration: none;
  direction: rtl;
}

/* Figma order (RTL): icon (right) → title → chevron (left) */
.header-pro .hp-mega-menu .maham-mega-menu-item::before {
  content: "";
  width: 6.25px;
  height: 12.917px;
  flex-shrink: 0;
  background: url("/Content/header-pro/mega/chevron.svg") center / contain no-repeat;
  opacity: 1;
  transition: opacity 0.2s ease;
  order: 3;
}

.header-pro .hp-mega-menu .maham-mega-menu-item:hover,
.header-pro .hp-mega-menu .maham-mega-menu-item.is-active {
  background: rgba(255, 255, 255, 0.47) !important;
  border-radius: 20px !important;
  transform: none;
}

.header-pro .hp-mega-menu .maham-mega-menu-item:hover::before,
.header-pro .hp-mega-menu .maham-mega-menu-item.is-active::before {
  opacity: 1;
}

.header-pro .hp-mega-menu .maham-mega-menu-item .mega-menu-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
  color: var(--hp-on-surface) !important;
  order: 2;
  width: 125px;
  text-align: right;
}

.header-pro .hp-mega-menu .maham-mega-menu-item .icon {
  order: 1;
  width: 36px;
  height: 36px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 200px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.34);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-pro .hp-mega-menu .maham-mega-menu-item .icon svg,
.header-pro .hp-mega-menu .maham-mega-menu-item .icon img {
  width: 20px !important;
  height: 20px !important;
  display: block;
}

.header-pro .hp-mega-menu .maham-mega-menu-item .icon .fill-main,
.header-pro .hp-mega-menu .maham-mega-menu-item .icon .fill-secondaary,
.header-pro .hp-mega-menu .maham-mega-menu-item .icon path {
  fill: #3e7fd7 !important;
  stroke: #3e7fd7;
}

.header-pro .hp-mega-menu .maham-mega-menu-categories-wrapper {
  width: 221px;
  flex: 0 0 221px;
  max-width: 221px;
  border: none !important;
  border-left: 1px solid rgba(212, 213, 214, 0.55) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 0 0 12px !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
}

.header-pro .hp-mega-menu .sub-categories-wrapper {
  width: 218px !important;
  flex: 0 0 218px;
  max-width: 218px;
  min-height: 276px;
  height: auto !important;
  padding: 0 !important;
  border: none !important;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.header-pro .hp-mega-menu .sub-categories-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  width: 190px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header-pro .hp-mega-menu .sub-categories-inner li {
  margin: 0;
  padding: 0;
  width: 100%;
}

.header-pro .hp-mega-menu .sub-categories-inner li::after {
  display: none !important;
}

.header-pro .hp-mega-menu .sub-categories-inner a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 24px;
  color: #2a2d33 !important;
  text-align: right;
  text-decoration: none;
  transition: background 0.2s ease;
}

.header-pro .hp-mega-menu .sub-categories-inner a:hover {
  background: rgba(255, 255, 255, 0.55);
  color: #2a2d33 !important;
}

.header-pro .hp-mega-menu__promos,
.header-pro .hp-mega-menu .maham-mega-menu-brands-wrapper {
  width: 326px;
  flex: 0 0 326px;
  max-width: 326px;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  margin-right: auto; /* push promos to the left edge in RTL row */
}

/* Promo cards removed — keep a same-width spacer so category/subcat gap matches design */
.header-pro .hp-mega-menu--no-promos .hp-mega-menu__promos,
.header-pro .hp-mega-menu--no-promos .maham-mega-menu-brands-wrapper {
  display: none !important;
}

.header-pro .hp-mega-menu__promos-spacer {
  width: 326px;
  flex: 0 0 326px;
  max-width: 326px;
  align-self: stretch;
  margin-right: auto; /* keep categories+subcats grouped on the right (RTL) */
  pointer-events: none;
}

.header-pro .hp-mega-menu--no-promos .hp-mega-menu__body,
.header-pro .hp-mega-menu--no-promos .maham-mega-menu-wrapper {
  justify-content: flex-start;
  gap: 20px;
}

.header-pro .hp-mega-menu--no-promos .maham-mega-menu-categories-wrapper {
  width: 221px;
  flex: 0 0 221px;
  max-width: 221px;
}

.header-pro .hp-mega-menu--no-promos .sub-categories-wrapper {
  width: 218px !important;
  flex: 0 0 218px;
  max-width: 218px;
}

.header-pro .hp-mega-promo {
  /* Figma image 102 — 326×138 Dev Mode crop */
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 326px;
  height: 138px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
  background: url("/Content/header-pro/mega-menu-promo-a.png") -1.83px -0.496px / 101.933% 126.081% no-repeat;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.header-pro .hp-mega-promo:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.header-pro .hp-mega-promo__img {
  display: none;
}

.header-pro .hp-mega-promo__copy {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  width: 153px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 1;
}

.header-pro .hp-mega-promo__title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  text-align: right;
  color: #fff;
}

.header-pro .hp-mega-promo__gradient {
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-pro .hp-mega-promo__cta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 24px;
  font-size: 12px;
  line-height: 24px;
  color: #fff;
  white-space: nowrap;
  direction: ltr;
}

.header-pro .hp-mega-promo__cta-icon {
  width: 24px;
  height: 24px;
  border-radius: 20px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: none;
}

.header-pro .hp-mega-promo__cta-icon img {
  width: 10px;
  height: 10px;
  display: block;
}

.header-pro .hp-mega-menu__brands {
  /* Figma Footer 384:4637 — 825×50, #F4F9FF */
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  width: min(825px, 100%);
  height: 50px;
  padding: 0 32px;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-radius: 20px;
  background: var(--Primary-Container, #f4f9ff);
  align-self: center;
  direction: ltr;
  overflow: hidden;
}

.header-pro .hp-mega-menu__brands-inner {
  /* Figma 384:4638 */
  display: flex;
  width: min(709px, 100%);
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  margin: 0 auto;
}

.header-pro .hp-mega-menu__brands-row {
  /* Figma 384:4639 — logos row, gap 47 */
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 47px;
  flex-shrink: 0;
}

.header-pro .hp-mega-brand {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-pro .hp-mega-brand:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* image 67 — HIKVISION (user Dev Mode crop) */
.header-pro .hp-mega-brand--hikvision {
  width: 91px;
  height: 14px;
  aspect-ratio: 13 / 2;
  background: url("/Content/header-pro/mega/brand-hikvision.png") 0px -18.71px / 100% 367.279% no-repeat;
}

/* image 72 — snom */
.header-pro .hp-mega-brand--snom {
  width: 50px;
  height: 14px;
  background: url("/Content/header-pro/mega/brand-snom.png") -1.725px -11.55px / 111.3% 265% no-repeat;
}

/* image 68 — Grandstream */
.header-pro .hp-mega-brand--grandstream {
  width: 147px;
  height: 28px;
  background: url("/Content/header-pro/mega/brand-grandstream.png") -36.47px -10.5px / 126.2% 170.83% no-repeat;
}

/* image 69 — Gigaset */
.header-pro .hp-mega-brand--gigaset {
  width: 100px;
  height: 28px;
  background: url("/Content/header-pro/mega/brand-gigaset.png") center / contain no-repeat;
}

/* image 70 — Yealink */
.header-pro .hp-mega-brand--yealink {
  width: 57px;
  height: 13px;
  background: url("/Content/header-pro/mega/brand-yealink.png") 0.25px 0.48px / 100% 92.56% no-repeat;
}

/* image 71 — Panasonic */
.header-pro .hp-mega-brand--panasonic {
  width: 83px;
  height: 23px;
  background: url("/Content/header-pro/mega/brand-panasonic.png") 0px -10.33px / 100% 191.59% no-repeat;
}

/* Additional category brands — cropped from home brands-slider / brand assets (same row weight as initial) */
.header-pro .hp-mega-brand--alcatel {
  width: 100px;
  height: 22px;
  background: url("/Content/header-pro/mega/brand-alcatel.png") center / contain no-repeat;
}

.header-pro .hp-mega-brand--newrock {
  width: 56px;
  height: 28px;
  background: url("/Content/header-pro/mega/brand-newrock.png") center / contain no-repeat;
}

.header-pro .hp-mega-brand--mikrotik {
  width: 110px;
  height: 28px;
  background: url("/Content/header-pro/mega/brand-mikrotik.png") center / contain no-repeat;
}

.header-pro .hp-mega-brand--tp-link {
  width: 72px;
  height: 28px;
  background: url("/Content/header-pro/mega/brand-tp-link.png") center / contain no-repeat;
}

.header-pro .hp-mega-brand--panalink {
  width: 110px;
  height: 22px;
  background: url("/Content/header-pro/mega/brand-panalink.png") center / contain no-repeat;
}

.header-pro .hp-mega-brand--neterbit {
  width: 90px;
  height: 24px;
  background: url("/Content/header-pro/mega/brand-neterbit.png") center / contain no-repeat;
}

.header-pro .hp-mega-brand--gp {
  width: 120px;
  height: 24px;
  background: url("/Content/header-pro/mega/brand-gp.png") center / contain no-repeat;
}

.header-pro .hp-mega-brand--nass {
  width: 62px;
  height: 28px;
  background: url("/Content/header-pro/mega/brand-nass.png") center / contain no-repeat;
}

.header-pro .hp-mega-brand--ipro {
  width: 72px;
  height: 28px;
  background: url("/Content/header-pro/mega/brand-ipro.png") center / contain no-repeat;
}

.header-pro .hp-mega-menu__brands.is-empty {
  display: none;
}

.header-pro .menu__category > li {
  position: relative;
}

.header-pro .menu__category > li:hover > .magamenu-btn,
.header-pro .menu__category > li:focus-within > .magamenu-btn {
  background: rgba(0, 86, 204, 0.08) !important;
  border-radius: 12px;
}

/* Repairs mega menu — Figma 429:9322 */
.header-pro .hp-repairs-menu.mega-menu-small {
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  box-sizing: border-box;
  display: inline-flex !important;
  flex-direction: column;
  align-items: flex-start;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border-radius: 20px !important;
  border: 1px solid var(--Gray-200, #e9eaeb) !important;
  background: rgba(243, 249, 255, 0.89) !important;
  box-shadow: 0 4px 6px -2px rgba(10, 13, 18, 0.03) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  z-index: 50;
  direction: rtl;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.985);
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s;
}

/* Kill legacy mega-menu hover bridge spacer (4rem ::before) — caused excess gap above */
.header-pro .hp-repairs-menu::before,
.header-pro .hp-repairs-menu.mega-menu-small::before,
.header-pro .menu ul li .hp-repairs-menu::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  top: auto !important;
  background: none !important;
}

.header-pro .menu__category > li:hover > .hp-repairs-menu,
.header-pro .menu__category > li:focus-within > .hp-repairs-menu,
.header-pro .menu ul li:hover > .hp-repairs-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.header-pro .hp-repairs-menu__content {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  box-sizing: border-box;
}

.header-pro .hp-repairs-menu__cols {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
  /* LTR so DOM order matches Figma: left column then right column */
  direction: ltr;
}

.header-pro .hp-repairs-menu__col {
  display: flex;
  width: 321px;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.header-pro .hp-repairs-item {
  display: flex !important;
  box-sizing: border-box;
  width: 100%;
  height: 60px;
  padding: 12px 20px;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 20px;
  text-decoration: none !important;
  color: #2a2d33 !important;
  background: transparent;
  transition: background-color 0.2s ease;
  direction: ltr;
}

.header-pro .hp-repairs-item:hover {
  background: rgba(255, 255, 255, 0.48);
}

.header-pro .hp-repairs-item__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #2a2d33 !important;
  text-align: right;
  direction: rtl;
}

.header-pro .hp-repairs-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 6.4px;
}

.header-pro .hp-repairs-item__icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.header-pro .hp-repairs-item__icon--fax,
.header-pro .hp-repairs-item__icon--pbx {
  padding: 0;
}

.header-pro .hp-repairs-item__icon--fax img,
.header-pro .hp-repairs-item__icon--pbx img {
  width: 22px;
  height: 22px;
}

.header-pro .hp-repairs-menu__footer {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 32px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.4);
  direction: rtl;
}

.header-pro .hp-repairs-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  direction: ltr;
}

.header-pro .hp-repairs-cta__label {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #0056cc !important;
  direction: rtl;
}

.header-pro .hp-repairs-cta__icon {
  display: flex;
  width: 20px;
  height: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.header-pro .hp-repairs-cta__icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.header-pro .hp-repairs-cta__wa {
  position: relative;
  display: block;
  width: 20px;
  height: 23px;
  flex-shrink: 0;
  overflow: hidden;
}

.header-pro .hp-repairs-cta__wa::before {
  content: "";
  position: absolute;
  left: -70.41%;
  top: -26.17%;
  width: 243.39%;
  height: 140.19%;
  background: url("/Content/header-pro/repairs/icon-whatsapp.png") center / cover no-repeat;
}

@media (max-width: 991px) {
  .header-pro .hp-mega-menu {
    height: auto !important;
    max-height: min(80vh, 560px);
    overflow: auto;
  }

  .header-pro .hp-mega-menu__body,
  .header-pro .hp-mega-menu .maham-mega-menu-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-pro .hp-mega-menu__brands {
    height: auto;
    min-height: 50px;
    padding: 12px 16px;
  }

  .header-pro .hp-mega-menu__brands-row {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-pro .hp-repairs-menu.mega-menu-small {
    width: min(690px, calc(100vw - 24px)) !important;
  }

  .header-pro .hp-repairs-menu__cols {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-pro .hp-repairs-menu__col {
    width: min(321px, 100%);
  }

  .header-pro .hp-repairs-menu__footer {
    height: auto;
    min-height: 50px;
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
}
