/**
 * AndoBuscando - Diseño v6.0 CORREGIDO
 * ✅ Colores actualizados: #004e59 (verde) y #ff6f61 (rosa coral)
 * ✅ Menú móvil corregido sin desplazamiento
 * ✅ Header mejorado para desktop y mobile
 */

/* ========== PALETA DE COLORES ACTUALIZADA ========== */
:root {
    /* Colores principales - ACTUALIZADOS */
    --verde-principal: #004e59;
    --rosa-coral: #ff6f61;
    --verde-hover: #003a42;
    --rosa-hover: #ff5647;
    --azul-acento:#0f7a80;  /* teal medio */
    --azul-acento-2:#0b5f64;  /* teal oscuro */
    --crema:   #fdebd2;  /* crema que ya usas en iconos */
    
    /* Colores secundarios */
    --verde-claro: #006b7a;
    --rosa-claro: #ff8977;
    --verde-oscuro: #002a31;
    
    /* Backgrounds */
    --fondo-verde: #004e59;
    --fondo-verde-oscuro: #003a42;
    --fondo-verde-claro: #006b7a;
    
    /* Neutrales */
    --gris-900: #1a1a1a;
    --gris-700: #424242;
    --gris-500: #757575;
    --gris-300: #bdbdbd;
    --gris-100: #f5f5f5;
    --blanco: #fce9c9;
    
    /* Estados */
    --exito: #00C853;
    --error: #d32f2f;
    --warning: #f57c00;
    
    /* Diseño */
    --radio-sm: 8px;
    --radio-md: 16px;
    --radio-lg: 24px;
    --radio-xl: 40px;
    
    /* Sombras */
    --sombra-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --sombra-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --sombra-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --sombra-xl: 0 12px 48px rgba(0, 0, 0, 0.6);
    
    /* Animaciones */
    --transicion-rapida: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transicion-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transicion-lenta: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET MODERNO ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    color: var(--blanco);
    background: var(--verde-principal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========== TIPOGRAFÍA ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--rosa-coral);
}

h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h2 { 
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.25rem;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--blanco);
}

/* ========== HEADER CORREGIDO ========== */
.header {
    background: var(--verde-oscuro);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--rosa-coral);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transicion-normal);
    box-shadow: var(--sombra-md);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transicion-normal);
}

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

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rosa-coral);
}

/* ========== BOTÓN HAMBURGUESA QUE SE TRANSFORMA EN X ========== */
.menu-toggle {
    display: none;
    background: var(--rosa-coral);  /* ← FONDO VISIBLE */
    border: 2px solid var(--rosa-coral);
    color: var(--blanco);
    width: 50px;
    height: 50px;
    border-radius: var(--radio-md);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transicion-normal);
    z-index: 1100;  /* ← MÁS ALTO */
    position: relative;
    box-shadow: var(--sombra-md);  /* ← SOMBRA */
}

.menu-toggle:hover {
    background: var(--rosa-hover);
    transform: scale(1.05);
}

/* Ícono hamburguesa animado */
.hamburger-icon {
    width: 26px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;  /* ← IMPORTANTE */
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--blanco);  /* ← BLANCO SIEMPRE */
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Transformación a X cuando está activo */
.menu-toggle.active {
    background: var(--rosa-coral);
}

.menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Animación al hacer hover */
.menu-toggle:not(.active):hover .hamburger-icon span:nth-child(1) {
    transform: translateY(-2px);
}

.menu-toggle:not(.active):hover .hamburger-icon span:nth-child(3) {
    transform: translateY(2px);
}

/* ========== MENÚ FULLSCREEN ========== */
.menu-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--verde-oscuro) 0%, var(--verde-principal) 100%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-fullscreen.active {
    opacity: 1;
    visibility: visible;
}



/* ========== LISTA DE MENÚ ========== */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 500px;
}

.menu-fullscreen.active .menu-list a {
    animation: slideIn 0.3s ease forwards;
}

.menu-fullscreen.active .menu-list a:nth-child(1) { animation-delay: 0.1s; }
.menu-fullscreen.active .menu-list a:nth-child(2) { animation-delay: 0.15s; }
.menu-fullscreen.active .menu-list a:nth-child(3) { animation-delay: 0.2s; }
.menu-fullscreen.active .menu-list a:nth-child(4) { animation-delay: 0.25s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-list a {
    display: flex;
    align-items: center;
    color: var(--blanco);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.25rem 2rem;
    margin: 0.5rem 0;
    border-radius: var(--radio-md);
    transition: var(--transicion-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.menu-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--rosa-coral);
    transition: left 0.4s ease;
    z-index: -1;
}

.menu-list a:hover::before {
    left: 0;
}

.menu-list a:hover {
    color: var(--blanco);
    border-color: var(--rosa-coral);
    transform: translateX(10px);
}

.menu-list a i {
    margin-right: 1rem;
    font-size: 1.3rem;
    min-width: 30px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
    }
    
    .header-content {
        padding: 0.75rem 1rem;
    }
    
    .logo img {
        height: 38px;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    
    .menu-fullscreen {
        position: static;
        background: transparent;
        opacity: 1;
        visibility: visible;
        height: auto;
        flex-direction: row;
        padding: 0;
        width: auto;
    }
    
    .menu-close {
        display: none;
    }
    
    .menu-list {
        flex-direction: row;
        gap: 1rem;
        max-width: none;
    }
    
    .menu-list a {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
        margin: 0;
        opacity: 1;
    }
    
    .menu-list a::before {
        display: none;
    }
    
    .menu-list a:hover {
        background: var(--verde-claro);
        color: var(--rosa-coral);
        transform: none;
    }
}
/* ========== CONTENEDORES ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ========== HERO DE BÚSQUEDA ========== */
.search-hero {
    text-align: center;
    color: var(--blanco);
    position: relative;
    overflow: visible;
    margin-bottom: 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 1.5rem;
}

.hero-text {
    text-align: left;
}

.search-hero h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    font-size: clamp(4rem, 9vw, 6.4rem);
    line-height: 1.1;
}

.search-hero h1 .highlight {
    color: var(--rosa-coral);
    font-weight: 900;
    font-size: clamp(4rem, 9vw, 6.4rem); /* ← Tamaño absoluto uniforme */
}

.search-hero p {
    font-size: 1.50rem;
    font-weight: 400;
    margin-bottom: 0;
    color: var(--blanco);
    opacity: 0.95;
}

/* Personaje PNG */
.hero-character {
    position: relative;
    width: 380px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
}

.hero-character img {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: float-character 3s ease-in-out infinite;
}

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

/* Responsive hero */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-character {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .search-hero {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .hero-character {
        width: 260px;
        height: 260px;
    }
    
    .search-hero h1 {
        font-size: clamp(3.4rem, 8vw, 4.5rem);
    }
    
    .search-hero h1 .highlight {
        font-size: clamp(3.4rem, 8vw, 4.5rem); /* ← Tamaño absoluto uniforme */
    }
    .search-hero p {
        font-size: 1.2rem;
    }
}

/* Móviles pequeños - espaciado más compacto */
@media (max-width: 480px) {
    .search-hero {
        padding: 1.5rem 1rem 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-grid {
        gap: 1.5rem;
        margin: 0 auto 1rem;
    }
    
    .hero-character {
        width: 240px;
        height: 240px;
    }
    
    .search-hero h1 {
        margin-bottom: 1rem;
    }
    
    .search-hero p {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
}

/* ========== BUSCADOR ========== */
.search-box {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.search-filters {
    display: grid;
    grid-template-columns: 2fr 1fr auto auto;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-box input[type="text"],
.search-box select {
    width: 100%;
    padding: 1.1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 111, 97, 0.3);
    border-radius: var(--radio-xl);
    background: #FFFFFF;
    box-shadow: none;
    transition: var(--transicion-normal);
    font-weight: 500;
    color: var(--gris-900);
}

.search-box input[type="text"]:focus,
.search-box select:focus {
    outline: none;
    border-color: var(--rosa-coral);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 111, 97, 0.3);
}

.search-box input[type="text"]::placeholder {
    color: var(--gris-500);
}

.checkbox-container {
    background: var(--blanco);
    padding: 1.1rem 1.25rem;
    border-radius: var(--radio-xl);
    border: 2px solid rgba(255, 111, 97, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transicion-normal);
    white-space: nowrap;
}

.checkbox-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 111, 97, 0.3);
    border-color: var(--rosa-coral);
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--rosa-coral);
}

.checkbox-container label {
    cursor: pointer;
    user-select: none;
    color: var(--gris-700);
    font-weight: 600;
    font-size: 0.95rem;
}

.search-box button {
    padding: 1.1rem 2.5rem;
    background: var(--rosa-coral);
    color: var(--blanco);
    border: none;
    border-radius: var(--radio-xl);
    font-weight: 900;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transicion-normal);
    box-shadow: var(--sombra-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-box button:hover {
    background: var(--rosa-hover);
    transform: translateY(-3px);
    box-shadow: var(--sombra-lg);
}

@media (max-width: 768px) {
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .search-box button {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }
}

/* ========== TARJETAS ========== */
.card {
    background: var(--blanco);
    border-radius: var(--radio-lg);
    padding: 2rem;
    box-shadow: var(--sombra-md);
    margin-bottom: 2rem;
    transition: var(--transicion-normal);
    border: 2px solid rgba(255, 111, 97, 0.2);
}

.card:hover {
    box-shadow: var(--sombra-lg);
    transform: translateY(-4px);
    border-color: var(--rosa-coral);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 78, 89, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.negocio-nombre {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--rosa-coral);
}

/* BADGES */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radio-lg);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--sombra-sm);
    white-space: nowrap;
}

.badge-verificado {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Badge DESTACADO para Plan Plus - Dorado con trofeo */
.badge-destacado-plus {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Badge RECOMENDADO para Plan Básico - Plata con pulgar arriba */
.badge-recomendado-basico {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.4);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}



.badge-plus {
    background: var(--rosa-hover);
    color: var(--blanco);
}

.badge-plan-basico {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.badge-free {
    background: var(--gris-100);
    color: var(--gris-700);
}

/* ========== PRODUCTOS ========== */
.productos-lista {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.producto-item {
    padding: 1.25rem;
    background: #FFFFFF;
    border-radius: var(--radio-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transicion-rapida);
    border: 2px solid rgba(0, 78, 89, 0.1);
}

.producto-item:hover {
    background: rgba(0, 107, 122, 0.05);
    border-color: var(--rosa-coral);
    transform: translateX(4px);
}

.producto-nombre {
    font-weight: 600;
    color: var(--gris-900);
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.producto-nombre i {
    color: var(--rosa-coral);
}

.producto-precio {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--azul-acento);
    margin-left: 1rem;
}

/* ========== BOTONES ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radio-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transicion-normal);
    box-shadow: var(--sombra-sm);
}

.btn-primary {
    background: var(--verde-claro);
    color: var(--blanco);
}

.btn-primary:hover {
    background: var(--rosa-hover);
    transform: translateY(-3px);
    box-shadow: var(--sombra-md);
}

.btn-secondary {
    background: var(--verde-claro);
    color: var(--blanco);
}

.btn-secondary:hover {
    background: var(--rosa-hover);
    transform: translateY(-3px);
    box-shadow: var(--sombra-md);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--blanco);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: var(--sombra-md);
}

.btn-danger {
    background: var(--error);
    color: var(--blanco);
}

.btn-danger:hover {
    background: #b71c1c;
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ========== FORMULARIOS ========== */
.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--blanco);
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--azul-acento);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 111, 97, 0.3);
    border-radius: var(--radio-md);
    font-size: 1rem;
    transition: var(--transicion-normal);
    background: #FFFFFF;
    font-family: inherit;
    color: var(--gris-900);
}

.form-control:focus {
    outline: none;
    border-color: var(--rosa-coral);
    box-shadow: 0 0 0 4px rgba(255, 111, 97, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ========== DASHBOARD STATS ========== */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--blanco);
    padding: 2.5rem;
    border-radius: var(--radio-lg);
    text-align: center;
    box-shadow: var(--sombra-md);
    transition: var(--transicion-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rosa-coral);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-lg);
}

.stat-card i {
    font-size: 3rem;
    color: var(--rosa-coral);
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    display: block;
    color: var(--rosa-coral);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gris-700);
    font-weight: 600;
}

/* ========== ALERTAS ========== */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radio-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    box-shadow: var(--sombra-sm);
}

.alert i {
    font-size: 1.5rem;
}

.alert-success {
    background: #E8F5E9;
    color: #1B5E20;
    border-left: 4px solid var(--exito);
}

.alert-error {
    background: #FFEBEE;
    color: #B71C1C;
    border-left: 4px solid var(--error);
}

.alert-info {
    background: rgba(0, 107, 122, 0.3);
    color: var(--blanco);
    border-left: 4px solid var(--rosa-coral);
}

/* ========== FOOTER ========== */
footer {
    background: var(--verde-oscuro);
    color: var(--blanco);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 2px solid var(--rosa-coral);
}

footer p {
    margin: 0.5rem 0;
    font-weight: 600;
}

footer a {
    color: var(--rosa-coral);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transicion-rapida);
}

footer a:hover {
    color: var(--rosa-claro);
}

/* ========== PÁGINA NEGOCIO INDIVIDUAL ========== */
.negocio-hero-cover {
    position: relative;
    height: 65vh;
    min-height: 450px;
    max-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-gradient {
    background: var(--verde-claro);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.negocio-section {
    background: var(--blanco);
    border-radius: var(--radio-lg);
    padding: 2.5rem 2rem;
    margin: 0 0 2rem 0;
    box-shadow: var(--sombra-md);
    border: 2px solid rgba(255, 111, 97, 0.2);
}

.section-icon{
  width:56px; height:56px;
  background: var(--azul-acento);
  border-radius: var(--radio-md);
  display:flex; align-items:center; justify-content:center;
  color: var(--crema);
  box-shadow: 0 6px 16px rgba(0,0,0,.15), inset 0 0 0 2px rgba(255,255,255,.28);
  margin-bottom: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.section-icon:hover{
  background: #0b6c72; /* un paso más oscuro */
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.section-icon i{ color: var(--crema); }


.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--rosa-coral);
}

/* ========== TABLA ========== */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--blanco);
    border-radius: var(--radio-lg);
    overflow: hidden;
}

.table th,
.table td {
    padding: 1.25rem 1rem;
    text-align: left;
}

.table thead {
    background: var(--verde-claro);
}

.table th {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blanco);
}

.table tbody tr {
    border-bottom: 1px solid rgba(0, 78, 89, 0.1);
    transition: var(--transicion-rapida);
}

.table tbody tr:hover {
    background: rgba(0, 107, 122, 0.1);
}

.table td {
    color: var(--gris-900);
}

/* ========== PLANES ========== */
.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.plan-card {
    background: var(--blanco);
    border-radius: var(--radio-xl);
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: var(--sombra-md);
    transition: var(--transicion-normal);
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.0); /* ← Asegura que Plus no crezca más */
    box-shadow: var(--sombra-xl);
}

.plan-card.destacado {
    border-color: var(--rosa-coral);
    transform: scale(1.0); /* ← MISMO tamaño que Free */
    background: var(--blanco);
}

.plan-card.destacado:hover {
    transform: translateY(-8px); /* ← Mismo efecto que Free */
    box-shadow: var(--sombra-xl);
}
.plan-precio {
    font-size: 4rem;
    font-weight: 900;
    color: var(--rosa-coral);
    margin: 1.5rem 0;
    line-height: 1;
}

.plan-caracteristicas {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.plan-caracteristicas li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 78, 89, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gris-900);
}

.plan-caracteristicas li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--exito);
    color: var(--blanco);
    border-radius: 50%;
    font-weight: 900;
    flex-shrink: 0;
}

/* ========== PRODUCTOS GRID (NEGOCIO DETALLE) ========== */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
}

.producto-card {
    background: var(--blanco);
    border: 2px solid rgba(255, 111, 97, 0.2);
    border-radius: var(--radio-md);
    overflow: hidden;
    transition: var(--transicion-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.producto-card:hover {
    border-color: var(--rosa-coral);
    transform: translateY(-4px);
    box-shadow: var(--sombra-md);
}

.producto-imagen {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: rgba(0, 107, 122, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producto-sin-foto {
    background: rgba(0, 107, 122, 0.2);
}

.producto-sin-foto i {
    font-size: 2.5rem;
    color: var(--gris-300);
}

.producto-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #FFFFFF;
}

.producto-descripcion {
    font-size: 0.875rem;
    color: var(--gris-500);
    margin-bottom: 1rem;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    align-self: center;
}

.producto-footer {
    justify-content: space-between;
    align-self: center;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-consultar {
    padding: 0.625rem 1rem;
    background: #25D366;
    color: var(--blanco);
    border: none;
    border-radius: var(--radio-md);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transicion-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    margin-top: 1rem;
}

.btn-consultar:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .producto-imagen {
        height: 140px;
    }
    
    .producto-info {
        padding: 0.875rem;
    }
    
    .producto-nombre {
        font-size: 0.925rem;
    }
    
    .producto-precio {
        font-size: 1.25rem;
    }
    
    .btn-consultar {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* ========== CONTACTO (NEGOCIO DETALLE) ========== */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #FFFFFF;
    border-radius: var(--radio-md);
    transition: var(--transicion-rapida);
    border: 2px solid transparent;
}

.info-item:hover {
    background: rgba(0, 107, 122, 0.05);
    border-color: var(--rosa-coral);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--azul-acento);
    border-radius: var(--radio-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--blanco);
}

.info-icon.whatsapp-icon {
    background: #25D366;
}

.info-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gris-900);
    margin-bottom: 0.25rem;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--gris-700);
    margin: 0;
}

.info-text a {
    color: var(--gris-700);
    text-decoration: none;
    font-weight: 600;
}

.text-muted {
    color: var(--gris-500);
    font-size: 0.875rem;
}

.colonias-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.colonia-tag {
    background: rgba(0, 107, 122, 0.3);
    color: var(--rosa-coral);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radio-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.mapa-container {
    background: #FFFFFF;
    border-radius: var(--radio-lg);
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255, 111, 97, 0.2);
}

.mapa-fachada {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.mapa-placeholder {
    padding: 2rem 1.5rem;
    text-align: center;
    background: #FFFFFF;
}

.mapa-placeholder i {
    font-size: 4rem;
    color: var(--azul-acento);
    margin-bottom: 1rem;
}

.mapa-placeholder h3 {
    font-size: 1.25rem;
    color: var(--gris-700);
    margin-bottom: 0.75rem;
}

.mapa-placeholder p {
    color: var(--gris-700);
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.btn-mapa {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: var(--azul-acento);
    color: var(--blanco);
    text-decoration: none;
    border-radius: var(--radio-md);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transicion-normal);
}

.btn-mapa i {
    font-size: 1.25rem;
    color: var(--blanco);
}

.btn-mapa:hover {
    background: var(--rosa-hover);
    transform: translateY(-3px);
    box-shadow: var(--sombra-md);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--blanco);
}

.empty-state i {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.volver-container {
    text-align: center;
    padding: 2rem 0;
}

/* ========== HERO COVER (NEGOCIO) RESPONSIVE ========== */
@media (max-width: 768px) {
    .negocio-hero-cover {
        height: 55vh;
        min-height: 400px;
    }
    
    .negocio-logo-hero,
    .negocio-logo-placeholder {
        width: 110px;
        height: 110px;
    }
    
    .negocio-nombre-hero {
        font-size: 1.75rem;
    }
    
    .negocio-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .negocio-hero-cover {
        height: 50vh;
        min-height: 350px;
    }
    
    .negocio-section {
        padding: 1.5rem 1rem;
        margin: 0 0 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* ========== BOTÓN FLOTANTE WHATSAPP ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

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

.whatsapp-float .btn {
    box-shadow: var(--sombra-xl);
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radio-xl);
}

.whatsapp-float .btn:hover {
    transform: scale(1.1) translateY(-3px);
    animation: none;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float .btn {
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
    }
    
    .whatsapp-float .btn span {
        display: none;
    }
    
    .whatsapp-float .btn i {
        margin: 0;
        font-size: 1.5rem;
    }
}

/* ========== FILE UPLOAD ========== */
.file-upload-container {
    border: 2px dashed rgba(255, 111, 97, 0.5);
    border-radius: var(--radio-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transicion-normal);
    background: rgba(0, 107, 122, 0.3);
}

.file-upload-container:hover {
    border-color: var(--rosa-coral);
    background: rgba(0, 107, 122, 0.4);
}

.file-upload-container input[type="file"] {
    display: none;
}

/* ========== UTILIDADES ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

::selection {
    background: var(--rosa-coral);
    color: var(--blanco);
}

html {
    scroll-behavior: smooth;
}

/* ========== HERO LOGO Y BADGES ========== */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--blanco);
    padding: 2rem;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.negocio-logo-hero {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--blanco);
    box-shadow: var(--sombra-xl);
    background: var(--blanco);
}

.negocio-logo-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--sombra-xl);
}

.negocio-logo-placeholder i {
    font-size: 3.5rem;
    color: var(--rosa-coral);
}

.negocio-nombre-hero {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    color: var(--blanco);
}

.badges-hero {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.quick-info {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radio-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: var(--sombra-md);
}

.quick-badge.envio {
    background: rgba(37, 211, 102, 0.9);
}

.negocio-page-content {
    background: var(--verde-principal);
    margin-top: -40px;
    position: relative;
    z-index: 20;
    border-radius: var(--radio-xl) var(--radio-xl) 0 0;
    padding-top: 2rem;
}

.section-subtitle {
    color: var(--gris-500);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.negocio-descripcion {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gris-700);
}

/* ========== SLIDER DE BANNERS (REEMPLAZA CUADRO BEIGE) ========== */
.banner-slider-container {
    max-width: 1100px; /* ← MÁS ANCHO */
    margin: 3rem auto;
    padding: 0 1rem;
}

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radio-xl);
    box-shadow: var(--sombra-lg);
}

.banner-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.banner-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideTransition {
    0% { 
        opacity: 0;
        transform: translateX(100px) scale(0.95);
    }
    100% { 
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Formato rectangular ANCHO para desktop (21:9 más panorámico) */
.banner-desktop {
    display: block !important; /* ← FORZAR */
    aspect-ratio: 21/9;
    min-height: 380px;
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

.banner-mobile {
    display: none !important; /* ← FORZAR */
}


/* Indicadores (dots) */
.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 14px; /* ← MÁS GRANDES */
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6); /* ← MÁS VISIBLES */
    cursor: pointer;
    transition: var(--transicion-rapida);
    border: 2px solid white;
}

.dot.active,
.dot:hover {
    background: var(--rosa-coral);
    transform: scale(1.3); /* ← MÁS GRANDE AL ACTIVARSE */
}

/* Responsive - Cuadrado PERFECTO para móvil */
@media (max-width: 768px) {
    .banner-slider-container {
        max-width: 90%;
        margin: 2rem auto;
    }
    
    .banner-desktop {
        display: none !important; /* ← FORZAR OCULTAR */
    }
    
    .banner-mobile {
        display: block !important; /* ← FORZAR MOSTRAR */
        aspect-ratio: 1/1;
        width: 100%;
        max-width: 500px; /* ← LÍMITE DE TAMAÑO */
        margin: 0 auto;
    }
    
    .slider-btn {
        padding: 0.75rem 1rem;
        font-size: 1.5rem;
    }
    
    .slider-dots {
        bottom: 1rem;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
}

/* Para tablets en landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .banner-slider-container {
        max-width: 900px;
    }
    
    .banner-desktop {
        aspect-ratio: 16/9; /* ← PROPORCIÓN MEDIA PARA TABLETS */
    }
}

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radio-xl);
    box-shadow: var(--sombra-lg);
    cursor: grab;
    user-select: none;
}

.banner-slider:active {
    cursor: grabbing;
}

.banner-slide {
    display: none;
    width: 100%;
    animation: slideTransition 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* ← Más suave y lento */
    text-decoration: none;
}
/* ========== BENEFICIOS (3 CARDS) ========== */
.benefits{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 3rem auto;
}

.benefit-card{
  position:relative;
  border-radius: var(--radio-xl);
  padding: 28px 24px 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    linear-gradient(135deg, var(--fondo-verde) 0%, var(--fondo-verde-oscuro) 100%);
  border: 2px solid rgba(255, 111, 97, 0.20); /* coral tenue */
  box-shadow: var(--sombra-md);
  transition: var(--transicion-normal);
  text-align:center;
  overflow:hidden;
}

.benefit-card::before{
  content:"";
  position:absolute; inset:-1px -1px auto -1px; height:90px;
  background: radial-gradient(120px 40px at 50% 0%, rgba(255,255,255,.18), transparent 70%);
  pointer-events:none;
}

.benefit-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--sombra-lg);
  border-color: var(--rosa-coral);
}

/* Icono circular con crema */
.benefit-icon{
  width:72px; height:72px; margin: 4px auto 14px;
  border-radius:50%;
  display:grid; place-items:center;
  background: radial-gradient(circle at 30% 30%, var(--blanco), #ffe7c7);
  color: var(--verde-oscuro);
  font-size:30px;
  box-shadow: 0 8px 18px rgba(0,0,0,.25), inset 0 0 0 2px rgba(255,255,255,.35);
  transition: var(--transicion-normal);
}
.benefit-card:hover .benefit-icon{ transform: translateY(-2px) scale(1.03); }

.benefit-card h3{
  color:#fff;
  font-weight:800;
  letter-spacing:.2px;
  margin:6px 0 8px;
}

.benefit-card p{
  color: rgba(255,255,255,.85);
  line-height:1.55;
  margin: 0 6px 18px;
}

/* CTA chip */
.benefit-cta{
  display:inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.18);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.3px;
  transition: var(--transicion-normal);
}
.benefit-cta:hover{
  background: rgba(255,111,97,.18);
  border-color: var(--rosa-coral);
  box-shadow: 0 6px 16px rgba(255,111,97,.25);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 960px){
  .benefits{ grid-template-columns: 1fr; }
  .benefit-card{ padding:24px 20px; }
}

/* Badges de planes mejorados */
.badge-plan-plus {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #FFFFFF;
    font-weight: 900;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.badge-plan-free {
    background: #95a5a6;
    color: #004e59;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
}

/* ========== TABLA RESPONSIVE ========== */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .table {
        min-width: 600px;
    }
    
    .table th,
    .table td {
        padding: 0.875rem 0.625rem;
        font-size: 0.85rem;
    }
    
    .table th {
        font-size: 0.75rem;
    }
}

/* ========== INDICADOR DE SCROLL HORIZONTAL ========== */
.table-scroll-hint {
    display: none;
    background: linear-gradient(135deg, var(--rosa-coral), var(--rosa-hover));
    color: var(--blanco);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radio-md);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    box-shadow: var(--sombra-sm);
    animation: pulseHint 2s ease-in-out infinite;
}

.table-scroll-hint i {
    margin-right: 0.5rem;
    animation: slideArrow 1.5s ease-in-out infinite;
}

@keyframes pulseHint {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes slideArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Mostrar solo en móvil cuando la tabla es más ancha que el contenedor */
@media (max-width: 768px) {
    .table-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Remover los pseudo-elementos anteriores */
.table-container::after,
.table-container::before {
    display: none;
}

/* ========== LIGHTBOX CON IMÁGENES CUADRADAS ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: flex-start;
    justify-content: center;
    animation: fadeIn 0.3s;
    overflow-y: auto;
    padding: 1rem 0;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.lightbox-producto-info {
    background: white;
    padding: 1rem 2rem;
    border-radius: 10px 10px 0 0;
    text-align: center;
    width: 100%;
    margin-bottom: -2px; /* ← AGREGAR ESTA LÍNEA */
}

.lightbox-producto-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
}

.lightbox-producto-info p {
    margin: 0.5rem 0 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4A90A4;
}

/* Imagen CUADRADA */
.lightbox-content img {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover; /* ← CAMBIAR de contain a cover */
    background: white;
    padding: 0; /* ← CAMBIAR de 1rem a 0 */
    margin: 0 auto;
    display: block;
}

.lightbox-counter {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 1rem 0;
    font-weight: 600;
}

.lightbox-consultar-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    width: calc(100% - 2rem);
    max-width: 380px;
    justify-content: center;
}

.lightbox-consultar-btn:hover {
    background: #20BA5A;
    transform: scale(1.05);
}

/* Botones de navegación */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: white;
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Indicador de scroll */
.lightbox-scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(37, 211, 102, 0.9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10002;
    animation: bounceDown 2s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox-scroll-indicator.visible {
    opacity: 1;
}

.lightbox-scroll-indicator i {
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .lightbox {
        padding: 0.5rem 0;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-content img {
    max-width: 340px;
    height: 340px;
    padding: 0; /* ← CAMBIAR de 0.5rem a 0 */
    object-fit: cover; /* ← AGREGAR ESTA LÍNEA */
}
    
    .lightbox-producto-info {
        padding: 0.875rem 1.5rem;
    }
    
    .lightbox-producto-info h3 {
        font-size: 1.1rem;
    }
    
    .lightbox-producto-info p {
        font-size: 1.25rem;
    }
    
    .lightbox-consultar-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: calc(100% - 1rem);
        margin-bottom: 1.5rem;
    }
    
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev { 
        left: 10px; 
    }
    
    .lightbox-next { 
        right: 10px; 
    }
    
    .lightbox-close { 
        top: 10px; 
        right: 10px; 
    }
}

@media (max-width: 480px) {
    .lightbox-content img {
        max-width: 380px;
        height: 300px;
    }
    
    .lightbox-consultar-btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
    
    .lightbox-scroll-indicator {
        font-size: 0.8rem;
        padding: 0.625rem 1.25rem;
        bottom: 15px;
    }
}
/* Badge Destacado para plan Básico - Plata con estrella */
.badge-destacado {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: #FFFFFF;
    font-weight: 900;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 24px;
    font-size: 0.875rem;
    white-space: nowrap;
}
/* ========== BADGES PARA DASHBOARD/PERFIL/SUSCRIPCIÓN ========== */
/* Badge Plan Plus - Dorado con medalla */
.badge-plan-plus-dashboard {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #FFFFFF;
    font-weight: 900;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 24px;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Badge Plan Básico - Plata con estrella */
.badge-plan-basico-dashboard {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: #FFFFFF;
    font-weight: 900;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 24px;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Badge Plan Free - Gris */
.badge-plan-free-dashboard {
    background: #95a5a6;
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 24px;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Efecto de resaltado cuando se enfoca un producto desde el carrusel */
.producto-enfocado {
    animation: producto-pulse 1.5s ease-in-out 2;
    position: relative;
    z-index: 10;
}

@keyframes producto-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(255, 111, 97, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 32px rgba(255, 111, 97, 0.6);
    }
}

/* Opcional: Ring effect adicional */
.producto-enfocado::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 3px solid var(--rosa-coral);
    border-radius: var(--radio-md);
    animation: ring-pulse 1.5s ease-out 2;
    pointer-events: none;
}

@keyframes ring-pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* ========== FIX PARA CLICKS EN PRODUCTOS ========== */

/* Asegurar que el contenido de productos esté por encima */
.negocio-page-content {
    position: relative;
    z-index: 1;
}

.productos-section {
    position: relative;
    z-index: 2;
}

/* Asegurar que los filtros no bloqueen los productos */
.categorias-filtro {
    position: relative;
    z-index: 3;
}

/* Las cards de productos deben tener z-index bajo pero clickeable */
.producto-card {
    position: relative;
    z-index: 1;
    pointer-events: auto !important; /* ← CRÍTICO */
}

/* El hero debe estar por debajo del contenido */
.negocio-hero-cover {
    position: relative;
    z-index: 0;
}

/* Asegurar que el carrusel promocional no bloquee */
.carrusel-promocional {
    position: relative;
    z-index: 1;
}