/* =========================
   PÁGINAS DE PRODUCTOS
========================= */

.product-page-hero {
    position: relative;
    min-height: 340px;
    padding-top: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111;
}

.product-page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.product-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.product-page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.product-page-hero-content span {
    display: inline-block;
    color: #ff7a18;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.product-page-hero-content h1 {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 14px;
}

.product-page-hero-content p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* =========================
   CATÁLOGO
========================= */

.catalog-section {
    background: #f7f8fa;
    padding: 70px 0 85px;
}

.catalog-section .section-heading {
    margin-bottom: 45px;
}

.catalog-section .section-heading h2 {
    font-size: clamp(36px, 5vw, 56px);
}

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

.catalog-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid #edf0f3;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.13);
}

.catalog-image-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eee;
}

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

/* Esto corrige imágenes sueltas viejas */
.catalog-card > img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.catalog-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.catalog-card-content span {
    color: #ff7a18;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.catalog-card-content h3 {
    color: #181818;
    font-size: 21px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.quote-btn {
    margin-top: auto;
    width: 100%;
    background: #25d366;
    color: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s ease;
}

.quote-btn:hover {
    background: #1fb85a;
    transform: translateY(-2px);
}

.empty-catalog {
    max-width: 620px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 45px 32px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.empty-catalog i {
    font-size: 42px;
    color: #ff7a18;
    margin-bottom: 20px;
}

.empty-catalog h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-catalog p {
    color: #5c6575;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .product-page-hero {
        min-height: 310px;
        padding-top: 78px;
    }
}

@media (max-width: 650px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .catalog-image-box,
    .catalog-card > img {
        height: 230px;
    }

    .product-page-hero {
        min-height: 300px;
    }

    .product-page-hero-content h1 {
        font-size: 38px;
    }
}
