/*
Theme Name: dClassified Child
Template: dclassified
Version: 1.0
*/

/* ==================================================
   POSTO CARD V2 - CSS LIMPIO Y ESTABLE
================================================== */

/* Card general */
.directorist-listing-card {
    background: #ffffff !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: 0 18px 45px rgba(16, 32, 51, 0.10) !important;
    padding: 0 !important;
}

/* Card en modo Posto */
.directorist-listing-card.posto-card-enhanced {
    display: flex !important;
    flex-direction: column !important;
}

/* Foto */
.directorist-listing-card .directorist-listing-single__thumb {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    border-radius: 30px 30px 0 0 !important;
    overflow: hidden !important;
}

/* Contenedores del carrusel */
.directorist-listing-card .directorist-thumnail-card,
.directorist-listing-card .directorist-thumnail-card-front-wrap,
.directorist-listing-card .directorist-swiper,
.directorist-listing-card .swiper-wrapper,
.directorist-listing-card .swiper-slide,
.directorist-listing-card figure {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    border-radius: 30px 30px 0 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

/* Imagen */
.directorist-listing-card .directorist-thumnail-card-front-img,
.directorist-listing-card .directorist-listing-single__thumb img {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 30px 30px 0 0 !important;
    background: transparent !important;
}

/* Contenido debajo de foto */
.directorist-listing-card.posto-card-enhanced .directorist-listing-single__content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 26px 28px !important;
    text-align: left !important;
}

/* Estructura interna */
.directorist-listing-card.posto-card-enhanced .directorist-listing-single__info,
.directorist-listing-card.posto-card-enhanced .directorist-listing-single__info__top {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Cuerpo creado por JS */
.directorist-listing-card .posto-card-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 190px !important;
}

/* Kicker */
.directorist-listing-card .posto-card-kicker {
    margin: 0 0 10px 0 !important;
    color: #6d7788 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    text-align: left !important;
}

/* Título */
.directorist-listing-card .posto-card-title {
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.directorist-listing-card .posto-card-title a {
    display: block !important;
    font-size: 21px !important;
    line-height: 1.22 !important;
    font-weight: 800 !important;
    color: #071b35 !important;
    text-decoration: none !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
}

/* Features */
.directorist-listing-card .posto-card-features {
    margin: 0 0 26px 0 !important;
    color: #687386 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    text-align: left !important;
}

/* Precio */
.directorist-listing-card .posto-card-price {
    margin-top: auto !important;
    padding-top: 2px !important;
    text-align: left !important;
}

.directorist-listing-card .posto-card-price .directorist-pricing-meta {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.directorist-listing-card .posto-card-price .directorist-listing-price {
    display: block !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    color: #071b35 !important;
    letter-spacing: -0.045em !important;
    text-align: left !important;
}

/* Ocultar estructura original reemplazada */
.directorist-listing-card.posto-card-enhanced .directorist-listing-single__info__list,
.directorist-listing-card.posto-card-enhanced .directorist-listing-single__meta,
.directorist-listing-card.posto-card-enhanced .directorist-compare-btn {
    display: none !important;
}

/* Favorito */
.directorist-listing-card .directorist-mark-as-favorite__btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14) !important;
}

/* Vacíos invisibles pero reservan espacio */
.directorist-listing-card .posto-card-empty {
    visibility: hidden !important;
}

/* Separación entre cards */
.directorist-col-4 {
    margin-bottom: 34px !important;
}

/* Mobile card */
@media only screen and (max-width: 767px) {
    .directorist-listing-card {
        border-radius: 24px !important;
        min-height: 0 !important;
    }

    .directorist-listing-card .directorist-listing-single__thumb,
    .directorist-listing-card .directorist-thumnail-card,
    .directorist-listing-card .directorist-thumnail-card-front-wrap,
    .directorist-listing-card .directorist-swiper,
    .directorist-listing-card .swiper-wrapper,
    .directorist-listing-card .swiper-slide,
    .directorist-listing-card figure,
    .directorist-listing-card .directorist-thumnail-card-front-img,
    .directorist-listing-card .directorist-listing-single__thumb img {
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
        border-radius: 24px 24px 0 0 !important;
    }

    .directorist-listing-card.posto-card-enhanced .directorist-listing-single__content {
        padding: 22px 24px 28px !important;
    }

    .directorist-listing-card .posto-card-body {
        min-height: 0 !important;
    }

    .directorist-listing-card .posto-card-kicker {
        font-size: 15px !important;
        line-height: 1.35 !important;
        margin-bottom: 9px !important;
    }

    .directorist-listing-card .posto-card-title {
        margin-bottom: 15px !important;
    }

    .directorist-listing-card .posto-card-title a {
        font-size: 21px !important;
        line-height: 1.2 !important;
    }

    .directorist-listing-card .posto-card-features {
        margin-bottom: 24px !important;
    }

    .directorist-listing-card .posto-card-price .directorist-listing-price {
        font-size: 32px !important;
        line-height: 1.05 !important;
    }
}



/* ==================================================
   POSTO SINGLE PROPERTY - BLOQUE UNICO LIMPIO V7
   Corrige: sticky, descripcion ancho completo, galeria 3 columnas,
   direccion alineada a izquierda. No toca cards/listados ni filtros.
================================================== */

body.single-at_biz_dir {
    background: #f6f8fb !important;
}

body.single-at_biz_dir .theme-container,
body.single-at_biz_dir .directorist-container,
body.single-at_biz_dir .directorist-container-fluid {
    max-width: 1240px !important;
}

body.single-at_biz_dir .directorist-single-listing-content {
    padding-top: 28px !important;
}

/* ==================================================
   COLUMNAS + STICKY
   No tocamos todas las .directorist-row porque la galeria tambien usa row.
================================================== */

body.single-at_biz_dir,
body.single-at_biz_dir #page,
body.single-at_biz_dir #content,
body.single-at_biz_dir #primary,
body.single-at_biz_dir .site,
body.single-at_biz_dir .site-content,
body.single-at_biz_dir .theme-container,
body.single-at_biz_dir .main-content,
body.single-at_biz_dir .content-area,
body.single-at_biz_dir .directorist-single-contents-area,
body.single-at_biz_dir .directorist-single-listing-content,
body.single-at_biz_dir .directorist-single-listing-content .directorist-row:not(.directorist-gallery-grid):not(.directorist-gallery-grid-two) {
    overflow: visible !important;
}

@media only screen and (min-width: 992px) {
    /* Solo la columna principal izquierda */
    body.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-8:has(.directorist-single-wrapper),
    body.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-8:has(#directorist-single-listing-slider-wrap) {
        width: 66.66666667% !important;
        max-width: 66.66666667% !important;
        flex: 0 0 66.66666667% !important;
        min-width: 0 !important;
    }

    /* Solo la columna derecha que contiene el sidebar/formulario */
    body.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.directorist-sidebar),
    body.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.gform_widget),
    body.single-at_biz_dir .directorist-single-listing-content .directorist-single-sidebar-area {
        width: 33.33333333% !important;
        max-width: 33.33333333% !important;
        flex: 0 0 33.33333333% !important;
        position: sticky !important;
        top: 115px !important;
        align-self: flex-start !important;
        height: fit-content !important;
        z-index: 40 !important;
        overflow: visible !important;
    }

    body.admin-bar.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.directorist-sidebar),
    body.admin-bar.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.gform_widget),
    body.admin-bar.single-at_biz_dir .directorist-single-listing-content .directorist-single-sidebar-area {
        top: 145px !important;
    }

    body.single-at_biz_dir .directorist-sidebar {
        position: static !important;
        top: auto !important;
        overflow: visible !important;
    }
}

/* ==================================================
   HEADER DE LA PROPIEDAD
================================================== */

body.single-at_biz_dir .directorist-single-listing-header {
    background: #ffffff !important;
    border: 1px solid #edf0f5 !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 38px rgba(16, 32, 51, 0.06) !important;
    padding: 30px !important;
    margin: 0 0 26px 0 !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-single-listing-header,
body.single-at_biz_dir .directorist-single-listing-header__left,
body.single-at_biz_dir .directorist-single-listing-header__right,
body.single-at_biz_dir .directorist-single-listing-header__listing-title-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-single-listing-header__listing-title {
    display: block !important;
    max-width: 780px !important;
    margin: 0 0 18px 0 !important;
    color: #071b35 !important;
    font-size: 36px !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
    letter-spacing: -0.6px !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-single-listing-header__listing-tagline,
body.single-at_biz_dir .directorist-compare-btn,
body.single-at_biz_dir .directorist-single-listing-action__extra,
body.single-at_biz_dir .directorist-single-listing-action__extra__more,
body.single-at_biz_dir .directorist-signle-listing-top__btn-edit {
    display: none !important;
}

body.single-at_biz_dir .directorist-single-listing-action,
body.single-at_biz_dir .directorist-single-listing-action__btn {
    width: auto !important;
    max-width: max-content !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 0 18px 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.single-at_biz_dir .directorist-social-share,
body.single-at_biz_dir .directorist-social-share button,
body.single-at_biz_dir .directorist-social-share .directorist-social-share__toggle {
    width: auto !important;
    min-width: 112px !important;
    height: 42px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 1px solid #e4eaf1 !important;
    background: #f7f9fc !important;
    color: #071b35 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

body.single-at_biz_dir .directorist-social-share:hover,
body.single-at_biz_dir .directorist-social-share button:hover,
body.single-at_biz_dir .directorist-social-share .directorist-social-share__toggle:hover {
    background: #eef7fc !important;
    border-color: #32a7e2 !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo,
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-single__info,
body.single-at_biz_dir .directorist-listing-single__info {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-info-item,
body.single-at_biz_dir .directorist-listing-single__info .directorist-info-item {
    margin: 0 !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-info-item-price,
body.single-at_biz_dir .directorist-listing-single__info .directorist-info-item-price {
    min-height: 52px !important;
    padding: 0 24px !important;
    border-radius: 999px !important;
    background: #071b35 !important;
    border-color: #071b35 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-price,
body.single-at_biz_dir .directorist-listing-single__info .directorist-listing-price {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location,
body.single-at_biz_dir .directorist-listing-single__info .directorist-listing-category,
body.single-at_biz_dir .directorist-listing-single__info .directorist-listing-location {
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid #e5ebf2 !important;
    background: #f7f9fc !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo a,
body.single-at_biz_dir .directorist-listing-single-quickinfo span,
body.single-at_biz_dir .directorist-listing-single__info a,
body.single-at_biz_dir .directorist-listing-single__info span {
    color: #071b35 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
}

/* ==================================================
   FOTO PRINCIPAL
================================================== */

body.single-at_biz_dir #directorist-single-listing-slider-wrap,
body.single-at_biz_dir .directorist-single-listing-slider-wrap {
    border-radius: 26px !important;
    overflow: hidden !important;
    border: 1px solid #edf0f5 !important;
    background: #f4f6f9 !important;
    box-shadow: 0 18px 45px rgba(16, 32, 51, 0.08) !important;
    margin-bottom: 28px !important;
}

body.single-at_biz_dir .directorist-single-listing-slider-thumb,
body.single-at_biz_dir .directorist-single-listing-slider-thumb-wrap,
body.single-at_biz_dir .directorist-single-listing-slider__thumb,
body.single-at_biz_dir .directorist-single-listing-slider-thumbnails {
    display: none !important;
}

body.single-at_biz_dir .directorist-single-listing-slider,
body.single-at_biz_dir .directorist-single-listing-slider .swiper-wrapper,
body.single-at_biz_dir .directorist-single-listing-slider .swiper-slide,
body.single-at_biz_dir .directorist-single-listing-slider figure,
body.single-at_biz_dir .directorist-single-listing-slider img {
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
}

body.single-at_biz_dir .directorist-single-listing-slider img {
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

/* ==================================================
   CARDS GENERALES
================================================== */

body.single-at_biz_dir .directorist-card {
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #edf0f5 !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 38px rgba(16, 32, 51, 0.06) !important;
    margin-bottom: 26px !important;
    overflow: hidden !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

body.single-at_biz_dir .directorist-card__header {
    width: 100% !important;
    padding: 24px 26px !important;
    border-bottom: 1px solid #edf0f5 !important;
    background: #ffffff !important;
    text-align: left !important;
    display: block !important;
}

body.single-at_biz_dir .directorist-card__header__title,
body.single-at_biz_dir .directorist-card__header-text {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    color: #071b35 !important;
    font-size: 26px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    letter-spacing: -0.4px !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-card__header-icon,
body.single-at_biz_dir .directorist-single-info__label-icon {
    display: none !important;
}

body.single-at_biz_dir .directorist-card__body {
    width: 100% !important;
    max-width: 100% !important;
    padding: 26px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Base: details-info-wrap NO es grilla por defecto.
   Esto evita que descripcion, direccion, mapa e imagenes queden en media columna. */
body.single-at_biz_dir .directorist-details-info-wrap {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    text-align: left !important;
}

/* ==================================================
   DESCRIPCION - ANCHO COMPLETO
================================================== */

body.single-at_biz_dir .directorist-listing-details,
body.single-at_biz_dir .directorist-listing-details__text,
body.single-at_biz_dir .directorist-listing-details__text > * {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: left !important;
    grid-column: 1 / -1 !important;
    float: none !important;
}

body.single-at_biz_dir .directorist-listing-details__text {
    color: #31445c !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.single-at_biz_dir .directorist-listing-details__text p {
    margin: 0 0 14px 0 !important;
}

body.single-at_biz_dir .directorist-listing-details__text strong {
    color: #071b35 !important;
    font-weight: 850 !important;
}

/* ==================================================
   INFORMACION GENERAL - SOLO CUANDO HAY DATOS DIRECTOS
================================================== */

body.single-at_biz_dir .directorist-details-info-wrap:has(> .directorist-single-info) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

body.single-at_biz_dir .directorist-details-info-wrap:has(> .directorist-single-info) > .directorist-single-info {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 66px !important;
    background: #f7f9fc !important;
    border: 1px solid #e6ebf2 !important;
    border-radius: 18px !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    display: block !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

body.single-at_biz_dir .directorist-details-info-wrap:has(> .directorist-single-info) > .directorist-single-info .directorist-single-info__label,
body.single-at_biz_dir .directorist-details-info-wrap:has(> .directorist-single-info) > .directorist-single-info .directorist-single-info__value {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-at_biz_dir .directorist-details-info-wrap:has(> .directorist-single-info) > .directorist-single-info .directorist-single-info__label {
    color: #718197 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 7px !important;
}

body.single-at_biz_dir .directorist-details-info-wrap:has(> .directorist-single-info) > .directorist-single-info .directorist-single-info__value {
    color: #071b35 !important;
    font-size: 18px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
}

/* ==================================================
   IMAGENES - 3 COLUMNAS REALES
================================================== */

body.single-at_biz_dir .directorist-gallery-grid-two.directorist-row,
body.single-at_biz_dir .directorist-gallery-grid.directorist-row,
body.single-at_biz_dir .directorist-gallery-grid-two,
body.single-at_biz_dir .directorist-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    align-items: stretch !important;
}

body.single-at_biz_dir .directorist-gallery-grid-two > .directorist-grid-item,
body.single-at_biz_dir .directorist-gallery-grid > .directorist-grid-item,
body.single-at_biz_dir .directorist-gallery-grid-two > .directorist-col-md-4,
body.single-at_biz_dir .directorist-gallery-grid > .directorist-col-md-4,
body.single-at_biz_dir .directorist-gallery-grid-two > [class*="directorist-col"],
body.single-at_biz_dir .directorist-gallery-grid > [class*="directorist-col"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

body.single-at_biz_dir .directorist-gallery-grid-two figure,
body.single-at_biz_dir .directorist-gallery-grid figure {
    display: block !important;
    width: 100% !important;
    height: 230px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #f4f6f9 !important;
    margin: 0 !important;
    position: relative !important;
}

body.single-at_biz_dir .directorist-gallery-grid-two img,
body.single-at_biz_dir .directorist-gallery-grid img {
    width: 100% !important;
    max-width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 18px !important;
}

body.single-at_biz_dir .directorist-gallery-grid-two figcaption,
body.single-at_biz_dir .directorist-gallery-grid figcaption {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(7, 27, 53, 0.18) !important;
    opacity: 0 !important;
    transition: opacity 0.18s ease !important;
}

body.single-at_biz_dir .directorist-gallery-grid-two figure:hover figcaption,
body.single-at_biz_dir .directorist-gallery-grid figure:hover figcaption {
    opacity: 1 !important;
}

/* ==================================================
   UBICACION + MAPA - SIN CENTRADO
================================================== */

body.single-at_biz_dir .directorist-single-info-address,
body.single-at_biz_dir .directorist-single-info-address *,
body.single-at_biz_dir .directorist-single-map,
body.single-at_biz_dir .directorist-single-map *,
body.single-at_biz_dir .directorist-single-map__location,
body.single-at_biz_dir .directorist-single-map__location * {
    text-align: left !important;
}

body.single-at_biz_dir .directorist-single-info-address,
body.single-at_biz_dir .directorist-single-map,
body.single-at_biz_dir .directorist-single-map__location {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1 !important;
    float: none !important;
}

body.single-at_biz_dir .directorist-single-info-address .directorist-single-info {
    background: #f7f9fc !important;
    border: 1px solid #e6ebf2 !important;
    border-radius: 18px !important;
    padding: 18px !important;
    display: block !important;
    text-align: left !important;
    margin: 0 0 18px 0 !important;
}

body.single-at_biz_dir .directorist-single-info-address .directorist-single-info__label,
body.single-at_biz_dir .directorist-single-info-address .directorist-single-info__value {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
}

body.single-at_biz_dir .directorist-single-info-address .directorist-single-info__label {
    color: #718197 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}

body.single-at_biz_dir .directorist-single-info-address .directorist-single-info__value {
    color: #071b35 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

body.single-at_biz_dir .directorist-single-map,
body.single-at_biz_dir .directorist-single-map__location,
body.single-at_biz_dir .directorist-single-map iframe,
body.single-at_biz_dir .directorist-single-map .directorist-single-map__location {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 320px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

/* ==================================================
   FORMULARIO DERECHO
================================================== */

body.single-at_biz_dir .directorist-sidebar .dclassified_widget_buttons {
    display: none !important;
}

body.single-at_biz_dir .directorist-sidebar .gform_widget,
body.single-at_biz_dir .directorist-sidebar .widget,
body.single-at_biz_dir .directorist-single-sidebar-area .widget {
    background: #ffffff !important;
    border: 1px solid #edf0f5 !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 45px rgba(16, 32, 51, 0.08) !important;
    overflow: hidden !important;
}

body.single-at_biz_dir .directorist-sidebar .gform_widget .directorist-card__header,
body.single-at_biz_dir .directorist-sidebar .directorist-widget__header,
body.single-at_biz_dir .directorist-single-sidebar-area .directorist-widget__header {
    padding: 24px 24px 8px !important;
    border-bottom: none !important;
    background: #ffffff !important;
}

body.single-at_biz_dir .directorist-sidebar .gform_widget .directorist-card__header__title,
body.single-at_biz_dir .directorist-sidebar .directorist-widget__header__title,
body.single-at_biz_dir .directorist-single-sidebar-area .directorist-widget__header__title {
    color: #071b35 !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    margin: 0 !important;
    text-align: left !important;
}

body.single-at_biz_dir .gform_wrapper,
body.single-at_biz_dir .directorist-sidebar #gform_wrapper_1 {
    padding: 8px 24px 24px !important;
    text-align: left !important;
}

body.single-at_biz_dir .gform_wrapper input[type="text"],
body.single-at_biz_dir .gform_wrapper input[type="email"],
body.single-at_biz_dir .gform_wrapper input[type="tel"],
body.single-at_biz_dir .gform_wrapper textarea {
    border-radius: 14px !important;
    border: 1px solid #dfe6ef !important;
    background: #f8fafc !important;
    color: #071b35 !important;
    font-size: 15px !important;
    padding: 12px 15px !important;
    text-align: left !important;
}

body.single-at_biz_dir .gform_wrapper input[type="text"],
body.single-at_biz_dir .gform_wrapper input[type="email"],
body.single-at_biz_dir .gform_wrapper input[type="tel"] {
    height: 50px !important;
}

body.single-at_biz_dir .gform_wrapper input:focus,
body.single-at_biz_dir .gform_wrapper textarea:focus {
    border-color: #32a7e2 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(50, 167, 226, 0.14) !important;
    outline: none !important;
}

body.single-at_biz_dir .gform_wrapper input[type="submit"],
body.single-at_biz_dir .gform_wrapper button[type="submit"],
body.single-at_biz_dir #gform_submit_button_1 {
    width: 100% !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    background: #32a7e2 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    border: none !important;
    box-shadow: 0 12px 26px rgba(50, 167, 226, 0.25) !important;
    text-align: center !important;
}

body.single-at_biz_dir .gform_wrapper input[type="submit"]:hover,
body.single-at_biz_dir .gform_wrapper button[type="submit"]:hover,
body.single-at_biz_dir #gform_submit_button_1:hover {
    background: #071b35 !important;
}

/* ==================================================
   MOBILE
================================================== */

@media only screen and (max-width: 991px) {
    body.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.directorist-sidebar),
    body.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.gform_widget),
    body.single-at_biz_dir .directorist-single-listing-content .directorist-single-sidebar-area {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 28px !important;
    }
}

@media only screen and (max-width: 767px) {
    body.single-at_biz_dir {
        background: #ffffff !important;
    }

    body.single-at_biz_dir .directorist-single-listing-header {
        padding: 22px !important;
        border-radius: 20px !important;
    }

    body.single-at_biz_dir .directorist-single-listing-header__listing-title {
        font-size: 30px !important;
    }

    body.single-at_biz_dir .directorist-single-listing-slider,
    body.single-at_biz_dir .directorist-single-listing-slider .swiper-wrapper,
    body.single-at_biz_dir .directorist-single-listing-slider .swiper-slide,
    body.single-at_biz_dir .directorist-single-listing-slider figure,
    body.single-at_biz_dir .directorist-single-listing-slider img {
        height: 310px !important;
        min-height: 310px !important;
        max-height: 310px !important;
    }

    body.single-at_biz_dir .directorist-card__header,
    body.single-at_biz_dir .directorist-card__body {
        padding: 22px !important;
    }

    body.single-at_biz_dir .directorist-details-info-wrap:has(> .directorist-single-info) {
        grid-template-columns: 1fr !important;
    }

    body.single-at_biz_dir .directorist-gallery-grid-two.directorist-row,
    body.single-at_biz_dir .directorist-gallery-grid.directorist-row,
    body.single-at_biz_dir .directorist-gallery-grid-two,
    body.single-at_biz_dir .directorist-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body.single-at_biz_dir .directorist-gallery-grid-two figure,
    body.single-at_biz_dir .directorist-gallery-grid figure,
    body.single-at_biz_dir .directorist-gallery-grid-two img,
    body.single-at_biz_dir .directorist-gallery-grid img {
        height: 245px !important;
        min-height: 245px !important;
        max-height: 245px !important;
    }

    body.single-at_biz_dir .gform_wrapper,
    body.single-at_biz_dir .directorist-sidebar #gform_wrapper_1 {
        padding: 8px 22px 24px !important;
    }
}

/* ==================================================
   POSTO SINGLE PROPERTY - HEADER FINAL TIPO FICHA
================================================== */

/* Header limpio */
body.single-at_biz_dir .directorist-single-listing-header {
    text-align: left !important;
    padding: 34px 36px !important;
}

/* Título */
body.single-at_biz_dir .directorist-single-listing-header__listing-title {
    margin: 0 0 18px 0 !important;
    max-width: 760px !important;
    text-align: left !important;
}

/* Botón compartir más discreto */
body.single-at_biz_dir .directorist-single-listing-header__right {
    display: block !important;
    width: auto !important;
    max-width: max-content !important;
    margin: 0 0 24px 0 !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-social-share,
body.single-at_biz_dir .directorist-social-share button,
body.single-at_biz_dir .directorist-social-share .directorist-social-share__toggle {
    min-width: 116px !important;
    height: 42px !important;
    border-radius: 999px !important;
    background: #f4f6f9 !important;
    border: 1px solid #e5ebf2 !important;
    box-shadow: none !important;
}

/* Quick info como bloque vertical */
body.single-at_biz_dir .directorist-listing-single-quickinfo {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-single__info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Precio grande arriba */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-info-item-price {
    order: 1 !important;
    margin: 0 !important;
    min-height: 58px !important;
    padding: 0 30px !important;
    border-radius: 999px !important;
    background: #071b35 !important;
    border-color: #071b35 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-price {
    color: #ffffff !important;
    font-size: 25px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.4px !important;
}

/* Tipo y barrio juntos debajo */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location {
    order: 2 !important;
    margin: 0 !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid #e5ebf2 !important;
    background: #f7f9fc !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Hacemos una fila secundaria para categoría + barrio */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category {
    margin-right: 10px !important;
}

/* Truco: categoría y barrio en la misma línea */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location {
    display: inline-flex !important;
}

/* Contenedor vuelve a permitir línea horizontal debajo del precio */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-single__info {
    display: block !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-info-item-price {
    display: inline-flex !important;
    margin-bottom: 14px !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location {
    vertical-align: middle !important;
}

/* Links dentro de chips */
body.single-at_biz_dir .directorist-listing-single-quickinfo a,
body.single-at_biz_dir .directorist-listing-single-quickinfo span {
    color: #071b35 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
    body.single-at_biz_dir .directorist-single-listing-header {
        padding: 24px 22px !important;
    }

    body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-info-item-price {
        min-height: 54px !important;
        padding: 0 24px !important;
    }

    body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-price {
        font-size: 23px !important;
    }

    body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
    body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location {
        margin-bottom: 8px !important;
    }
}

/* ==================================================
   POSTO SINGLE PROPERTY - HEADER AJUSTE FINO
================================================== */

/* Menos aire debajo del botón compartir */
body.single-at_biz_dir .directorist-single-listing-header__right {
    margin: 0 0 14px 0 !important;
}

/* Acercar precio/chips al bloque superior */
body.single-at_biz_dir .directorist-listing-single-quickinfo {
    margin-top: 0 !important;
}

/* Precio y chips mejor alineados */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-info-item-price {
    margin-bottom: 0 !important;
    margin-right: 12px !important;
    vertical-align: middle !important;
}

/* Chips apenas más bajos para alinear con el precio */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location {
    position: relative !important;
    top: -2px !important;
}

/* Compartir más chico y menos protagonista */
body.single-at_biz_dir .directorist-social-share,
body.single-at_biz_dir .directorist-social-share button,
body.single-at_biz_dir .directorist-social-share .directorist-social-share__toggle {
    min-width: 104px !important;
    height: 38px !important;
    font-size: 13px !important;
    background: #f5f7fa !important;
}

/* ==================================================
   POSTO SINGLE PROPERTY - HEADER FINAL TIPO FICHA
================================================== */

/* Header limpio */
body.single-at_biz_dir .directorist-single-listing-header {
    text-align: left !important;
    padding: 34px 36px !important;
}

/* Título */
body.single-at_biz_dir .directorist-single-listing-header__listing-title {
    margin: 0 0 18px 0 !important;
    max-width: 760px !important;
    text-align: left !important;
}

/* Botón compartir más discreto */
body.single-at_biz_dir .directorist-single-listing-header__right {
    display: block !important;
    width: auto !important;
    max-width: max-content !important;
    margin: 0 0 24px 0 !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-social-share,
body.single-at_biz_dir .directorist-social-share button,
body.single-at_biz_dir .directorist-social-share .directorist-social-share__toggle {
    min-width: 116px !important;
    height: 42px !important;
    border-radius: 999px !important;
    background: #f4f6f9 !important;
    border: 1px solid #e5ebf2 !important;
    box-shadow: none !important;
}

/* Quick info como bloque vertical */
body.single-at_biz_dir .directorist-listing-single-quickinfo {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-single__info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Precio grande arriba */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-info-item-price {
    order: 1 !important;
    margin: 0 !important;
    min-height: 58px !important;
    padding: 0 30px !important;
    border-radius: 999px !important;
    background: #071b35 !important;
    border-color: #071b35 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-price {
    color: #ffffff !important;
    font-size: 25px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.4px !important;
}

/* Tipo y barrio juntos debajo */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location {
    order: 2 !important;
    margin: 0 !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid #e5ebf2 !important;
    background: #f7f9fc !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Hacemos una fila secundaria para categoría + barrio */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category {
    margin-right: 10px !important;
}

/* Truco: categoría y barrio en la misma línea */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location {
    display: inline-flex !important;
}

/* Contenedor vuelve a permitir línea horizontal debajo del precio */
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-single__info {
    display: block !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-info-item-price {
    display: inline-flex !important;
    margin-bottom: 14px !important;
}

body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location {
    vertical-align: middle !important;
}

/* Links dentro de chips */
body.single-at_biz_dir .directorist-listing-single-quickinfo a,
body.single-at_biz_dir .directorist-listing-single-quickinfo span {
    color: #071b35 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
    body.single-at_biz_dir .directorist-single-listing-header {
        padding: 24px 22px !important;
    }

    body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-info-item-price {
        min-height: 54px !important;
        padding: 0 24px !important;
    }

    body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-price {
        font-size: 23px !important;
    }

    body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-category,
    body.single-at_biz_dir .directorist-listing-single-quickinfo .directorist-listing-location {
        margin-bottom: 8px !important;
    }
}

/* ==================================================
   POSTO SINGLE PROPERTY - ARRANQUE TIPO MDF
================================================== */

/* La cabecera deja de parecer una card cerrada */
body.single-at_biz_dir .posto-mudafy-header {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    overflow: visible !important;
}

/* Título principal tipo Mudafy */
body.single-at_biz_dir .posto-mudafy-header .directorist-single-listing-header__listing-title {
    color: #071b35 !important;
    font-size: 38px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -0.7px !important;
    margin: 0 0 8px 0 !important;
    max-width: 900px !important;
    text-align: left !important;
}

/* Subtítulo creado por JS */
body.single-at_biz_dir .posto-single-subtitle {
    color: #687386 !important;
    font-size: 21px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    margin: 0 0 24px 0 !important;
    text-align: left !important;
}

/* Compartir lo sacamos de protagonista */
body.single-at_biz_dir .posto-mudafy-header .directorist-single-listing-header__right {
    margin: 0 0 18px 0 !important;
}

/* Precio y chips debajo del subtítulo */
body.single-at_biz_dir .posto-mudafy-header .directorist-listing-single-quickinfo {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: left !important;
}

/* La fila de precio/chips */
body.single-at_biz_dir .posto-mudafy-header .directorist-listing-single__info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Precio */
body.single-at_biz_dir .posto-mudafy-header .directorist-info-item-price {
    order: 1 !important;
    margin: 0 !important;
    min-height: 52px !important;
    padding: 0 24px !important;
    border-radius: 999px !important;
    background: #071b35 !important;
    color: #ffffff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.single-at_biz_dir .posto-mudafy-header .directorist-listing-price {
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

/* Chips secundarios */
body.single-at_biz_dir .posto-mudafy-header .directorist-listing-category,
body.single-at_biz_dir .posto-mudafy-header .directorist-listing-location {
    order: 2 !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid #e5ebf2 !important;
    background: #f7f9fc !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Evita duplicar sensación: los chips quedan, pero el subtítulo ya resume */
body.single-at_biz_dir .posto-mudafy-header .directorist-listing-category a,
body.single-at_biz_dir .posto-mudafy-header .directorist-listing-location a,
body.single-at_biz_dir .posto-mudafy-header .directorist-listing-location span {
    color: #071b35 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Galería más pegada al arranque */
body.single-at_biz_dir #directorist-single-listing-slider-wrap,
body.single-at_biz_dir .directorist-single-listing-slider-wrap {
    margin-top: 0 !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
    body.single-at_biz_dir .posto-mudafy-header {
        margin-bottom: 18px !important;
    }

    body.single-at_biz_dir .posto-mudafy-header .directorist-single-listing-header__listing-title {
        font-size: 30px !important;
        line-height: 1.15 !important;
    }

    body.single-at_biz_dir .posto-single-subtitle {
        font-size: 17px !important;
        margin-bottom: 18px !important;
    }

    body.single-at_biz_dir .posto-mudafy-header .directorist-listing-single__info {
        gap: 10px !important;
    }

    body.single-at_biz_dir .posto-mudafy-header .directorist-info-item-price {
        min-height: 50px !important;
        padding: 0 22px !important;
    }

    body.single-at_biz_dir .posto-mudafy-header .directorist-listing-price {
        font-size: 22px !important;
    }
}

/* ==================================================
   POSTO SINGLE PROPERTY - HERO EDITORIAL TIPO MDF
================================================== */

/* Ocultar header original de Directorist */
body.single-at_biz_dir .posto-original-header-hidden {
    display: none !important;
}

/* Hero editorial arriba de la foto */
body.single-at_biz_dir .posto-single-hero {
    margin: 0 0 28px 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Breadcrumbs tipo Mudafy */
body.single-at_biz_dir .posto-single-breadcrumbs {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 20px 0 !important;
    color: #4164a8 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

body.single-at_biz_dir .posto-single-breadcrumbs strong {
    color: #071b35 !important;
    font-weight: 700 !important;
}

/* Título grande */
body.single-at_biz_dir .posto-single-hero h1 {
    margin: 0 0 10px 0 !important;
    color: #071b35 !important;
    font-size: 38px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -0.8px !important;
    text-align: left !important;
}

/* Subtítulo */
body.single-at_biz_dir .posto-single-hero-subtitle {
    color: #687386 !important;
    font-size: 21px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

/* Que la foto venga inmediatamente después */
body.single-at_biz_dir #directorist-single-listing-slider-wrap,
body.single-at_biz_dir .directorist-single-listing-slider-wrap {
    margin-top: 0 !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
    body.single-at_biz_dir .posto-single-hero {
        margin-bottom: 20px !important;
    }

    body.single-at_biz_dir .posto-single-breadcrumbs {
        font-size: 14px !important;
        gap: 6px !important;
        margin-bottom: 16px !important;
    }

    body.single-at_biz_dir .posto-single-hero h1 {
        font-size: 30px !important;
        line-height: 1.15 !important;
    }

    body.single-at_biz_dir .posto-single-hero-subtitle {
        font-size: 17px !important;
    }
}

/* ==================================================
   POSTO - AJUSTE FINAL HEADER SINGLE
   Corrige el margen fino del breadcrumb, título y subtítulo
================================================== */

body.single-at_biz_dir .posto-single-breadcrumbs,
body.single-at_biz_dir .posto-single-breadcrumbs + h1,
body.single-at_biz_dir .posto-single-breadcrumbs + h1 + * {
    transform: translateX(24px) !important;
}

/* ==================================================
   POSTO SINGLE - FORMATO POST FOTO
   Detalle primero, descripción debajo
================================================== */

/* Bloques sin caja pesada */
body.single-at_biz_dir .directorist-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Header de cada bloque */
body.single-at_biz_dir .directorist-card__header {
    padding: 0 0 24px 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Oculta icono del título del bloque, no los iconos de los datos */
body.single-at_biz_dir .directorist-card__header-icon {
    display: none !important;
}

/* Cuerpo de bloque */
body.single-at_biz_dir .directorist-card__body {
    padding: 0 !important;
    background: transparent !important;
}

/* Detalle en dos columnas */
body.single-at_biz_dir .directorist-details-info-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 70px !important;
    row-gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Cada dato en una línea */
body.single-at_biz_dir .directorist-details-info-wrap > .directorist-single-info {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Label y valor uno al lado del otro */
body.single-at_biz_dir .directorist-single-info__label,
body.single-at_biz_dir .directorist-single-info__value {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Separador antes de descripción */
body.single-at_biz_dir .directorist-card:has(.directorist-listing-details) {
    border-top: 1px solid #dde3ec !important;
    padding-top: 34px !important;
    margin-top: 34px !important;
}

/* Descripción ancho completo */
body.single-at_biz_dir .directorist-listing-details,
body.single-at_biz_dir .directorist-listing-details__text {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Mobile: una columna */
@media only screen and (max-width: 767px) {
    body.single-at_biz_dir .directorist-details-info-wrap {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
        row-gap: 18px !important;
    }
}

/* ==================================================
   POSTO SINGLE - REDUCIR AIRE SUPERIOR + BREADCRUMB
================================================== */

/* Menos aire entre header del sitio y ficha */
body.single-at_biz_dir .directorist-single-listing-content {
    padding-top: 0 !important;
}

body.single-at_biz_dir .directorist-single-listing-header {
    margin-top: 0 !important;
    padding-top: 12px !important;
}

/* Breadcrumb más cerca del título */
body.single-at_biz_dir .posto-single-breadcrumbs {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding-top: 0 !important;
}

/* Breadcrumb color Posto */
body.single-at_biz_dir .posto-single-breadcrumbs,
body.single-at_biz_dir .posto-single-breadcrumbs span,
body.single-at_biz_dir .posto-single-breadcrumbs a {
    color: #32a7e2 !important;
}

/* Último item, dirección, destacado oscuro */
body.single-at_biz_dir .posto-single-breadcrumbs strong {
    color: #071b35 !important;
}

/* ==================================================
   POSTO SINGLE - AIRE SUPERIOR CONTROLADO
================================================== */

body.single-at_biz_dir #content,
body.single-at_biz_dir #primary,
body.single-at_biz_dir .site-content,
body.single-at_biz_dir .content-area,
body.single-at_biz_dir .main-content,
body.single-at_biz_dir .theme-container,
body.single-at_biz_dir .directorist-single-contents-area,
body.single-at_biz_dir .directorist-single-listing-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Aire real entre menú y breadcrumb */
body.single-at_biz_dir .posto-single-hero {
    margin-top: 56px !important;
    padding-top: 0 !important;
}

/* ==================================================
   POSTO SINGLE - CONTACTO ANUNCIANTE / SIDEBAR
================================================== */

/* Card del formulario lateral */
body.single-at_biz_dir .directorist-sidebar,
body.single-at_biz_dir .directorist-sidebar .widget,
body.single-at_biz_dir .directorist-single-sidebar-area .widget {
    background: #ffffff !important;
    border: 1px solid #edf0f5 !important;
    border-radius: 28px !important;
    box-shadow: 0 18px 45px rgba(16, 32, 51, 0.10) !important;
    padding: 26px !important;
    overflow: hidden !important;
}

/* Título tipo "Contactate con el anunciante" */
body.single-at_biz_dir .directorist-sidebar h2,
body.single-at_biz_dir .directorist-sidebar h3,
body.single-at_biz_dir .directorist-sidebar .widget-title,
body.single-at_biz_dir .directorist-single-sidebar-area .widget-title {
    margin: 0 0 12px 0 !important;
    color: #071b35 !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    letter-spacing: -0.4px !important;
}

/* Texto auxiliar si existe */
body.single-at_biz_dir .directorist-sidebar p,
body.single-at_biz_dir .directorist-single-sidebar-area p {
    color: #687386 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 0 18px 0 !important;
}

/* Inputs */
body.single-at_biz_dir .directorist-sidebar input[type="text"],
body.single-at_biz_dir .directorist-sidebar input[type="email"],
body.single-at_biz_dir .directorist-sidebar input[type="tel"],
body.single-at_biz_dir .directorist-sidebar textarea,
body.single-at_biz_dir .directorist-sidebar select,
body.single-at_biz_dir .directorist-single-sidebar-area input[type="text"],
body.single-at_biz_dir .directorist-single-sidebar-area input[type="email"],
body.single-at_biz_dir .directorist-single-sidebar-area input[type="tel"],
body.single-at_biz_dir .directorist-single-sidebar-area textarea,
body.single-at_biz_dir .directorist-single-sidebar-area select {
    width: 100% !important;
    min-height: 52px !important;
    border: 1.5px solid #dfe4ec !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    color: #071b35 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 0 16px !important;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box !important;
}

/* Textarea */
body.single-at_biz_dir .directorist-sidebar textarea,
body.single-at_biz_dir .directorist-single-sidebar-area textarea {
    min-height: 110px !important;
    padding-top: 14px !important;
    resize: vertical !important;
}

/* Placeholder */
body.single-at_biz_dir .directorist-sidebar input::placeholder,
body.single-at_biz_dir .directorist-sidebar textarea::placeholder,
body.single-at_biz_dir .directorist-single-sidebar-area input::placeholder,
body.single-at_biz_dir .directorist-single-sidebar-area textarea::placeholder {
    color: #8a96a8 !important;
    font-weight: 500 !important;
}

/* Espaciado campos */
body.single-at_biz_dir .directorist-sidebar .form-group,
body.single-at_biz_dir .directorist-sidebar .directorist-form-group,
body.single-at_biz_dir .directorist-sidebar .gfield,
body.single-at_biz_dir .directorist-single-sidebar-area .form-group,
body.single-at_biz_dir .directorist-single-sidebar-area .directorist-form-group,
body.single-at_biz_dir .directorist-single-sidebar-area .gfield {
    margin-bottom: 14px !important;
}

/* Labels */
body.single-at_biz_dir .directorist-sidebar label,
body.single-at_biz_dir .directorist-single-sidebar-area label {
    color: #071b35 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    margin-bottom: 7px !important;
}

/* Botón principal */
body.single-at_biz_dir .directorist-sidebar button,
body.single-at_biz_dir .directorist-sidebar input[type="submit"],
body.single-at_biz_dir .directorist-sidebar .directorist-btn,
body.single-at_biz_dir .directorist-single-sidebar-area button,
body.single-at_biz_dir .directorist-single-sidebar-area input[type="submit"],
body.single-at_biz_dir .directorist-single-sidebar-area .directorist-btn {
    width: 100% !important;
    min-height: 56px !important;
    border: none !important;
    border-radius: 18px !important;
    background: #32a7e2 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    box-shadow: 0 14px 30px rgba(50, 167, 226, 0.28) !important;
    cursor: pointer !important;
}

/* Hover */
body.single-at_biz_dir .directorist-sidebar button:hover,
body.single-at_biz_dir .directorist-sidebar input[type="submit"]:hover,
body.single-at_biz_dir .directorist-sidebar .directorist-btn:hover,
body.single-at_biz_dir .directorist-single-sidebar-area button:hover,
body.single-at_biz_dir .directorist-single-sidebar-area input[type="submit"]:hover,
body.single-at_biz_dir .directorist-single-sidebar-area .directorist-btn:hover {
    background: #2497d2 !important;
}

/* Mobile: que no quede como sidebar pesado */
@media only screen and (max-width: 767px) {
    body.single-at_biz_dir .directorist-sidebar,
    body.single-at_biz_dir .directorist-sidebar .widget,
    body.single-at_biz_dir .directorist-single-sidebar-area .widget {
        border-radius: 24px !important;
        padding: 22px !important;
        margin-top: 24px !important;
    }

    body.single-at_biz_dir .directorist-sidebar h2,
    body.single-at_biz_dir .directorist-sidebar h3,
    body.single-at_biz_dir .directorist-sidebar .widget-title,
    body.single-at_biz_dir .directorist-single-sidebar-area .widget-title {
        font-size: 22px !important;
    }
}
/* ==================================================
   POSTO SINGLE - CONTACTO PROPIEDAD
================================================== */

/* Título */
body.single-at_biz_dir .directorist-sidebar h2,
body.single-at_biz_dir .directorist-sidebar h3,
body.single-at_biz_dir .directorist-sidebar .widget-title,
body.single-at_biz_dir .directorist-single-sidebar-area h2,
body.single-at_biz_dir .directorist-single-sidebar-area h3,
body.single-at_biz_dir .directorist-single-sidebar-area .widget-title {
    font-size: 24px !important;
    line-height: 1.18 !important;
    font-weight: 850 !important;
    color: #071b35 !important;
    margin: 0 0 20px 0 !important;
    max-width: 100% !important;
}

/* Inputs más prolijos */
body.single-at_biz_dir .directorist-sidebar input[type="text"],
body.single-at_biz_dir .directorist-sidebar input[type="email"],
body.single-at_biz_dir .directorist-sidebar input[type="tel"],
body.single-at_biz_dir .directorist-sidebar textarea,
body.single-at_biz_dir .directorist-single-sidebar-area input[type="text"],
body.single-at_biz_dir .directorist-single-sidebar-area input[type="email"],
body.single-at_biz_dir .directorist-single-sidebar-area input[type="tel"],
body.single-at_biz_dir .directorist-single-sidebar-area textarea {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
}

/* Separación entre campos */
body.single-at_biz_dir .directorist-sidebar .form-group,
body.single-at_biz_dir .directorist-sidebar .directorist-form-group,
body.single-at_biz_dir .directorist-sidebar .gfield,
body.single-at_biz_dir .directorist-single-sidebar-area .form-group,
body.single-at_biz_dir .directorist-single-sidebar-area .directorist-form-group,
body.single-at_biz_dir .directorist-single-sidebar-area .gfield {
    margin-bottom: 18px !important;
}

/* Política de privacidad */
body.single-at_biz_dir .directorist-sidebar input[type="checkbox"],
body.single-at_biz_dir .directorist-single-sidebar-area input[type="checkbox"] {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    margin-right: 6px !important;
}

/* Botón: ocupa todo el ancho para que no quede WhatsApp afuera */
body.single-at_biz_dir .directorist-sidebar button,
body.single-at_biz_dir .directorist-sidebar input[type="submit"],
body.single-at_biz_dir .directorist-sidebar .directorist-btn,
body.single-at_biz_dir .directorist-single-sidebar-area button,
body.single-at_biz_dir .directorist-single-sidebar-area input[type="submit"],
body.single-at_biz_dir .directorist-single-sidebar-area .directorist-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    padding: 0 18px !important;
}

/* Si queda un texto WhatsApp suelto al lado del botón, lo ocultamos */
body.single-at_biz_dir .directorist-sidebar button + span,
body.single-at_biz_dir .directorist-sidebar input[type="submit"] + span,
body.single-at_biz_dir .directorist-sidebar .directorist-btn + span,
body.single-at_biz_dir .directorist-single-sidebar-area button + span,
body.single-at_biz_dir .directorist-single-sidebar-area input[type="submit"] + span,
body.single-at_biz_dir .directorist-single-sidebar-area .directorist-btn + span {
    display: none !important;
}

/* Por si el botón está dentro de un contenedor inline */
body.single-at_biz_dir .directorist-sidebar form,
body.single-at_biz_dir .directorist-single-sidebar-area form {
    width: 100% !important;
}

body.single-at_biz_dir .directorist-sidebar form > *,
body.single-at_biz_dir .directorist-single-sidebar-area form > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* ==================================================
   POSTO SINGLE - VIDEO DE LA PROPIEDAD
   Especifico: solo toca la card que contiene el iframe de YouTube.
   No modifica galeria ni .directorist-details-info-wrap global.
================================================== */

body.single-at_biz_dir .directorist-card:has(iframe.directorist-embaded-video[src*="youtube.com/embed"]) {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    display: block !important;
}

body.single-at_biz_dir .directorist-card:has(iframe.directorist-embaded-video[src*="youtube.com/embed"]) .directorist-card__body {
    width: 100% !important;
    max-width: 100% !important;
    padding: 26px !important;
    box-sizing: border-box !important;
}

body.single-at_biz_dir .directorist-details-info-wrap:has(> iframe.directorist-embaded-video[src*="youtube.com/embed"]) {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    clear: both !important;
    overflow: visible !important;
}

body.single-at_biz_dir .directorist-details-info-wrap > iframe.directorist-embaded-video[src*="youtube.com/embed"],
body.single-at_biz_dir .directorist-details-info-wrap > iframe.embed-responsive-item[src*="youtube.com/embed"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    display: block !important;
    position: static !important;
    inset: auto !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #000 !important;
}

/* Desktop: altura comoda dentro de la columna principal */
@media only screen and (min-width: 992px) {
    body.single-at_biz_dir .directorist-details-info-wrap > iframe.directorist-embaded-video[src*="youtube.com/embed"],
    body.single-at_biz_dir .directorist-details-info-wrap > iframe.embed-responsive-item[src*="youtube.com/embed"] {
        height: 430px !important;
        aspect-ratio: auto !important;
    }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    body.single-at_biz_dir .directorist-card:has(iframe.directorist-embaded-video[src*="youtube.com/embed"]) .directorist-card__body {
        padding: 20px !important;
    }

    body.single-at_biz_dir .directorist-details-info-wrap > iframe.directorist-embaded-video[src*="youtube.com/embed"],
    body.single-at_biz_dir .directorist-details-info-wrap > iframe.embed-responsive-item[src*="youtube.com/embed"] {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        border-radius: 16px !important;
    }
}

/* ==================================================
   POSTO SINGLE — WHATSAPP BUTTON FIX
================================================== */

.single-at_biz_dir a.po_wa,
a.po_wa.btn,
a.po_wa.theme-btn,
a.po_wa.btn-sm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    background-color: #25D366 !important;
    background: #25D366 !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 999px !important;

    padding: 14px 24px !important;
    min-height: 48px !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28) !important;
}

/* Hover WhatsApp */
.single-at_biz_dir a.po_wa:hover,
a.po_wa.btn:hover,
a.po_wa.theme-btn:hover,
a.po_wa.btn-sm:hover {
    background-color: #1ebe5d !important;
    background: #1ebe5d !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 767px) {
    .single-at_biz_dir a.po_wa,
    a.po_wa.btn,
    a.po_wa.theme-btn,
    a.po_wa.btn-sm {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 20px !important;
    }
}


/* ==================================================
   POSTO SINGLE - WHATSAPP OVERRIDE FINAL
   Refuerza el boton real: <a class="btn theme-btn btn-sm po_wa">
================================================== */

body.single-at_biz_dir a.po_wa.btn.theme-btn.btn-sm,
body.single-at_biz_dir a.po_wa,
body.single-at_biz_dir .directorist-sidebar a.po_wa,
body.single-at_biz_dir .directorist-single-sidebar-area a.po_wa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 56px !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.26) !important;
    box-sizing: border-box !important;
}

body.single-at_biz_dir a.po_wa.btn.theme-btn.btn-sm:hover,
body.single-at_biz_dir a.po_wa:hover,
body.single-at_biz_dir .directorist-sidebar a.po_wa:hover,
body.single-at_biz_dir .directorist-single-sidebar-area a.po_wa:hover {
    background: #1ebe5d !important;
    background-color: #1ebe5d !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==================================================
   POSTO SINGLE - CTAS APILADOS TIPO MUDAFY
================================================== */

/* Footer / zona donde están los botones */
body.single-at_biz_dir .gform_wrapper .gform_footer,
body.single-at_biz_dir .gform_wrapper .gform_page_footer,
body.single-at_biz_dir .directorist-single-sidebar-area .gform_footer,
body.single-at_biz_dir .directorist-sidebar .gform_footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 18px 0 0 0 !important;
}

/* Botón Enviar consulta */
body.single-at_biz_dir .gform_wrapper input[type="submit"],
body.single-at_biz_dir .gform_wrapper .gform_button,
body.single-at_biz_dir input#gform_submit_button_20 {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;

    height: 58px !important;
    min-height: 58px !important;

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

    background: #32a7e2 !important;
    color: #ffffff !important;

    border: none !important;
    border-radius: 16px !important;

    padding: 0 22px !important;
    margin: 0 !important;

    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-align: center !important;

    box-shadow: 0 12px 28px rgba(50, 167, 226, 0.28) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

/* Botón WhatsApp */
body.single-at_biz_dir a.po_wa,
body.single-at_biz_dir a.po_wa.btn,
body.single-at_biz_dir a.po_wa.theme-btn,
body.single-at_biz_dir a.po_wa.btn-sm {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;

    height: 58px !important;
    min-height: 58px !important;

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

    background: #25D366 !important;
    color: #ffffff !important;

    border: none !important;
    border-radius: 16px !important;

    padding: 0 22px !important;
    margin: 0 !important;

    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.26) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

/* Hover */
body.single-at_biz_dir .gform_wrapper input[type="submit"]:hover,
body.single-at_biz_dir .gform_wrapper .gform_button:hover,
body.single-at_biz_dir input#gform_submit_button_20:hover {
    background: #2199d6 !important;
    color: #ffffff !important;
}

body.single-at_biz_dir a.po_wa:hover,
body.single-at_biz_dir a.po_wa.btn:hover,
body.single-at_biz_dir a.po_wa.theme-btn:hover,
body.single-at_biz_dir a.po_wa.btn-sm:hover {
    background: #1ebe5d !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==================================================
   POSTO SINGLE - COMPACTAR BLOQUE MAPA / DIRECCIONES
================================================== */

/* Card que contiene el link de direcciones */
body.single-at_biz_dir .directorist-card:has(a[href*="maps"]),
body.single-at_biz_dir .directorist-card:has(a[href*="google"]),
body.single-at_biz_dir .directorist-card:has(a[href*="direction"]),
body.single-at_biz_dir .directorist-card:has(a[href*="directions"]) {
    margin-bottom: 26px !important;
}

/* Cuerpo de esa card */
body.single-at_biz_dir .directorist-card:has(a[href*="maps"]) .directorist-card__body,
body.single-at_biz_dir .directorist-card:has(a[href*="google"]) .directorist-card__body,
body.single-at_biz_dir .directorist-card:has(a[href*="direction"]) .directorist-card__body,
body.single-at_biz_dir .directorist-card:has(a[href*="directions"]) .directorist-card__body {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
}

/* Cualquier contenedor de mapa dentro de esa card */
body.single-at_biz_dir .directorist-card:has(a[href*="maps"]) [class*="map"],
body.single-at_biz_dir .directorist-card:has(a[href*="google"]) [class*="map"],
body.single-at_biz_dir .directorist-card:has(a[href*="direction"]) [class*="map"],
body.single-at_biz_dir .directorist-card:has(a[href*="directions"]) [class*="map"] {
    min-height: 0 !important;
    max-height: 360px !important;
    margin-bottom: 12px !important;
}

/* Si el mapa está vacío o roto, que no reserve 500px */
body.single-at_biz_dir .directorist-card:has(a[href*="maps"]) .directorist-map,
body.single-at_biz_dir .directorist-card:has(a[href*="google"]) .directorist-map,
body.single-at_biz_dir .directorist-card:has(a[href*="direction"]) .directorist-map,
body.single-at_biz_dir .directorist-card:has(a[href*="directions"]) .directorist-map {
    height: 320px !important;
    min-height: 320px !important;
}

/* Separación antes de propiedades similares */
body.single-at_biz_dir .directorist-related-listing,
body.single-at_biz_dir .directorist-related-listings,
body.single-at_biz_dir .directorist-similar-listing,
body.single-at_biz_dir .directorist-related-listing-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ==================================================
   POSTO SINGLE - IMÁGENES FULL WIDTH FIX
   Corrige galería angosta tipo video
================================================== */

/* La card que contiene la galería debe ocupar todo el ancho */
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid),
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    clear: both !important;
}

/* Header y cuerpo de la card de imágenes */
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid) .directorist-card__header,
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) .directorist-card__header,
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid) .directorist-card__body,
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) .directorist-card__body {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* El wrap interno también full width */
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid) .directorist-details-info-wrap,
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) .directorist-details-info-wrap {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* Galería en 3 columnas reales */
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid) .directorist-gallery-grid,
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) .directorist-gallery-grid-two {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

/* Cada item ocupa su columna completa */
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid) .directorist-gallery-grid > *,
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) .directorist-gallery-grid-two > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
    box-sizing: border-box !important;
}

/* Imagen con proporción más linda, no tirita vertical */
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid) .directorist-gallery-grid figure,
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) .directorist-gallery-grid-two figure {
    width: 100% !important;
    height: 230px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    margin: 0 !important;
    background: #f4f6f9 !important;
}

/* La foto rellena bien */
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid) .directorist-gallery-grid img,
body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) .directorist-gallery-grid-two img {
    width: 100% !important;
    height: 100% !important;
    min-height: 230px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 18px !important;
}

/* Mobile: una columna */
@media only screen and (max-width: 767px) {
    body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid) .directorist-gallery-grid,
    body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) .directorist-gallery-grid-two {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid) .directorist-gallery-grid figure,
    body.single-at_biz_dir .directorist-card:has(.directorist-gallery-grid-two) .directorist-gallery-grid-two figure {
        height: 260px !important;
    }
}

/* ==================================================
   POSTO SINGLE - SIDEBAR PRECIO + FORMULARIO FINAL
   Limpio: precio en sidebar, sin título de formulario,
   botones apilados y sidebar scrolleable.
================================================== */

/* Precio arriba del formulario */
body.single-at_biz_dir .posto-sidebar-price-box {
    padding: 24px 26px 20px !important;
    border-bottom: 1px solid #edf0f5 !important;
    background: #ffffff !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

body.single-at_biz_dir .posto-sidebar-price-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 18px !important;
    margin: 0 0 18px 0 !important;
    border-radius: 999px !important;
    background: #32a7e2 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em !important;
}

body.single-at_biz_dir .posto-sidebar-price {
    color: #071b35 !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.045em !important;
    margin: 0 0 10px 0 !important;
}

body.single-at_biz_dir .posto-sidebar-price-sub,
body.single-at_biz_dir .posto-sidebar-price-location {
    color: #6d7788 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 650 !important;
    margin: 0 0 4px 0 !important;
}

/* Ocultar SOLO el título del formulario, sin romper el sidebar */
body.single-at_biz_dir .directorist-sidebar .widget:has(.gform_wrapper) > .widget-title,
body.single-at_biz_dir .directorist-sidebar .widget:has(.gform_wrapper) > h2,
body.single-at_biz_dir .directorist-sidebar .widget:has(.gform_wrapper) > h3,
body.single-at_biz_dir .directorist-sidebar .gform_widget > .widget-title,
body.single-at_biz_dir .directorist-sidebar .gform_widget > h2,
body.single-at_biz_dir .directorist-sidebar .gform_widget > h3,
body.single-at_biz_dir .directorist-single-sidebar-area .widget:has(.gform_wrapper) > .widget-title,
body.single-at_biz_dir .directorist-single-sidebar-area .widget:has(.gform_wrapper) > h2,
body.single-at_biz_dir .directorist-single-sidebar-area .widget:has(.gform_wrapper) > h3,
body.single-at_biz_dir .gform_wrapper .gform_heading,
body.single-at_biz_dir .gform_wrapper .gform_title,
body.single-at_biz_dir .gform_wrapper .gform_description {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Formulario compacto, pero legible */
body.single-at_biz_dir .gform_wrapper,
body.single-at_biz_dir .gform_body {
    margin: 0 !important;
}

body.single-at_biz_dir .gform_wrapper .gform_fields,
body.single-at_biz_dir .gform_wrapper .gfield {
    row-gap: 10px !important;
}

body.single-at_biz_dir .gform_wrapper .gfield {
    margin-bottom: 10px !important;
}

body.single-at_biz_dir .gform_wrapper input[type="text"],
body.single-at_biz_dir .gform_wrapper input[type="email"],
body.single-at_biz_dir .gform_wrapper input[type="tel"],
body.single-at_biz_dir .gform_wrapper textarea {
    min-height: 52px !important;
    border-radius: 15px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-size: 15px !important;
}

body.single-at_biz_dir .gform_wrapper textarea {
    min-height: 86px !important;
    padding-top: 14px !important;
}

/* Botones apilados */
body.single-at_biz_dir .gform_wrapper .gform_footer,
body.single-at_biz_dir .gform_wrapper .gform_page_footer,
body.single-at_biz_dir .directorist-single-sidebar-area .gform_footer,
body.single-at_biz_dir .directorist-sidebar .gform_footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 10px 0 0 0 !important;
    background: #ffffff !important;
}

body.single-at_biz_dir .gform_wrapper input[type="submit"],
body.single-at_biz_dir .gform_wrapper .gform_button,
body.single-at_biz_dir input#gform_submit_button_20,
body.single-at_biz_dir a.po_wa,
body.single-at_biz_dir a.po_wa.btn,
body.single-at_biz_dir a.po_wa.theme-btn,
body.single-at_biz_dir a.po_wa.btn-sm {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: none !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

body.single-at_biz_dir .gform_wrapper input[type="submit"],
body.single-at_biz_dir .gform_wrapper .gform_button,
body.single-at_biz_dir input#gform_submit_button_20 {
    background: #32a7e2 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(50, 167, 226, 0.26) !important;
}

body.single-at_biz_dir .gform_wrapper input[type="submit"]:hover,
body.single-at_biz_dir .gform_wrapper .gform_button:hover,
body.single-at_biz_dir input#gform_submit_button_20:hover {
    background: #2199d6 !important;
    color: #ffffff !important;
}

body.single-at_biz_dir a.po_wa,
body.single-at_biz_dir a.po_wa.btn,
body.single-at_biz_dir a.po_wa.theme-btn,
body.single-at_biz_dir a.po_wa.btn-sm {
    background: #25D366 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.24) !important;
}

body.single-at_biz_dir a.po_wa:hover,
body.single-at_biz_dir a.po_wa.btn:hover,
body.single-at_biz_dir a.po_wa.theme-btn:hover,
body.single-at_biz_dir a.po_wa.btn-sm:hover {
    background: #1ebe5d !important;
    color: #ffffff !important;
}

/* Sidebar scrolleable en desktop */
@media only screen and (min-width: 992px) {
    body.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.directorist-sidebar),
    body.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.gform_widget),
    body.single-at_biz_dir .directorist-single-listing-content .directorist-single-sidebar-area {
        position: sticky !important;
        top: 105px !important;
        max-height: calc(100vh - 125px) !important;
        overflow: visible !important;
        align-self: flex-start !important;
        height: auto !important;
    }

    body.admin-bar.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.directorist-sidebar),
    body.admin-bar.single-at_biz_dir .directorist-single-listing-content .directorist-col-md-4:has(.gform_widget),
    body.admin-bar.single-at_biz_dir .directorist-single-listing-content .directorist-single-sidebar-area {
        top: 135px !important;
        max-height: calc(100vh - 155px) !important;
    }

    body.single-at_biz_dir .directorist-sidebar {
        max-height: calc(100vh - 125px) !important;
        overflow: visible !important;
    }

    body.admin-bar.single-at_biz_dir .directorist-sidebar {
        max-height: calc(100vh - 155px) !important;
    }

    body.single-at_biz_dir .directorist-sidebar .gform_widget,
    body.single-at_biz_dir .directorist-single-sidebar-area .gform_widget,
    body.single-at_biz_dir .directorist-sidebar .widget:has(.gform_wrapper),
    body.single-at_biz_dir .directorist-single-sidebar-area .widget:has(.gform_wrapper) {
        max-height: calc(100vh - 125px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        scrollbar-width: thin !important;
    }

    body.admin-bar.single-at_biz_dir .directorist-sidebar .gform_widget,
    body.admin-bar.single-at_biz_dir .directorist-single-sidebar-area .gform_widget,
    body.admin-bar.single-at_biz_dir .directorist-sidebar .widget:has(.gform_wrapper),
    body.admin-bar.single-at_biz_dir .directorist-single-sidebar-area .widget:has(.gform_wrapper) {
        max-height: calc(100vh - 155px) !important;
    }

    body.single-at_biz_dir .directorist-sidebar .gform_widget::-webkit-scrollbar,
    body.single-at_biz_dir .directorist-single-sidebar-area .gform_widget::-webkit-scrollbar,
    body.single-at_biz_dir .directorist-sidebar .widget:has(.gform_wrapper)::-webkit-scrollbar,
    body.single-at_biz_dir .directorist-single-sidebar-area .widget:has(.gform_wrapper)::-webkit-scrollbar {
        width: 6px !important;
    }

    body.single-at_biz_dir .directorist-sidebar .gform_widget::-webkit-scrollbar-thumb,
    body.single-at_biz_dir .directorist-single-sidebar-area .gform_widget::-webkit-scrollbar-thumb,
    body.single-at_biz_dir .directorist-sidebar .widget:has(.gform_wrapper)::-webkit-scrollbar-thumb,
    body.single-at_biz_dir .directorist-single-sidebar-area .widget:has(.gform_wrapper)::-webkit-scrollbar-thumb {
        background: rgba(7, 27, 53, 0.18) !important;
        border-radius: 999px !important;
    }
}

/* Mobile: sidebar normal, sin scroll interno */
@media only screen and (max-width: 991px) {
    body.single-at_biz_dir .posto-sidebar-price-box {
        padding: 22px 22px 18px !important;
    }

    body.single-at_biz_dir .posto-sidebar-price {
        font-size: 32px !important;
    }

    body.single-at_biz_dir .directorist-sidebar .gform_widget,
    body.single-at_biz_dir .directorist-single-sidebar-area .gform_widget,
    body.single-at_biz_dir .directorist-sidebar .widget:has(.gform_wrapper),
    body.single-at_biz_dir .directorist-single-sidebar-area .widget:has(.gform_wrapper) {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Propiedades similares: si el template imprime precio, hacerlo visible */
body.single-at_biz_dir .directorist-related-listing .directorist-pricing-meta,
body.single-at_biz_dir .directorist-related-listings .directorist-pricing-meta,
body.single-at_biz_dir .directorist-similar-listing .directorist-pricing-meta,
body.single-at_biz_dir .directorist-related-listing .directorist-listing-price,
body.single-at_biz_dir .directorist-related-listings .directorist-listing-price,
body.single-at_biz_dir .directorist-similar-listing .directorist-listing-price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.single-at_biz_dir .directorist-related-listing .directorist-listing-price,
body.single-at_biz_dir .directorist-related-listings .directorist-listing-price,
body.single-at_biz_dir .directorist-similar-listing .directorist-listing-price {
    color: #071b35 !important;
    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    text-align: left !important;
}

/* ==================================================
   POSTO SINGLE - PRECIO MOBILE TIPO MUDAFY
================================================== */

/* En desktop no aparece el bloque mobile */
body.single-at_biz_dir .posto-mobile-price-box {
    display: none !important;
}

@media only screen and (max-width: 767px) {

    body.single-at_biz_dir .posto-mobile-price-box {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;

        background: transparent !important;
        padding: 18px 0 22px 0 !important;
        margin: 0 0 8px 0 !important;

        text-align: left !important;
        box-sizing: border-box !important;
    }

    body.single-at_biz_dir .posto-mobile-price-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-height: 34px !important;
        padding: 0 18px !important;
        margin: 0 0 18px 0 !important;

        border-radius: 999px !important;
        background: #32a7e2 !important;
        color: #ffffff !important;

        font-size: 14px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        letter-spacing: 0.02em !important;
    }

    body.single-at_biz_dir .posto-mobile-price {
        color: #071b35 !important;
        font-size: 36px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        letter-spacing: -0.045em !important;

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

    body.single-at_biz_dir .posto-mobile-price-line {
        color: #6d7788 !important;
        font-size: 18px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;

        margin: 0 0 5px 0 !important;
        padding: 0 !important;
    }

    /* Sacar precio duplicado del sidebar en mobile, si queda más abajo */
    body.single-at_biz_dir .directorist-single-sidebar-area .posto-sidebar-price-box,
    body.single-at_biz_dir .directorist-sidebar .posto-sidebar-price-box {
        display: none !important;
    }

    /* Ocultar título del formulario en mobile también */
    body.single-at_biz_dir .gform_wrapper .gform_heading,
    body.single-at_biz_dir .gform_wrapper .gform_title,
    body.single-at_biz_dir .gform_wrapper .gform_description {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* ==================================================
   POSTO SINGLE MOBILE - OCULTAR TITULO INFORMACION GENERAL
================================================== */

@media only screen and (max-width: 767px) {

    body.single-at_biz_dir .posto-info-general-card .directorist-card__header {
        display: none !important;
    }

    body.single-at_biz_dir .posto-info-general-card .directorist-card__body {
        padding-top: 0 !important;
    }

    body.single-at_biz_dir .posto-info-general-card {
        margin-top: 8px !important;
    }
}

/* ==================================================
   POSTO SINGLE MOBILE - STICKY CTA PROPIO
   No usa los botones originales, crea una barra nueva.
================================================== */

(function () {
    "use strict";

    function createMobileStickyCTA() {
        var body;
        var originalWhatsapp;
        var originalSubmit;
        var bar;
        var consultBtn;
        var whatsappBtn;
        var href;

        body = document.body;

        if (!body || body.className.indexOf("single-at_biz_dir") === -1) return;
        if (document.querySelector(".posto-mobile-sticky-cta")) return;

        originalWhatsapp = document.querySelector("a.po_wa");
        originalSubmit =
            document.querySelector("#gform_submit_button_20") ||
            document.querySelector(".gform_wrapper input[type='submit']") ||
            document.querySelector(".gform_wrapper button[type='submit']");

        if (!originalWhatsapp && !originalSubmit) return;

        href = originalWhatsapp ? originalWhatsapp.getAttribute("href") : "#";

        bar = document.createElement("div");
        bar.className = "posto-mobile-sticky-cta";

        consultBtn = document.createElement("button");
        consultBtn.type = "button";
        consultBtn.className = "posto-mobile-sticky-btn posto-mobile-sticky-consult";
        consultBtn.textContent = "Enviar consulta";

        consultBtn.addEventListener("click", function () {
            var form =
                document.querySelector(".gform_wrapper") ||
                document.querySelector(".directorist-single-sidebar-area") ||
                document.querySelector(".directorist-sidebar");

            if (form) {
                form.scrollIntoView({
                    behavior: "smooth",
                    block: "center"
                });
            }
        });

        whatsappBtn = document.createElement("a");
        whatsappBtn.className = "posto-mobile-sticky-btn posto-mobile-sticky-whatsapp";
        whatsappBtn.textContent = "WhatsApp";
        whatsappBtn.href = href || "#";

        if (href && href !== "#1" && href !== "#") {
            whatsappBtn.target = "_blank";
            whatsappBtn.rel = "noopener";
        }

        bar.appendChild(consultBtn);
        bar.appendChild(whatsappBtn);

        document.body.appendChild(bar);
    }

    function runSeveralTimes() {
        var count = 0;
        var timer;

        createMobileStickyCTA();

        timer = window.setInterval(function () {
            createMobileStickyCTA();
            count++;

            if (count >= 15) {
                window.clearInterval(timer);
            }
        }, 300);
    }

    if (document.readyState === "loading") {
        document.addEventListener("DOMContentLoaded", runSeveralTimes);
    } else {
        runSeveralTimes();
    }

    window.addEventListener("load", runSeveralTimes);
})();

/* ==================================================
   POSTO SINGLE MOBILE - STICKY CTA PROPIO FINAL
================================================== */

.posto-mobile-sticky-cta {
    display: none !important;
}

@media only screen and (max-width: 767px) {

    body.single-at_biz_dir {
        padding-bottom: 96px !important;
    }

    .posto-mobile-sticky-cta {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;

        width: 100% !important;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) !important;

        background: rgba(255, 255, 255, 0.96) !important;
        border-top: 1px solid rgba(237, 240, 245, 0.95) !important;
        box-shadow: 0 -10px 28px rgba(16, 32, 51, 0.10) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;

        z-index: 999999 !important;
        box-sizing: border-box !important;
    }

    .posto-mobile-sticky-btn {
        width: 100% !important;
        height: 54px !important;
        min-height: 54px !important;

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

        border: none !important;
        border-radius: 16px !important;

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

        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 850 !important;
        line-height: 1 !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;

        box-shadow: 0 10px 24px rgba(16, 32, 51, 0.18) !important;
        box-sizing: border-box !important;
    }

    .posto-mobile-sticky-consult {
        background: #32a7e2 !important;
    }

    .posto-mobile-sticky-whatsapp {
        background: #25D366 !important;
    }

    /* Los botones originales del formulario quedan normales, no sticky */
    body.single-at_biz_dir .gform_wrapper input[type="submit"],
    body.single-at_biz_dir .gform_wrapper .gform_button,
    body.single-at_biz_dir input#gform_submit_button_20,
    body.single-at_biz_dir a.po_wa {
        position: static !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        transform: none !important;
    }
}

/* ==================================================
   POSTO SINGLE MOBILE - HERO COMPACTO TIPO M
================================================== */

@media only screen and (max-width: 767px) {

    body.single-at_biz_dir .posto-single-hero {
        margin: 0 0 18px 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    body.single-at_biz_dir .posto-single-breadcrumbs {
        font-size: 14px !important;
        line-height: 1.45 !important;
        font-weight: 750 !important;
        letter-spacing: -0.01em !important;

        margin: 0 0 18px 0 !important;

        color: #32a7e2 !important;

        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px 7px !important;

        max-width: 100% !important;
        overflow: hidden !important;
    }

    body.single-at_biz_dir .posto-single-breadcrumbs span,
    body.single-at_biz_dir .posto-single-breadcrumbs strong {
        display: inline-block !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    body.single-at_biz_dir .posto-single-breadcrumbs strong {
        color: #071b35 !important;
        font-weight: 900 !important;
    }

    body.single-at_biz_dir .posto-single-hero h1 {
        font-size: 38px !important;
        line-height: 1.07 !important;
        font-weight: 900 !important;
        letter-spacing: -0.045em !important;

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

        color: #071b35 !important;

        max-width: 100% !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
    }

    body.single-at_biz_dir .posto-single-hero-subtitle {
        font-size: 18px !important;
        line-height: 1.32 !important;
        font-weight: 750 !important;
        letter-spacing: -0.02em !important;

        margin: 0 0 18px 0 !important;
        padding: 0 !important;

        color: #6d7788 !important;

        max-width: 100% !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    body.single-at_biz_dir #directorist-single-listing-slider-wrap,
    body.single-at_biz_dir .directorist-single-listing-slider-wrap {
        margin-top: 0 !important;
    }
}

/* ==================================================
   POSTO SINGLE MOBILE - HERO FINAL MÁS COMPACTO
================================================== */

@media only screen and (max-width: 767px) {

    body.single-at_biz_dir .posto-single-hero {
        margin: 0 0 16px 0 !important;
        padding: 0 !important;
    }

    body.single-at_biz_dir .posto-single-breadcrumbs {
        font-size: 13px !important;
        line-height: 1.45 !important;
        margin-bottom: 18px !important;
        gap: 3px 6px !important;
    }

    body.single-at_biz_dir .posto-single-hero h1 {
        font-size: 32px !important;
        line-height: 1.12 !important;
        letter-spacing: -0.04em !important;
        margin: 0 0 12px 0 !important;
        max-width: 100% !important;
    }

    body.single-at_biz_dir .posto-single-hero-subtitle {
        font-size: 16px !important;
        line-height: 1.35 !important;
        margin: 0 0 18px 0 !important;
        max-width: 100% !important;
    }
}


/* ==================================================
   POSTO MOBILE - BUSCADOR PREDICTIVO BARRIO
   Trabaja sobre el select propio .posto-search-select
================================================== */

.posto-predictive-search {
    display: none;
}

@media only screen and (max-width: 767px) {

    /* Oculta el select original propio mobile */
    select.posto-search-select {
        display: none !important;
    }

    /* Contenedor del buscador predictivo */
    .posto-predictive-search {
        display: block !important;
        position: relative !important;

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

        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    /* Input */
    .posto-predictive-input {
        width: 100% !important;
        height: 52px !important;
        min-height: 52px !important;

        border: 1.5px solid #dfe4ec !important;
        border-radius: 18px !important;
        background: #ffffff !important;

        padding: 0 15px !important;

        color: #071b35 !important;
        font-size: 15.5px !important;
        font-weight: 850 !important;
        line-height: 52px !important;

        box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08) !important;
        outline: none !important;
        box-sizing: border-box !important;
    }

    .posto-predictive-input::placeholder {
        color: #071b35 !important;
        opacity: 1 !important;
    }

    /* Dropdown */
    .posto-predictive-dropdown {
        display: none !important;

        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: calc(100% + 8px) !important;

        background: #ffffff !important;
        border: 1px solid #edf0f5 !important;
        border-radius: 18px !important;
        box-shadow: 0 18px 42px rgba(16, 32, 51, 0.18) !important;

        overflow: hidden !important;
        z-index: 999999 !important;
    }

    .posto-predictive-dropdown.is-open {
        display: block !important;
    }

    .posto-predictive-option,
    .posto-predictive-empty {
        width: 100% !important;
        display: block !important;

        border: 0 !important;
        background: #ffffff !important;
        color: #071b35 !important;

        padding: 13px 15px !important;

        font-size: 15px !important;
        font-weight: 750 !important;
        line-height: 1.25 !important;
        text-align: left !important;

        cursor: pointer !important;
        box-sizing: border-box !important;
    }

    .posto-predictive-option:hover,
    .posto-predictive-option:focus {
        background: #eef7fc !important;
        color: #071b35 !important;
    }

    .posto-predictive-empty {
        color: #7b8798 !important;
        cursor: default !important;
    }
}

/* ==================================================
   POSTO CARDS - RESTAURAR CARRUSEL DIRECTORIST
================================================== */

.directorist-listing-card .directorist-swiper-listing {
    overflow: hidden !important;
    background: #f3f5f8 !important;
}

.directorist-listing-card .directorist-swiper-listing .swiper-wrapper {
    display: flex !important;
    transform: unset;
}

.directorist-listing-card .directorist-swiper-listing .swiper-slide {
    display: block !important;
}

.directorist-listing-card .directorist-swiper__navigation {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.directorist-listing-card .directorist-swiper__nav {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 20 !important;
}

.directorist-listing-card .directorist-swiper__pagination,
.directorist-listing-card .swiper-pagination {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.directorist-listing-card .swiper-slide a,
.directorist-listing-card .swiper-slide figure {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.directorist-listing-card .swiper-slide img.directorist-thumnail-card-front-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==================================================
   POSTO CARDS - INFO EXTRA SIN CTA
================================================== */

.posto-card-body {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.posto-card-kicker {
    margin-bottom: 8px !important;
}

.posto-card-title {
    margin-bottom: 14px !important;
}

.posto-card-features {
    margin-bottom: 8px !important;
}

.posto-card-expensas,
.posto-card-price-m2 {
    font-size: 15px !important;
    line-height: 1.35 !important;
    color: #7b8798 !important;
    font-weight: 750 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 5px !important;
}

.posto-card-price-m2 {
    color: #6d7788 !important;
}

.posto-card-price {
    margin-top: auto !important;
    padding-top: 14px !important;
}

.posto-card-price .directorist-pricing-meta,
.posto-card-price .directorist-listing-price {
    font-size: 30px !important;
    font-weight: 900 !important;
    color: #071b35 !important;
    line-height: 1.1 !important;
}

/* ==================================================
   FORMULARIO 23 — CAMPOS Y BOTÓN MISMO ANCHO (FINAL)
================================================== */

/* Campos finales */
body #gform_wrapper_23 input[type="text"],
body #gform_wrapper_23 input[type="email"],
body #gform_wrapper_23 input[type="tel"] {
    display: block !important;
    width: 43% !important;
    max-width: 580px !important;
    min-width: 0 !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 20px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
}

/* Footer a ancho completo; el ancho se controla directamente en el botón */
body #gform_wrapper_23 .gform_footer,
body #gform_wrapper_23 .gform_page_footer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 22px 0 0 !important;
    padding: 0 !important;
}

/* Botón final: mismo ancho que los campos */
body #gform_wrapper_23 input#gform_submit_button_23.gform_button.button {
    display: block !important;
    width: 43% !important;
    max-width: 580px !important;
    min-width: 0 !important;
    flex: none !important;
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    background-color: #32a7e2 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 60px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

body #gform_wrapper_23 input#gform_submit_button_23.gform_button.button:hover {
    background-color: #167daf !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

@media only screen and (max-width: 767px) {
    body #gform_wrapper_23 input[type="text"],
    body #gform_wrapper_23 input[type="email"],
    body #gform_wrapper_23 input[type="tel"],
    body #gform_wrapper_23 input#gform_submit_button_23.gform_button.button {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* Posto V3: diseño de precio y superficie; añadir al CSS del modal existente. */

.posto-v3-range-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.posto-v3-range-field {display:flex;flex-direction:column;gap:9px;min-width:0;color:#667085;font-size:14px;font-weight:400;}
.posto-v3-range-control {display:flex;align-items:center;min-width:0;width:100%;height:60px;box-sizing:border-box;border:1px solid #d5d9e2;border-radius:16px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s;}
.posto-v3-range-control:focus-within {border-color:#526bdf;box-shadow:0 0 0 3px rgba(82,107,223,.12);}
.posto-v3-range-control .posto-v3-range-input {display:block;flex:1 1 auto;min-width:0;width:100%;height:100%;margin:0!important;padding:0 14px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:#243149!important;font-size:18px!important;font-weight:400!important;line-height:1.3!important;appearance:textfield;-moz-appearance:textfield;}
.posto-v3-range-control .posto-v3-range-input::-webkit-inner-spin-button,.posto-v3-range-control .posto-v3-range-input::-webkit-outer-spin-button {-webkit-appearance:none;margin:0;}
.posto-v3-range-control .posto-v3-range-input::placeholder {color:#8b96a7;opacity:1;}
.posto-v3-range-unit {flex:0 0 auto;color:#667085;font-size:15px;white-space:nowrap;}
.posto-v3-range-control-price .posto-v3-range-unit {padding-left:14px;}
.posto-v3-range-control-price .posto-v3-range-input {padding-left:9px!important;}
.posto-v3-range-control-area .posto-v3-range-unit {padding-right:14px;}
@media(max-width:420px){.posto-v3-range-grid{gap:10px;}.posto-v3-range-control{height:54px;}.posto-v3-range-control .posto-v3-range-input{font-size:16px!important;padding-right:6px!important;}.posto-v3-range-control-price .posto-v3-range-unit{padding-left:9px;}.posto-v3-range-control-price .posto-v3-range-input{padding-left:5px!important;}.posto-v3-range-control-area .posto-v3-range-unit{padding-right:9px;}}

/* Ocultar Mínimo y Máximo encima de los casilleros */
.posto-v3-range-label {
    display: none !important;
}

/* ==================================================
   POSTO — ALINEAR ETIQUETAS VENTA Y APTO CRÉDITO
   DESKTOP + MOBILE
================================================== */

body.single-at_biz_dir .posto-price-badges-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
}

body.single-at_biz_dir .posto-price-badges-row
.posto-sidebar-price-badge,
body.single-at_biz_dir .posto-price-badges-row
.posto-mobile-price-badge,
body.single-at_biz_dir .posto-price-badges-row
.posto-apto-credito-badge {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center !important;
}

/* =========================================================
   POSTO RESULTADOS — LAYOUT FINAL (Directorist sigue siendo el motor)
   ========================================================= */
body .theme-header-menu-area{position:relative!important;z-index:50!important;background:#fff!important;border-bottom:1px solid rgba(7,27,53,.05)!important;box-shadow:0 7px 18px rgba(16,32,51,.07)!important}
@media(min-width:992px){
 body .theme-header-menu-area .theme-container-fluid{padding-left:28px!important;padding-right:28px!important}
 body .theme-header-menu-full{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:26px!important;min-height:76px!important;width:100%!important}
 body .theme-header-logo-wrap{flex:0 0 auto!important}
 body .posto-results-location{flex:1 1 500px!important;max-width:620px!important;min-width:320px!important;margin:0 0 0 18px!important}
 body .posto-results-location__form{position:relative!important;display:flex!important;align-items:center!important;height:50px!important;background:#fff!important;border:1px solid #ccd3dd!important;border-radius:15px!important;box-shadow:0 3px 10px rgba(16,32,51,.08)!important;overflow:hidden!important}
 body .posto-results-location__icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:48px!important;color:#32a7e2!important}
 body .posto-results-location__select{flex:1!important;height:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;appearance:none!important;padding:0 42px 0 0!important;color:#657087!important;font-size:16px!important;font-weight:600!important}
 body .posto-results-location__chevron{position:absolute!important;right:16px!important;top:50%!important;transform:translateY(-52%)!important;color:#657087!important;pointer-events:none!important}
 body .theme-main-navigation{margin-left:auto!important;flex:0 0 auto!important}
 body .theme-main-navigation-inner .menu{display:flex!important;align-items:center!important;gap:30px!important;white-space:nowrap!important}
}
body .posto-ui-toolbar{position:sticky!important;top:0;z-index:40!important;width:100%!important;background:#f8f9fb!important;border-bottom:1px solid #e4e7ec!important;box-shadow:0 5px 16px rgba(16,32,51,.045)!important}
body.admin-bar .posto-ui-toolbar{top:32px!important}
body .posto-ui-toolbar-inner{width:100%!important;padding:16px 32px 14px!important;box-sizing:border-box!important}
body .posto-ui-toolbar .listing-with-sidebar__type-nav{margin:0 0 12px!important;padding:0!important}
body .posto-ui-toolbar .directorist-container-fluid{padding:0!important;max-width:none!important}
body .posto-ui-toolbar .directorist-type-nav{margin:0!important;padding:0!important}
body .posto-ui-toolbar .directorist-type-nav__list{display:flex!important;justify-content:center!important;gap:28px!important;margin:0!important;padding:0!important}
body .posto-ui-toolbar .directorist-type-nav__link{padding:0 0 7px!important;color:#27364d!important;font-size:14px!important;font-weight:650!important;border-bottom:1px solid transparent!important}
body .posto-ui-toolbar .directorist-type-nav li.current .directorist-type-nav__link{color:#32a7e2!important;border-bottom-color:#32a7e2!important}
body .posto-ui-filter-row{display:flex!important;align-items:center!important;gap:14px!important;width:100%!important}
body .posto-ui-pills{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;overflow-x:auto!important;scrollbar-width:none!important}
body .posto-ui-pills::-webkit-scrollbar{display:none!important}
body .posto-ui-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:0 0 auto!important;height:46px!important;padding:0 22px!important;border:1px solid #d9dee7!important;border-radius:999px!important;background:#fff!important;color:#14263f!important;font:600 15px/1.1 inherit!important;box-shadow:none!important;cursor:pointer!important;white-space:nowrap!important}
body .posto-ui-pill.is-active{border-color:#32a7e2!important;color:#177eae!important}
body .posto-ui-pill:hover{border-color:#32a7e2!important}
body .posto-ui-pill[data-pop="more"]{flex-direction:row-reverse!important}
body .posto-ui-sliders{font-size:17px!important;line-height:1!important}
body .posto-ui-view{margin-left:auto!important;flex:0 0 auto!important}
body .posto-ui-view .listing-with-sidebar__header{margin:0!important;padding:0!important}
body .posto-ui-view .directorist-header-bar,body .posto-ui-view .directorist-container-fluid{padding:0!important;margin:0!important;background:transparent!important}
body .posto-ui-view .directorist-listings-header{display:flex!important;align-items:center!important;position:static!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;min-height:46px!important}
body .posto-ui-view .directorist-listings-header__left{display:none!important}
body .posto-ui-view .directorist-listings-header__right{display:flex!important;margin:0!important}
body .posto-ui-view .directorist-listings-header__actions{display:flex!important;align-items:center!important;gap:8px!important}
body .posto-ui-view .directorist-dropdown__toggle{height:46px!important;padding:0 18px!important;border:1px solid #d9dee7!important;border-radius:999px!important;background:#fff!important;color:#14263f!important;font-size:14px!important;font-weight:650!important}
body .posto-ui-view .theme-view-mode{display:flex!important;align-items:center!important;gap:5px!important}
body .posto-ui-view .theme-view-mode a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;border:1px solid #d9dee7!important;border-radius:50%!important;background:#fff!important}
body .listing-with-sidebar__contents.posto-ui-results{display:block!important;padding-top:30px!important}
body.posto-ui-ready .listing-with-sidebar__sidebar{display:none!important}
body.posto-ui-ready .listing-with-sidebar__contents>div:not(.listing-with-sidebar__sidebar),body.posto-ui-ready .listing-with-sidebar__contents>.directorist-listing-wrapper{width:100%!important;max-width:100%!important;flex:0 0 100%!important}
body .posto-ui-pop{display:none;position:fixed;z-index:10000;width:290px;max-width:calc(100vw - 24px);padding:16px;background:#fff;border:1px solid #e0e4eb;border-radius:16px;box-shadow:0 16px 38px rgba(16,32,51,.16)}
body .posto-ui-pop.is-open{display:block}
body .posto-ui-options,body .posto-ui-number-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body .posto-ui-option{min-height:42px;padding:9px 12px;border:1px solid #dfe4ec;border-radius:10px;background:#fff;color:#14263f;font-size:14px;cursor:pointer}
body .posto-ui-option.is-selected{border-color:#32a7e2;background:#f1faff;color:#177eae}
body .posto-ui-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body .posto-ui-range-field{display:flex;flex-direction:column;gap:6px;color:#657087;font-size:12px}
body .posto-ui-range-field input{width:100%!important;height:44px!important;padding:0 10px!important;border:1px solid #dfe4ec!important;border-radius:10px!important;box-sizing:border-box!important}
body .posto-ui-pop-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #eef0f3}
body .posto-ui-clear,body .posto-ui-apply,body .posto-ui-open-all{height:40px;padding:0 16px;border-radius:10px;border:1px solid #dfe4ec;background:#fff;cursor:pointer}
body .posto-ui-apply{background:#32a7e2;color:#fff;border-color:#32a7e2}
body .posto-ui-open-all{width:100%}
body .posto-ui-static{padding:8px 4px;font-weight:650;color:#14263f}
body .posto-ui-native-close{display:none}
body.posto-show-native-filters .listing-with-sidebar__sidebar{display:block!important;position:fixed!important;inset:0 0 0 auto!important;z-index:10001!important;width:min(420px,92vw)!important;height:100vh!important;overflow:auto!important;background:#fff!important;padding:22px!important;box-shadow:-14px 0 40px rgba(16,32,51,.2)!important}
body.posto-show-native-filters .posto-ui-native-close{display:block!important;position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:50%;font-size:25px;background:#f1f3f6;cursor:pointer;z-index:2}
@media(max-width:991px){
 body .posto-ui-toolbar{position:sticky!important;top:0!important}
 body.admin-bar .posto-ui-toolbar{top:46px!important}
 body .posto-ui-toolbar-inner{padding:12px 14px!important}
 body .posto-ui-toolbar .listing-with-sidebar__type-nav{margin-bottom:10px!important}
 body .posto-ui-filter-row{display:block!important}
 body .posto-ui-pills{gap:8px!important;padding-bottom:4px!important}
 body .posto-ui-pill{height:42px!important;padding:0 16px!important;font-size:14px!important}
 body .posto-ui-view{margin:9px 0 0!important;display:flex!important;justify-content:flex-end!important}
 body .listing-with-sidebar__contents.posto-ui-results{padding-top:20px!important}
 body .posto-results-location{width:100%!important;padding:8px 14px!important}
}

/* =========================================================
   POSTO RESULTADOS — AJUSTE VISUAL 2026-10-01
   Solo presentación: Directorist conserva formulario y lógica.
   ========================================================= */
@media (min-width: 992px){
  body.posto-ui-ready .theme-header-menu-area{
    position:sticky!important;top:0!important;z-index:1000!important;
    min-height:82px!important;background:#fff!important;
    box-shadow:0 7px 18px rgba(16,32,51,.075)!important;
  }
  body.admin-bar.posto-ui-ready .theme-header-menu-area{top:32px!important}
  body.posto-ui-ready .theme-header-menu-full{min-height:82px!important}
  body.posto-ui-ready .posto-ui-toolbar{
    position:sticky!important;top:var(--posto-header-h,82px)!important;z-index:990!important;
    margin:0!important;background:#f8f9fb!important;
  }
  body.admin-bar.posto-ui-ready .posto-ui-toolbar{top:calc(var(--posto-header-h,82px) + 32px)!important}
  body.posto-ui-ready .directorist-archive-contents,
  body.posto-ui-ready .directorist-archive-contents__top,
  body.posto-ui-ready .listing-with-sidebar__wrapper{
    margin-top:0!important;padding-top:0!important;
  }
  body.posto-ui-ready .posto-ui-toolbar-inner{
    width:min(100%,1500px)!important;margin:0 auto!important;padding:12px 20px 13px!important;
  }
  body.posto-ui-ready .posto-ui-toolbar .listing-with-sidebar__type-nav{margin:0 0 10px!important}
  body.posto-ui-ready .posto-ui-filter-row{gap:12px!important;overflow:visible!important}
  body.posto-ui-ready .posto-ui-pills{flex:1 1 auto!important;gap:8px!important;overflow:visible!important}
  body.posto-ui-ready .posto-ui-pill{height:44px!important;padding:0 17px!important;font-size:14px!important}
  body.posto-ui-ready .posto-ui-pill[data-pop="type"]{padding-left:20px!important;padding-right:20px!important}
  body.posto-ui-ready .posto-ui-pill[data-pop="more"]{display:inline-flex!important;visibility:visible!important}
  body.posto-ui-ready .posto-ui-view{flex:0 0 auto!important;margin-left:auto!important}
  body.posto-ui-ready .posto-ui-view .theme-view-mode{display:none!important}
  body.posto-ui-ready .posto-ui-view .directorist-dropdown__toggle{height:44px!important;padding:0 17px!important}
  body.posto-ui-ready .listing-with-sidebar__contents.posto-ui-results{padding-top:30px!important;margin-top:0!important}
}

/* iconos del menú superior, insertados por posto-filters.js */
body.posto-ui-ready .theme-main-navigation .menu a .posto-nav-icon{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:18px!important;height:18px!important;margin-right:8px!important;color:#14263f!important;vertical-align:-3px!important;
}
body.posto-ui-ready .theme-main-navigation .menu a .posto-nav-icon svg{width:18px!important;height:18px!important;display:block!important}

@media(max-width:991px){
  body.posto-ui-ready .posto-ui-toolbar{position:sticky!important;top:0!important;z-index:990!important}
  body.admin-bar.posto-ui-ready .posto-ui-toolbar{top:46px!important}
  body.posto-ui-ready .posto-ui-pill[data-pop="more"]{display:inline-flex!important}
  body.posto-ui-ready .posto-ui-view .theme-view-mode{display:none!important}
  body.posto-ui-ready .listing-with-sidebar__contents.posto-ui-results{padding-top:24px!important}
}

/* POSTO RESULTADOS — quitar hueco superior entre header y toolbar */
@media (min-width: 992px){
  body.posto-ui-ready .listing-with-sidebar__wrapper{
    position:relative!important;
    margin-top:-118px!important;
    padding-top:0!important;
  }
  body.posto-ui-ready .posto-ui-toolbar{margin-top:0!important;}
}

/* ==========================================================
   POSTO MAS FILTROS — MODAL ORIGINAL RECUPERADO DE V8
   ========================================================== */
.posto-v3-overlay{display:none!important;position:fixed!important;inset:0!important;background:rgba(7,27,53,.42)!important;z-index:999998!important}
.posto-v3-modal{display:none!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;max-width:100vw!important;height:82vh!important;max-height:82vh!important;background:#fff!important;border-radius:30px 30px 0 0!important;z-index:999999!important;overflow:hidden!important;box-shadow:0 -20px 60px rgba(7,27,53,.24)!important}
body.posto-v3-open{overflow:hidden!important}body.posto-v3-open .posto-v3-overlay{display:block!important}body.posto-v3-open .posto-v3-modal{display:flex!important;flex-direction:column!important}
.posto-v3-modal,.posto-v3-modal *{box-sizing:border-box!important}.posto-v3-header{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:22px 26px!important;border-bottom:1px solid #edf0f5!important;background:#fff!important}.posto-v3-header h2{margin:0!important;color:#071b35!important;font-size:28px!important;line-height:1.15!important;font-weight:900!important}.posto-v3-close{appearance:none!important;border:none!important;background:transparent!important;color:#071b35!important;font-size:42px!important;line-height:1!important;font-weight:300!important;cursor:pointer!important;padding:0!important}
.posto-v3-body{flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 0 12px!important;background:#fff!important}.posto-v3-section{padding:26px!important;border-bottom:1px solid #edf0f5!important}.posto-v3-section h3{margin:0 0 18px!important;color:#071b35!important;font-size:22px!important;line-height:1.2!important;font-weight:850!important}.posto-v3-choice-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}.posto-v3-round-grid{grid-template-columns:repeat(5,1fr)!important}.posto-v3-choice{appearance:none!important;width:100%!important;min-width:0!important;min-height:54px!important;border:1.5px solid #dfe4ec!important;border-radius:16px!important;background:#fff!important;color:#071b35!important;font-size:15px!important;line-height:1.15!important;font-weight:750!important;text-align:center!important;padding:12px 10px!important;cursor:pointer!important;box-shadow:0 8px 20px rgba(16,32,51,.045)!important}.posto-v3-round-grid .posto-v3-choice{border-radius:999px!important;min-height:50px!important;padding:0!important}.posto-v3-choice.is-active{background:#32a7e2!important;border-color:#32a7e2!important;color:#fff!important;box-shadow:0 12px 26px rgba(50,167,226,.26)!important}
.posto-v3-range-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}.posto-v3-range-field{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important;color:#667085!important;font-size:14px!important;font-weight:400!important}.posto-v3-range-control{display:flex!important;align-items:center!important;min-width:0!important;width:100%!important;height:60px!important;box-sizing:border-box!important;border:1px solid #d5d9e2!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important}.posto-v3-range-control:focus-within{border-color:#526bdf!important;box-shadow:0 0 0 3px rgba(82,107,223,.12)!important}.posto-v3-range-control .posto-v3-range-input{display:block!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:#243149!important;font-size:18px!important;font-weight:400!important}.posto-v3-range-unit{flex:0 0 auto!important;color:#667085!important;font-size:15px!important;white-space:nowrap!important}.posto-v3-range-control-price .posto-v3-range-unit{padding-left:14px!important}.posto-v3-range-control-price .posto-v3-range-input{padding-left:9px!important}.posto-v3-range-control-area .posto-v3-range-unit{padding-right:14px!important}
.posto-v3-footer{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:12px!important;padding:14px 18px 18px!important;background:#fff!important;border-top:1px solid #edf0f5!important;box-shadow:0 -10px 28px rgba(16,32,51,.08)!important}.posto-v3-reset,.posto-v3-apply{appearance:none!important;border:none!important;height:56px!important;border-radius:15px!important;font-size:16px!important;line-height:1!important;font-weight:850!important;cursor:pointer!important}.posto-v3-reset{width:40%!important;background:#eef3ff!important;color:#3857bd!important}.posto-v3-apply{width:60%!important;background:#32a7e2!important;color:#fff!important}
@media(max-width:767px){.posto-v3-modal{height:88vh!important;max-height:88vh!important}.posto-v3-header{padding:18px!important}.posto-v3-section{padding:22px 18px!important}.posto-v3-section h3{font-size:19px!important}.posto-v3-choice-grid{grid-template-columns:1fr 1fr!important}.posto-v3-round-grid{grid-template-columns:repeat(5,1fr)!important;gap:8px!important}.posto-v3-choice{min-height:48px!important;font-size:14px!important}.posto-v3-round-grid .posto-v3-choice{min-height:44px!important}.posto-v3-range-grid{gap:10px!important}.posto-v3-range-control{height:54px!important}}

/* POSTO MAS FILTROS — desktop contenido/centrado (solo geometría) */
@media (min-width:768px){
  .posto-v3-modal{
    left:50%!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:min(840px,calc(100vw - 48px))!important;
    max-width:840px!important;
    height:min(720px,78vh)!important;
    max-height:78vh!important;
    border-radius:22px!important;
    box-shadow:0 24px 70px rgba(7,27,53,.24)!important;
  }
  .posto-v3-header{padding:18px 22px!important;}
  .posto-v3-header h2{font-size:24px!important;}
  .posto-v3-close{font-size:34px!important;width:38px!important;height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  .posto-v3-body{padding-bottom:8px!important;}
  .posto-v3-section{padding:20px 22px!important;}
  .posto-v3-section h3{margin-bottom:14px!important;font-size:19px!important;}
  .posto-v3-choice{min-height:46px!important;border-radius:13px!important;padding:9px 10px!important;font-size:14px!important;}
  .posto-v3-round-grid .posto-v3-choice{min-height:44px!important;}
  .posto-v3-range-control{height:50px!important;border-radius:13px!important;}
  .posto-v3-range-control .posto-v3-range-input{font-size:16px!important;}
  .posto-v3-footer{padding:12px 18px 16px!important;}
  .posto-v3-reset,.posto-v3-apply{height:50px!important;border-radius:13px!important;font-size:15px!important;}
}

/* ==========================================================
   POSTO RESULTADOS — MOBILE V2 / referencia compacta
   Desktop queda intacto. Solo <= 767px.
   ========================================================== */
@media (max-width:767px){
  html,body{max-width:100%!important;overflow-x:hidden!important}
  body.posto-ui-ready .theme-header-menu-area{
    position:sticky!important;top:0!important;z-index:1000!important;
    min-height:72px!important;height:72px!important;background:#fff!important;
    box-shadow:0 4px 14px rgba(16,32,51,.08)!important;
  }
  body.posto-ui-ready .theme-header-menu-area .theme-container-fluid{padding:0 14px!important;height:72px!important}
  body.posto-ui-ready .theme-header-menu-full{
    height:72px!important;min-height:72px!important;width:100%!important;
    display:grid!important;grid-template-columns:72px minmax(0,1fr) 48px!important;
    gap:10px!important;align-items:center!important;flex-wrap:nowrap!important;
  }
  body.posto-ui-ready .theme-header-logo-wrap{width:72px!important;min-width:72px!important;max-width:72px!important;margin:0!important;padding:0!important}
  body.posto-ui-ready .theme-header-logo-wrap img{display:block!important;max-width:72px!important;width:72px!important;height:auto!important}
  body.posto-ui-ready .posto-results-location{grid-column:2!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important}
  body.posto-ui-ready .posto-results-location__form{height:48px!important;width:100%!important;border-radius:12px!important;overflow:hidden!important}
  body.posto-ui-ready .posto-results-location__icon{width:42px!important;min-width:42px!important}
  body.posto-ui-ready .posto-results-location__select{min-width:0!important;width:100%!important;height:48px!important;padding:0 30px 0 0!important;font-size:16px!important;font-weight:500!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}
  body.posto-ui-ready .posto-results-location__chevron{right:11px!important}
  body.posto-ui-ready .theme-menu-container{grid-column:3!important;width:48px!important;margin:0!important;padding:0!important}
  body.posto-ui-ready .theme-main-navigation{width:48px!important;margin:0!important;padding:0!important}
  body.posto-ui-ready .theme-main-navigation-inner{display:none!important}
  body.posto-ui-ready .theme-mobile-menu-trigger{
    display:flex!important;width:48px!important;height:48px!important;margin:0!important;padding:0!important;
    align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:6px!important;
    border:0!important;background:transparent!important;
  }
  body.posto-ui-ready .theme-mobile-menu-trigger span{display:block!important;width:27px!important;height:3px!important;border-radius:3px!important;background:#102945!important;margin:0!important}
  body.posto-ui-ready .theme-menu-action-box{display:none!important}

  body.posto-ui-ready .posto-ui-toolbar{
    position:sticky!important;top:72px!important;z-index:990!important;
    margin:0!important;padding:0!important;background:#f8f9fb!important;
    border-bottom:1px solid #e2e6ec!important;box-shadow:0 4px 12px rgba(16,32,51,.045)!important;
  }
  body.admin-bar.posto-ui-ready .posto-ui-toolbar{top:118px!important}
  body.posto-ui-ready .posto-ui-toolbar-inner{width:100%!important;margin:0!important;padding:12px 14px!important}
  body.posto-ui-ready .posto-ui-toolbar .listing-with-sidebar__type-nav{display:none!important}
  body.posto-ui-ready .posto-ui-filter-row{display:block!important;width:100%!important;margin:0!important;padding:0!important}
  body.posto-ui-ready .posto-ui-pills{
    display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:8px!important;
    width:100%!important;overflow:visible!important;padding:0!important;margin:0!important;
  }
  body.posto-ui-ready .posto-ui-pill{display:none!important}
  body.posto-ui-ready .posto-ui-pill[data-pop="more"],
  body.posto-ui-ready .posto-ui-pill[data-pop="type"],
  body.posto-ui-ready .posto-ui-pill[data-pop="price"]{
    display:inline-flex!important;height:46px!important;min-width:0!important;padding:0 15px!important;
    border-radius:999px!important;font-size:15px!important;font-weight:600!important;background:#fff!important;
  }
  body.posto-ui-ready .posto-ui-pill[data-pop="more"]{grid-column:1!important;grid-row:1!important;flex-direction:row!important}
  body.posto-ui-ready .posto-ui-pill[data-pop="type"]{grid-column:2!important;grid-row:1!important;width:100%!important;overflow:hidden!important}
  body.posto-ui-ready .posto-ui-pill[data-pop="type"]>span:first-child{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  body.posto-ui-ready .posto-ui-pill[data-pop="price"]{grid-column:3!important;grid-row:1!important}
  body.posto-ui-ready .posto-ui-pill[data-pop="more"] .posto-ui-sliders{order:-1!important}
  body.posto-ui-ready .posto-ui-pill[data-pop="more"] .posto-ui-caret,
  body.posto-ui-ready .posto-ui-pill[data-pop="more"] .posto-ui-sliders + .posto-ui-caret{display:none!important}
  body.posto-ui-ready .posto-ui-view{display:none!important}
  body.posto-ui-ready .listing-with-sidebar__contents.posto-ui-results{margin-top:0!important;padding-top:0!important}
  body.posto-ui-ready .directorist-archive-contents,
  body.posto-ui-ready .directorist-archive-contents__top,
  body.posto-ui-ready .listing-with-sidebar__wrapper{margin-top:0!important;padding-top:0!important}

  /* Más filtros: misma lógica, geometría mobile limpia */
  .posto-v3-modal{left:0!important;right:0!important;bottom:0!important;top:auto!important;transform:none!important;width:100%!important;max-width:100%!important;height:88dvh!important;max-height:88dvh!important;border-radius:22px 22px 0 0!important}
  .posto-v3-header{padding:16px 18px!important}.posto-v3-header h2{font-size:22px!important}.posto-v3-close{font-size:34px!important}
  .posto-v3-section{padding:20px 18px!important}.posto-v3-section h3{font-size:18px!important;margin-bottom:13px!important}
  .posto-v3-footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom))!important}
}

/* ==========================================================
   POSTO RESULTADOS MOBILE — STICKY REAL + BARRIO PREDICTIVO
   Solo <=767. Desktop intacto.
   ========================================================== */
@media (max-width:767px){
  body.posto-ui-ready.posto-mobile-results-fixed{padding-top:132px!important;overflow-x:hidden!important}
  body.posto-ui-ready #site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;height:72px!important;z-index:10000!important;margin:0!important;padding:0!important;background:#fff!important}
  body.admin-bar.posto-ui-ready #site-header{top:46px!important}
  body.posto-ui-ready #site-header .theme-header-menu-area{position:static!important;top:auto!important;height:72px!important;min-height:72px!important;margin:0!important;padding:0!important}
  body.posto-ui-ready .posto-ui-toolbar.posto-mobile-fixed-toolbar{position:fixed!important;left:0!important;right:0!important;top:72px!important;width:100%!important;height:60px!important;margin:0!important;padding:0!important;z-index:9999!important;background:#f8f9fb!important;border-bottom:1px solid #e2e6ec!important;box-shadow:0 3px 10px rgba(16,32,51,.06)!important}
  body.admin-bar.posto-ui-ready .posto-ui-toolbar.posto-mobile-fixed-toolbar{top:118px!important}
  body.posto-ui-ready .posto-ui-toolbar-inner{height:60px!important;padding:7px 12px!important;display:flex!important;align-items:center!important}
  body.posto-ui-ready .posto-ui-pills{height:46px!important}

  /* No reservar espacio de los wrappers desktop encima de resultados */
  body.posto-ui-ready .directorist-archive-contents,
  body.posto-ui-ready .directorist-archive-contents__top,
  body.posto-ui-ready .listing-with-sidebar__wrapper,
  body.posto-ui-ready .listing-with-sidebar__contents,
  body.posto-ui-ready .posto-ui-results{margin-top:0!important;padding-top:0!important}

  /* Autocomplete real de barrio sobre IDs in_loc de Directorist */
  body.posto-ui-ready .posto-results-location__form{overflow:visible!important;position:relative!important}
  body.posto-ui-ready .posto-results-location__select{display:none!important}
  body.posto-ui-ready .posto-mobile-location-autocomplete{position:relative!important;flex:1 1 auto!important;min-width:0!important;height:100%!important}
  body.posto-ui-ready .posto-mobile-location-input{display:block!important;width:100%!important;height:100%!important;border:0!important;outline:0!important;background:transparent!important;padding:0 10px 0 0!important;font-size:15px!important;font-weight:500!important;color:#27364a!important;-webkit-appearance:none!important;appearance:none!important}
  body.posto-ui-ready .posto-mobile-location-input::-webkit-search-cancel-button{display:none!important}
  body.posto-ui-ready .posto-mobile-location-list{display:none;position:absolute!important;left:-42px!important;right:0!important;top:54px!important;background:#fff!important;border:1px solid #e1e5ea!important;border-radius:12px!important;box-shadow:0 12px 30px rgba(16,32,51,.16)!important;overflow:hidden!important;z-index:11000!important;max-height:280px!important;overflow-y:auto!important}
  body.posto-ui-ready .posto-mobile-location-list.is-open{display:block!important}
  body.posto-ui-ready .posto-mobile-location-option{display:block!important;width:100%!important;border:0!important;border-bottom:1px solid #eef0f3!important;background:#fff!important;text-align:left!important;padding:13px 15px!important;font-size:15px!important;color:#26364a!important}
  body.posto-ui-ready .posto-mobile-location-option:last-child{border-bottom:0!important}
  body.posto-ui-ready .posto-results-location__chevron{display:none!important}
}

/* ==========================================================
   POSTO MOBILE — HEADER UNA SOLA FILA / FIX 01:45
   No modifica desktop ni toolbar/filtros.
   ========================================================== */
@media (max-width:767px){
  body.posto-ui-ready.posto-mobile-results-fixed{padding-top:124px!important}
  body.posto-ui-ready #site-header{height:64px!important;min-height:64px!important}
  body.posto-ui-ready #site-header .theme-header-menu-area,
  body.posto-ui-ready #site-header .theme-container-fluid,
  body.posto-ui-ready #site-header .theme-header-menu-full{height:64px!important;min-height:64px!important}
  body.posto-ui-ready #site-header .theme-container-fluid{padding:0 12px!important}
  body.posto-ui-ready #site-header .theme-header-menu-full{
    display:grid!important;
    grid-template-columns:78px minmax(0,1fr) 44px!important;
    column-gap:8px!important;
    align-items:center!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body.posto-ui-ready #site-header .theme-header-logo-wrap{
    grid-column:1!important;width:78px!important;min-width:78px!important;max-width:78px!important;
    margin:0!important;padding:0!important;align-self:center!important;
  }
  body.posto-ui-ready #site-header .theme-header-logo-wrap img{width:78px!important;max-width:78px!important;height:auto!important}
  body.posto-ui-ready #site-header .posto-results-location{
    grid-column:2!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;
    height:44px!important;margin:0!important;padding:0!important;align-self:center!important;
  }
  body.posto-ui-ready #site-header .posto-results-location__form{
    display:flex!important;flex-direction:row!important;align-items:center!important;width:100%!important;height:44px!important;
    min-height:44px!important;margin:0!important;padding:0 10px!important;box-sizing:border-box!important;
    background:#fff!important;border:1px solid #cbd2dc!important;border-radius:12px!important;
    box-shadow:0 2px 7px rgba(16,32,51,.08)!important;overflow:visible!important;
  }
  body.posto-ui-ready #site-header .posto-results-location__icon{
    display:flex!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:42px!important;
    align-items:center!important;justify-content:flex-start!important;margin:0!important;padding:0!important;
  }
  body.posto-ui-ready #site-header .posto-mobile-location-autocomplete{
    display:block!important;position:relative!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;
    height:42px!important;margin:0!important;padding:0!important;
  }
  body.posto-ui-ready #site-header .posto-mobile-location-input{
    display:block!important;position:static!important;width:100%!important;min-width:0!important;height:42px!important;
    margin:0!important;padding:0 2px!important;border:0!important;border-radius:0!important;box-shadow:none!important;
    background:transparent!important;outline:0!important;color:#27364a!important;font-size:15px!important;font-weight:500!important;
    line-height:42px!important;text-align:left!important;transform:none!important;
  }
  body.posto-ui-ready #site-header .posto-mobile-location-input::placeholder{color:#778194!important;opacity:1!important;font-weight:500!important}
  body.posto-ui-ready #site-header .posto-mobile-location-list{left:-40px!important;right:-10px!important;top:48px!important}
  body.posto-ui-ready #site-header .theme-menu-container{
    grid-column:3!important;width:44px!important;min-width:44px!important;height:44px!important;margin:0!important;padding:0!important;align-self:center!important;
  }
  body.posto-ui-ready #site-header .theme-main-navigation{width:44px!important;height:44px!important;margin:0!important;padding:0!important}
  body.posto-ui-ready #site-header .theme-mobile-menu-trigger{width:44px!important;height:44px!important;margin:0!important;padding:0!important}
  body.posto-ui-ready .posto-ui-toolbar.posto-mobile-fixed-toolbar{top:64px!important}
  body.admin-bar.posto-ui-ready #site-header{top:46px!important}
  body.admin-bar.posto-ui-ready .posto-ui-toolbar.posto-mobile-fixed-toolbar{top:110px!important}
}
