/* Shared header geometry and menu breakpoint on every AEZ page. */
body>header{position:sticky;top:0;z-index:50;max-width:none;min-height:91px;padding:16px 4%;gap:18px;flex-wrap:nowrap;background:var(--surface,var(--bg));border-bottom:1px solid var(--line)}
body>header nav{order:1;margin-left:auto;width:auto;display:flex;flex-direction:row;align-items:center;gap:18px;font-size:13px}
body>header .preferences{order:2;margin-left:0;flex-shrink:0}
body>header .menu{order:3;display:none;color:var(--ink,var(--text));background:var(--surface,var(--bg));border:1px solid var(--line);border-radius:6px;min-height:44px;padding:8px 15px}
body>header .brand,body>header .aez-brand{order:0;flex-shrink:0}
body>header nav .button{background:#0866ce;color:#fff;padding:10px 14px;border-radius:5px;white-space:nowrap}
@media(max-width:1200px){body>header{flex-wrap:wrap;min-height:84px;padding:16px 24px}body>header .preferences{order:1;margin-left:auto}body>header .menu{display:block;order:2}body>header nav{order:3;display:none;width:100%;margin:0;align-items:stretch;flex-direction:column;gap:0}body>header nav.open{display:flex}body>header nav a{padding:12px 0}body>header nav .button{margin-top:12px;padding:12px}}
@media(max-width:720px){body>header{gap:8px;padding:14px 16px}body>header .menu{font-size:12px;padding:8px 10px}body>header .brand img,body>header .aez-brand img{width:125px;height:auto}body>header .theme-label{display:none}}

/* Consistent, centred preference controls across main site and configurator. */
body>header{align-items:center}
body>header .preferences{display:flex;align-items:center;gap:8px}
body>header .preferences button,body>header .preferences select{box-sizing:border-box;height:44px;min-height:44px;margin:0;border:1px solid var(--line);border-radius:7px;font-family:inherit;font-size:13px;font-weight:500;line-height:1;letter-spacing:0;color:var(--ink,var(--text));background:var(--soft,var(--panel))}
body>header .preferences button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:88px;width:auto;padding:0 12px;white-space:nowrap}
body>header .preferences button svg{display:block;flex:0 0 18px;width:18px;height:18px}
body>header .preferences .theme-label{line-height:1;margin:0;padding:0}
body>header .language-label{display:block;position:relative;flex:0 0 64px;width:64px;height:44px;margin:0;padding:0;line-height:1;font-size:13px;letter-spacing:0}
body>header .language-label select{display:block;width:64px;min-width:0;padding:0 17px;appearance:none;-webkit-appearance:none;text-align:center;text-align-last:center;cursor:pointer}
body>header .language-label::after{content:"";position:absolute;right:9px;top:18px;width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);pointer-events:none;color:var(--muted)}
@media(max-width:720px){body>header .preferences{gap:6px}body>header .preferences button{width:44px;min-width:44px;padding:0}body>header .preferences .theme-label{display:none}body>header .language-label,body>header .language-label select{width:60px}body>header .language-label{flex-basis:60px}}

/* One header scale across the main site, legal pages and configurator. */
body>header{box-sizing:border-box;font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body>header .brand,body>header .aez-brand{display:block;margin:0;padding:0;border:0;background:transparent;box-shadow:none;transform:none}
body>header .brand img,body>header .aez-brand img{width:145px;height:auto;object-fit:contain;filter:none}
body>header .menu{box-sizing:border-box;height:44px;font:500 14px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body>header nav a{font-weight:400;letter-spacing:0;text-decoration:none}
@media(max-width:720px){body>header .brand img,body>header .aez-brand img{width:125px}body>header .menu{font-size:12px}}
@media(max-width:359px){body>header{padding-inline:12px;gap:6px}body>header .brand img,body>header .aez-brand img{width:104px}}
