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

.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Ticker de Beneficios Infinito (Marquee) */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.mask-gradient {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Custom UI Micro-animations */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-hover {
    transition: all 0.3s ease;
}

.cta-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(20, 143, 155, 0.4), 0 8px 10px -6px rgba(20, 143, 155, 0.1);
    /* brand-600 shadow */
}

.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@keyframes shake-periodic {
    0%,
    90% {
        transform: translate3d(0, 0, 0);
    }

    91%,
    99% {
        transform: translate3d(-2px, 0, 0);
    }

    92%,
    98% {
        transform: translate3d(3px, 0, 0);
    }

    93%,
    95%,
    97% {
        transform: translate3d(-5px, 0, 0);
    }

    94%,
    96% {
        transform: translate3d(5px, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.animate-shake-periodic {
    animation: shake-periodic 8s cubic-bezier(.36, .07, .19, .97) both infinite;
}

/* ======= MENÚ DE ESCRITORIO - Premium Nav Links ======= */
.nav-link-custom {
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

/* Gradient underline indicator */
.nav-link-custom::after {
    content: '';
    position: absolute;
    width: calc(100% - 1.75rem);
    transform: scaleX(0);
    height: 2px;
    bottom: 2px;
    left: 0.875rem;
    background: linear-gradient(to right, #148F9B, #42C8B9);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link-custom:hover::after {
    transform: scaleX(1);
}

/* Click feedback */
.nav-link-custom:active {
    transform: scale(0.95);
}

/* Focus-visible for A11y */
.nav-link-custom:focus-visible {
    outline: 2px solid #42C8B9;
    outline-offset: 2px;
    border-radius: 0.75rem;
}

/* --- Active page: Desktop --- */
.nav-link-custom.nav-link-active {
    color: #148F9B !important;
    background-color: rgba(186, 226, 235, 0.35);
    border-radius: 0.75rem;
}

.nav-link-custom.nav-link-active::after {
    transform: scaleX(1) !important;
    background: linear-gradient(to right, #148F9B, #42C8B9);
}


/* ======= MENÚ MÓVIL - Premium Side Panel ======= */
.mobile-link {
    position: relative;
    transform: translateX(16px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s ease,
                background-color 0.3s ease;
}

/* Stagger animation: links slide in when menu opens */
#mobile-menu:not(.hidden):not(.opacity-0) .mobile-link {
    transform: translateX(0);
    opacity: 1;
}

#mobile-menu:not(.hidden):not(.opacity-0) .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu:not(.hidden):not(.opacity-0) .mobile-link:nth-child(2) { transition-delay: 0.08s; }
#mobile-menu:not(.hidden):not(.opacity-0) .mobile-link:nth-child(3) { transition-delay: 0.11s; }
#mobile-menu:not(.hidden):not(.opacity-0) .mobile-link:nth-child(4) { transition-delay: 0.14s; }
#mobile-menu:not(.hidden):not(.opacity-0) .mobile-link:nth-child(5) { transition-delay: 0.17s; }
#mobile-menu:not(.hidden):not(.opacity-0) .mobile-link:nth-child(6) { transition-delay: 0.20s; }
#mobile-menu:not(.hidden):not(.opacity-0) .mobile-link:nth-child(7) { transition-delay: 0.23s; }

/* Active state: Mobile */
.mobile-link.mobile-link-active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #42C8B9 !important;
    border-radius: 0.75rem;
}

.mobile-link.mobile-link-active i {
    color: #42C8B9 !important;
}

/* Focus-visible for A11y (mobile) */
.mobile-link:focus-visible {
    outline: 2px solid #42C8B9;
    outline-offset: -2px;
    border-radius: 0.75rem;
}

/* ======= AOS Scroll Animations Smoothing ======= */
[data-aos] {
    transition-duration: 900ms !important;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important; /* Premium ease-out-cubic */
}

/* Ocultar botón de tienda en footer (si existiera en subpáginas) */
footer a[href*="ifuxion.com/janet10"] {
    display: none !important;
}
