.nk-site-header,
.nk-site-header * {
    box-sizing: border-box;
}

.nk-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    color: #111;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #d9d9d9;
    font-family: Arial, Helvetica, sans-serif;
}

.nk-site-header a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nk-site-header a:hover,
.nk-site-header a:focus {
    color: #bd4f2e;
    text-decoration: none;
}

.nk-brand-row {
    min-height: 67px;
    display: grid;
    grid-template-columns: 92px minmax(380px, 1fr) minmax(250px, 360px) auto;
    gap: 28px;
    align-items: center;
    padding: 4px 40px;
}

.nk-brand-mark {
    width: 92px;
    height: 60px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

.nk-brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.nk-brand-links {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 42px);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(16px, 1.55vw, 22px);
}

.nk-brand-links::-webkit-scrollbar,
.nk-category-row::-webkit-scrollbar {
    display: none;
}

.nk-brand-links a:first-child {
    font-size: 1.05em;
}

.nk-header-search {
    min-width: 0;
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    margin: 0;
    border-bottom: 1px solid #111;
}

.nk-header-search button {
    min-width: 30px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    color: #111;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.nk-header-search button:hover,
.nk-header-search button:focus {
    color: #bd4f2e;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.nk-header-search input {
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 8px 4px;
    color: #222;
    background: transparent;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.nk-header-search input::placeholder {
    color: #777;
    opacity: 1;
}

.nk-header-search input::-webkit-search-cancel-button {
    display: none;
}

.nk-header-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.nk-bag-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nk-bag-link .total-count {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    color: #fff;
    background: #bd4f2e;
    border-radius: 999px;
    font-size: 11px;
    line-height: 20px;
}

.nk-category-row {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(17px, 2.1vw, 31px);
    overflow-x: auto;
    padding: 0 40px 10px 156px;
    white-space: nowrap;
    scrollbar-width: none;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
}

.nk-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) {
    .nk-brand-row {
        grid-template-columns: 78px minmax(330px, 1fr) minmax(210px, 290px) auto;
        gap: 18px;
        padding-inline: 24px;
    }

    .nk-brand-mark {
        width: 78px;
        height: 56px;
    }

    .nk-category-row {
        padding-left: 120px;
        padding-right: 24px;
    }
}

@media (max-width: 860px) {
    .nk-brand-row {
        grid-template-columns: 68px 1fr auto;
        grid-template-areas:
            "logo brands actions"
            "logo search search";
        gap: 10px 16px;
        padding: 8px 24px 12px;
    }

    .nk-brand-mark {
        width: 68px;
        height: 54px;
        grid-area: logo;
    }

    .nk-brand-links {
        grid-area: brands;
        gap: 22px;
        font-size: 17px;
    }

    .nk-header-search {
        grid-area: search;
    }

    .nk-header-actions {
        grid-area: actions;
    }

    .nk-category-row {
        min-height: 36px;
        padding: 0 24px 9px;
    }
}

@media (max-width: 620px) {
    .nk-brand-row {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        gap: 8px 10px;
        padding-inline: 16px;
    }

    .nk-brand-mark {
        width: 58px;
        height: 48px;
    }

    .nk-brand-links {
        gap: 18px;
        font-size: 15px;
    }

    .nk-header-actions {
        gap: 10px;
        font-size: 11px;
    }

    .nk-track-link,
    .nk-bag-label {
        display: none;
    }

    .nk-category-row {
        padding-inline: 16px;
        font-size: 11px;
    }
}
