/* =========================================
   ESTRUCTURA BLINDADA - UNIVERSOS FAN-ART
   ========================================= */
.mandy3d-universos-wrapper {
    width: 100% !important;
    background: #ffffff !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    display: block !important;
}

/* --- HERO SECTION CINEMATOGRÁFICO --- */
.mandy3d-universos-hero {
    padding: 160px 20px 80px 20px !important;
    /* Azul Noche muy oscuro para un vibe "épico" */
    background: linear-gradient(135deg, #0B1120 0%, #1E293B 100%) !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
}

.hero-inner {
    max-width: 900px !important;
    margin: 0 auto !important;
    display: block !important;
}

.badge-universos {
    display: inline-block !important;
    background: rgba(0, 225, 255, 0.15) !important; /* Resplandor Cian */
    color: #00E1FF !important;
    padding: 8px 22px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    margin-bottom: 30px !important;
    letter-spacing: 1px !important;
}

.mandy3d-universos-hero h1 {
    font-size: clamp(3rem, 6vw, 4.8rem) !important;
    font-weight: 900 !important;
    margin-bottom: 25px !important;
    line-height: 1.1 !important;
    letter-spacing: -2px !important;
    /* Degradado Épico: Cian Neón a Naranja Mandy3D */
    background: linear-gradient(135deg, #00E1FF 0%, #FF5722 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0px 10px 30px rgba(0, 225, 255, 0.2) !important;
    display: block !important;
}

.mandy3d-universos-hero p {
    font-size: 1.3rem !important;
    color: #94A3B8 !important;
    line-height: 1.6 !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    font-weight: 500 !important;
    display: block !important;
}

/* --- TARJETAS DE NAVEGACIÓN (Flexbox Estricto) --- */
.mandy3d-universos-nav-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 30px !important;
    max-width: 1300px !important;
    margin: 60px auto 80px auto !important; 
    padding: 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
}

.universos-card {
    flex: 1 1 0 !important; 
    position: relative !important;
    min-height: 450px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: #0B1120 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 40px !important;
    text-decoration: none !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.universos-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 30px 60px rgba(0, 225, 255, 0.2) !important;
}

.universos-card-overlay {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.4) 50%, rgba(11, 17, 32, 0) 100%) !important;
    z-index: 1 !important;
    transition: background 0.4s ease !important;
}

.universos-card:hover .universos-card-overlay {
    background: linear-gradient(to top, rgba(11, 17, 32, 0.95) 0%, rgba(255, 87, 34, 0.5) 100%) !important;
}

.universos-card-content {
    position: relative !important;
    z-index: 2 !important;
    text-align: left !important;
}

.universos-card-content h2 {
    color: #ffffff !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
}

.universos-card-content p {
    color: #cbd5e1 !important;
    font-size: 1.1rem !important;
    margin: 0 0 25px 0 !important;
}

.universos-btn {
    display: inline-block !important;
    background: #00E1FF !important; /* Botón Cian */
    color: #0B1120 !important; /* Texto oscuro para contraste */
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    transition: all 0.3s ease !important;
}

.universos-card:hover .universos-btn {
    background: #FF5722 !important; /* Naranja al hover */
    color: #ffffff !important;
}

/* --- SECCIONES DE PRODUCTOS --- */
.universos-products-wrapper {
    padding: 80px 20px !important;
    width: 100% !important;
    display: block !important;
}

.universos-products-wrapper.bg-cinematic {
    background-color: #F8FAFC !important; /* Fondo suave para que los productos destaquen */
}

.universos-section-inner {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: block !important;
}

.universos-section-header {
    text-align: center !important;
    margin-bottom: 50px !important;
    display: block !important;
}

.universos-section-header h2 {
    font-size: 2.5rem !important;
    color: #0F172A !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}

.universos-section-header p {
    color: #475569 !important;
    font-size: 1.2rem !important;
}

/* --- CUADRÍCULA DE WOOCOMMERCE --- */
.universos-woo-grid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: block !important;
}

.universos-woo-grid .woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    margin: 0 !important;
}

.universos-woo-grid .woocommerce ul.products li.product {
    flex: 1 1 280px !important; 
    max-width: 320px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 20px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
    text-align: center !important;
}

.universos-woo-grid .woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
    border-color: #00E1FF !important; /* Borde cian al hover */
    box-shadow: 0 15px 30px rgba(0, 225, 255, 0.15) !important;
}

.universos-woo-grid .woocommerce ul.products li.product img {
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    aspect-ratio: 1/1 !important;
    object-fit: contain !important;
    width: 100% !important;
    background: #fff !important;
    padding: 10px !important;
}

.universos-woo-grid .woocommerce ul.products li.product h2,
.universos-woo-grid .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.15rem !important;
    color: #0F172A !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.universos-woo-grid .woocommerce ul.products li.product .price {
    color: #FF5722 !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
}

.universos-woo-grid .woocommerce ul.products li.product .button {
    margin-top: auto !important; 
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border-radius: 50px !important;
    padding: 12px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.universos-woo-grid .woocommerce ul.products li.product .button:hover {
    background: #00E1FF !important;
    color: #0B1120 !important;
    border-color: #00E1FF !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .mandy3d-universos-hero { padding: 140px 20px 60px 20px !important; }
    .mandy3d-universos-nav-grid { flex-direction: column !important; }
    .universos-card { min-height: 350px !important; width: 100% !important; }
}