body.catalog-page {
    background: #0B0C0E;
    color: #E6E8EB;
}

.catalog-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 70px;
    box-sizing: border-box;
}

.catalog-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #FF8A2B;
    font-size: .78em;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.catalog-hero,
.catalog-head {
    max-width: 820px;
    margin-bottom: 30px;
}

.catalog-hero h1,
.catalog-head h1 {
    margin: 0 0 12px;
    color: #FFFFFF;
    font-size: clamp(2em, 4vw, 3.2em);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.catalog-hero p,
.catalog-head p {
    margin: 0;
    color: #A3A8B0;
    font-size: 1.02em;
    line-height: 1.6;
}

.catalog-synonyms {
    margin-top: 10px !important;
    color: #7F8790 !important;
    font-size: .82em !important;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.catalog-category-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 16px;
    border: 1px solid #2A2E34;
    border-radius: 14px;
    background: #171A1F;
    color: #E6E8EB;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.catalog-category-card:hover {
    border-color: #FF6B00;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .32);
    transform: translateY(-2px);
}

.catalog-category-card__top,
.catalog-category-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.catalog-category-card h2 {
    margin: 14px 0 6px;
    color: #FFFFFF;
    font-size: 1.05em;
}

.catalog-category-card p {
    margin: 0;
    color: #A3A8B0;
    font-size: .84em;
    line-height: 1.45;
}

.catalog-count {
    color: #7F8790;
    font-size: .75em;
}

.catalog-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: #101216;
    color: #FF8A2B;
}

.catalog-icon--letter {
    color: #FF8A2B;
    font-size: 1.4em;
    font-weight: 700;
}

.catalog-category-card__types {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 14px 0;
}

.catalog-category-card__types span {
    padding: 4px 7px;
    border: 1px solid #2A2E34;
    border-radius: 999px;
    color: #A3A8B0;
    font-size: .68em;
}

.catalog-category-card__foot {
    margin-top: auto;
    color: #7F8790;
    font-size: .75em;
}

.catalog-category-card__foot b {
    color: #FF8A2B;
    font-weight: 700;
}

.catalog-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.catalog-type-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #2A2E34;
    border-radius: 10px;
    background: #171A1F;
    color: #E6E8EB;
    text-decoration: none;
}

.catalog-type-card:hover {
    border-color: #FF6B00;
}

.catalog-type-card > div {
    min-width: 0;
}

.catalog-type-card b,
.catalog-type-card span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-type-card b {
    color: #F2F3F5;
    font-size: .84em;
    white-space: nowrap;
}

.catalog-type-card span {
    margin-top: 3px;
    color: #7F8790;
    font-size: .72em;
}

.catalog-type-card i {
    margin-left: auto;
    color: #FF8A2B;
    font-style: normal;
}

.catalog-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    color: #7F8790;
    font-size: .78em;
}

.catalog-breadcrumbs a {
    color: #A3A8B0;
    text-decoration: none;
}

.catalog-breadcrumbs a:hover {
    color: #FF8A2B;
}

.catalog-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 28px 0 12px;
}

.catalog-section-head h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.1em;
}

.catalog-section-head span {
    color: #7F8790;
    font-size: .78em;
}

.catalog-unit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.catalog-unit-card {
    overflow: hidden;
    border: 1px solid #2A2E34;
    border-radius: 12px;
    background: #171A1F;
    color: #E6E8EB;
    text-decoration: none;
}

.catalog-unit-card:hover {
    border-color: #FF6B00;
}

.catalog-unit-card > img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
    background: #101216;
}

.catalog-unit-card__body {
    padding: 10px;
}

.catalog-unit-card h3 {
    margin: 0 0 4px;
    color: #FFFFFF;
    font-size: .82em;
    line-height: 1.25;
}

.catalog-unit-card span,
.catalog-unit-card small {
    display: block;
    color: #7F8790;
    font-size: .7em;
}

.catalog-unit-card b {
    display: block;
    margin: 6px 0 3px;
    color: #FF8A2B;
    font-size: .76em;
}

.catalog-empty,
.catalog-empty-block {
    padding: 28px;
    border: 1px dashed #2A2E34;
    border-radius: 12px;
    color: #A3A8B0;
    text-align: center;
}

.catalog-empty-block h2 {
    margin: 0 0 8px;
    color: #FFFFFF;
}

.catalog-empty-block p {
    margin: 0 0 16px;
    color: #A3A8B0;
}

.catalog-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 34px;
    padding: 20px;
    border: 1px solid #2A2E34;
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(255, 107, 0, .16), rgba(23, 26, 31, .9));
}

.catalog-cta h2 {
    margin: 0 0 4px;
    color: #FFFFFF;
    font-size: 1.1em;
}

.catalog-cta p {
    margin: 0;
    color: #A3A8B0;
    font-size: .82em;
}

@media (max-width: 1024px) {
    .catalog-grid,
    .catalog-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767px) {
    .catalog-main {
        padding: 96px 14px 50px;
    }

    .catalog-grid,
    .catalog-type-grid,
    .catalog-unit-grid {
        grid-template-columns: 1fr;
    }

    .catalog-category-card {
        min-height: 0;
    }

    .catalog-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

.catalog-category-card__photo {
    height: 160px;
    margin: -16px -16px 14px;
    overflow: hidden;
    background: #101216;
}

.catalog-category-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.catalog-category-card:hover .catalog-category-card__photo img {
    transform: scale(1.04);
}

.catalog-category-card__credit {
    margin-top: 4px;
    color: #6F7680;
    font-size: .62em;
    line-height: 1.3;
}

.catalog-category-card__credit a {
    color: #7F8790;
    text-decoration: none;
}

.catalog-category-card__credit a:hover {
    color: #FF8A2B;
}

.catalog-category-photo {
    position: relative;
    width: 100%;
    height: 320px;
    margin: 0 0 24px;
    overflow: hidden;
    border: 1px solid #2A2E34;
    border-radius: 14px;
    background: #101216;
}

.catalog-category-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-category-photo figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(11, 12, 14, .72);
    color: #C6CAD1;
    font-size: .68em;
}

.catalog-category-photo figcaption a {
    color: #FFFFFF;
    text-decoration: none;
}

@media (max-width: 767px) {
    .catalog-category-card__photo {
        height: 140px;
    }

    .catalog-category-photo {
        height: 220px;
    }
}
