/* Milanco Header ? tokens come from design-tokens.css (loaded first) */

/* =========================== */
/* RAINBOW ACCENT STRIPE (7 separate blocks) */
/* =========================== */

.rainbow-stripe {
    height: 4px;
    width: 100%;
    background: var(--stripe-rainbow);
}

/* =========================== */
/* PROMO BANNER */
/* =========================== */

.header-promo {
    background: var(--color-red);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.promo-content {
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================== */
/* MAIN HEADER */
/* =========================== */

.milanco-header {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 800;
    font-size: 1.2rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-logo svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 8px rgba(255, 0, 0, 0.2));
}

.logo-text {
    color: var(--color-red);
    font-weight: 800;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 400px;
}

.header-search form {
    display: flex;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header-search form:focus-within {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    border: none;
    color: white;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    filter: brightness(0.9);
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}

.action-icon:hover {
    background: #f5f5f5;
    color: var(--color-red);
}

.action-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--color-red);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* =========================== */
/* NAVIGATION MENU */
/* =========================== */

.header-nav {
    border-top: 1px solid #f0f0f0;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.nav-list > li {
    position: relative;
    flex: 1;
}

.nav-list > li > a {
    display: block;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-list > li > a:hover {
    color: var(--color-red);
    border-bottom-color: var(--color-red);
    background: #f5f5f5;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #f0f0f0;
    border-top: 3px solid var(--color-red);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.dropdown-menu a:first-child {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.dropdown-menu a:last-child {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: var(--color-red);
    border-right-color: var(--color-red);
    padding-right: 20px;
}

/* =========================== */
/* RESPONSIVE */
/* =========================== */

@media (max-width: 1024px) {
    .header-container {
        gap: 20px;
    }

    .header-search {
        max-width: 300px;
    }

    .nav-list > li > a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        gap: 12px;
        padding: 10px 16px;
    }

    .header-logo {
        gap: 8px;
    }

    .header-logo svg {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .header-search {
        display: none;
    }

    .header-nav {
        border-top: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .header-nav.active {
        max-height: 300px;
        border-top: 1px solid #f0f0f0;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list > li {
        flex: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-list > li > a {
        padding: 14px 16px;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        border: none;
        box-shadow: none;
        transform: none;
        background: #f9f9f9;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }

    .dropdown-menu a {
        padding: 12px 32px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .action-icon {
        width: 36px;
        height: 36px;
    }

    .action-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        gap: 8px;
    }

    .header-logo {
        font-size: 0.95rem;
    }

    .header-actions {
        gap: 12px;
    }

    .action-icon {
        width: 32px;
        height: 32px;
    }

    .action-icon svg {
        width: 18px;
        height: 18px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    .header-promo {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .nav-list > li > a {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}

/* =========================== */
/* DROPDOWN INTERACTIONS */
/* =========================== */

/* Touch devices - make dropdown expandable */
@media (hover: none) and (pointer: coarse) {
    .nav-dropdown .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }

    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    animation: fadeIn 0.3s ease;
}

/* codex-search-overlay-v2: production search stacking repair */
.milanco-header,.mln-v5-header{position:relative!important;overflow:visible!important;z-index:2000!important}
.milanco-header .header-container,.header-search,.mln-v5-search{position:relative!important;overflow:visible!important}
.header-search,.mln-v5-search{z-index:2001!important;isolation:isolate}
.header-search .lux-search-suggest,.mln-v5-search .lux-search-suggest{position:absolute!important;inset-inline:0!important;top:calc(100% + 8px)!important;width:100%!important;max-width:100%!important;margin:0!important;z-index:2002!important;max-height:min(560px,62vh)!important;overflow:auto!important}
.mln-v5-main{position:relative;z-index:1}
@media(max-width:640px){.header-search .lux-search-suggest,.mln-v5-search .lux-search-suggest{position:fixed!important;inset-inline:10px!important;top:118px!important;width:auto!important;max-width:none!important;max-height:min(62vh,520px)!important}}

/*! milanco-final-hide-mega-menu-images-header-20260717 */
body.mln-v5-body .milanco-header .mln-mega-panel .mln-mega-image-card,
body.mln-v5-body .milanco-header .mln-mega-panel .mln-mega-image-card *,
body.mln-v5-body .milanco-header .mln-mega-panel img,
body.mln-v5-body .mln-mega-panel .mln-mega-image-card,
body.mln-v5-body .mln-mega-panel .mln-mega-image-card *,
body.mln-v5-body .mln-mega-panel img{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  max-width:0!important;
  max-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
}
body.mln-v5-body .milanco-header .mln-mega-panel .mln-mega-grid,
body.mln-v5-body .mln-mega-panel .mln-mega-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
}

/*! milanco-final-disable-mega-hover-panels-20260717 */
@media (min-width:1025px){
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav [data-mega-panel],
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-panel,
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header nav.mln-mega-nav [data-mega-panel],
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header nav.mln-mega-nav .mln-mega-panel{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    transform:none!important;
    width:0!important;
    height:0!important;
    min-width:0!important;
    min-height:0!important;
    max-width:0!important;
    max-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-item,
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header nav.mln-mega-nav .mln-mega-item{
    position:relative!important;
    overflow:visible!important;
  }
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-trigger,
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header nav.mln-mega-nav .mln-mega-trigger{
    pointer-events:auto!important;
    cursor:pointer!important;
    background:#fff!important;
    color:#4A3526!important;
    -webkit-text-fill-color:#4A3526!important;
    border:1px solid #E8E2DA!important;
    box-shadow:0 6px 14px rgba(74,53,38,.05)!important;
  }
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-trigger:hover,
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-trigger:focus-visible,
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-item.is-open > .mln-mega-trigger,
  html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-trigger[aria-expanded="true"]{
    background:#fff!important;
    color:#4A3526!important;
    -webkit-text-fill-color:#4A3526!important;
    border-color:#E8E2DA!important;
    transform:translateY(-1px)!important;
  }
}

/*! milanco-final-search-button-wide-text-20260717 */
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search,
html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search{
  min-width:260px!important;
  width:100%!important;
  max-width:720px!important;
  overflow:visible!important;
  direction:rtl!important;
}
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search form,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search form,
html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 88px!important;
  align-items:center!important;
  gap:0!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:48px!important;
  min-height:48px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #E8E2DA!important;
  border-radius:16px!important;
  box-sizing:border-box!important;
}
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search input,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search input,
html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search input,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header input[data-smart-search]{
  grid-column:1!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:48px!important;
  line-height:48px!important;
  padding:0 16px!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:#4A3526!important;
  -webkit-text-fill-color:#4A3526!important;
  font-size:14px!important;
  font-weight:650!important;
  text-align:right!important;
  direction:rtl!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  box-sizing:border-box!important;
}
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search input::placeholder,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search input::placeholder,
html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search input::placeholder{
  color:#6B6259!important;
  -webkit-text-fill-color:#6B6259!important;
  opacity:1!important;
}
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search button,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search button,
html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search button,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .search-btn{
  grid-column:2!important;
  grid-row:1!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  justify-self:center!important;
  align-self:center!important;
  width:82px!important;
  min-width:82px!important;
  max-width:82px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:3px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 82px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:0!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:#C9A063!important;
  border:1px solid #C9A063!important;
  border-radius:14px!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  z-index:1!important;
}
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search button svg,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search button svg,
html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search button svg,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .search-btn svg{display:none!important;}
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search button::after,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search button::after,
html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search button::after,
html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .search-btn::after{
  content:"جستجو"!important;
  display:inline-block!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:850!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
@media(max-width:760px){
  html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search,
  html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search,
  html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search{min-width:0!important;max-width:none!important;}
  html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search form,
  html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search form,
  html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search form{grid-template-columns:minmax(0,1fr) 78px!important;height:46px!important;min-height:46px!important;}
  html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .header-search button,
  html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .mln-v5-search button,
  html:not(.milanco-dashboard-route) body:not(.admin-body) header.mln-v5-header>.mln-v5-search button,
  html:not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header .search-btn{width:72px!important;min-width:72px!important;max-width:72px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 10px!important;}
}

/*! milanco-final-force-full-search-button-all-pages-20260717 */
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search){
  min-width:280px!important;
  width:100%!important;
  max-width:760px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search) form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 96px!important;
  grid-auto-flow:row!important;
  align-items:center!important;
  gap:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  direction:rtl!important;
  background:#fff!important;
  border:1px solid #E8E2DA!important;
  border-radius:16px!important;
  box-sizing:border-box!important;
}
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search) input,
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) input[data-smart-search]{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  line-height:48px!important;
  padding:0 16px!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#4A3526!important;
  -webkit-text-fill-color:#4A3526!important;
  font-family:Vazirmatn, Tahoma, Arial, sans-serif!important;
  font-size:14px!important;
  font-weight:650!important;
  text-align:right!important;
  direction:rtl!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  box-sizing:border-box!important;
}
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search) input::placeholder,
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) input[data-smart-search]::placeholder{
  color:#6B6259!important;
  -webkit-text-fill-color:#6B6259!important;
  opacity:1!important;
}
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search) button,
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.search-btn, button[type="submit"]){
  grid-column:2!important;
  grid-row:1!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  justify-self:center!important;
  align-self:center!important;
  width:88px!important;
  min-width:88px!important;
  max-width:88px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:3px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 88px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  font-family:Vazirmatn, Tahoma, Arial, sans-serif!important;
  font-size:0!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:0!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:#C9A063!important;
  border:1px solid #C9A063!important;
  border-radius:14px!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  z-index:2!important;
}
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search) button svg,
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) .search-btn svg{display:none!important;}
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search) button::after,
body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) .search-btn::after{
  content:"جستجو"!important;
  display:inline-block!important;
  font-family:Vazirmatn, Tahoma, Arial, sans-serif!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:850!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
@media(max-width:760px){
  body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search){min-width:0!important;max-width:none!important;}
  body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search) form{grid-template-columns:minmax(0,1fr) 84px!important;height:46px!important;min-height:46px!important;max-height:46px!important;}
  body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search) button,
  body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.search-btn, button[type="submit"]){width:78px!important;min-width:78px!important;max-width:78px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 8px!important;}
  body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) :is(.header-search, .mln-v5-search) button::after,
  body:not(.admin-body) :is(.milanco-header, header.mln-v5-header, .mln-v5-header) .search-btn::after{font-size:12.5px!important;}
}

/*! milanco-final-no-header-click-panels-20260717 */
html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav [data-mega-panel],
html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-panel,
html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header nav.mln-mega-nav [data-mega-panel],
html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) .milanco-header nav.mln-mega-nav .mln-mega-panel,
html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-item.is-open [data-mega-panel],
html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-item:hover [data-mega-panel]{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  overflow:hidden!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  box-shadow:none!important;
}
html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-trigger,
html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-item.is-open > .mln-mega-trigger,
html:not(.milanco-home-route):not(.milanco-dashboard-route) body:not(.admin-body) nav.mln-mega-nav .mln-mega-trigger[aria-expanded="true"]{
  background:#fff!important;
  color:#4A3526!important;
  -webkit-text-fill-color:#4A3526!important;
  border-color:#E8E2DA!important;
  box-shadow:0 6px 16px rgba(74,53,38,.05)!important;
}
