.tk-category {
    padding: 1.25rem 0 2.5rem;
    background: transparent;
    overflow-x: clip;
}

.tk-category__pager {
    margin-top: 2rem;
}

.tk-category .tk-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: 0.86rem;
    color: #7a7a7a;
}

.tk-category .tk-breadcrumb a {
    color: #555;
}

.tk-category .tk-breadcrumb a:hover {
    color: #111;
}

.tk-category .tk-breadcrumb__sep {
    color: #bbb;
}

.tk-category .tk-breadcrumb__current {
    color: #111;
    font-weight: 600;
}

.tk-category__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.tk-category__main {
    min-width: 0;
}

.tk-category__aside {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 1rem;
}

.tk-category__aside-block {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #ebe4d8;
    border-radius: 0.85rem;
    padding: 1rem 1rem 0.85rem;
}

.tk-category__aside-block h2 {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #111;
}

.tk-category__aside-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.2rem;
}

.tk-category__aside-block a {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    color: #444;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.tk-category__aside-block a:hover,
.tk-category__aside-block a.is-active {
    background: #111;
    color: #fff;
}

.tk-category__aside-block a.is-open {
    background: rgba(17, 17, 17, 0.08);
    color: #111;
    font-weight: 700;
}

.tk-category__aside-sub {
    list-style: none;
    margin: 0.15rem 0 0.35rem;
    padding: 0 0 0 0.65rem;
    display: grid;
    gap: 0.1rem;
}

.tk-category__aside-sub a {
    font-size: 0.84rem;
    padding: 0.4rem 0.6rem;
    color: #666;
}

.tk-category__head {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: flex-end;
    margin-bottom: 1.1rem;
}

.tk-category__head-copy {
    min-width: 0;
}

.tk-category__head h1 {
    margin: 0 0 0.45rem;
    font-family: var(--tk-display, Georgia, serif);
    font-size: clamp(1.45rem, 4.5vw, 2.25rem);
    font-weight: 700;
    color: var(--tk-ink, #14181f);
    letter-spacing: -0.02em;
    line-height: 1.2;
    word-break: break-word;
}

.tk-category__head p {
    margin: 0;
    max-width: 40rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.tk-category__meta {
    display: grid;
    gap: 0.65rem;
    justify-items: end;
    flex-shrink: 0;
}

.tk-category__meta > span {
    font-size: 0.9rem;
    color: #666;
}

.tk-category__meta strong {
    color: #111;
}

.tk-category__sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tk-category__sort label {
    font-size: 0.84rem;
    color: #666;
    white-space: nowrap;
}

.tk-category__sort select {
    min-width: 12.5rem;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 0.88rem;
    padding: 0 0.7rem;
    max-width: 100%;
}

.tk-category__chips {
    display: none;
    gap: 0.45rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.15rem 0 0.85rem;
    margin: 0 0 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x manipulation;
}

.tk-category__chips::-webkit-scrollbar {
    display: none;
}

.tk-category__chip {
    flex: 0 0 auto;
    padding: 0.45rem 0.8rem;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    touch-action: manipulation;
}

.tk-category__chip--special {
    border-color: #e4d5bc;
    background: #fbf7f1;
}

.tk-category__chip.is-active,
.tk-category__chip:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.tk-category__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.65rem;
    margin: 0 0 1.25rem;
}

.tk-category__filter {
    display: grid;
    gap: 0.3rem;
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.tk-category__filter span {
    line-height: 1.2;
}

.tk-category__filter select,
.tk-category__filter input[type="number"] {
    height: 40px;
    min-width: 0;
    width: 100%;
    max-width: 160px;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0 0.65rem;
}

.tk-category__filter--check {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 40px;
    padding: 0 0.55rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: #fff;
    font-weight: 600;
    color: #333;
}

.tk-category__filter--check input {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

.tk-category__filter-btn {
    height: 40px;
    padding: 0 1rem;
    border: 1px solid #14181f;
    border-radius: 0.5rem;
    background: #14181f;
    color: #fff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 650;
    cursor: pointer;
    touch-action: manipulation;
}

.tk-category__filter-btn:hover {
    background: #2a3140;
    border-color: #2a3140;
}

.tk-category__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem 1rem;
}

.tk-category__grid .tk-product-card {
    flex: none;
    min-width: 0;
    width: 100%;
}

.tk-category__empty {
    text-align: center;
    padding: 3.5rem 1.25rem;
    border: 1px dashed #ddd;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.75);
}

.tk-category__empty i {
    font-size: 2rem;
    color: #aaa;
}

.tk-category__empty h2 {
    margin: 0.85rem 0 0.45rem;
    font-size: 1.25rem;
    color: #111;
}

.tk-category__empty p {
    margin: 0 0 1.1rem;
    color: #666;
}

.tk-category__empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 1.1rem;
    border-radius: 0.5rem;
    background: #111;
    color: #fff;
    font-weight: 600;
}

.tk-category__empty a:hover {
    background: #333;
    color: #fff;
}

.tk-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 2rem;
    padding-top: 0.25rem;
}

.tk-pagination__pages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.tk-pagination__page,
.tk-pagination__btn {
    min-width: 40px;
    height: 40px;
    padding: 0 0.7rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: #fff;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tk-pagination__page:hover,
.tk-pagination__btn:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.tk-pagination__page.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
    cursor: default;
}

.tk-pagination__btn.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 1199.98px) {
    .tk-category__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .tk-category__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tk-category__aside {
        display: none;
    }

    .tk-category__chips {
        display: flex;
    }

    .tk-category__head {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .tk-category__meta {
        justify-items: stretch;
        width: 100%;
    }

    .tk-category__sort {
        width: 100%;
    }

    .tk-category__sort select {
        flex: 1;
        min-width: 0;
        width: 100%;
    }

    .tk-category__filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
        margin-bottom: 1rem;
        padding: 0.85rem;
        border: 1px solid #ebe4d8;
        border-radius: 0.85rem;
        background: rgba(255, 255, 255, 0.9);
    }

    .tk-category__filter select,
    .tk-category__filter input[type="number"] {
        max-width: none;
    }

    .tk-category__filter--check {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: flex-start;
    }

    .tk-category__filter-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .tk-category {
        padding: 0.65rem 0 2rem;
    }

    .tk-category .container-xxl {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .tk-category .tk-breadcrumb {
        margin-bottom: 0.85rem;
        font-size: 0.8rem;
    }

    .tk-category__head h1 {
        font-size: 1.45rem;
    }

    .tk-category__head p {
        font-size: 0.88rem;
    }

    .tk-category__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem 0.55rem;
    }

    .tk-category__grid .tk-product-card__actions {
        opacity: 1;
        top: auto;
        bottom: 0.55rem;
        transform: none;
        grid-auto-flow: column;
        right: 0.55rem;
    }

    .tk-category__grid .tk-product-card__title {
        font-size: 0.88rem;
    }

    .tk-pagination__page,
    .tk-pagination__btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.84rem;
    }
}

@media (max-width: 379.98px) {
    .tk-category__filters {
        grid-template-columns: 1fr;
    }
}
