body.tdh-active #header { display: none !important; }
body.tdh-active { --tdh-navy:#073B91; }
#tdh-header, #tdh-header * { box-sizing:border-box; }
#tdh-header[hidden], #tdh-header [hidden] { display:none !important; }
#tdh-header {
  position:sticky; top:0; z-index:9000; width:100%; padding:16px 0 12px;
  background:#fff; font-family:"Figtree",Arial,sans-serif; color:#0b254b;
}
body.admin-bar #tdh-header { top:32px; }
#tdh-header a { text-decoration:none; }
#tdh-header button { font:inherit; cursor:pointer; }
#tdh-header a:focus-visible, #tdh-header button:focus-visible { outline:2px solid #0a6bea; outline-offset:3px; }
#tdh-header .tdh-shell {
  width:min(1800px,calc(100% - 36px)); min-height:83px; margin:0 auto;
  padding:0 clamp(14px,1.8vw,26px); background:#fff; border-radius:20px;
  box-shadow:0 8px 28px rgba(7,59,145,.12); display:flex; align-items:center;
  gap:clamp(12px,1.2vw,22px); position:relative;
}
#tdh-header .tdh-logo { display:flex; align-items:center; justify-content:flex-start; flex:0 1 175px; min-width:140px; max-width:185px; color:#0b254b; font-size:18px; font-weight:800; }
#tdh-header .tdh-logo img { display:block; width:100%; max-width:175px; height:auto; max-height:65px; object-fit:contain; object-position:left center; }
#tdh-header .tdh-desktop-nav { flex:1 1 auto; min-width:0; }
#tdh-header .tdh-nav-list { display:flex; justify-content:space-evenly; align-items:center; gap:clamp(8px,1.15vw,18px); padding:0; margin:0; list-style:none; }
#tdh-header .tdh-nav-item { list-style:none; position:static; }
#tdh-header .tdh-nav-item:not(.tdh-has-mega) { position:relative; }
#tdh-header .tdh-nav-item-inner { display:flex; align-items:center; gap:3px; white-space:nowrap; }
#tdh-header .tdh-top-link { color:#0b254b; font-size:clamp(12px,.79vw,15px); font-weight:700; white-space:nowrap; padding:12px 0; }
#tdh-header .tdh-top-link:hover, #tdh-header .tdh-has-mega.is-open .tdh-top-link { color:#0863ed; }
#tdh-header .tdh-new { font-size:9px; background:#11a9ff; color:#fff; border-radius:2px; padding:3px 4px; font-weight:700; vertical-align:super; margin-left:4px; }
#tdh-header .tdh-mega-toggle { background:transparent; border:0; color:#082451; display:grid; place-items:center; width:23px; height:30px; padding:0; }
#tdh-header .tdh-mega-toggle svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
#tdh-header .tdh-has-mega.is-open .tdh-mega-toggle svg { transform:rotate(180deg); }
#tdh-header .tdh-mega-panel {
  display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%);
  width:min(1650px,calc(100vw - 34px)); max-height:calc(100dvh - 125px);
  overflow-y:auto; overscroll-behavior:contain; padding:0; z-index:9100;
  background:#fff; border-radius:12px; box-shadow:0 16px 33px rgba(4,31,67,.22);
}
#tdh-header .tdh-has-mega.is-open .tdh-mega-panel { display:block; }
#tdh-header .tdh-simple-submenu { display:none; position:absolute; top:100%; padding:12px; min-width:190px; background:#fff; border:1px solid #dae5f2; box-shadow:0 10px 25px rgba(7,59,145,.1); list-style:none; border-radius:10px; margin:0; }
#tdh-header .tdh-nav-item:hover .tdh-simple-submenu, #tdh-header .tdh-nav-item:focus-within .tdh-simple-submenu { display:block; }
#tdh-header .tdh-simple-submenu a { color:#082451; display:block; padding:8px; }
#tdh-header .tdh-desktop-market { flex:0 0 auto; }
#tdh-header .tdh-quote { display:inline-flex; align-items:center; justify-content:center; min-height:46px; flex:0 0 auto; white-space:nowrap; padding:0 16px; border-radius:16px; background:#073B91; color:white; font-weight:700; font-size:14px; }
#tdh-header .tdh-quote:hover { background:#0b5bc2; color:white; }
#tdh-header .tdh-phone { display:inline-flex; align-items:center; gap:9px; flex:0 0 auto; white-space:nowrap; padding:9px 8px; color:#073B91; font-size:clamp(12px,.95vw,18px); font-weight:800; }
#tdh-header .tdh-phone svg { display:block; width:29px; height:29px; fill:none; stroke:#073B91; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
#tdh-header .tdh-burger { display:none; border:1px solid #dce6f2; border-radius:11px; background:#fff; color:#073B91; width:46px; height:46px; place-items:center; flex:0 0 46px; }
#tdh-header .tdh-burger svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
#tdh-header .tdh-drawer { position:absolute; top:100%; right:18px; width:min(430px,calc(100vw - 36px)); background:#fff; box-shadow:0 16px 33px rgba(4,31,67,.22); border:1px solid #deebf8; border-radius:15px; padding:18px; max-height:calc(100dvh - 115px); overflow:auto; z-index:9200; }
#tdh-header .tdh-drawer-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; font-size:17px; }
#tdh-header .tdh-drawer-close { font-size:30px; border:0; background:transparent; color:#073B91; line-height:1; }
#tdh-header .tdh-mobile-group { border-bottom:1px solid #ecf1f6; }
#tdh-header .tdh-mobile-row { display:flex; justify-content:space-between; align-items:center; gap:8px; min-height:51px; }
#tdh-header .tdh-mobile-row a { font-size:15px; font-weight:700; color:#082451; }
#tdh-header .tdh-mobile-expand { border:0; background:#edf5ff; color:#073B91; border-radius:8px; width:34px; height:34px; font-size:22px; }
#tdh-header .tdh-mobile-sub { padding:0 0 12px 12px; }
#tdh-header .tdh-mobile-sub a { display:block; padding:9px 5px; color:#435c7c; font-size:13px; }
#tdh-header .tdh-mobile-market { margin:18px 0; }
#tdh-header .tdh-mobile-quote { display:block; text-align:center; padding:12px 15px; border-radius:10px; background:#073B91; color:#fff; font-weight:700; }
#tdh-header .tdh-mobile-call { display:block; text-align:center; color:#073B91; padding-top:15px; font-weight:700; }

/* TAMIMAH MARKET SELECTOR: original plugin uses #header; mirror it under the new root */
#tdh-header .tamimah-ms { --tms-navy:#073B91; display:inline-flex; align-items:center; gap:8px; flex-wrap:nowrap; width:max-content; max-width:100%; font-family:"Figtree",sans-serif; }
#tdh-header .tamimah-ms select[hidden] { display:none !important; }
#tdh-header .tamimah-ms__field { position:relative; display:flex; align-items:center; flex:0 0 auto; height:44px; min-height:44px; border:1px solid #dce6f2; border-radius:10px; background:#fff; }
#tdh-header .tamimah-ms__field--lang { width:138px; }
#tdh-header .tamimah-ms__field--country { width:151px; }
#tdh-header .tamimah-ms__trigger { display:flex !important; align-items:center !important; gap:7px; width:100% !important; height:100% !important; min-height:0 !important; min-width:0; margin:0 !important; padding:0 10px !important; border:0 !important; border-radius:9px !important; background:transparent !important; box-shadow:none !important; color:#073B91 !important; font-size:12.5px !important; font-weight:600 !important; line-height:1.2 !important; white-space:nowrap; text-align:left; }
#tdh-header .tamimah-ms__selected-name { display:block; flex:0 1 auto; min-width:0; white-space:nowrap; }
#tdh-header .tamimah-ms__globe, #tdh-header .tamimah-ms__chevron { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; line-height:0; }
#tdh-header .tamimah-ms__chevron { margin-left:auto; }
#tdh-header .tamimah-ms__trigger[aria-expanded="true"] .tamimah-ms__chevron { transform:rotate(180deg); }
#tdh-header .tamimah-ms__flag, #tdh-header .tamimah-ms__option-flag { font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; flex:0 0 auto; font-size:21px; line-height:1; }
#tdh-header .tamimah-ms__menu { position:absolute; top:calc(100% + 8px); right:0; z-index:9500; display:flex; flex-direction:column; gap:2px; width:245px; max-width:90vw; max-height:340px; overflow-y:auto; padding:7px; border:1px solid #dce6f2; border-radius:12px; background:#fff; box-shadow:0 14px 42px rgba(7,32,77,.15); }
#tdh-header .tamimah-ms__menu--lang { right:auto; left:0; width:165px; }
#tdh-header .tamimah-ms__option { display:flex !important; align-items:center !important; justify-content:flex-start !important; gap:11px; width:100% !important; min-height:42px !important; margin:0 !important; padding:9px 11px !important; border:0 !important; border-radius:8px !important; background:#fff !important; color:#17355e !important; box-shadow:none !important; font-size:13px !important; font-weight:500 !important; line-height:1.4 !important; text-align:left !important; }
#tdh-header .tamimah-ms__option:hover, #tdh-header .tamimah-ms__option:focus-visible { background:#f0f6ff !important; }
#tdh-header .tamimah-ms__option[aria-selected="true"] { background:#edf5ff !important; font-weight:700 !important; }
#tdh-header .tamimah-ms__tick { display:none; margin-left:auto; }
#tdh-header .tamimah-ms__option[aria-selected="true"] .tamimah-ms__tick { display:block; }

@media(max-width:1749px) {
  #tdh-header .tdh-phone span { display:none; }
  #tdh-header .tdh-phone { padding:8px 0; }
}
@media(max-width:1549px) {
  #tdh-header .tdh-desktop-nav { display:none; }
  #tdh-header .tdh-burger { display:grid; }
  #tdh-header .tdh-shell { justify-content:space-between; }
  #tdh-header .tdh-logo { margin-right:auto; }
  #tdh-header .tamimah-ms__field--lang { width:127px; }
  #tdh-header .tamimah-ms__field--country { width:139px; }
}
@media(max-width:767px) {
  #tdh-header { padding:9px 0; }
  #tdh-header .tdh-shell { width:calc(100% - 20px); padding:0 12px; min-height:70px; border-radius:13px; gap:9px; }
  #tdh-header .tdh-logo { flex:0 1 145px; min-width:95px; max-width:145px; }
  #tdh-header .tdh-logo img { max-height:55px; }
  #tdh-header .tdh-desktop-market { display:none; }
  #tdh-header .tdh-quote { min-height:39px; padding:0 10px; font-size:11px; border-radius:10px; }
  #tdh-header .tdh-phone svg { width:23px; height:23px; }
  #tdh-header .tdh-burger { width:41px; height:41px; flex-basis:41px; }
  #tdh-header .tdh-drawer { right:10px; }
}
@media(max-width:520px) {
  #tdh-header .tdh-quote { display:none; }
  #tdh-header .tdh-phone { padding:4px; }
  #tdh-header .tdh-logo { margin-right:auto; }
}
@media(max-width:782px) {
  body.admin-bar #tdh-header { top:46px; }
}
[dir="rtl"] #tdh-header .tdh-logo img { object-position:right center; }
[dir="rtl"] #tdh-header .tdh-mega-panel { left:50%; }
[dir="rtl"] #tdh-header .tdh-drawer { right:auto; left:18px; }
[dir="rtl"] #tdh-header .tamimah-ms__trigger, [dir="rtl"] #tdh-header .tamimah-ms__option { text-align:right !important; }
[dir="rtl"] #tdh-header .tamimah-ms__chevron, [dir="rtl"] #tdh-header .tamimah-ms__tick { margin-right:auto; margin-left:0; }
[dir="rtl"] #tdh-header .tamimah-ms__menu--lang { right:0; left:auto; }
@media(prefers-reduced-motion:reduce) { #tdh-header * { transition:none !important; } }
