/* --- CONFIGURACIÓN MAESTRA --- */
:root {
    --orange: #FF8C00; /* */
    --orange-glow: rgba(255, 140, 0, 0.4);
    --dark: #0a0a0a;
    --card: #181818; /* */
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-dim: #999;
    --radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px; /* Evita que el menú sticky tape los títulos */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- 1. SPLASH SCREEN (ANIMACIÓN INICIAL) --- */
.splash {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.splash-content {
    text-align: center;
}

.splash-logo {
    width: 100px;
    height: 100px;
    background: var(--orange); /* */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 40px var(--orange-glow);
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.splash-title {
    font-size: 2.5rem;
    font-weight: 900;
}

.splash-title span { color: var(--orange); }

.loading-bar {
    width: 160px;
    height: 4px;
    background: #222;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0; height: 100%;
    width: 0;
    background: var(--orange);
    animation: progress 1.5s ease-in-out forwards;
}

@keyframes progress { to { width: 100%; } }
@keyframes bounceIn { from { transform: scale(0); } to { transform: scale(1); } }

/* Ocultar contenido al inicio */
.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* --- 2. HEADER Y BÚSQUEDA --- */
.main-header {
    padding: 30px 20px 20px;
    background: linear-gradient(to bottom, #111, var(--dark));
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.logo-mini {
    width: 50px;
    height: 50px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid var(--orange); /* */
}

.brand h1 { font-size: 1.8rem; font-weight: 800; }
.text-orange { color: var(--orange); font-style: italic; } /* */

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 18px; top: 50%;
    transform: translateY(-50%);
    color: #555;
}

#searchInput {
    width: 100%;
    padding: 16px 16px 16px 50px;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 16px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

#searchInput:focus { border-color: var(--orange); background: #222; }

/* --- 3. NAVEGACIÓN POR CHIPS (STICKY) --- */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    overflow-x: auto;
    padding: 15px 20px;
    gap: 12px;
    scrollbar-width: none;
}

.nav-container::-webkit-scrollbar { display: none; }

.nav-chip {
    padding: 12px 22px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 50px; /* */
    color: #999;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.nav-chip.active {
    background: var(--orange); /* */
    color: white;
    border-color: var(--orange);
    box-shadow: 0 5px 15px var(--orange-glow);
}

/* --- 4. LISTADO DE PRODUCTOS --- */
.menu-list {
    padding: 25px 20px;
    max-width: 650px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--orange);
    text-transform: uppercase;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,140,0,0.4), transparent);
}

.product-card {
    background: var(--card); /* */
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid var(--border);
    transition: transform 0.2s;
    animation: fadeInUp 0.5s ease backwards;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.product-card:active { transform: scale(0.97); background: #222; }

.product-info h3 { font-size: 1.1rem; margin-bottom: 6px; font-weight: 800; }
.product-info p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.4; }

.product-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--orange); /* */
}

/* --- 5. FOOTER PREMIUM (INSTAGRAM Y VALORACIÓN) --- */
.main-footer {
    padding: 60px 20px;
    text-align: center;
    background: #080808;
    color: #444;
}

.main-footer h3 { color: #ccc; margin-bottom: 25px; font-size: 1.2rem; }

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.social-btn {
    width: 60px; height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    color: white;
    transition: transform 0.3s;
}

.social-btn.insta { background: linear-gradient(45deg, #f09433, #bc1888); } /* */
.social-btn.google { background: #fff; color: #4285F4; } /* */

.social-btn:active { transform: scale(0.9); }

/* --- 6. BARRAS FIJAS --- */
.fixed-info-bar {
    position: fixed;
    bottom: 0; width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 14px;
    text-align: center;
    font-size: 0.85rem;
    border-top: 3px solid var(--orange); /* */
    z-index: 90;
}

.fixed-info-bar b { color: var(--orange); }

/* BOTÓN DE LLAMADA FAB */
.call-fab {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 420px;
    background: linear-gradient(135deg, #25D366, #128C7E); /* */
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    z-index: 500;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.call-fab:active { transform: translateX(-50%) scale(0.96); }

.call-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.call-icon-box {
    position: relative;
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.pulse-ring {
    position: absolute;
    width: 100%; height: 100%;
    border: 3px solid white;
    border-radius: 50%;
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.call-text { text-align: right; }
.call-label { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; opacity: 0.9; }
.call-number { font-size: 1.4rem; font-weight: 900; letter-spacing: 0.5px; } /* */