/* Shared public header: fixed logo geometry and reserved controls across pages. */
html{scrollbar-gutter:stable}html:has(dialog[open]){scroll-behavior:auto}
@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}
body>.header{box-sizing:border-box;position:relative;display:grid;grid-template-columns:224px minmax(0,1fr) 86px;align-items:center;gap:18px;width:100%;max-width:1380px;min-height:126px;margin:0 auto;padding:20px 50px;border-bottom:1px solid #203c3310;font:400 13px/1.4 'DM Sans',DM,system-ui;background:transparent}
body>.header .brand{grid-column:1;display:flex;align-items:center;line-height:1;min-width:0;text-decoration:none;order:initial}
body>.header .brand-logo{display:block;width:224px;max-width:none;height:auto;aspect-ratio:275/104;flex:none}
body>.header nav{grid-column:2;display:flex;align-items:center;justify-content:flex-end;gap:28px;margin:0;order:initial;font:500 13px/1.4 'DM Sans',DM,system-ui}
body>.header nav>a{color:#203c33;text-decoration:none;padding:8px 0;white-space:nowrap}
body>.header nav .button{margin:0 0 0 8px;display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:46px;padding:13px 19px;border:1px solid #9d452f;border-radius:6px;background:#9d452f;color:#fffefa;font:600 13px/1.4 'DM Sans',DM,system-ui;text-decoration:none;white-space:nowrap}
body>.header>.currency-switch{grid-column:3;grid-row:1;justify-self:end;margin:0;min-width:0;width:86px;order:initial}
body>.header .menu-toggle{display:none;order:initial}
.wrap.quick-payment{margin:22px auto;padding:clamp(20px,3vw,32px);box-sizing:border-box}
.quick-payment h2{margin-top:0}.quick-payment .actions{margin-bottom:0}
@media(max-width:1100px){body>.header{grid-template-columns:200px minmax(0,1fr) auto;gap:12px;padding:20px 30px;min-height:118px}body>.header .brand-logo{width:200px}body>.header>.currency-switch{grid-column:2;grid-row:1;justify-self:end}body>.header .menu-toggle{grid-column:3;grid-row:1;display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid #d3d9ce;border-radius:6px;background:#fffdf7;color:#203c33;font:500 12px/1.4 'DM Sans',DM,system-ui}body>.header nav{display:none;position:absolute;top:100%;left:20px;right:20px;padding:20px;background:#fffdf7;border:1px solid #d3d9ce;border-radius:8px;box-shadow:0 15px 24px #11231e22;z-index:100;flex-direction:column;align-items:stretch;gap:14px}body>.header nav.open{display:flex}body>.header nav .button{margin:8px 0 0}body>.header nav>a{white-space:normal}}
/* Six menu items need about 1300px beside the logo: use the menu button up to 1240px, and a tighter row up to 1330px. */
@media(min-width:1101px) and (max-width:1240px){body>.header{grid-template-columns:224px minmax(0,1fr) auto;gap:12px}body>.header>.currency-switch{grid-column:2;grid-row:1;justify-self:end}body>.header .menu-toggle{grid-column:3;grid-row:1;display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid #d3d9ce;border-radius:6px;background:#fffdf7;color:#203c33;font:500 12px/1.4 'DM Sans',DM,system-ui}body>.header nav{display:none;position:absolute;top:100%;left:20px;right:20px;padding:20px;background:#fffdf7;border:1px solid #d3d9ce;border-radius:8px;box-shadow:0 15px 24px #11231e22;z-index:100;flex-direction:column;align-items:stretch;gap:14px}body>.header nav.open{display:flex}body>.header nav .button{margin:8px 0 0}body>.header nav>a{white-space:normal}}
@media(min-width:1241px) and (max-width:1330px){body>.header nav{gap:16px}body>.header nav .button{margin-left:2px;padding-left:15px;padding-right:15px}}
@media(max-width:800px){body>.header{grid-template-columns:147px minmax(0,1fr) auto;padding:15px 20px;min-height:100px}body>.header .brand-logo{width:147px}body>.header>.currency-switch{width:78px}body>.header>.currency-switch select{width:78px}}
@media(max-width:380px){body>.header{grid-template-columns:125px minmax(0,1fr) auto;padding-left:16px;padding-right:16px;gap:8px}body>.header .brand-logo{width:125px}body>.header .menu-toggle{gap:7px;padding:8px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{body>.header{display:none!important}}

.purchase-discuss{display:block;margin:12px 0;min-height:44px}.header #main-nav>.button{white-space:nowrap}.header #main-nav>.text-link{font-size:14px;white-space:nowrap}
