/*
Theme Name: Astra Child Custom (Aegis Gaming)
Theme URI: https://aegisgaming.store/
Description: Tema hijo para la tienda Aegis Gaming, hiperpersonalizado y optimizado para WooCommerce y dropshipping.
Author: Antigravity AI & Developer
Author URI: https://aegisgaming.store/
Template: astra
Version: 1.0.5
Text Domain: astra-child-custom
*/

:root {
    /* Modo Oscuro (Por defecto) */
    --bg-dark: #070709;
    --bg-card: rgba(18, 18, 23, 0.65);
    --text-main: #ffffff;
    --text-muted: #9595a0;
    --neon-accent: #00e5ff; 
    --neon-secondary: #e600ff; 
    --nav-bg: rgba(7, 7, 9, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-glow: 0 15px 40px rgba(0, 229, 255, 0.15);
    --gradient-hero: radial-gradient(circle at 50% 30%, #151520 0%, var(--bg-dark) 70%);
    --btn-gradient: linear-gradient(45deg, #00e5ff, #00b3ff);
    --extravagant-border: conic-gradient(from 0deg, transparent 0%, var(--neon-accent) 25%, transparent 50%, var(--neon-secondary) 75%, transparent 100%);
}

/* Modo Diamante (Premium Claro y Cristalino) */
[data-theme="diamond"] {
    --bg-dark: #eef2f8; 
    --bg-card: rgba(255, 255, 255, 0.85); 
    --text-main: #121318;
    --text-muted: #5e6270;
    --neon-accent: #00b8ff; 
    --neon-secondary: #c200ff; 
    --nav-bg: rgba(238, 242, 248, 0.85);
    --border-color: rgba(0, 184, 255, 0.2); 
    --shadow-glow: 0 20px 50px rgba(0, 184, 255, 0.15);
    --gradient-hero: radial-gradient(circle at 50% 30%, #ffffff 0%, var(--bg-dark) 80%);
    --btn-gradient: linear-gradient(135deg, #00b8ff, #7a00ff);
    --extravagant-border: conic-gradient(from 0deg, transparent 0%, #00b8ff 25%, transparent 50%, #7a00ff 75%, transparent 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Full width for Home Page to prevent Astra container from squeezing the Hero section */
body.home .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}
body.home #content.site-content {
    padding: 0 !important;
    margin: 0 !important;
}

body, html, .site, .site-content, #page, #content, .ast-container, .ast-plain-container, .site-main, .entry-content, .ast-article-single, .legal-page {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark) !important;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.6s ease;
}

h1, h2, h3, .brand, .btn, .price-container .price { font-family: 'Rajdhani', sans-serif; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 6%; width: 100%; }
section { padding: 140px 0; }

/* ----- Navbar ----- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color); padding: 16px 0;
    transition: background 0.5s ease, border-color 0.5s ease;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 2.2rem; font-weight: 700; color: var(--text-main); text-decoration: none; letter-spacing: 2px; }
.brand span { color: var(--neon-accent); text-shadow: 0 0 15px rgba(0, 184, 255, 0.4); }

.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 35px; align-items: center; }

.nav-links a {
    color: var(--text-main); text-decoration: none; font-weight: 600; 
    text-transform: uppercase; font-family: 'Rajdhani', sans-serif; 
    font-size: 0.95rem; transition: all 0.3s; letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--neon-accent); text-shadow: 0 0 10px rgba(0, 229, 255, 0.4); }

.theme-toggle {
    background: transparent !important; border: none !important; color: var(--text-main);
    padding: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; box-shadow: none !important; border-radius: 50% !important;
}
button.theme-toggle:hover, .theme-toggle:hover { 
    color: var(--neon-accent) !important; 
    background: transparent !important; 
    box-shadow: none !important;
    border: none !important;
}

.cart-icon { position: relative; color: var(--text-main); cursor: pointer; transition: color 0.3s; text-decoration: none; overflow: visible !important;}
.cart-icon:hover { color: var(--neon-accent); }
.cart-icon svg { width: 28px; height: 28px; overflow: visible !important;}
.cart-badge {
    position: absolute; top: -6px; right: -8px; background: var(--neon-secondary); color: #fff;
    font-size: 0.75rem; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-weight: bold; box-shadow: 0 0 10px var(--neon-secondary);
}

/* ----- Typografía Premium ----- */
h1 { font-size: 5rem; line-height: 1.05; margin-bottom: 24px; text-transform: uppercase; font-weight: 700; letter-spacing: -1px; color: var(--text-main) !important; }
h2 { font-size: 3.5rem; margin-bottom: 20px; text-transform: uppercase; font-weight: 700; color: var(--text-main) !important; }
h3 { color: var(--text-main) !important; }
p { font-size: 1.2rem; color: var(--text-main) !important; margin-bottom: 30px; font-weight: 300; max-width: 600px; }

.highlight {
    background: var(--btn-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
    display: inline-block;
}

/* ----- Botones Extravagantes ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    background: var(--btn-gradient); color: #fff !important; border: none;
    padding: 20px 50px; font-size: 1.4rem; font-weight: 700; text-transform: uppercase;
    text-decoration: none; letter-spacing: 3px; border-radius: 6px; cursor: pointer;
    position: relative; overflow: hidden; box-shadow: var(--shadow-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-25deg); animation: gleam 4s infinite;
}
@keyframes gleam { 0%, 80% { left: -100%; } 100% { left: 150%; } }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(0, 184, 255, 0.6); }

/* ----- Hero Section ----- */
.hero {
    position: relative;
    min-height: 100vh; display: flex; align-items: center;
    background: var(--bg-dark); padding-top: 160px; padding-bottom: 100px;
    overflow: hidden;
}
.hero-video-bg {
    position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; min-width: 100vw; min-height: 100vh;
    object-fit: cover; transform: translate(-50%, -50%);
    z-index: 0; opacity: 0.35; mix-blend-mode: luminosity; filter: contrast(1.1);
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(7,7,9,0.3) 0%, var(--bg-dark) 90%);
    z-index: 1; pointer-events: none;
}
[data-theme="diamond"] .hero-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.4) 0%, var(--bg-dark) 90%);
}
[data-theme="diamond"] .hero-video-bg { mix-blend-mode: normal; opacity: 0.2; }
.hero .container {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px;
}
.hero-text { z-index: 2; }

.stock-badge {
    display: inline-flex; align-items: center; gap: 10px; background: rgba(230, 0, 255, 0.15);
    border: 1px solid var(--neon-secondary); color: var(--neon-secondary); padding: 8px 18px;
    border-radius: 30px; font-size: 0.9rem; font-weight: 600; text-transform: uppercase;
    margin-bottom: 30px; letter-spacing: 1.5px; backdrop-filter: blur(5px);
}
.pulse { width: 10px; height: 10px; background: var(--neon-secondary); border-radius: 50%; box-shadow: 0 0 12px var(--neon-secondary); animation: pulse-anim 1.5s infinite; }
@keyframes pulse-anim { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.6); } 100% { opacity: 1; transform: scale(1); } }

/* Render SVG Premium */
.hero-render {
    position: relative; z-index: 2; display: flex; justify-content: center; align-items: center;
    height: 650px; width: 100%; animation: float 6s ease-in-out infinite;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: inset 0 0 60px rgba(0, 229, 255, 0.03), 0 0 40px rgba(0, 229, 255, 0.05);
    transition: all 0.5s ease;
}
.hero-render:hover {
    box-shadow: inset 0 0 80px rgba(0, 229, 255, 0.06), 0 0 60px rgba(0, 229, 255, 0.1);
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
}
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

/* ----- Características Premium (Efecto Tilt 3D) ----- */
.features { background: var(--bg-dark); position: relative; border-top: 1px solid var(--border-color); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 70px; perspective: 1000px; }

.tilt-card {
    background: var(--bg-card); border: 1px solid var(--border-color); padding: 60px 40px; border-radius: 20px;
    backdrop-filter: blur(12px); text-align: left; transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d; position: relative;
    background-clip: padding-box;
}
.tilt-card::before {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, transparent 20%, var(--neon-accent) 50%, var(--neon-secondary) 80%, transparent 100%);
    background-size: 300% 300%; z-index: -1; border-radius: 22px;
    animation: cyber-glow 4s ease infinite; opacity: 0; transition: opacity 0.5s ease;
}
@keyframes cyber-glow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.tilt-card-content { transform: translateZ(40px); position: relative; z-index: 2; }
.tilt-card:hover { border-color: transparent; box-shadow: 0 15px 40px rgba(0, 229, 255, 0.2); }
.tilt-card:hover::before { opacity: 1; }
.tilt-card p, .tilt-card h3 { 
    text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 0 5px rgba(0,0,0,0.8); 
    color: #ffffff; 
}
[data-theme="diamond"] .tilt-card p, [data-theme="diamond"] .tilt-card h3 {
    color: var(--text-main);
    text-shadow: none;
    font-weight: 500;
}
[data-theme="diamond"] .tilt-card h3 { font-weight: 700; }
.feature-icon { color: var(--neon-accent); margin-bottom: 25px; filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4)); }
.tilt-card h3 { font-size: 2rem; margin-bottom: 15px; font-weight: 700; }

/* ----- Social Proof (Reseñas Creíbles) ----- */
.reviews { background: var(--gradient-hero); border-top: 1px solid var(--border-color); text-align: center; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 60px; text-align: left; }
.review-card {
    background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border-color);
    position: relative; backdrop-filter: blur(8px);
}
.stars { color: #ffb400; font-size: 1.4rem; margin-bottom: 15px; letter-spacing: 2px; }
.stars.four::after { content: '★'; color: var(--text-muted); opacity: 0.3; }
.review-text { font-size: 1.1rem; color: var(--text-main); font-weight: 400; font-style: italic; margin-bottom: 20px; }
.review-author { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.verified-badge { background: rgba(0, 229, 255, 0.1); color: var(--neon-accent); padding: 3px 8px; border-radius: 4px; font-size: 0.7rem; text-transform: uppercase; }

/* ----- CTA Final & Borde Animado ----- */
.final-cta { padding: 140px 0; background: var(--bg-dark); border-top: 1px solid var(--border-color); text-align: center; }

.animated-border-wrapper {
    max-width: 900px; margin: 0 auto; padding: 2px; border-radius: 24px;
    background: var(--extravagant-border); background-size: 200% 200%;
    animation: spin-bg 4s linear infinite;
}
@keyframes spin-bg { 0% { background-position: 0% 0%; } 100% { background-position: 200% 0%; } }

.cta-box {
    background: var(--bg-card); padding: 80px 40px; border-radius: 22px; backdrop-filter: blur(25px);
}
.cta-box p { margin: 0 auto 30px auto; }

.price-container { display: flex; justify-content: center; align-items: baseline; gap: 20px; margin: 40px 0; }
.price-old { text-decoration: line-through; color: var(--text-muted); font-size: 2.2rem; }
.price-container .price { font-size: 5rem; font-weight: 700; color: var(--text-main); line-height: 1; text-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.trust-badges { display: flex; justify-content: center; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.trust-badge svg { color: var(--neon-accent); }

/* ----- Footer ----- */
footer { background: #000; padding: 80px 0 40px; border-top: 1px solid var(--border-color); text-align: center; }
[data-theme="diamond"] footer { background: #e2e8f0; }
.footer-links { margin-bottom: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 1rem; transition: color 0.3s; font-weight: 500;}
.footer-links a:hover { color: var(--text-main); }
.copyright { font-size: 0.9rem; color: var(--text-muted); opacity: 0.7; }

/* ----- Páginas Legales y de Contacto ----- */
.legal-page { padding-top: 140px; padding-bottom: 100px; min-height: 80vh; max-width: 800px; margin: 0 auto; }
.legal-content {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); backdrop-filter: blur(20px);
    font-family: 'Inter', sans-serif; line-height: 1.8; color: var(--text-main);
}
.legal-content h1 { font-family: 'Rajdhani', sans-serif; font-size: 2.5rem; color: var(--neon-accent); margin-bottom: 30px; text-align: center; }
.legal-content h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; margin-top: 40px; margin-bottom: 20px; color: var(--text-main); }
.legal-content p { margin-bottom: 20px; }
.legal-content ul { margin-bottom: 20px; padding-left: 20px; }

.contact-form { margin-top: 30px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 500; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; border-radius: 8px; border: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2); color: var(--text-main); font-family: 'Inter', sans-serif;
}
[data-theme="diamond"] .contact-form input, [data-theme="diamond"] .contact-form textarea {
    background: #fff; color: #000; border-color: #ccc;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--neon-accent); box-shadow: 0 0 10px rgba(0,229,255,0.2);
}
.contact-form button {
    width: 100%; padding: 15px; border-radius: 8px; border: none;
    background: var(--btn-gradient); color: white; font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem; font-weight: bold; text-transform: uppercase; cursor: pointer;
    transition: all 0.3s ease;
}
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,229,255,0.3); }

/* ----- Nosotros / About page ----- */
.about-hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}
.about-hero h1 {
    font-size: 4rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}
.about-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.mission-section {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.mission-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--neon-accent);
}
.mission-content p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 20px;
}
.mission-image {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.mission-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0,229,255,0.05), transparent);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 0;
}
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}
[data-theme="diamond"] .value-card {
    background: rgba(255,255,255,0.6);
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.1);
    border-color: var(--neon-accent);
}
.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--neon-accent);
}
.value-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.team-section {
    padding: 80px 0 120px;
    text-align: center;
}

/* ----- Blog / Archives ----- */
.blog-page { padding-top: 140px; padding-bottom: 100px; min-height: 80vh; }
.blog-header { text-align: center; margin-bottom: 60px; }
.blog-header h1 { font-size: 3rem; font-family: 'Rajdhani', sans-serif; text-transform: uppercase; letter-spacing: 2px; }
.blog-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 10px auto 0; }

.blog-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
    align-items: start;
}
.site-main { display: flex; flex-direction: column; gap: 40px; }
.post {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
}
[data-theme="diamond"] .post {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.3);
}
.post-thumbnail {
    width: 100%;
    height: 250px;
    background: #1a1a24;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.post:hover .post-thumbnail img { transform: scale(1.05); }
.post-content { padding: 30px; }
.entry-meta {
    display: flex;
    gap: 15px;
    color: var(--neon-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.entry-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}
.entry-title a { color: var(--text-main); text-decoration: none; transition: color 0.3s; }
.entry-title a:hover { color: var(--neon-accent); }
.entry-summary {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
.more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s;
}
.more-link:hover {
    background: var(--neon-accent);
    color: #000;
    border-color: var(--neon-accent);
}

.widget-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
}
.widget-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { margin-bottom: 12px; }
.widget ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget ul li a:hover { color: var(--neon-accent); }
.widget ul li a::before { content: "›"; color: var(--neon-accent); font-size: 1.2rem; }

.pagination {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}
.page-numbers.current, .page-numbers:hover {
    background: var(--neon-accent);
    color: #000;
    border-color: var(--neon-accent);
}

/* ----- WooCommerce Integración Estilos Reales ----- */
.shop-page, .ast-woocommerce-container { padding-top: 100px; padding-bottom: 100px; min-height: 80vh; }

/* Forzar Grid sobre Astra */
body .ast-woocommerce-container ul.products,
body.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 40px !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

body .ast-woocommerce-container ul.products::before,
body .ast-woocommerce-container ul.products::after {
    display: none !important; /* Quitar clearfix de Astra que rompe el grid */
}

body .ast-woocommerce-container ul.products li.product,
body.woocommerce ul.products li.product {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100% !important; /* Astra usa floats o % que rompen el grid */
    margin: 0 !important;
}

body .ast-woocommerce-container ul.products li.product:hover,
body.woocommerce ul.products li.product:hover {
    border-color: var(--neon-accent) !important;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15) !important;
    transform: translateY(-5px);
}

body .ast-woocommerce-container ul.products li.product img,
body.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.4));
}

body .ast-woocommerce-container ul.products li.product .woocommerce-loop-product__title,
body.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 700;
}

body .ast-woocommerce-container ul.products li.product .price,
body.woocommerce ul.products li.product .price {
    display: block;
    font-size: 1.5rem;
    color: var(--neon-accent);
    margin-bottom: 20px;
    font-weight: 600;
}

body .ast-woocommerce-container ul.products li.product .button,
body.woocommerce ul.products li.product .button {
    display: inline-block;
    width: 100% !important;
    background: var(--btn-gradient) !important;
    color: #fff !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body .ast-woocommerce-container ul.products li.product .button:hover,
body.woocommerce ul.products li.product .button:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.4) !important;
}

/* WooCommerce Cart real */
.cart-page { padding-top: 140px; padding-bottom: 100px; min-height: 80vh; }

/* Regla .woocommerce global eliminada para no romper la estructura de las páginas hijas */

.woocommerce-cart-form {
    background: rgba(10, 10, 15, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(6px);
    margin-bottom: 40px;
}

[data-theme="diamond"] .woocommerce-cart-form {
    background: rgba(255, 255, 255, 0.45);
}

.shop_table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.shop_table th {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--neon-accent);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.shop_table td {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.product-thumbnail img {
    width: 80px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.product-name a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.product-name a:hover { color: var(--neon-accent); }

.product-remove a {
    color: var(--neon-secondary);
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s;
}
.product-remove a:hover { transform: scale(1.2); }

.qty {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px;
    width: 70px;
    border-radius: 6px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}
.qty:focus { outline: none; border-color: var(--neon-accent); box-shadow: 0 0 10px rgba(0, 229, 255, 0.2); }

.cart_totals {
    background: rgba(10, 10, 15, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    position: relative;
}

[data-theme="diamond"] .cart_totals {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.cart_totals h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
    color: var(--text-main);
}

.cart_totals .shop_table th {
    color: var(--text-muted);
    border-bottom: none;
    padding: 10px 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.cart_totals .shop_table td {
    text-align: right;
    border-bottom: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 0;
}

.cart_totals .order-total td {
    color: var(--text-main);
    font-size: 1.6rem;
    font-weight: 700;
    padding-top: 15px;
}

.cart_totals .order-total th {
    padding-top: 15px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 10px;
    font-weight: 400;
}

.savings-badge {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.5px;
}

[data-theme="diamond"] .savings-badge {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0,0,0,0.2);
}

.urgency-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.4;
}

[data-theme="diamond"] .urgency-box {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0,0,0,0.2);
}

.checkout-button {
    display: block;
    width: 100%;
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.checkout-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.cart-collaterals {
    position: relative;
    z-index: 1;
}

.nintendo-seal-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    width: 500px;
    height: 500px;
    opacity: 0.12;
    pointer-events: none;
    z-index: -1;
    color: var(--neon-accent);
}

[data-theme="diamond"] .nintendo-seal-bg {
    opacity: 0.1;
    color: #000;
}

.security-seal-box {
    margin-top: 20px;
    background: rgba(0, 229, 255, 0.03);
    border: 1px dashed rgba(0, 229, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-seal-box svg {
    flex-shrink: 0;
}

.security-seal-box h4 {
    color: var(--text-main);
    margin: 0 0 3px 0;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.security-seal-box p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.3;
}

.coupon-box {
    display: flex; gap: 10px; margin-top: 20px;
}
.coupon-box input { flex: 1; padding: 12px; background: rgba(0,0,0,0.3); border: 1px solid var(--border-color); color: #fff; border-radius: 6px; }
.coupon-box button { padding: 12px 20px; background: transparent; color: var(--text-main); border: 1px solid var(--neon-accent); border-radius: 6px; cursor: pointer; transition: 0.3s; }
.coupon-box button:hover { background: rgba(0, 229, 255, 0.1); }

[data-theme="diamond"] .coupon-box input { background: #fff; color: #000; border-color: #ccc; }

/* WooCommerce Checkout Real */
.checkout-page { padding-top: 140px; padding-bottom: 100px; min-height: 80vh; }

/* Grid Container Principal para el Checkout Personalizado */
.custom-cyberpunk-checkout .checkout-grid-container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.checkout-box {
    background: rgba(10, 10, 15, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 100%;
}

[data-theme="diamond"] .checkout-box {
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.checkout-col-left {
    /* Aquí va facturación */
}

.checkout-col-right {
    /* Aquí va el resumen y métodos de pago */
}

@media (max-width: 992px) {
    .custom-cyberpunk-checkout .checkout-grid-container {
        grid-template-columns: 1fr;
    }
}

.checkout-column {
    background: rgba(10, 10, 15, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

[data-theme="diamond"] .checkout-column {
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.checkout-column h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-row input, .form-row select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 14px 16px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

[data-theme="diamond"] .form-row input, [data-theme="diamond"] .form-row select {
    background: #ffffff;
    color: #121318;
    border: 1px solid #c2d1e0;
}

.form-row input:focus, .form-row select:focus {
    outline: none;
    border-color: var(--neon-accent);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    background: rgba(0, 229, 255, 0.05);
}

.col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.woocommerce-checkout-review-order-table th {
    color: var(--text-muted);
    font-weight: 500;
}

.woocommerce-checkout-review-order-table td {
    font-weight: 600;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    border-bottom: none;
    padding-top: 25px;
    font-size: 1.5rem;
}

.woocommerce-checkout-review-order-table .order-total td {
    color: var(--text-main);
    text-align: right;
    font-weight: 700;
}

.woocommerce-checkout-payment {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

[data-theme="diamond"] .woocommerce-checkout-payment {
    background: rgba(0, 184, 255, 0.05);
}

.payment_methods {
    list-style: none;
    margin-bottom: 20px;
}

.payment_methods li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.payment_box {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
    margin-left: 0;
    border-left: 2px solid var(--text-main);
    flex-basis: 100%;
    width: 100%;
}

[data-theme="diamond"] .payment_box {
    background: rgba(255, 255, 255, 0.5);
}

#place_order {
    width: 100%;
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

#place_order:hover {
    opacity: 0.9;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.security-badges img { height: 30px; opacity: 0.6; filter: grayscale(100%); transition: 0.3s; }
.security-badges img:hover { opacity: 1; filter: grayscale(0%); }

/* Responsive Ajustado */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 30px auto; }
    .stock-badge { margin: 0 auto 30px auto; }
    h1 { font-size: 4rem; }
    .hero-render { height: 450px; margin-top: 20px; }
    
    .woocommerce { grid-template-columns: 1fr; }
    .woocommerce-checkout { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .blog-container { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .mission-section { grid-template-columns: 1fr; }
}

/* --- WOOCOMMERCE CART & CHECKOUT CYBERPUNK CSS --- */

/* Cart Layout */
.woocommerce-cart .woocommerce {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 992px) {
    .woocommerce-cart .woocommerce { grid-template-columns: 1fr; }
}

/* Forms and Columns */
.woocommerce-cart-form, .checkout-column, #customer_details, #order_review_wrapper {
    background: rgba(10, 10, 15, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(6px);
    margin-bottom: 40px;
}
[data-theme="diamond"] .woocommerce-cart-form, [data-theme="diamond"] .checkout-column, [data-theme="diamond"] #customer_details, [data-theme="diamond"] #order_review_wrapper {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(0,0,0,0.1);
}

/* Typography Overrides */
.checkout-column h3, .cart_totals h2, #order_review_heading {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-main);
}

/* Tables */
.shop_table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.shop_table th {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--neon-accent);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.shop_table td {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}
.product-name a { color: var(--text-main) !important; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.product-name a:hover { color: var(--neon-accent) !important; }
.product-remove a { color: var(--neon-secondary) !important; font-size: 1.5rem; text-decoration: none; font-weight: bold; }

/* Inputs */
.qty, .form-row input, .form-row select, .form-row textarea, .input-text {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
    padding: 14px 16px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    width: 100%;
}
[data-theme="diamond"] .qty, [data-theme="diamond"] .form-row input, [data-theme="diamond"] .form-row select, [data-theme="diamond"] .form-row textarea, [data-theme="diamond"] .input-text {
    background: #ffffff !important;
    color: #121318 !important;
    border: 1px solid #c2d1e0 !important;
}
.qty:focus, .form-row input:focus, .form-row select:focus, .form-row textarea:focus, .input-text:focus {
    outline: none; border-color: var(--neon-accent) !important; box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); background: rgba(0, 229, 255, 0.05) !important;
}

/* Cart Totals specific */
.cart_totals {
    background: rgba(10, 10, 15, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
}
[data-theme="diamond"] .cart_totals {
    background: rgba(255, 255, 255, 0.45); border-color: rgba(0,0,0,0.1);
}

.cart_totals .shop_table th { color: var(--text-muted) !important; border-bottom: none; font-size: 0.95rem; font-weight: 500; }
.cart_totals .shop_table td { text-align: right; border-bottom: none; font-weight: 600; font-size: 0.95rem; }
.cart_totals .order-total td { color: var(--text-main) !important; font-size: 1.6rem; font-weight: 700; padding-top: 15px; }

/* Checkout Payment Methods */
.woocommerce-checkout-payment {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}
[data-theme="diamond"] .woocommerce-checkout-payment { background: rgba(0, 184, 255, 0.05); }
.payment_box {
    background: rgba(0, 0, 0, 0.2); padding: 15px; border-radius: 8px; font-size: 0.9rem;
    color: var(--text-muted); margin-top: 10px; margin-left: 0; border-left: 2px solid var(--neon-accent);
    flex-basis: 100%; width: 100%;
}
[data-theme="diamond"] .payment_box { background: rgba(255, 255, 255, 0.5); }

/* Buttons */
.checkout-button, #place_order {
    display: block; width: 100%; background: var(--btn-gradient) !important; color: #fff !important;
    padding: 16px; border-radius: 8px; text-align: center; text-decoration: none; font-family: 'Inter', sans-serif;
    font-size: 1.1rem; font-weight: 700; border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: var(--shadow-glow);
}
.checkout-button:hover, #place_order:hover { transform: translateY(-2px); }

/* Nintendo Seal Background Inject */
body.woocommerce-cart::before, body.woocommerce-checkout::before {
    content: '';
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg);
    width: 500px; height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='topText' d='M 60, 150 a 90,90 0 1,1 180,0' /%3E%3Cpath id='bottomText' d='M 240, 150 a 90,90 0 1,1 -180,0' /%3E%3C/defs%3E%3Ccircle cx='150' cy='150' r='140' stroke='%2300e5ff' stroke-width='4'/%3E%3Ccircle cx='150' cy='150' r='132' stroke='%2300e5ff' stroke-width='1.5'/%3E%3Ccircle cx='150' cy='150' r='105' stroke='%2300e5ff' stroke-width='1.5'/%3E%3Cpath d='M125 130 V110 C125 95 175 95 175 110 V130' stroke='%2300e5ff' stroke-width='6' stroke-linecap='round'/%3E%3Crect x='110' y='130' width='80' height='60' rx='6' stroke='%2300e5ff' stroke-width='6'/%3E%3Ccircle cx='150' cy='155' r='7' fill='%2300e5ff'/%3E%3Cpath d='M150 162 V172' stroke='%2300e5ff' stroke-width='4' stroke-linecap='round'/%3E%3Ctext fill='%2300e5ff' font-size='22' font-family='sans-serif' font-weight='800' letter-spacing='3'%3E%3CtextPath href='%23topText' startOffset='50%25' text-anchor='middle'%3E100%25 SECURE CHECKOUT%3C/textPath%3E%3C/text%3E%3Ctext fill='%2300e5ff' font-size='18' font-family='sans-serif' font-weight='600' letter-spacing='5'%3E%3CtextPath href='%23bottomText' startOffset='50%25' text-anchor='middle'%3EAES 256-BIT%3C/textPath%3E%3C/text%3E%3C/svg%3E");
    opacity: 0.08; pointer-events: none; z-index: 0;
}
[data-theme="diamond"] body.woocommerce-cart::before, [data-theme="diamond"] body.woocommerce-checkout::before {
    filter: brightness(0); opacity: 0.05;
}

/* --- WOOCOMMERCE SHOP CYBERPUNK CSS --- */
.woocommerce ul.products {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px; list-style: none; padding: 0; margin: 0;
}
.woocommerce ul.products li.product {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 20px; text-align: center; position: relative;
    backdrop-filter: blur(10px); transition: all 0.3s ease;
}
.woocommerce ul.products li.product:hover {
    border-color: var(--neon-accent); box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15); transform: translateY(-5px);
}
.woocommerce ul.products li.product img {
    width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.4));
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; color: var(--text-main); margin-bottom: 10px; font-weight: 700;
}
.woocommerce ul.products li.product .price {
    display: block; font-size: 1.5rem; color: var(--neon-accent); margin-bottom: 20px; font-weight: 600;
}
.woocommerce ul.products li.product .button {
    display: inline-block; width: 100%; background: var(--btn-gradient) !important; color: #fff !important;
    padding: 12px 20px; border-radius: 6px; text-decoration: none; font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border: none;
    cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.woocommerce ul.products li.product .button:hover {
    transform: scale(1.02); box-shadow: 0 5px 20px rgba(0, 229, 255, 0.4);
}

@media (max-width: 768px) {
    /* Navbar optimization */
    .navbar { padding: 5px 0 !important; }
    .navbar .brand { font-size: 1.15rem !important; letter-spacing: 0 !important; }
    .nav-actions { gap: 15px !important; display: flex !important; align-items: center !important; }
    .nav-actions a, .nav-actions button, .nav-actions .cart-icon-wrapper { 
        display: flex !important; align-items: center !important; justify-content: center !important; 
        padding: 0 !important; margin: 0 !important; width: 24px !important; height: 24px !important; 
    }
    .nav-actions svg { width: 18px !important; height: 18px !important; margin: 0 !important; display: block !important; }
    .nav-links { display: none; }
    .nav-actions span { display: none; }
    .nav-actions span.cart-badge { display: flex !important; }
    .theme-toggle { background: transparent !important; }

    /* Hero Optimization for Ecommerce (CTA above fold) */
    .hero { padding-top: 55px !important; padding-bottom: 40px !important; min-height: auto; }
    .hero .container { display: flex; flex-direction: column; gap: 15px; }
    
    /* Bring Product Image to top */
    .hero-render { order: -1; height: 260px; margin-top: 0; margin-bottom: -15px; }
    
    /* Compact Text Elements */
    .hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .stock-badge { font-size: 0.75rem; padding: 6px 16px; margin-bottom: 10px; letter-spacing: 1px; }
    h1 { font-size: 2.2rem; line-height: 1.1; margin-bottom: 10px; }
    h2 { font-size: 1.8rem; }
    .hero-text p { font-size: 0.95rem; margin-bottom: 20px; line-height: 1.4; padding: 0 10px; }
    
    /* Massive, unmistakable CTA button for mobile */
    .btn { padding: 15px 20px; font-size: 1.1rem; width: 100%; max-width: 350px; justify-content: center; box-shadow: 0 5px 20px rgba(0, 229, 255, 0.4); }
}

@media (max-width: 768px) {
    /* Compact "Ingeniería de élite" section */
    .features { padding: 40px 0; }
    .features h2 { font-size: 2rem !important; }
    .features > p { margin-bottom: 30px !important; font-size: 0.95rem; padding: 0 15px; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
    .tilt-card { padding: 30px 20px; border-radius: 15px; }
    .tilt-card i { font-size: 2.5rem; margin-bottom: 15px; }
    .tilt-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
    .tilt-card p { font-size: 0.9rem; line-height: 1.4; }
}

/* --- CYBERPUNK BLOG RE-DESIGN V2 --- */
/* Hide categories widget per user request */
aside#secondary .widget_categories { display: none !important; }

/* Align sidebar with main content top */
.blog-container { align-items: start !important; }
.blog-container #primary { margin-top: 0 !important; padding-top: 0 !important; }
.blog-container #secondary { margin-top: 0 !important; padding-top: 0 !important; }

/* Post Titles Typography */
.blog-container h2.entry-title,
.blog-container h2.entry-title a {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    color: var(--text-main) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
.blog-container h2.entry-title a:hover {
    color: var(--neon-accent) !important;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4) !important;
}

/* Paragraphs and Excerpts Typography */
.blog-container .entry-summary,
.blog-container .entry-summary p {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important; /* Reduced size as requested */
    color: var(--text-muted) !important;
    line-height: 1.5 !important;
}

/* Meta Data (Date and Category link) Color to light gray */
.blog-container .entry-meta,
.blog-container .entry-meta span,
.blog-container .entry-meta a {
    color: #cccccc !important; /* Light gray to override the invisible blue */
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
}
.blog-container .entry-meta a:hover {
    color: var(--neon-accent) !important;
}

/* --- Precios Tachados y Descuentos WooCommerce --- */
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.wc-block-components-product-price__regular,
.wc-block-grid__product-price .woocommerce-Price-amount del {
    color: #888888 !important;
    font-size: 0.65em !important;
    opacity: 0.8;
    margin-right: 8px;
    font-weight: 400 !important;
    text-decoration: line-through !important;
}
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.wc-block-components-product-price__value,
.wc-block-grid__product-price .woocommerce-Price-amount ins {
    color: #00e5ff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3) !important;
}

/* Fix Cart Form layout */
.woocommerce-cart-form__contents {
    width: 100% !important;
}

/* Fix trash icon */
.wc-block-cart-item__remove-link {
    color: var(--neon-secondary) !important;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.wc-block-cart-item__remove-link:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Fix Subtotal & Totals block */
.wc-block-cart__totals-inner, .wc-block-components-totals-wrapper {
    background: rgba(10, 10, 15, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}
[data-theme="diamond"] .wc-block-cart__totals-inner, [data-theme="diamond"] .wc-block-components-totals-wrapper {
    background: rgba(255, 255, 255, 0.45);
}
.wc-block-components-totals-item__label, .wc-block-components-totals-item__value {
    color: var(--text-main) !important;
    font-family: 'Inter', sans-serif;
}
.wc-block-components-totals-item--cart-total .wc-block-components-totals-item__value {
    color: var(--neon-accent) !important;
    font-size: 1.8rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

/* Fix Block Prices to normal size */
.wc-block-components-product-price {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: var(--text-main);
}


/* --- WOOCOMMERCE SINGLE PRODUCT MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    /* Product Container */
    .woocommerce div.product { padding: 0 15px !important; overflow-x: hidden; }
    
    /* Product Title */
    .woocommerce div.product .product_title {
        font-size: 1.8rem !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    /* Price */
    .woocommerce div.product p.price {
        font-size: 1.6rem !important;
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    
    /* Add to Cart Form / Button */
    .woocommerce div.product form.cart {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        margin-bottom: 30px !important;
    }
    .woocommerce div.product form.cart .button {
        width: 100% !important;
        max-width: 350px !important;
        padding: 16px 20px !important;
        font-size: 1.1rem !important;
        border-radius: 8px !important;
        box-shadow: 0 5px 20px rgba(0, 229, 255, 0.4) !important;
    }
    .woocommerce div.product form.cart .quantity {
        margin: 0 !important;
    }

    /* Meta Data */
    .woocommerce div.product .product_meta {
        font-size: 0.85rem !important;
        text-align: center !important;
        border-top: 1px solid var(--border-color);
        padding-top: 15px !important;
    }

    /* Product Tabs */
    .woocommerce div.product .woocommerce-tabs {
        margin-top: 40px !important;
        border-top: 1px solid var(--border-color);
        padding-top: 20px !important;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        border-radius: 8px !important;
        text-align: center !important;
        background: rgba(255,255,255,0.05) !important;
    }
    [data-theme="diamond"] .woocommerce div.product .woocommerce-tabs ul.tabs li {
        background: rgba(0,0,0,0.05) !important;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 14px !important;
        display: block !important;
    }
    
    /* Product Images Gallery */
    .woocommerce div.product div.images {
        margin-bottom: 25px !important;
    }
}
