.productos-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 80px 0;
    position: relative;
}
.productos-header h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
}
.productos-header .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.filtros-section {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.product-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
}
.filter-prod-btn {
    background: transparent;
    border: 1px solid #e0e0e0;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    color: var(--dark);
}
.filter-prod-btn:hover, .filter-prod-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
    transform: scale(1.08);
}
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.product-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.product-category {
    color: var(--primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}
.product-description {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.btn-pdf {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-pdf:hover {
    background: #c82333;
    transform: translateY(-2px);
    color: white;
}
.btn-cotizar {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.btn-cotizar:hover {
    background: var(--primary);
    color: white;
}

.modal-xl {
    max-width: 95%;
    width: 95%;
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 90%;
        width: 90%;
    }
}

@media (min-width: 1600px) {
    .modal-xl {
        max-width: 85%;
        width: 85%;
    }
}

.modal-body {
    height: 85vh !important; 
    padding: 0 !important;
}

#pdfViewer {
    width: 100%;
    height: 100%;
    border: none;
}

.contacto-rapido {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

@media (max-width: 768px) {
    .productos-header h1 {
        font-size: 2rem;
    }
    .filter-prod-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    .product-filters {
        gap: 8px;
    }
}
.secondary-logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.secondary-logo-link {
    display: inline-block;
    transition: var(--transition);
}

.secondary-logo-link:hover {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .navbar-collapse .d-flex {
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }
    
    .secondary-logo {
        margin-left: 0 !important;
        margin-top: 15px;
        height: 45px;
    }
    
    .navbar-collapse .d-flex .btn {
        width: 100%;
        text-align: center;
    }
}
.logo-img {
    max-height: 90px;
    transition: var(--transition);
}

.secondary-logo {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.secondary-logo:hover {
    transform: scale(1.05);
}

.navbar-nav {
    align-items: center;
}
