/* One compact tool row: equipment search, contact, account and cart. */
.egb-site-header .egb-header-inner { position:relative; max-width:1488px; min-height:88px; padding:16px 32px; gap:24px; flex-wrap:nowrap; margin-block:0; }
.egb-header-inner .egb-brand { font-size:24px; letter-spacing:-.9px; text-transform:uppercase; }
.egb-header-inner .egb-brand img { width:32px; height:32px; }
.egb-header-catalog { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; min-height:48px; padding:0 24px; border-radius:6px; color:#fff; background:var(--wp--preset--color--signal); font-weight:600; text-decoration:none; }
.egb-product-search { display:flex; flex:1 1 320px; max-width:none; min-width:0; margin:0; min-height:48px; border:1px solid var(--wp--preset--color--line); border-radius:6px; background:var(--wp--preset--color--mist); }
.egb-product-search input[type="search"] { width:100%; min-width:0; background:transparent; color:var(--wp--preset--color--carbon); border:0; padding:12px 16px; font:inherit; }
.egb-product-search button { flex-shrink:0; min-height:48px; padding:0 16px; border:0; border-left:1px solid var(--wp--preset--color--line); border-radius:0 6px 6px 0; background:transparent; color:var(--wp--preset--color--carbon); font:600 15px/1.3 var(--wp--preset--font-family--body); cursor:pointer; }
.egb-header-inner .wp-block-navigation { flex:0 0 auto; margin:0; }
.egb-header-inner .wp-block-navigation__container { gap:24px; }
.egb-catalog-disclosure { flex-shrink:0; margin:0; padding:0; border:0; }
.egb-catalog-disclosure summary { list-style:none; cursor:pointer; gap:12px; user-select:none; }
.egb-catalog-disclosure summary::-webkit-details-marker { display:none; }
.egb-catalog-chevron { width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); }
.egb-catalog-disclosure[open] .egb-catalog-chevron { transform:rotate(225deg) translate(-2px,-1px); }
.egb-catalog-disclosure[open] > summary { background:var(--wp--preset--color--carbon); }
.egb-catalog-panel { position:absolute; z-index:1000; top:calc(100% - 4px); left:32px; width:min(880px,calc(100% - 64px)); box-sizing:border-box; max-height:calc(100dvh - 160px); overflow:auto; overscroll-behavior:contain; border:1px solid var(--wp--preset--color--line); border-radius:8px; background:var(--wp--preset--color--white); color:var(--wp--preset--color--carbon); box-shadow:0 16px 40px #13243a26; padding:24px; }
.egb-catalog-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:16px; border-bottom:1px solid var(--wp--preset--color--line); }
.egb-catalog-panel-heading > strong { font:700 21px/1.3 var(--wp--preset--font-family--display); letter-spacing:-.025em; }
.egb-catalog-close { flex-shrink:0; white-space:nowrap; min-height:44px; padding:8px 12px; border:1px solid var(--wp--preset--color--line); border-radius:5px; background:var(--wp--preset--color--white); color:var(--wp--preset--color--graphite); font:600 14px/1.4 var(--wp--preset--font-family--body); cursor:pointer; }
.egb-catalog-close span { margin-left:8px; font-size:20px; }
.egb-catalog-panel-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:24px; padding-top:20px; }
.egb-catalog-categories,.egb-catalog-categories .children { list-style:none; padding:0; margin:0; }
.egb-catalog-categories > li { border-bottom:1px solid var(--wp--preset--color--line); }
.egb-catalog-categories > li > a { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:60px; padding:12px; box-sizing:border-box; border-radius:5px; font:600 18px/1.35 var(--wp--preset--font-family--display); text-decoration:none; }
.egb-catalog-categories > li > a::after { content:'→'; font:400 20px/1 var(--wp--preset--font-family--body); color:var(--wp--preset--color--signal); }
.egb-catalog-categories .children { margin:0 12px 12px; padding-left:12px; border-left:1px solid var(--wp--preset--color--line); }
.egb-catalog-categories .children a { display:block; min-height:44px; box-sizing:border-box; padding:10px; font-size:15px; line-height:1.5; text-decoration:none; }
.egb-catalog-categories a:hover,.egb-catalog-categories .current-cat > a { background:var(--wp--preset--color--mist); color:var(--wp--preset--color--signal); }
.egb-catalog-all { display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:12px; margin-top:12px; font-weight:600; color:var(--wp--preset--color--signal); text-underline-offset:4px; }
.egb-catalog-help { padding:20px; border-radius:6px; background:var(--wp--preset--color--mist); }
.egb-catalog-help-label { margin:0 0 14px; font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--wp--preset--color--signal); }
.egb-catalog-help strong { display:block; font:700 21px/1.35 var(--wp--preset--font-family--display); letter-spacing:-.025em; }
.egb-catalog-help p:not(.egb-catalog-help-label) { font-size:15px; line-height:1.55; margin:12px 0; color:var(--wp--preset--color--graphite); }
.egb-catalog-help a { display:block; box-sizing:border-box; min-height:44px; padding-block:10px; font-size:15px; font-weight:600; color:var(--wp--preset--color--signal); text-underline-offset:4px; }
.egb-catalog-panel :is(a,button):focus-visible,.egb-catalog-disclosure > summary:focus-visible { outline:3px solid var(--wp--preset--color--signal); outline-offset:3px; }
@media (max-width:1100px) {
  .egb-header-inner { flex-wrap:wrap; gap:16px; }
  .egb-header-inner > .egb-product-search { order:4; flex-basis:100%; max-width:none; }
  .egb-header-inner .wp-block-navigation { margin-left:auto; }
  .egb-catalog-panel { max-height:calc(100dvh - 230px); }
}
@media (max-width:600px) {
  .egb-header-inner { padding:12px; gap:10px; }
  .egb-header-inner .egb-brand { font-size:19px; gap:6px; }
  .egb-header-inner .egb-brand img { width:26px; height:26px; }
  .egb-header-catalog { min-height:44px; padding:0 12px; font-size:14px; }
  .egb-product-search input[type="search"] { padding:10px 12px; font-size:16px; }
  .egb-catalog-disclosure summary { gap:8px; }
  .egb-catalog-panel { left:12px; width:calc(100% - 24px); padding:16px; max-height:calc(100dvh - 210px); }
  .egb-catalog-panel-heading { position:sticky; top:-16px; z-index:1; background:var(--wp--preset--color--white); padding-block:0 12px; }
  .egb-catalog-panel-heading > strong { font-size:18px; }
  .egb-catalog-close { font-size:13px; padding:8px; }
  .egb-catalog-panel-grid { grid-template-columns:1fr; gap:16px; padding-top:8px; }
  .egb-catalog-categories > li > a { font-size:17px; min-height:56px; padding:12px 8px; }
  .egb-catalog-help { padding:16px; }
  .egb-catalog-help strong { font-size:19px; }
}
@media (max-width:380px) {
  .egb-header-inner { gap:8px; }
  .egb-header-inner .egb-brand { font-size:16px; gap:4px; }
  .egb-header-inner .egb-brand img { width:22px; height:22px; }
  .egb-header-catalog { padding-inline:8px; }
  .egb-catalog-disclosure summary { gap:6px; }
  .egb-catalog-panel { max-height:calc(100dvh - 230px); }
}

/* Header utilities replace the detached contact strip and mobile hamburger. */
.egb-header-actions { display:flex; align-items:center; flex:0 0 auto; gap:8px; margin:0; }
.egb-header-action { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:56px; min-height:48px; padding:4px; box-sizing:border-box; border-radius:6px; color:var(--wp--preset--color--carbon); font:600 12px/1.2 var(--wp--preset--font-family--body); text-decoration:none; cursor:pointer; list-style:none; }
.egb-header-action::-webkit-details-marker { display:none; }
.egb-header-action svg { display:block; flex-shrink:0; }
.egb-header-action:hover,.egb-header-contact[open] > summary { color:var(--wp--preset--color--signal); background:var(--wp--preset--color--mist); }
.egb-header-contact { margin:0; }
.egb-contact-panel { position:absolute; z-index:1001; right:32px; top:calc(100% - 4px); width:340px; max-width:calc(100% - 24px); max-height:calc(100dvh - 190px); overflow:auto; box-sizing:border-box; padding:20px; border:1px solid var(--wp--preset--color--line); border-radius:8px; background:var(--wp--preset--color--white); box-shadow:0 16px 40px #13243a26; }
.egb-contact-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.egb-contact-heading strong { font:700 17px/1.4 var(--wp--preset--font-family--display); }
.egb-contact-heading button { min-width:44px; font-size:22px; line-height:1; }
.egb-contact-details { color:var(--wp--preset--color--graphite); font-size:14px; line-height:1.7; }
.egb-contact-details a { display:inline-flex; min-height:44px; align-items:center; color:var(--wp--preset--color--carbon); text-underline-offset:4px; }
.egb-contact-details .egb-manager-phone { font:700 21px/1.3 var(--wp--preset--font-family--display); text-decoration:none; }
.egb-header-action:focus-visible,.egb-contact-panel a:focus-visible { outline:3px solid var(--wp--preset--color--signal); outline-offset:3px; }
@media(max-width:1100px) {
  .egb-site-header .egb-header-inner { display:grid; grid-template-columns:116px minmax(0,1fr) auto; gap:12px 16px; }
  .egb-header-inner > .egb-brand { grid-column:1 / 3; grid-row:1; justify-self:start; }
  .egb-header-actions { grid-column:3; grid-row:1; }
  .egb-header-inner > .egb-catalog-disclosure { grid-column:1; grid-row:2; }
  .egb-header-inner > .egb-product-search { grid-column:2 / 4; grid-row:2; order:initial; }
  .egb-header-catalog { box-sizing:border-box; width:100%; padding-inline:12px; }
  .egb-header-inner .egb-catalog-panel { top:calc(100% - 4px); }
}
@media(max-width:600px) {
  .egb-site-header .egb-header-inner { padding:10px 12px 12px; grid-template-columns:94px minmax(0,1fr) auto; gap:10px 8px; }
  .egb-header-actions { gap:0; }
  .egb-header-action { min-width:44px; min-height:44px; }
  .egb-header-action > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .egb-contact-panel { right:12px; padding:16px; }
  .egb-header-inner .egb-product-search button { padding-inline:10px; font-size:14px; }
}
@media(max-width:380px) {
  .egb-header-inner .egb-brand { font-size:14px; letter-spacing:-.6px; gap:4px; }
  .egb-header-inner .egb-brand img { width:24px; height:24px; }
}
