/* ==========================================================================
   ISLAPARK POS - HOJA DE ESTILOS PERSONALIZADA & IMPRESIÓN DE TICKETS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    --park-green: #059669;
    --park-teal: #0d9488;
    --park-amber: #f59e0b;
    --park-orange: #ea580c;
    --park-coral: #f43f5e;
    --park-purple: #7c3aed;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-sans);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

h1, h2, h3, h4, .brand-title {
    font-family: var(--font-heading);
}

/* Scrollbars personalizados suaves */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
}
::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.3);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.5);
}

/* Efectos visuales de botones táctiles */
.touch-btn {
    transition: transform 0.1s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.touch-btn:active {
    transform: scale(0.96);
}

/* Tarjetas de Producto */
.product-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}
.product-card:active {
    transform: scale(0.97);
}

/* Animaciones */
@keyframes pulseSubtle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}
.pulse-subtle {
    animation: pulseSubtle 2s infinite ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Ticket de Boleta Térmica */
.thermal-receipt {
    width: 320px;
    background: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.4;
    color: #111827;
}

/* ESTILOS DE IMPRESIÓN (BOLETA TÉRMICA 58mm/80mm) */
@media print {
    body * {
        visibility: hidden;
    }
    #printable-receipt-modal,
    #printable-receipt-modal * {
        visibility: visible;
    }
    #printable-receipt-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: white !important;
        box-shadow: none !important;
    }
    .no-print {
        display: none !important;
    }
}
