﻿.tc-page {
    min-height: 70vh;
    padding: 22px 0 90px;
    background: #f7faf9;
    color: #193540;
}

    .tc-page *,
    .tc-page *::before,
    .tc-page *::after {
        box-sizing: border-box;
    }

.tc-container {
    width: min(1190px, calc(100% - 36px));
    margin-inline: auto;
}

.tc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: #69808a;
    font-size: 12px;
}

    .tc-breadcrumb a {
        color: inherit;
        text-decoration: none;
    }

    .tc-breadcrumb span {
        color: #254450;
        font-weight: 700;
    }

    .tc-breadcrumb i {
        font-size: 10px;
    }

.tc-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 27px;
}

.tc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b6b7e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
}

.tc-intro h1 {
    margin: 11px 0 8px;
    color: #173541;
    font-size: clamp(33px, 4vw, 54px);
    font-weight: 850;
    letter-spacing: -.05em;
    line-height: 1.08;
}

.tc-intro p {
    max-width: 660px;
    margin: 0;
    color: #637b84;
    font-size: 15px;
    line-height: 1.7;
}

.tc-intro-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    padding: 14px 18px;
    border: 1px solid #e0ebed;
    border-radius: 16px;
    background: #fff;
}

    .tc-intro-stat > i {
        color: #0d697b;
        font-size: 25px;
    }

    .tc-intro-stat div {
        display: grid;
    }

    .tc-intro-stat strong {
        color: #173d4b;
        font-size: 22px;
        line-height: 1;
    }

    .tc-intro-stat span {
        margin-top: 4px;
        color: #758991;
        font-size: 11px;
    }

.tc-categories {
    display: flex;
    gap: 9px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}

    .tc-categories a {
        display: inline-flex;
        flex: none;
        align-items: center;
        gap: 8px;
        min-height: 45px;
        padding: 0 16px;
        border: 1px solid #dce8eb;
        border-radius: 12px;
        background: #fff;
        color: #35515b;
        font-size: 13px;
        font-weight: 750;
        text-decoration: none;
        transition: background .2s, border-color .2s, color .2s;
    }

        .tc-categories a:hover {
            border-color: #a9ccd3;
            color: #0d6075;
        }

        .tc-categories a.active {
            border-color: #0c6075;
            background: #0c6075;
            color: #fff;
        }

        .tc-categories a > span {
            display: grid;
            min-width: 21px;
            height: 21px;
            place-items: center;
            padding: 0 5px;
            border-radius: 7px;
            background: #edf5f6;
            color: #0b6072;
            font-size: 10px;
        }

        .tc-categories a.active > span {
            background: rgba(255, 255, 255, .18);
            color: #fff;
        }

.tc-filters {
    display: grid;
    grid-template-columns: minmax(190px, 1.5fr) repeat(3, minmax(125px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
    border: 1px solid #e1eaec;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 58, 69, .035);
}

    .tc-filters label {
        display: grid;
        min-width: 0;
        gap: 7px;
    }

        .tc-filters label > span:first-child {
            color: #536d77;
            font-size: 11px;
            font-weight: 800;
        }

    .tc-filters input,
    .tc-filters select {
        width: 100%;
        height: 42px;
        padding: 0 12px;
        border: 1px solid #dce7e9;
        border-radius: 9px;
        outline: 0;
        background: #fff;
        color: #254550;
        font: inherit;
        font-size: 12px;
    }

        .tc-filters input:focus,
        .tc-filters select:focus {
            border-color: #0e6c80;
            box-shadow: 0 0 0 3px rgba(14, 108, 128, .1);
        }

.tc-input-wrap {
    position: relative;
    display: block;
}

    .tc-input-wrap i {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: #80949c;
    }

    .tc-input-wrap input {
        padding-left: 36px;
    }

.tc-search-button {
    display: inline-flex;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: #0c6075;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

    .tc-search-button:hover {
        background: #084e60;
    }

.tc-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 25px 0 15px;
    color: #6b8189;
    font-size: 12px;
}

    .tc-results strong {
        color: #24414d;
    }

.tc-results-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #1b9b90;
}

.tc-results a {
    color: #0c6075;
    font-weight: 750;
    text-decoration: none;
}

.tc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.tc-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2eaeb;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(18, 49, 58, .045);
    transition: transform .22s, box-shadow .22s;
}

    .tc-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(18, 49, 58, .1);
    }

.tc-card-image {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden;
    background: #e8f0ef;
    color: #fff;
}

    .tc-card-image > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s;
    }

.tc-card:hover .tc-card-image > img {
    transform: scale(1.045);
}

.tc-card-image::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(6, 30, 36, .73));
    content: "";
    pointer-events: none;
}

.tc-card-category,
.tc-card-badge,
.tc-card-image-bottom {
    position: absolute;
    z-index: 1;
}

.tc-card-category {
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #fff;
    color: #0d5367;
    font-size: 11px;
    font-weight: 800;
}

.tc-card-badge {
    top: 13px;
    right: 13px;
    max-width: 45%;
    overflow: hidden;
    padding: 7px 9px;
    border-radius: 8px;
    background: #e9f7f4;
    color: #0c655c;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-card-sold {
    background: #fff2ec;
    color: #a34b30;
}

.tc-card-image-bottom {
    right: 14px;
    bottom: 13px;
    left: 14px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    font-weight: 750;
}

    .tc-card-image-bottom span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

.tc-card-body {
    display: flex;
    min-height: 255px;
    flex-direction: column;
    padding: 18px;
}

.tc-card-route {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #0c697d;
    font-size: 11px;
    font-weight: 800;
}

    .tc-card-route > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tc-card-route i {
        flex: none;
    }

.tc-card-body h2 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

    .tc-card-body h2 a {
        color: #1b3742;
        text-decoration: none;
    }

        .tc-card-body h2 a:hover {
            color: #0b6880;
        }

.tc-card-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 13px;
    color: #6a7e86;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tc-card-facts {
    display: grid;
    gap: 7px;
    margin-top: auto;
    padding-bottom: 16px;
}

    .tc-card-facts span {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: hidden;
        color: #506975;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tc-card-facts i {
        width: 15px;
        flex: none;
        color: #0c7385;
        font-size: 13px;
    }

.tc-card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #e9eff0;
}

.tc-card-price {
    display: grid;
    gap: 4px;
}

    .tc-card-price small {
        color: #7a8c94;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .035em;
    }

    .tc-card-price > strong {
        color: #0b5b71;
        font-size: 23px;
        font-weight: 850;
        line-height: 1;
    }

        .tc-card-price > strong span {
            font-size: 11px;
        }

    .tc-card-price > .tc-price-ask {
        font-size: 16px;
    }

.tc-card-action {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    padding: 0 11px;
    border-radius: 8px;
    background: #0c6075;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

    .tc-card-action:hover {
        background: #084e60;
        color: #fff;
    }

.tc-empty {
    padding: 60px 20px;
    border: 1px solid #e0eaeb;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

    .tc-empty > span {
        display: inline-grid;
        width: 58px;
        height: 58px;
        place-items: center;
        border-radius: 17px;
        background: #eaf4f5;
        color: #0c6478;
        font-size: 23px;
    }

    .tc-empty h2 {
        margin: 16px 0 7px;
        color: #1b3945;
    }

    .tc-empty p {
        color: #72858d;
    }

    .tc-empty a {
        display: inline-flex;
        margin-top: 7px;
        padding: 10px 15px;
        border-radius: 9px;
        background: #0c6075;
        color: #fff;
        text-decoration: none;
    }

.tc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 32px;
}

    .tc-pagination a,
    .tc-pagination > span {
        display: inline-flex;
        min-height: 38px;
        align-items: center;
        gap: 7px;
        padding: 0 13px;
        border: 1px solid #e0e9eb;
        border-radius: 9px;
        background: #fff;
        color: #205264;
        font-size: 12px;
        font-weight: 750;
        text-decoration: none;
    }

@media (max-width: 1050px) {
    .tc-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-filter-search {
        grid-column: 1 / -1;
    }

    .tc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .tc-page {
        padding-bottom: 65px;
    }

    .tc-container {
        width: min(100% - 24px, 480px);
    }

    .tc-intro {
        align-items: start;
    }

    .tc-intro-stat {
        display: none;
    }

    .tc-intro h1 {
        font-size: 35px;
    }

    .tc-filters {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px;
    }

        .tc-filters label:last-of-type,
        .tc-search-button {
            grid-column: 1 / -1;
        }

    .tc-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tc-card-image {
        height: 205px;
    }

    .tc-card-body {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc-card,
    .tc-card-image > img {
        transition: none;
    }
}
.tc-filters-updated {
    grid-template-columns: minmax(190px, 1.35fr) minmax(150px, .8fr) minmax(210px, 1.3fr) minmax(130px, .8fr) auto;
    gap: 12px;
}

.tc-month-filter {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

    .tc-month-filter legend {
        margin-bottom: 7px;
        color: #536d77;
        font-size: 11px;
        font-weight: 800;
    }

.tc-month-options {
    display: flex;
    height: 42px;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
}

    .tc-month-options button {
        height: 35px;
        flex: none;
        padding: 0 10px;
        border: 1px solid #dde8ea;
        border-radius: 8px;
        background: #f7fafb;
        color: #536c77;
        font: inherit;
        font-size: 11px;
        font-weight: 800;
        cursor: pointer;
        white-space: nowrap;
    }

        .tc-month-options button.active {
            border-color: #0c6075;
            background: #0c6075;
            color: #fff;
        }

@media (max-width: 1050px) {
    .tc-filters-updated {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .tc-filters-updated .tc-filter-search,
        .tc-filters-updated .tc-month-filter {
            grid-column: 1 / -1;
        }
}

@media (max-width: 650px) {
    .tc-filters-updated {
        grid-template-columns: 1fr 1fr;
    }

        .tc-filters-updated .tc-filter-search,
        .tc-filters-updated .tc-month-filter,
        .tc-filters-updated .tc-sort-filter,
        .tc-filters-updated .tc-search-button {
            grid-column: 1 / -1;
        }
}
.tc-page {
    transition: opacity .18s ease;
}