:root {
    --premium-blue: #2563eb;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* 1. Contenedor Maestro con Scroll de Alta Gama */
#productos-nuevos-scroller {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--premium-blue) transparent;
}

/* Barra de scroll estilo Mac (invisible hasta que se usa) */
#productos-nuevos-scroller::-webkit-scrollbar { height: 5px; }
#productos-nuevos-scroller::-webkit-scrollbar-thumb {
    background: linear-gradient(to right, #60a5fa, var(--premium-blue));
    border-radius: 20px;
}

/* 2. La Tarjeta de Producto "Ultra" */
#productos-nuevos-scroller .col {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: center; /* Centrado magnético */
    perspective: 1000px; /* Prepara para efectos 3D */
}

.product-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px); /* Efecto cristalino */
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 24px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--card-shadow);
    position: relative;
}

/* Efecto de elevación y brillo al pasar el mouse */
.product-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--premium-blue) !important;
}

/* 3. Contenedor de Imagen con Zoom */
.product-item figure {
    overflow: hidden;
    margin: 0;
    background: #f8fafc;
    position: relative;
}

.product-item img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-item:hover img {
    transform: scale(1.1); /* Zoom suave al ver el producto */
}

/* 4. Etiqueta de "Nuevo" o "Tendencia" estilo Premium */
.product-item::before {
    content: "NUEVO";
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--premium-blue);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

/* 5. Tipografía y Botones */
.product-item h5 {
    font-weight: 700;
    color: #1e293b;
    margin: 15px 0 5px;
    padding: 0 15px;
}

.price-tag {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 15px;
    margin: 10px 15px 20px;
    display: inline-block;
    color: var(--premium-blue);
    font-weight: 800;
    font-size: 1.2rem;
}