.nk-category-page {
    min-height: 60vh;
    color: #111;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.nk-category-filterbar {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 22px;
    border-bottom: 1px solid #e8e8e8;
    overflow-x: auto;
    scrollbar-width: thin;
    white-space: nowrap;
}

.nk-category-filterbar > strong {
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 700;
}

.nk-category-filterbar__settings,
.nk-category-filterbar__filter {
    flex: 0 0 auto;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #8b8b8b;
    border-radius: 5px;
    color: #171717;
    background: #fff;
    font-family: inherit;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nk-category-filterbar__settings:hover,
.nk-category-filterbar__settings:focus-visible,
.nk-category-filterbar__filter:hover,
.nk-category-filterbar__filter:focus-within {
    border-color: #111;
    background: #f4f4f4;
}

.nk-category-filterbar__settings:focus-visible,
.nk-category-filterbar__filter:focus-within {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.nk-category-filterbar__settings {
    width: 62px;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
}

.nk-category-filterbar__filter {
    position: relative;
    min-width: 118px;
}

.nk-category-filterbar__filter select {
    width: 100%;
    height: 100%;
    padding: 0 31px 0 13px;
    border: 0;
    outline: 0;
    appearance: none;
    color: #171717;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    text-transform: uppercase;
}

.nk-category-filterbar__filter > i {
    position: absolute;
    top: 50%;
    right: 11px;
    pointer-events: none;
    transform: translateY(-50%);
}

.nk-category-filterbar__clear {
    flex: 0 0 auto;
    padding: 7px 4px;
    border-bottom: 1px solid #333;
    color: #333;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.nk-category-filterbar__clear:hover,
.nk-category-filterbar__clear:focus {
    color: #777;
    border-color: #777;
    text-decoration: none;
}

.nk-category-filterbar__count {
    margin-left: auto;
    padding-left: 16px;
    color: #6a6a6a;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nk-category-page__inner {
    width: min(1900px, calc(100vw - 56px));
    margin: 0 auto;
    padding: 27px 0 64px;
}

.nk-category-page__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.nk-category-page__heading h1 {
    margin: 0;
    color: #111;
    font-size: clamp(24px, 2.2vw, 22px);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}

.nk-category-page__heading > a {
    flex: 0 0 auto;
    padding-bottom: 6px;
    border-bottom: 1px solid #111;
    color: #111;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}

.nk-category-page__heading > a:hover,
.nk-category-page__heading > a:focus {
    color: #555;
    border-color: #555;
}

.nk-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(20px, 2.6vw, 52px);
    row-gap: clamp(40px, 4vw, 72px);
}

.nk-category-product {
    min-width: 0;
}

.nk-category-product__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f3f3f3;
}

.nk-category-product__media > a {
    width: 100%;
    height: 100%;
    display: block;
}

.nk-category-product__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.nk-category-product:hover .nk-category-product__media img {
    transform: scale(1.02);
}

.nk-category-product__wish {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    color: #111;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    line-height: 48px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nk-category-product__wish:hover,
.nk-category-product__wish:focus-visible,
.nk-category-product__wish.is-active {
    color: #e32620;
    background: #fff;
    transform: scale(1.05);
}

.nk-category-product__wish:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.nk-category-product__content {
    padding-top: 15px;
}

.nk-category-product__content h3 {
    min-height: 44px;
    margin: 0 0 7px;
    overflow: hidden;
    font-size: clamp(15px, 1.2vw, 20px);
    font-weight: 700;
    line-height: 1.3;
}

.nk-category-product__content h3 a {
    color: #111;
    text-decoration: none;
}

.nk-category-product__content h3 a:hover,
.nk-category-product__content h3 a:focus {
    color: #555;
}

.nk-category-product__price {
    min-height: 32px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
    color: #111;
    font-size: 17px;
}

.nk-category-product__price .sales-card-price {
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 400;
}

.nk-category-product__price .old-price,
.nk-category-product__price del {
    color: #777;
    font-size: 14px;
}

.nk-category-product__order {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 0;
    color: #fff;
    background: #f3271d;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.2s ease;
}

.nk-category-product__order:hover,
.nk-category-product__order:focus-visible {
    color: #fff;
    background: #cf1710;
}

.nk-category-product__order:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.nk-category-pagination {
    display: flex;
    justify-content: center;
    margin-top: 58px;
}

.nk-category-page__empty {
    margin: 80px 0;
    color: #666;
    font-size: 18px;
    text-align: center;
}

@media (max-width: 980px) {
    .nk-category-filterbar {
        min-height: 60px;
        gap: 8px;
        padding-inline: 16px;
    }

    .nk-category-filterbar__settings,
    .nk-category-filterbar__filter {
        height: 40px;
    }

    .nk-category-filterbar__settings {
        width: 54px;
    }

    .nk-category-filterbar__filter {
        min-width: 112px;
    }

    .nk-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .nk-category-filterbar {
        min-height: 56px;
        padding: 7px 10px;
    }

    .nk-category-filterbar > strong {
        font-size: 15px;
    }

    .nk-category-filterbar__settings,
    .nk-category-filterbar__filter {
        height: 38px;
    }

    .nk-category-filterbar__settings {
        width: 46px;
        font-size: 18px;
    }

    .nk-category-filterbar__filter {
        min-width: 100px;
    }

    .nk-category-filterbar__filter select {
        padding-inline: 10px 27px;
        font-size: 11px;
    }

    .nk-category-filterbar__count {
        padding-left: 10px;
        font-size: 12px;
    }

    .nk-category-page__inner {
        width: calc(100vw - 24px);
        padding: 24px 0 48px;
    }

    .nk-category-page__heading {
        align-items: center;
        margin-bottom: 18px;
    }

    .nk-category-page__heading > a {
        font-size: 14px;
    }

    .nk-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 10px;
    }

    .nk-category-product__wish {
        top: 9px;
        right: 9px;
        width: 38px;
        height: 38px;
        font-size: 23px;
        line-height: 38px;
    }

    .nk-category-product__content {
        padding-top: 10px;
    }

    .nk-category-product__content h3 {
        min-height: 38px;
        margin-bottom: 5px;
        font-size: 14px;
    }

    .nk-category-product__price {
        min-height: 28px;
        gap: 4px;
        margin-bottom: 8px;
    }

    .nk-category-product__price .sales-card-price {
        font-size: 16px !important;
    }

    .nk-category-product__price .old-price,
    .nk-category-product__price del {
        font-size: 12px;
    }

    .nk-category-product__order {
        min-height: 42px;
        padding: 8px 6px;
        font-size: 15px;
    }
}
