/*
  DrAlaa Clinic compact nav V17 | Arabic homepage only.
  Woodmart verified general header has empty left/right columns around center nav.
  RTL visual order: EMAIL (right) — MAIN MENU (center) — SEARCH (left).
  Does not alter Elementor contents, mobile menu, bookings or post data.
*/
body.dc17-active {
  --dc17-green:#176d57;
  --dc17-deep:#133f35;
  --dc17-muted:#63766e;
  --dc17-gold:#b99459;
  --dc17-line:#dde9e1;
}
@media(min-width:1025px) {
  body.dc17-active .whb-header .whb-general-header {
    background:#fff !important;
    border-bottom:1px solid #e0e9e3 !important;
    box-shadow:0 3px 15px rgba(17,65,49,.035) !important;
    min-height:0 !important;
    height:auto !important;
  }
  body.dc17-active .whb-header .whb-general-header > .container {
    box-sizing:border-box;
    width:calc(100% - clamp(36px,4.3vw,88px)) !important;
    max-width:1500px !important;
    margin-inline:auto !important;
    padding:0 !important;
  }
  body.dc17-active .whb-header .whb-general-header .whb-general-header-inner.dc17-nav-ready {
    box-sizing:border-box;
    direction:rtl;
    display:grid !important;
    grid-template-columns:minmax(175px,260px) minmax(390px,1fr) minmax(220px,300px) !important;
    align-items:center !important;
    justify-content:stretch !important;
    column-gap:clamp(12px,1.7vw,28px);
    width:100%;
    max-width:100%;
    min-height:63px !important;
    height:auto !important;
    padding-block:4px !important;
    margin:0 !important;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready > .whb-col-left,
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready > .whb-col-center,
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready > .whb-col-right {
    box-sizing:border-box;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    flex:none !important;
    margin:0 !important;
    padding:0 !important;
    align-self:center !important;
    height:auto !important;
    min-height:0 !important;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready > .whb-col-left {
    display:flex !important;
    align-items:center;
    justify-content:flex-start;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready > .whb-col-center {
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready > .whb-col-right {
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready .wd-header-nav {
    display:flex;
    justify-content:center;
    align-items:center;
    min-width:0;
    width:100%;
    margin:0 !important;
    padding:0 !important;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready .wd-nav {
    display:flex !important;
    flex-wrap:nowrap;
    justify-content:center;
    align-items:center;
    gap:clamp(4px,.6vw,12px);
    width:max-content;
    max-width:100%;
    min-height:55px !important;
    margin:0 !important;
    padding:0 !important;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready .wd-nav > li {
    min-height:55px !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    white-space:nowrap;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready .wd-nav > li > a {
    min-height:55px !important;
    height:auto !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    padding:7px clamp(6px,.65vw,11px) !important;
    font-family:"Almarai",Tahoma,Arial,sans-serif;
    font-size:clamp(12px,.88vw,14px) !important;
    font-weight:700 !important;
    color:#2c5446 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    transition:color .2s ease;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready .wd-nav > li.current-menu-item > a,
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready .wd-nav > li:hover > a {
    color:#11664f !important;
    box-shadow:inset 0 -2px 0 var(--dc17-gold) !important;
  }
}
body.dc17-active .whb-header .whb-general-header .dc17-email {
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  direction:ltr;
  text-decoration:none !important;
  max-width:100%;
  min-width:0;
  color:var(--dc17-deep) !important;
  font-family:"Almarai",Tahoma,Arial,sans-serif;
  transition:color .2s ease;
}
body.dc17-active .whb-header .whb-general-header .dc17-email-icon {
  display:grid;
  place-items:center;
  flex:0 0 31px;
  width:31px;
  height:31px;
  border-radius:50%;
  background:#eaf5ee;
  color:#15745d;
}
body.dc17-active .whb-header .whb-general-header .dc17-email-icon svg {
  display:block;width:17px;height:17px;fill:none;
  stroke:currentColor;stroke-width:1.8;
  stroke-linejoin:round;stroke-linecap:round;
}
body.dc17-active .whb-header .whb-general-header .dc17-email-copy {
  display:flex;flex-direction:column;min-width:0;gap:2px;line-height:1.3;
  align-items:flex-start;
}
body.dc17-active .whb-header .whb-general-header .dc17-email-label {
  color:#6a7d72;font:600 10px/1.25 "Almarai",Tahoma,Arial,sans-serif;
}
body.dc17-active .whb-header .whb-general-header .dc17-email-address {
  color:#1b5042;font:700 clamp(10.2px,.80vw,12.8px)/1.5 Arial,Tahoma,sans-serif;
  letter-spacing:-.1px;
  white-space:nowrap;
}
body.dc17-active .whb-header .whb-general-header .dc17-search {
  display:flex;
  direction:rtl;
  align-items:center;
  box-sizing:border-box;
  width:100%;
  max-width:300px;
  min-width:0;
  min-height:41px;
  margin:0 !important;
  padding:3px 3px 3px 5px;
  border:1px solid #d8e4dc;
  border-radius:999px;
  background:#fff;
  box-shadow:0 3px 10px rgba(14,69,46,.045);
  transition:border-color .2s ease,box-shadow .2s ease;
}
body.dc17-active .whb-header .whb-general-header .dc17-search:focus-within {
  border-color:#83b9a0;
  box-shadow:0 0 0 3px rgba(30,129,94,.11);
}
body.dc17-active .whb-header .whb-general-header .dc17-search input[type="search"] {
  flex:1 1 auto;display:block;
  box-sizing:border-box;min-width:0;width:100%;min-height:32px;
  height:32px !important;
  padding:0 13px !important;margin:0 !important;
  border:0 !important;outline:0 !important;box-shadow:none !important;
  background:transparent !important;color:#254f43 !important;
  font:500 12.5px/1.5 "Almarai",Tahoma,Arial,sans-serif !important;
  text-align:right;
  -webkit-appearance:none;
}
body.dc17-active .whb-header .whb-general-header .dc17-search input[type="search"]::placeholder {
  color:#82918a;opacity:1;
}
body.dc17-active .whb-header .whb-general-header .dc17-search button {
  flex:0 0 36px;display:grid;place-items:center;
  box-sizing:border-box;width:36px;height:34px;min-width:36px;
  min-height:34px;padding:0 !important;margin:0 !important;
  border:0 !important;border-radius:999px !important;
  background:#176f55 !important;color:#fff !important;
  box-shadow:none !important;
  cursor:pointer;
  transition:background-color .2s ease,transform .2s ease;
}
body.dc17-active .whb-header .whb-general-header .dc17-search button svg {
  width:17px;height:17px;stroke:currentColor;fill:none;
  stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;
}
body.dc17-active .whb-header .whb-general-header .dc17-search button:focus-visible,
body.dc17-active .whb-header .whb-general-header .dc17-email:focus-visible {
  outline:2px solid #bf9357 !important;outline-offset:3px;
}
body.dc17-active .whb-header .whb-general-header .dc17-nav-en-item {
  display:none !important;
}
body.dc17-active .whb-header .whb-top-bar .dc16-language-slot {
  display:flex !important;
}
@media(hover:hover) and (pointer:fine) {
  body.dc17-active .whb-header .whb-general-header .dc17-search button:hover {
    background:#0d5946 !important;transform:scale(1.04);
  }
  body.dc17-active .whb-header .whb-general-header .dc17-email:hover .dc17-email-address {
    color:#12765a;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-email:hover .dc17-email-icon {
    background:#d8efe2;color:#0b5c49;
  }
}
/* The previous top strip reserved a fourth column for EN.
   Now that EN is removed, restore the clean original 3-part balance. */
@media(min-width:1025px) {
  body.dc17-active .whb-header .whb-top-bar .dc16-topbar {
    grid-template-columns:minmax(70px,86px) minmax(0,1fr) minmax(150px,190px) 66px !important;
    column-gap:clamp(10px,1.8vw,28px) !important;
  }
}
/* Below desktop breakpoint, retain Woodmart's own responsive menu/search. */
@media(max-width:1024px) {
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready > .whb-col-left .dc17-email,
  body.dc17-active .whb-header .whb-general-header .dc17-nav-ready > .whb-col-right .dc17-search {
    display:none !important;
  }
  body.dc17-active .whb-header .whb-general-header .whb-general-header-inner {
    min-height:0;
  }
}
/* Between 1025 and 1220px, reduce side-columns before shrinking links. */
@media(min-width:1025px) and (max-width:1220px) {
  body.dc17-active .whb-header .whb-general-header .whb-general-header-inner.dc17-nav-ready {
    grid-template-columns:minmax(160px,205px) minmax(340px,1fr) minmax(178px,228px) !important;
    gap:9px;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-email {gap:6px}
  body.dc17-active .whb-header .whb-general-header .dc17-email-icon {
    width:27px;height:27px;flex-basis:27px;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-email-address {
    font-size:10.6px;
  }
  body.dc17-active .whb-header .whb-general-header .dc17-search input[type="search"] {
    font-size:11.5px !important;padding-inline:9px !important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.dc17-active .whb-header .whb-general-header .dc17-search *,
  body.dc17-active .whb-header .whb-general-header .dc17-email * {
    transition:none !important;transform:none !important;animation:none !important;
  }
}
