/* A visible home route stays available outside the category menu. */
.site-header {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: clamp(14px, 1.5vw, 24px);
}
.home-navigation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 8px;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid #cffbff;
    border-radius: 6px;
    color: #101112;
    background: linear-gradient(110deg,#30d9eb 0%,#8ae8ef 35%,#ff8ac5 75%,#ff3f93 100%);
    box-shadow: inset 0 1px 0 #fffc,inset 0 -1px 0 #9e397b66,0 6px 0 #35445d,-5px 5px 21px #30d9eb26,5px 5px 21px #ff3f9338;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease,box-shadow .22s ease,border-color .22s ease;
}
.home-navigation svg { flex: 0 0 auto; color: currentColor; }
.home-navigation svg path { stroke-width: 2; }
.home-navigation[aria-current] { border-color: #fff; }
@media (hover:hover) and (pointer:fine) {
    .home-navigation:hover {
        color: #101112;
        border-color: #fff;
        transform: translateY(-2px);
        box-shadow: inset 0 1px 0 #fff,0 8px 0 #35445d,-6px 6px 27px #30d9eb52,6px 6px 27px #ff3f9361;
    }
}
.site-header .home-navigation:focus-visible { outline: 3px solid #f0ede7; outline-offset: 6px; }
.home-navigation:active {
    transform: translateY(4px);
    box-shadow: inset 0 2px 5px #10111226,0 2px 0 #35445d,-3px 3px 16px #30d9eb38,3px 3px 16px #ff3f9345;
}
.site-header #main-navigation { min-width: 0; gap: clamp(12px, 1.5vw, 24px); }
.site-header .header-actions { gap: 14px; }
@media (max-width: 1300px) {
    .site-header .header-contact { display: none; }
    .site-header #main-navigation > a { font-size: 11px; letter-spacing: .55px; }
}
@media (max-width: 1100px) {
    .site-header { grid-template-columns: minmax(0, 1fr) auto auto auto; }
    .site-header #main-navigation {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        width: 100%;
        max-height: calc(100dvh - var(--tunal-header-height, 90px));
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 22px var(--pad);
        background: var(--panel-deep);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px -20px #0009;
    }
    .site-header #main-navigation.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .site-header #main-navigation > a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding-block: 10px;
        font-size: 16px;
    }
    .site-header #main-navigation > a[aria-current]:after { display: none; }
    .site-header .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        margin: 0;
        gap: 7px;
        border: 0;
        background: none;
    }
    .site-header .menu-toggle span { width: 24px; height: 1px; background: var(--ink); }
    .site-header .header-actions { margin: 0; gap: 8px; }
}
@media (max-width: 650px) {
    .site-header { gap: 8px; padding-inline: 16px; }
    .site-header .brand > span { display: none; }
    .site-header .brand img { width: 42px; height: 42px; }
    .home-navigation { min-height: 48px; padding: 10px 9px; font-size: 11px; gap: 6px; }
    .home-navigation svg { width: 16px; height: 16px; }
    .site-header .header-actions { gap: 8px; }
    .site-header .language-switch { gap: 0; }
    .site-header .language-switch a { min-width: 25px; min-height: 44px; }
    .site-header .bag { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 44px; }
}
@media (max-width: 359px) {
    .site-header { gap: 5px; padding-inline: 10px; }
    .site-header .brand img { width: 32px; height: 32px; }
    .home-navigation { padding-inline: 7px; gap: 5px; }
    .site-header .header-actions { gap: 5px; }
    .site-header .language-switch a { min-width: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-navigation, .home-navigation:is(:hover,:active) { transition: none; transform: none; }
}

/* A two-tone shopping bag, legible within the compact mobile header. */
.site-header .bag .bag-icon {
    display:block; flex-shrink:0;
    filter:drop-shadow(-1px 0 3px #30d9eb38) drop-shadow(1px 1px 3px #ff5aa738);
    transition:filter .2s ease,transform .2s ease;
}
.site-header .bag > span {
    background:linear-gradient(110deg,#30d9eb,#ff8ac5);
    color:#101112; font-weight:750;
}
@media (hover:hover) and (pointer:fine) {
    .site-header .bag:hover .bag-icon {
        filter:drop-shadow(-1px 0 5px #30d9eb80) drop-shadow(1px 1px 5px #ff5aa780);
        transform:translateY(-1px);
    }
}
.site-header .bag:focus-visible { outline:2px solid #30d9eb; outline-offset:4px; border-radius:4px; }
@media (prefers-reduced-motion:reduce) {
    .site-header .bag .bag-icon,
    .site-header .bag:hover .bag-icon { transition:none; transform:none; }
}
@media (forced-colors:active) {
    .site-header .bag .bag-icon { filter:none; }
    .site-header .bag .bag-icon path { stroke:LinkText; fill:none; }
}

/* Keep primary navigation legible in WebKit, including visited links. */
.site-header #main-navigation > a:link,
.site-header #main-navigation > a:visited { color: #f0ede7; }
.site-header #main-navigation > a:hover,
.site-header #main-navigation > a:focus-visible,
.site-header #main-navigation > a[aria-current] { color: #f5bcd2; }
