        /* ===== ESTILOS MOBILE-FIRST ===== */
        .hero-section {
            height: 308px;
            min-height: 308px;
            position: relative;
            overflow: hidden;
            border-radius: 0 0 15px 15px;
            margin-top: 0;
            padding: 0;
        }
        
        main.container-fluid {
            margin-top: 0 !important;
            padding-top: 0 !important;
            padding-top: 0;
        }

        .hero-section h1 {
            text-shadow:
                2px 2px 0 #000,
                -2px 2px 0 #000,
                2px -2px 0 #000,
                -2px -2px 0 #000;
        }
        .hero-slide {
            height: 308px;
            width: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }
        
        .carousel,
        .carousel-inner,
        .carousel-item {
            height: 100%;
            transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
        }
        
        /* Si prefieres un efecto de desvanecimiento (fade) en lugar de slide */
        .carousel-fade .carousel-item {
            opacity: 0;
            transition-property: opacity;
            transform: none;
        }
        .carousel-fade .carousel-item.active {
            opacity: 1;
        }
        /*Aqui termina */
        
        /* Estilo para las flechas de control (para que se vean) */
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-color: rgba(0, 0, 0, 0.3); /* Fondo oscuro traslúcido */
            border-radius: 50%;
            padding: 20px;
            background-size: 50%;
        }
        
        /* Ajuste de altura dinámica para evitar que se corte en pantallas pequeñas */
        @media (max-width: 768px) {
            .hero-section, .hero-slide {
                height: auto;
                min-height: 350px; /* Un poco más de espacio para el buscador en móvil */
            }
        }
    
        .product-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: none;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: 100%;
            margin-bottom: 1rem;
        }
    
        .product-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
    
        .product-image {
            height: 150px;
            object-fit: cover;
            width: 100%;
        }
    
        .btn-modern {
            background: linear-gradient(45deg, #667eea, #764ba2);
            border: none;
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            transition: all 0.3s ease;
            width: 100%;
            margin-bottom: 5px;
            font-size: 0.9rem;
        }
    
        .btn-modern:hover {
            transform: translateY(-2px);
            box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
        }
    
        .rating-stars {
            color: #ffc107;
            margin-bottom: 8px;
            font-size: 0.8rem;
        }
    
        .feature-card {
            background: white;
            border-radius: 10px;
            padding: 1.5rem;
            text-align: center;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            height: 100%;
            margin-bottom: 1rem;
        }
    
        .feature-card:hover {
            transform: translateY(-3px);
        }
    
        .feature-card .icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
    
        .search-container {
            width: 100%;
            margin: 0 auto 2rem;
        }
    
        .search-form {
            position: relative;
        }
    
        .search-btn {
            border: none;
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            border-radius: 20px;
            padding: 10px 20px;
            width: 100%;
            margin-top: 10px;
        }
    
        /* ===== BANNERS MOBILE-FIRST ===== */
        .banner-horizontal {
            background: linear-gradient(25deg, #f8f9fa, #e9ecef);
            border-radius: 10px;
            padding: 1rem;
            margin: 1rem 0;
            text-align: center;
            border: 2px dashed #dee2e6;
            transition: all 0.3s ease;
        }
    
        .banner-horizontal:hover {
            border-color: #667eea;
            background: linear-gradient(45deg, #ffffff, #f8f9fa);
        }
    
        .banner-vertical {
            background: linear-gradient(45deg, #f8f9fa, #e9ecef);
            border-radius: 10px;
            padding: 1rem;
            margin-bottom: 1.5rem;
            text-align: center;
            border: 2px dashed #dee2e6;
            transition: all 0.3s ease;
            display: none; /* Ocultar banners verticales en móvil por defecto */
        }
    
        .banner-placeholder {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
        }
    
        .banner-size {
            font-size: 0.75rem;
            color: #868e96;
            background: rgba(255,255,255,0.7);
            padding: 0.2rem 0.4rem;
            border-radius: 15px;
            display: inline-block;
            margin-top: 0.5rem;
        }
    
        .banner-title {
            color: #495057;
            font-weight: 600;
            margin-bottom: 0.8rem;
            font-size: 0.95rem;
        }
    
        /* ===== MEDIA QUERIES - TABLET ===== */
        @media (min-width: 576px) {
            .hero-section {
                //padding: 2.5rem 0;
                margin-bottom: 2rem;
            }
    
            .hero-section h1 {
              font-size: 2.2rem;
              color: #0b132b;
              text-shadow: 
                2px 2px 0 #fff,   /* derecha-abajo */
                -2px 2px 0 #fff,  /* izquierda-abajo */
                2px -2px 0 #fff,  /* derecha-arriba */
                -2px -2px 0 #fff; /* izquierda-arriba */
            }
    
            .hero-section .lead {
                font-size: 1.1rem;
            }
    
            .search-btn {
                width: auto;
                margin-top: 0;
                position: absolute;
                right: 5px;
                top: 50%;
                transform: translateY(-50%);
            }
    
            .product-image {
                height: 180px;
            }
    
            .btn-modern {
                padding: 10px 20px;
                font-size: 1rem;
            }
        }
        
        /* Espaciado entre secciones */
        .container {
            margin-bottom: 3rem;
        }
        
        /* Separador visual sutil */
        .container > section:not(:last-child) {
            padding-bottom: 2rem;
            border-bottom: 1px solid #f0f0f0;
        }
        
        /* Espaciado responsive */
        @media (max-width: 768px) {
            .container {
                margin-bottom: 2rem;
            }
        }
        
        /* Mejorar el gap entre columnas en layout con sidebar */
        .row.g-4 {
            row-gap: 2rem !important;
        }
    
        /* ===== MEDIA QUERIES - DESKTOP ===== */
        @media (min-width: 768px) {
            .hero-section {
                border-radius: 0 0 20px 20px;
                margin-bottom: 2.5rem;
            }
    
            .hero-section h1 {
                font-size: 2.5rem;
            }
    
            .banner-vertical {
                display: block; /* Mostrar banners verticales en desktop */
                position: sticky;
                top: 100px;
            }
    
            .banner-horizontal {
                padding: 1.5rem;
            }
    
            .feature-card {
                padding: 2rem;
            }
    
            .feature-card .icon {
                font-size: 3rem;
            }
        }
    
        @media (min-width: 992px) {
            .hero-section h1 {
                font-size: 3rem;
            }
    
            .search-container {
                max-width: 600px;
            }
    
            .banner-horizontal {
                padding: 2rem;
            }
        }
    
        /* ===== MEJORAS ESPECÍFICAS PARA PRODUCTOS EN MÓVIL ===== */
        .product-card .card-body {
            padding: 1rem;
        }
    
        .product-card .card-title {
            font-size: 0.9rem;
            line-height: 1.2;
            height: 2.4rem;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
    
        /* ===== AJUSTES ESPECIALES PARA BANNERS EN MÓVIL ===== */
        .banner-horizontal img,
        .banner-vertical img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }
    
        /* ===== MEJORAS DE ESPACIADO EN MÓVIL ===== */
        .container-fluid.px-0 {
            padding-left: 15px;
            padding-right: 15px;
        }
    
        @media (max-width: 575.98px) {
            .container {
                padding-left: 10px;
                padding-right: 10px;
            }
            
            .row-cols-2 > * {
                padding-left: 5px;
                padding-right: 5px;
            }
        }