.unit-announcement { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 4%; background: #102f49; color: #e5edf5; font-size: .72rem; letter-spacing: 0; }
.unit-announcement a { font-size: .7rem; display: inline-flex; gap: 12px; align-items: center; }
.unit-announcement a:hover { text-decoration: underline; text-underline-offset: 4px; }
.unit-header.site-header { min-height: 88px; padding: 0 4%; gap: 32px; background: #fffffffa; border-bottom: 1px solid #dde5ed; box-shadow: 0 5px 24px #17374508; z-index: 20; }
.header-brand { flex: none; display: flex; flex-direction: column; gap: 5px; padding: 12px 0; }
.header-brand .wordmark { font-size: 2.55rem; }
.header-brand-caption { font-size: .62rem; color: #63788a; letter-spacing: .015em; }
.unit-header #navigation { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 0 auto; font-size: .82rem; }
.unit-header #navigation a { padding: 30px 0; white-space: nowrap; color: #4c6275; }
.unit-header #navigation a:hover,.unit-header #navigation a[aria-current=page] { color: #153f69; }
.unit-header #navigation a::after { bottom: 19px; height: 2px; border-radius: 2px; }
.unit-header #navigation a[aria-current=page]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-account { position: relative; }
.header-account > summary { list-style: none; cursor: pointer; }
.header-account > summary::-webkit-details-marker { display: none; }
.header-account > summary:focus-visible { outline: 2px solid #195dc1; outline-offset: 2px; }
.header-account[open] > summary { background: #edf3f8; color: #195dc1; }
.unit-header .header-account > summary { gap: 9px; border: 1px solid transparent; border-radius: 999px; }
.unit-header .header-account[open] > summary { border-color: #dce6f3; background: #edf3fb; color: #174c91; }
.unit-header .header-account .header-account-chevron { width: 14px; height: 14px; color: #61778b; transition: transform 180ms ease; }
.unit-header .header-account[open] .header-account-chevron { transform: rotate(180deg); }
.header-account-options { position: absolute; z-index: 2; top: calc(100% + 14px); right: 0; width: 300px; padding: 22px; border: 1px solid #dfe7f0; border-radius: 20px; background: linear-gradient(150deg,#f4f8ff 0%,#fff 55%); box-shadow: 0 20px 60px #102d4b24,0 2px 8px #102d4b08; text-align: left; }
.header-account-options::before { content: ""; position: absolute; top: -6px; right: 26px; width: 10px; height: 10px; background: #f7faff; border-top: 1px solid #dfe7f0; border-left: 1px solid #dfe7f0; transform: rotate(45deg); }
.header-account:not([open]) .header-account-options { display: none; }
.header-account-intro { display: flex; align-items: center; gap: 12px; }
.header-account-monogram { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: #102e4b; color: #fff; font-size: 25px; font-weight: 700; letter-spacing: -.08em; box-shadow: 0 5px 12px #102e4b14; }
.header-account-monogram > span { color: #9cc4ff; }
.header-account-eyebrow { margin: 0 0 4px; color: #5b7087; font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.header-account-intro h2 { margin: 0; color: #102e4b; font-size: 21px; letter-spacing: -.035em; line-height: 1.3; }
.header-account-description { margin: 16px 0 20px; color: #52677d; font-size: 13px; line-height: 1.65; }
.header-account-options a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 13px 16px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 1.4; transition: background 160ms ease,border-color 160ms ease,box-shadow 160ms ease; }
.header-account-options a > svg { width: 20px; height: 20px; flex: none; }
.header-account-options .header-account-login { background: #102e4b; color: #fff; box-shadow: 0 4px 10px #102e4b12; }
.header-account-options .header-account-register { margin-top: 10px; border-color: #dce5ef; color: #102e4b; background: #fff; }
.header-account-register > span { display: flex; flex-direction: column; gap: 3px; }
.header-account-register small { color: #52677d; font-size: 11px; font-weight: 400; line-height: 1.4; }
.header-account-register strong { font-size: 14px; }
.header-account-options .header-account-login:hover { background: #174f8e; box-shadow: 0 5px 14px #102e4b24; }
.header-account-options .header-account-register:hover { background: #f5f8fd; border-color: #a9bfda; }
.header-account-options a:focus-visible { outline: 3px solid #195dc1; outline-offset: 3px; }
@media(max-width:1250px) { .unit-header .header-account .header-account-chevron { display: none; } }
@media(max-width:600px) {
    .header-account { position: static; }
    .header-account-options { top: calc(100% + 10px); left: 12px; right: 12px; width: auto; max-width: 360px; margin-left: auto; padding: 20px; max-height: calc(100dvh - 130px); overflow-y: auto; }
    .header-account-options::before { display: none; }
}
@media(prefers-reduced-motion:no-preference) {
    .header-account[open] .header-account-options { animation: unit-account-open 160ms ease-out; }
    @keyframes unit-account-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
.header-customer { display: flex; align-items: center; gap: 10px; padding: 4px 8px; }
.header-customer-avatar { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #195dc1; color: white; font-weight: 700; font-size: 14px; }
.header-customer-name { display: none; }
.header-customer-wallet { min-height: 44px; display: flex; flex-direction: column; justify-content: center; text-decoration: none; white-space: nowrap; }
.header-customer-wallet > span { font-size: 10px; color: #63788a; }
.header-customer-wallet > strong { font-size: 14px; font-variant-numeric: tabular-nums; color: #153f69; line-height: 1.6; }
.header-customer-wallet:hover strong { color: #195dc1; }
.header-customer a:focus-visible { outline: 2px solid #195dc1; outline-offset: 3px; border-radius: 6px; }
.header-notifications { position: relative; }
.unit-header .header-notifications[aria-current=page] { background: #e8f0fc; color: #195dc1; }
.header-notification-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 10px; background: #195dc1; color: #fff; font-size: 10px; font-weight: 700; line-height: 18px; box-shadow: 0 0 0 2px white; }
.unit-header .header-notifications:focus-visible { outline: 2px solid #195dc1; outline-offset: 2px; }
.unit-header .header-icon { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; color: #173745; background: transparent; border: 0; border-radius: 12px; margin: 0; font-size: .78rem; white-space: nowrap; transition: background .18s, color .18s; }
.unit-header .header-icon:hover { background: #edf3f8; color: #195dc1; }
.unit-header .header-icon svg { width: 22px; height: 22px; flex: none; }
.unit-header .account-link span { max-width: none; white-space: nowrap; }
.unit-header .bag-link { border-left: 1px solid #dce4ed; border-radius: 0; padding-left: 18px; }
.unit-header .bag-link > span { display: none; }
.unit-header .bag-link b { min-width: 21px; height: 21px; line-height: 21px; font-size: .66rem; background: #173745; }
.unit-header .menu-button { display: none; }
.header-search-panel { position: absolute; top: 100%; right: 4%; width: min(580px,92%); background: white; border: 1px solid #dce4ed; border-top: 3px solid #173745; border-radius: 0 0 18px 18px; box-shadow: 0 18px 44px #102d4b20; padding: 28px; }
.header-search-panel[hidden] { display: none; }
.header-search-panel > .header-icon { position: absolute; right: 10px; top: 8px; }
.header-search-panel label { padding-right: 32px; margin: 0 0 16px; font-size: 1rem; }
.header-search-field { display: flex; gap: 10px; }
.header-search-field input { min-width: 0; border-radius: 9px; background: #f7f9fc; }
.header-search-field .button { border-radius: 9px; flex: none; }
.header-search-panel p { font-size: .78rem; color: #63788a; margin: 15px 0 0; }
.header-search-panel p a { color: #173745; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:1250px) { .unit-header.site-header { gap: 22px; }.unit-header #navigation { gap: 18px; }.unit-header .account-link span { display: none; } }
@media(max-width:1100px) {
    .unit-header.site-header { min-height: 78px; gap: 12px; flex-wrap: wrap; }
    .unit-header .header-brand { margin-right: auto; }
    .unit-header .header-brand .wordmark { font-size: 2.2rem; }
    .unit-header .header-actions { gap: 3px; }
    .unit-header.header-enhanced .menu-button { display: inline-flex; order: 3; }
    .unit-header.header-enhanced { flex-wrap: nowrap; }
    .unit-header #navigation { position: static; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0 20px; box-shadow: none; font-size: .9rem; }
    .unit-header #navigation a { padding: 14px 12px; border-bottom: 1px solid #edf1f5; }
    .unit-header #navigation a::after { display: none; }
    .unit-header #navigation a[aria-current=page] { background: #edf3f8; border-radius: 8px; }
    .unit-header.header-enhanced #navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 4% 22px; max-height: 70dvh; overflow-y: auto; background: white; box-shadow: 0 16px 22px #102d4b14; border-bottom: 1px solid #dce4ed; }
    .unit-header.header-enhanced #navigation.open { display: flex; animation: none; }
}
@media(max-width:600px) {
    .unit-announcement { justify-content: center; padding: 7px 12px; font-size: .65rem; }
    .unit-announcement > a { display: none; }
    .unit-header.site-header { padding: 0 12px; gap: 4px; min-height: 74px; }
    .header-brand-caption { font-size: .55rem; }
    .unit-header .header-icon { padding: 10px 8px; border-radius: 9px; }
    .unit-header .header-actions { gap: 0; }
    .unit-header .bag-link { padding-left: 8px; gap: 4px; border: 0; }
    .unit-header .bag-link b { min-width: 18px; height: 18px; line-height: 18px; font-size: .6rem; }
    .header-search-panel { left: 12px; right: 12px; width: auto; padding: 22px 16px; }
    .header-search-panel label { font-size: .9rem; }
    .header-search-field .button { padding: 10px 14px; font-size: .8rem; }
    .header-search-field input { font-size: 16px; }
}
@media(max-width:360px) {
    .unit-header.site-header { padding: 0 8px; gap: 2px; }
    .unit-header .header-brand .wordmark { font-size: 1.9rem; }
    .header-brand-caption { font-size: .5rem; }
    .unit-header .bag-link { padding: 8px 4px; gap: 2px; }
}
@media(max-width:600px) {
    .unit-header.site-header:has(.header-customer) { display: grid; grid-template-columns: minmax(0,1fr) 44px 44px 50px 44px; gap: 0; padding-bottom: 10px; }
    .unit-header:has(.header-customer) .header-actions { display: contents; }
    .unit-header:has(.header-customer) .header-brand { grid-column: 1; grid-row: 1; }
    .unit-header:has(.header-customer) .header-search-toggle { grid-column: 2; grid-row: 1; }
    .unit-header:has(.header-customer) .header-notifications { grid-column: 3; grid-row: 1; }
    .unit-header:has(.header-customer) .bag-link { grid-column: 4; grid-row: 1; }
    .unit-header:has(.header-customer) .menu-button { grid-column: 5; grid-row: 1; }
    .unit-header:has(.header-customer) #navigation { grid-column: 1 / -1; }
    .unit-header:has(.header-customer) .header-customer { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid #edf1f5; padding: 10px 0 0; gap: 10px; min-width: 0; }
    .header-customer-name { display: block; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: #173745; }
    .header-customer-wallet { flex: none; text-align: right; }
    .header-customer-wallet > strong { font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) { .unit-header .header-icon,.unit-header .header-account .header-account-chevron,.header-account-options a { transition: none; } }
