/*
Theme Name: Market Local App
Theme URI: http://tuweb.com
Author: Tu Nombre
Description: Tema ultra ligero para Marketplace de Locales.
Version: 1.2
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Inter', sans-serif; 
    background-color: #f4f4f5; 
    color: #18181b;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

/* ================= ENCABEZADO (HEADER) ================= */
.tema-header {
    background: #fff;
    border-bottom: 1px solid #e4e4e7;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.tema-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tema-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Menú Navegación (PC) */
.tema-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.link-inicio {
    text-decoration: none;
    color: #3f3f46;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}
.link-inicio:hover { color: #10b981; }
.btn-login {
    background: #f4f4f5;
    color: #18181b;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #e4e4e7;
    transition: background 0.2s;
}
.btn-login:hover { background: #e4e4e7; }

/* Botones de Control Móvil (Ocultos en PC) */
.btn-hamburguesa, .btn-cerrar-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #18181b;
    padding: 5px;
}

/* ================= MENÚ PANTALLA COMPLETA (MÓVIL) ================= */
@media (max-width: 768px) {
    .btn-hamburguesa { display: flex; align-items: center; justify-content: center; }
    .btn-cerrar-menu { display: block; position: absolute; top: 20px; right: 20px; }
    
    .tema-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 2000;
        /* Efecto de entrada por arriba */
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }
    
    /* Clase que se activa con JavaScript */
    .tema-nav.activo {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Enlaces más grandes en celular */
    .link-inicio { font-size: 26px; font-weight: 800; color: #18181b; }
    .btn-login { font-size: 20px; padding: 15px 40px; }
}

/* ================= CONTENIDO PRINCIPAL ================= */
.tema-main { flex: 1; width: 100%; }

/* ================= PIE DE PÁGINA (FOOTER) ================= */
.tema-footer { background: #fff; border-top: 1px solid #e4e4e7; padding: 30px 20px; margin-top: 40px; }
.tema-footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; color: #71717a; font-size: 14px; }
.tema-footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.tema-footer-links a { color: #71717a; text-decoration: none; transition: color 0.2s; }
.tema-footer-links a:hover { color: #10b981; }