/* =========================================
   CALA INMOBILIARIA
   FICHA INDIVIDUAL DE PROPIEDAD
   ========================================= */

/* Fondo blanco para toda la ficha */
.single-property .site-content {
    background: #ffffff !important;
}

/* Ensanchar el contenedor principal */
.single-property .site-content > .ast-container,
.single-property .ast-container {
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* El contenido principal debe ocupar todo el ancho */
.single-property #primary,
.single-property .content-area,
.single-property .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
}

/* Si Astra está reservando espacio para una sidebar, la quitamos */
.single-property #secondary,
.single-property .widget-area.secondary {
    display: none !important;
}

/* Ensanchar la plantilla de Essential Real Estate */
.single-property .ere-property-wrap,
.single-property .single-property-area,
.single-property .property-content,
.single-property .property-main-content {
    width: 100% !important;
    max-width: 100% !important;
}

/* Evitar que alguna columna interna quede limitada artificialmente */
.single-property .ere-property-wrap .container,
.single-property .single-property-area .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Quitar el área de comentarios únicamente de las propiedades */
.single-property #comments,
.single-property .comments-area,
.single-property .comment-respond {
    display: none !important;
}

/* Mejor comportamiento en celular */
@media (max-width: 768px) {

    .single-property .site-content > .ast-container,
    .single-property .ast-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}
/* CALA - Ocultar sitio web del agente en la ficha */
.single-property .agent-info a[href*="wordpress.com"],
.single-property .agent-contact a[href*="wordpress.com"],
.single-property .ere-agent a[href*="wordpress.com"] {
    display: none !important;
}
/* CALA - Eliminar enlace viejo de WordPress del agente */
.single-property a[href*="wordpress.com"] {
    display: none !important;
}

/* Ocultar también la fila/icono donde aparece ese enlace */
.single-property li:has(a[href*="wordpress.com"]),
.single-property p:has(a[href*="wordpress.com"]),
.single-property div:has(> a[href*="wordpress.com"]),
.single-property span:has(> a[href*="wordpress.com"]) {
    display: none !important;
}
/* CALA - Avatar elegante del vendedor */
.single-property .agent-avatar img,
.single-property .agent-info img,
.single-property .ere-agent img,
.single-property .property-agent img {
    width: 140px !important;
    height: 140px !important;
    max-width: 140px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}
/* =========================================
   CALA - CORREGIR 3 CAMPOS CONTACTO ERE
   ========================================= */

/* Limitar el formulario al ancho real de la ficha */
.single-property .ere__single-agent-contact-form,
.single-property .ere__single-agent-contact-form form.ere__form {
    width: calc(100vw - 60px) !important;
    max-width: 1280px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Fila exacta que contiene Nombre + Teléfono + Correo */
.single-property .ere__single-agent-contact-form
.row:has(input[name="sender_name"]) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Quitar los anchos gigantes de Bootstrap/ERE */
.single-property .ere__single-agent-contact-form
.row:has(input[name="sender_name"]) > .col-md-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Cada campo debe usar únicamente su columna */
.single-property .ere__single-agent-contact-form
.row:has(input[name="sender_name"]) .form-group {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Los tres inputs */
.single-property input[name="sender_name"],
.single-property input[name="sender_phone"],
.single-property input[name="sender_email"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: 52px !important;
    padding: 14px 16px !important;

    border: 1px solid #e2e5e9 !important;
    border-radius: 10px !important;

    background: #fff !important;
    box-sizing: border-box !important;
}

/* Naranja CALA al seleccionar */
.single-property input[name="sender_name"]:focus,
.single-property input[name="sender_phone"]:focus,
.single-property input[name="sender_email"]:focus {
    border-color: #ff6600 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255,102,0,.10) !important;
}

/* Celular */
@media (max-width: 768px) {

    .single-property .ere__single-agent-contact-form,
    .single-property .ere__single-agent-contact-form form.ere__form {
        width: calc(100vw - 36px) !important;
    }

    .single-property .ere__single-agent-contact-form
    .row:has(input[name="sender_name"]) {
        grid-template-columns: 1fr !important;
    }
}
/* =========================================
   CALA - MENSAJE Y BOTÓN A ANCHO COMPLETO
   ========================================= */

/* El mensaje debe ocupar las 3 columnas */
.single-property
.ere__single-agent-contact-form
.row:has(input[name="sender_name"])
> :has(textarea) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 16px !important;
}

/* El textarea ocupa todo el ancho */
.single-property
.ere__single-agent-contact-form
.row:has(input[name="sender_name"])
textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 150px !important;
    box-sizing: border-box !important;
}

/* El contenedor del botón ocupa las 3 columnas */
.single-property
.ere__single-agent-contact-form
.row:has(input[name="sender_name"])
> :has(button[type="submit"]),
.single-property
.ere__single-agent-contact-form
.row:has(input[name="sender_name"])
> :has(input[type="submit"]) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 16px !important;
}

/* Botón naranja CALA */
.single-property
.ere__single-agent-contact-form
button[type="submit"],
.single-property
.ere__single-agent-contact-form
input[type="submit"] {
    background: #ff6600 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9px !important;
    min-height: 50px !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
}
/* =========================================
   CALA - ARREGLO DEFINITIVO DEL RESUMEN ERE
   ========================================= */

/* Filas del resumen que contienen valores de propiedad */
.single-property li:has(> span.ere__property-identity),
.single-property li:has(> span.property-price),
.single-property li:has(> span.ere__property-type),
.single-property li:has(> span.ere__property-status),
.single-property li:has(> span.ere__property-bedrooms),
.single-property li:has(> span.ere__property-bathrooms),
.single-property li:has(> span.ere__property-size) {

    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr) !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
}

/* ETIQUETA: evita que ocupe 1261 px */
.single-property li:has(> span.ere__property-identity) > strong,
.single-property li:has(> span.property-price) > strong,
.single-property li:has(> span.ere__property-type) > strong,
.single-property li:has(> span.ere__property-status) > strong,
.single-property li:has(> span.ere__property-bedrooms) > strong,
.single-property li:has(> span.ere__property-bathrooms) > strong,
.single-property li:has(> span.ere__property-size) > strong {

    width: auto !important;
    max-width: 230px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;
    position: static !important;
    float: none !important;

    box-sizing: border-box !important;
}

/* VALOR: lo regresamos junto a su etiqueta */
.single-property li > span.ere__property-identity,
.single-property li > span.property-price,
.single-property li > span.ere__property-type,
.single-property li > span.ere__property-status,
.single-property li > span.ere__property-bedrooms,
.single-property li > span.ere__property-bathrooms,
.single-property li > span.ere__property-size {

    display: block !important;
    position: static !important;
    float: none !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;

    text-align: left !important;
}

/* Móvil */
@media (max-width: 600px) {

    .single-property li:has(> span.ere__property-identity),
    .single-property li:has(> span.property-price),
    .single-property li:has(> span.ere__property-type),
    .single-property li:has(> span.ere__property-status),
    .single-property li:has(> span.ere__property-bedrooms),
    .single-property li:has(> span.ere__property-bathrooms),
    .single-property li:has(> span.ere__property-size) {

        grid-template-columns: 1fr auto !important;
        gap: 15px !important;
    }
}
/* =========================================
   CALA - TRAER SEGUNDA COLUMNA DEL RESUMEN
   ========================================= */

/* Contenedor donde ERE manda Recámaras, Baños y Tamaño fuera de pantalla */
.single-property ul:has(li > span.ere__property-bedrooms),
.single-property ul:has(li > span.ere__property-bathrooms),
.single-property ul:has(li > span.ere__property-size),

.single-property div:has(> ul li > span.ere__property-bedrooms),
.single-property div:has(> ul li > span.ere__property-bathrooms),
.single-property div:has(> ul li > span.ere__property-size) {

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    position: static !important;
    float: none !important;

    left: auto !important;
    right: auto !important;

    transform: none !important;

    box-sizing: border-box !important;
}

/* Asegurar que esas tres filas también queden dentro de pantalla */
.single-property li:has(> span.ere__property-bedrooms),
.single-property li:has(> span.ere__property-bathrooms),
.single-property li:has(> span.ere__property-size) {

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    position: static !important;
    left: auto !important;
    right: auto !important;

    transform: none !important;
}
/* =========================================
   CALA - CORREGIR CONTENEDOR RESUMEN ERE
   ========================================= */

/* El contenedor del resumen NO puede medir 5120px */
.single-property
.ere-property-element
ul.ere__list-2-col.ere__list-bg-gray {

    width: 100% !important;
    max-width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    left: auto !important;
    right: auto !important;

    transform: none !important;

    box-sizing: border-box !important;
}

/* Cada elemento ocupa únicamente su columna */
.single-property
.ere-property-element
ul.ere__list-2-col.ere__list-bg-gray > li {

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;

    float: none !important;
    position: static !important;

    left: auto !important;
    right: auto !important;

    transform: none !important;

    box-sizing: border-box !important;
}

/* En celular una sola columna */
@media (max-width: 768px) {

    .single-property
    .ere-property-element
    ul.ere__list-2-col.ere__list-bg-gray {

        grid-template-columns: 1fr !important;
    }
}
/* =========================================
   CALA - RESUMEN 2 COLUMNAS DEFINITIVO
   ========================================= */

/* El bloque completo del resumen no puede medir 5120px */
.single-property .ere-property-element {
    width: calc(100vw - 60px) !important;
    max-width: 1280px !important;
    min-width: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
}

/* Contenedor de TODOS los datos del resumen */
.single-property
.ere-property-element
ul.ere__list-2-col.ere__list-bg-gray {

    width: 100% !important;
    max-width: 1280px !important;
    min-width: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

/* Cada dato ocupa solamente media fila */
.single-property
.ere-property-element
ul.ere__list-2-col.ere__list-bg-gray > li {

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr) !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 12px 16px !important;

    box-sizing: border-box !important;

    float: none !important;
    position: static !important;
}

/* Etiquetas */
.single-property
.ere-property-element
ul.ere__list-2-col.ere__list-bg-gray > li > strong {

    width: auto !important;
    max-width: 230px !important;
    min-width: 0 !important;

    display: block !important;
    margin: 0 !important;
}

/* Valores */
.single-property
.ere-property-element
ul.ere__list-2-col.ere__list-bg-gray > li > span {

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: block !important;

    position: static !important;
    left: auto !important;
    right: auto !important;

    transform: none !important;

    margin: 0 !important;
}

/* Celular */
@media (max-width: 768px) {

    .single-property .ere-property-element {
        width: calc(100vw - 36px) !important;
    }

    .single-property
    .ere-property-element
    ul.ere__list-2-col.ere__list-bg-gray {
        grid-template-columns: 1fr !important;
    }

    .single-property
    .ere-property-element
    ul.ere__list-2-col.ere__list-bg-gray > li {
        grid-template-columns: 1fr auto !important;
    }
}
/* CALA - bajar altura de la imagen principal de la propiedad */
.single-property .property-gallery img,
.single-property .property-main-image img,
.single-property .owl-carousel .owl-item img,
.single-property .ere-property-item img,
.single-property .single-property-image img {
    width: 100% !important;
    height: 580px !important;
    object-fit: cover !important;
    display: block !important;
}

/* En celular */
@media (max-width: 768px) {
    .single-property .property-gallery img,
    .single-property .property-main-image img,
    .single-property .owl-carousel .owl-item img,
    .single-property .ere-property-item img,
    .single-property .single-property-image img {
        height: 300px !important;
    }
}
height: 580px !important;
height: 480px !important;
    }height: 420px !important;
    }/* CALA - Imagen principal más pequeña */
.single-property .property-main-image img,
.single-property .ere-property-featured-image img,
.single-property .owl-carousel .owl-item img {
    width: 100% !important;
    height: 480px !important;
    object-fit: cover !important;
}
height: 420px !important;
    }
/* CALA - Imagen principal más pequeña y elegante */
.single-property .property-main-image img,
.single-property .ere-property-featured-image img,
.single-property .owl-carousel .owl-item img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
}
height: 380px !important;
/* =========================================
   CALA - GALERÍA SECUNDARIA EN MINIATURAS
   ========================================= */

/* Contenedor de las fotos secundarias */
.single-property
.owl-stage-outer:not(.owl-height):has(.property-gallery-item) {
    width: 100% !important;
    height: 105px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin-top: 12px !important;
}

/* Convertir el carrusel inferior en una fila */
.single-property
.owl-stage-outer:not(.owl-height):has(.property-gallery-item)
> .owl-stage {
    display: flex !important;
    gap: 10px !important;

    width: max-content !important;

    transform: none !important;
    transition: none !important;
}

/* Cada foto secundaria */
.single-property
.owl-stage-outer:not(.owl-height):has(.property-gallery-item)
.owl-item,
.single-property
.owl-stage-outer:not(.owl-height):has(.property-gallery-item)
.owl-stage > .owl-item {
    width: 125px !important;
    min-width: 125px !important;
    max-width: 125px !important;

    flex: 0 0 125px !important;

    margin: 0 !important;
}

/* La miniatura */
.single-property
.owl-stage-outer:not(.owl-height):has(.property-gallery-item)
.property-gallery-item,
.single-property
.owl-stage-outer:not(.owl-height):has(.property-gallery-item)
.property-gallery-item img {
    width: 125px !important;
    height: 90px !important;

    max-width: 125px !important;

    object-fit: cover !important;

    border-radius: 8px !important;

    display: block !important;
}

/* Mano al pasar encima */
.single-property
.owl-stage-outer:not(.owl-height):has(.property-gallery-item)
.property-gallery-item {
    cursor: pointer !important;
    overflow: hidden !important;
}

/* Evitar miniaturas duplicadas creadas por Owl */
.single-property
.owl-stage-outer:not(.owl-height):has(.property-gallery-item)
.owl-item.cloned {
    display: none !important;
}

/* CELULAR */
@media (max-width: 768px) {

    .single-property
    .owl-stage-outer:not(.owl-height):has(.property-gallery-item) {
        height: 90px !important;
    }

    .single-property
    .owl-stage-outer:not(.owl-height):has(.property-gallery-item)
    .owl-stage > .owl-item {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;

        flex: 0 0 100px !important;
    }

    .single-property
    .owl-stage-outer:not(.owl-height):has(.property-gallery-item)
    .property-gallery-item,
    .single-property
    .owl-stage-outer:not(.owl-height):has(.property-gallery-item)
    .property-gallery-item img {
        width: 100px !important;
        height: 75px !important;
        max-width: 100px !important;
    }
}
/* =========================================
   CALA - CABECERA PREMIUM DE PROPIEDAD
   ========================================= */

/* Más espacio y orden en la cabecera */
.single-property .ere__single-property-info {
    margin-bottom: 28px !important;
}

/* Precio más protagonista */
.single-property .property-price,
.single-property .property-price span {
    font-weight: 700 !important;
    letter-spacing: -0.3px !important;
}

/* Etiqueta RENTA / VENTA */
.single-property .property-status,
.single-property .property-status span {
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-weight: 700 !important;
    letter-spacing: .3px !important;
}

/* Fila de ID, Tamaño, Recámaras y Baños */
.single-property
.ere__single-property-info
.ere__loop-property-info
.property-info-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Cada dato como bloque limpio */
.single-property
.ere__single-property-info
.ere__loop-property-info
.ere__loop-property-info-item {

    display: flex !important;
    align-items: center !important;

    min-height: 52px !important;

    padding: 8px 14px !important;
    margin: 0 !important;

    background: #ffffff !important;

    border: 1px solid #eeeeee !important;
    border-radius: 9px !important;

    box-shadow: 0 3px 10px rgba(0,0,0,.04) !important;
}

/* Íconos naranjas CALA */
.single-property
.ere__single-property-info
.ere__loop-property-info
i {
    color: #ff6600 !important;
}

/* Valor: 120 m² / 3 / 2 */
.single-property
.ere__single-property-info
.ere__lpi-value {
    font-weight: 700 !important;
    color: #202632 !important;
}

/* Nombre del dato */
.single-property
.ere__single-property-info
.ere__lpi-label {
    color: #606770 !important;
}

/* CELULAR */
@media (max-width: 768px) {

    .single-property
    .ere__single-property-info
    .ere__loop-property-info
    .property-info-inner {
        gap: 8px !important;
    }

    .single-property
    .ere__single-property-info
    .ere__loop-property-info
    .ere__loop-property-info-item {
        padding: 7px 10px !important;
        min-height: 48px !important;
    }
}
/* CALA - Reducir espacio antes de la galería */
.single-property .ere__single-property-info {
    margin-bottom: 12px !important;
}

.single-property .property-gallery,
.single-property .single-property-gallery {
    margin-top: 15px !important;
}
/* CALA - Quitar número de propiedades del título */
.ere-heading h2 > span,
.ere-heading h2 > sup,
.ere-property .ere-heading h2 span,
.ere-archive-property .ere-heading h2 span {
    display: none !important;
}
/* =====================================================
   CALA - Ampliar y centrar catálogo de PROPIEDADES
   Solo afecta al archivo general de propiedades
   ===================================================== */

body.post-type-archive-property .site-content > .ast-container,
body.post-type-archive-property #primary,
body.post-type-archive-property .site-main,
body.post-type-archive-property .ere-archive-property,
body.post-type-archive-property .ere-property-wrap {
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Aprovechar todo el espacio disponible */
body.post-type-archive-property #primary {
    float: none !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}
/* CALA - Catálogo de propiedades ancho y centrado */

body.post-type-archive-property .ere-property {
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Distribuir las 3 propiedades en todo el ancho */
body.post-type-archive-property .ere-property .columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
}
/* =========================================
   CALA - ARCHIVO DE PROPIEDADES ANCHO
   ========================================= */

body.post-type-archive-property #container,
body.post-type-archive-property #content,
body.post-type-archive-property .ere-archive-property-wrap {
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* Espacio elegante a los lados */
body.post-type-archive-property #container {
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
}
/* CALA - Quitar barra lateral vacía del archivo de propiedades */

.ast-container:has(.ere-archive-property-wrap) #secondary {
    display: none !important;
}

/* Dar todo el ancho disponible al catálogo */
.ast-container:has(.ere-archive-property-wrap) #primary {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
}
/* CALA - Quitar barra lateral vacía del archivo de propiedades */

.ast-container:has(.ere-archive-property-wrap) #secondary {
    display: none !important;
}

/* Dar todo el ancho disponible al catálogo */
.ast-container:has(.ere-archive-property-wrap) #primary {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
}
/* CALA - Quitar barra lateral vacía del archivo de propiedades */

.ast-container:has(.ere-archive-property-wrap) #secondary {
    display: none !important;
}

/* Dar todo el ancho disponible al catálogo */
.ast-container:has(.ere-archive-property-wrap) #primary {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
}

/* Mantener el contenido centrado */
.ast-container:has(.ere-archive-property-wrap) {
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* CALA - Ocultar formulario de alianzas */
.cala-form-oculto {
    display: none;
}

/* Mostrarlo cuando se active */
.cala-form-oculto.cala-form-visible {
    display: block;
}
/* CALA - Formulario de alianzas oculto */
.cala-form-oculto {
    display: none !important;
}

/* Mostrar formulario al pulsar cualquier botón de alianza */
.cala-form-oculto:target {
    display: block !important;
}

/* Desplazamiento suave */
html {
    scroll-behavior: smooth;
}
/* FORZAR TEXTO DE OPCIONES CHECKBOX EN NEGRO */
input[type="checkbox"] + *,
input[type="checkbox"] ~ *,
*:has(> input[type="checkbox"]) {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1 !important;
}

*:has(> input[type="checkbox"]) * {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1 !important;
}
/* CALA - Publicar propiedad solo en menú móvil */

@media (min-width: 922px) {
    .cala-publicar-mobile {
        display: none !important;
    }
}

@media (max-width: 921px) {
    .cala-publicar-mobile > a {
        background: #ff5a00 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
}
/* CALA - Publicar propiedad exclusivo del menú móvil */

@media (min-width: 922px) {
    .cala-publicar-mobile {
        display: none !important;
    }
}

@media (max-width: 921px) {
    .cala-publicar-mobile {
        display: block !important;
    }

    .cala-publicar-mobile > a {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}
/* =====================================================
   CALA - PUBLICAR PROPIEDAD
   Escritorio: ocultar botón agregado para móvil
   ===================================================== */

@media (min-width: 922px) {

    li.cala-publicar-mobile,
    .cala-publicar-mobile {
        display: none !important;
    }

    /* Evitar que el botón verde original se parta */
    .main-header-menu .ast-custom-button-link,
    .main-header-menu .menu-link {
        white-space: nowrap;
    }
}
/* BOTÓN BUSCAR - NARANJA CALA */
.form-search button,
.form-search input[type="submit"],
.form-search .btn {
    background-color: #ff5a14 !important;
    border-color: #ff5a14 !important;
    color: #ffffff !important;
}

/* Al pasar el mouse */
.form-search button:hover,
.form-search input[type="submit"]:hover,
.form-search .btn:hover {
    background-color: #e94c0a !important;
    border-color: #e94c0a !important;
    color: #ffffff !important;
}
/* ===== PUBLICAR PROPIEDAD IGUAL A CONTACTANOS ===== */

.main-header-menu > li:last-child {
    height: auto !important;
    align-self: center !important;
}

.main-header-menu > li:last-child > a,
.main-header-menu > li:last-child > .menu-link {
    background: #ff5a14 !important;
    color: #ffffff !important;

    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;

    width: auto !important;
    min-width: 180px !important;

    padding: 0 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    line-height: 46px !important;
    font-weight: 600 !important;

    border-radius: 5px !important;
}

/* Hover */
.main-header-menu > li:last-child > a:hover,
.main-header-menu > li:last-child > .menu-link:hover {
    background: #e94c0a !important;
    color: #ffffff !important;
}
/* ===== CONTACTANOS COMO ENLACE NORMAL ===== */

.main-header-menu .menu-item a[href*="contact"] {
    background: transparent !important;
    color: #222222 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 14px !important;
}

/* Hover */
.main-header-menu .menu-item a[href*="contact"]:hover {
    background: transparent !important;
    color: #ff5a14 !important;
}

/* Si Contactanos aparece como página activa */
.main-header-menu .current-menu-item a[href*="contact"],
.main-header-menu .current_page_item a[href*="contact"] {
    background: transparent !important;
    color: #ff5a14 !important;
}
/* ===== BOTÓN PUBLICAR PROPIEDAD CALA ===== */

/* Botón */
.ast-header-button-1 .ast-custom-button,
.ast-header-button-1 .ast-custom-button-link {
    min-width: 190px !important;
    min-height: 52px !important;
}

/* Texto centrado */
.ast-header-button-1 .ast-custom-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    white-space: nowrap !important;

    padding: 14px 24px !important;
    line-height: 1.2 !important;

    background: #ff5a14 !important;
    color: #ffffff !important;

    border-radius: 5px !important;
    border: none !important;
}
/* ===== MENÚ SUPERIOR CALA EN NEGRITA ===== */

.main-header-menu .menu-link {
    font-weight: 700 !important;
}

/* Botón Publicar Propiedad */
.ast-header-button-1 .ast-custom-button {
    font-weight: 700 !important;
}
/* ===== CALA - OCULTAR LATITUD Y LONGITUD EN PUBLICAR PROPIEDAD ===== */

input[name*="latitude"],
input[name*="longitude"] {
    display: none !important;
}

label:has(+ input[name*="latitude"]),
label:has(+ input[name*="longitude"]) {
    display: none !important;
}
/* ===== CALA - OCULTAR COORDENADAS GOOGLE MAPS ===== */

/* Ocultar el bloque completo de LATITUD */
#latitude {
    display: none !important;
}

label[for="latitude"] {
    display: none !important;
}

#latitude.form-control {
    display: none !important;
}

/* Ocultar el contenedor completo de LATITUD */
.form-group:has(#latitude) {
    display: none !important;
}


/* Ocultar el bloque completo de LONGITUD */
#longitude {
    display: none !important;
}

label[for="longitude"] {
    display: none !important;
}

#longitude.form-control {
    display: none !important;
}

.form-group:has(#longitude) {
    display: none !important;
}
/* ===== CALA - OCULTAR BOTÓN PIN DE DIRECCIÓN ===== */

#step-location .btn-address,
#step-location .btn-location,
#step-location .btn-map,
#step-location button[id*="location"],
#step-location button[id*="address"] {
    display: none !important;
}
/* CALA - Ocultar botón Pin de dirección */
#find {
    display: none !important;
}
/* ===== OCULTAR BOTONES MIS PROPIEDADES EN MÓVIL ===== */
@media (max-width: 767px) {

    .my-properties,
    .my-properties-button,
    .my-properties-btn,
    [class*="my-properties"],
    [class*="my-property"] {
        display: none !important;
    }

}
/* ===== OCULTAR LOS DOS BOTONES MIS PROPIEDADES ===== */
@media (max-width: 767px) {

    [data-id="880ee79"],
    [data-id="a926144"] {
        display: none !important;
    }

}
/* CALA - Publicar Propiedad solo en menú móvil */
@media (min-width: 1025px) {
    .cala-solo-movil {
        display: none !important;
    }
}
/* ==========================================
   CALA – FORZAR MENÚ MÓVIL EN BLANCO
========================================== */

@media (max-width: 921px) {

    /* Fondo general del menú móvil */
    .ast-mobile-header-wrap .ast-mobile-header-content,
    .ast-mobile-header-content,
    .ast-mobile-popup-content,
    .ast-mobile-popup-inner,
    .ast-builder-menu-mobile,
    .ast-builder-menu-mobile .main-navigation,
    .ast-builder-menu-mobile .main-header-menu,
    .ast-header-break-point .main-header-menu {
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
    }

    /* Cada renglón del menú */
    .ast-builder-menu-mobile .main-header-menu .menu-item,
    .ast-builder-menu-mobile .main-header-menu .menu-item > .menu-link,
    .ast-header-break-point .main-navigation ul .menu-item > .menu-link {
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
        color: #111827 !important;
    }

    /* Opción activa */
    .ast-builder-menu-mobile .current-menu-item > .menu-link,
    .ast-builder-menu-mobile .current_page_item > .menu-link,
    .ast-header-break-point .current-menu-item > .menu-link,
    .ast-header-break-point .current_page_item > .menu-link {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #ff6500 !important;
    }

    /* Hover / toque */
    .ast-builder-menu-mobile .menu-item > .menu-link:hover,
    .ast-builder-menu-mobile .menu-item > .menu-link:focus {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #ff6500 !important;
    }
}
/* =====================================================
   CALA – MENÚ MÓVIL PREMIUM TIPO PANEL LATERAL
   ===================================================== */

@media (max-width: 921px) {

    /* Contenedor general del menú */
    .ast-mobile-header-content {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;

        width: 82% !important;
        max-width: 360px !important;
        height: 100vh !important;
        min-height: 100vh !important;

        background: #ffffff !important;
        box-shadow: -12px 0 35px rgba(0,0,0,.15) !important;

        z-index: 999999 !important;
        overflow-y: auto !important;

        padding-top: 85px !important;
    }

    /* Fondo interior completamente blanco */
    .ast-mobile-header-content,
    .ast-mobile-header-content .ast-builder-menu-mobile,
    .ast-mobile-header-content .main-navigation,
    .ast-mobile-header-content .main-header-menu {
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
    }


    /* ==============================
       OPCIONES DEL MENÚ
       ============================== */

    .ast-builder-menu-mobile
    .main-header-menu
    > .menu-item
    > .menu-link {

        background: #ffffff !important;
        color: #111827 !important;

        font-size: 16px !important;
        font-weight: 600 !important;

        padding: 19px 28px !important;

        border-bottom: 1px solid #e5e7eb !important;

        text-align: left !important;
    }


    /* ACTIVO */
    .ast-builder-menu-mobile
    .main-header-menu
    > .current-menu-item
    > .menu-link,

    .ast-builder-menu-mobile
    .main-header-menu
    > .current_page_item
    > .menu-link {

        background: #ffffff !important;
        color: #ff6500 !important;
        font-weight: 800 !important;
    }


    /* TOCAR / HOVER */
    .ast-builder-menu-mobile
    .main-header-menu
    > .menu-item
    > .menu-link:hover,

    .ast-builder-menu-mobile
    .main-header-menu
    > .menu-item
    > .menu-link:focus {

        background: #fff7ed !important;
        color: #ff6500 !important;
    }


    /* ==============================
       ANIMACIÓN SUAVE
       ============================== */

    .ast-mobile-header-content {
        animation: calaMenuEntrada .28s ease-out;
    }

    @keyframes calaMenuEntrada {

        from {
            transform: translateX(100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

}
/* CALA – Alinear botón INICIAR SESIÓN en menú móvil */
@media (max-width: 921px) {

    .ast-builder-menu-mobile .main-navigation .menu-item > .menu-link {
        text-align: left !important;
        justify-content: flex-start !important;
    }

}
/* CALA – Forzar INICIAR SESIÓN a la izquierda en móvil */
@media (max-width: 921px) {

    .ast-mobile-popup-content .menu-item:last-child > a,
    .ast-builder-menu-mobile .main-header-menu > .menu-item:last-child > a {
        display: flex !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding-left: 40px !important;
        width: 100% !important;
    }

}
/* =========================================
   CALA – MENÚ MÓVIL PREMIUM
========================================= */

@media (max-width: 921px) {

    /* Fondo del panel */
    .ast-mobile-popup-inner,
    .ast-mobile-popup-content {
        background: #ffffff !important;
    }

    /* Cada opción del menú */
    .ast-builder-menu-mobile .main-header-menu > .menu-item {
        margin: 8px 16px !important;
    }

    .ast-builder-menu-mobile .main-header-menu > .menu-item > .menu-link {
        background: #f7f8fa !important;
        color: #111827 !important;
        border: 1px solid #eceff3 !important;
        border-radius: 12px !important;
        padding: 16px 18px !important;
        min-height: 54px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        font-weight: 800 !important;
        font-size: 16px !important;
        letter-spacing: .2px !important;

        box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;

        transition: all .2s ease !important;
    }

    /* Al tocar una opción */
    .ast-builder-menu-mobile .main-header-menu > .menu-item > .menu-link:hover,
    .ast-builder-menu-mobile .main-header-menu > .menu-item > .menu-link:focus {
        background: #fff3ea !important;
        color: #ff6500 !important;
        border-color: #ff6500 !important;
        transform: translateY(-1px);
    }

    /* PUBLICAR PROPIEDAD */
    .ast-builder-menu-mobile .main-header-menu > .menu-item:nth-last-child(3) > .menu-link {
        background: #fff7f1 !important;
        color: #ff6500 !important;
        border: 2px solid #ff6500 !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* CREAR CUENTA */
    .ast-builder-menu-mobile .main-header-menu > .menu-item:nth-last-child(2) > .menu-link {
        background: #ff6500 !important;
        color: #ffffff !important;
        border: 2px solid #ff6500 !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* INICIAR SESIÓN */
    .ast-builder-menu-mobile .main-header-menu > .menu-item:last-child > .menu-link {
        background: #111827 !important;
        color: #ffffff !important;
        border: 2px solid #111827 !important;
        justify-content: center !important;
        text-align: center !important;
    }

}
/* =====================================
   CALA - MENÚ MÓVIL BONITO
===================================== */

@media (max-width: 921px) {

    .ast-mobile-popup-drawer .ast-mobile-popup-inner {
        background: #ffffff !important;
    }

    .ast-mobile-popup-drawer .ast-mobile-popup-content
    .main-header-menu
    .menu-item {
        margin: 7px 14px !important;
        border: none !important;
    }

    .ast-mobile-popup-drawer .ast-mobile-popup-content
    .main-header-menu
    .menu-item > a {
        background: #f6f7f9 !important;
        color: #111827 !important;

        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;

        padding: 15px 18px !important;

        font-size: 16px !important;
        font-weight: 800 !important;

        min-height: 54px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        box-shadow: 0 3px 10px rgba(0,0,0,.05) !important;
    }

    .ast-mobile-popup-drawer .ast-mobile-popup-content
    .main-header-menu
    .menu-item > a:hover {
        background: #fff3e9 !important;
        color: #ff6500 !important;
        border-color: #ff6500 !important;
    }
}
/* ==========================================
   CALA - DISEÑO PREMIUM MENÚ MÓVIL FINAL
========================================== */

@media (max-width: 921px) {

    /* Separación entre opciones */
    .ast-header-break-point .main-navigation ul > li.menu-item {
        margin: 7px 14px !important;
        border: 0 !important;
        width: auto !important;
    }

    /* Tarjetas del menú */
    .ast-header-break-point .main-navigation ul > li.menu-item > a.menu-link {
        background: #f7f8fa !important;
        color: #111827 !important;

        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;

        padding: 15px 18px !important;
        min-height: 54px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        font-size: 16px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;

        box-shadow: 0 3px 10px rgba(0,0,0,.05) !important;
    }

    /* Página donde estás */
    .ast-header-break-point .main-navigation ul > li.current-menu-item > a.menu-link,
    .ast-header-break-point .main-navigation ul > li.current-menu-ancestor > a.menu-link {
        background: #fff3e9 !important;
        color: #ff6500 !important;
        border-color: #ff6500 !important;
    }

}
/* =========================================
   CALA – BOTONES ESPECIALES MENÚ MÓVIL
========================================= */

@media (max-width: 921px) {

    /* PUBLICAR PROPIEDAD */
    .ast-header-break-point .main-navigation li.cala-publicar > a.menu-link {
        background: #fff4ec !important;
        color: #f26522 !important;
        border: 2px solid #f26522 !important;
        justify-content: center !important;
        text-align: center !important;
        font-weight: 800 !important;
    }

    /* CREAR CUENTA */
    .ast-header-break-point .main-navigation li.cala-crear-cuenta > a.menu-link {
        background: #f26522 !important;
        color: #ffffff !important;
        border: 2px solid #f26522 !important;
        justify-content: center !important;
        text-align: center !important;
        font-weight: 800 !important;
        box-shadow: 0 5px 14px rgba(0,0,0,.10) !important;
    }

    /* INICIAR SESIÓN */
    .ast-header-break-point .main-navigation li.cala-iniciar-sesion > a.menu-link {
        background: #1f2937 !important;
        color: #ffffff !important;
        border: 2px solid #1f2937 !important;
        justify-content: center !important;
        text-align: center !important;
        font-weight: 800 !important;
    }

}
/* =========================================
   CALA – BOTONES PREMIUM DEFINITIVOS
========================================= */

@media (max-width: 921px) {

    /* PUBLICAR PROPIEDAD */
    body.ast-header-break-point
    .main-navigation ul > li.cala-publicar > a.menu-link {
        background: #fff3e8 !important;
        color: #f26522 !important;
        border: 2px solid #f26522 !important;
        border-radius: 12px !important;
        justify-content: center !important;
        text-align: center !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.06) !important;
    }

    /* CREAR CUENTA */
    body.ast-header-break-point
    .main-navigation ul > li.cala-crear-cuenta > a.menu-link {
        background: #f26522 !important;
        color: #ffffff !important;
        border: 2px solid #f26522 !important;
        border-radius: 12px !important;
        justify-content: center !important;
        text-align: center !important;
        box-shadow: 0 5px 14px rgba(0,0,0,.10) !important;
    }

    /* INICIAR SESIÓN / MI PANEL CALA */
    body.ast-header-break-point
    .main-navigation ul > li.cala-iniciar-sesion > a.menu-link {
        background: #111827 !important;
        color: #ffffff !important;
        border: 2px solid #111827 !important;
        border-radius: 12px !important;
        justify-content: center !important;
        text-align: center !important;
        box-shadow: 0 5px 14px rgba(0,0,0,.10) !important;
    }

}
/* =========================================
   CALA – FACTURA DE PAGO
   Página ID 1632
========================================= */

.page-id-1632 {
    background: #f7f8fa;
}

.page-id-1632 .site-content {
    background: #f7f8fa;
}

.page-id-1632 .entry-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 25px 80px;
}

/* Título principal */
.page-id-1632 .entry-title {
    color: #111827;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 35px;
}

/* Línea naranja debajo del título */
.page-id-1632 .entry-title:after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    background: #ff6500;
    border-radius: 20px;
    margin-top: 14px;
}

/* Móvil */
@media (max-width: 768px) {

    .page-id-1632 .entry-content {
        padding: 30px 18px 60px;
    }

    .page-id-1632 .entry-title {
        font-size: 30px;
    }
}
/* =========================================
   CALA CHECKOUT PREMIUM
========================================= */

body.page-id-1632 {
    background: #f6f7f9 !important;
}

/* Área general */
.page-id-1632 #primary {
    max-width: 1050px !important;
    margin: 0 auto !important;
    padding: 55px 25px 90px !important;
}

/* Título FACTURA DE PAGO */
.page-id-1632 h1.entry-title {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    letter-spacing: -1px !important;
    margin-bottom: 45px !important;
}

/* CAJA DEL PAQUETE */
.page-id-1632 .package-info,
.page-id-1632 .payment-wrap .package-info,
.page-id-1632 .ere-payment-wrap .package-info {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 35px rgba(17,24,39,.08) !important;
}

/* Títulos del checkout */
.page-id-1632 h2,
.page-id-1632 h3 {
    color: #111827 !important;
    font-weight: 800 !important;
}

/* Botón PAGAR AHORA */
.page-id-1632 button,
.page-id-1632 input[type="submit"],
.page-id-1632 .btn,
.page-id-1632 .btn-primary,
.page-id-1632 .btn-success {
    background: #ff6500 !important;
    border-color: #ff6500 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    min-height: 50px !important;
    padding: 12px 28px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(255,101,0,.20) !important;
    transition: all .2s ease !important;
}

.page-id-1632 button:hover,
.page-id-1632 input[type="submit"]:hover,
.page-id-1632 .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 25px rgba(255,101,0,.28) !important;
}

/* Links */
.page-id-1632 .entry-content a {
    color: #ff6500 !important;
    font-weight: 700 !important;
}

/* MÓVIL */
@media (max-width: 768px) {

    .page-id-1632 #primary {
        padding: 30px 18px 60px !important;
    }

    .page-id-1632 h1.entry-title {
        font-size: 28px !important;
        margin-bottom: 28px !important;
    }

    .page-id-1632 button,
    .page-id-1632 input[type="submit"],
    .page-id-1632 .btn {
        width: 100% !important;
    }
}
/* =========================================
   CALA – CHECKOUT PREMIUM AJUSTE DE LAYOUT
========================================= */

@media (min-width: 769px) {

    /* Dar más ancho al contenido */
    .page-id-1632 #primary {
        max-width: 1180px !important;
    }

    /* Contenedor del shortcode */
    .page-id-1632 .entry-content {
        width: 100% !important;
    }

    /* Forzar columnas amplias */
    .page-id-1632 .ere-payment-wrap,
    .page-id-1632 .payment-wrap,
    .page-id-1632 .ere-payment {
        width: 100% !important;
    }

    /* Columna izquierda - paquete */
    .page-id-1632 .payment-package,
    .page-id-1632 .package-info,
    .page-id-1632 .ere-package {
        min-width: 360px !important;
        width: 360px !important;
        max-width: 360px !important;
        flex: 0 0 360px !important;
    }

    /* Columna derecha - pago */
    .page-id-1632 .payment-method,
    .page-id-1632 .payment-method-wrap,
    .page-id-1632 .ere-payment-method {
        min-width: 420px !important;
        flex: 1 1 420px !important;
    }

    /* Separación entre columnas */
    .page-id-1632 .row,
    .page-id-1632 .payment-content {
        column-gap: 55px !important;
    }

    /* Evitar que el nombre del paquete se monte */
    .page-id-1632 td,
    .page-id-1632 th {
        white-space: normal !important;
        line-height: 1.4 !important;
    }

    /* El botón cambiar paquete no debe parecer un bloque naranja vacío */
    .page-id-1632 a.btn,
    .page-id-1632 .change-package,
    .page-id-1632 .btn-change-package {
        background: transparent !important;
        color: #111827 !important;
        border: 1px solid #e5e7eb !important;
        box-shadow: none !important;
    }
}

/* Móvil */
@media (max-width: 768px) {

    .page-id-1632 .payment-package,
    .page-id-1632 .package-info,
    .page-id-1632 .ere-package,
    .page-id-1632 .payment-method,
    .page-id-1632 .payment-method-wrap,
    .page-id-1632 .ere-payment-method {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 100% !important;
    }

}
/* =====================================================
   CALA CHECKOUT – DISTRIBUCIÓN PREMIUM DEFINITIVA
===================================================== */

@media (min-width: 769px) {

    /* Contenedor general del checkout */
    body.page-id-1632 .payment-wrap {
        width: 100% !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
    }

    /* Las dos columnas */
    body.page-id-1632 .payment-wrap > .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 45px !important;
        margin: 0 !important;
    }

    /* RESUMEN DEL PAQUETE */
    body.page-id-1632 .payment-wrap > .row > .col-md-4 {
        width: 38% !important;
        max-width: 38% !important;
        flex: 0 0 38% !important;
        padding: 0 !important;
    }

    /* MÉTODOS DE PAGO */
    body.page-id-1632 .payment-wrap > .row > .col-md-8 {
        width: calc(62% - 45px) !important;
        max-width: calc(62% - 45px) !important;
        flex: 1 1 auto !important;
        padding: 0 !important;
    }


    /* =============================
       TARJETA DEL PAQUETE
    ============================= */

    body.page-id-1632 .ere-package-item {
        width: 100% !important;
        max-width: none !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        background: #ffffff !important;
        box-shadow: 0 12px 35px rgba(17,24,39,.08) !important;
    }

    body.page-id-1632 .ere-package-item .card-header {
        background: #111827 !important;
        padding: 20px 24px !important;
        border: 0 !important;
    }

    body.page-id-1632 .ere-package-item .card-title {
        color: #ffffff !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        margin: 0 !important;
    }

    body.page-id-1632 .ere-package-item .list-group-item {
        padding: 16px 22px !important;
        border-color: #eef0f3 !important;
        font-size: 15px !important;
    }

    /* Dar espacio suficiente al nombre del paquete */
    body.page-id-1632 .ere-package-item .list-group-item:first-child {
        min-height: 72px !important;
    }


    /* =============================
       MÉTODOS DE PAGO
    ============================= */

    body.page-id-1632 .payment-wrap > .row > .col-md-8 {
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 18px !important;
        padding: 30px 35px !important;
        box-shadow: 0 12px 35px rgba(17,24,39,.08) !important;
        min-height: 340px !important;
    }

    body.page-id-1632 .payment-wrap > .row > .col-md-8 h2,
    body.page-id-1632 .payment-wrap > .row > .col-md-8 h3 {
        margin-top: 0 !important;
    }


    /* =============================
       CAMBIAR PAQUETE
       Quitamos el bloque naranja feo
    ============================= */

    body.page-id-1632 .ere-package-item a.btn,
    body.page-id-1632 .ere-package-item .btn {
        background: #ffffff !important;
        color: #111827 !important;
        border: 1px solid #dfe3e8 !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        min-height: 46px !important;
        padding: 11px 18px !important;
        font-weight: 700 !important;
        width: calc(100% - 32px) !important;
        margin: 12px 16px !important;
    }


    /* =============================
       BOTÓN PAGAR AHORA
    ============================= */

    body.page-id-1632 .payment-wrap > .row > .col-md-8 .btn-success,
    body.page-id-1632 .payment-wrap > .row > .col-md-8 button,
    body.page-id-1632 .payment-wrap > .row > .col-md-8 input[type="submit"] {
        background: #ff6500 !important;
        border-color: #ff6500 !important;
        color: #ffffff !important;
        border-radius: 10px !important;
        min-height: 52px !important;
        padding: 13px 30px !important;
        font-weight: 800 !important;
        box-shadow: 0 8px 20px rgba(255,101,0,.20) !important;
    }
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 768px) {

    body.page-id-1632 .payment-wrap > .row {
        display: block !important;
        margin: 0 !important;
    }

    body.page-id-1632 .payment-wrap > .row > .col-md-4,
    body.page-id-1632 .payment-wrap > .row > .col-md-8 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-bottom: 22px !important;
    }

    body.page-id-1632 .payment-wrap > .row > .col-md-8 {
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 16px !important;
        padding: 24px 20px !important;
        box-shadow: 0 8px 25px rgba(17,24,39,.07) !important;
    }
}
/* CALA – Nombre completo del paquete en checkout */
body.page-id-1632 .ere-package-item .badge {
    white-space: normal !important;
    display: inline-block !important;
    max-width: 100% !important;
    line-height: 1.35 !important;
    text-align: right !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: normal !important;
}