/* One shared menu: a short desktop row and a contained, scrollable phone panel. */
.header .header-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 10px; }
.header .header-actions :is(.account-link, .cart-link) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 50px; padding: 10px 14px; border: 1px solid #132832; border-radius: 6px; background: #fff; color: #132832; font-size: 1rem; font-weight: 700; line-height: 1.3; text-align: center; white-space: normal; }
.header .header-actions .account-link { background: #f4c344; border-color: #f4c344; }
.header .header-actions :is(.account-link, .cart-link) > span { display: inline; }
.header .header-actions .account-link:hover { background: #ffdb72; border-color: #ffdb72; color: #132832; }
.header .header-actions .cart-link:hover { background: #f1f4f5; border-color: #132832; color: #132832; }
.header .header-actions :is(.account-link, .cart-link):focus-visible { outline: 3px solid #277bb0; outline-offset: 3px; }
.header .primary-nav { gap: 26px; font-size: 1rem; }
.header .primary-nav > a, .header .nav-disclosure > summary { min-height: 58px; line-height: 1.35; }
.header .nav-disclosure > summary { gap: 10px; }
.nav-expand { font: 400 1.35rem/1 var(--body); margin-left: auto; }
details[open] > summary > .nav-expand { transform: rotate(45deg); }
.header .nav-panel { padding: 20px; max-height: 60vh; max-height: 60dvh; }
.header .nav-panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.header .nav-panel-grid > a { min-height: 56px; padding: 14px 18px; justify-content: center; font-size: 1rem; border: 1px solid #dce3df; border-radius: 6px; background: #f7f9f8; line-height: 1.45; }
.header .nav-panel-grid > a:hover { background: #e8f0eb; border-color: #527a62; }
.header .primary-nav > .primary-quote { min-height: 48px; padding: 10px 18px; border-radius: 6px; }
.site-menu { width: min(100%, 480px); max-width: 100%; height: 100%; height: 100dvh; max-height: 100%; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: #fff; color: #132832; overflow-y: auto; overscroll-behavior: contain; }
.site-menu::backdrop { background: #132832a6; }
html.site-menu-open, html.site-menu-open body { overflow: hidden; }
.site-menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 2; padding: max(16px, env(safe-area-inset-top)) 20px 16px; border-bottom: 1px solid #dce3df; background: #132832; color: #fff; }
.site-menu-top h2 { font: 700 1.6rem/1.2 var(--body); letter-spacing: 0; }
.site-menu .menu-close { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; color: #132832; background: #f5c344; border: 0; border-radius: 6px; font-size: 1rem; font-weight: 700; }
.menu-close span { font-size: 1.5rem; line-height: 1; }
.site-menu .mobile-nav { display: block; width: 100%; padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); border: 0; max-height: none; overflow: visible; }
.site-menu .mobile-nav a { color: #132832; text-decoration: none; display: flex; align-items: center; min-height: 54px; padding: 14px 12px; font-size: 1rem; line-height: 1.45; font-weight: 500; overflow-wrap: anywhere; }
.site-menu .menu-contact { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.site-menu .menu-contact a { background: #fff; justify-content: center; border: 1px solid #b9c9c0; border-radius: 6px; color: #173f2e; font-weight: 700; }
.site-menu .menu-contact a:first-child { background: #f5c344; border-color: #f5c344; color: #132832; }
.site-menu .menu-manufacturing { min-height: 64px; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; padding: 16px; border-left: 4px solid #f4c344; border-radius: 6px; background: #112a28; color: #fff; }
.site-menu .menu-manufacturing strong { font-size: 1.125rem; }
.site-menu .menu-manufacturing span { font-size: .875rem; color: #f4c344; }
.site-menu .menu-manufacturing:hover { background: #1c4536; }
.site-menu .menu-manufacturing[aria-current=page] span { color: #52616b; }
.site-menu .mobile-menu-group { border-bottom: 1px solid #dce3df; }
.site-menu .mobile-menu-group > summary { background: #fff; color: #132832; min-height: 64px; display: flex; align-items: center; gap: 16px; list-style: none; padding: 16px 12px; font-size: 1.125rem; font-weight: 700; cursor: pointer; line-height: 1.4; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary::marker { content: ''; }
.site-menu .mobile-menu-group[open] > summary { background: #edf4ee; color: #173f2e; }
.site-menu .mobile-menu-links { padding: 0 10px 12px; border-left: 3px solid #f5c344; margin: 0 0 12px 12px; }
.site-menu .mobile-menu-links a { font-weight: 400; }
.site-menu .mobile-menu-links a:last-child { border-bottom: 0; }
.site-menu .mobile-menu-group > summary,
.site-menu .mobile-nav > .menu-home,
.site-menu .mobile-nav > .menu-direct { font: 700 1.125rem/1.4 var(--body); }
.site-menu :is(a,button,summary):focus-visible { outline: 3px solid #277bb0; outline-offset: -3px; }
.site-menu .menu-close:focus-visible { outline-color: #fff; outline-offset: 3px; }
.site-menu a[aria-current=page] { background: #fff4cf; color: #132832; font-weight: 700; }
@media (max-width: 1100px) {
  .header .nav-surface { display: none; }
  .header .menu-toggle { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; min-width: 100px; min-height: 50px; padding: 10px 14px; border: 1px solid #132832; border-radius: 6px; background: #132832; color: #fff; }
  .header .menu-label { font-size: 1rem; }
  .header .header-main { flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  .header .catalog-search { order: 3; flex-basis: 100%; min-height: 50px; }
  .header .header-actions { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 10px; }
}
@media (max-width: 650px) {
  .header .header-actions { gap: 4px; max-width: 100%; }
  .header .header-actions :is(.account-link, .cart-link) { flex-direction: column; gap: 3px; padding: 5px 7px; font-size: .875rem; }
  .header .menu-toggle { min-width: 52px; flex-direction: column; gap: 3px; padding: 5px; }
  .header .menu-label { font-size: .875rem; }
  .header .header-main { column-gap: 8px; }
}
@media (max-width: 380px) {
  .header .brand-mark { display: none; }
  .site-menu .mobile-nav { padding-inline: 16px; }
}
