/* Estilos responsive para el home - Móvil más compacto */

/* Desktop - Mantener estilos normales */
.container.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

/* Móvil - Todo más pequeño y compacto */
@media (max-width: 768px) {
    /* Reducir márgenes del container principal */
    .container.my-5 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Títulos principales más pequeños */
    .container h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem !important;
    }
    
    /* Sección "Próximas funciones" más compacta */
    .container .my-5:first-child {
        margin-top: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Badges de funciones más pequeños */
    .feature-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .feature-badge i {
        font-size: 0.65rem;
    }
    
    /* Espaciado entre badges reducido */
    .d-flex.gap-2 {
        gap: 0.4rem !important;
    }
    
    /* Header de secciones más compacto */
    .d-flex.justify-content-between.align-items-center.mb-3,
    .d-flex.justify-content-between.align-items-md-center.mb-4 {
        margin-bottom: 0.75rem !important;
        gap: 0.5rem !important;
    }
    
    /* Texto muted más pequeño */
    .text-muted {
        font-size: 0.75rem;
    }
    
    /* Select de ubicación más pequeño */
    .form-select {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    .form-label {
        font-size: 0.75rem;
        margin-right: 0.5rem !important;
    }
    
    /* Botones "Ver todo" más pequeños */
    .btn-sm {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .btn-sm i {
        font-size: 0.65rem;
    }
    
    /* Reducir espaciado entre secciones */
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    hr.my-5 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Grid de productos más compacto */
    .row.g-3 {
        gap: 0.5rem !important;
        row-gap: 0.75rem !important;
    }
    
    /* Ajustar columnas en móvil para mejor aprovechamiento */
    .row-cols-2 > * {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    
    /* Mensaje de "no resultados" más compacto */
    .text-center.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .text-center i.fa-5x {
        font-size: 3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .text-center .fs-4 {
        font-size: 0.95rem !important;
    }
    
    /* Form de búsqueda más compacto */
    .d-flex.align-items-center.gap-3 {
        gap: 0.75rem !important;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .container.my-5 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .container h3 {
        font-size: 1rem;
    }
    
    .feature-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .btn-sm {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .row-cols-2 > * {
        padding-left: 0.15rem;
        padding-right: 0.15rem;
    }

    
}