/* Shared category navigation. Load after the page stylesheet. */
.category-header { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); overflow:visible; }
.header.category-header .category-nav { display:flex; align-items:center; gap:28px; margin:0; min-width:0; height:100%; }
.category-group { height:100%; display:flex; align-items:center; }
.header.category-header .category-trigger,
.header.category-header .category-panel a {
 font-family:'Arial Narrow','Helvetica Neue',Arial,sans-serif; font-stretch:condensed;
 font-size:13px; font-weight:400; letter-spacing:1.5px; line-height:1.5;
 text-transform:uppercase; text-decoration:none; white-space:nowrap;
 color:var(--nav-ink) !important; -webkit-text-fill-color:var(--nav-ink) !important;
}
.category-trigger { border:0; background:transparent; border-radius:0; padding:12px 0; appearance:none; cursor:pointer; }
.category-trigger[aria-expanded="true"] { text-decoration:underline !important; text-underline-offset:5px; }
.category-panel { position:absolute; top:100%; left:0; right:0; padding:22px 28px 36px; min-height:235px; max-height:calc(100svh - 100px); overflow-y:auto; background:var(--nav-panel); -webkit-backdrop-filter:blur(22px); backdrop-filter:blur(22px); box-shadow:0 12px 20px #0001; }
.category-panel[hidden] { display:none !important; }
.category-panel ul { list-style:none; margin:0; padding:0; }
.header.category-header .category-panel a { display:block; width:fit-content; padding:5px 0; }
.header.category-header .category-panel a:hover { text-decoration:underline; text-underline-offset:4px; }
.category-header :focus-visible { outline:2px solid var(--nav-ink); outline-offset:4px; }
.home-category-header { --nav-ink:#fff; --nav-panel:rgba(30,30,30,.65); }
.product-category-header { --nav-ink:#111; --nav-panel:rgba(245,245,245,.88); position:relative; z-index:100; }
/* Preserve the centered wordmark and put category buttons on a second row on narrow screens. */
@media(max-width:900px) {
 .header.category-header { height:auto; min-height:94px; grid-template-columns:1fr auto 1fr; grid-template-rows:54px 40px; padding:0 16px; }
 .category-header .brand { grid-row:1; grid-column:2; justify-self:center; }
 .category-header > .bag, .category-header > #bag-button { grid-row:1; grid-column:3; justify-self:end; }
 .header.category-header .category-nav { grid-row:2; grid-column:1 / -1; justify-content:flex-start; gap:26px; }
 .header.category-header .category-trigger, .header.category-header .category-panel a { font-size:12px; letter-spacing:1.2px; }
 .category-panel { padding:16px 16px 25px; }
}
/* Extend the dropdown blur behind the navbar */
.category-header:has(.category-trigger[aria-expanded="true"])::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--nav-panel);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    pointer-events: none;
}

.category-header {
    isolation: isolate;
}
.category-header #bag-button,
.category-header > .bag {
    width: auto;
    height: auto;
    padding: 10px 0;
    font-family: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.5;
}
/* Shared white footer */
footer.site-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    margin: 0;
    padding: 40px 32px 28px;
    background: #fff;
    color: #777;
    text-align: left;
}

.site-footer .footer-brand {
    display: block;
    align-self: center;
    margin: 0 0 28px;
}

.site-footer .footer-brand img {
    display: block;
    width: 120px;
    height: auto;
}

.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 28px;
    margin: 0;
}

.site-footer .footer-links a,
.site-footer .footer-links #contact-button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777 !important;
    -webkit-text-fill-color: #777 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links #contact-button:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin-top: 52px;
}

.site-footer .footer-copyright {
    width: auto;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

.site-footer img.footer-payments {
    display: block;
    width: 498px;
    max-width: 50%;
    height: auto;
}

@media (max-width: 760px) {
    footer.site-footer {
        padding: 32px 20px 24px;
    }

    .site-footer .footer-links {
        gap: 12px 20px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        gap: 22px;
        margin-top: 32px;
    }

    .site-footer img.footer-payments {
        order: 1;
        width: 498px;
        max-width: 100%;
    }

    .site-footer .footer-copyright {
        order: 2;
        text-align: center;
        font-size: 10px;
    }
}
