/* PACK 005F · Hotfix final Gatos */

.cats-visual-heading-tight {
    margin-bottom: 24px;
}

.cats-filter-panel-clean,
.cats-visual-grid-aligned {
    width: min(1480px, calc(100% - clamp(32px, 6vw, 112px)));
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.cats-filter-panel-clean {
    margin-bottom: 32px;
    padding: 18px clamp(18px, 2vw, 28px);
    border-radius: 34px;
    display: flex;
    justify-content: center;
    background: rgba(255, 253, 248, 0.86);
    border: 1px solid rgba(98, 125, 60, 0.13);
    box-shadow: 0 18px 42px rgba(73, 89, 49, 0.10);
}

.cats-filter-buttons-centered {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.cats-filter-buttons-centered .cat-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 16px 12px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--green-dark);
    background: rgba(238, 245, 223, 0.78);
    border: 1px solid rgba(98, 125, 60, 0.15);
    box-shadow: 0 10px 24px rgba(73, 89, 49, 0.07);
    font-weight: 800;
}

.cats-filter-buttons-centered .cat-filter-icon {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.80);
    font-size: 16px;
    line-height: 1;
}

.cats-filter-buttons-centered .cat-filter-label {
    line-height: 1.2;
}

.cats-filter-buttons-centered .cat-filter-button small {
    min-width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    color: var(--text);
}

.cats-filter-buttons-centered .cat-filter-button.active {
    background: var(--green-dark);
    color: #fff;
}

.cats-filter-buttons-centered .cat-filter-button.active .cat-filter-icon {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

.cats-filter-buttons-centered .cat-filter-button.active small {
    color: var(--green-dark);
}

.cat-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cat-title-row h2 { margin: 0; }

.cat-title-row > span {
    color: var(--coral);
    opacity: 0.72;
    font-size: 22px;
    line-height: 1;
}

.cat-visual-copy > p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.status-adoptado .cat-status-badge {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 133, 98, 0.94), rgba(255, 162, 123, 0.94));
}

.status-reservado .cat-status-badge {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 133, 98, 0.94), rgba(255, 162, 123, 0.94));
}

.status-active .cat-status-badge {
    color: #ffffff;
    background: rgba(89, 109, 56, 0.92);
}

@media (max-width: 780px) {
    .cats-filter-panel-clean,
    .cats-visual-grid-aligned {
        width: calc(100% - 24px);
    }

    .cats-filter-buttons-centered {
        justify-content: flex-start;
    }

    .cats-filter-buttons-centered .cat-filter-button {
        width: 100%;
        justify-content: space-between;
    }

    .cats-filter-buttons-centered .cat-filter-label {
        flex: 1;
    }
}
