.tc-site-header {
    position: relative;
    z-index: 100;
    color: #fff;
    background: radial-gradient(circle at 92% 0%, rgb(255 255 255/.12), transparent 28%), linear-gradient(135deg, var(--z-color-primary-hover), var(--z-color-primary))
}

.tc-site-header--inner {
    background: var(--z-color-primary);
    box-shadow: 0 2px 0 rgb(5 35 90/.12)
}

.tc-site-header--home {
    position: absolute;
    inset: 0 0 auto;
    background: transparent;
    box-shadow: none
}

.tc-site-header--home::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgb(3 14 38/.72), rgb(3 14 38/.08));
    pointer-events: none
}

.tc-header-shell {
    width: min(calc(100% - 5px), var(--z-container));
    margin-inline: auto;
    padding: 1px 10px
}

.tc-header-top {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.tc-menu-toggle,
.tc-drawer__close {
    display: inline-grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    color: inherit;
    border: 1px solid rgb(255 255 255/.3);
    border-radius: 50%;
    background: rgb(255 255 255/.08);
    cursor: pointer
}

.tc-menu-toggle__icon {
    display: grid;
    width: 19px;
    gap: 4px
}

.tc-menu-toggle__icon span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease
}

.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg)
}

.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__icon span:nth-child(2) {
    opacity: 0
}

.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg)
}

.tc-brand {
    min-width: 0;
    text-align: center
}

.tc-brand .custom-logo-link {
    display: inline-flex;
    align-items: center
}

.tc-brand .custom-logo {
    width: auto;
    max-width: 178px;
    max-height: 42px
}

.tc-brand__text {
    color: #fff;
    font-size: clamp(1.55rem, 7vw, 2rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
    text-decoration: none
}

.tc-brand__text span {
    color: var(--z-color-accent)
}

.tc-all-categories {
    display: grid;
    justify-items: center;
    color: inherit;
    text-decoration: none
}

.tc-all-categories svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7
}

.tc-all-categories span {
    display: none
}

.tc-search {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 35px;
    margin-top: 6px;
    padding: 4px 4px 4px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(0 0 0/.12)
}

.tc-search__icon {
    width: 20px;
    color: #71808c;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8
}

.tc-search input[type="search"] {
    width: 100%;
    min-width: 0;
    /* height: 38px; */
    padding: 0 10px;
    color: var(--z-color-ink);
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
}

.tc-search input::placeholder {
    color: #738083;
    opacity: 1
}

.tc-search button {
    display: inline-flex;
    width: 29px;
    min-width: 29px;
    height: 29px;
    min-height: 29px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 0;
    border-radius: 50%;
    background: var(--z-color-primary);
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    cursor: pointer
}

.tc-search button>span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px)
}

.tc-search button:hover {
    background: var(--z-color-primary-hover);
    transform: none
}

.tc-search__label {
    display: none
}

.tc-quick-nav {
    margin-top: 7px;
    overflow: hidden
}

.tc-quick-menu {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0 0 3px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none
}

.tc-quick-menu::-webkit-scrollbar {
    display: none
}

.tc-quick-menu li {
    flex: 0 0 auto
}

.tc-quick-menu a {
    display: block;
    padding: 6px 14px;
    color: #fff;
    border: 1px solid rgb(255 255 255 / .34);
    border-radius: 999px;
    font-size: .825rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.tc-quick-menu a:hover,
.tc-quick-menu .current-menu-item>a {
    color: var(--z-color-navy);
    border-color: #fff;
    background: #fff
}

.tc-quick-menu--children {
    margin-top: 7px
}

.tc-quick-menu--children a {
    padding-block: 7px;
    font-size: .8rem
}

.tc-drawer {
    position: fixed;
    z-index: 1000;
    inset: 0
}

.tc-drawer[hidden] {
    display: none
}

.tc-drawer__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgb(4 15 38/.58);
    backdrop-filter: blur(3px)
}

.tc-drawer__panel {
    position: relative;
    width: min(88vw, 390px);
    height: 100%;
    padding: 20px;
    overflow-y: auto;
    color: var(--z-color-ink);
    background: #fff;
    box-shadow: var(--z-shadow-md);
    animation: tc-drawer-in .22s ease-out
}

.tc-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--z-color-border)
}

.tc-drawer__head strong {
    font-size: 1.2rem
}

.tc-drawer__close {
    color: var(--z-color-ink) !important;
    border-color: var(--z-color-border);
    background: var(--z-color-canvas);
    font-size: 28px;
    line-height: 1.2
}

.tc-primary-menu {
    margin: 12px 0 0;
    padding: 0;
    list-style: none
}

.tc-primary-menu a {
    display: flex;
    min-height: 50px;
    align-items: center;
    color: var(--z-color-ink) !important;
    border-bottom: 1px solid var(--z-color-border);
    font-weight: 700;
    text-decoration: none
}

.tc-primary-menu .sub-menu {
    margin: 0;
    padding-left: 18px;
    list-style: none
}

.tc-primary-menu .sub-menu a {
    min-height: 44px;
    color: var(--z-color-muted);
    font-size: .875rem
}

.tc-primary-menu .menu-item-has-children {
    position: relative
}

.tc-primary-menu .menu-item-has-children>a {
    padding-right: 48px
}

.tc-primary-menu .sub-menu {
    display: none;
    padding: 4px 0 8px 18px;
    border-bottom: 1px solid var(--z-color-border)
}

.tc-primary-menu .is-submenu-open>.sub-menu {
    display: block
}

.tc-primary-menu .sub-menu a {
    min-height: 40px;
    border-bottom: 0
}

.tc-submenu-toggle {
    position: absolute;
    right: 0;
    top: 5px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    color: var(--z-color-primary);
    border: 0;
    border-radius: 10px;
    background: var(--z-color-canvas);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer
}

.tc-submenu-toggle:hover {
    background: #e7efff
}

body.tc-menu-open {
    overflow: hidden
}

@keyframes tc-drawer-in {
    from {
        transform: translateX(-100%)
    }

    to {
        transform: translateX(0)
    }
}

@media(min-width:768px) {
    .tc-header-shell {
        width: calc(100% - clamp(80px, 8vw, 160px));
        padding: 10px 10px 2px 5px;
    }

    .tc-header-top {
        grid-template-columns: 52px minmax(180px, 1fr) auto;
        gap: 18px;
        padding: 0;
    }

    .tc-brand {
        text-align: left;
    }

    .tc-header-actions {
        justify-self: end;
    }

    .tc-brand {
        text-align: left
    }

    /* .tc-all-categories {
        grid-column: 4;
        grid-row: 1;
        min-width: 92px
    }

    .tc-all-categories span {
        display: block;
        margin-top: 2px;
        font-size: 12px;
        font-weight: 700
    } */

    .tc-search {
        margin-top: 8px
    }

    .tc-quick-nav {
        margin-top: 5px;
        padding-top: 4px;
        border-top: 1px solid rgb(255 255 255/.16)
    }

    .tc-quick-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        list-style: none;
        scrollbar-width: none;
    }

    .tc-quick-menu a {
        padding-inline: 16px
    }

    .tc-quick-menu--children {
        margin-top: 8px
    }
}

@media(min-width:1024px) {
    .tc-site-header--inner .tc-header-shell {
        padding-block: 12px 10px
    }

    .tc-site-header--inner .tc-search {
        min-height: 44px
    }

    .tc-site-header--inner .tc-search input,
    .tc-site-header--inner .tc-search button {
        height: 29px;
        min-height: 29px
    }

    .tc-site-header--inner .tc-search button {
        width: 29px;
        min-width: 29px
    }

    .tc-site-header--inner .tc-quick-nav {
        margin-top: 9px;
        padding-top: 8px
    }

    .tc-site-header--inner .tc-quick-menu a {
        padding-block: 7px
    }
}

/* =========================================
   HEADER CATEGORIES BUTTON
========================================= */

.tc-categories-toggle {
    display: inline-grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    color: #fff;
    border: 1px solid rgb(255 255 255 / .3);
    border-radius: 50%;
    background: rgb(255 255 255 / .08);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.tc-categories-toggle:hover {
    background: rgb(255 255 255 / .16);
    border-color: rgb(255 255 255 / .55);
}

.tc-categories-toggle__icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}


/* =========================================
   RIGHT HEADER ACTIONS
========================================= */

.tc-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.tc-header-action {
    position: relative;
    display: inline-flex;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition:
        background .18s ease,
        border-color .18s ease;
}

.tc-header-action:hover {
    color: #fff;
    background: rgb(255 255 255 / .12);
}

.tc-header-action svg {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   CART
========================================= */

.tc-cart-icon {
    position: relative;
    display: inline-flex;
}

.tc-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;

    display: flex;
    width: 18px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;

    align-items: center;
    justify-content: center;

    color: #fff;
    border: 2px solid #162c4d;
    border-radius: 999px;
    background: var(--z-color-accent);

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 767px) {

    .tc-header-action {
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
    }

    .tc-account-link>span {
        display: none;
    }

    .tc-cart-link>span:last-child {
        display: none;
    }

    .tc-header-actions {
        gap: 3px;
    }

    .tc-brand .custom-logo {
        max-width: 140px;
    }

}