/* =========================================
   ESTRUCTURA BLINDADA - CULTURA GEEK
   ========================================= */
.mandy3d-geek-wrapper {
    width: 100% !important;
    background: #ffffff !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    display: block !important;
}

/* --- HERO SECTION --- */
.mandy3d-geek-hero {
    padding: 160px 20px 80px 20px !important;
    /* Fondo tecnológico sutil */
    background: linear-gradient(135deg, #F0F4F8 0%, #D9E2EC 100%) !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
}

.hero-inner {
    max-width: 900px !important;
    margin: 0 auto !important;
    display: block !important;
}

.badge-geek {
    display: inline-block !important;
    background: rgba(138, 43, 226, 0.15) !important; /* Toque morado */
    color: #8A2BE2 !important;
    padding: 8px 22px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    margin-bottom: 30px !important;
    letter-spacing: 1px !important;
}

.mandy3d-geek-hero h1 {
    font-size: clamp(3rem, 6vw, 4.8rem) !important;
    font-weight: 900 !important;
    margin-bottom: 25px !important;
    line-height: 1.1 !important;
    letter-spacing: -2px !important;
    /* Degradado Sci-Fi: Morado a Naranja */
    background: linear-gradient(135deg, #8A2BE2 30%, #FF5722 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0px 10px 20px rgba(0,0,0,0.05) !important;
    display: block !important;
}

.mandy3d-geek-hero p {
    font-size: 1.3rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    font-weight: 500 !important;
    display: block !important;
}

/* --- TARJETAS DE NAVEGACIÓN (Flexbox Estricto) --- */
.mandy3d-geek-nav-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 30px !important;
    max-width: 1300px !important;
    margin: 60px auto 80px auto !important; 
    padding: 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
}

.geek-card {
    flex: 1 1 0 !important; 
    position: relative !important;
    min-height: 450px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: #1E293B !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 40px !important;
    text-decoration: none !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.geek-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 30px 60px rgba(138, 43, 226, 0.25) !important; /* Resplandor morado */
}

.geek-card-overlay {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0) 100%) !important;
    z-index: 1 !important;
    transition: background 0.4s ease !important;
}

.geek-card:hover .geek-card-overlay {
    /* Al hacer hover, mezcla azul noche con morado/naranja */
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(138, 43, 226, 0.5) 100%) !important;
}

.geek-card-content {
    position: relative !important;
    z-index: 2 !important;
    text-align: left !important;
}

.geek-card-content h2 {
    color: #ffffff !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
}

.geek-card-content p {
    color: #cbd5e1 !important;
    font-size: 1.1rem !important;
    margin: 0 0 25px 0 !important;
}

.geek-btn {
    display: inline-block !important;
    background: #8A2BE2 !important; /* Botón morado */
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.geek-card:hover .geek-btn {
    background: #FF5722 !important; /* Cambia a naranja al hacer hover */
    color: #ffffff !important;
}

/* --- SECCIONES DE PRODUCTOS --- */
.geek-products-wrapper {
    padding: 80px 20px !important;
    width: 100% !important;
    display: block !important;
}

.geek-products-wrapper.bg-darker {
    background-color: #F1F5F9 !important; /* Gris un poco más profundo */
}

.geek-section-inner {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: block !important;
}

.geek-section-header {
    text-align: center !important;
    margin-bottom: 50px !important;
    display: block !important;
}

.geek-section-header h2 {
    font-size: 2.5rem !important;
    color: #0F172A !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}

.geek-section-header p {
    color: #475569 !important;
    font-size: 1.2rem !important;
}

/* --- CUADRÍCULA DE WOOCOMMERCE --- */
.geek-woo-grid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: block !important;
}

.geek-woo-grid .woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    margin: 0 !important;
}

.geek-woo-grid .woocommerce ul.products li.product {
    flex: 1 1 280px !important; 
    max-width: 320px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 20px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
    text-align: center !important;
}

.geek-woo-grid .woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
    border-color: #8A2BE2 !important; /* Borde morado al hover */
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.15) !important;
}

.geek-woo-grid .woocommerce ul.products li.product img {
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    aspect-ratio: 1/1 !important;
    object-fit: contain !important;
    width: 100% !important;
    background: #fff !important;
    padding: 10px !important;
}

.geek-woo-grid .woocommerce ul.products li.product h2,
.geek-woo-grid .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.15rem !important;
    color: #0F172A !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.geek-woo-grid .woocommerce ul.products li.product .price {
    color: #FF5722 !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
}

.geek-woo-grid .woocommerce ul.products li.product .button {
    margin-top: auto !important; 
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border-radius: 50px !important;
    padding: 12px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.geek-woo-grid .woocommerce ul.products li.product .button:hover {
    background: #8A2BE2 !important;
    color: #fff !important;
    border-color: #8A2BE2 !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .mandy3d-geek-hero { padding: 140px 20px 60px 20px !important; }
    .mandy3d-geek-nav-grid { flex-direction: column !important; }
    .geek-card { min-height: 350px !important; width: 100% !important; }
}