/* =========================================================
   VARIABLES DE COLOR Y DISEÑO (ESTILO APPLE + AZUL MARINO)
========================================================= */

header, footer, .site-header, .site-footer { display: none !important; }

/* --- MODO CLARO (Por defecto) --- */
:root { 
    --bg: #FFF; 
    --surface: #0F0F11; 
    --grid-item: #FFFFFF;
    --text: #FFFFFF;
    --text-btn: #FFFFFF;  
    --text-light:#94A3B8; 
    --accent: #2C2C2E; 
    --accent-light: #FFF; 
    --danger: #10B981; 
    --separator: rgba(255, 255, 255, 0.1);
    --shadow-panel: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-btn: 0 4px 6px -1px rgba(0, 0, 0, 0.0);
}
    
    /* SOMBRAS REDUCIDAS PARA EVITAR CORTES */
    --shadow-panel: 0 2px 5px rgba(0, 0, 0, 0.08) !important; 
    --shadow-btn: 0 2px 4px rgba(10, 37, 64, 0.2) !important; 
}



/* --- MODO OSCURO --- */
html.dark-mode, body.dark-mode {
    --bg: #0B1120 !important; 
    --surface: #1A253A !important; 
    --text: #F8FAFC !important; 
    --text-light: #94A3B8 !important; 
    --accent: #60A5FA !important; 
    --accent-light: rgba(255, 255, 255, 0.08) !important; 
    --separator: rgba(255, 255, 255, 0.05) !important; 
    
    /* SOMBRAS REDUCIDAS MODO OSCURO */
    --shadow-panel: 0 3px 6px rgba(0, 0, 0, 0.25) !important;
    --shadow-btn: 0 3px 6px rgba(0, 0, 0, 0.35) !important; 
    
    background-color: var(--bg) !important;
}

/* =========================================================
   ESTILOS BASE Y RESETEO GLOBAL
========================================================= */
* { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
html, body { background-color: var(--bg); margin: 0; padding: 0; width: 100%; min-height: 100vh; overflow-x: hidden; }
body { color: var(--text); padding-bottom: 75px; transition: background-color 0.3s; }
::-webkit-scrollbar { width: 0px; background: transparent; }

/* =========================================================
   ESTILOS PARA EL CARRITO DESLIZABLE (SWIPE TO DELETE)
========================================================= */
.swipe-item-container { position: relative; overflow: hidden; margin-bottom: 10px; border-radius: 16px; background: #121212; }
.swipe-item-content { position: relative; background: var(--surface); padding: 15px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 2; border: 1px solid var(--separator); }
.swipe-delete-btn { position: absolute; right: 0; top: 0; bottom: 0; width: 80px; background: rgba(0, 0, 0, 0.0); color: #FF3B30; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 1; cursor: pointer; border: none; }
