/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 30 2026 | 15:36:30 */
.edgtf-woo-normal-space ul.products>.product {margin: 0 !important; padding: none !important;}

/* ============================================================
   CSS v10 FINAL — hogares.cl
   4 columnas desktop | 2 columnas tablets | 1 columna mobile
   CON ESPACIO DE 24px ENTRE TARJETAS
   ============================================================ */

/* 1. Grid de tarjetas con gap */
ul.products.columns-4,
ul.products.columns-3,
ul.products.columns-2 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Anula el margin de la página black-sale-2026 */
.edgtf-woo-normal-space ul.products > .product {
    margin: 0 !important;
}

/* 2. Ancho de tarjetas según columnas - DESKTOP (4 columnas) */
ul.products.columns-4 li.product {
    flex: 0 0 calc(25% - 18px) !important;
    width: calc(25% - 18px) !important;
    max-width: calc(25% - 18px) !important;
    box-sizing: border-box !important;
}

ul.products.columns-3 li.product {
    flex: 0 0 calc(33.333% - 16px) !important;
    width: calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 16px) !important;
    box-sizing: border-box !important;
}

ul.products.columns-2 li.product {
    flex: 0 0 calc(50% - 12px) !important;
    width: calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
    box-sizing: border-box !important;
}

/* 3. Tarjeta completa: borde, fondo blanco, sombra y esquinas redondeadas */
ul.products li.product {
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    padding: 20px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    box-sizing: border-box !important;
    text-align: left !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s ease !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

ul.products li.product:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

/* 4. Imagen: sin margen extra */
ul.products li.product .edgtf-pl-inner {
    margin-bottom: 12px !important;
}

/* 5. Wrapper del bloque de información */
.hogares-product-info {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

/* 6. Tipología */
.hogares-tipologia {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
}

/* 7. Bloque de superficies */
.hogares-superficies {
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.hogares-superficie-item {
    font-size: 13px !important;
    color: #555555 !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
}

/* 8. Precios al fondo */
.hogares-precios {
    margin-top: auto !important;
    padding-top: 12px !important;
    border-top: none !important;
}

.hogares-precio-normal {
    font-size: 13px !important;
    color: #888888 !important;
    font-weight: 400 !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
}

.hogares-precio-normal .tachado {
    text-decoration: line-through !important;
    text-decoration-color: #888888 !important;
}

.hogares-precio-promocional {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #c4122e !important;
    line-height: 1.3 !important;
    letter-spacing: -0.5px !important;
}

/* JP modificación precios */

ul.products > .product .price {
  color: #999999 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}


/* 9. Precio de reserva ($250.000) - gris, sin negrita, menor tamaño */
ul.products li.product .price {
    font-size: 12px !important;
    color: #999999 !important;
    font-weight: 400 !important;
}


/* 10. RESPONSIVE - TABLETS (2 columnas) */
@media (max-width: 900px) {
    ul.products.columns-4 li.product,
    ul.products.columns-3 li.product {
        flex: 0 0 calc(50% - 12px) !important;
        width: calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
    }
    .hogares-tipologia { font-size: 17px !important; }
    .hogares-precio-promocional { font-size: 19px !important; }
}

/* 11. RESPONSIVE - MOBILE (1 columna) */
@media (max-width: 768px) {
    .edgtf-woo-normal-space ul.products {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    ul.products.columns-4 li.product,
    ul.products.columns-3 li.product,
    ul.products.columns-2 li.product {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
    }
    
    .hogares-tipologia { font-size: 16px !important; }
    .hogares-precio-promocional { font-size: 18px !important; }
}
/* Agregar "Reserva: " antes del precio */
.edgtf-pl-text-wrapper .price::before {
    content: "Reserva: " !important;
    display: inline !important;
}

