/* Перенесено из catalog/index.blade.php */
    .main-header .navbar-nav .nav-link {
        color: var(--heading-color, #111111) !important;
    }

    .main-header .navbar-nav .nav-link:hover {
        color: var(--heading-color, #111111) !important;
    }

    .main-header .header-contact-link,
    .main-header .header-contact-link span {
        color: var(--heading-color, #111111) !important;
    }

    .main-header .header-contact-link:hover,
    .main-header .header-contact-link:hover span {
        color: var(--heading-color, #111111) !important;
    }

    .az-catalog-page {
        padding-top: 150px;
    }

    .az-catalog-page .project-item-box {
        margin-bottom: 30px;
    }

    .az-catalog-filters {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: -18px 0 48px;
        transition: opacity 0.2s ease;
    }

    .az-catalog-filters.is-loading {
        opacity: 0.6;
        pointer-events: none;
    }

    .az-catalog-filter {
        display: inline-flex;
        align-items: center;
        padding: 10px 16px;
        border: 1px solid #dfe3ea;
        border-radius: 999px;
        background: #fff;
        color: var(--heading-color, #172033);
        font-size: calc(14px * var(--fs-text, 1));
        font-weight: 800;
        line-height: 1.35;
        text-decoration: none;
        transition: color 0.2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
    }

    .az-catalog-filter:hover,
    .az-catalog-filter.is-active {
        border-color: var(--accent-color, #c28f46);
        background: var(--accent-color, #c28f46);
        color: #fff;
        transform: translateY(-1px);
    }

    .az-catalog-filter:focus-visible {
        color: var(--accent-color);
        outline: 2px solid var(--accent-color);
        outline-offset: 4px;
    }

    .az-catalog-filter::after {
        display: none;
    }

    .az-catalog-filter:last-child::after {
        display: none;
    }

    .az-catalog-results {
        transition: opacity 0.2s ease;
    }

    .az-catalog-results .project-item-boxes {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        margin: 0;
    }

    .az-catalog-results .project-item-box {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .az-catalog-card {
        border: 1px solid rgba(23, 32, 51, .1);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 14px 34px rgba(23, 32, 51, .08);
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .az-catalog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 42px rgba(23, 32, 51, .14);
    }

    @keyframes catalog-card-in {
        from { opacity: 0; transform: translateY(18px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .az-catalog-results .project-item-box {
        animation: catalog-card-in .55s cubic-bezier(.2, .7, .2, 1) both;
    }

    .az-catalog-results .project-item-box:nth-child(2) { animation-delay: .08s; }
    .az-catalog-results .project-item-box:nth-child(3) { animation-delay: .16s; }
    .az-catalog-results .project-item-box:nth-child(4) { animation-delay: .24s; }
    .az-catalog-results .project-item-box:nth-child(5) { animation-delay: .32s; }
    .az-catalog-results .project-item-box:nth-child(6) { animation-delay: .4s; }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    }

    .az-catalog-results[aria-busy="true"] {
        opacity: 0.45;
        pointer-events: none;
    }

    .az-catalog-card {
        display: flex;
        height: 100%;
        flex-direction: column;
        overflow: hidden;
    }

    .az-catalog-card .project-image figure {
        display: block !important;
        width: 100% !important;
        aspect-ratio: 4 / 3;
        margin: 0;
        background: #f5f2ed;
    }

    .az-catalog-card .project-image figure::before,
    .az-catalog-card .project-image figure::after {
        display: none !important;
    }

    .az-catalog-card .project-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center;
    }

    .az-catalog-card .project-image a {
        display: block;
        color: inherit;
    }

    .az-catalog-card .project-tag span {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 8px 16px;
        border-radius: 100px;
        background: var(--accent-color);
        color: var(--white-color);
        font-size: calc(14px * var(--fs-text, 1));
        font-weight: 700;
        line-height: 1.2;
    }

    .az-catalog-card__content {
        display: flex;
        flex: 1;
        flex-direction: column;
    }

    .az-catalog-card__content h3 {
        margin-bottom: 12px;
    }

    .az-catalog-card__content h3 a {
        color: inherit;
        transition: color 0.2s ease;
    }

    .az-catalog-card__content h3 a:hover {
        color: var(--accent-color);
    }

    .az-catalog-card__content p {
        display: -webkit-box;
        overflow: hidden;
        margin: 0 0 18px;
        color: var(--text-color);
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .az-catalog-card__more {
        display: inline-flex;
        width: fit-content;
        margin-top: auto;
        color: var(--accent-color);
        font-size: calc(14px * var(--fs-text, 1));
        font-weight: 800;
        line-height: 1.2;
    }

    .az-catalog-card__more:hover {
        color: var(--heading-color, var(--primary-color));
    }

    .az-catalog-empty {
        max-width: 640px;
        margin: 0 auto;
        padding: 44px 24px;
        text-align: center;
    }

    .az-catalog-empty h3 {
        margin-bottom: 10px;
        color: var(--heading-color, var(--primary-color));
        font-size: calc(28px * var(--fs-head, 1));
    }

    .az-catalog-empty p {
        margin: 0;
        color: var(--text-color);
    }

    @media (max-width: 991px) {
        .az-catalog-results .project-item-boxes {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .az-catalog-page {
            padding-top: 120px;
        }
    }

    @media (max-width: 767px) {
        .az-catalog-results .project-item-boxes {
            grid-template-columns: 1fr;
        }

        .az-catalog-page {
            padding-top: 100px;
        }
    }
