/**
 * ========================================
 * CATÁLOGO STYLES
 * ========================================
 * 
 * Estilos específicos para la página del catálogo
 * 
 * @package    Aramed
 * @author     IDEAMIA Tech
 * @copyright  2025 Aramed y Laboratorios
 */

/* ========================================
   VARIABLES
   ======================================== */
:root {
    --catalogo-sidebar-width: 280px;
    --product-card-border-radius: 12px;
    --product-overlay-bg: rgba(0, 102, 204, 0.9);
    --filter-section-bg: #f8f9fa;
    --filter-border-color: #dee2e6;
}

/* ========================================
   LAYOUT PRINCIPAL
   ======================================== */
.catalogo-page {
    background-color: #ffffff;
}

.catalogo-content {
    background-color: #ffffff !important;
}

.catalogo-content .container {
    background-color: #ffffff !important;
}

.catalogo-content .row {
    background-color: #ffffff !important;
}

.catalogo-header {
    background: linear-gradient(135deg, var(--aramed-primary) 0%, var(--aramed-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.catalogo-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.catalogo-header .container {
    position: relative;
    z-index: 2;
}

.catalogo-stats .stat-item {
    text-align: center;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--aramed-primary);
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--aramed-secondary);
}

/* ========================================
   BADGES
   ======================================== */
.badge.bg-primary {
    background-color: var(--aramed-primary) !important;
    color: #ffffff !important;
}

.badge.bg-primary a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ========================================
   FILTROS SIDEBAR
   ======================================== */
.filters-sidebar {
    background: white !important;
    border-radius: var(--product-card-border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.filter-section {
    border-bottom: 1px solid var(--filter-border-color);
    padding-bottom: 1.5rem;
}

.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--aramed-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.filter-options {
    max-height: 200px;
    overflow-y: auto;
}

.filter-options .form-check {
    margin-bottom: 0.5rem;
}

.filter-options .form-check-input:checked {
    background-color: var(--aramed-primary);
    border-color: var(--aramed-primary);
}

.filter-options .form-check-label {
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-options .form-check-label:hover {
    color: var(--aramed-primary);
}

.filter-options .form-check-label.text-primary {
    background: rgba(0, 102, 204, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: -0.5rem;
    padding-left: 0.5rem;
}

.filter-options .form-check-input:checked + .form-check-label {
    color: var(--aramed-primary) !important;
    font-weight: 600 !important;
}

.filter-options .form-check-input:checked {
    background-color: var(--aramed-primary) !important;
    border-color: var(--aramed-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25) !important;
}

.filter-options .form-check-input:focus {
    border-color: var(--aramed-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25) !important;
}

/* Asegurar que los radio buttons se vean correctamente */
.filter-options .form-check-input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23000'/%3e%3c/svg%3e") !important;
    background-color: var(--aramed-primary) !important;
    border-color: var(--aramed-primary) !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 0.3rem rgba(0, 102, 204, 0.4) !important;
    transform: scale(1.1) !important;
}

.filter-options .form-check-input[type="radio"] {
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    transition: all 0.3s ease;
}

.filter-options .form-check-input[type="radio"]:hover {
    border-color: var(--aramed-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Mejorar la visibilidad del label cuando está seleccionado */
.filter-options .form-check-input:checked + .form-check-label {
    color: var(--aramed-primary) !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 102, 204, 0.05) 100%);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin-left: -0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--aramed-primary);
}

/* ========================================
   BARRA DE RESULTADOS
   ======================================== */
.results-bar {
    background: white !important;
    padding: 1rem 1.5rem;
    border-radius: var(--product-card-border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--filter-border-color);
}

.btn-group .btn.active {
    background-color: var(--aramed-primary);
    border-color: var(--aramed-primary);
    color: white;
}

/* ========================================
   PRODUCTOS GRID
   ======================================== */
.products-grid {
    min-height: 400px;
}

/* Vista de lista */
.products-grid.list-view .row {
    display: block;
}

.products-grid.list-view .product-item {
    width: 100%;
    margin-bottom: 1rem;
}

.products-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
}

.products-grid.list-view .product-image-wrapper {
    width: 200px;
    height: 150px;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.products-grid.list-view .product-info {
    flex: 1;
    padding: 0;
}

.products-grid.list-view .product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.products-grid.list-view .product-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.products-grid.list-view .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-item {
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-card {
    background: white !important;
    border-radius: var(--product-card-border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.product-item {
    background: white !important;
}

.col-lg-4.col-md-6.product-item {
    background: white !important;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

/* ========================================
   IMAGEN DEL PRODUCTO
   ======================================== */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f8f9fa;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image-wrapper:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--product-overlay-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.product-image-wrapper:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-actions .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.product-actions .btn:hover {
    transform: scale(1.1);
}

/* ========================================
   INFORMACIÓN DEL PRODUCTO
   ======================================== */
.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-category,
.product-brand {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.product-category {
    background: #e3f2fd;
    color: var(--aramed-primary);
}

.product-brand {
    background: #f3e5f5;
    color: #7b1fa2;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: #000000 !important;
}

.product-title a {
    color: #000000 !important;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--aramed-primary);
}

.product-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.product-code {
    font-size: 0.8rem;
    color: #adb5bd;
}

/* ========================================
   PAGINACIÓN
   ======================================== */
.pagination {
    margin-top: 2rem;
}

.pagination .page-link {
    color: var(--aramed-primary);
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    margin: 0 2px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: var(--aramed-primary);
    border-color: var(--aramed-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.3);
}

.pagination .page-item.active .page-link {
    color: #fff;
    background-color: var(--aramed-primary);
    border-color: var(--aramed-primary);
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination .page-link i {
    font-size: 0.875rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.catalogo-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 991.98px) {
    .filters-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 2rem;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .catalogo-header .display-5 {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .catalogo-header {
        padding: 2rem 0;
    }
    
    .catalogo-header .display-5 {
        font-size: 1.75rem;
    }
    
    .catalogo-header .lead {
        font-size: 1rem;
    }
    
    .product-image-wrapper {
        height: 180px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .filters-sidebar {
        padding: 1rem;
    }
    
    .results-bar {
        padding: 0.75rem 1rem;
    }
    
    .results-bar .col-md-6:first-child {
        margin-bottom: 1rem;
    }
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeInUp 0.6s ease forwards;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }
.product-item:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   ESTADOS DE CARGA
   ======================================== */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ========================================
   ACCESIBILIDAD
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .product-item,
    .product-card,
    .product-image,
    .product-overlay,
    .pagination .page-link {
        transition: none;
    }
    
    .product-item {
        animation: none;
    }
}

/* Focus states */
.product-title a:focus,
.product-actions .btn:focus,
.pagination .page-link:focus {
    outline: 2px solid var(--aramed-primary);
    outline-offset: 2px;
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */
@media (prefers-color-scheme: dark) {
    .catalogo-page {
        background-color: #1a1a1a;
    }
    
    .filters-sidebar {
        background: white !important;
        color: #000000 !important;
    }
    
    .results-bar {
        background: white !important;
        color: #000000 !important;
    }
    
    .product-card,
    .product-item,
    .col-lg-4.col-md-6.product-item {
        background: white !important;
        color: #000000 !important;
    }
    
    .filter-title {
        color: #000000 !important;
    }
    
    .product-title,
    .product-title a {
        color: #000000 !important;
    }
    
    .product-description {
        color: #adb5bd;
    }
}

/* ========================================
   FILTROS DINÁMICOS ADICIONALES
   ======================================== */

/* Filtros activos */
.active-filters {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--product-card-border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--aramed-primary);
    border-left: 5px solid var(--aramed-primary);
}

.active-filters .badge {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.75rem !important;
    margin-right: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    color: #ffffff !important;
    background-color: var(--aramed-primary) !important;
    background: var(--aramed-primary) !important;
    border: 2px solid var(--aramed-primary) !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2) !important;
}

/* Fallback para asegurar color azul */
.active-filters .badge.bg-primary {
    background-color: #0066cc !important;
    background: #0066cc !important;
    border-color: #0066cc !important;
}

.active-filters .badge a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.active-filters .badge .btn-close {
    filter: brightness(0) invert(1) !important;
    opacity: 0.8 !important;
}

.active-filters .badge .btn-close:hover {
    opacity: 1 !important;
    transform: scale(1.1);
}

.active-filters .btn-close {
    font-size: 0.7rem;
    padding: 0.25rem;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.active-filters .btn-close:hover {
    filter: brightness(0) invert(0.8);
    transform: scale(1.1);
}

.active-filters .clear-filters {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.active-filters .clear-filters:hover {
    background: #5a6268;
    border-color: #545b62;
    color: white;
    transform: translateY(-1px);
}

/* Búsqueda mejorada */
.search-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-container .form-control {
    padding-left: 2.5rem;
    border-radius: var(--product-card-border-radius);
    border: 2px solid var(--filter-border-color);
    transition: all 0.3s ease;
}

.search-container .form-control:focus {
    border-color: var(--aramed-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.search-container .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--aramed-secondary);
    z-index: 10;
}

/* Contador de resultados */
.results-count {
    color: var(--aramed-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Sin resultados */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: var(--product-card-border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--filter-border-color);
}

.no-results i {
    color: var(--aramed-secondary);
    margin-bottom: 1rem;
}

.no-results h3 {
    color: var(--aramed-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.no-results p {
    color: var(--aramed-secondary);
    margin-bottom: 1.5rem;
}

/* Error */
.error-message {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: var(--product-card-border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--filter-border-color);
}

.error-message i {
    color: #dc3545;
    margin-bottom: 1rem;
}

.error-message h3 {
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.error-message p {
    color: var(--aramed-secondary);
    margin-bottom: 1.5rem;
}

/* Loading indicator */
.loading-indicator {
    text-align: center;
    padding: 2rem;
    display: none;
}

.loading-indicator .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--aramed-primary);
}

/* Filtros con contadores */
.filter-count {
    color: var(--aramed-secondary);
    font-size: 0.8rem;
    margin-left: auto;
    background: #e9ecef;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    min-width: 25px;
    text-align: center;
}

/* Selects de filtro */
.filter-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--filter-border-color);
    border-radius: 6px;
    background: white;
    color: var(--aramed-dark);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: var(--aramed-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Botón limpiar filtros */
.clear-filters {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.clear-filters:hover {
    background: #5a6268;
    border-color: #545b62;
    color: white;
}

/* ========================================
   HEADER ELEGANTE
   ======================================== */

/* Background gradient */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--aramed-primary) 0%, #1e3a8a 50%, var(--aramed-secondary) 100%);
}

/* Background pattern */
.catalogo-header-bg {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.3) 1px, transparent 0);
    background-size: 20px 20px;
}

.pattern-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.2) 1px, transparent 0);
    background-size: 30px 30px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Stats elegantes */
.catalogo-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    margin: 0 1rem;
}

/* CTA Button */
.catalogo-cta .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.catalogo-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Scroll indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

.scroll-down-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.scroll-down-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    color: white;
    transform: translateY(-2px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Breadcrumb elegante */
.catalogo-header .breadcrumb {
    background: none;
    padding: 0;
}

.catalogo-header .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
    font-weight: bold;
}

.catalogo-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.catalogo-header .breadcrumb-item a:hover {
    color: white;
}

.catalogo-header .breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

/* Responsive para filtros dinámicos */
@media (max-width: 768px) {
    .active-filters {
        padding: 0.75rem;
    }
    
    .active-filters .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
        margin-right: 0.25rem;
        margin-bottom: 0.25rem;
    }
    
    .no-results,
    .error-message {
        padding: 2rem 1rem;
    }
    
    .search-container .form-control {
        padding-left: 2rem;
    }
    
    .search-container .search-icon {
        left: 0.5rem;
    }
    
    /* Header responsive */
    .catalogo-stats {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .catalogo-cta .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
}
