/* Shared legacy storefront header. Checkout and print layouts remain separate. */
.site-header {
    --header-ink: #202735;
    --header-blue: #293a60;
    --header-line: #e5e9f0;
    color: var(--header-ink);
    background: #fff;
    border-bottom: 1px solid var(--header-line);
}
.site-header * { box-sizing: border-box; }
.site-header a { color: inherit; text-decoration: none; }
.site-header button { font-family: inherit; cursor: pointer; }
.site-header :focus-visible { outline: 2px solid var(--header-blue); outline-offset: 4px; }
.site-header .site-header__skip { position: fixed; top: 8px; left: 16px; z-index: 10000; padding: 10px 14px; border: 2px solid #fff; border-radius: 6px; background: var(--header-blue); color: #fff; font-weight: 600; transform: translateY(calc(-100% - 12px)); }
.site-header__skip:focus { transform: translateY(0); }
#main-content-start:focus { outline: none; }
.site-header__icon { display: block; flex-shrink: 0; color: var(--header-blue); }
.site-header__utility { background: #293a60; color: #fff; }
.site-header__utility :focus-visible { outline-color: #fff; }
.site-header__utility-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    max-width: 1440px;
    min-height: 40px;
    margin: 0 auto;
    padding: 4px 32px;
    font-size: 13px;
    line-height: 1.4;
}
.site-header__phone { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; }
.site-header__phone .site-header__icon { width: 15px; height: 15px; color: #d3dcef; }
.site-header__hours { color: #d3dcef; font-size: 12px; font-weight: 400; }
.site-header__utility-links { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.site-header__utility-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; font-weight: 600; white-space: nowrap; }
.site-header__utility-links .site-header__icon { width: 18px; height: 18px; color: #d3dcef; }
.site-header__utility-links a:hover { color: #fff; text-decoration: underline; }
.site-header__offer { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap; font-size: 14px; }
.site-header__offer strong { font-weight: 700; }
.site-header__offer-intro, .site-header__offer-end { color: #d3dcef; }
.site-header__offer-end::before { content: '·'; margin-right: 8px; }
.site-header__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 88px;
    min-height: 30px;
    padding: 3px 9px;
    border: 1px dashed #aebbd5;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    font-size: inherit;
    line-height: inherit;
    font-weight: 700 !important;
    letter-spacing: 1px;
}
.site-header__code:hover { background: #ffffff12; border-color: #fff; }
.site-header__code:focus-visible { outline-color: #fff; }
.site-header__code[data-copied] { background: #ffffff18; border-style: solid; }
.site-header__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.site-header__main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    max-width: 1440px;
    min-height: 82px;
    padding: 12px 32px;
    margin: 0 auto;
}
.site-header__logo { display: block; flex-shrink: 0; justify-self: start; }
.site-header__logo img { display: block; width: 144px; height: auto; }
.site-header__navigation { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 2.8vw, 40px); }
.site-header__navigation a { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.site-header__navigation a::before { content: ''; position: absolute; inset: 3px -8px; z-index: -1; border-radius: 6px; background: #eff3f8; opacity: 0; }
.site-header__navigation a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--header-blue), #39785e); transform: scaleX(0); transform-origin: left; opacity: 0; }
.site-header__navigation a:hover, .site-header__navigation a:focus-visible, .site-header__navigation a[aria-current] { color: var(--header-blue); }
.site-header__navigation a:hover::before, .site-header__navigation a:focus-visible::before { opacity: 1; }
.site-header__navigation a:hover::after, .site-header__navigation a:focus-visible::after, .site-header__navigation a[aria-current]::after { transform: scaleX(1); opacity: 1; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__action { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--header-ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.site-header__action:hover { color: var(--header-blue); background: #f3f5f9; }
.site-header__basket { padding: 11px 14px; background: #f1f4f9; }
.site-header__basket:hover { background: #e7ecf5; }
.site-header__basket-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 10px; background: #00865b; color: #fff; font-size: 11px; font-weight: 600; line-height: 1; }
.site-header__menu-toggle { display: none; }
.site-header__menu-mobile-label { display: none; }
.site-header__drawer { width: min(100%, 440px); max-width: 100%; height: 100%; height: 100dvh; max-height: 100%; margin: 0; padding: 0; border: 0; color: var(--header-ink); background: #fff; overscroll-behavior: contain; }
.site-header__drawer[open] { display: flex; flex-direction: column; }
.site-header__drawer::backdrop { background: rgba(23, 35, 57, .4); }
.site-header__drawer-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; padding: 16px 20px; border-bottom: 1px solid var(--header-line); background: #fff; }
.site-header__drawer-top img { display: block; height: auto; }
.site-header__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f1f4f9; }
.site-header__drawer-links { padding: 10px 20px; flex-shrink: 0; }
.site-header__drawer-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 13px 4px; border-bottom: 1px solid #edf0f4; font-size: 19px; font-weight: 600; }
.site-header__drawer-links a:last-child { border: 0; }
.site-header__drawer-links a:hover, .site-header__drawer-links a[aria-current] { color: #476293; }
.site-header__drawer-links small { display: block; margin-top: 2px; color: #6a7485; font-size: 13px; font-weight: 400; line-height: 1.5; }
.site-header__drawer-links .site-header__icon { width: 16px; height: 16px; color: #8393af; }
.site-header__drawer-bottom { flex-shrink: 0; margin-top: auto; padding: 12px 20px max(18px, env(safe-area-inset-bottom)); background: #f7f8fb; border-top: 1px solid var(--header-line); }
.site-header__drawer-utilities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.site-header__drawer-utilities a { display: flex; align-items: center; gap: 8px; min-height: 46px; font-size: 15px; font-weight: 600; }
.site-header__drawer-utilities .site-header__icon { width: 20px; height: 20px; }
.site-header__drawer-phone { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--header-line); font-size: 16px; font-weight: 600; }
.site-header__drawer-phone > span:last-child { font-size: 12px; font-weight: 400; color: #6a7485; }
.site-header__fallback { display: none; }
html.site-menu-open, html.site-menu-open body { overflow: hidden; }
@media (min-width: 1200px) and (max-width: 1359px) {
    .site-header__main { gap: 24px; padding-left: 24px; padding-right: 24px; }
    .site-header__navigation { gap: 28px; }
    .site-header__navigation a { font-size: 15px; }
    .site-header__actions { gap: 6px; }
}
/* Keep every shopping link visible on laptops; compact the utility controls. */
@media (min-width: 992px) and (max-width: 1199px) {
    .site-header__main { gap: 15px; min-height: 76px; padding: 8px 16px; }
    .site-header__logo img { width: 128px; }
    .site-header__navigation { gap: 22px; }
    .site-header__navigation a { font-size: 15px; }
    .site-header__actions { gap: 8px; }
    .site-header__action { flex-direction: column; gap: 4px; min-width: 64px; min-height: 56px; padding: 5px 8px; font-size: 14px; line-height: 1.25; }
    .site-header__action .site-header__icon { width: 24px; height: 24px; }
    .site-header__basket .site-header__basket-count { position: absolute; top: 1px; right: 3px; box-shadow: 0 0 0 2px #f1f4f9; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
}
@media (max-width: 1199px) {
    .site-header__hours { display: none; }
}
@media (max-width: 991px) {
    .site-header__main { grid-template-columns: auto 1fr auto; gap: 28px; min-height: 76px; }
    .site-header__logo { grid-column: 1; grid-row: 1; }
    .site-header__menu-toggle { display: inline-flex; grid-column: 2; grid-row: 1; justify-self: start; padding: 10px 14px; border: 1px solid var(--header-line); }
    .site-header__actions { grid-column: 3; grid-row: 1; }
    .site-header__navigation { display: none; }
    .site-header__fallback { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 20px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .site-header__utility-inner { grid-template-columns: 1fr auto; gap: 16px; padding-left: 24px; padding-right: 24px; }
    .site-header__phone { display: none; }
    .site-header__offer { justify-content: flex-start; }
    .site-header__main { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 767px) {
    .site-header__utility-inner { display: flex; justify-content: center; min-height: 40px; padding: 5px 16px; }
    .site-header__phone, .site-header__utility-links, .site-header__account, .site-header__menu-shop-label { display: none; }
    .site-header__main { grid-template-columns: 48px 1fr 48px; min-height: 66px; gap: 10px; padding: 8px 16px; }
    .site-header__logo { grid-column: 2; justify-self: center; }
    .site-header__logo img { width: 128px; max-width: 100%; }
    .site-header__menu-toggle { grid-column: 1; border: 0; }
    .site-header__menu-mobile-label { display: inline; }
    .site-header__action { flex-direction: column; gap: 3px; min-width: 48px; min-height: 46px; padding: 5px; font-size: 11px; line-height: 1.2; color: var(--header-ink); }
    .site-header__actions { justify-content: flex-end; }
    .site-header__basket { margin: 0; background: transparent; }
    .site-header__basket .site-header__basket-count { position: absolute; top: 0; right: 1px; box-shadow: 0 0 0 2px #fff; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; }
}
@media (max-width: 479px) {
    .site-header__offer-intro { display: none; }
    .site-header__offer { gap: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
    .site-header__action, .site-header__code { transition: background-color .15s; }
    .site-header__navigation a { transition: color .15s; }
    .site-header__navigation a::before { transition: opacity .15s; }
    .site-header__navigation a::after { transition: transform .18s ease-out, opacity .15s; }
    .site-header__drawer[open] { animation: site-header-drawer-in .18s ease-out; }
    @keyframes site-header-drawer-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
}
/* Supporting information stays softer than the primary navigation. */
.site-usp, .mobile-usp-bar { background: #f3f6fa; color: #4c5b73; border-bottom: 1px solid #dce3ec; }
.site-usp__list { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3vw, 48px); max-width: 1440px; min-height: 38px; margin: 0 auto; padding: 7px 32px; list-style: none; font-size: 13px; line-height: 22px; font-weight: 600; }
.site-usp__list li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.site-usp__icon { flex-shrink: 0; width: 16px; height: 16px; color: #246f54; stroke-width: 2; }
.site-usp__stars { display: block; width: auto; height: 15px; }
.mobile-usp-bar { display: flex; flex-direction: row; align-items: center; justify-content: center; min-height: 30px; padding: 4px; font-size: 13px; font-weight: 600; }
.mobile-usp-bar-slide { align-self: center; display: flex; flex-direction: row; align-items: center; }
@media (min-width: 768px) and (max-width: 991px) {
    .site-usp__list { padding-left: 24px; padding-right: 24px; gap: 28px; }
    .site-usp__list .site-usp__customers { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .mobile-usp-bar-slide { animation: site-header-usp-in 1.5s; }
    @keyframes site-header-usp-in { from { opacity: 0; } to { opacity: 1; } }
}
