/* ===== ESTILOS GENERALES - JEMMSA ===== */
:root{
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --accent-blue: #3b82f6;
    --dark-blue: #1e40af;
    --light-blue: #dbeafe;
    --extra-light-blue: #f0f9ff;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --gray-light: #f8fafc;
    --gray-border: #e5e7eb;
    --orange: #f36b2a;
    --gold-color: #d4af37;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html,body{
    height:100%;
}

body{
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color:var(--text-dark);
    background:var(--white);
    line-height: 1.6;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

/* Layout - SIN BARRA LATERAL FIJA */
.container {
    display: block !important;
    width: 100%;
}


/* Main content ocupa todo el ancho */
.main-content{
    flex:1;
    width:100%;
    transition:margin 0.3s ease;
}

/* Utility container */
.container-sm{
    max-width:1200px;
    margin:0 auto;
    padding:0 24px;
}




/* Section padding */
.section-padding{
    padding:48px 0;
}

/* Typography */
.page-title{
    font-size:48px;
    font-weight:700;
    margin-bottom:8px;
    color:var(--text-dark);
}

.lead{
    font-size:18px;
    color:var(--text-light);
    margin-bottom:6px;
}

/* Grid helpers - reused */
.grid-4{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:28px;
}

/* Card negro estilo (los cuadraditos de la imagen) */
.card-black{
    background:#000;
    color:#fff;
    height:270px;
    padding:28px;
    border-radius:6px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:flex-start;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}

.card-black img{
    width:72px;
    height:72px;
    object-fit:contain;
    filter:brightness(0) invert(1);
    position:absolute;
    top:28px;
    left:28px;
}

.card-black p{
    font-size:20px;
    line-height:1.2;
    margin:0;
}

/* BENEFICIOS SECCIÓN (NARANJA) */
.beneficios-ley{
    background: linear-gradient(0deg, rgba(243,107,42,1) 0%, rgba(243,107,42,1) 100%);
    color:var(--white);
    position:relative;
    overflow:hidden;
}

.beneficios-inner{
    padding:48px 0;
}

.beneficios-inner h2{
    font-size:32px;
    font-weight:800;
    margin-bottom:20px;
}

.beneficios-list,
.riesgos-list{
    list-style:none;
    margin-left:0;
    margin-bottom:18px;
    padding-left:0;
    font-size:18px;
}

.beneficios-list li::marker,
.riesgos-list li::marker{
    color:var(--white);
}

/* ===== ESTILOS LEY SILLA ===== */
.hero-ley-silla {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-ley-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--gold-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-image {
    text-align: center;
}

.law-badge {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255,255,255,.2);
}

.law-badge i {
    font-size: 4rem;
    color: var(--gold-color);
    margin-bottom: 1rem;
    display: block;
}

.law-badge span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* EMPRESAS GRID */
.empresas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.empresa-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-border);
    text-align: center;
    transition: .3s ease;
}

.empresa-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.empresa-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.empresa-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.empresa-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* CTA Empresas */
.cta-empresas {
    text-align: center;
    padding: 3rem;
    background: var(--light-blue);
    border-radius: var(--radius-lg);
    margin-top: 3rem;
}

.cta-empresas h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.cta-empresas p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* BENEFICIOS Y RIESGOS */
.beneficios-riesgos {
    background: var(--gray-light);
    padding: 5rem 0;
}

.br-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.beneficios-card, .riesgos-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.beneficios-card .br-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.riesgos-card .br-header {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.br-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.br-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.br-content {
    padding: 2rem;
}

.beneficio-item, .riesgo-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: .3s;
}

.beneficio-item:hover {
    background: var(--light-blue);
}

.riesgo-item:hover {
    background: #fff5f5;
}

.beneficio-item i {
    color: #28a745;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.riesgo-item i {
    color: #dc3545;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.beneficio-item h4, .riesgo-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.beneficio-item p, .riesgo-item p {
    color: var(--text-light);
    margin: 0;
}

.cta-final {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* --- FIX DEL LOGO --- */
/* LOGO SIN CUADRO AZUL */
.header-logo img {
    width: 75px;
    height: auto;
    object-fit: contain;
    padding: 4px;
    border-radius: 8px;
}


.header-logo .logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== ESTILOS CATÁLOGO LEY SILLA ===== */

/* Hero Catálogo */
.catalogo-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 10rem 0;
}

.catalogo-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.catalogo-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.catalogo-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 60px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-50%) scale(1.05);
}

/* Stats del Catálogo */
.catalogo-stats {
    display: grid;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--gold-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Filtros del Catálogo */
.catalogo-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem;
    border: 1px solid var(--gray-border);
    background: var(--white);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Grid de Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.producto-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.producto-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.producto-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.producto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.producto-card:hover .producto-image img {
    transform: scale(1.05);
}

.producto-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.producto-card:hover .producto-actions {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.producto-info {
    padding: 1.5rem;
}

.producto-categoria {
    font-size: 0.875rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.producto-nombre {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.producto-descripcion {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.producto-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--gold-color);
}

.rating-count {
    font-size: 0.875rem;
    color: var(--text-light);
}

.producto-precio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.precio-actual {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.precio-original {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.producto-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-border);
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.page-btn:hover:not(.active) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* CTA Catálogo */
.cta-catalogo {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.cta-catalogo .cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-catalogo h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-catalogo p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Price Filter */
.price-filter {
    padding: 1rem 0;
}

.price-slider {
    width: 100%;
    margin: 1rem 0;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
}

.selected-price {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--gold-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-color);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--gold-color);
}

/* Contact Info Footer */
.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 20px;
    color: var(--gold-color);
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}



.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.newsletter-text h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.95rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold-color);
    background: rgba(255, 255, 255, 0.15);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}
/* AJUSTE GLOBAL PARA TODAS LAS IMÁGENES DENTRO DE LAS TARJETAS */
.producto-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;  /* Mantiene proporciones sin recortar */
    display: block;
    margin: 0 auto;
}

/* CONTENEDOR DE LA IMAGEN PRINCIPAL */
.producto-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}

/* AJUSTE PARA QUE NO AFECTE ÍCONOS DE ACCIONES */
.producto-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* REPARA LA SEGUNDA IMAGEN QUE METISTE DENTRO DE PRODUCTO-INFO */
.producto-info > img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-top: 10px;
    border-radius: 8px;
}





/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-ley-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .br-grid {
        grid-template-columns: 1fr;
    }
    
    .catalogo-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .catalogo-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .catalogo-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .cta-catalogo .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-column h3.footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .catalogo-stats {
        grid-template-columns: 1fr;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 34px;
    }
    
    .card-black {
        height: 220px;
    }
    
    .footer-content {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-newsletter {
        padding: 1.5rem;
    }
    
    .newsletter-form {
        gap: 1rem;
    }
}

/* Small spacing utility */
.mt40 {
    margin-top: 40px;
}

/* Small accessibility helper for focus */
a:focus, button:focus { 
    outline: 3px solid rgba(59,130,246,0.2); 
    outline-offset: 2px; 
}

/* HEADER FIJO - mantiene diseño limpio */
.fixed-header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height:70px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 24px;
    z-index:1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ensure main content is not hidden behind header */
.main-content{ margin-top: 90px; }

/* Header left (menu + logo) */
.header-left{ display:flex; align-items:center; gap:14px;}

/* header logo */
.header-logo{ display:flex; align-items:center; gap:10px;}
.header-logo .logo-icon{
    width:36px; height:36px; display:flex; align-items:center; justify-content:center;
    background:var(--primary-blue); color:#fff; border-radius:8px; font-weight:700;
}
.header-logo .logo-text{ font-weight:700; font-size:18px; color:var(--text-dark); }

/* main navigation */
.main-nav .nav-links{ display:flex; gap:20px; list-style:none;}
.main-nav .nav-links a{
    color:var(--text-dark); text-decoration:none; padding:8px 12px; border-radius:8px; font-weight:600;
}
.main-nav .nav-links a.active,
.main-nav .nav-links a:hover{
    background: rgba(41,73,211,0.08);
    color:var(--primary-blue);
}

/* header actions */
.header-actions .btn{ padding:10px 16px; }


/* ===== DISEÑO PROFESIONAL PARA CUMPLIMIENTO ===== */

.encabezado-cumplimiento {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.badge-legal-profesional {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-legal-profesional i {
    font-size: 1.1rem;
}

.titulo-cumplimiento {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
    line-height: 1.2;
}

.titulo-cumplimiento::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}

.contenido-cumplimiento {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
    overflow: hidden;
}

.contenido-cumplimiento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
}

.texto-principal-cumplimiento {
    position: relative;
    z-index: 2;
}

.lead-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.lead-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-blue);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: serif;
}

.separador {
    position: relative;
    margin: 2.5rem 0;
    text-align: center;
}

.separador::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--gray-border) 20%, 
        var(--gray-border) 80%, 
        transparent 100%);
}

.separador span {
    display: inline-block;
    background: var(--white);
    padding: 0 2rem;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.texto-secundario {
    text-align: center;
}

.subtext {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.5;
    background: linear-gradient(135deg, var(--light-blue), var(--extra-light-blue));
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    position: relative;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.highlight-text::before {
    content: '⚠️';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Efectos de hover para el contenedor principal */
.contenido-cumplimiento {
    transition: all 0.3s ease;
}

.contenido-cumplimiento:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Responsive Design */
@media (max-width: 768px) {
    .titulo-cumplimiento {
        font-size: 2.2rem;
    }
    
    .contenido-cumplimiento {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .lead-text {
        font-size: 1.2rem;
    }
    
    .subtext {
        font-size: 1.1rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
    }
    
    .badge-legal-profesional {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .titulo-cumplimiento {
        font-size: 1.8rem;
    }
    
    .contenido-cumplimiento {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .subtext {
        font-size: 1rem;
    }
    
    .highlight-text {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .separador {
        margin: 2rem 0;
    }
    
    .badge-legal-profesional {
        padding: 0.5rem 1.25rem;
        font-size: 0.75rem;
    }
}

/* Animación sutil para el badge */
@keyframes badgePulse {
    0% {
        box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(30, 58, 138, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    }
}

.badge-legal-profesional {
    animation: badgePulse 3s ease-in-out infinite;
}

/* ===== ESTILOS DEL FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #4CAF50;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #4CAF50;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '▸';
    margin-right: 8px;
    color: #4CAF50;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: #4CAF50;
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e0e0e0;
}

.contact-item i {
    color: #4CAF50;
    width: 20px;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px #4CAF50;
}

.newsletter-form button {
    padding: 12px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #45a049;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #e0e0e0;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #4CAF50;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 0;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}


/* FOOTER */
.footer {
    background: #1f3f77;
    color: white;
    padding: 60px 40px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: auto;
}

/* Logo */
.footer-logo i {
    font-size: 60px;
    color: #32c66a;
    margin-bottom: 20px;
}

/* Textos */
.footer-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Redes sociales */
/* Íconos de redes sociales */
.footer-social a {
    display: inline-block;
    margin-right: 15px;
    font-size: 28px;
    color: white;
    background: none !important;   /* <= elimina el fondo redondo */
    padding: 0 !important;          /* <= elimina espacio interno */
}

.footer-social a i {
    background: none !important; 
    color: white;
    transition: 0.3s ease;
}

.footer-social a:hover i {
    color: #32c66a;                 /* verde al pasar el mouse */
}


/* Enlaces rápidos */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9ad8b0;
    text-decoration: none;
}

.footer-links a:hover {
    color: #32c66a;
}

/* Contacto */
.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-contact .contact-item i {
    margin-right: 10px;
    color: #32c66a;
}

/* Parte inferior */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal a {
    color: #9ad8b0;
    margin: 0 10px;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #32c66a;
}
.footer-description {
    font-size: 1.1rem;
    line-height: 1.8;     /* ← separación vertical entre líneas */
    margin-top: 10px;
    margin-bottom: 20px;  /* ← separa el texto de los iconos */
    max-width: 350px;     /* ← hace que no se extienda demasiado largo */
}



/* Responsive */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact .contact-item {
        justify-content: center;
    }

    .footer-social a {
        margin-bottom: 10px;
    }
}
/* ESTILOS PARA EL PANEL DE ACCESIBILIDAD */
.accessibility-panel {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.accessibility-toggle {
    background: #2a5298;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-size: 1.2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.accessibility-toggle:hover {
    background: #1e3c72;
}

.accessibility-content {
    display: none;
    padding: 20px;
    width: 300px;
}

.accessibility-panel.open .accessibility-content {
    display: block;
}

.accessibility-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.accessibility-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.accessibility-section h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #333;
}

.theme-options, .language-options, .text-size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.theme-btn, .language-btn, .text-size-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    flex: 1;
    min-width: 70px;
}

.theme-btn:hover, .language-btn:hover, .text-size-btn:hover {
    background: #e9e9e9;
}

.theme-btn.active, .language-btn.active, .text-size-btn.active {
    background: #2a5298;
    color: white;
    border-color: #2a5298;
}

.system-info {
    font-size: 0.85rem;
    color: #666;
}

.system-info p {
    margin: 5px 0;
}

/* ESTILOS PARA MODO OSCURO */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .header {
    background-color: #1e1e1e;
    border-bottom: 1px solid #333;
}

body.dark-mode .hero-ley-silla {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

body.dark-mode .section-padding {
    background-color: #1e1e1e;
}

body.dark-mode .beneficios-riesgos {
    background-color: #1a1a1a;
}

body.dark-mode .footer {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .accessibility-panel {
    background: #2d2d2d;
    color: #e0e0e0;
    border-color: #444;
}

body.dark-mode .accessibility-section h3 {
    color: #e0e0e0;
}

body.dark-mode .accessibility-section {
    border-bottom-color: #444;
}

body.dark-mode .theme-btn, 
body.dark-mode .language-btn, 
body.dark-mode .text-size-btn {
    background: #3d3d3d;
    color: #e0e0e0;
    border-color: #555;
}

body.dark-mode .theme-btn:hover, 
body.dark-mode .language-btn:hover, 
body.dark-mode .text-size-btn:hover {
    background: #4d4d4d;
}

body.dark-mode .system-info {
    color: #ccc;
}

/* ESTILOS PARA TAMAÑOS DE TEXTO */
body.text-large {
    font-size: 1.1em;
}

body.text-very-large {
    font-size: 1.3em;
}

body.text-very-large h1 {
    font-size: 2.5rem;
}

body.text-very-large h2 {
    font-size: 2rem;
}

body.text-very-large h3 {
    font-size: 1.5rem;
}

/* ESTILOS PARA IDIOMA INGLÉS */
body.english .es-lang {
    display: none;
}

body:not(.english) .en-lang {
    display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .accessibility-panel {
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        border-radius: 8px 8px 0 0;
        width: 100%;
    }
    
    .accessibility-toggle {
        border-radius: 8px 8px 0 0;
        width: 100%;
        height: 40px;
    }
    
    .accessibility-content {
        width: 100%;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .theme-options, .language-options, .text-size-options {
        justify-content: center;
    }
    
    .theme-btn, .language-btn, .text-size-btn {
        flex: none;
        min-width: 80px;
    }
}
/* ESTILOS ESPECÍFICOS PARA EL CATÁLOGO */
.catalogo-page {
    background: #f8fafc;
    min-height: 100vh;
}

.catalogo-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    margin-top: 70px;
}

.catalogo-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.catalogo-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.catalogo-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 60px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-50%) scale(1.05);
}

/* Stats del Catálogo */
.catalogo-stats {
    display: grid;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--gold-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Filtros del Catálogo */
.catalogo-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem;
    border: 1px solid var(--gray-border);
    background: var(--white);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Grid de Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.producto-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.producto-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.producto-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.producto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.producto-card:hover .producto-image img {
    transform: scale(1.05);
}

.producto-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.producto-card:hover .producto-actions {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.producto-info {
    padding: 1.5rem;
}

.producto-categoria {
    font-size: 0.875rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.producto-nombre {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.producto-descripcion {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.producto-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--gold-color);
}

.rating-count {
    font-size: 0.875rem;
    color: var(--text-light);
}

.producto-precio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.precio-actual {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.precio-original {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.producto-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-border);
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.page-btn:hover:not(.active) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* CTA Catálogo */
.cta-catalogo {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.cta-catalogo .cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-catalogo h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-catalogo p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .catalogo-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .search-box {
        margin: 0 auto;
    }
    
    .catalogo-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .catalogo-title {
        font-size: 2.5rem;
    }
    
    .catalogo-subtitle {
        font-size: 1.1rem;
    }
    
    .catalogo-stats {
        grid-template-columns: 1fr;
    }
    
    .catalogo-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .cta-catalogo .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .catalogo-title {
        font-size: 2rem;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .page-btn {
        width: 35px;
        height: 35px;
    }
}

/* ===== ESTILOS ESPECÍFICOS PARA EL CATÁLOGO ===== */
.catalogo-page {
    background: #f8fafc;
    min-height: 100vh;
}

.catalogo-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    margin-top: 70px;
}

.catalogo-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.catalogo-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.2;
}

.catalogo-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 500px;
    margin-top: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 60px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-50%) scale(1.05);
}

/* Stats del Catálogo */
.catalogo-stats {
    display: grid;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--gold-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
}

/* Sección de catálogo */
.catalogo-section {
    padding: 4rem 0;
    background: #f8fafc;
}

/* Filtros del Catálogo */
.catalogo-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    min-width: 200px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--gray-light);
    padding: 0.25rem;
    border-radius: var(--radius-md);
}

.view-btn {
    padding: 0.75rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.view-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.view-btn:hover:not(.active) {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
}

/* Grid de Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.producto-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: fit-content;
}

.producto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.producto-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contenedor de imagen mejorado */
.producto-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.producto-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.producto-card:hover .producto-image img {
    transform: scale(1.05);
}

.producto-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.producto-card:hover .producto-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: var(--text-dark);
}

.action-btn:hover {
    background: var(--white);
    transform: scale(1.1);
    color: var(--primary-blue);
}

.action-btn.wishlist-btn:hover {
    color: #ef4444;
}

/* Información del producto */
.producto-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.producto-categoria {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.producto-nombre {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
}

.producto-descripcion {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
    display: -webkit-box;
   
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.producto-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.stars {
    color: var(--gold-color);
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.producto-precio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.precio-actual {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.producto-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.feature-tag {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Botón de ver detalle */
.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--gray-border);
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-dark);
}

.page-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.page-btn:hover:not(.active) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.page-btn.next {
    background: var(--gray-light);
    border-color: var(--gray-light);
}

.page-btn.next:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* CTA Catálogo */
.cta-catalogo {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    margin-top: 2rem;
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}



/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 1024px) {
    .catalogo-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .search-box {
        margin: 0 auto;
    }
    
    .catalogo-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .catalogo-hero {
        padding: 5rem 0 3rem;
    }
    
    .catalogo-title {
        font-size: 2.5rem;
    }
    
    .catalogo-subtitle {
        font-size: 1.1rem;
    }
    
    .catalogo-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .catalogo-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1.5rem;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .filter-select {
        min-width: 150px;
    }
    
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .producto-image {
        height: 240px;
        padding: 1.5rem;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-text p {
        font-size: 1.1rem;
    }
    
    .cta-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .catalogo-title {
        font-size: 2rem;
    }
    
    .catalogo-subtitle {
        font-size: 1rem;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-input {
        padding: 0.875rem 1.25rem;
        padding-right: 50px;
    }
    
    .search-btn {
        width: 45px;
        height: 45px;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .producto-info {
        padding: 1.25rem;
    }
    
    .producto-nombre {
        font-size: 1.2rem;
    }
    
    .precio-actual {
        font-size: 1.3rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .page-btn {
        width: 40px;
        height: 40px;
    }
    
    .pagination {
        gap: 0.25rem;
    }
}

/* ===== ESTILOS PARA MODO OSCURO ===== */
/* ===== ANIMACIONES Y MEJORAS VISUALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.producto-card {
    animation: fadeInUp 0.6s ease-out;
}

.producto-card:nth-child(2) { animation-delay: 0.1s; }
.producto-card:nth-child(3) { animation-delay: 0.2s; }
.producto-card:nth-child(4) { animation-delay: 0.3s; }
.producto-card:nth-child(5) { animation-delay: 0.4s; }
.producto-card:nth-child(6) { animation-delay: 0.5s; }

/* Mejora de accesibilidad para enfoque */
.producto-card:focus-within {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.action-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Estados de carga para imágenes */
.producto-image {
    position: relative;
}

.producto-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    opacity: 0;
}

.producto-image.loading::before {
    opacity: 1;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== HERO CATÁLOGO SUPER CREATIVO Y PROFESIONAL ===== */
/* ===== HERO CATÁLOGO CON IMAGEN DE SILLAS INDUSTRIALES ===== */
.catalogo-hero {
    position: relative;
    color: var(--white);
    padding: 10rem 0 8rem;
    margin-top: 70px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
   background-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2058&q=80') !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay más oscuro para mejor contraste */
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(30, 58, 138, 0.8) 0%, 
        rgba(1, 13, 38, 0.7) 50%, 
        rgba(59, 130, 246, 0.6) 100%);
    z-index: 3;
}

.catalogo-hero-content {
    position: relative;
    z-index: 4;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.catalogo-text {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.catalogo-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.7),
        0 8px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 30%, #bae6fd 70%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: titleReveal 1.5s ease-out;
}

.catalogo-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    animation: subtitleReveal 1.8s ease-out 0.3s both;
}

/* ===== BOTÓN DE BÚSQUEDA COMPACTO FIJO ===== */
.search-box {
    position: fixed !important;
    top: 120px !important;  /* Ajusta según necesites */
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.search-box:hover {
    width: 300px !important;
    border-radius: 50px !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

.search-input {
    width: 100% !important;
    height: 100% !important;
    padding: 0 50px 0 20px !important;
    border: none !important;
    background: transparent !important;
    font-size: 0.9rem !important;
    color: var(--text-dark) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.search-box:hover .search-input {
    opacity: 1 !important;
}

.search-btn {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}

/* Responsive para versión compacta fija */
@media (max-width: 768px) {
    .search-box {
        top: 90px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    .search-box:hover {
        width: 250px !important;
    }
    
    .search-btn {
        width: 32px !important;
        height: 32px !important;
    }
}

/* ESTILOS MEJORADOS PARA EL BADGE "COMODIDAD GARANTIZADA" */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.law-badge {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    animation: floatBadge 6s ease-in-out infinite;
    overflow: hidden;
    min-width: 280px;
}

.law-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, 
            rgba(120, 219, 226, 0.3) 0%, 
            transparent 50%),
        radial-gradient(circle at 80% 20%, 
            rgba(198, 255, 221, 0.2) 0%, 
            transparent 50%);
    opacity: 0.6;
    animation: shimmer 8s ease-in-out infinite;
}

.law-badge::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    border-radius: 26px;
    animation: borderGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px) rotateX(5deg) rotateY(5deg);
    }
    50% {
        transform: translateY(-15px) rotateX(-2deg) rotateY(-2deg);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

.law-badge i {
    font-size: 4.5rem;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(79, 172, 254, 0.3));
    animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.05) rotate(2deg);
    }
    75% {
        transform: scale(1.05) rotate(-2deg);
    }
}

.law-badge span {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

/* Partículas alrededor del badge */
.badge-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.badge-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: badgeFloat 4s ease-in-out infinite;
}

.badge-particle:nth-child(1) {
    width: 6px;
    height: 6px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.badge-particle:nth-child(2) {
    width: 4px;
    height: 4px;
    top: 80%;
    left: 10%;
    animation-delay: 1s;
}

.badge-particle:nth-child(3) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 80%;
    animation-delay: 2s;
}

.badge-particle:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 70%;
    left: 85%;
    animation-delay: 3s;
}


@keyframes badgeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(10px, -15px) scale(1.2);
        opacity: 1;
    }
    66% {
        transform: translate(-5px, 10px) scale(0.8);
        opacity: 0.4;
    }
}

/* Efecto de brillo al hover */
.law-badge:hover {
    animation: hoverGlow 0.5s ease-out forwards;
}

@keyframes hoverGlow {
    0% {
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 35px 70px rgba(79, 172, 254, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 0 1px rgba(79, 172, 254, 0.1);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .law-badge {
        padding: 2.5rem 2rem;
        min-width: 250px;
    }
    
    .law-badge i {
        font-size: 4rem;
    }
    
    .law-badge span {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .law-badge {
        padding: 2rem 1.5rem;
        min-width: 220px;
    }
    
    .law-badge i {
        font-size: 3.5rem;
    }
    
    .law-badge span {
        font-size: 1.1rem;
    }
}

/* Estilos para paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.page-btn {
    padding: 0.75rem 1rem;
    border: 2px solid var(--medium-gray);
    background: white;
    color: var(--dark-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 45px;
    text-align: center;
}

.page-btn:hover:not(.active):not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--accent-blue);
    color: var(--white);
    border-color: var(--primary-color);
}

.page-btn.next,
.page-btn.prev {
    padding: 0.75rem;
}

/* Contador de productos */
.productos-count {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Loading state */
.loading-products {
    text-align: center;
    padding: 3rem;
    color: var(--dark-gray);
}

.loading-products i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

    
   
/* Por defecto: mostrar español, ocultar inglés */
.es-lang {
    display: block;
}
.en-lang {
    display: none;
}

/* Para elementos inline (spans, enlaces pequeños) */
span.es-lang, a.es-lang.inline, button .es-lang {
    display: inline;
}
span.en-lang, a.en-lang.inline, button .en-lang {
    display: none;
}

/* Cuando el body tiene clase 'english': mostrar inglés, ocultar español */
body.english .es-lang {
    display: none !important;
}
body.english .en-lang {
    display: block !important;
}

body.english span.es-lang,
body.english a.es-lang.inline,
body.english button .es-lang {
    display: none !important;
}
body.english span.en-lang,
body.english a.en-lang.inline,
body.english button .en-lang {
    display: inline !important;
}

/* Para los enlaces del header (están uno al lado del otro) */
.nav-links li a.es-lang {
    display: inline-block;
}
.nav-links li a.en-lang {
    display: none;
}
body.english .nav-links li a.es-lang {
    display: none;
}
body.english .nav-links li a.en-lang {
    display: inline-block;
}

/* ESPECÍFICO PARA LOS BOTONES DEL HERO - Ajuste crucial */
.hero-actions .es-lang {
    display: inline-block !important; /* En línea uno al lado del otro */
}

.hero-actions .en-lang {
    display: none !important;
}

body.english .hero-actions .es-lang {
    display: none !important;
}

body.english .hero-actions .en-lang {
    display: inline-block !important; /* En línea uno al lado del otro */
}

/* Asegurar que los botones mantengan su diseño original */
.hero-actions a.btn {
    display: inline-block;
    margin: 0 10px 10px 0;
    vertical-align: middle;
}
