/*
Theme Name: Orize Space Theme
Description: Tema principal para plataforma de distribucion de recursos digitales y megapacks.
Author: Orize Space
Version: 1.1.10
*/

/* --- Variables de Marca y Tipografia Global (Dark Premium) --- */
:root {
    --orize-green: #54d423; /* Verde marca principal */
    --orize-green-glow: rgba(84, 212, 35, 0.2);
    --orize-bg: #0a0b10; /* Negro abisal tecnologico */
    --orize-card: #14161e; /* Gris oscuro para paneles */
    --orize-border: #232736; /* Borde metalico sutil */
    --orize-text: #f1f5f9; /* Texto principal (blanco roto para no cansar la vista) */
    --orize-text-muted: #94a3b8; /* Texto secundario */
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--orize-text);
    background-color: var(--orize-bg);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #ffffff;
}
a { color: var(--orize-green); transition: all 0.3s ease; }
a:hover { color: #ffffff; text-shadow: 0 0 8px var(--orize-green-glow); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header y Navegacion */

/* --- Variables de Marca y Tipografia Global (Dark Premium) --- */
:root {
    --orize-green: #54d423; /* Verde marca principal */
    --orize-green-glow: rgba(84, 212, 35, 0.2);
    --orize-bg: #0a0b10; /* Negro abisal tecnologico */
    --orize-card: #14161e; /* Gris oscuro para paneles */
    --orize-border: #232736; /* Borde metalico sutil */
    --orize-text: #f1f5f9; /* Texto principal (blanco roto para no cansar la vista) */
    --orize-text-muted: #94a3b8; /* Texto secundario */
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--orize-text);
    background-color: var(--orize-bg);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #ffffff;
}
a { color: var(--orize-green); transition: all 0.3s ease; }
a:hover { color: #ffffff; text-shadow: 0 0 8px var(--orize-green-glow); }
.site-header { background-color: #1a1a1a; color: #fff; padding: 20px 0; border-bottom: 3px solid #0056b3; }
.header-wrapper { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.site-title a { color: #fff; text-decoration: none; font-size: 28px; font-weight: bold; }
.site-description { font-size: 14px; color: #aaa; margin: 5px 0 0 0; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; }
.main-navigation li { position: relative; }
.main-navigation a { color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; transition: color 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; }
.main-navigation a:hover { color: #00a8ff; }

/* Contenido y Footer */

/* --- Variables de Marca y Tipografia Global (Dark Premium) --- */
:root {
    --orize-green: #54d423; /* Verde marca principal */
    --orize-green-glow: rgba(84, 212, 35, 0.2);
    --orize-bg: #0a0b10; /* Negro abisal tecnologico */
    --orize-card: #14161e; /* Gris oscuro para paneles */
    --orize-border: #232736; /* Borde metalico sutil */
    --orize-text: #f1f5f9; /* Texto principal (blanco roto para no cansar la vista) */
    --orize-text-muted: #94a3b8; /* Texto secundario */
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--orize-text);
    background-color: var(--orize-bg);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #ffffff;
}
a { color: var(--orize-green); transition: all 0.3s ease; }
a:hover { color: #ffffff; text-shadow: 0 0 8px var(--orize-green-glow); }
.site-content { padding: 0; min-height: 60vh; }
.site-footer { background-color: #1a1a1a; color: #ccc; text-align: center; padding: 20px 0; border-top: 1px solid #333; margin-top: 40px; }

/* --- Cuadricula de Productos --- */

/* --- Variables de Marca y Tipografia Global (Dark Premium) --- */
:root {
    --orize-green: #54d423; /* Verde marca principal */
    --orize-green-glow: rgba(84, 212, 35, 0.2);
    --orize-bg: #0a0b10; /* Negro abisal tecnologico */
    --orize-card: #14161e; /* Gris oscuro para paneles */
    --orize-border: #232736; /* Borde metalico sutil */
    --orize-text: #f1f5f9; /* Texto principal (blanco roto para no cansar la vista) */
    --orize-text-muted: #94a3b8; /* Texto secundario */
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--orize-text);
    background-color: var(--orize-bg);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #ffffff;
}
a { color: var(--orize-green); transition: all 0.3s ease; }
a:hover { color: #ffffff; text-shadow: 0 0 8px var(--orize-green-glow); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; margin-bottom: 60px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid #eaeaea; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.product-image { background: #eef2f5; height: 200px; display: flex; align-items: center; justify-content: center; color: #cbd5e1; font-size: 40px; }
.product-info { padding: 20px; text-align: left; }
.product-category { font-size: 12px; color: #0056b3; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; margin-bottom: 5px; display: block; }
.product-title { margin: 0 0 10px 0; font-size: 18px; color: #1a1a1a; line-height: 1.3; }
.product-price { font-size: 22px; font-weight: bold; color: #27ae60; margin-bottom: 15px; }
.btn-buy { display: block; text-align: center; background: #0056b3; color: #fff; padding: 12px; border-radius: 4px; text-decoration: none; font-weight: bold; transition: background 0.3s; }
.btn-buy:hover { background: #1a1a1a; color: #fff; }

/* --- Estilos de Pagina de Producto (WooCommerce) --- */

/* --- Variables de Marca y Tipografia Global (Dark Premium) --- */
:root {
    --orize-green: #54d423; /* Verde marca principal */
    --orize-green-glow: rgba(84, 212, 35, 0.2);
    --orize-bg: #0a0b10; /* Negro abisal tecnologico */
    --orize-card: #14161e; /* Gris oscuro para paneles */
    --orize-border: #232736; /* Borde metalico sutil */
    --orize-text: #f1f5f9; /* Texto principal (blanco roto para no cansar la vista) */
    --orize-text-muted: #94a3b8; /* Texto secundario */
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--orize-text);
    background-color: var(--orize-bg);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #ffffff;
}
a { color: var(--orize-green); transition: all 0.3s ease; }
a:hover { color: #ffffff; text-shadow: 0 0 8px var(--orize-green-glow); }
.woocommerce div.product { display: flex; flex-wrap: wrap; gap: 40px; background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.05); margin-bottom: 40px; border: 1px solid #eaeaea; }
.woocommerce div.product div.images { width: 100%; max-width: 450px; margin-bottom: 20px; }
.woocommerce div.product div.images img { border-radius: 5px; width: 100%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.woocommerce div.product div.summary { flex: 1; min-width: 300px; }
.woocommerce div.product .product_title { font-size: 34px; color: #1a1a1a; margin-top: 0; line-height: 1.2; border-bottom: 2px solid #f4f7f6; padding-bottom: 15px; margin-bottom: 20px; }
.woocommerce div.product p.price { color: #27ae60; font-size: 32px; font-weight: bold; margin-bottom: 25px; display: block; }
.woocommerce div.product form.cart { margin-top: 30px; }
.woocommerce div.product form.cart .button { background: #0056b3; color: #fff; padding: 18px 30px; font-size: 18px; border-radius: 5px; border: none; font-weight: bold; width: 100%; transition: background 0.3s; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; }
.woocommerce div.product form.cart .button:hover { background: #1a1a1a; }
.woocommerce-tabs { width: 100%; margin-top: 50px; }
.woocommerce-tabs ul.tabs { list-style: none; padding: 0; margin: 0 0 20px 0; display: flex; gap: 10px; border-bottom: 2px solid #eaeaea; }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 25px; background: #f8f9fa; color: #555; text-decoration: none; font-weight: bold; border-radius: 5px 5px 0 0; transition: all 0.3s; }
.woocommerce-tabs ul.tabs li.active a { background: #0056b3; color: #fff; }
.woocommerce-Tabs-panel { background: #fff; padding: 30px; border: 1px solid #eaeaea; border-top: none; border-radius: 0 0 5px 5px; line-height: 1.6; color: #444; }

/* --- Optimizacion de Checkout y Carrito --- */

/* --- Variables de Marca y Tipografia Global (Dark Premium) --- */
:root {
    --orize-green: #54d423; /* Verde marca principal */
    --orize-green-glow: rgba(84, 212, 35, 0.2);
    --orize-bg: #0a0b10; /* Negro abisal tecnologico */
    --orize-card: #14161e; /* Gris oscuro para paneles */
    --orize-border: #232736; /* Borde metalico sutil */
    --orize-text: #f1f5f9; /* Texto principal (blanco roto para no cansar la vista) */
    --orize-text-muted: #94a3b8; /* Texto secundario */
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--orize-text);
    background-color: var(--orize-bg);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #ffffff;
}
a { color: var(--orize-green); transition: all 0.3s ease; }
a:hover { color: #ffffff; text-shadow: 0 0 8px var(--orize-green-glow); }
.woocommerce-checkout .woocommerce { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.woocommerce-checkout .woocommerce-billing-fields { flex: 1; min-width: 300px; background: #fff; padding: 30px; border-radius: 8px; border: 1px solid #eaeaea; }
.woocommerce-checkout-review-order { flex: 1; min-width: 300px; background: #f4f7f6; padding: 30px; border-radius: 8px; border: 2px solid #0056b3; }
.woocommerce-checkout h3 { color: #1a1a1a; border-bottom: 2px solid #eaeaea; padding-bottom: 10px; margin-bottom: 20px; font-size: 22px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { border: 1px solid #ccc; padding: 12px; border-radius: 4px; width: 100%; box-sizing: border-box; font-size: 16px; }
.woocommerce form .form-row input.input-text:focus { border-color: #0056b3; outline: none; box-shadow: 0 0 5px rgba(0,86,179,0.2); }
.woocommerce table.shop_table { border: none; border-collapse: collapse; width: 100%; margin-bottom: 20px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 15px 5px; border-bottom: 1px solid #eaeaea; }
.woocommerce-checkout #payment { background: transparent; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid #ccc; padding-bottom: 15px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border: 1px solid #ccc; border-radius: 4px; box-shadow: none; padding: 15px; }
.woocommerce-checkout #payment #place_order { background: #27ae60; color: #fff; padding: 20px; font-size: 20px; border-radius: 5px; width: 100%; font-weight: bold; text-transform: uppercase; transition: background 0.3s; margin-top: 20px; letter-spacing: 1px; border: none; cursor: pointer; }
.woocommerce-checkout #payment #place_order:hover { background: #1e8e3e; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(39,174,96,0.3); }

/* --- Footer Institucional --- */

/* --- Variables de Marca y Tipografia Global (Dark Premium) --- */
:root {
    --orize-green: #54d423; /* Verde marca principal */
    --orize-green-glow: rgba(84, 212, 35, 0.2);
    --orize-bg: #0a0b10; /* Negro abisal tecnologico */
    --orize-card: #14161e; /* Gris oscuro para paneles */
    --orize-border: #232736; /* Borde metalico sutil */
    --orize-text: #f1f5f9; /* Texto principal (blanco roto para no cansar la vista) */
    --orize-text-muted: #94a3b8; /* Texto secundario */
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--orize-text);
    background-color: var(--orize-bg);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #ffffff;
}
a { color: var(--orize-green); transition: all 0.3s ease; }
a:hover { color: #ffffff; text-shadow: 0 0 8px var(--orize-green-glow); }
.site-footer { background-color: #1a1a1a; color: #ccc; padding: 60px 0 20px 0; border-top: 3px solid #0056b3; margin-top: 60px; }
.footer-widgets { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; text-align: left; }
.footer-col { flex: 1; min-width: 250px; }
.footer-col h4 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.footer-col p { font-size: 14px; line-height: 1.6; }
.footer-col ul { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 2; }
.footer-col ul li a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: #00a8ff; }
.site-info { text-align: center; padding-top: 20px; border-top: 1px solid #333; font-size: 14px; }

/* --- Adaptacion Movil (Responsive Design) --- */

/* --- Variables de Marca y Tipografia Global (Dark Premium) --- */
:root {
    --orize-green: #54d423; /* Verde marca principal */
    --orize-green-glow: rgba(84, 212, 35, 0.2);
    --orize-bg: #0a0b10; /* Negro abisal tecnologico */
    --orize-card: #14161e; /* Gris oscuro para paneles */
    --orize-border: #232736; /* Borde metalico sutil */
    --orize-text: #f1f5f9; /* Texto principal (blanco roto para no cansar la vista) */
    --orize-text-muted: #94a3b8; /* Texto secundario */
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--orize-text);
    background-color: var(--orize-bg);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #ffffff;
}
a { color: var(--orize-green); transition: all 0.3s ease; }
a:hover { color: #ffffff; text-shadow: 0 0 8px var(--orize-green-glow); }
@media (max-width: 768px) {
    .header-wrapper { flex-direction: column; text-align: center; gap: 15px; }
    .main-navigation ul { flex-direction: column; gap: 10px; }
    .hero-section h1 { font-size: 32px; }
    .hero-section p { font-size: 16px; }
    .woocommerce div.product { padding: 20px; }
    .woocommerce-checkout .woocommerce { flex-direction: column; }
    .woocommerce div.product div.summary { min-width: 100%; }
}


.site-logo img:hover { transform: scale(1.02); }

/* --- Ajuste de Logotipo --- */

/* --- Variables de Marca y Tipografia Global (Dark Premium) --- */
:root {
    --orize-green: #54d423; /* Verde marca principal */
    --orize-green-glow: rgba(84, 212, 35, 0.2);
    --orize-bg: #0a0b10; /* Negro abisal tecnologico */
    --orize-card: #14161e; /* Gris oscuro para paneles */
    --orize-border: #232736; /* Borde metalico sutil */
    --orize-text: #f1f5f9; /* Texto principal (blanco roto para no cansar la vista) */
    --orize-text-muted: #94a3b8; /* Texto secundario */
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--orize-text);
    background-color: var(--orize-bg);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #ffffff;
}
a { color: var(--orize-green); transition: all 0.3s ease; }
a:hover { color: #ffffff; text-shadow: 0 0 8px var(--orize-green-glow); }
.site-logo img { max-height: 65px; width: auto; display: block; transition: transform 0.3s ease; }
.site-logo img:hover { transform: scale(1.02); }

/* --- Cuadricula de Productos (Dark Cards) --- */
.woocommerce ul.products li.product {
    background: var(--orize-card);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding-bottom: 20px;
    text-align: center;
    border: 1px solid var(--orize-border);
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    border-color: var(--orize-green);
    box-shadow: 0 10px 40px var(--orize-green-glow);
}
.woocommerce ul.products li.product img {
    border-radius: 12px 12px 0 0;
    margin-bottom: 15px;
    width: 100%;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.woocommerce ul.products li.product:hover img {
    opacity: 1;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    padding: 0 15px;
    margin-bottom: 10px;
    color: var(--orize-text);
}
.woocommerce ul.products li.product .price {
    color: var(--orize-green);
    font-size: 22px;
    font-weight: 800;
    display: block;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(84,212,35,0.1);
}
.woocommerce ul.products li.product .button {
    background-color: transparent;
    color: var(--orize-green);
    border: 2px solid var(--orize-green);
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.woocommerce ul.products li.product .button:hover {
    background-color: var(--orize-green);
    color: var(--orize-bg);
    box-shadow: 0 0 15px var(--orize-green-glow);
}

/* --- Correccion Forzada: Botones WooCommerce --- */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit {
    background-color: transparent !important;
    color: var(--orize-green) !important;
    border: 2px solid var(--orize-green) !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover, 
.woocommerce #respond input#submit:hover {
    background-color: var(--orize-green) !important;
    color: var(--orize-bg) !important;
    box-shadow: 0 0 15px var(--orize-green-glow) !important;
}

/* --- Correccion Forzada: Fondos de Tarjetas --- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background-color: var(--orize-card) !important;
    border: 1px solid var(--orize-border) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important;
}

/* =========================================================
   DOMINACION TOTAL DE ESTILOS: CABECERA, TARJETAS Y BOTONES 
   ========================================================= */

/* 1. Aniquilar la franja azul superior (Selectores multiples de tema) */
.site-header, 
.site-header-wrapper, 
.main-navigation, 
.storefront-primary-navigation, 
header#masthead, 
.wp-block-template-part header,
.has-background {
    background-color: var(--orize-bg) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--orize-border) !important;
}

/* 2. Forzar Fondo Oscuro en Tarjetas (Incluyendo bloques Gutenberg/WooCommerce) */
.woocommerce ul.products li.product, 
.wc-block-grid__product, 
.wc-block-grid__products .wc-block-grid__product, 
ul.wc-block-grid__products li.product {
    background-color: var(--orize-card) !important;
    border: 1px solid var(--orize-border) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important;
}

/* Evitar parches blancos detras de las imagenes de los megapacks */
.woocommerce ul.products li.product a img, 
.wc-block-grid__product-image img,
.attachment-woocommerce_thumbnail {
    background-color: transparent !important;
}

/* 3. Forzar Botones Verdes Corporativos (Selectores Profundos) */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit,
.woocommerce ul.products li.product .button,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link,
.wc-block-grid__product-add-to-cart a.button,
.theme-button, 
.wp-block-button__link {
    background-color: transparent !important;
    color: var(--orize-green) !important;
    border: 2px solid var(--orize-green) !important;
    background-image: none !important;
    border-radius: 6px !important;
    text-shadow: none !important;
}

.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover, 
.woocommerce #respond input#submit:hover,
.woocommerce ul.products li.product .button:hover,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover,
.wp-block-button__link:hover {
    background-color: var(--orize-green) !important;
    color: var(--orize-bg) !important;
    box-shadow: 0 0 15px var(--orize-green-glow) !important;
}

/* --- Hero Section (Dark UI) --- */
.hero-section {
    background-color: var(--orize-bg);
    border-bottom: 1px solid var(--orize-border);
    padding: 100px 20px;
    text-align: center;
}
.hero-section h1 {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 40px rgba(84, 212, 35, 0.15);
}
.hero-section p {
    font-size: 18px;
    color: var(--orize-text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}
.hero-cta {
    display: inline-block;
    background-color: transparent !important;
    color: var(--orize-green) !important;
    border: 2px solid var(--orize-green) !important;
    padding: 16px 36px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease !important;
}
.hero-cta:hover {
    background-color: var(--orize-green) !important;
    color: var(--orize-bg) !important;
    box-shadow: 0 0 25px var(--orize-green-glow) !important;
    text-shadow: none !important;
}

/* =========================================================
   SOMETIMIENTO DE WOOCOMMERCE BLOCKS (TARJETAS Y BOTONES)
   ========================================================= */

/* 1. Fondo y borde de la tarjeta del bloque */
.wc-block-grid__product,
.wc-block-components-product-card,
.wp-block-woocommerce-product-collection {
    background-color: var(--orize-card) !important;
    border: 1px solid var(--orize-border) !important;
    border-radius: 12px !important;
    padding-bottom: 15px !important;
}

/* 2. Quitar fondo blanco del contenedor de la imagen */
.wc-block-components-product-image,
.wc-block-components-product-image img {
    background-color: transparent !important;
}

/* 3. Forzar el titulo a color blanco */
.wc-block-components-product-title,
.wc-block-grid__product-title {
    color: #ffffff !important;
}

/* 4. Transformar los botones azules a botones Fantasma Verdes */
.wc-block-components-product-button .wp-block-button__link,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-components-product-button .add_to_cart_button {
    background-color: transparent !important;
    color: var(--orize-green) !important;
    border: 2px solid var(--orize-green) !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

/* 5. Efecto hover tecnologico para los botones de los bloques */
.wc-block-components-product-button .wp-block-button__link:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wc-block-components-product-button .add_to_cart_button:hover {
    background-color: var(--orize-green) !important;
    color: var(--orize-bg) !important;
    box-shadow: 0 0 15px var(--orize-green-glow) !important;
}

/* =========================================================
   SOMETIMIENTO DE MAXIMA ESPECIFICIDAD (MENU Y TARJETAS)
   ========================================================= */

/* 1. Menu de Navegacion (Estado Activo y Hover) */
body .main-navigation ul li.current-menu-item > a,
body .main-navigation ul li.current_page_item > a,
body .main-navigation ul li > a:hover,
body .site-header .main-navigation ul li > a:hover,
body .nav-menu li a:hover,
body .current-menu-ancestor > a {
    color: var(--orize-green) !important;
    text-shadow: 0 0 8px var(--orize-green-glow) !important;
}

/* 2. Aniquilar el fondo blanco de TODOS los contenedores de las tarjetas */
body.woocommerce ul.products li.product,
body .woocommerce ul.products li.product,
body .wc-block-grid__product,
body .wc-block-components-product-card,
body .woocommerce ul.products li.product .product-inner,
body .woocommerce ul.products li.product .ast-loop-product__header,
body .woocommerce ul.products li.product .mf-product-details {
    background-color: var(--orize-card) !important;
    border-color: var(--orize-border) !important;
}

/* 3. Forzar fondo transparente para que no queden cuadros blancos en imagen o texto */
body .woocommerce ul.products li.product a img,
body .woocommerce ul.products li.product .woocommerce-loop-product__title,
body .woocommerce ul.products li.product .price {
    background-color: transparent !important;
}

/* 4. Transformacion de botones azules a verde neon (Ghost Buttons) */
body .woocommerce ul.products li.product a.button,
body .woocommerce a.button.add_to_cart_button,
body .woocommerce-page a.button.add_to_cart_button,
body .wc-block-grid__product-add-to-cart .wp-block-button__link {
    background-color: transparent !important;
    color: var(--orize-green) !important;
    border: 2px solid var(--orize-green) !important;
    background-image: none !important;
    border-radius: 6px !important;
}

body .woocommerce ul.products li.product a.button:hover,
body .woocommerce a.button.add_to_cart_button:hover,
body .woocommerce-page a.button.add_to_cart_button:hover,
body .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background-color: var(--orize-green) !important;
    color: var(--orize-bg) !important;
    box-shadow: 0 0 15px var(--orize-green-glow) !important;
}

/* =========================================================
   DOMINACION TOTAL: DARK UI ORIZE SPACE
   ========================================================= */

/* 1. Aniquilar fondos blancos de las tarjetas */
body .woocommerce ul.products li.product, 
body .wc-block-grid__product, 
body .wc-block-components-product-card {
    background-color: #14161e !important;
    border: 1px solid #232736 !important;
}
body .wc-block-components-product-image, 
body .wc-block-components-product-image img,
body .woocommerce ul.products li.product a img {
    background-color: transparent !important;
}

/* 2. Textos de tarjetas en blanco */
body .woocommerce-loop-product__title, 
body .wc-block-components-product-title {
    color: #ffffff !important;
}

/* 3. Transformar botones azules a Verde Corporativo */
body .woocommerce a.button, 
body .woocommerce button.button, 
body .wc-block-components-product-button .wp-block-button__link,
body .wc-block-grid__product-add-to-cart .wp-block-button__link {
    background-color: transparent !important;
    color: #54d423 !important;
    border: 2px solid #54d423 !important;
    background-image: none !important;
}

/* 4. Efecto Hover de Botones */
body .woocommerce a.button:hover, 
body .woocommerce button.button:hover, 
body .wc-block-components-product-button .wp-block-button__link:hover {
    background-color: #54d423 !important;
    color: #0a0b10 !important;
    box-shadow: 0 0 15px rgba(84, 212, 35, 0.2) !important;
}

/* 5. Menu de Navegacion (Erradicar azul del estado activo) */
body .main-navigation ul li.current-menu-item > a,
body .main-navigation ul li.current_page_item > a {
    color: #54d423 !important;
}

/* =========================================================
   BOTONES AÑADIR AL CARRITO — VERDE CORPORATIVO SÓLIDO
   Elimina el azul/turquesa de WooCommerce por completo.
   ========================================================= */

/* Estado normal: fondo verde sólido, texto oscuro */
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce #respond input#submit,
body .woocommerce .single_add_to_cart_button,
body .woocommerce-page .single_add_to_cart_button,
body .woocommerce a.button.add_to_cart_button,
body .woocommerce-page a.button.add_to_cart_button,
body .woocommerce button[name="add-to-cart"],
body .wc-block-components-product-button .wp-block-button__link,
body .wc-block-grid__product-add-to-cart .wp-block-button__link {
    background-color: #54d423 !important;
    background-image: none !important;
    color: #0a0b10 !important;
    border: 2px solid #54d423 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Hover: verde más oscuro con glow */
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover,
body .woocommerce #respond input#submit:hover,
body .woocommerce .single_add_to_cart_button:hover,
body .woocommerce-page .single_add_to_cart_button:hover,
body .woocommerce a.button.add_to_cart_button:hover,
body .woocommerce-page a.button.add_to_cart_button:hover,
body .wc-block-components-product-button .wp-block-button__link:hover,
body .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background-color: #3fb81a !important;
    border-color: #3fb81a !important;
    color: #0a0b10 !important;
    box-shadow: 0 0 14px rgba(84, 212, 35, 0.4) !important;
}

/* =========================================================
   ANULA CUALQUIER COLOR AZUL EN BOTONES — COBERTURA .alt
   ========================================================= */
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce input.button,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce .single_add_to_cart_button.alt,
.woocommerce .add_to_cart_button,
.woocommerce .add_to_cart_button.alt,
.woocommerce .products .button,
.woocommerce .products .button.alt {
    background-color: #54d423 !important;
    color: #0a0b10 !important;
    border-color: #54d423 !important;
    box-shadow: none !important;
}

.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button.alt:hover,
.woocommerce .add_to_cart_button:hover,
.woocommerce .add_to_cart_button.alt:hover,
.woocommerce .products .button:hover,
.woocommerce .products .button.alt:hover {
    background-color: #3fb81a !important;
    color: #0a0b10 !important;
    box-shadow: 0 0 20px rgba(84, 212, 35, 0.5) !important;
}

/* =========================================================
   .btn-buy — OVERRIDE VERDE CORPORATIVO
   Sobrescribe #0056b3 (azul, L121) con especificidad alta.
   ========================================================= */
body .btn-buy,
body a.btn-buy,
body button.btn-buy,
body input.btn-buy {
    background-color: #54d423 !important;
    background-image: none !important;
    color: #0a0b10 !important;
    border-color: #54d423 !important;
    box-shadow: none !important;
}

body .btn-buy:hover,
body a.btn-buy:hover,
body button.btn-buy:hover,
body input.btn-buy:hover {
    background-color: #3fb81a !important;
    background-image: none !important;
    color: #0a0b10 !important;
    border-color: #3fb81a !important;
    box-shadow: 0 0 20px rgba(84, 212, 35, 0.6) !important;
}

/* ============================================
   1. BOTON "ANADIR AL CARRITO" - TEXTO BLANCO
   ============================================ */
.btn-buy,
.woocommerce .button.alt,
.single_add_to_cart_button,
.add_to_cart_button {
    background: #54d423 !important;
    color: #ffffff !important;
    border-color: #54d423 !important;
}

.btn-buy:hover,
.woocommerce .button.alt:hover,
.single_add_to_cart_button:hover,
.add_to_cart_button:hover {
    background: #3fb81a !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(84, 212, 35, 0.5) !important;
}

/* ============================================
   2. LINEA SEPARADORA DEL PIE DE PAGINA
   ============================================ */
.site-footer,
footer,
.footer,
.site-footer .footer-widgets,
.site-footer .site-info {
    border-top: 3px solid #54d423 !important;
    border-color: #54d423 !important;
}

.site-footer hr,
footer hr,
.footer hr {
    border-color: #54d423 !important;
    background-color: #54d423 !important;
}

/* ============================================
   3. COLOR DE RESALTADO DE TEXTO (SELECTION)
   ============================================ */
::selection {
    background: #54d423 !important;
    color: #ffffff !important;
}

::-moz-selection {
    background: #54d423 !important;
    color: #ffffff !important;
}

/* ============================================
   PALETA DE COLORES OPTIMIZADA — v2
   Verde suave y profesional #2ecc71
   ============================================ */
:root {
    --orize-green: #2ecc71;
    --orize-green-dark: #27ae60;
    --orize-green-light: #a8e6cf;
    --orize-green-glow: rgba(46, 204, 113, 0.3);
}

/* 1. BOTONES */
.btn-buy,
.woocommerce .button.alt,
.single_add_to_cart_button,
.add_to_cart_button,
a.btn-buy {
    background: var(--orize-green) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.25) !important;
}

.btn-buy:hover,
.woocommerce .button.alt:hover,
.single_add_to_cart_button:hover,
.add_to_cart_button:hover,
a.btn-buy:hover {
    background: var(--orize-green-dark) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.4) !important;
}

/* 2. FOOTER BORDER SUTIL */
.site-footer,
footer,
.footer,
.site-footer .footer-widgets,
.site-footer .site-info {
    border-top: 2px solid rgba(46, 204, 113, 0.3) !important;
    border-color: rgba(46, 204, 113, 0.3) !important;
    box-shadow: 0 -2px 10px rgba(46, 204, 113, 0.05) !important;
}

.site-footer hr,
footer hr,
.footer hr {
    border: none !important;
    height: 2px !important;
    background: linear-gradient(to right, transparent, var(--orize-green-light), transparent) !important;
    margin: 20px auto !important;
    max-width: 80% !important;
}

/* 3. SELECTION */
::selection {
    background: var(--orize-green) !important;
    color: #ffffff !important;
}

::-moz-selection {
    background: var(--orize-green) !important;
    color: #ffffff !important;
}

/* 4. FOOTER ESPACIADO */
.site-footer,
footer,
.footer {
    padding: 40px 20px 20px !important;
}

.site-footer .footer-widgets,
footer .footer-widgets,
.footer .footer-widgets {
    padding-bottom: 30px !important;
    margin-bottom: 20px !important;
}

.site-footer .site-info,
footer .site-info,
.footer .site-info {
    padding-top: 20px !important;
    border-top: 1px solid rgba(46, 204, 113, 0.15) !important;
}

/* ============================================
   REDISEÑO VISUAL MODERNO — ESMERALDA GLOW
   ============================================ */
:root {
  --primary: #00b894;
  --primary-dark: #00a381;
  --primary-glow: rgba(0, 184, 148, 0.3);
  --bg-dark: #0a0b10;
  --text-light: #e8e8e8;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Tipografía mejorada */
body {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--text-light);
  background: var(--bg-dark);
}

/* Gradiente animado en títulos */
h1, h2, .site-title, .entry-title, .woocommerce-loop-product__title {
  background: linear-gradient(90deg, #00b894, #00e676, #00b894);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradiente 6s ease infinite;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@keyframes gradiente {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Efecto de brillo en hover de títulos */
h1:hover, h2:hover, .site-title:hover, .entry-title:hover {
  filter: drop-shadow(0 0 20px var(--primary-glow));
  transition: filter 0.3s;
}

/* Botones con gradiente y sombra */
body .btn-buy, 
body .woocommerce a.button, 
body .woocommerce button.button, 
body .woocommerce input.button,
body .single_add_to_cart_button,
body .add_to_cart_button {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 20px var(--primary-glow) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body .btn-buy:hover, 
body .woocommerce a.button:hover, 
body .woocommerce button.button:hover, 
body .woocommerce input.button:hover,
body .single_add_to_cart_button:hover,
body .add_to_cart_button:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 35px var(--primary-glow) !important;
  background: linear-gradient(135deg, var(--primary-dark), #008f6b) !important;
}

/* Tarjetas de productos */
.product-card, .product-item, .woocommerce ul.products li.product, .wc-block-grid__product {
  background: rgba(255,255,255,0.03) !important;
  border-radius: var(--radius) !important;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.05) !important;
  padding: 20px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.product-card:hover, .product-item:hover, .woocommerce ul.products li.product:hover, .wc-block-grid__product:hover {
  transform: scale(1.02) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 12px 40px rgba(0,184,148,0.15) !important;
}

/* Footer */
.site-footer, footer {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(10,11,16,0.9) !important;
  padding: 40px 20px !important;
  color: rgba(255,255,255,0.7) !important;
}

.site-footer a, footer a {
  color: var(--primary) !important;
  transition: color 0.3s;
}
.site-footer a:hover, footer a:hover {
  color: #fff !important;
}

/* Resaltado de texto */
::selection {
  background: var(--primary) !important;
  color: #fff !important;
}
::-moz-selection {
  background: var(--primary) !important;
  color: #fff !important;
}

/* Mejora de enlaces */
a {
  color: var(--primary);
  transition: all 0.3s;
}
a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Efecto de entrada sutil para elementos (opcional) */
.fade-in {
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   GRID DE PRODUCTOS A 2 COLUMNAS (WOOCOMMERCE)
   ============================================ */
/* Limpiar pseudo-elementos que rompen CSS Grid en WooCommerce */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.products::before,
.products::after {
    display: none !important;
}

/* Forzar 2 columnas en escritorio */
.woocommerce ul.products,
.woocommerce-page ul.products,
.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.products .product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

/* En tablets: 2 columnas */
@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

/* En móviles: 1 columna */
@media (max-width: 480px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .products {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* =========================================
   ORIZE SPACE - CATALOGO 2 COLUMNAS (FINAL)
========================================= */

/* Correccion pseudo-elementos (vital para Grid) */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

/* WooCommerce clasico */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

/* Productos WooCommerce clasicos */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* WooCommerce Blocks */
.wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.wc-block-grid__product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}


/* =========================================
   RESPONSIVE - MOVIL
========================================= */

@media screen and (max-width: 600px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .wc-block-grid__products {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   SECCIÓN DE INICIO - 2 COLUMNAS MODERNAS
   ============================================ */

/* Anular pseudo-elementos que rompen CSS Grid */
.home ul.products::before,
.home ul.products::after {
    display: none !important;
}

/* Contenedor principal */
.home ul.products,
.home .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    padding: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Cada producto */
.home ul.products li.product,
.home .wc-block-grid__product {
    background: rgba(255,255,255,0.05) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
    text-align: center !important;
    width: 100% !important;
    float: none !important;
}

.home ul.products li.product:hover,
.home .wc-block-grid__product:hover {
    transform: translateY(-8px) !important;
    border-color: #00b894 !important;
    box-shadow: 0 12px 40px rgba(0,184,148,0.2) !important;
}

/* Imágenes dentro del producto */
.home ul.products li.product img,
.home .wc-block-grid__product img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
}

/* Títulos y precios */
.home ul.products li.product h2,
.home ul.products li.product h3,
.home ul.products li.product .woocommerce-loop-product__title,
.home .wc-block-grid__product .wc-block-grid__product-title {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    margin: 10px 0 !important;
    color: #ffffff !important;
}

.home ul.products li.product .price,
.home .wc-block-grid__product .price {
    font-size: 1.2rem !important;
    color: #00b894 !important;
    font-weight: 700 !important;
}

/* Botón de compra dentro de la sección */
.home ul.products li.product .button,
.home .wc-block-grid__product .wp-block-button__link {
    background: linear-gradient(135deg, #00b894, #00a381) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,184,148,0.3) !important;
}

.home ul.products li.product .button:hover,
.home .wc-block-grid__product .wp-block-button__link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0,184,148,0.4) !important;
}

/* Responsive: tablets */
@media (max-width: 768px) {
    .home ul.products,
    .home .wc-block-grid__products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 15px !important;
    }
}

/* Responsive: móviles */
@media (max-width: 480px) {
    .home ul.products,
    .home .wc-block-grid__products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 10px !important;
    }
}

/* ============================================
   ARREGLAR CARRITO Y CHECKOUT
   ============================================ */

/* Carrito: tabla de productos */
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th {
    padding: 15px !important;
    vertical-align: middle !important;
    color: #e8e8e8 !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.woocommerce-cart table.cart .product-thumbnail img {
    max-width: 80px !important;
    height: auto !important;
    border-radius: 8px !important;
}

.woocommerce-cart table.cart .product-name a {
    color: #fff !important;
    font-weight: 600 !important;
}

/* Carrito: totales y botones */
.cart-collaterals .cart_totals {
    background: rgba(255,255,255,0.05) !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

.cart-collaterals .cart_totals h2 {
    color: #fff !important;
}

.wc-proceed-to-checkout .checkout-button {
    background: linear-gradient(135deg, #00b894, #00a381) !important;
    color: #fff !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0,184,148,0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
    width: 100% !important;
}

.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0,184,148,0.4) !important;
}

/* Checkout: formulario */
.woocommerce-checkout .col2-set {
    margin-bottom: 30px !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    background: rgba(255,255,255,0.05) !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .form-row label {
    color: #fff !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    padding: 10px !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Checkout: resumen del pedido y tabla */
.woocommerce-checkout #order_review_heading {
    color: #fff !important;
    margin-top: 20px !important;
}

.woocommerce-checkout .shop_table {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    padding: 15px !important;
    border-collapse: separate !important;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    padding: 12px !important;
    color: #fff !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}

/* Checkout: metodos de pago */
#payment {
    background: rgba(255,255,255,0.05) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

#payment ul.payment_methods {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding-bottom: 15px !important;
}

#payment div.payment_box {
    background: rgba(0,0,0,0.2) !important;
    color: #e8e8e8 !important;
}

/* Checkout: botón de pagar */
.woocommerce-checkout .place-order .button {
    background: linear-gradient(135deg, #00b894, #00a381) !important;
    color: #fff !important;
    padding: 15px 40px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0,184,148,0.3) !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 15px !important;
}

.woocommerce-checkout .place-order .button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0,184,148,0.4) !important;
}

/* ============================================
   CORREGIR DESORDEN EN MENSAJES Y TIENDA (wowcommerce)
   ============================================ */

/* --- 1. MENSAJE DE CONFIRMACIÓN Y BOTÓN --- */
.woocommerce-message,
.wowcommerce-message,
.wc-block-grid .wc-block-grid__product {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    background: rgba(0,184,148,0.1) !important;
    border-left: 4px solid #00b894 !important;
    border-radius: 8px !important;
    color: #e8e8e8 !important;
}

.woocommerce-message .button,
.wowcommerce-message .button,
.wc-block-grid .button {
    background: #00b894 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
    box-shadow: none !important;
    order: 2 !important; /* Mueve el boton a la derecha/abajo */
}

.woocommerce-message .button:hover,
.wowcommerce-message .button:hover,
.wc-block-grid .button:hover {
    background: #00a381 !important;
    transform: translateY(-2px) !important;
}

/* --- 2. GRID DE PRODUCTOS (TIENDA wowcommerce) --- */
/* Anular pseudo-elementos que rompen CSS Grid */
.wowcommerce.ui.products::before,
.wowcommerce.ui.products::after,
.wowcommerce ul.products::before,
.wowcommerce ul.products::after {
    display: none !important;
}

.wowcommerce.ui.products,
.wowcommerce ul.products,
.wc-block-grid .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

.wowcommerce.ui.products li.product,
.wowcommerce ul.products li.product,
.wc-block-grid .wc-block-grid__product {
    list-style: none !important;
    background: rgba(255,255,255,0.03) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
    text-align: center !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

.wowcommerce.ui.products li.product:hover,
.wowcommerce ul.products li.product:hover,
.wc-block-grid .wc-block-grid__product:hover {
    transform: translateY(-8px) !important;
    border-color: #00b894 !important;
    box-shadow: 0 12px 40px rgba(0,184,148,0.15) !important;
}

/* Imágenes dentro de los productos (Evita deformacion) */
.wowcommerce.ui.products li.product a img,
.wowcommerce ul.products li.product a img,
.wc-block-grid .wc-block-grid__product img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
}

/* Precios y títulos */
.wowcommerce.ui.products li.product .price,
.wowcommerce ul.products li.product .price,
.wc-block-grid .wc-block-grid__product .price {
    color: #00b894 !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    display: block !important;
    margin: 10px 0 !important;
}

.wowcommerce.ui.products li.product h2,
.wowcommerce ul.products li.product h2,
.wc-block-grid .wc-block-grid__product h2 {
    font-size: 1.3rem !important;
    color: #fff !important;
    margin: 10px 0 !important;
}

/* Botones dentro de los productos */
.wowcommerce.ui.products li.product .button,
.wowcommerce ul.products li.product .button,
.wc-block-grid .wc-block-grid__product .button {
    background: linear-gradient(135deg, #00b894, #00a381) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,184,148,0.3) !important;
    display: inline-block !important;
    margin-top: 10px !important;
}

.wowcommerce.ui.products li.product .button:hover,
.wowcommerce ul.products li.product .button:hover,
.wc-block-grid .wc-block-grid__product .button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0,184,148,0.4) !important;
}

/* --- 3. RESPONSIVE --- */
@media (max-width: 768px) {
    .wowcommerce.ui.products,
    .wowcommerce ul.products,
    .wc-block-grid .wc-block-grid__products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    .wowcommerce.ui.products,
    .wowcommerce ul.products,
    .wc-block-grid .wc-block-grid__products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .woocommerce-message,
    .wowcommerce-message {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
    }

    .woocommerce-message .button,
    .wowcommerce-message .button {
        margin-top: 15px !important;
        order: 1 !important; /* En movil, el boton va debajo del texto */
    }
}

/* ============================================
   REDUCIR TAMAÑO DE PRODUCTOS EN TIENDA
   ============================================ */

/* Eliminar pseudo-elementos conflictivos */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.wowcommerce.ui.products::before,
.wowcommerce.ui.products::after {
    display: none !important;
}

/* Contenedor del grid - centrado y limitado a 900px */
.woocommerce ul.products,
.wowcommerce.ui.products,
.wc-block-grid .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(280px, 380px)) !important;
    justify-content: center !important;
    gap: 30px !important;
    padding: 20px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* Cada producto - max-width 380px */
.woocommerce ul.products li.product,
.wowcommerce.ui.products li.product,
.wc-block-grid .wc-block-grid__product {
    background: rgba(255,255,255,0.05) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    float: none !important;
}

/* Imágenes de producto */
.woocommerce ul.products li.product img,
.wowcommerce.ui.products li.product img,
.wc-block-grid .wc-block-grid__product img {
    max-width: 80% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    margin: 0 auto 15px !important;
    display: block !important;
}

/* Títulos y precios reducidos proporcionalmente */
.woocommerce ul.products li.product h2,
.wowcommerce.ui.products li.product h2,
.wc-block-grid .wc-block-grid__product .wc-block-grid__product-title {
    font-size: 1.1rem !important;
    color: #fff !important;
    margin: 10px 0 !important;
    line-height: 1.4 !important;
}

.woocommerce ul.products li.product .price,
.wowcommerce.ui.products li.product .price,
.wc-block-grid .wc-block-grid__product .price {
    font-size: 1rem !important;
    color: #00b894 !important;
    font-weight: 700 !important;
    display: block !important;
    margin-bottom: 15px !important;
}

/* Botones proporcionados */
.woocommerce ul.products li.product .button,
.wowcommerce.ui.products li.product .button,
.wc-block-grid .wc-block-grid__product .wp-block-button__link {
    background: linear-gradient(135deg, #00b894, #00a381) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

/* Responsive: tablets */
@media (max-width: 768px) {
    .woocommerce ul.products,
    .wowcommerce.ui.products,
    .wc-block-grid .wc-block-grid__products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 15px !important;
        max-width: 100% !important;
    }
    
    .woocommerce ul.products li.product,
    .wowcommerce.ui.products li.product,
    .wc-block-grid .wc-block-grid__product {
        max-width: 100% !important;
    }
}

/* Responsive: móviles */
@media (max-width: 480px) {
    .woocommerce ul.products,
    .wowcommerce.ui.products,
    .wc-block-grid .wc-block-grid__products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 10px !important;
    }
    
    .woocommerce ul.products li.product img,
    .wowcommerce.ui.products li.product img,
    .wc-block-grid .wc-block-grid__product img {
        max-width: 70% !important;
    }
}

/* ============================================
   REDUCIR TARJETAS Y OCULTAR CONTENIDO EXTRA
   ============================================ */

/* --- 1. TARJETAS DE PRODUCTO --- */
.woocommerce ul.products li.product,
.wowcommerce.ui.products li.product,
.products .product,
.wc-block-grid .wc-block-grid__product {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    justify-self: center !important; /* Vital para centrar en CSS Grid */
    padding: 15px !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

/* Imágenes más pequeñas */
.woocommerce ul.products li.product img,
.wowcommerce.ui.products li.product img,
.wc-block-grid .wc-block-grid__product img {
    max-width: 70% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    margin: 0 auto 12px !important;
    display: block !important;
}

/* Títulos y precios */
.woocommerce ul.products li.product h2,
.wowcommerce.ui.products li.product h2,
.wc-block-grid .wc-block-grid__product .wc-block-grid__product-title {
    font-size: 1rem !important;
    color: #fff !important;
    margin: 8px 0 !important;
    line-height: 1.3 !important;
}

.woocommerce ul.products li.product .price,
.wowcommerce.ui.products li.product .price,
.wc-block-grid .wc-block-grid__product .price {
    font-size: 0.95rem !important;
    color: #00b894 !important;
    font-weight: 700 !important;
    display: block !important;
    margin-bottom: 12px !important;
}

/* Botones */
.woocommerce ul.products li.product .button,
.wowcommerce.ui.products li.product .button,
.wc-block-grid .wc-block-grid__product .wp-block-button__link {
    font-size: 0.8rem !important;
    padding: 8px 16px !important;
    background: #00b894 !important;
    color: #fff !important;
    border-radius: 6px !important;
    border: none !important;
    transition: all 0.3s !important;
    display: inline-block !important;
}

/* --- 2. OCULTAR CONTENIDO EXTRA DESORDENADO --- */
.woocommerce-archive .term-description,
.woocommerce-archive .woocommerce-products-header__description,
.woocommerce-archive .page-description,
.archive .category-description,
.archive .taxonomy-description,
.content-area .entry-content > ul,
.content-area .entry-content > h3,
.content-area .entry-content > p:not(.woocommerce-result-count) {
    display: none !important;
}

/* --- 3. RESPONSIVE --- */
@media (max-width: 768px) {
    .woocommerce ul.products li.product,
    .wowcommerce.ui.products li.product,
    .wc-block-grid .wc-block-grid__product {
        max-width: 100% !important;
        padding: 12px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products li.product img,
    .wowcommerce.ui.products li.product img,
    .wc-block-grid .wc-block-grid__product img {
        max-width: 80% !important;
    }
}

/* ============================================
   SISTEMA DE DISEÑO NEXUSDIGITAL PARA ORIZ SPACE
   ============================================ */

:root {
  /* Colores */
  --bg-primary: #07080d;
  --bg-secondary: #0f121d;
  --bg-tertiary: #161b2e;
  --bg-card: rgba(22, 27, 46, 0.65);
  --bg-glass: rgba(15, 18, 29, 0.75);
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(99, 102, 241, 0.4);
  
  --gradient-hero: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px var(--primary-glow);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --container-max: 1240px;
  --nav-height: 76px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  scroll-behavior: smooth;
  line-height: 1.6;
}

body {
  background: radial-gradient(circle at 50% 0%, #151930 0%, var(--bg-primary) 70%) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}

/* ============================================
   NAVBAR (HEADER) - ADAPTACIÓN A WORDPRESS
   ============================================ */
.site-header,
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-glass) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  z-index: 100;
}

/* Ajusta el contenedor interno del header */
.site-header .container,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary) !important;
  text-decoration: none !important;
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-accent) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow) !important;
  color: #fff !important;
}

.brand-logo span strong {
  color: var(--accent-cyan) !important;
}

/* Navegación */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
  text-decoration: none !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary) !important;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent) !important;
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary) !important;
}

/* Botón carrito (WooCommerce) */
.cart-button {
  position: relative;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border-subtle) !important;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary) !important;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.cart-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--border-glow) !important;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-cyan) !important;
  color: #000 !important;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--accent-cyan-glow) !important;
}

/* Menú móvil */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  padding: 0.5rem;
}

/* ============================================
   BOTONES Y ENLACES
   ============================================ */
.btn,
.button,
.woocommerce .button,
.wowcommerce .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 0.938rem !important;
  transition: all var(--transition-normal) !important;
  text-align: center;
  text-decoration: none;
  border: none !important;
}

.btn-primary,
.woocommerce .button.alt,
.wowcommerce .button.alt,
.woocommerce-checkout .place-order .button,
.wc-proceed-to-checkout .checkout-button {
  background: var(--gradient-accent) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-glow) !important;
}

.btn-primary:hover,
.woocommerce .button.alt:hover,
.wowcommerce .button.alt:hover,
.woocommerce-checkout .place-order .button:hover,
.wc-proceed-to-checkout .checkout-button:hover {
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.6) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-card) !important;
  backdrop-filter: blur(10px) !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* ============================================
   TARJETAS DE PRODUCTO (WOOCOMMERCE / WOWCOMMERCE)
   ============================================ */
.woocommerce ul.products li.product,
.wowcommerce.ui.products li.product,
.product-card {
  background: var(--bg-card) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  padding: 1.5rem !important;
  transition: all var(--transition-normal) !important;
  box-shadow: var(--shadow-sm) !important;
}

.woocommerce ul.products li.product:hover,
.wowcommerce.ui.products li.product:hover,
.product-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--border-glow) !important;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(99, 102, 241, 0.2) !important;
}

.woocommerce ul.products li.product img,
.wowcommerce.ui.products li.product img {
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem !important;
}

.woocommerce ul.products li.product h2,
.wowcommerce.ui.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
}

.woocommerce ul.products li.product .price,
.wowcommerce.ui.products li.product .price,
.product-price {
  color: var(--accent-cyan) !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer,
.footer {
  background: var(--bg-secondary) !important;
  border-top: 1px solid var(--border-subtle) !important;
  padding: 4.5rem 0 2rem !important;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-col h4 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.25rem !important;
  color: var(--text-primary) !important;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan) !important;
}

/* ============================================
   EFECTOS Y UTILIDADES
   ============================================ */
.text-gradient {
  background: var(--gradient-hero) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(99, 102, 241, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-secondary) !important;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    align-items: flex-start;
    transition: left var(--transition-normal);
    border-top: 1px solid var(--border-subtle);
  }
  .nav-links.open {
    left: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   BADGE DE OFERTA Y BOTONES (WOOCOMMERCE)
   ============================================ */
   
/* Badge 🔥 Oferta */
.woocommerce span.onsale,
.woocommerce .orize-sale-badge, .orize-sale-badge {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
    background: #ff6b6b !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4) !important;
    z-index: 9 !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1.2 !important;
}

/* Botones de WooCommerce (Degradado Persuasivo) */
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_variable,
.woocommerce button.button.alt,
.woocommerce button.single_add_to_cart_button {
    background: linear-gradient(135deg, #2ecc71 0%, #00b894 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4) !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    font-weight: 700 !important;
    padding: 0.8rem 1.8rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hover de los Botones */
.woocommerce a.button.add_to_cart_button:hover,
.woocommerce a.button.product_type_variable:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.single_add_to_cart_button:hover {
    background: #27ae60 !important;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6) !important;
    transform: translateY(-2px);
}
/* ============================================
   WOOCOMMERCE DARK MODE (CARRITO Y CHECKOUT)
   ============================================ */

/* Quitar fondos blancos forzados de las columnas del checkout */
.woocommerce-checkout .woocommerce-billing-fields, 
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2,
.woocommerce-checkout #customer_details,
.woocommerce-cart .cart-collaterals {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: var(--text-primary) !important;
}

/* Forzar que todos los Headers sean blancos */
.woocommerce h2, 
.woocommerce h3, 
.woocommerce h4,
.woocommerce-checkout h3 {
    color: var(--text-primary) !important;
    font-weight: 700 !important;
}

/* Labels y Textos Descriptivos */
.woocommerce form .form-row label {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}
.woocommerce form .form-row .woocommerce-input-wrapper {
    color: var(--text-secondary) !important;
}

/* Inputs, Selects y Textareas (Campos de formulario) */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: rgba(15, 18, 29, 0.9) !important; /* Fondo oscuro tipo NexusDigital */
    border: 1px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    height: auto !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Fix para el dropdown de Select2 (Paises/Regiones) */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary) !important;
    line-height: normal !important;
}
.select2-dropdown {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-card) !important;
    color: var(--text-primary) !important;
}
.select2-container--default .select2-results__option[aria-selected=true], 
.select2-container--default .select2-results__option[data-selected=true] {
    background: var(--primary) !important;
    color: #fff !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected], 
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background: var(--primary-hover) !important;
    color: #fff !important;
}

/* Placeholders */
.woocommerce form .form-row input::-webkit-input-placeholder,
.woocommerce form .form-row textarea::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Tablas (Resumen del Pedido y Carrito) */
.woocommerce table.shop_table {
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-md) !important;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}
.woocommerce table.shop_table th, 
.woocommerce table.shop_table td {
    border-top: 1px solid var(--border-card) !important;
    border-color: var(--border-card) !important;
    color: var(--text-primary) !important;
}
.woocommerce table.shop_table th {
    background: rgba(255,255,255,0.03) !important;
    font-weight: 700 !important;
}
.woocommerce table.shop_table td.product-name a {
    color: var(--accent-cyan) !important;
}

/* Caja de Pago (Payment Box) */
.woocommerce-checkout #payment {
    background: rgba(15, 18, 29, 0.6) !important; 
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-card) !important;
    margin-top: 2rem !important;
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--border-card) !important;
    color: var(--text-primary) !important;
}
.woocommerce-checkout #payment div.payment_box {
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-sm) !important;
}
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--bg-card) !important; 
}

/* Formularios secundarios (Cupón, Login, Registro) */
.woocommerce form.checkout_coupon, 
.woocommerce form.login, 
.woocommerce form.register {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md) !important;
    padding: 1.5rem !important;
}

/* Alertas de WooCommerce */
.woocommerce .woocommerce-info {
    background: rgba(6, 182, 212, 0.1) !important;
    border-top: 3px solid var(--accent-cyan) !important;
    color: var(--text-primary) !important;
}
.woocommerce .woocommerce-message {
    background: rgba(16, 185, 129, 0.1) !important;
    border-top: 3px solid var(--accent-emerald) !important;
    color: var(--text-primary) !important;
}
.woocommerce .woocommerce-error {
    background: rgba(255, 107, 107, 0.1) !important;
    border-top: 3px solid #ff6b6b !important;
    color: var(--text-primary) !important;
}
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-error a {
    color: var(--accent-cyan) !important;
    font-weight: 700 !important;
}

/* Compatibilidad extra para WooCommerce Blocks (por si acaso) */
.wc-block-checkout__form, .wc-block-components-checkout-step, .wc-block-components-panel, .wc-block-components-sidebar {
    background: transparent !important;
    color: var(--text-primary) !important;
}
.wc-block-components-checkout-step__title, .wc-block-components-panel__title, label.wc-block-components-text-input__label {
    color: var(--text-primary) !important;
}
/* ==========================================
   CORRECCIÓN ESTÉTICA FINAL DARK UI (CHECKOUT Y CARRITO)
   ========================================== */

/* 1. Quitar fondos blancos de los contenedores principales */
.woocommerce-checkout .woocommerce,
.woocommerce-cart .woocommerce {
    background: transparent !important;
    color: var(--text-primary) !important;
}

/* 2. Cajas de formularios (Detalles de facturación, Información adicional) */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-lg) !important;
    padding: 2rem !important;
    box-shadow: var(--shadow-md) !important;
    margin-bottom: 2rem !important;
}

/* 3. Títulos de secciones */
.woocommerce-checkout h3,
.woocommerce-cart h2,
.woocommerce-checkout #order_review_heading {
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important;
}

/* 4. Etiquetas de los campos (Nombre, Apellidos, etc.) */
.woocommerce form .form-row label {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
}

/* 5. Inputs, Selects y Textareas (Los cuadros de texto) */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    padding: 1rem !important;
    border-radius: var(--radius-md) !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all var(--transition-fast) !important;
    font-family: inherit !important;
}

/* 6. Color al escribir en los inputs (Foco) */
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
}

/* 7. Texto de ayuda en los inputs (Placeholder) */
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
    color: var(--text-muted) !important;
}

/* 8. Tabla del resumen del pedido */
.woocommerce-checkout table.shop_table,
.woocommerce-cart table.shop_table {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    border-collapse: separate !important;
}
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td,
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    border-color: var(--border-subtle) !important;
    color: var(--text-primary) !important;
    padding: 1rem !important;
}

/* 9. Métodos de pago */
.woocommerce-checkout #payment {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.5rem !important;
    margin-top: 2rem !important;
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--border-subtle) !important;
}
.woocommerce-checkout #payment div.payment_box {
    background: rgba(255,255,255,0.05) !important;
    color: var(--text-secondary) !important;
    border-radius: var(--radius-md) !important;
}

/* 10. Botón de Pagar / Finalizar Compra */
.woocommerce-checkout #payment #place_order,
.woocommerce .wc-proceed-to-checkout .checkout-button {
    background: var(--gradient-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    padding: 1.2rem !important;
    font-weight: 700 !important;
    width: 100% !important;
    box-shadow: var(--shadow-glow) !important;
    transition: all var(--transition-normal) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.woocommerce-checkout #payment #place_order:hover,
.woocommerce .wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.6) !important;
}