body { 
    background-color: #f3f4f6;
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    -webkit-font-smoothing: antialiased;
}

.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }

.glass-backdrop { 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#grid-productos > div {
    animation: fadeInUp 0.4s ease-out forwards;
}

/* WhatsApp Isla */
#whatsapp-island {
    touch-action: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#whatsapp-island.dragging {
    transform: scale(1.1);
    transition: none;
}

#whatsapp-island.dropped {
    animation: bounceDrop 0.5s ease;
}

@keyframes bounceDrop {
    0% { transform: scale(1.1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Carrusel */
#hero-carousel:hover .carousel-pause {
    display: block; /* Pausa visual si pasas el mouse */
}

/* ==========================================
   FIX SCROLL Y TYPEWRITER
   ========================================== */
body {
    overflow-anchor: none;
}

#main-header, 
#logo-container, 
#menu-bar, 
#search-bar {
    transition: none !important;
}

#logo-img {
    transition: max-height 0.3s ease, transform 0.3s ease !important;
}

#typing-text {
    border-right: 4px solid #1f2937;
    animation: blink-caret 0.8s step-end infinite;
    white-space: pre;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #1f2937; }
}

/* Efecto de cursor parpadeante */
.typing-text {
    border-right: 3px solid #1f2937;
    animation: blink-caret 0.8s step-end infinite;
    white-space: pre;
}

/* En el menú gris, el cursor debe ser más sutil y de otro color */
#typing-text-mobile {
    border-right: 2px solid #9ca3af;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: inherit; }
}