/* ===== CATÁLOGO PAGE STYLES ===== */

/* Hero */
.cat-hero {
    position: relative;
    background: var(--navy-dark);
    padding: 110px 0 60px;
    overflow: hidden;
}
.cat-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0F1A3D 0%, #1B2B5E 50%, #2D4A8A 100%);
    opacity: .9;
}
.cat-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 60px;
    background: var(--light);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.cat-hero-content {
    position: relative;
    z-index: 1;
}
.cat-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: .82rem;
    margin-bottom: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.cat-breadcrumb a { color: var(--orange); }
.cat-hero-content h1 { color: var(--white); margin-bottom: 12px; }
.cat-hero-content p { color: rgba(255,255,255,.7); font-size: 1rem; max-width: 540px; margin-bottom: 28px; }

.cat-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.chs { text-align: center; }
.chs strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.6rem; color: var(--orange); line-height: 1; }
.chs span { display: block; font-size: .75rem; color: rgba(255,255,255,.55); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.chs-d { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* ===== FILTER BAR ===== */
.filter-bar {
    background: var(--light);
    padding: 28px 0;
    position: sticky;
    top: 60px;
    z-index: 100;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.filter-bar .container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.filter-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: 2px solid #ddd;
    background: var(--white);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
    color: var(--gray);
    transition: all .2s;
    white-space: nowrap;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

.fb-icon { font-size: .9rem; }

.fb-count {
    background: rgba(0,0,0,.1);
    border-radius: 50px;
    padding: 1px 7px;
    font-size: .72rem;
}
.filter-btn.active .fb-count { background: rgba(255,255,255,.25); }

/* Search */
.search-wrap { flex-shrink: 0; }
.search-input {
    padding: 10px 18px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: .88rem;
    outline: none;
    width: 220px;
    transition: all .2s;
    background: var(--white);
}
.search-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,43,.12); }

/* ===== PRODUCTS SECTION ===== */
.products-section { padding: 40px 0 80px; background: var(--light); }

.results-count {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--gray);
    font-size: .85rem;
    margin-bottom: 24px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product Card */
.pcard {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all .25s;
    border: 1px solid #f0f0f0;
}
.pcard:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.pcard.hidden { display: none; }

.pcard-header {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.pcard-header svg { width: 80px; height: 60px; }

.pcard-cat-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,.25);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 3px 10px;
    border-radius: 50px;
}

/* Color variants */
.bg-green  { background: linear-gradient(135deg, #1A6B3A, #2D9E56); }
.bg-orange { background: linear-gradient(135deg, #FF6B2B, #E94560); }
.bg-navy   { background: linear-gradient(135deg, #1B2B5E, #2D4A8A); }
.bg-red    { background: linear-gradient(135deg, #C41E3A, #E94560); }
.bg-purple { background: linear-gradient(135deg, #6A1FC2, #9B59B6); }
.bg-amber  { background: linear-gradient(135deg, #E67E00, #FF8C00); }

.pcard-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.pcard-body h3 {
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.3;
}
.pcard-body p {
    font-size: .83rem;
    color: var(--gray);
    flex: 1;
    line-height: 1.5;
}

.pcard-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.pcard-tags span {
    background: var(--light);
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .65rem;
    padding: 3px 8px;
    border-radius: 50px;
}

.btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25D366;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .78rem;
    padding: 10px 14px;
    border-radius: 10px;
    transition: all .2s;
    margin-top: 4px;
}
.btn-wa:hover {
    background: #1EBA58;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37,211,102,.35);
}

/* No results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}
.no-results p { font-size: 1.1rem; margin-bottom: 20px; }

/* CTA section */
.cat-cta {
    background: var(--navy);
    padding: 80px 0;
}
.cat-cta-inner {
    text-align: center;
}
.cat-cta h2 { color: var(--white); margin-bottom: 12px; }
.cat-cta p { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 1.05rem; }
.cat-cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn-outline-dark {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.4);
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    transition: all .2s;
}
.btn-outline-dark:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Active nav link */
.nav-link.active { color: var(--orange) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-bar .container { flex-direction: column; align-items: flex-start; }
    .search-input { width: 100%; }
    .search-wrap { width: 100%; }
}
@media (max-width: 600px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .filter-btn { padding: 7px 12px; font-size: .74rem; }
    .pcard-header { height: 100px; }
    .pcard-header svg { width: 60px; height: 46px; }
}
@media (max-width: 400px) {
    .products-grid { grid-template-columns: 1fr; }
}
