/* === RESET Y BASE === */
* { box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; }

/* === SCROLL PERSONALIZADO === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #01a8a0; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #01a8a0; }

/* === SPLASH DECORATIVO (Estilo de las imágenes de referencia) === */
.splash-bg {
    position: relative;
    overflow: hidden;
}
.splash-bg::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #735d2;
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.15;
    top: -50px;
    right: -80px;
    animation: float 6s ease-in-out infinite;
}
.splash-bg::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: #fff093;
    border-radius: 40% 60% 30% 70% / 50% 40% 60% 50%;
    opacity: 0.1;
    bottom: -30px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

/* === HERO SLIDER === */
.hero-slider { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.hero-slide { min-width: 100%; position: relative; }

/* === TICKER ALIANZAS === */
.ticker-wrapper { overflow: hidden; white-space: nowrap; }
.ticker-content { display: inline-flex; animation: ticker 20s linear infinite; }
.ticker-content:hover { animation-play-state: paused; }

/* === EFECTO GLASSMORPHISM === */
.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* === PRODUCT CARD HOVER === */
.product-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(1, 168, 159, 0.15);
}
.product-card:hover .product-img {
    transform: scale(1.08);
}
.product-img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === CATEGORY CARD === */
.category-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #01a8a0, #735d2);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.category-card:hover::after { opacity: 1; }
.category-card:hover { transform: translateY(-5px) scale(1.02); }
.category-card .category-overlay { position: relative; z-index: 10; }

/* === BOTÓN ANIMADO === */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-animated:hover::before { left: 100%; }
.btn-animated:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); }

/* === MODAL CARRITO === */
.cart-overlay {
    transition: opacity 0.3s ease;
}
.cart-panel {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === QUANTITY INPUT === */
.qty-btn {
    transition: all 0.2s ease;
}
.qty-btn:hover {
    transform: scale(1.1);
}
.qty-btn:active {
    transform: scale(0.95);
}

/* === BADGE ANIMADA === */
.cart-badge {
    animation: bounceGentle 2s ease-in-out infinite;
}

/* === DETALLE PRODUCTO - GALERÍA === */
.gallery-thumb {
    transition: all 0.3s ease;
    cursor: pointer;
}
.gallery-thumb:hover, .gallery-thumb.active {
    border-color: #01a8a0;
    transform: scale(1.05);
}

/* === SPLASH PINK DECOR (similar a las imágenes) === */
.pink-splash {
    position: absolute;
    background: #735d2;
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.3;
    z-index: 0;
}

/* === SPARKLE EFFECT === */
.sparkle::before,
.sparkle::after {
    content: '✦';
    position: absolute;
    color: #fff093;
    font-size: 1.2rem;
    animation: bounceGentle 1.5s ease-in-out infinite;
}
.sparkle::before { top: -5px; left: -15px; animation-delay: 0.2s; }
.sparkle::after { bottom: -5px; right: -15px; animation-delay: 0.5s; }

/* === NAVIGATION LINK === */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #01a8a0, #735d2);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* === DECORATIVE DOTS === */
.dot-pattern {
    background-image: radial-gradient(circle, #735d2 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
}