/* =========================================
   ESTRUCTURA BLINDADA - HOGAR Y DECO
   ========================================= */
.mandy3d-hogar-wrapper {
    width: 100% !important;
    background: #ffffff !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    display: block !important;
}

/* --- HERO SECTION --- */
.mandy3d-hogar-hero {
    padding: 160px 20px 80px 20px !important;
    /* Fondo un poco más cálido para "hogar" */
    background: linear-gradient(135deg, #FFFAF5 0%, #F1E9E3 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-hogar {
    display: inline-block !important;
    background: rgba(255, 87, 34, 0.1) !important;
    color: #FF5722 !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-hogar-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 más cálido y orgánico */
    background: linear-gradient(135deg, #4A3B32 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-hogar-hero p {
    font-size: 1.3rem !important;
    color: #64748B !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-hogar-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;
}

.hogar-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: #4A3B32 !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;
}

.hogar-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 30px 60px rgba(255, 87, 34, 0.25) !important;
}

.hogar-card-overlay {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: linear-gradient(to top, rgba(40, 30, 25, 0.95) 0%, rgba(40, 30, 25, 0.4) 50%, rgba(40, 30, 25, 0) 100%) !important;
    z-index: 1 !important;
    transition: background 0.4s ease !important;
}

.hogar-card:hover .hogar-card-overlay {
    background: linear-gradient(to top, rgba(40, 30, 25, 0.95) 0%, rgba(255, 87, 34, 0.5) 100%) !important;
}

.hogar-card-content {
    position: relative !important;
    z-index: 2 !important;
    text-align: left !important;
}

.hogar-card-content h2 {
    color: #ffffff !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
}

.hogar-card-content p {
    color: #e2e8f0 !important;
    font-size: 1.1rem !important;
    margin: 0 0 25px 0 !important;
}

.hogar-btn {
    display: inline-block !important;
    background: #FF5722 !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.hogar-card:hover .hogar-btn {
    background: #ffffff !important;
    color: #FF5722 !important;
}

/* --- SECCIONES DE PRODUCTOS --- */
.hogar-products-wrapper {
    padding: 80px 20px !important;
    width: 100% !important;
    display: block !important;
}

.hogar-products-wrapper.bg-warm {
    background-color: #FFFAF5 !important;
}

.hogar-section-inner {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: block !important;
}

.hogar-section-header {
    text-align: center !important;
    margin-bottom: 50px !important;
    display: block !important;
}

.hogar-section-header h2 {
    font-size: 2.5rem !important;
    color: #1E293B !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}

.hogar-section-header p {
    color: #64748B !important;
    font-size: 1.2rem !important;
}

/* --- CUADRÍCULA DE WOOCOMMERCE --- */
.hogar-woo-grid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: block !important;
}

.hogar-woo-grid .woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    margin: 0 !important;
}

.hogar-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;
}

.hogar-woo-grid .woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
    border-color: #FF5722 !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.hogar-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;
}

.hogar-woo-grid .woocommerce ul.products li.product h2,
.hogar-woo-grid .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.15rem !important;
    color: #1E293B !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.hogar-woo-grid .woocommerce ul.products li.product .price {
    color: #FF5722 !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
}

.hogar-woo-grid .woocommerce ul.products li.product .button {
    margin-top: auto !important; 
    background: #FFFAF5 !important;
    color: #1E293B !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;
}

.hogar-woo-grid .woocommerce ul.products li.product .button:hover {
    background: #FF5722 !important;
    color: #fff !important;
    border-color: #FF5722 !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .mandy3d-hogar-hero { padding: 140px 20px 60px 20px !important; }
    .mandy3d-hogar-nav-grid { flex-direction: column !important; }
    .hogar-card { min-height: 350px !important; width: 100% !important; }
}