/*
Theme Name:  LatamGPS
Theme URI:   https://latamgps.com
Author:      Latam GPS
Author URI:  https://latamgps.com
Description: Tema ultraligero SEO-Ready y mobile-first con estética de app nativa. Sin Bootstrap ni jQuery. Optimizado para Core Web Vitals, Google, AI Search y redes sociales.
Version:     1.0.0
Requires at least: 6.4
Tested up to:      6.7
Requires PHP:      8.1
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       latamgps
Tags:              mobile-first, seo, woocommerce, app-like, minimal
*/

/* =====================================================
   CSS Custom Properties — Design Tokens
   ===================================================== */
:root {
    /* Colores y superficies: Usar solo variables estándar de Ionic */
    /* Las variables de color se definen en ionic.bundle.css */

    /* Tipografía y layout: mantener solo lo necesario */
    /* Solo layout, tipografía y espaciado. Colores de Ionic por defecto. */
    --nav-height: 64px;
    --nav-label-size: 0.625rem;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --font-mono: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --container-max: 1200px;
    --content-max: 720px;
    --sidebar-width: 300px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.10), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

/* =====================================================
   Modo oscuro automático (respetar preferencia del SO)
   ===================================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
}