body.tax-product_cat .tk-category-archive__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(16px, 2.2vw, 28px);
    row-gap: clamp(18px, 2vw, 24px);
    align-items: center;
}

body.tax-product_cat .tk-category-archive__breadcrumb {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    align-self: center;
}

body.tax-product_cat .tk-category-archive__heading-block {
    display: none;
}

body.tax-product_cat .tk-category-archive__header {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: center;
    justify-self: end;
}

body.tax-product_cat .tk-category-archive__products,
body.tax-product_cat .tk-category-archive__pagination,
body.tax-product_cat .tk-category-archive__empty {
    grid-column: 1 / -1;
}

body.tax-product_cat .tk-category-archive {
    padding-top: clamp(20px, 2vw, 28px);
}

.tk-category-banner {
    width: 100vw;
    max-width: none;
    margin: 0 calc(50% - 50vw) 0;
    padding: 0;
    background: var(--tk-surface-page, #F7F1E6);
    color: #fff;
    box-sizing: border-box;
}

.tk-category-banner__inner {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: clamp(210px, 19vw, 300px);
    margin-inline: auto;
    border-radius: 0;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(5, 18, 13, 0.58), rgba(5, 18, 13, 0.18) 45%, rgba(5, 18, 13, 0.08)),
        linear-gradient(0deg, rgba(5, 18, 13, 0.55), rgba(5, 18, 13, 0.00) 55%),
        var(--tk-category-banner-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: none;
    isolation: isolate;
}

.tk-category-banner__content {
    position: absolute;
    left: clamp(24px, 3vw, 46px);
    bottom: clamp(20px, 2.5vw, 34px);
    z-index: 2;
    width: min(860px, calc(100% - 48px));
}

.tk-category-banner__title {
    margin: 0;
    color: #fffaf0;
    font-size: clamp(30px, 3.15vw, 50px);
    line-height: 1.02;
    letter-spacing: -0.038em;
    font-weight: 900;
    text-shadow: 0 5px 22px rgba(0, 0, 0, 0.44);
}

.tk-category-banner__subtitle {
    margin: 8px 0 0 clamp(12px, 1.2vw, 20px);
    color: rgba(255, 250, 240, 0.88);
    font-size: clamp(16px, 1.35vw, 23px);
    line-height: 1.12;
    letter-spacing: -0.018em;
    font-weight: 760;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.tk-category-banner__accent {
    display: block;
    width: clamp(64px, 6vw, 98px);
    height: 4px;
    margin-top: clamp(9px, 0.9vw, 13px);
    border-radius: 999px;
    background: #e0ad18;
    box-shadow: 0 4px 16px rgba(224, 173, 24, 0.34);
}

@media (max-width: 767px) {
    body.tax-product_cat .tk-category-archive__inner {
        display: block;
    }

    body.tax-product_cat .tk-category-archive__header {
        margin-top: 14px;
        justify-self: stretch;
    }

    body.tax-product_cat .tk-category-archive {
        padding-top: 18px;
    }

    .tk-category-banner {
        margin-bottom: 14px;
        padding: 0;
    }

    .tk-category-banner__inner {
        min-height: 168px;
        border-radius: 0;
    }

    .tk-category-banner__content {
        left: 18px;
        bottom: 18px;
        width: calc(100% - 36px);
    }

    .tk-category-banner__title {
        font-size: clamp(25px, 8vw, 34px);
        letter-spacing: -0.038em;
    }

    .tk-category-banner__subtitle {
        margin: 6px 0 0 10px;
        font-size: clamp(14px, 4.1vw, 18px);
    }

    .tk-category-banner__accent {
        width: 62px;
        height: 4px;
        margin-top: 8px;
    }
}
