.eco-site-header {
  --eco-header-bg: #07111e;
  --eco-header-panel: #101a27;
  --eco-header-cyan: #4ee7f0;
  --eco-header-yellow: #ffd700;
  position: relative;
  z-index: 110;
  color: #fff;
  font-family: Alexandria, sans-serif;
}
html[data-theme="light"] .eco-site-header { --eco-header-bg:#fff; --eco-header-panel:#f6f9fc; --eco-header-cyan:#08a8bd; color:#0b1728; }
html[data-theme="light"] .eco-desktop-menu>li>a,html[data-theme="light"] .eco-desktop-submenu a,html[data-theme="light"] .eco-desktop-search,html[data-theme="light"] .eco-mobile-icon-button,html[data-theme="light"] .eco-mobile-menu-button,html[data-theme="light"] .eco-account,html[data-theme="light"] .eco-language>button,html[data-theme="light"] .eco-mobile-menu-row>a,html[data-theme="light"] .eco-mobile-menu-row>button { color:#0b1728; }
html[data-theme="light"] .eco-desktop-logo img,html[data-theme="light"] .eco-mobile-logo img { filter:none; }
html[data-theme="light"] .eco-desktop-submenu,html[data-theme="light"] .eco-language-menu button,html[data-theme="light"] .eco-language-compact .eco-language-menu { background:#fff;color:#0b1728;border-color:rgba(11,23,40,.12); }
.eco-theme-toggle { display:grid; width:36px; min-width:36px; height:36px; padding:0; place-items:center; border:1px solid rgba(174,189,205,.28); border-radius:999px; background:transparent; color:var(--eco-header-cyan); }
.eco-theme-toggle svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.eco-site-header *, .eco-site-header *::before, .eco-site-header *::after { box-sizing: border-box; }
.eco-site-header button, .eco-site-header input { font: inherit; }
.eco-site-header ul { margin: 0; padding: 0; list-style: none; }
.eco-desktop-header { position: sticky; top: 0; z-index: 110; min-height: 52px; border-top: 2px solid var(--eco-header-yellow); border-bottom: 1px solid rgba(255,255,255,.08); background: var(--eco-header-bg); }
.eco-desktop-inner { display: flex; width: min(100% - 28px,1480px); min-height: 50px; margin: 0 auto; align-items: center; gap: 10px; }
.eco-desktop-logo { display: flex; width: 104px; min-width: 104px; align-items: center; justify-content: center; }
.eco-desktop-logo img { display: block; width: 100px; max-width: 100px; max-height: 38px; object-fit: contain; filter: brightness(0) invert(1); }
.eco-desktop-nav { min-width: 0; flex: 1 1 auto; align-self: stretch; }
.eco-desktop-menu { display: flex; height: 100%; align-items: stretch; justify-content: center; white-space: nowrap; gap: 0; }
.eco-desktop-menu>li { position: relative; display: flex; align-items: stretch; }
.eco-desktop-menu>li>a { display: flex; min-height: 50px; align-items: center; gap: 6px; padding: 7px clamp(6px,.64vw,11px); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.25; text-decoration: none; }
.eco-desktop-menu>li:hover>a,.eco-desktop-menu>li:focus-within>a,.eco-desktop-menu>li.current>a { background: rgba(255,255,255,.045); color: var(--eco-header-cyan); }
.eco-menu-icon { display: block; width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.eco-chevron { display: block; width: 12px; height: 12px; flex: 0 0 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.eco-desktop-submenu { position: absolute; z-index: 140; top: 100%; inset-inline-start: 0; display: block; min-width: 205px; padding: 5px 0!important; border: 1px solid rgba(255,255,255,.12); border-top: 2px solid var(--eco-header-yellow); border-radius: 0 0 8px 8px; background: var(--eco-header-panel); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(5px); box-shadow: 0 16px 34px rgba(0,0,0,.35); transition: .16s ease; }
.eco-desktop-menu li:hover>.eco-desktop-submenu,.eco-desktop-menu li:focus-within>.eco-desktop-submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.eco-desktop-submenu a { display: block; padding: 9px 13px; color: #fff; font-size: 11px; text-decoration: none; }
.eco-desktop-submenu a:hover { background: #1b2938; color: var(--eco-header-cyan); }
.eco-desktop-search,.eco-mobile-icon-button,.eco-mobile-menu-button { display: grid; width: 38px; min-width: 38px; height: 36px; padding: 0; place-items: center; border: 0; background: transparent; color: #fff; cursor: pointer; }
.eco-search-icon { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.eco-account { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.eco-account svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.eco-language { position: relative; padding-block: 7px; margin-block: -7px; }
.eco-language>button { display: flex; height: 36px; align-items: center; gap: 4px; padding: 5px; border: 0; background: transparent; color: #fff; font-size: 14px; cursor: pointer; }
.eco-language-menu { position: absolute; z-index: 150; top: 100%; inset-inline-end: 0; display: grid; min-width: 145px; padding-top: 8px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(5px); transition: .16s ease; }
.eco-language.is-open .eco-language-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.eco-language-menu button { display: flex; min-height: 38px; padding: 9px 13px; align-items: center; justify-content: space-between; gap: 14px; border: 0; background: #fff; color: #202020; font-size: 12px; cursor: pointer; }
.eco-mobile-header,.eco-mobile-drawer { display: none; }
.eco-search-overlay { position: fixed; z-index: 300; inset: 0; display: grid; padding: 72px 16px 16px; place-items: start center; background: rgba(2,6,23,.88); opacity: 0; visibility: hidden; pointer-events: none; transition: .16s ease; }
.eco-search-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.eco-search-close,.eco-close-button { position: absolute; top: 15px; inset-inline-end: 15px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; background: transparent; color: #fff; cursor: pointer; }
.eco-search-close svg,.eco-close-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.eco-search-shell { width: min(560px,calc(100vw - 32px)); padding: 14px; border: 1px solid rgba(78,231,240,.45); border-radius: 12px; background: var(--eco-header-bg); }
.eco-search-logo { display: flex; height: 48px; margin-bottom: 10px; align-items: center; justify-content: center; }
.eco-search-logo img { width: 105px; max-height: 45px; object-fit: contain; filter: brightness(0) invert(1); }
.eco-search-shell form { display: flex; gap: 6px; }
.eco-search-shell input { min-width: 0; height: 40px; flex: 1; padding: 0 13px; border: 0; border-radius: 7px; outline: 0; background: #fff; color: #202020; font-size: 13px; }
.eco-search-shell form button { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; background: var(--eco-header-bg); color: #fff; }
body.eco-header-lock { overflow: hidden!important; }

@media (min-width:1025px) {
  .eco-language:hover .eco-language-menu,.eco-language:focus-within .eco-language-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .eco-search-overlay { display: block; padding: 0; background: transparent; pointer-events: none; }
  .eco-search-close,.eco-search-logo { display: none; }
  .eco-search-shell { position: absolute; top: 64px; left: 50%; width: min(560px,calc(100vw - 32px)); height: 48px; padding: 5px; transform: translateX(-50%); pointer-events: auto; }
  .eco-search-shell form,.eco-search-shell input { height: 36px; }
}

@media (max-width:1024px) {
  .eco-site-header { height: 55px; min-height: 55px; }
  .eco-desktop-header { display: none; }
  .eco-mobile-header { position: fixed; inset: 0 0 auto; z-index: 210; display: block; width: 100vw; height: 55px; border-top: 4px solid #43a98f; background: #1c1c1c; }
  .eco-mobile-inner { display: grid; grid-template-columns: 42px minmax(82px,1fr) 42px 42px auto; width: 100%; height: 51px; padding: 0 14px; align-items: center; gap: 8px; direction: ltr; }
  .eco-site-header[dir="rtl"] .eco-mobile-inner { direction: rtl; }
  .eco-mobile-menu-button,.eco-mobile-icon-button,.eco-language-compact>button { width: 42px; min-width: 42px; height: 42px; min-height: 42px; }
  .eco-mobile-menu-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
  .eco-mobile-menu-button span { display: block; width: 23px; height: 2px; border-radius: 2px; background: currentColor; }
  .eco-mobile-logo { display: flex; min-width: 0; height: 50px; align-items: center; justify-content: center; overflow: hidden; }
  .eco-mobile-logo img { display: block; width: auto; height: 42px; max-width: 118px; max-height: 42px; object-fit: contain; filter: brightness(0) invert(1); }
  .eco-mobile-icon-button .eco-search-icon { width: 24px; height: 24px; stroke-width: 2.4; }
  .eco-language-compact { height: 42px; padding: 0; margin: 0; }
  .eco-language-compact>button { justify-content: center; gap: 4px; padding: 0; font-size: 18px; }
  .eco-language-compact .eco-language-menu { top: 48px; min-width: 145px; padding: 6px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: #252525; }
  .eco-language-compact .eco-language-menu button { padding: 10px 12px; border-radius: 7px; background: #252525; color: #fff; font-size: 14px; }
  .eco-mobile-drawer { position: fixed; z-index: 260; inset: 0; display: block; opacity: 0; visibility: hidden; pointer-events: none; }
  .eco-mobile-drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .eco-mobile-panel { position: absolute; z-index: 2; inset-block: 0; inset-inline-start: 0; display: flex; width: min(38.22vw,160px); padding: 62px 12px 22px; flex-direction: column; overflow-y: auto; border-top: 4px solid #43a98f; background: #1c1c1c; transform: translateX(-102%); transition: transform .28s ease; }
  .eco-site-header[dir="rtl"] .eco-mobile-panel { transform: translateX(102%); }
  .eco-mobile-drawer.is-open .eco-mobile-panel { transform: translateX(0); }
  .eco-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(0,0,0,.62); }
  .eco-mobile-nav { flex: 1; }
  .eco-mobile-menu>li { border-bottom: 1px solid rgba(255,255,255,.09); }
  .eco-mobile-menu-row { display: flex; align-items: stretch; }
  .eco-mobile-menu-row>a { display: flex; min-height: 44px; min-width: 0; flex: 1; align-items: center; gap: 6px; padding: 11px 2px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.25; text-decoration: none; }
  .eco-mobile-menu-row>button { display: grid; width: 22px; flex: 0 0 22px; place-items: center; border: 0; background: transparent; color: #fff; }
  .eco-mobile-menu>li.current>.eco-mobile-menu-row { background: rgba(255,255,255,.045); }
  .eco-mobile-menu>li.current>.eco-mobile-menu-row>a { color: var(--eco-header-cyan); }
  .eco-mobile-submenu { padding: 0 8px 8px!important; }
  .eco-mobile-submenu a { display: block; padding: 6px 2px; color: #cfd8d5; font-size: 12px; text-decoration: none; }
  .eco-mobile-account { display: block; margin-top: 16px; padding: 9px 6px; border-radius: 8px; background: #43a98f; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.35; text-align: center; text-decoration: none; }
  .eco-close-button { top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; padding: 5px; }
  .eco-close-button svg,.eco-search-close svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
  .eco-search-overlay { display: flex; padding: 82px 20px 30px; align-items: flex-start; justify-content: center; background: #1c1c1c; }
  .eco-search-shell { width: 100%; max-width: 620px; padding: 0; border: 0; background: transparent; }
  .eco-search-logo { height: auto; margin-bottom: 34px; }
  .eco-search-logo img { width: auto; height: 58px; filter: brightness(0) invert(1); }
  .eco-search-shell form { min-height: 58px; gap: 0; overflow: hidden; border-radius: 12px; background: #fff; }
  .eco-search-shell input { height: 58px; border-radius: 0; font-size: 15px; }
  .eco-search-shell form button { width: 58px; height: 58px; border: 0; border-radius: 0; background: #43a98f; }
}

@media (max-width:640px) {
  .eco-site-header { height: 44px; min-height: 44px; }
  .eco-mobile-header { position: sticky; width: 100%; height: 44px; border-top: 3px solid var(--eco-header-yellow); background: var(--eco-header-bg); }
  .eco-mobile-inner { grid-template-columns: 34px minmax(76px,1fr) 34px 34px 34px; height: 41px; padding: 0 11px; gap: 6px; }
  .eco-theme-toggle { width:34px; min-width:34px; height:34px; }
  .eco-mobile-menu-button,.eco-mobile-icon-button,.eco-language-compact>button { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
  .eco-mobile-menu-button span { width: 18px; }
  .eco-mobile-logo img { height: 34px; max-height: 34px; }
  .eco-mobile-icon-button .eco-search-icon { width: 18px; height: 18px; }
  .eco-language-compact { width: 34px; height: 34px; }
  .eco-language-compact>button { gap: 3px; font-size: 14px; }
  .eco-language-compact>button>span { font-size: 10px; }
  .eco-language-compact .eco-language-menu { top: 40px; }
  .eco-mobile-panel { border-top: 3px solid var(--eco-header-yellow); background: var(--eco-header-bg); font-family: "IBM Plex Sans",Arial,sans-serif; }
  .eco-site-header[dir="rtl"] .eco-mobile-panel { font-family: Alexandria,sans-serif; }
  .eco-mobile-nav { flex: 0 0 auto; }
  .eco-mobile-menu-row>a { min-height: 0; font-size: 11px; font-weight: 700; }
  .eco-mobile-menu-row>a .eco-menu-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .eco-mobile-menu-row>button { width: 18px; flex-basis: 18px; }
  .eco-mobile-menu-row>button .eco-chevron { width: 11px; height: 11px; }
  .eco-mobile-menu>li.item-trade .eco-mobile-menu-row>a::before { display: block; width: 22px; height: 22px; flex: 0 0 22px; content: ""; background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12Z' stroke='%23FFD700' stroke-width='1.5'/%3E%3Cpath d='M15 12H9M12 9V15' stroke='%23FFD700' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
  .eco-mobile-account { width: 100%; background: var(--eco-header-yellow); color: #1c1c1c; font-family: "IBM Plex Sans Arabic","IBM Plex Sans",Arial,sans-serif; }
}
