.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0px 24px;
}

.brand {
    grid-column: 2;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-header .logo_container {
    height: 100px;
    padding: 0;
}

.logo_container {
    margin: 0 0 2px 0 !important;
}

.brand-logo {
    display: block;
    width: auto;
    height: 66px;
}

.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    padding: 10px;
    cursor: pointer;
}

.mobile-nav-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.mobile-nav-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.main-nav {
    grid-column: 1 / -1;
    justify-self: center;
}

.main-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--ink);
    display: block;
    padding: 0 0 8px;
    font-size: 1.125rem;
    font-family: 'Titillium Web', Helvetica, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: lowercase;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link.is-current,
.shop-dropdown a.is-current {
    font-weight: 600;
}

.nav-shop-trigger {
    padding-right: 18px;
}

.nav-shop::after {
    content: '';
    position: absolute;
    left: -12px;
    right: -12px;
    top: 100%;
    height: 18px;
}

.nav-shop-trigger::after {
    content: '\203A';
    position: absolute;
    right: 0;
    top: 1px;
    font-size: 0.95rem;
    transform: rotate(90deg);
}

.shop-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-24%);
    min-width: 560px;
    background: #ffffff;
    border: 0;
    border-top: 3px solid #f36f28;
    box-shadow: 0 16px 36px rgba(18, 36, 66, 0.14);
    padding: 18px 18px 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.shop-dropdown-column {
    display: grid;
    align-content: start;
    gap: 5px;
}

.shop-dropdown a {
    color: var(--ink);
    text-transform: lowercase;
    font-size: 0.92rem;
    padding: 4px 6px;
    border-radius: 4px;
}

.shop-dropdown a:hover {
    color: var(--accent);
    background: rgba(22, 58, 101, 0.07);
}

.shop-heading {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.nav-shop:hover .shop-dropdown,
.nav-shop:focus-within .shop-dropdown,
.nav-shop.is-open .shop-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-24%) translateY(0);
}

.cart-link {
    width: 28px;
    height: 28px;
    margin-top: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    position: relative;
}

.cart-link:hover {
    color: var(--accent);
}

.cart-link-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.cart-link-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cart-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1rem;
    height: 1rem;
    position: absolute;
    top: -3px;
    right: -5px;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 3px;
}

.storefront-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 24px 56px;
}

.storefront-main:has(.storefront-view[data-view='product']) {
    max-width: 1080px;
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 48px;
    padding: 28px 24px 44px;
}

.footer-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    font-size: 32px;
    line-height: 1em;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .site-header-inner {
        padding: 12px 16px;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 10px 12px;
    }

    .brand {
        grid-column: 1;
        justify-self: start;
        min-width: 0;
        max-width: 100%;
    }

    .brand-logo {
        height: 66px;
        max-width: 100%;
        object-fit: contain;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        grid-column: 2;
        justify-self: end;
    }

    .nav-cart .cart-link {
        margin: 10px 14px;
    }

    .main-nav {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
        display: none;
    }

    .site-header.nav-open .main-nav {
        display: block;
    }

    .main-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #ffffff;
        border-top: 3px solid var(--accent);
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        border-left: 1px solid var(--line);
    }

    .nav-item {
        border-bottom: 1px solid #edf1f6;
    }

    .nav-shop::after {
        display: none;
    }

    .nav-item:last-child {
        border-bottom: 0;
    }

    .nav-link {
        padding: 12px 14px;
        font-size: 0.93rem;
    }

    .nav-shop-trigger {
        padding-right: 14px;
    }

    .nav-shop-trigger::after {
        right: 14px;
        top: 12px;
    }

    .nav-shop.is-open .nav-shop-trigger::after {
        transform: rotate(-90deg);
    }

    .shop-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        border: 0;
        box-shadow: none;
        padding: 0 10px 12px;
        grid-template-columns: 1fr;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        display: none;
    }

    .nav-shop:hover .shop-dropdown,
    .nav-shop:focus-within .shop-dropdown {
        transform: none;
    }

    .nav-shop.is-open .shop-dropdown {
        display: grid;
    }

    .shop-dropdown-column {
        gap: 2px;
    }

    .shop-dropdown a {
        padding: 6px 8px;
    }

    .shop-heading {
        margin-top: 8px;
    }

    .storefront-main {
        padding: 20px 16px 44px;
    }

    .site-footer {
        padding: 24px 16px 36px;
    }

    .footer-nav {
        gap: 8px 10px;
        justify-content: flex-start;
    }

    .footer-nav a {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
