/* --- CONFIGURACIÓN DE FUENTES Y BASE --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;400;700;800&display=swap');

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    transition: background 0.3s; 
}

/* --- SCROLLBARS (Ocultar y Personalizar) --- */
.no-scrollbar::-webkit-scrollbar { 
    display: none; 
}
.no-scrollbar { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.custom-scrollbar::-webkit-scrollbar { 
    width: 4px; 
}
.custom-scrollbar::-webkit-scrollbar-thumb { 
    background: #000; 
    border-radius: 10px; 
}

/* --- HISTORIAS (Efecto Instagram) --- */
.story-ring {
    padding: 3px;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #000 0%, #666 100%) border-box;
    border: 2px solid transparent;
}

/* --- EFECTOS DE PRODUCTO (Luxury Grayscale) --- */


@media (min-width: 1024px) {
    .product-card:hover .product-image {
        filter: grayscale(0%);
        transform: scale(1.05);
    }
}

/* --- CATEGORÍAS --- */
.category-pill.active {
    background-color: black;
    color: white;
    border-color: black;
}

/* --- ANIMACIONES --- */
@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}
.animate-fade { 
    animation: fadeIn 0.4s ease-out; 
}

@keyframes slideInNotify {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- BOTONES SLIDER (Detalle de Producto) --- */
.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.slider-btn:hover {
    transform: scale(1.1);
    background: white;
}

/* --- CARRITO SIDEBAR --- */
#cart-sidebar.open {
    visibility: visible;
    opacity: 1;
}
#cart-sidebar.open #cart-content {
    transform: translateX(0);
}

/* --- SISTEMA DE NOTIFICACIONES TOAST --- */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-toast {
    background: black;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: slideInNotify 0.4s ease-out forwards;
}

/* --- STORY PROGRESS BAR --- */
#story-progress {
    height: 100%;
    background-color: white;
    width: 0%;
    transition: all 0.1s linear;
}
.admin-nav-item {
    width: 100%;
    text-align: left;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 1rem 0;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.admin-nav-item:hover, .admin-nav-item.active {
    opacity: 1;
    padding-left: 0.5rem;
}

.admin-nav-item.active {
    color: #fff;
    border-left: 2px solid white;
    padding-left: 1rem;
}