﻿:root {
    --primary-color: #004d40;
    --accent-color: #ffb300;
    --bg-color: #f4f7f6;
    --text-color: #333;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --danger-color: #d32f2f;
    --personal-bg: #ffffff;
    --personal-text: #1a1a1a;
}

/* --- TRANSITION LOADER (v6.2.7) --- */
.orbit-spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.orbit-spinner .orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.orbit-spinner .orbit:nth-child(1) {
    border-top-color: var(--primary-color);
    animation: orbit-rotate 1s linear infinite;
}

.orbit-spinner .orbit:nth-child(2) {
    border-right-color: var(--accent-color);
    animation: orbit-rotate 1s linear infinite reverse;
}

.orbit-spinner .orbit:nth-child(3) {
    border-bottom-color: var(--primary-color);
    animation: orbit-rotate 2s linear infinite;
}

@keyframes orbit-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* MARCA PERSONAL LAYOUT (v5.9.0) */
.hero-personal {
    display: none;
    /* Hidden by default */
    background: var(--personal-bg);
    min-height: 80vh;
    padding: 60px 10%;
    align-items: center;
    gap: 50px;
    color: var(--personal-text);
    position: relative;
    overflow: hidden;
}

@media (min-width: 769px) {
    .is-personal-brand .hero-personal {
        display: flex;
    }

    .is-personal-brand .hero-banner:not(.hero-personal) {
        display: none !important;
    }
}

.personal-left {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.personal-left img {
    max-width: 500px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(20px 20px 50px rgba(0, 0, 0, 0.1));
}

.personal-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
    border-radius: 20px;
    z-index: 10;
    /* Asegurar que esté por encima de la foto */
}

.overlay-slogan {
    align-self: flex-start;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
}

.overlay-msg1 {
    align-self: center;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
    max-width: 80%;
    line-height: 1.2;
}

.overlay-msg2 {
    align-self: flex-end;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    text-align: right;
}

.personal-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.personal-right h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: #000;
}

.personal-right p {
    font-size: 1.2rem;
    opacity: 0.8;
    line-height: 1.5;
    max-width: 500px;
}

.personal-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.check-item i {
    color: #e65100;
}

.personal-cta-box {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    background: #fff;
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    max-width: 500px;
}

.personal-cta-box input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.personal-cta-box button {
    background: #ff4500;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s;
}

.personal-cta-box button:hover {
    transform: scale(1.05);
}

.as-seen-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fdf6f0;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    opacity: 0.7;
    filter: grayscale(1);
}

/* --- DYNAMIC GALLERY SLIDER (v6.2.8) --- */
.gallery-wrapper {
    position: relative;
    padding: 0 50px;
    /* Espacio para las flechas */
}

.gallery-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 30px !important;
    padding: 30px 10px !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
}

.gallery-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    color: var(--primary-color);
}

.gallery-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow.prev {
    left: 0;
}

.gallery-arrow.next {
    right: 0;
}

.gallery-item {
    flex: 0 0 100%;
    /* Default mobile */
    max-width: 600px;
    /* Límite para que se vea bien */
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 768px) {
    .gallery-item {
        flex: 0 0 50%;
        /* 2 por vista en desktop */
    }
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
}

.gallery-info h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.as-seen-bar img {
    height: 30px;
    opacity: 0.6;
}

/* Estilos para las Burbujas del Hub Orbit */
.enterprise-bubble {
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    text-align: center;
    z-index: 50;
    pointer-events: auto;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.enterprise-bubble.priority {
    z-index: 60;
}

.bubble-logo {
    width: 60%;
    height: 60%;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.bubble-name {
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    max-width: 80%;
}

.food-container {
    padding: 40px 5%;
    background: #fbfbfb;
    display: none;
}

.food-container:has(#food-menu-grid:not(:empty)) {
    display: block;
}

#view-home:has(.food-container[style*="display: block"]) #standard-features-grid {
    display: none !important;
}


.food-category-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 25px 0 10px 0;
    color: #1a1a1a;
    padding-left: 5px;
}

.food-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 5px 0 15px 0;
}

.food-tabs::-webkit-scrollbar {
    display: none;
}

.food-tab {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: #666;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.food-tab:hover,
.food-tab.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.food-grid {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 5px 20px 5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.food-grid::-webkit-scrollbar {
    height: 4px;
}

.food-grid::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.food-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
    flex: 0 0 132px;
    /* Reduced 20% from ~165px */
}

.food-card:hover {
    transform: translateY(-5px);
}

.food-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.food-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f8f8f8;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 20px 20px 0 0;
}

.food-card:hover .food-img {
    transform: scale(1.05);
}

.food-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.food-title-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.food-info h3 {
    font-size: 0.85rem;
    margin: 0;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    height: 2.4em;
    /* Allow 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.food-info .price {
    font-weight: 800;
    color: #ff4d00;
    /* BK Style Orange/Red */
    font-size: 0.95rem;
}

.food-desc {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-color);
    color: white;
    padding: 5px 35px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ribbon.oferta {
    background: #d32f2f;
    /* Rojo intenso */
}

.ribbon.nuevo {
    background: #2e7d32;
    /* Verde bosque */
}

.food-actions-container {
    margin-top: 5px;
    z-index: 10;
}

.food-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ff4d00;
    border-radius: 12px;
    padding: 0;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
    height: 36px;
    overflow: hidden;
}

.food-actions button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    width: 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background 0.2s;
}

.food-actions button:hover {
    background: rgba(255, 255, 255, 0.25);
}

.food-qty {
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 25px;
    text-align: center;
}

.cart-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: #ffffff;
    /* Solid White âšª */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: #1a1a1a;
    padding: 12px 25px;
    border-radius: 100px;
    z-index: 1000;
    border: 1px solid #eee;
}

.cart-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-btns {
    display: flex;
    gap: 10px;
}

.btn-clear {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 2px 8px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.55rem;
    font-weight: 500;
}

.btn-checkout {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.btn-checkout:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.order-summary-mini {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

/* --- CHECKOUT STEPS --- */
/* --- DELIVERY SELECTOR --- */
.delivery-opt {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
}

.delivery-opt i {
    font-size: 1.2rem;
    margin-bottom: 5px;
    opacity: 0.6;
}

.delivery-opt:hover {
    border-color: var(--accent-color) !important;
    background: #fffdf5 !important;
}

.delivery-opt.active {
    border-color: var(--primary-color) !important;
    background: #e0f2f1 !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(0, 77, 64, 0.1);
}

.delivery-opt.active i {
    opacity: 1;
    color: var(--primary-color);
}

.delivery-opt-staff.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.checkout-step {
    animation: fadeIn 0.3s ease-in-out;
}

.step-indicator {
    display: flex;
    justify-content: space-around;
    padding: 12px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.step-dot {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 4px;
}

.step-dot.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.ticket-container-express {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    font-family: 'Courier New', Courier, monospace;
    position: relative;
}

.ticket-container-express::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 10%;
    right: 10%;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ticket-item-express {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.9rem;
    border-bottom: 1px dashed #edf2f7;
}

.ticket-item-express:last-child {
    border-bottom: none;
}

/* --- TABLE CONTROLS (Search & Refresh) --- */
.table-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 77, 64, 0.1);
}

.search-box i {
    color: #999;
    margin-right: 10px;
    font-size: 0.9rem;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 0.95rem;
    width: 200px;
    background: transparent;
}

.btn-refresh {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-refresh:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: rotate(180deg);
}

.btn-refresh:active {
    transform: scale(0.9) rotate(180deg);
}

.btn-refresh i {
    font-size: 0.9rem;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Helpers */
.hidden {
    display: none !important;
}

.w-100 {
    width: 100%;
}

.valid {
    background-color: #00e676;
}

/* Status Bar */
.status-bar {
    background: #1a202c;
    /* Deeper dark for professional tool feel */
    color: #cbd5e0;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    align-items: center;
    border-bottom: 1px solid #2d3748;
}

/* System Console Area (Center) */
.sb-console {
    background: #000;
    padding: 3px 12px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    border: 1px solid #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sb-console:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(255, 179, 0, 0.3);
}

.console-dot {
    height: 6px;
    width: 6px;
    background: #00e676;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

.console-text {
    color: #00e676;
    white-space: nowrap;
}

/* Animations ðŸš€ */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }

    70% {
        box-shadow: 0 0 0 4px rgba(0, 230, 118, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(244, 67, 54, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    }
}

@keyframes blink-confirm {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.98);
        background-color: #2ecc71;
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.blink-confirm {
    animation: blink-confirm 0.3s ease 2;
}

/* Error state ðŸ”¥ */
.sb-console.error {
    background: #2d0000;
    border-color: #f44336;
}

.sb-console.error .console-dot {
    background: #f44336;
    animation: pulse-red 0.8s infinite;
}

.sb-console.error .console-text {
    color: #ff8a80;
}

.divider {
    margin: 0 10px;
    opacity: 0.3;
}

/* Header */
#main-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0 2rem;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 2000;
}

#nav-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Empuja todo el menÃº a la derecha */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    /* Un poco mÃ¡s grande para mejor UX */
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
    z-index: 2101;
    margin-left: auto;
    /* Asegura posiciÃ³n derecha extrema */
}



.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a i {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    #main-header {
        padding: 0 1.5rem;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 20px 40px 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 3000;
        overflow-y: auto;
        border-left: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-list.active {
        right: 0;
    }

    .nav-list li {
        width: 100%;
        margin-bottom: 15px;
        display: block;
    }

    .nav-list a {
        background: transparent;
        color: #1a202c !important;
        font-weight: 600 !important;
        font-size: 1.1rem !important;
        padding: 12px 15px;
        border-radius: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 15px;
        transition: background 0.2s;
    }

    .nav-list a:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .nav-list a:hover {
        background: #fff;
        transform: scale(1.05);
        color: var(--primary-color) !important;
    }

    /* Pedido Express Capsule Button */
    .btn-express-nav-special {
        background: var(--accent-color) !important;
        color: #000 !important;
        width: fit-content !important;
        min-width: 180px;
        justify-content: center;
        margin: 5px auto !important;
        box-shadow: 0 4px 15px rgba(255, 179, 0, 0.4);
        text-transform: none !important;
        /* Avoid all caps */
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 2450;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay:not(.hidden) {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 600px) {
    .nav-list {
        width: 70%;
        padding: 90px 20px 40px 20px;
    }
}

/* Helper para evitar scroll con menú abierto */
body.menu-open {
    overflow: hidden !important;
    height: 100vh;
}


.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container {
    height: 45px;
    display: flex;
    align-items: center;
}

#header-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-area h1 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0;
}

/* Gallery Styles */
.company-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    padding: 1rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-info {
    padding: 12px;
}

.gallery-info h4 {
    margin: 0;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.gallery-info span {
    font-size: 0.75rem;
    color: #888;
}

/* Orbit Hub ðŸª */
#view-orbit {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0f0f1a 100%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.orbit-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.enterprise-bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.enterprise-bubble.priority {
    animation: float-main 10s infinite ease-in-out;
}

.enterprise-bubble.shaded {
    animation: float-secondary 12s infinite ease-in-out;
}

.enterprise-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px var(--accent-color);
    border-color: var(--accent-color);
}

.enterprise-bubble.active {
    width: 320px !important;
    height: 320px !important;
    z-index: 100 !important;
    background: rgba(255, 255, 255, 0.1);
}

.bubble-logo {
    width: 80%;
    height: 80%;
    object-fit: contain;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)) brightness(1.1);
    transition: all 0.3s ease;
}

.bubble-name {
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    padding: 0 10px;
}

@keyframes float-main {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    33% {
        transform: translate(calc(-50% + 30px), calc(-50% - 40px)) rotate(2deg);
    }

    66% {
        transform: translate(calc(-50% - 25px), calc(-50% + 25px)) rotate(-2deg);
    }
}

@keyframes float-secondary {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    50% {
        transform: translate(calc(-50% + 20px), calc(-50% + 15px)) rotate(5deg) scale(1.02);
    }
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--accent-color);
}

/* Main Content */
#app-container {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.view-section {
    animation: fadeIn 0.3s ease-in-out;
}

/* Hero Section - Premium Modern Look */
.hero-banner {
    text-align: center;
    padding: 120px 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reducir visualmente un 10% (de 120px a 108px) */
.hero-banner.reduced {
    padding: 108px 20px;
    filter: brightness(1.1);
}

.hero-extra-msg {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.hero-banner h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
}

.hero-banner p {
    font-size: 1.4rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 300;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    z-index: 5;
}

.hero-banner button {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section & Strategic Pillars */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2,
.section-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pillar-card {
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fafafa;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.pillar-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.pillar-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

.pillar-list {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

.pillar-list p {
    margin-bottom: 5px;
}

/* Cards & Grid Refinement */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 25px;
    width: 100%;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.feature-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    width: 100%;
    /* Removido max-width restrictivo para aprovechar la rejilla */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-card i {
    font-size: 1rem;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.95);
    padding: 6px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.card-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Strictly square */
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .card-img {
    transform: scale(1.1);
}

.feature-card .card-content {
    padding: 15px;
}

.feature-card h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Minimalist Catalog */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-stock {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Dashboard */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.big-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    /* Fully Rounded */
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 179, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 179, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.btn-support {
    background: #0084ff;
    color: white !important;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-support:hover {
    background: #0073e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.4);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: opacity 0.3s;
}

.btn-small {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    background: #e0e0e0;
    border: 1px solid #ccc;
    color: #333;
    transition: all 0.2s;
    font-weight: 500;
}

.btn-small:hover {
    background: #d0d0d0;
}

/* Table Action Alignment */
.actions-cell {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    /* Softer rounded corners */
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 0.95rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.1);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: var(--primary-color);
    color: white;
}

/* Modal */
/* Modal Base Refinement */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.3s ease;
}

.modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 95%;
    max-width: 500px;
    margin: 10px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

#login-modal-overlay .modal {
    max-width: 400px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

#login-modal-overlay .modal-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#login-modal-overlay input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fdfdfd;
    transition: all 0.25s ease;
    outline: none;
}

#login-modal-overlay input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 77, 64, 0.1);
}

#login-modal-overlay .btn-primary {
    margin-top: 10px;
    border-radius: 12px;
    height: 48px;
    font-weight: 700;
}

#login-modal-overlay .btn-secondary {
    border-radius: 12px;
    height: 48px;
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666;
}

#login-modal-overlay .btn-secondary:hover {
    background: #f5f5f5;
    color: #333;
}

.close-modal,
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #f44336;
    /* Solid background Ã°ÂŸÂ”Â¥ */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    z-index: 10;
    transition: all 0.3s;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Avoid text selection */
    user-select: none;
}

.close-modal:hover,
.close-btn:hover {
    background: #d32f2f;
    transform: scale(1.1) rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #00695c);
    color: white;
    padding: 20px 25px;
    position: relative;
    border-bottom: none;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Consolidated Close Button Style Ã¢ÂÂŒ */
.close-modal,
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #f44336 !important;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 100;
    transition: all 0.3s;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.close-modal:hover,
.close-btn:hover {
    background: #d32f2f !important;
    transform: scale(1.1) rotate(90deg);
}

#project-details-modal .close-modal,
#checkout-modal .close-btn {
    top: 20px;
    right: 20px;
}

.modal-body {
    padding: 15px 30px;
    max-height: 70vh;
    overflow-y: auto;
}

#policies-content {
    color: #455a64;
    font-size: 1rem;
    line-height: 1.7;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    white-space: pre-wrap;
}

.modal-footer {
    padding: 15px 30px 25px;
    border-top: 1px solid #f1f5f9;
}

.error-msg {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Footer Institucional Premium (v4.6.8) */
#main-footer {
    padding: 20px 5%;
    background: #0F0F0F;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    transition: all 0.3s;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 50px;
}

.btn-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-icon.tiktok {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-mini {
    display: flex;
    gap: 15px;
    margin-left: 10px;
}

.social-mini a {
    color: #78909c;
    font-size: 1rem;
    transition: color 0.3s;
}

.social-mini a:hover {
    color: var(--accent-color);
}

.social-mini a.under-construction {
    opacity: 0.5;
    filter: grayscale(1);
    cursor: help;
}

.social-mini a.social-fb {
    color: #1877F2;
}

.social-mini a.social-ig {
    color: #E4405F;
}

.social-mini a.social-tk {
    color: #000000;
}

.social-mini a:hover {
    filter: brightness(1.2);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .footer-minimal {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        justify-content: center;
        gap: 15px;
    }
}

/* Professional Integrated Links */
.btn-link {
    background: transparent;
    border: none;
    color: #fff;
    padding: 5px 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s;
    text-transform: none;
    position: relative;
}

.btn-link:hover {
    color: var(--accent-color);
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.btn-link:hover::after {
    width: 100%;
}

.social-links a {
    margin: 0 12px;
    color: white;
    font-size: 1.3rem;
    transition: transform 0.3s;
    display: inline-block;
}

.social-links a:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

/* CSS for Knowledge Module */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    #main-header {
        flex-direction: row;
        padding: 0 15px;
        height: 65px;
        justify-content: space-between;
    }

    .logo-area {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #header-title {
        font-size: 1.2rem;
    }

    /* Ocultar elementos que causan scroll o desorden */
    .sb-console {
        display: none !important;
    }

    .sb-left,
    .sb-right {
        font-size: 0.65rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .data-table th:nth-child(n+4),
    .data-table td:nth-child(n+4) {
        display: none;
        /* Simplificar tablas en móvil */
    }

    .food-grid-container {
        padding: 0 10px;
    }

    .pos-dashboard {
        padding: 10px;
    }

    .pos-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: relative;
    top: auto;
    left: auto;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 13px;
    padding: 6px 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    opacity: 0.95;
    transition: all 0.3s ease;
    font-weight: 600;
}

.whatsapp-float:hover {
    opacity: 1;
    transform: scale(1.05);
    color: white;
}

.whatsapp-float i {
    font-size: 20px;
}

@media (max-width: 600px) {
    .whatsapp-float span {
        display: none;
        /* Icon only on small mobile */
    }

    .whatsapp-float {
        padding: 8px;
        border-radius: 50%;
    }
}

/* --- POS DASHBOARD (PFM) --- */
.pos-dashboard {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.pos-header h2 {
    color: var(--primary-color);
}

.pos-status-filters {
    display: flex;
    gap: 10px;
}

.filter-btn,
.pos-filter-btn {
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.filter-btn.active,
.pos-filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.order-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-left: 5px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card.status-received {
    border-left-color: #3182ce;
}

.order-card.status-kitchen {
    border-left-color: #dd6b20;
}

.order-card.status-ready,
.order-card.listo-entrega {
    border-left-color: #38a169;
}

.order-card.en-camino,
.order-card.en-ruta {
    border-left-color: #3182ce;
    background: #f0f7ff;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
}

.order-id {
    font-weight: bold;
    color: #718096;
    font-size: 0.8rem;
}

.order-time {
    font-size: 0.8rem;
    color: #a0aec0;
}

.badge-web {
    background: #ebf8ff;
    color: #2b6cb0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: bold;
    border: 1px solid #bee3f8;
}

.badge-local {
    background: #f0fff4;
    color: #2f855a;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: bold;
    border: 1px solid #c6f6d5;
}

.contact-link {
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.2s;
}

.contact-link.phone {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.05);
    font-weight: bold;
}

.contact-link.address {
    color: #4a5568;
    background: rgba(74, 85, 104, 0.05);
}

.contact-link:hover {
    transform: translateX(3px);
    filter: brightness(0.9);
}

.customer-info h4 {
    margin: 0;
    color: #2d3748;
}

.customer-info p {
    margin: 2px 0;
    font-size: 0.85rem;
    color: #718096;
}

.order-items {
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
    padding: 10px 0;
}

.order-item-row {
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.order-actions {
    display: flex;
    gap: 8px;
}

.btn-status-next {
    background: #e2e8f0;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.btn-status-next:hover {
    background: #cbd5e0;
}

/* UI SOLID REFINEMENTS */
.modal,
.minimalist-form,
.modal-content {
    background: #ffffff !important;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4) !important;
}

.cart-bar {
    background: #ffffff !important;
    color: #000 !important;
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 15px 45px rgba(0, 77, 64, 0.25) !important;
    transition: all 0.3s ease;
}

.cart-bar:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 77, 64, 0.3) !important;
}

.btn-checkout {
    background: #27ae60 !important;
    color: white !important;
    font-weight: bold;
    padding: 10px 25px !important;
    border-radius: 50px;
}

/* Catalog Header & Button Fix */
#view-catalog .section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

#btn-show-product-modal {
    display: inline-flex !important;
    background: #27ae60 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

/* --- POS REDESIGN: FIXED SIDEBAR & PREMIUM TICKET --- */
.pos-layout {
    display: flex;
    gap: 0;
    height: calc(100vh - 120px);
    overflow: hidden;
    background: #f4f6f8;
}

@media (max-width: 768px) {
    .pos-layout {
        flex-direction: column;
        height: auto;
        overflow-y: visible;
    }

    .pos-nav {
        width: 100% !important;
        height: auto !important;
        border-right: none !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .pos-main {
        width: 100% !important;
    }

    .pos-sidebar {
        width: 100% !important;
        position: fixed;
        bottom: 0;
        left: 0;
        height: 85vh;
        z-index: 2500;
        transform: translateY(105%);
        transition: transform 0.4s ease;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2) !important;
    }

    .pos-sidebar.active {
        transform: translateY(0);
    }
}

.pos-nav {
    width: 220px;
    background: #fff;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 12px;
}

.pos-nav-scroll {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
}

/* Discrete Cloud Alert */
.pos-external-box {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: white;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(13, 71, 161, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pos-external-box:hover {
    transform: scale(1.02);
}

.pos-external-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    opacity: 0.9;
}

.pos-external-badge {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pos-cat-item {
    padding: 18px 15px;
    background: #f8f9fa;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    color: #444;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.pos-cat-item:hover {
    background: #fff;
    border-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.05);
}

.pos-cat-item.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.pos-main {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: #f4f6f8;
}

/* Rediseño Matriz POS Caja: Una categoría por renglón con Grid Interno */
#view-staff-pos #staff-pos-grid {
    display: block !important;
    /* Cada categoría ocupa un renglón completo */
}

#view-staff-pos .staff-pos-section {
    width: 100%;
    margin-bottom: 30px;
}

#view-staff-pos .staff-pos-section .food-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    /* 3 columnas en escritorio */
    gap: 20px !important;
    overflow-x: visible !important;
    padding: 10px 0 !important;
}

@media (max-width: 1024px) {
    #view-staff-pos .staff-pos-section .food-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 columnas en tablet/móvil */
    }
}

@media (max-width: 600px) {
    #view-staff-pos .staff-pos-section .food-grid {
        gap: 10px !important;
    }
}

.pos-sidebar {
    width: 400px;
    background: #fff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 1px solid #eee;
    z-index: 10;
}

/* The Ticket Itself - Modern Thermal Style */
.ticket {
    background: #fff;
    padding: 10px;
    /* Further reduction */
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Courier New', Courier, monospace;
    position: relative;
    color: #333;
    border: 1px dashed #ccc;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.02);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #eee;
    padding-bottom: 8px;
    margin-bottom: 8px;
    gap: 10px;
}

.ticket-header-logo {
    flex-shrink: 0;
}

.ticket-header-info {
    text-align: right;
    flex: 1;
}

.ticket-header h3 {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
}

.ticket-header p {
    margin: 2px 0 0 0;
    font-size: 0.75rem;
    color: #666;
}

.ticket-body {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 5px;
    /* Further reduction */
    padding-right: 5px;
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    /* Further reduction from 0.85rem */
    margin-bottom: 5px;
    /* Further reduction */
    padding-bottom: 3px;
    border-bottom: 1px dotted #ddd;
    color: #222;
}

.ticket-item-name {
    flex: 1;
    white-space: normal;
    font-weight: bold;
}

.ticket-row {
    display: flex;
    justify-content: flex-end;
    /* Justificar a la derecha */
    gap: 15px;
    /* Espacio entre etiqueta y valor */
    margin-bottom: 3px;
    font-size: 0.75rem;
    color: #666;
    border: none !important;
    /* Quitar lÃ­neas */
}

.ticket-row.total {
    font-size: 1.3rem;
    /* Further reduction from 1.5rem */
    color: #c0392b;
    margin-top: 10px;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
}

.ticket-payment {
    background: #f8f9fa;
    padding: 8px;
    /* Further reduction */
    border-radius: 12px;
    font-family: 'Roboto', sans-serif;
    border: 1px solid #eee;
}

.ticket-actions {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-ticket-confirm {
    background: #c0392b;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-ticket-confirm:hover {
    background: #a93226;
    transform: translateY(-1px);
}

/* Payment Method Buttons */
.pay-method-grid {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.pay-btn {
    flex: 1;
    padding: 8px 4px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: bold;
    color: #666;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 50px;
}

.pay-btn i {
    font-size: 1rem;
}

/* Efectivo - Green */
.pay-btn[data-value="Efectivo"].active {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

/* Terminal - Blue */
.pay-btn[data-value="Terminal"].active {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}

/* Transferencia - Indigo */
.pay-btn[data-value="Transferencia"].active {
    background: #e8eaf6;
    border-color: #3f51b5;
    color: #283593;
}

.pay-btn:not(.active):hover {
    background: #f0f0f0;
}

.btn-ticket-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
}

.ticket-last-sale {
    margin-top: 15px;
    padding: 10px;
    background: #fff8e1;
    border-radius: 8px;
    text-align: center;
    font-size: 0.7rem;
    color: #c0392b;
    font-weight: bold;
}

.ticket-last-sale span {
    display: block;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Express Ticket Modal (Thermal Look) */
.ticket-container-express {
    background: #fff;
    padding: 30px;
    border: 1px dashed #ccc;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.02);
    position: relative;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.ticket-container-express h3 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    color: #000;
}

.ticket-item-express {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #ddd;
}

/* Social Mini Ticker/Links */
.social-mini {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 20px;
}

.social-mini a {
    color: #78909c;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-mini a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.social-mini a.social-fb {
    color: #1877F2 !important;
}

.social-mini a.social-ig {
    color: #E4405F !important;
}

.social-mini a.social-tk {
    color: #ffffff !important;
    text-shadow: 1px 1px #ff0050, -1px -1px #00f2ea;
}

/* --- REPORTS DASHBOARD --- */
.report-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
}

.summary-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.summary-card .value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
}

.report-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.report-table th {
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #888;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.report-table td {
    padding: 15px;
    background: white;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.report-table tr td:first-child {
    border-left: 1px solid #f0f0f0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.report-table tr td:last-child {
    border-right: 1px solid #f0f0f0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.filter-btn-sub {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.filter-btn-sub:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.filter-btn-sub.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.method-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.method-tag-efectivo {
    background: #e8f5e9;
    color: #2e7d32;
}

.method-tag-transferencia {
    background: #e3f2fd;
    color: #1565c0;
}

.method-tag-terminal {
    background: #fff3e0;
    color: #ef6c00;
}

.method-tag-tarjeta {
    background: #fff3e0;
    color: #ef6c00;
}

/* --- MOBILE POS ADAPTATION (v4.8.8) --- */
@media (max-width: 900px) {
    .pos-layout {
        flex-direction: column;
        height: calc(100vh - 80px);
        /* Adjust for header if needed */
        position: relative;
    }

    /* Category Menu Toggle */
    .staff-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        color: #475569;
        font-size: 1.2rem;
        cursor: pointer;
        margin-right: 15px;
        transition: all 0.2s;
    }

    .staff-nav-toggle:active {
        transform: scale(0.9);
        background: #e2e8f0;
    }

    #view-staff-pos .section-header {
        display: flex;
        align-items: center;
        padding: 5px 15px;
    }

    /* Category Drawer */
    .pos-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80% !important;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 4000;
        box-shadow: 15px 0 30px rgba(0, 0, 0, 0.1);
        padding: 60px 20px 20px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important;
        flex-direction: column;
        overflow-y: auto;
    }

    .pos-nav.mobile-active {
        left: 0;
    }

    .pos-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 3999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .pos-nav-overlay.active {
        display: block;
        opacity: 1;
    }

    .close-nav-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 2rem;
        background: none;
        border: none;
        color: #64748b;
        cursor: pointer;
    }

    /* Compact Alerts Stacking */
    #pos-alerts-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        margin-bottom: 25px !important;
    }

    .pos-external-box {
        padding: 8px 12px !important;
        border-radius: 12px !important;
    }

    .pos-external-header span {
        font-size: 0.75rem !important;
        font-weight: 700 !important;
    }

    /* Product Grid: 1 Column for BOTH Staff and Express */
    .food-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        overflow-x: visible !important;
        gap: 12px !important;
        padding: 10px !important;
    }

    .food-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        height: auto !important;
        width: 100% !important;
        flex: none !important;
        padding: 12px !important;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .food-img-container {
        width: 90px !important;
        height: 90px !important;
        border-radius: 12px !important;
        overflow: hidden;
        flex-shrink: 0;
    }

    .food-info {
        padding: 0 0 0 15px !important;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .food-title-row h3 {
        font-size: 0.95rem !important;
        margin-bottom: 5px !important;
    }

    .food-actions {
        margin-top: 8px !important;
        justify-content: space-between !important;
        width: fit-content !important;
        min-width: 120px !important;
        padding: 0 5px !important;
    }

    .food-actions button {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
    }

    .food-qty {
        font-size: 1.1rem !important;
        padding: 0 15px !important;
    }

    /* PERSISTENT BOTTOM BAR FOR CAJA */
    .pos-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100% !important;
        height: 85vh;
        z-index: 3500;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 25px 25px 0 0 !important;
        box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.2) !important;
    }

    .pos-sidebar.mobile-active {
        transform: translateY(0);
    }

    /* Checkout & Payment Adjustments */
    .pay-method-grid {
        gap: 8px !important;
    }

    .pay-btn {
        min-height: 55px !important;
        border-radius: 12px !important;
    }

    .btn-ticket-confirm {
        min-height: 55px !important;
        font-size: 1.1rem !important;
        border-radius: 14px !important;
    }

    /* Ensure mobile tickets trigger is styled correctly for Caja too */
    .mobile-ticket-trigger {
        display: flex !important;
        z-index: 2800 !important;
        /* Above grid, below sidebar */
    }
}

.staff-nav-toggle {
    display: none;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(255, 77, 0, 0.8);
    }

    100% {
        transform: scale(1);
    }
}

.cart-pulse {
    animation: cartPulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-ticket-trigger {
    display: none;
}

/* --- REPORT TABS REFINEMENT --- */
.report-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 5px;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.report-tabs::-webkit-scrollbar {
    display: none;
}

.report-tab-btn {
    padding: 12px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.report-tab-btn i {
    font-size: 1rem;
    color: #a0aec0;
}

.report-tab-btn:hover {
    border-color: var(--accent-color);
    background: #fffdf5;
    transform: translateY(-2px);
}

.report-tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 15px rgba(0, 77, 64, 0.2);
}

.report-tab-btn.active i {
    color: white;
}

/* --- DASHBOARD & MODE SELECTOR --- */
.report-mode-selector {
    display: flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    gap: 6px;
    margin-bottom: 25px;
    width: fit-content;
}

.btn-tab {
    padding: 10px 20px;
    border: none;
    background: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-tab.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Widgets */
.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.widget-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.widget-card:hover {
    transform: translateY(-3px);
}

.widget-card h3 {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-card .value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.widget-card .trend {
    font-size: 0.8rem;
    font-weight: 600;
}

.trend.up {
    color: #10b981;
}

.trend.down {
    color: #ef4444;
}

/* Chart Grid */
.chart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.chart-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 44px 6px -1px rgba(0, 0, 0, 0.05);
}

.chart-card h3 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

@media (max-width: 900px) {
    .chart-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .dashboard-widgets {
        grid-template-columns: 1fr;
    }
}

/* --- PRINT SYSTEM (THERMAL TICKETS) --- */
@media print {
    body * {
        visibility: hidden;
    }

    #print-iframe,
    .ticket-print-area,
    .ticket-print-area * {
        visibility: visible;
    }

    .ticket-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
        margin: 0;
        padding: 5px;
        background: #fff;
        color: #000;
        font-family: 'Courier New', Courier, monospace;
        font-size: 12px;
    }

    .no-print,
    #main-header,
    #nav-menu,
    .status-bar {
        display: none !important;
    }

    @page {
        margin: 0;
        size: 80mm auto;
    }
}

.ticket-print-area {
    display: none;
}

.ticket-header {
    text-align: center;
    margin-bottom: 10px;
}

.ticket-footer {
    text-align: center;
    margin-top: 10px;
    font-size: 10px;
    border-top: 1px dashed #000;
    padding-top: 5px;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding: 2px 0;
}

.ticket-total {
    font-size: 16px;
    font-weight: 800;
    text-align: right;
    margin-top: 10px;
}

/* --- FOOTER STYLES --- */
/* Footer */
.main-footer {
    display: block !important;
    background: #0F0F0F;
    color: white;
    padding: 20px 5%;
    margin-top: 50px;
    position: relative;
    z-index: 10;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
}

.footer-links-sub {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.footer-links-sub .btn-link {
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    padding: 5px 10px;
    position: relative;

    /* Chrome/Metallic Liquid Fix */
    background-size: 100% 200%;
    background-position: 50% 100%;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;

    /* Relieve y Brillo Reflectivo */
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.footer-links-sub .btn-link:hover {
    transform: scale(1.15) translateY(-5px);
    filter: brightness(1.5) drop-shadow(0 5px 15px rgba(255, 255, 255, 0.4));
    background-position: 50% 0%;
}

/* Rainbow Chrome Palettes (High Contrast) */
.footer-links-sub .btn-link:nth-child(1) {
    /* Ubicación - Azul Cromo Líquido */
    background-image: linear-gradient(to bottom, #00d2ff 0%, #ffffff 50%, #00d2ff 100%) !important;
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.5));
}

.footer-links-sub .btn-link:nth-child(2) {
    /* Opiniones - Rojo Cromo Líquido */
    background-image: linear-gradient(to bottom, #ff0000 0%, #ffffff 50%, #ff0000 100%) !important;
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
}

.footer-links-sub .btn-link:nth-child(3) {
    /* Pilares - Verde Cromo Líquido */
    background-image: linear-gradient(to bottom, #00ff88 0%, #ffffff 50%, #00ff88 100%) !important;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

.footer-links-sub .btn-link:nth-child(4) {
    /* Nosotros - Oro Cromo Líquido */
    background-image: linear-gradient(to bottom, #ffcc00 0%, #ffffff 50%, #ffcc00 100%) !important;
    filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.5));
}

.footer-links-sub .btn-link:nth-child(5) {
    /* Políticas - Magenta Cromo Líquido */
    background-image: linear-gradient(to bottom, #ff00ff 0%, #ffffff 50%, #ff00ff 100%) !important;
    filter: drop-shadow(0 0 5px rgba(255, 0, 255, 0.5));
}

.footer-links-sub .btn-link:nth-child(6) {
    /* Contáctanos - Botón CTA Neón Legible */
    background: linear-gradient(135deg, #00d2ff, #3a7bd5) !important;
    -webkit-background-clip: padding-box !important;
    background-clip: padding-box !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4) !important;
    text-shadow: none !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

.social-mini {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-mini a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-mini a:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-mini a.social-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-mini a.social-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-mini a.social-tk:hover {
    background: #000;
    border-color: #000;
}

.footer-bottom {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

/* --- EXPORT BUTTONS --- */
.export-actions {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: 8px;
}

.btn-small.btn-export-pdf {
    background: #ff5252 !important;
    color: white !important;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.btn-small.btn-export-vts {
    background: #4caf50 !important;
    color: white !important;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.btn-small.btn-export-pdf:hover,
.btn-small.btn-export-vts:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- SEO MATRIX (ESTANDAR-BODY) --- */
.specialized-solutions {
    animation: fadeInUp 1s ease-out;
}

.solutions-grid {
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.solution-cluster {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.solution-cluster:hover {
    transform: translateY(-8px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.solution-cluster h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.solution-cluster h4 i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.solution-cluster ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-cluster li {
    font-size: 0.9rem;
    color: #555;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-cluster li::before {
    content: 'â†’';
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0.6;
}

.solution-cluster li:last-child {
    border-bottom: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- ORBIT HUB (BUBBLE SYSTEM) --- */
.orbit-bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.orbit-bubble:hover {
    transform: scale(1.15) !important;
    z-index: 100 !important;
    border-color: #00e676;
    box-shadow: 0 0 50px rgba(0, 230, 118, 0.4);
}

.bubble-content {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}

.orbit-bubble:hover .bubble-content {
    opacity: 1;
}

.bubble-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.5));
    margin-bottom: 10px;
}

.bubble-title {
    color: #fff;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 5px;
}

.bubble-id {
    color: #00e676;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
}

@keyframes orbit-float {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    33% {
        transform: translateY(-20px) translateX(15px) scale(1.02);
    }

    66% {
        transform: translateY(15px) translateX(-10px) scale(0.98);
    }
}

.bubble-floating {
    animation: orbit-float 8s infinite ease-in-out;
}

/* Botón de Atención y Soporte - Reposicionado */
.btn-support {
    background: #0084ff;
    color: white;
    padding: 10px 20px;
    /* Reducido 15% */
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    /* Reducido 15% */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
    /* Posicionamiento Absoluto Superior Derecho */
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    margin-top: 0 !important;
}

.btn-support:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.5);
    background: #0073e6;
}

#hero-banner-main {
    position: relative;
}

#hero-actions-container {
    position: static;
}


/* AJUSTE FINAL: Reducción adicional del 15% al botón (Total ~30%) */
.btn-support {
    padding: 8px 16px !important;
    /* Reducido de 10px 20px */
    font-size: 0.8rem !important;
    /* Reducido de 0.9rem */
    border-radius: 30px !important;
}



/* --- SEO MATRIX LAYOUT (v4.7.0) --- */
#seo-matrix-section .seo-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
}

@media (max-width: 1024px) {
    #seo-matrix-section .seo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    #seo-matrix-section .seo-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- CATALOG MODERN GRID (v4.6.9) --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.product-card .product-img {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
}

.product-card .product-img img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-card .ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    z-index: 5;
    text-transform: uppercase;
}

.product-card .ribbon.oferta {
    background: #e91e63;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
}

.product-card .product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-title {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card .product-stock {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.product-card .product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: auto;
}

.product-card .actions-cell {
    margin-top: 15px;
    display: flex;
    gap: 8px;
}

.btn-warning {
    background: #ffc107;
    color: #000 !important;
    border: none;
    border-radius: 12px;
}

.btn-pos {
    border-radius: 12px;
    padding: 8px 15px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-warning:hover {
    background: #ffb300;
}

@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card .actions-cell .btn-small {
        height: 40px;
        font-size: 0.9rem;
    }
}

/* --- STAFF POS REFINEMENTS (v4.8.0) --- */
.stock-badge {
    padding: 2px 8px;
    border-radius: 50px;
    color: white !important;
    font-size: 0.65rem;
    font-weight: bold;
    display: inline-block;
    width: fit-content;
    margin-top: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stock-badge.stock-low {
    background: #e74c3c !important;
}

.stock-badge.stock-ok {
    background: #27ae60 !important;
}

.promo-ribbon {
    position: absolute;
    top: 10px;
    left: -5px;
    background: #f39c12;
    color: white;
    padding: 2px 10px;
    font-size: 0.6rem;
    font-weight: bold;
    z-index: 2;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* --- MOBILE STAFF POS OPTIMIZATIONS (v4.8.0) --- */
@media (max-width: 768px) {
    #view-staff-pos .food-info {
        padding: 5px !important;
    }

    #view-staff-pos .food-title-row {
        gap: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
    }

    #view-staff-pos .food-info h3 {
        font-size: 0.75rem !important;
        height: 2.2em !important;
        margin-bottom: 2px !important;
    }

    #view-staff-pos .food-actions {
        height: 28px !important;
        margin-top: 5px;
        border-radius: 8px !important;
    }

    #view-staff-pos .food-actions button {
        width: 28px !important;
    }

    #view-staff-pos .food-qty {
        font-size: 0.8rem !important;
    }

    #view-staff-pos .price {
        font-size: 0.85rem !important;
        font-weight: 900 !important;
    }

    /* Prioridad al Ticket de Venta */
    #mobile-ticket-trigger {
        display: flex !important;
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        left: 20px !important;
        width: auto !important;
        z-index: 2800 !important;
        background: linear-gradient(135deg, var(--primary-color), #00796b) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 10px 30px rgba(0, 77, 64, 0.4) !important;
        padding: 12px 25px !important;
        border-radius: 100px !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
        font-size: 0.95rem !important;
        animation: quickPulse 2s infinite !important;
        backdrop-filter: blur(5px);
    }

    @keyframes quickPulse {
        0% {
            transform: scale(1);
            box-shadow: 0 10px 30px rgba(0, 77, 64, 0.4);
        }

        50% {
            transform: scale(1.02);
            box-shadow: 0 15px 45px rgba(0, 77, 64, 0.6);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 10px 30px rgba(0, 77, 64, 0.4);
        }
    }

    #pos-ticket-sidebar {
        z-index: 4000 !important;
    }
}

/* --- SEO MATRIX PREMIUM STYLES (v5.9.3) --- */
.seo-card-premium i {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.seo-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    background: transparent !important;
    border: none;
    box-shadow: none !important;
}

.seo-action-icon i {
    font-size: 1.25rem;
    /* Ajustado para alinear con el H4 */
    color: inherit;
    /* Recibe el color inyectado por JS */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    /* Sombra para que no se pierdan sobre imágenes claras */
}

.seo-action-icon:hover {
    transform: scale(1.2);
    background: transparent;
    box-shadow: none;
}

.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
}

.seo-tag {
    background: rgba(0, 77, 64, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 77, 64, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.seo-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.seo-card-premium {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.seo-card-inner {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- PERSONAL BRAND STYLES (v5.7.6) --- */
.personal-brand-logo {
    border-radius: 50% !important;
    border: 3px solid var(--primary-color) !important;
    object-fit: cover !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.personal-brand-header {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}