/* ============================= */
/* 🔤 FUENTES */
/* ============================= */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Cinzel:wght@700&family=ZCOOL+KuaiLe&display=swap');

/* ============================= */
/* 🌑 FONDO GLOBAL */
/* ============================= */
body,
.site,
.content-area,
.ast-container,
.footer-adv .ast-container {
    background-color: #000000 !important;
}

/* ============================= */
/* 🦶 FOOTER */
/* ============================= */
.site-footer,
.ast-footer-bar,
.ast-footer-overlay,
.footer-adv,
.ast-footer-html {
    background-color: #000000 !important;
}

.site-footer * {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* ============================= */
/* 🔥 FIX GLOBAL ELEMENTOR */
/* ============================= */
.elementor-section {
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-section + .elementor-section {
    margin-top: 80px !important;
}

/* ============================= */
/* 🛒 PRODUCTOS */
/* ============================= */
ul.products li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

ul.products li.product .button {
    margin-top: auto;
}

/* ============================= */
/* 🎬 CATEGORÍAS */
/* ============================= */
.categorias-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.categorias-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 70vh;
}

.categorias-full .cat {
    position: relative;
    display: block;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
}

.categorias-full .contenido {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0,0,0,0.5);
    transition: 0.4s;
}

.categorias-full .cat:hover .contenido {
    background: rgba(0,0,0,0.2);
}

.categorias-full .cat:hover {
    transform: scale(1.05);
}

.categorias-full span {
    color: white;
    font-size: clamp(28px, 3vw, 48px);
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
}

/* ============================= */
/* 🎨 TIPOGRAFÍAS */
/* ============================= */
.anime span { font-family: 'ZCOOL KuaiLe', cursive; }
.juegos span { font-family: 'Orbitron', sans-serif; }
.cine span { font-family: 'Cinzel', serif; }

/* ============================= */
/* 🖼️ IMÁGENES */
/* ============================= */
.anime {
    background-image: url('https://ultrakami.blog/wp-content/uploads/2026/03/Collage-Gojo-0.jpg');
}
.juegos {
    background-image: url('https://ultrakami.blog/wp-content/uploads/2026/03/Minecraft-A.jpg');
}
.cine {
    background-image: url('https://ultrakami.blog/wp-content/uploads/2026/03/Freddie-Kruger-0.jpg');
}

/* ============================= */
/* 🔥 TÍTULO OFERTAS (UNIFICADO) */
/* ============================= */
.ofertas-title {
    color: white;
    font-size: 42px;
    margin: 40px 0;
    padding-left: 40px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    animation: glowCat 2s infinite alternate;
}

/* 🔥 MISMO FUEGO QUE CATEGORÍAS */
.ofertas-title::before {
    content: "🔥";
    margin-right: 12px;
}

/* ============================= */
/* 🎬 CARRUSEL AUTO PRO */
/* ============================= */
.carrusel-ofertas ul.products {
    display: flex !important;
    overflow: hidden;
    gap: 20px;
    padding: 20px 40px;
}

.carrusel-ofertas ul.products li.product {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    flex: 0 0 auto !important;
    transition: transform 0.3s;
}

.carrusel-ofertas ul.products.columns-1 li.product {
    width: 220px !important;
}

.carrusel-ofertas ul.products li.product:hover {
    transform: scale(1.08);
}

/* ============================= */
/* 📩 FORMULARIO */
/* ============================= */
.wpforms-container {
    max-width: 800px;
    margin: 0 auto;
}

.wpforms-container input,
.wpforms-container textarea {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
    border-radius: 8px;
    padding: 12px !important;
}

.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
    color: #aaaaaa !important;
}

.wpforms-container .wpforms-field-label {
    color: #ffffff !important;
}

.wpforms-container .wpforms-required-label {
    color: #ff0000 !important;
}

.wpforms-container button {
    background: #ff0000 !important;
    color: white !important;
    border-radius: 50px;
    padding: 12px 25px;
    border: none;
}

.wpforms-container button:hover {
    background: #cc0000 !important;
}

/* ============================= */
/* 🔥 TÍTULOS CATEGORÍAS */
/* ============================= */
.woocommerce-products-header__title {
    font-size: 42px !important;
    letter-spacing: 3px;
    margin: 40px 0 !important;
    padding-left: 40px;
    text-transform: uppercase;
    position: relative;
    color: white;
    animation: glowCat 2s infinite alternate;
}

/* 🔥 FUEGO GLOBAL */
.woocommerce-products-header__title::before {
    content: "🔥";
    margin-right: 12px;
}

/* Fuentes por categoría */
.term-anime .woocommerce-products-header__title {
    font-family: 'ZCOOL KuaiLe', cursive;
}

.term-videojuegos .woocommerce-products-header__title {
    font-family: 'Orbitron', sans-serif;
}

.term-cine-y-series .woocommerce-products-header__title {
    font-family: 'Cinzel', serif;
}

/* ============================= */
/* 🔥 ANIMACIÓN GLOBAL */
/* ============================= */
@keyframes glowCat {
    from { text-shadow: 0 0 5px #ff0000; }
    to { text-shadow: 0 0 20px #ff0000; }
}

/* ============================= */
/* 🚀 MENÚ PRO */
/* ============================= */

/* Texto del menú */
.main-header-menu a {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 1px;
    color: #cccccc !important;
    transition: 0.3s;
}

/* Hover */
.main-header-menu a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px #ff0000;
}

/* Activo */
.main-header-menu .current-menu-item a {
    color: #ffffff !important;
    text-shadow: 0 0 10px #ff0000;
}
/* ============================= */
/* 🎬 HOVER NETFLIX PRODUCTOS */
/* ============================= */

ul.products li.product {
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

/* Hover efecto */
ul.products li.product:hover {
    transform: scale(1.08);
    z-index: 10;
}

/* Sombra glow */
ul.products li.product:hover {
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
}

/* Imagen más cinematográfica */
ul.products li.product img {
    transition: 0.4s;
}

ul.products li.product:hover img {
    filter: brightness(1.1) contrast(1.1);
}
/* ============================= */
/* 🎬 HERO BANNER PRO */
/* ============================= */

.hero-banner {
    height: 80vh;
    background-image: url('https://ultrakami.blog/wp-content/uploads/2026/03/Collage-Gojo-0.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay oscuro */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
}

/* Título */
.hero-overlay h1 {
    font-size: 60px;
    color: white;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 20px red;
}

/* Texto */
.hero-overlay p {
    color: #ccc;
    font-size: 18px;
    margin: 20px 0;
}

/* ============================= */
/* 🔥 BOTÓN HERO PRO FIX */
/* ============================= */

.hero-btn {
    background: linear-gradient(45deg, #ff0000, #ff4d4d);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none !important; /* 🔥 quita subrayado */
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;

    display: inline-block; /* 🔥 clave */
    width: auto; /* 🔥 evita que ocupe todo */
    max-width: fit-content; /* 🔥 tamaño exacto */

    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255,0,0,0.6);
    transition: 0.3s;
}

/* Hover */
.hero-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255,0,0,0.9);
    text-decoration: none !important;
}

/* 🔥 EFECTO BRILLO */
.hero-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.hero-btn:hover::after {
    left: 120%;
}
/* ============================= */
/* 🎬 HERO DINÁMICO PRO */
/* ============================= */

.hero-banner {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

/* Slides */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease;
}

/* Activo */
.hero-slide.active {
    opacity: 1;
    transform: scale(1.05); /* 🔥 efecto zoom cine */
}

/* 🔥 TUS IMÁGENES */
.hero-slide:nth-child(1) {
    background-image: url('https://ultrakami.blog/wp-content/uploads/2026/03/Gaara-0.jpg');
}
.hero-slide:nth-child(2) {
    background-image: url('https://ultrakami.blog/wp-content/uploads/2026/03/Metal-Gear-0.jpg');
}
.hero-slide:nth-child(3) {
    background-image: url('https://ultrakami.blog/wp-content/uploads/2026/03/Mewtwo-0.jpg');
}
.hero-slide:nth-child(4) {
    background-image: url('https://ultrakami.blog/wp-content/uploads/2026/03/Minecraft-B.jpg');
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
    z-index: 2;
}

/* Texto */
.hero-overlay h1 {
    font-size: 60px;
    color: white;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 20px red;
}

.hero-overlay p {
    color: #ccc;
    font-size: 18px;
    margin: 20px 0;
}
/* ============================= */
/* 🔥 GRID FIJO PRODUCTOS PRO */
/* ============================= */

/* Contenedor de productos */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important; /* 5 por fila */
    gap: 25px;
}

/* Cada producto */
ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* 🔥 IMÁGENES MISMO TAMAÑO */
ul.products li.product img {
    width: 100%;
    height: 300px; /* 🔥 tamaño fijo */
    object-fit: cover; /* recorte elegante tipo Netflix */
    border-radius: 10px;
}

/* 🔥 TARJETA PRODUCTO */
ul.products li.product {
    background: #0a0a0a;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s;
}

/* Hover */
ul.products li.product:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,0,0,0.6);
}

/* 🔥 EVITA BUG DE COLUMNAS DE WOOCOMMERCE */
ul.products.columns-1,
ul.products.columns-2,
ul.products.columns-3,
ul.products.columns-4 {
    grid-template-columns: repeat(5, 1fr) !important;
}
ul.products li.product h2 {
    font-size: 14px;
    min-height: 40px;
}
.destacados-title {
    font-size: 42px;
    color: white;
    padding-left: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Orbitron', sans-serif;
    animation: glowCat 2s infinite alternate;
    position: relative;
}

.destacados-title::before {
    content: "🔥";
    margin-right: 12px;
}
.destacados-carrusel ul.products {
    display: flex;
    overflow: hidden;
    gap: 20px;
    animation: scrollProductos 25s linear infinite;
}

/* Pausa al pasar el ratón */
.destacados-carrusel:hover ul.products {
    animation-play-state: paused;
}

/* Cada producto */
.destacados-carrusel ul.products li.product {
    min-width: 220px;
    flex: 0 0 auto;
}

/* Animación */
@keyframes scrollProductos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* ============================= */
/* 🔥 FIX CARRUSEL INFINITO */
/* ============================= */

/* Contenedor */
.carrusel-infinito {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Track que se mueve */
.carrusel-track {
    display: flex;
    gap: 20px;
    animation: scrollInfinito 40s linear infinite;
}
.carrusel-infinito {
    overflow: hidden;
    width: 100%;
    max-width: 1200px; /* 🔥 limita ancho */
    margin: 0 auto; /* 🔥 centra */
}
.carrusel-infinito {
    padding: 0 40px;
}

/* Pausa al hover */
.carrusel-infinito:hover .carrusel-track {
    animation-play-state: paused;
}

/* 🔥 MUY IMPORTANTE: romper el grid SOLO aquí */
.carrusel-track ul.products {
    display: flex !important;
    grid-template-columns: unset !important;
    gap: 20px;
}

/* Productos */
.carrusel-track li.product {
    min-width: 220px;
    max-width: 220px;
    flex: 0 0 auto;
}

/* Animación infinita real */
@keyframes scrollInfinito {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* ============================= */
/* 🔥 FIX DEFINITIVO CARRUSEL */
/* ============================= */

/* Rompe el grid SOLO dentro del carrusel */
.carrusel-track ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    width: auto !important;
}

/* Cada producto */
.carrusel-track ul.products li.product {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    flex: 0 0 auto !important;
}

/* Evita que WooCommerce meta columnas raras */
.carrusel-track ul.products.columns-1,
.carrusel-track ul.products.columns-2,
.carrusel-track ul.products.columns-3,
.carrusel-track ul.products.columns-4,
.carrusel-track ul.products.columns-5 {
    display: flex !important;
}

/* Track */
.carrusel-track {
    display: flex;
    gap: 20px;
    animation: scrollInfinito 20s linear infinite;
}

/* Contenedor */
.carrusel-infinito {
    overflow: hidden;
    max-width: 1300px;
    margin: 0 auto;
}

/* Pausa */
.carrusel-infinito:hover .carrusel-track {
    animation-play-state: paused;
}
/* ============================= */
/* 🎬 NETFLIX PREMIUM */
/* ============================= */

.carrusel-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

/* Fade lados */
.carrusel-wrapper::before,
.carrusel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.carrusel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #000, transparent);
}

.carrusel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #000, transparent);
}

/* Botones */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    font-size: 40px;
    width: 50px;
    height: 80px;
    cursor: pointer;
    transition: 0.3s;
}

.carrusel-btn:hover {
    background: rgba(255,0,0,0.8);
}

.carrusel-btn.prev { left: 0; }
.carrusel-btn.next { right: 0; }

/* Scroll manual */
.carrusel-infinito {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

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

/* Track */
.carrusel-track {
    display: flex;
    gap: 20px;
}

/* Productos */
.carrusel-track ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.carrusel-track li.product {
    min-width: 220px;
    flex: 0 0 auto;
}
/* ============================= */
/* 🔥 OFERTAS CARRUSEL FIX */
/* ============================= */

/* Asegura mismo comportamiento que destacados */
.ofertas-carrusel .carrusel-track ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.ofertas-carrusel .carrusel-track li.product {
    min-width: 220px;
    max-width: 220px;
    flex: 0 0 auto;
}

/* Evita grid interno de Woo */
.ofertas-carrusel ul.products {
    grid-template-columns: none !important;
}
/* ============================= */
/* 🎬 HERO FULL WIDTH */
/* ============================= */

.hero-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.ofertas-carrusel {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.carrusel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
/* ============================= */
/* 🔥 DESTACADOS FULL WIDTH REAL */
/* ============================= */

/* 🔥 Romper contenedor Elementor SOLO en destacados */
.destacados-carrusel .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
}

/* ============================= */
/* 🔥 FIX REAL DESTACADOS FULL WIDTH */
/* ============================= */

.destacados-carrusel .carrusel-infinito {
    max-width: 100% !important;
    padding: 0 40px; /* margen visual bonito */
}
.destacados-carrusel .elementor-section,
.destacados-carrusel .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
}
/* ============================= */
/* 🔥 FIX FINAL DESTACADOS (REAL) */
/* ============================= */

/* Rompe TODOS los límites heredados */
.destacados-carrusel,
.destacados-carrusel * {
    max-width: none !important;
}

/* Forzar ancho completo */
.destacados-carrusel {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}

/* Contenedor interno SIN límites */
.destacados-carrusel .carrusel-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Track ocupa todo */
.destacados-carrusel .carrusel-infinito {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 40px;
}

/* Elementor fuera */
.destacados-carrusel .elementor-section,
.destacados-carrusel .elementor-container,
.destacados-carrusel .elementor-widget {
    width: 100% !important;
    max-width: 100% !important;
}
/* ============================= */
/* 🔥 PRODUCTOS DESTACADOS FULL WIDTH REAL */
/* ============================= */

/* Sección completa */
.destacados-carrusel {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Romper TODOS los contenedores */
.destacados-carrusel .elementor-container,
.destacados-carrusel .elementor-widget,
.destacados-carrusel .elementor-widget-container,
.destacados-carrusel .woocommerce,
.destacados-carrusel .carrusel-wrapper,
.destacados-carrusel .carrusel-infinito {
    width: 100% !important;
    max-width: 100% !important;
}

/* Wrapper principal */
.destacados-carrusel .carrusel-wrapper {
    padding: 0 40px !important;
    margin: 0 !important;
}

/* Carrusel */
.destacados-carrusel .carrusel-track {
    display: flex !important;
    width: max-content !important;
}

/* Productos */
.destacados-carrusel ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    width: max-content !important;
}

/* Tarjetas */
.destacados-carrusel li.product {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    flex: 0 0 auto !important;
}