/**
 * Hasdra 2.0 - Sistema Visual Evolucionado (Full Update)
 * Optimización: Dark Mode Premium & Professional Polish
 */

/* 1. AJUSTES DE WORDPRESS & RESET (Petición: Quitar barra superior) */
#wpadminbar { 
    display: none !important; 
}

html { 
    margin-top: 0 !important; 
}

/* VARIABLES & CORE */
:root {
    --h2-blue: #008AFF;
    --h2-blue-dark: #0056b3;
    --h2-blue-glow: rgba(0, 138, 255, 0.4);
    --h2-dark: #0f1115;
    --h2-gray-deep: #08090b;
    --h2-gray-card: #161a20;
    --h2-accent: #FF5100;
    --h2-white: #ffffff;
    --h2-text-muted: #94a3b8;
    --h2-glass: rgba(255, 255, 255, 0.03);
    --h2-glass-border: rgba(255, 255, 255, 0.08);
    --h2-transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    background-color: var(--h2-dark);
    color: var(--h2-white);
    font-family: 'Lexend Deca', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 2. TIPOGRAFÍA PREMIUM */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--h2-blue), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. HEADER GLASSMORPHISM (Pulido Header-Flex) */
.site-header-v2 {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    padding: 20px 0;
    transition: var(--h2-transition);
}

.header-scrolled {
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--h2-glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.site-branding {
    flex-shrink: 0;
}

.main-logo { 
    height: 45px; /* Tamaño controlado en el tope */
    width: auto;
    transition: var(--h2-transition);
    display: block;
}

.header-scrolled .main-logo {
    height: 35px;
}

.nav-menu-v2 {
    display: flex; 
    gap: 30px; 
    list-style: none; 
    margin: 0; 
    padding: 0;
    align-items: center;
}

.nav-menu-v2 a {
    color: var(--h2-white);
    font-family: 'SUSE', sans-serif;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

.nav-menu-v2 a:hover { opacity: 1; color: var(--h2-blue); }

.header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 4. BOTONES */

/* Botón Cotizar */
.btn-hasdra-action {
    background: var(--h2-blue);
    color: var(--h2-white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--h2-transition);
    box-shadow: 0 4px 15px var(--h2-blue-glow);
    border: none;
    font-family: 'SUSE', sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.btn-hasdra-action:hover {
    background: var(--h2-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--h2-blue-glow);
}

/* Botones Hero */
.btn-hasdra-primary {
    background: var(--h2-blue);
    color: white !important;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--h2-transition);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 138, 255, 0.2);
}

.btn-hasdra-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 138, 255, 0.4);
}

.btn-hasdra-outline {
    border: 2px solid rgba(255,255,255,0.2);
    color: white !important;
    padding: 14px 36px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--h2-transition);
    background: rgba(255,255,255,0.02);
}

.btn-hasdra-outline:hover {
    border-color: var(--h2-blue);
    background: rgba(0, 138, 255, 0.05);
    transform: translateY(-5px);
}

/* 5. HERO EVOLUTION */
.hero-evolution {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    z-index: -1;
}

.shape.s1 { 
    width: 500px; height: 500px; 
    background: var(--h2-blue-glow); 
    top: -150px; right: -100px; 
    opacity: 0.6; 
}

.shape.s2 { 
    width: 400px; height: 400px; 
    background: rgba(255, 81, 0, 0.15); 
    bottom: 5%; left: -100px; 
}

.hero-badge {
    background: var(--h2-glass);
    border: 1px solid var(--h2-glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--h2-blue);
    margin-bottom: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--h2-text-muted);
    max-width: 600px;
    line-height: 1.6;
}

/* 6. CARDS & GRID (Limitación de íconos) */
.service-mini-card {
    background: var(--h2-gray-card);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--h2-glass-border);
    transition: var(--h2-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-mini-card img {
    max-width: 55px; /* Íconos limitados para mayor elegancia */
    max-height: 55px;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0, 138, 255, 0.3));
    transition: var(--h2-transition);
}

.service-mini-card:hover img {
    transform: scale(1.1);
}

.service-mini-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0;
    font-weight: 700;
}

.service-mini-card:hover {
    transform: translateY(-12px);
    border-color: var(--h2-blue);
    background: var(--h2-dark);
    box-shadow: 0 20px 40px rgba(0, 138, 255, 0.1);
}

/* 7. PORTAFOLIO V2 */
.project-card-v2 {
    background: var(--h2-gray-card);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--h2-glass-border);
    transition: var(--h2-transition);
}

.project-card-v2:hover {
    transform: translateY(-10px);
    border-color: var(--h2-blue);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.card-image-v2 {
    height: 250px;
    overflow: hidden;
    background: #000;
}

.card-image-v2 img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
}

.badge-v2 {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 138, 255, 0.1);
    border-radius: 6px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

/* 8. FOOTER LUXURY DESIGN */
.hasdra-footer-premium {
    background: radial-gradient(circle at 50% 0%, #161a20 0%, #0f1115 100%);
    padding-top: 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-pre-hook {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 138, 255, 0.03) 100%);
    padding: 100px 0 80px;
}

.cta-wrapper-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 80px;
}

.cta-tagline {
    color: var(--h2-blue);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 12px;
    font-weight: 800;
}

.cta-title-v2 { font-size: clamp(2.5rem, 5vw, 4rem); }

.btn-hasdra-magnetic {
    background: var(--h2-white);
    color: var(--h2-dark) !important;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.btn-hasdra-magnetic:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 138, 255, 0.4);
}

.footer-logo-minimal { height: 35px; margin-bottom: 30px; }

.brand-bio {
    color: var(--h2-text-muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 380px;
    margin-bottom: 25px;
}

/* Redes Sociales Mejoradas (En Fila) */
.social-grid-modern {
    display: flex;
    flex-direction: row; /* Asegura que estén en fila */
    gap: 12px;
    margin-top: 0;
}

.social-link-v3 {
    width: 42px; height: 42px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: 0.3s; text-decoration: none;
    font-size: 16px;
}

.social-link-v3:hover {
    background: var(--h2-blue); 
    border-color: var(--h2-blue);
    transform: translateY(-5px); 
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 138, 255, 0.3);
}

/* Información de Contacto Estilizada */
.contact-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-link {
    display: block; 
    font-size: 16px; 
    color: #fff;
    text-decoration: none; 
    font-weight: 600; 
    transition: 0.3s;
    opacity: 0.9;
}

.contact-link:hover {
    color: var(--h2-blue);
    opacity: 1;
    transform: translateX(5px);
}

.address-text {
    font-size: 14px;
    color: var(--h2-text-muted);
    line-height: 1.6;
    margin-top: 5px;
}

.footer-label {
    color: var(--h2-blue);
    font-size: 13px; text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-links-v3 { list-style: none; padding: 0; }
.footer-links-v3 a {
    color: var(--h2-text-muted); text-decoration: none;
    display: inline-block; padding: 6px 0; transition: 0.3s;
    font-size: 14px;
}
.footer-links-v3 a:hover { color: #fff; transform: translateX(8px); }

/* Sección Legal */
.footer-legal-v3 { 
    border-top: 1px solid rgba(255,255,255,0.05); 
    padding: 30px 0;
    margin-top: 60px;
}

.legal-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-links a {
    color: var(--h2-text-muted);
    text-decoration: none;
    font-size: 12px;
    transition: 0.3s;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.legal-links a:hover {
    color: var(--h2-white);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
}

/* 9. ANIMACIONES */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
}

/* 10. RESPONSIVE */
@media (max-width: 991px) {
    .header-flex { padding: 0 15px; }
    .nav-menu-v2 { display: none; }
    .cta-wrapper-modern { flex-direction: column; text-align: center; gap: 40px; }
    .site-header-v2 { padding: 15px 0; }
    .btn-hasdra-magnetic { width: 100%; justify-content: center; }
    .hero-title { font-size: 3rem; }
    .legal-flex { flex-direction: column; gap: 20px; text-align: center; }
    .social-grid-modern { justify-content: center; }
}

/**
 * Hasdra 2.0 - Sistema Visual Evolucionado (Full Update)
 * Foco: Dark Mode para WooCommerce, Carrito y Checkout
 */

/* 1. RESET & WP ADMIN BAR */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

:root {
    --h2-blue: #008AFF;
    --h2-blue-dark: #0056b3;
    --h2-blue-glow: rgba(0, 138, 255, 0.4);
    --h2-dark: #0f1115;
    --h2-gray-card: #161a20;
    --h2-glass-border: rgba(255, 255, 255, 0.08);
    --h2-white: #ffffff;
    --h2-text-muted: #94a3b8;
    --h2-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    background-color: var(--h2-dark);
    color: var(--h2-white);
    font-family: 'Lexend Deca', sans-serif;
}

/* 2. HEADER REFINADO CON CARRITO */
.cart-contents-v2 {
    position: relative;
    color: white;
    font-size: 20px;
    margin-right: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.cart-contents-v2:hover { color: var(--h2-blue); }

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--h2-blue);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 50px;
    line-height: 1;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 138, 255, 0.4);
}

/* 3. WOOCOMMERCE DARK MODE (La magia del diseño) */

/* Contenedor General */
.hasdra-shop-container, .hasdra-generic-content {
    background-color: var(--h2-dark);
    min-height: 80vh;
}

.pt-150 { padding-top: 150px; }

/* Grid de Productos */
.woocommerce ul.products li.product {
    background: var(--h2-gray-card);
    border: 1px solid var(--h2-glass-border);
    border-radius: 20px;
    padding: 20px;
    transition: var(--h2-transition);
    overflow: hidden;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    border-color: var(--h2-blue);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: white; font-weight: 700; font-size: 1.1rem; padding: 10px 0;
}

.woocommerce ul.products li.product .price { color: var(--h2-blue); font-weight: 800; }

.woocommerce ul.products li.product .button {
    background: var(--h2-blue); color: white; border-radius: 12px;
    font-weight: 700; text-transform: uppercase; font-size: 11px;
}

/* Página de Producto Individual */
.woocommerce div.product div.summary .product_title { color: white; font-size: 2.5rem; }
.woocommerce div.product span.price { color: var(--h2-blue); font-size: 2rem; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--h2-text-muted); }

.woocommerce div.product form.cart .button {
    background: var(--h2-blue); border-radius: 15px; padding: 15px 40px;
}

/* 4. CARRITO Y CHECKOUT (Shortcodes) */

/* Tablas de Carrito */
.woocommerce table.shop_table {
    border: 1px solid var(--h2-glass-border);
    background: var(--h2-gray-card);
    border-radius: 15px;
    color: white;
}

.woocommerce table.shop_table th { background: rgba(255,255,255,0.03); color: var(--h2-blue); border-bottom: 1px solid var(--h2-glass-border); }
.woocommerce table.shop_table td { border-top: 1px solid var(--h2-glass-border); padding: 20px; }

.woocommerce table.shop_table a { color: white; text-decoration: none; font-weight: 600; }
.woocommerce table.shop_table a:hover { color: var(--h2-blue); }

/* Totales y Cupones */
.cart-collaterals .cart_totals {
    background: var(--h2-gray-card);
    border: 1px solid var(--h2-glass-border);
    padding: 30px;
    border-radius: 20px;
}

/* Checkout */
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: var(--h2-gray-card);
    border: 1px solid var(--h2-glass-border);
    border-radius: 15px;
}

.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--h2-glass-border); }
.woocommerce-checkout #payment div.payment_box { background: rgba(255,255,255,0.02); color: var(--h2-text-muted); }

/* Inputs y Forms Globales */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid var(--h2-glass-border) !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 12px !important;
}

/* 5. FOOTER LEGAL (REFINADO) */
.footer-legal-v3 .legal-links a {
    color: var(--h2-text-muted); text-decoration: none; font-size: 13px;
    background: rgba(255,255,255,0.03); padding: 6px 15px; border-radius: 8px; transition: 0.3s;
}

.footer-legal-v3 .legal-links a:hover { background: var(--h2-blue); color: white; }

.woocommerce img, .woocommerce-page img{ /*debemos añadir esto, porque el original es auto y widh al 100%*/
    height: 45px;
    width: auto;
}
/**
 * COPIAR Y PEGAR AL FINAL DE TU ARCHIVO ORIGINAL
 * Estas reglas añaden las nuevas funciones sin tocar lo anterior.
 */

/* 1. FIX LOGO (Control de tamaño en Header) */
.site-branding .main-logo { 
    height: 45px !important; 
    width: auto !important; 
    transition: all 0.4s ease;
}
.header-scrolled .site-branding .main-logo { height: 35px !important; }

/* 2. NAVEGACIÓN POR ICONOS SVG ANIMADOS */
.nav-svg-icon {
    width: 24px;
    height: 24px;
    color: var(--h2-white);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    stroke-dasharray: 50;
    stroke-dashoffset: 0;
}

.nav-menu-v2 li a:hover .nav-svg-icon {
    color: var(--h2-blue);
    opacity: 1;
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 5px 15px var(--h2-blue-glow));
    stroke-dashoffset: 100;
    animation: drawPath 0.8s ease forwards;
}

@keyframes drawPath {
    from { stroke-dashoffset: 50; }
    to { stroke-dashoffset: 0; }
}

/* 3. REFINAMIENTOS DE PRODUCTO (WooCommerce Luxury) */
.woocommerce div.product .product_title {
    font-size: 3.2rem !important;
    letter-spacing: -2px !important;
    line-height: 1 !important;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--h2-blue) !important;
    font-weight: 800 !important;
    font-size: 2.5rem !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--h2-text-muted);
    font-size: 1.1rem;
    margin: 20px 0;
}
.woocommerce table.shop_attributes {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: none;
}
.woocommerce table.shop_attributes th { color: var(--h2-blue); padding: 15px; border: none; }
.woocommerce table.shop_attributes td { color: var(--h2-text-muted); padding: 15px; border: none; }

/* 4. FOOTER REFINADO (Redes y Contacto) */
.social-grid-modern { display: flex; gap: 15px; }
.social-link-v3 {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: #fff; transition: 0.3s;
}
.social-link-v3:hover { background: var(--h2-blue); transform: translateY(-5px); }
.contact-link-modern { color: #fff; text-decoration: none; font-weight: 600; display: block; transition: 0.3s; }
.contact-link-modern:hover { color: var(--h2-blue); transform: translateX(5px); }
.legal-links a {
    color: var(--h2-text-muted); text-decoration: none; font-size: 13px;
    background: rgba(255,255,255,0.03); padding: 6px 15px; border-radius: 8px; transition: 0.3s;
}
.legal-links a:hover { background: var(--h2-blue); color: white; }

/* 5. DISEÑO DE CONTACTO INMERSIVO (Pantalla Completa) */
.contact-card-page-fullscreen {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, #1a1e26 0%, #0f1115 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Botón Volver */
.btn-back-hasdra {
    position: absolute;
    top: 40px; left: 40px;
    width: 50px; height: 50px;
    background: var(--h2-glass);
    border: 1px solid var(--h2-glass-border);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    text-decoration: none;
}
.btn-back-hasdra:hover {
    background: var(--h2-blue);
    border-color: var(--h2-blue);
    transform: translateX(-5px);
}
.btn-back-hasdra svg { width: 24px; height: 24px; }

/* Escena de Tarjeta Gigante */
.card-scene {
    width: 80%;
    height: 70%;
    max-width: 900px;
    max-height: 500px;
    perspective: 2000px;
}

.business-card-v3 {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.business-card-v3:hover {
    transform: rotateY(180deg);
}

.card-v3-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 40px;
    border: 1px solid var(--h2-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.card-v3-face.back {
    transform: rotateY(180deg);
    background: var(--h2-gray-card);
}

.card-glow {
    position: absolute;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(0, 138, 255, 0.1) 0%, transparent 70%);
    top: -50%; left: -50%;
    pointer-events: none;
}

.card-v3-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.brand-central img {
    height: 180px;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.card-subtitle {
    letter-spacing: 8px;
    font-size: 14px;
    opacity: 0.6;
    margin-top: 10px;
}

.hint-tap {
    position: absolute;
    bottom: 30px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.4;
}

/* Detalles traseros */
.back-title { color: var(--h2-blue); font-size: 32px; margin-bottom: 40px; }
.contact-data-grid { margin-bottom: 40px; }
.data-row { font-size: 20px; margin-bottom: 15px; color: #fff; }
.data-row i { color: var(--h2-blue); margin-right: 15px; }
.data-row a { color: inherit; text-decoration: none; }
.social-row-v3 { display: flex; justify-content: center; gap: 20px; font-size: 24px; }
.social-row-v3 a { color: #fff; transition: 0.3s; }
.social-row-v3 a:hover { color: var(--h2-blue); transform: translateY(-5px); }

/* ADAPTACIÓN MÓVIL (Vertical) */
@media (max-width: 767px) {
    .card-scene {
        width: 90%;
        height: 80%;
        max-height: 600px;
    }
    .business-card-v3:hover {
        transform: rotateX(180deg); /* Giro vertical en móvil */
    }
    .card-v3-face.back {
        transform: rotateX(180deg);
    }
    .brand-central img { height: 120px; }
    .btn-back-hasdra { top: 20px; left: 20px; }
    .data-row { font-size: 16px; }
}

/**
 * COPIAR Y PEGAR AL FINAL DE TU ARCHIVO ORIGINAL
 * Esta sección actualiza la navegación con iconos sólidos y animación constante.
 */

/* 1. NAVEGACIÓN POR ICONOS SÓLIDOS CON ANIMACIÓN CONSTANTE */
.nav-svg-icon {
    width: 24px;
    height: 24px;
    color: var(--h2-white);
    opacity: 0.8;
    fill: currentColor;
    transition: color 0.4s ease, filter 0.4s ease;
    /* Animación constante de flotación sutil */
    animation: constantFloat 3s ease-in-out infinite;
    display: block;
}

/* Cambia solo el color al pasar el ratón */
.nav-menu-v2 li a:hover .nav-svg-icon {
    color: var(--h2-blue);
    opacity: 1;
    filter: drop-shadow(0 0 8px var(--h2-blue-glow));
}

@keyframes constantFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.05);
    }
}

/* Desfase de animación para que no todos se muevan al unísono (opcional) */
.nav-menu-v2 li:nth-child(2) .nav-svg-icon { animation-delay: 0.5s; }
.nav-menu-v2 li:nth-child(3) .nav-svg-icon { animation-delay: 1s; }
.nav-menu-v2 li:nth-child(4) .nav-svg-icon { animation-delay: 1.5s; }

/* 2. ESTILO DE BARRA DE DESPLAZAMIENTO (Scrollbar) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--h2-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--h2-blue);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--h2-blue-dark);
}

/**
 * COPIAR Y PEGAR AL FINAL DE TU ARCHIVO ORIGINAL
 * Esta sección actualiza la navegación con iconos de Font Awesome y animación constante.
 */

/* 1. NAVEGACIÓN POR ICONOS FONT AWESOME CON ANIMACIÓN CONSTANTE */
.nav-icon-anim {
    font-size: 22px;
    color: var(--h2-white);
    opacity: 0.8;
    transition: color 0.4s ease, filter 0.4s ease;
    /* Animación constante de flotación sutil */
    animation: constantFloat 3s ease-in-out infinite;
    display: inline-block;
}

/* Cambia solo el color al pasar el ratón */
.nav-menu-v2 li a:hover .nav-icon-anim {
    color: var(--h2-blue);
    opacity: 1;
    filter: drop-shadow(0 0 8px var(--h2-blue-glow));
}

@keyframes constantFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.08);
    }
}

/* Desfase de animación para evitar sincronía rígida */
.nav-menu-v2 li:nth-child(2) .nav-icon-anim { animation-delay: 0.4s; }
.nav-menu-v2 li:nth-child(3) .nav-icon-anim { animation-delay: 0.8s; }
.nav-menu-v2 li:nth-child(4) .nav-icon-anim { animation-delay: 1.2s; }



/* 3. PÁGINA NOSOTROS: HISTORIA REFINADA */
.nosotros-evolution { background-color: var(--h2-dark); }

.history-timeline-wrapper {
    position: relative;
    padding-left: 30px;
    border-left: 1px solid rgba(255,255,255,0.05);
}

.milestone-item, .milestone-item-gold {
    position: relative;
    margin-bottom: 60px;
    padding-left: 40px;
}

.milestone-icon-box {
    position: absolute;
    left: -51px; /* Centrado con la línea */
    width: 42px;
    height: 42px;
    background: var(--h2-gray-card);
    border: 1px solid var(--h2-glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h2-blue);
    font-size: 18px;
    z-index: 2;
}

.milestone-icon-box.gold {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
}

.milestone-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--h2-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.milestone-text h3 {
    font-size: 1.6rem;
    font-weight: 600; /* Menos pesado */
    margin-bottom: 15px;
    color: var(--h2-white);
}

.milestone-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--h2-text-muted);
}

.featured-quote {
    border-left: 2px solid var(--h2-blue);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--h2-white);
}

/* 4. MISIÓN Y VISIÓN (Cards Modernas y Limpias) */
.value-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--h2-glass-border);
    padding: 50px 40px;
    border-radius: 32px;
    height: 100%;
    transition: var(--h2-transition);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--h2-blue);
    background: rgba(0, 138, 255, 0.02);
}

.value-header {
    margin-bottom: 25px;
}

.value-icon {
    font-size: 42px; /* Más grandes */
    color: var(--h2-blue);
    margin-bottom: 20px;
    display: block;
}

.value-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--h2-white);
    margin: 0;
}

.value-body p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--h2-text-muted);
}

/* 5. REFINAMIENTOS DE PRODUCTO (WooCommerce) */
.woocommerce div.product .product_title {
    font-size: 2.8rem !important;
    font-weight: 600 !important;
    letter-spacing: -1px !important;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--h2-blue) !important;
    font-weight: 700 !important;
    font-size: 2.2rem !important;
}

/* 6. FOOTER REFINADO */
.contact-link-modern {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.contact-link-modern:hover {
    color: var(--h2-blue);
    transform: translateX(5px);
}

.legal-links a {
    color: var(--h2-text-muted);
    text-decoration: none;
    font-size: 12px;
    background: rgba(255,255,255,0.03);
    padding: 6px 15px;
    border-radius: 8px;
    transition: 0.3s;
}

.legal-links a:hover {
    background: var(--h2-blue);
    color: white;
}

@media (max-width: 768px) {
    .milestone-text h3 { font-size: 1.4rem; }
    .value-card { padding: 30px; }
}

/* Botón Saber Más (En Index) */
.btn-learn-more {
    display: inline-block;
    color: var(--h2-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.btn-learn-more:hover {
    color: var(--h2-white);
    transform: translateX(5px);
}

.btn-learn-more i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-learn-more:hover i {
    transform: translateX(3px);
}

/* Páginas de Servicios */
.service-detail-page {
    background-color: var(--h2-dark);
    min-height: 100vh;
}

/* Hero Extendido */
.service-hero-extended {
    min-height: 60vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background: radial-gradient(circle at center, rgba(0, 138, 255, 0.05) 0%, transparent 70%);
}

.service-hero .hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--h2-glass-border);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--h2-blue);
    display: inline-block;
}

.feature-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    /* Efecto Glass en Cards */
    background: var(--h2-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--h2-glass-border) !important;
    border-radius: 24px !important; /* Más redondeado */
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--h2-blue) !important;
    box-shadow: 0 15px 30px rgba(0, 138, 255, 0.1);
}

/* ESTILOS PARA TECH CARDS (Glassmorphism Redondeado) */
.tech-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.03); /* Base semitransparente */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--h2-glass-border) !important;
    border-radius: 24px !important; /* Redondeado suave */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--h2-blue) !important;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 138, 255, 0.15);
}

/* INFOGRAFÍA DE ESTÁNDARES */
.standards-infographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.standard-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--h2-glass-border);
    transition: transform 0.3s ease;
}

.standard-card:hover {
    transform: translateX(10px);
    border-color: var(--h2-blue);
    background: rgba(255, 255, 255, 0.04);
}

.std-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* CAJAS DE CARACTERÍSTICAS DETALLADAS (Para Page Webs) */
.feature-breakdown {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Cards de Tipos Web */
.web-type-card {
    transition: var(--h2-transition);
    border-radius: 24px !important; /* Más redondeado */
    background: var(--h2-glass) !important; /* Base transparente */
    backdrop-filter: blur(12px); /* Desenfoque */
    border: 1px solid var(--h2-glass-border) !important;
}

.web-type-card:hover {
    transform: translateY(-10px);
    border-color: var(--h2-blue) !important;
    background: rgba(255,255,255,0.05) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.bg-primary-soft { background: rgba(13, 110, 253, 0.1); }
.bg-warning-soft { background: rgba(255, 193, 7, 0.1); }
.bg-info-soft { background: rgba(13, 202, 240, 0.1); }
.bg-success-soft { background: rgba(25, 135, 84, 0.1); }

.letter-spacing-2 { letter-spacing: 2px; }









/**
 * Hasdra 2.0 - Store Premium Styles
 * Refinamientos visuales para WooCommerce - Versión Final Completa
 */

/* 1. INPUT DE CANTIDAD (OCULTO) */
.woocommerce .quantity,
.woocommerce div.product form.cart div.quantity {
    display: none !important;
}

/* 2. ZOOM DE IMAGEN (NATIVO CON MOVIMIENTO) */
.woocommerce-product-gallery__trigger {
    display: none !important;
}

.woocommerce div.product div.images {
    border-radius: 20px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px !important;
    overflow: visible !important; 
}

.woocommerce div.product div.images img {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 20px;
    cursor: crosshair;
}

.zoomImg {
    background-color: transparent !important;
    cursor: crosshair;
    z-index: 9999 !important;
    border-radius: 20px;
    display: block !important; 
    opacity: 1 !important;
}

/* 3. INSIGNIA DE OFERTA (Dorado Premium) */
.woocommerce span.onsale {
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%) !important;
    color: #000 !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    top: 20px !important;
    left: 20px !important;
    right: auto !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.2 !important;
    clip-path: polygon(100% 0, 100% 100%, 50% 85%, 0 100%, 0 0); 
    padding-bottom: 15px !important;
    z-index: 9;
}

/* 4. PESTAÑAS (Tabs) - UNA SOLA LÍNEA */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    padding: 0 0 5px 0 !important;
    margin-bottom: 30px !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow-x: auto !important; 
    overflow-y: hidden !important;
    gap: 0 !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    margin: 0 30px 0 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    float: none !important;
    flex-shrink: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--h2-text-muted) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem !important;
    padding: 15px 0 !important;
    position: relative;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--h2-blue) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--h2-blue);
    box-shadow: 0 -2px 10px var(--h2-blue-glow);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    content: none !important;
    display: none !important;
}

/* 5. CONTENIDO DE TABS */
.woocommerce-Tabs-panel {
    color: #ccc;
    line-height: 1.8;
    font-size: 1rem;
    padding: 30px 25px !important;
    margin-top: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
}

.woocommerce-Tabs-panel--description h2 {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
    color: #fff;
}

/* 6. TABLAS */
.woocommerce table.shop_attributes {
    border-collapse: separate !important;
    border-spacing: 0;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    width: 100%;
    margin-bottom: 0 !important;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td {
    border-bottom: none !important;
}

.woocommerce table.shop_attributes th {
    color: var(--h2-blue);
    font-weight: 700;
    width: 150px;
}

.woocommerce table.shop_attributes td {
    color: #ddd;
    font-style: normal !important;
}

/* 7. ESTILO CATEGORÍAS */
.product_meta .posted_in {
    display: block;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--h2-text-muted);
}

.product_meta .posted_in a {
    display: inline-block;
    padding: 5px 15px;
    margin-left: 5px;
    background: rgba(0, 138, 255, 0.1);
    color: var(--h2-blue);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 138, 255, 0.2);
}

.product_meta .posted_in a:hover {
    background: var(--h2-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--h2-blue-glow);
}

/* 8. PRODUCTOS RELACIONADOS */
.related.products {
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 50px;
    padding-bottom: 80px !important; 
    margin-bottom: 60px !important; 
}

.related.products > h2 {
    font-size: 2rem !important;
    margin-bottom: 40px !important;
    text-align: center;
}

.woocommerce .related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 25px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.woocommerce .related ul.products::before,
.woocommerce .related ul.products::after {
    content: none !important;
    display: none !important;
}

.woocommerce .related ul.products > *:not(li.product) {
    display: none !important;
}

.woocommerce .related ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    background: var(--h2-gray-card);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid var(--h2-glass-border);
    transition: transform 0.3s ease;
    display: flex !important;
    flex-direction: column;
}

.woocommerce .related ul.products li.product:empty {
    display: none !important;
}

.woocommerce .related ul.products li.product:hover {
    transform: translateY(-5px);
    border-color: var(--h2-blue);
}

.woocommerce .related ul.products li.product img {
    border-radius: 12px;
    margin-bottom: 15px;
    width: 100% !important;
    height: auto !important;
}

.related.products ul.products li.product .price {
    font-size: 1.1rem !important;
    color: var(--h2-blue) !important;
    margin-bottom: 15px !important;
    display: block;
    font-weight: 700;
    text-decoration: none !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
}

.related.products ul.products li.product .add_to_cart_button,
.related.products ul.products li.product .button {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    background-color: var(--h2-blue) !important;
    color: #fff !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-top: auto !important;
}

.related.products ul.products li.product .add_to_cart_button:hover,
.related.products ul.products li.product .button:hover {
    background-color: var(--h2-blue-dark) !important;
    transform: translateY(-2px);
}

/* 9. CHECKOUT Y CARRITO - Estilización Premium */

/* DIVISION POR CARDS */
.wc-block-checkout__billing-fields, 
.wc-block-checkout__shipping-fields,
.wp-block-woocommerce-checkout-billing-address-block,
.wc-block-components-checkout-step,
body.woocommerce-checkout #customer_details .col-1, 
body.woocommerce-checkout #customer_details .col-2,
body.woocommerce-checkout .woocommerce-additional-fields {
    background: var(--h2-gray-card) !important;
    padding: 35px !important;
    border-radius: 20px !important;
    border: 1px solid var(--h2-glass-border) !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Títulos de Sección */
.wc-block-checkout__billing-fields h3,
.wc-block-components-checkout-step__heading,
body.woocommerce-checkout h3 {
    color: #fff !important;
    font-size: 1.4rem !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* CUPONES */
.wc-block-components-totals-coupon,
form.checkout_coupon, 
.woocommerce-form-coupon {
    background: linear-gradient(145deg, var(--h2-gray-card), rgba(22, 26, 32, 0.9)) !important;
    border: 1px dashed var(--h2-blue) !important;
    padding: 30px !important;
    border-radius: 20px !important;
    margin-bottom: 40px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: center !important;
}

.wc-block-components-totals-coupon p,
form.checkout_coupon p {
    width: 100% !important;
    margin-bottom: 15px !important;
    color: var(--h2-text-muted) !important;
}

/* Input Cupón */
.wc-block-components-totals-coupon__input-coupon,
form.checkout_coupon input.input-text, 
.woocommerce-form-coupon input.input-text {
    background-color: rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    width: auto !important;
    flex-grow: 1 !important;
    margin: 0 !important;
    font-size: 1rem !important;
}

/* Botón Aplicar Cupón */
.wc-block-components-totals-coupon__button,
form.checkout_coupon button.button, 
.woocommerce-form-coupon button.button {
    background-color: transparent !important;
    color: var(--h2-blue) !important;
    border: 1px solid var(--h2-blue) !important;
    padding: 14px 30px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    width: auto !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

.wc-block-components-totals-coupon__button:hover,
form.checkout_coupon button.button:hover {
    background-color: var(--h2-blue) !important;
    color: #fff !important;
    box-shadow: 0 0 15px var(--h2-blue-glow) !important;
}

/* BOTÓN REALIZAR PEDIDO */
.wc-block-components-checkout-place-order-button,
body.woocommerce-checkout #place_order {
    background: linear-gradient(90deg, var(--h2-blue) 0%, var(--h2-blue-dark) 100%) !important;
    color: #fff !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    padding: 20px 40px !important;
    border-radius: 50px !important;
    border: none !important;
    width: 100% !important;
    margin-top: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 138, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    position: relative !important;
}

.wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout #place_order:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(0, 138, 255, 0.5) !important;
    background: linear-gradient(90deg, var(--h2-blue-dark) 0%, var(--h2-blue) 100%) !important;
}

/* Revisión de Pedido y Pago */
#order_review_heading {
    background: var(--h2-gray-card) !important;
    padding: 25px 40px 0 40px !important;
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
    margin-bottom: 0 !important;
    border: 1px solid var(--h2-glass-border) !important;
    border-bottom: none !important;
    font-size: 1.5rem !important;
}

#order_review {
    background: var(--h2-gray-card) !important;
    padding: 0 40px 40px 40px !important;
    border-bottom-left-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
    border: 1px solid var(--h2-glass-border) !important;
    border-top: none !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

/* 10. INPUTS Y LABELS CHECKOUT (CORRECCIÓN DEFINITIVA) */

/* Label: Siempre arriba, nunca flotante */
.wc-block-components-text-input label,
.woocommerce-checkout p.form-row label {
    display: block !important;
    position: static !important; /* Forzar flujo normal */
    margin-bottom: 8px !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--h2-text-muted) !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    transform: none !important; /* Eliminar cualquier animación de movimiento */
    pointer-events: auto !important;
}

/* Input: Estilo limpio sin superposición */
.wc-block-components-text-input input,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 12px 15px !important; /* Padding estándar cómodo */
    font-size: 1rem !important;
    height: auto !important;
    min-height: 45px !important;
    width: 100% !important;
    box-shadow: none !important;
    outline: none !important;
    margin-top: 0 !important;
}

/* Estado Focus */
.wc-block-components-text-input input:focus,
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--h2-blue) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 0 2px rgba(0, 138, 255, 0.2) !important;
}

/* 11. SELECTORES DE PAÍS/REGIÓN (CONTRASTE) */
.wc-blocks-components-select,
.wc-block-components-country-input {
    margin-bottom: 20px !important;
}

/* Select Input */
.wc-blocks-components-select select,
.wc-blocks-components-select__select {
    background-color: var(--h2-gray-card) !important; /* Fondo oscuro sólido */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important; /* Texto blanco */
    border-radius: 10px !important;
    padding: 12px 15px !important;
    height: auto !important;
    min-height: 45px !important;
    cursor: pointer !important;
    -webkit-appearance: none !important; /* Quitar estilo nativo */
    appearance: none !important;
}

/* Opciones del Select (Fondo oscuro) */
.wc-blocks-components-select select option,
.wc-blocks-components-select__select option {
    background-color: #161a20 !important;
    color: #fff !important;
}

/* Label del Select */
.wc-blocks-components-select label,
.wc-blocks-components-select__label {
    display: block !important;
    position: static !important;
    margin-bottom: 5px !important;
    font-size: 0.85rem !important;
    color: var(--h2-text-muted) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

/* Icono de flecha personalizado para selects */
.wc-blocks-components-select {
    position: relative !important;
}

.wc-blocks-components-select::after {
    content: '\f078' !important; /* FontAwesome chevron-down */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    right: 15px !important;
    top: 45px !important; /* Ajustar posición vertical */
    color: var(--h2-blue) !important;
    pointer-events: none !important;
    font-size: 0.8rem !important;
}

/* 12. OPCIONES DE PAGO (LIMPIEZA DE BORDES) */
/* Eliminar bordes internos redundantes */
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option,
.payment_methods li,
.payment_methods label {
    border: none !important;
    box-shadow: none !important;
}

/* Contenedor principal de la opción de pago */
.wc-block-components-radio-control,
.wc-block-components-checkout-step--payment .wc-block-components-radio-control__option-layout {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    transition: all 0.3s ease !important;
    padding: 15px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Estado seleccionado */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-layout--selected,
.payment_methods li.payment_method_selected {
    border-color: var(--h2-blue) !important;
    background: rgba(0, 138, 255, 0.05) !important;
    box-shadow: 0 0 0 1px var(--h2-blue) inset !important;
}

/* Ocultar cualquier borde extra que generen los bloques internos */
.wc-block-components-radio-control__input,
.wc-block-components-radio-control__label {
    border: none !important;
}

/* Tabla de Orden */
.woocommerce-checkout-review-order-table {
    border: none !important;
    margin-bottom: 30px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 20px 0 !important;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table .product-name {
    color: #fff !important;
    font-weight: 500 !important;
}

.woocommerce-checkout-review-order-table .product-total {
    font-weight: 700 !important;
    color: var(--h2-blue) !important;
}

.woocommerce-checkout-review-order-table tfoot th {
    color: var(--h2-text-muted) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

.woocommerce-checkout-review-order-table .order-total th {
    font-size: 1.2rem !important;
    color: #fff !important;
    font-weight: 800 !important;
    border-top: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.5rem !important;
    color: var(--h2-blue) !important;
    font-weight: 800;
    border-top: 2px solid rgba(255, 255, 255, 0.1) !important;
}

/* Métodos de Pago */
#payment {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 16px !important;
    padding: 25px !important;
    margin-top: 20px !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
}

#payment ul.payment_methods {
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    padding: 0 0 20px 0 !important;
    margin: 0 !important;
}

#payment div.payment_box {
    background-color: rgba(0, 138, 255, 0.1) !important;
    color: #ddd !important;
    padding: 20px !important;
    border-radius: 10px !important;
    margin-top: 15px !important;
    font-size: 0.95rem !important;
    border: 1px solid rgba(0, 138, 255, 0.2) !important;
}

#payment div.payment_box::before {
    border-bottom-color: rgba(0, 138, 255, 0.2) !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .woocommerce .related ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .woocommerce .related ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .woocommerce .related ul.products {
        grid-template-columns: 1fr !important;
    }
    
    .related.products > h2 {
        font-size: 1.5rem !important;
    }
    
    .checkout_coupon input.input-text, 
    .checkout_coupon button.button {
        width: 100% !important;
    }
}