.property-public-page {
            max-width: 1180px;
            margin: 0 auto;
        }

        .property-breadcrumb {
            color: var(--ar-muted);
            margin: 0 0 16px;
            font-size: 14px;
        }

        .property-breadcrumb a {
            color: var(--ar-brand-dark);
            text-decoration: none;
            font-weight: 700;
        }

        .property-hero {
            background: transparent;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
            margin-bottom: 18px;
        }

        .property-hero__top {
            display: flex;
            justify-content: space-between;
            gap: 18px;
            align-items: flex-start;
            margin-bottom: 18px;
        }

        .property-title {
            margin: 0 0 8px;
            font-size: 34px;
            color: var(--ar-ink);
            letter-spacing: -.02em;
        }

        .property-location {
            color: #536170;
            margin: 0;
            font-size: 17px;
        }

        .property-ref {
            background: #f4f7f9;
            border: 1px solid var(--ar-line);
            border-radius: 999px;
            padding: 7px 11px;
            color: #3f4d5b;
            font-weight: 700;
            white-space: nowrap;
        }

        .property-gallery {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 170px;
            gap: 10px;
        }

        .property-gallery__main {
            position: relative;
            height: 470px;
            border-radius: 10px;
            overflow: hidden;
            background: #e8edf2;
            cursor: zoom-in;
        }

        .property-gallery__main img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
            display: block;
        }

        .property-gallery__thumbs {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .property-gallery__thumb {
            height: 87px;
            border: 2px solid transparent;
            border-radius: 8px;
            padding: 0;
            overflow: hidden;
            background: #eef2f6;
            cursor: pointer;
        }

        .property-gallery__thumb.is-active {
            border-color: var(--ar-brand-dark);
        }

        .property-gallery__thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover !important;
            object-position: center center;
            display: block;
        }

        .property-gallery-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(7, 12, 18, .94);
            z-index: 9999;
            padding: 24px;
            align-items: center;
            justify-content: center;
        }

        .property-gallery-modal.is-open {
            display: flex;
        }

        .property-gallery-modal__close {
            position: absolute;
            top: 18px;
            right: 22px;
            width: 44px;
            height: 44px;
            border: 0;
            border-radius: 999px;
            background: rgba(255,255,255,.92);
            color: #111;
            font-size: 30px;
            cursor: pointer;
            z-index: 3;
        }

        .property-gallery-modal__arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 52px;
            height: 52px;
            border: 0;
            border-radius: 999px;
            background: rgba(255,255,255,.9);
            color: #111;
            font-size: 42px;
            cursor: pointer;
            z-index: 3;
        }

        .property-gallery-modal__arrow.prev { left: 24px; }
        .property-gallery-modal__arrow.next { right: 24px; }

        .property-gallery-modal__stage {
            max-width: 92vw;
            max-height: 78vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .property-gallery-modal__stage img {
            max-width: 92vw;
            max-height: 78vh;
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 24px 80px rgba(0,0,0,.45);
        }

        .property-gallery-modal__counter {
            position: absolute;
            top: 22px;
            left: 28px;
            color: #fff;
            font-weight: 700;
            background: rgba(0,0,0,.35);
            border-radius: 999px;
            padding: 8px 12px;
        }

        .property-gallery-modal__thumbs {
            position: absolute;
            left: 24px;
            right: 24px;
            bottom: 20px;
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding: 8px;
            background: rgba(0,0,0,.32);
            border-radius: 12px;
        }

        .property-gallery-modal__thumb {
            flex: 0 0 86px;
            width: 86px;
            height: 62px;
            border: 2px solid transparent;
            border-radius: 8px;
            padding: 0;
            overflow: hidden;
            cursor: pointer;
            background: #222;
        }

        .property-gallery-modal__thumb.is-active {
            border-color: #8fbd33;
        }

        .property-gallery-modal__thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover !important;
            object-position: center center;
            display: block;
        }

        .property-content-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 350px;
            gap: 20px;
            align-items: start;
        }

        /* Secciones planas estilo escapadarural: sin caja con borde, solo
           separador sutil entre bloques. El contenido respira con el padding. */
        .property-section {
            background: transparent;
            border: 0;
            border-radius: 0;
            padding: 22px 0;
            margin-bottom: 0;
            box-shadow: none;
        }

        .property-section + .property-section {
            border-top: 1px solid var(--ar-line);
        }

        .property-section h2 {
            margin: 0 0 14px;
            font-size: 23px;
            color: var(--ar-ink);
        }

        .property-sidebar {
            position: sticky;
            top: 18px;
        }

        .property-contact-card {
            background: #fff;
            border: 1px solid var(--ar-line);
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(20,30,40,.08);
            padding: 18px;
            margin-bottom: 18px;
        }

        .property-contact-card h2 {
            margin: 0 0 10px;
            font-size: 20px;
        }

        .property-quick-facts {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
            margin: 16px 0 0;
        }

        .property-fact {
            border: 1px solid var(--ar-line);
            background: #f8fafb;
            border-radius: 10px;
            padding: 12px;
            text-align: center;
        }

        .property-fact strong {
            display: block;
            color: var(--ar-ink);
            font-size: 20px;
        }

        .property-fact span {
            display: block;
            color: var(--ar-muted);
            font-size: 13px;
        }

        .property-actions-grid {
            display: grid;
            gap: 10px;
        }

        .property-actions-grid .button {
            text-align: center;
            width: 100%;
        }

        .property-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border: 1px solid var(--ar-brand-line);
            background: #f2fae9;
            color: #425f26;
            border-radius: 999px;
            padding: 7px 10px;
            font-size: 14px;
        }

        .property-map {
            width: 100%;
            height: 360px;
            border-radius: 12px;
            border: 1px solid var(--ar-line);
            overflow: hidden;
            background: #eef2f6;
        }

        .property-map-note {
            color: var(--ar-muted);
            font-size: 14px;
            margin-top: 10px;
        }

        .property-owner-box {
            border: 1px solid #b7d982;
            background: #f8fcf1;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 18px;
        }

        .property-owner-box h2 {
            margin: 0 0 8px;
            font-size: 19px;
        }

        .property-owner-box__head {
            display: flex;
            justify-content: space-between;
            gap: 18px;
            align-items: flex-start;
            flex-wrap: wrap;
        }

        .property-owner-box__meta {
            margin: 0 0 8px;
            color: var(--ar-body);
        }

        .property-owner-box__program {
            margin: 0;
        }

        /* Navegación del panel (secundarios uniformes, sin colores aleatorios). */
        .property-owner-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .property-owner-nav a {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            min-height: 38px;
            padding: 0 13px;
            border-radius: 9px;
            border: 1px solid var(--ar-line);
            background: #fff;
            color: var(--ar-ink-soft);
            font-size: 13.5px;
            font-weight: 600;
            text-decoration: none;
            transition: border-color .15s ease;
        }

        .property-owner-nav a:hover {
            border-color: var(--ar-brand);
        }

        .property-owner-nav a .ar-svg-icon {
            width: 17px;
            height: 17px;
            color: var(--ar-muted);
            flex: 0 0 auto;
        }

        /* Acciones: grid alineado; una principal sólida lima, resto uniformes. */
        .property-owner-actions {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 8px;
            margin-top: 14px;
        }

        .property-owner-actions a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 42px;
            padding: 0 14px;
            border-radius: 9px;
            border: 1px solid var(--ar-line);
            background: #fff;
            color: var(--ar-ink);
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: border-color .15s ease, box-shadow .15s ease;
        }

        .property-owner-actions a:hover {
            border-color: var(--ar-brand);
        }

        .property-owner-actions a .ar-svg-icon {
            width: 18px;
            height: 18px;
            color: var(--ar-muted);
            flex: 0 0 auto;
        }

        .property-owner-actions a.is-primary {
            background: var(--ar-brand-dark);
            border-color: var(--ar-brand-dark);
            color: #fff;
        }

        .property-owner-actions a.is-primary .ar-svg-icon {
            color: #fff;
        }

        .property-owner-box .badge--warn {
            background: #fff7e6;
            border-color: #f0b44c;
            color: #7c4200;
        }

        .property-owner-login {
            border: 1px solid #e0e5eb;
            background: #fff;
            border-radius: 12px;
            padding: 14px;
            margin-bottom: 18px;
        }

        .property-description {
            line-height: 1.65;
            color: #314252;
        }

        .property-description img {
            max-width: 100%;
            height: auto;
        }

        @media(max-width: 950px) {
            .property-gallery {
                grid-template-columns: 1fr;
            }

            .property-gallery__main {
                height: 340px;
            }

            .property-gallery__thumbs {
                grid-template-columns: repeat(5, 1fr);
            }

            .property-gallery__thumb {
                height: 70px;
            }

            .property-content-layout {
                grid-template-columns: 1fr;
            }

            .property-sidebar {
                position: static;
            }

            .property-hero__top {
                display: block;
            }

            .property-ref {
                display: inline-block;
                margin-top: 10px;
            }
        }

        .property-mobile-sticky-actions {
            display: none;
        }

        @media(max-width: 760px) {
            body {
                padding-bottom: 86px;
            }

            .property-mobile-sticky-actions {
                position: fixed;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 9990;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 10px;
                padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
                background: rgba(255,255,255,.96);
                border-top: 1px solid var(--ar-line);
                box-shadow: 0 -8px 28px rgba(20,30,40,.16);
                backdrop-filter: blur(8px);
            }

            .property-mobile-sticky-actions a,
            .property-mobile-sticky-actions button {
                min-height: 48px;
                border-radius: 12px;
                font-size: 16px;
                font-weight: 800;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                text-align: center;
                text-decoration: none;
                border: 0;
                cursor: pointer;
            }

            /* Secundario (Llamar/Contactar): outline lima. */
            .property-mobile-sticky-actions__phone {
                background: #fff;
                color: var(--ar-brand-dark);
                box-shadow: inset 0 0 0 1px var(--ar-brand-dark);
            }

            /* Primario (Solicitud/Reservar): sólido lima. */
            .property-mobile-sticky-actions__request {
                background: var(--ar-brand-dark);
                color: #fff;
            }
        }

        @media(max-width: 620px) {
            .property-title {
                font-size: 28px;
            }

            .property-gallery__main {
                height: 270px;
            }

            .property-quick-facts {
                grid-template-columns: 1fr;
            }
        }

/* ===== Consolidado desde ar-property-polish.css (Fase 2.5 refactor CSS) =====
   Cargaba justo despues de este archivo; orden/cascada preservados. ===== */
/* Pulido visual de fichas públicas inspirado en portales actuales, adaptado a AlojamientosRurales */
.property-public-page--polished {
    max-width: 1220px;
}

.property-hero--polished,
.property-section,
.property-contact-card,
.property-owner-login {
    border-radius: 14px !important;
}

.property-hero--polished {
    padding: 26px !important;
    box-shadow: 0 18px 48px rgba(20,30,40,.08) !important;
}

.property-hero__title-block {
    min-width: 0;
}

.property-title {
    font-size: clamp(22px, 2.1vw, 28px) !important;
    line-height: .98 !important;
    letter-spacing: -1.6px !important;
    color: #142315 !important;
}

.property-location--precise {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px !important;
    color: #435261 !important;
}

.property-location--precise svg {
    color: var(--ar-brand-dark);
}

.property-hero__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.property-hero-action:hover,
.property-hero-action.is-active {
    background: #f1f8e9;
    border-color: var(--ar-brand-line);
    color: var(--ar-brand-darker);
}

/* Favorito activo: corazón relleno (coherente con el icono de compartir). */
.property-hero-action.is-active .ar-svg-icon-heart,
.property-hero-action.is-favorite .ar-svg-icon-heart {
    fill: var(--ar-brand-dark);
    stroke: var(--ar-brand-dark);
}

.property-gallery--polished {
    grid-template-columns: minmax(0, 1fr) 220px !important;
    gap: 12px !important;
}

.property-gallery--polished .property-gallery__main {
    height: min(54vw, 520px) !important;
    min-height: 390px;
    border-radius: 20px !important;
}

.property-gallery--polished .property-gallery__thumbs {
    gap: 12px !important;
}

.property-gallery--polished .property-gallery__thumb {
    height: 94px !important;
    border-radius: 16px !important;
}

.property-gallery__view-all {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 11px 15px;
    background: rgba(255,255,255,.95);
    color: #142315;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* Barra de datos clave PLANA (sin cajas): icono + valor + etiqueta, separados
   por divisores sutiles. Estilo minimalista escapadarural. */
.property-quick-facts--polished {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin-top: 16px !important;
    border-top: 1px solid var(--ar-line) !important;
    border-bottom: 1px solid var(--ar-line) !important;
}

.property-quick-facts--polished .property-fact {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px 6px;
    min-height: 0 !important;
    padding: 13px 8px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
}

.property-quick-facts--polished .property-fact:not(:last-child) {
    border-right: 1px solid var(--ar-line);
}

.property-quick-facts--polished .property-fact svg {
    color: var(--ar-brand-dark);
    width: var(--ar-icon-lg, 20px);
    height: var(--ar-icon-lg, 20px);
    flex: 0 0 auto;
    align-self: center;
}

.property-quick-facts--polished .property-fact strong {
    font-size: var(--ar-text-base, 16px);
    font-weight: 700;
    color: var(--ar-ink);
}

.property-quick-facts--polished .property-fact span {
    font-size: var(--ar-text-xs, 13px);
    color: var(--ar-muted);
}

.property-anchor-nav {
    position: sticky;
    top: 0;
    z-index: 15;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: -2px 0 18px;
    padding: 10px;
    border: 1px solid var(--ar-line);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 28px rgba(20,30,40,.06);
    backdrop-filter: blur(8px);
    -webkit-overflow-scrolling: touch;
}

.property-anchor-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 13px;
    background: #f8fafc;
    border: 1px solid #e5ebf1;
    color: #304050;
    text-decoration: none;
    font-weight: 900;
}

.property-anchor-nav a:hover {
    background: #f1f8e9;
    border-color: var(--ar-brand-line);
    color: var(--ar-brand-darker);
}

.property-content-layout {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 24px !important;
}

.property-section {
    padding: 24px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.property-section + .property-section {
    border-top: 1px solid var(--ar-line) !important;
}

.property-section h2 {
    font-size: 21px !important;
    letter-spacing: -.3px;
}

.property-description--lead {
    font-size: 19px;
    color: #24313d;
    font-weight: 600;
}

.property-description {
    font-size: 17px;
}

.property-chip-list--polished .property-chip {
    border-radius: 14px !important;
    padding: 10px 12px !important;
    background: #fbfcfd !important;
    color: #24313d !important;
    border-color: var(--ar-line) !important;
    font-weight: 750;
}

.property-sidebar--polished {
    top: 16px !important;
}

.property-contact-card--primary {
    border-color: var(--ar-brand-line) !important;
    box-shadow: 0 18px 50px rgba(20,30,40,.1) !important;
}

.property-actions-grid--polished {
    gap: 11px !important;
}

.property-button-primary,
.property-button-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border-radius: 15px !important;
    font-size: 16px;
}

.property-button-primary {
    background: var(--ar-brand-dark) !important;
    color: #fff !important;
}

.property-button-secondary {
    background: #f1f8e9 !important;
    border: 1px solid var(--ar-brand-line) !important;
    color: var(--ar-brand-darker) !important;
}

.property-info-list {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.property-info-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 11px;
    border: 1px solid #e5ebf1;
    border-radius: 14px;
    background: #fbfcfd;
}

.property-info-list svg {
    color: var(--ar-brand-dark);
}

.property-public-note {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    border-radius: 16px;
    padding: 14px;
}

.property-public-note p {
    margin: 6px 0 0;
}

.photos-grid--polished {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
}

.photos-grid--polished img {
    height: 170px !important;
    border-radius: 18px !important;
}

.property-map {
    border-radius: 14px !important;
}

@media(max-width: 950px) {
    .property-gallery--polished {
        grid-template-columns: 1fr !important;
    }

    .property-gallery--polished .property-gallery__main {
        height: 380px !important;
        min-height: 0;
    }

    .property-content-layout {
        grid-template-columns: 1fr !important;
    }

    .property-sidebar--polished {
        position: static !important;
    }

    .property-quick-facts--polished {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media(max-width: 620px) {
    .property-hero--polished {
        padding: 18px !important;
        border-radius: 20px !important;
    }

    .property-hero__top {
        display: grid !important;
        gap: 14px;
    }

    .property-hero__actions {
        justify-content: flex-start;
    }

    .property-title {
        font-size: 28px !important;
    }

    .property-location--precise {
        font-size: 18px !important;
        align-items: flex-start;
    }

    .property-gallery--polished .property-gallery__main {
        height: 300px !important;
        border-radius: 18px !important;
    }

    .property-gallery--polished .property-gallery__thumbs {
        display: flex !important;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .property-gallery--polished .property-gallery__thumb {
        flex: 0 0 92px;
        height: 72px !important;
    }

    .property-quick-facts--polished {
        grid-template-columns: 1fr 1fr !important;
    }

    .property-quick-facts--polished .property-fact {
        min-height: 94px;
    }

    .property-section {
        padding: 20px 0 !important;
        border-radius: 0 !important; border: 0 !important; box-shadow: none !important;
    }

    .property-section h2 {
        font-size: 20px !important;
    }

    .property-anchor-nav {
        margin-left: -10px;
        margin-right: -10px;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }
}

/* ===== Consolidado desde ar-property-refinement.css (Fase 2.5 refactor CSS) =====
   Cargaba justo despues de polish; orden/cascada preservados (antes de ar-property-advanced). ===== */
/* Refinamiento final de ficha pública: menos espacio perdido y acabado premium */
.property-public-page--polished {
    max-width: 1240px !important;
}

.property-breadcrumb {
    margin: 0 0 14px !important;
    padding: 2px 0 4px;
    font-size: 14px !important;
}

.property-hero--polished {
    margin-bottom: 14px !important;
    padding: clamp(18px, 2.3vw, 26px) !important;
    border-radius: 24px !important;
}

.property-hero__top {
    gap: 16px !important;
    margin-bottom: 16px !important;
}

.property-title {
    max-width: 850px;
    margin-bottom: 10px !important;
    font-size: clamp(22px, 2.1vw, 28px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    font-weight: 700 !important;
}

.property-location--precise {
    font-size: clamp(18px, 2vw, 22px) !important;
    line-height: 1.25;
}

.property-ref {
    display: inline-flex !important;
    align-items: center;
    min-height: 40px;
    border-radius: 999px !important;
    padding: 0 14px !important;
    font-size: 15px;
}

.property-gallery--polished {
    grid-template-columns: minmax(0, 1fr) 190px !important;
    gap: 10px !important;
}

.property-gallery--polished .property-gallery__main {
    height: min(48vw, 500px) !important;
    min-height: 360px !important;
}

.property-gallery--polished .property-gallery__thumb {
    height: 88px !important;
}

.property-gallery__view-all {
    min-height: 40px;
    padding: 0 14px !important;
}

.property-quick-facts--polished {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 14px !important;
}

.property-quick-facts--polished .property-fact {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon strong" "icon label";
    justify-items: start !important;
    align-content: center !important;
    text-align: left !important;
    gap: 2px 10px !important;
    min-height: 76px !important;
    padding: 12px 14px !important;
}

.property-quick-facts--polished .property-fact svg {
    grid-area: icon;
    align-self: center;
}

.property-quick-facts--polished .property-fact strong {
    grid-area: strong;
    font-size: 20px !important;
    line-height: 1.05;
}

.property-quick-facts--polished .property-fact span {
    grid-area: label;
    font-size: 13px !important;
}

.property-anchor-nav {
    top: 0 !important;
    margin: 0 0 16px !important;
    padding: 8px !important;
    border-radius: 18px !important;
}

.property-anchor-nav a {
    min-height: 36px !important;
    padding: 0 13px !important;
    font-size: 14px;
}

.property-content-layout {
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 20px !important;
}

.property-section {
    margin-bottom: 0 !important;
    padding: clamp(18px, 2.3vw, 24px) 0 !important;
}

.property-section h2 {
    margin-bottom: 12px !important;
    font-size: clamp(19px, 1.7vw, 23px) !important;
    line-height: 1.2;
    font-weight: 700 !important;
}

.property-description--lead {
    margin-top: 0;
    font-size: 18px !important;
}

.property-description {
    font-size: 16px !important;
    line-height: 1.62 !important;
}

/* "Características y servicios": categorías como COLUMNAS verticales (estilo
   periódico, tipo escapadarural). Cada columna = título sobrio + lista simple
   con viñeta discreta (sin chips, sin cajas). Grid responsive por viewport:
   1 (<480) → 2 (480) → 3 (768) → 4 (1024) → 5 (1280+). */
.property-services-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    align-items: start;
}

/* Solo 1 columna en pantallas muy estrechas (<340px). Móvil estándar = 2 col. */
@media (max-width: 339px) {
    .property-services-columns { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
    .property-services-columns { gap: 18px 30px; }
}

@media (min-width: 768px) {
    .property-services-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .property-services-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .property-services-columns { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.property-services-col__title {
    margin: 0 0 9px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--ar-line, #e3e7ec);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--ar-ink, #1f2d3d);
}

.property-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.property-services-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--ar-ink, #1f2d3d);
}

/* Icono SVG fino de cada servicio (siempre visible, todos los dispositivos). */
.property-services-list .property-service-ico {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--ar-brand-dark, #5c8413);
    stroke-width: 1.7;
}

.property-services-list a {
    color: inherit;
    text-decoration: none;
}

.property-services-list a:hover {
    text-decoration: underline;
}

/* Nº de registro de turismo: discreto, al final de la ficha (estilo escapadarural). */
.property-registration {
    margin: 22px 0 4px;
    padding-top: 16px;
    border-top: 1px solid var(--ar-line);
    color: var(--ar-muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.property-contact-card,
.property-owner-login {
    padding: 18px !important;
}

.property-contact-card h2 {
    font-size: 22px !important;
    line-height: 1.12;
}

.property-info-list span {
    min-height: 44px;
    padding: 8px 11px !important;
}

.property-button-primary,
.property-button-secondary {
    min-height: 48px !important;
    border-radius: 14px !important;
}

.property-map {
    height: 330px !important;
}

.photos-grid--polished {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 10px !important;
}

.photos-grid--polished img {
    height: 150px !important;
}

.property-mobile-sticky-actions {
    box-shadow: 0 -16px 44px rgba(20,30,40,.16) !important;
}

.property-mobile-sticky-actions a,
.property-mobile-sticky-actions button {
    box-shadow: 0 6px 16px rgba(20,30,40,.10);
}

@media(max-width: 950px) {
    .property-gallery--polished {
        grid-template-columns: 1fr !important;
    }

    .property-gallery--polished .property-gallery__main {
        height: 390px !important;
        min-height: 0 !important;
    }

    .property-content-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .property-quick-facts--polished {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media(max-width: 760px) {
    body:has(.property-mobile-sticky-actions) {
        padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important;
    }

    .property-public-page {
        margin-top: 0 !important;
    }

    .property-breadcrumb {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin: -2px 0 12px !important;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 14px !important;
        -webkit-overflow-scrolling: touch;
    }

    .property-hero--polished {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    .property-hero__top {
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .property-title {
        max-width: 100%;
        font-size: clamp(21px, 5.6vw, 25px) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.01em !important;
    }

    .property-location--precise {
        font-size: 18px !important;
    }

    .property-hero__actions {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .property-ref {
        min-height: 42px;
        order: 0;
    }

    .property-gallery--polished .property-gallery__main {
        height: 275px !important;
        border-radius: 18px !important;
    }

    .property-gallery__view-all {
        right: 10px;
        bottom: 10px;
        min-height: 36px;
        padding: 0 12px !important;
        font-size: 13px;
    }

    .property-gallery--polished .property-gallery__thumbs {
        gap: 8px !important;
    }

    .property-gallery--polished .property-gallery__thumb {
        flex: 0 0 78px !important;
        height: 62px !important;
        border-radius: 13px !important;
    }

    .property-quick-facts--polished {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .property-quick-facts--polished .property-fact {
        min-height: 68px !important;
        padding: 10px !important;
        gap: 0 8px !important;
    }

    .property-quick-facts--polished .property-fact strong {
        font-size: 17px !important;
    }

    .property-quick-facts--polished .property-fact span {
        font-size: 12px !important;
    }

    .property-anchor-nav {
        position: sticky !important;
        top: 0 !important;
        z-index: 20 !important;
        margin: 10px -14px 14px !important;
        padding: 8px 14px !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        box-shadow: 0 8px 20px rgba(20,30,40,.08) !important;
    }

    .property-anchor-nav a {
        min-height: 38px !important;
        padding: 0 14px !important;
        font-size: 15px;
    }

    .property-section {
        margin-bottom: 0 !important;
        padding: 18px 0 !important;
        border-radius: 0 !important; border: 0 !important; box-shadow: none !important;
    }

    .property-section h2 {
        font-size: 20px !important;
    }

    .property-description,
    .property-description--lead {
        font-size: 16px !important;
    }

    .property-chip-list--polished .property-chip {
        min-height: 38px;
        font-size: 13px !important;
    }

    .property-map {
        height: 280px !important;
    }

    .photos-grid--polished {
        grid-template-columns: 1fr 1fr !important;
    }

    .photos-grid--polished img {
        height: 132px !important;
    }

    .property-mobile-sticky-actions {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 9995 !important;
        gap: 8px !important;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
        background: rgba(255,255,255,.98) !important;
        border-top: 1px solid var(--ar-line) !important;
    }

    .property-mobile-sticky-actions a,
    .property-mobile-sticky-actions button {
        min-height: 54px !important;
        border-radius: 18px !important;
        font-size: clamp(12px, 3.55vw, 15px) !important;
        letter-spacing: -.15px;
    }
}

@media(max-width: 380px) {
    .property-title {
        font-size: 27px !important;
    }

    .property-mobile-sticky-actions {
        gap: 6px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .property-mobile-sticky-actions a,
    .property-mobile-sticky-actions button {
        min-height: 50px !important;
        font-size: 11px !important;
        border-radius: 15px !important;
    }

    .property-mobile-sticky-actions svg {
        width: 15px !important;
        height: 15px !important;
    }
}

/* ====== Limpieza visual ficha (estilo escapadarural) — móvil ====== */
@media (max-width: 950px) {
    /* P2: foto principal a ancho COMPLETO (full-bleed), sin radios. */
    .property-gallery--polished {
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .property-gallery--polished .property-gallery__main,
    .property-gallery--polished .property-gallery__main-image,
    .property-gallery--polished .property-gallery__main-picture {
        border-radius: 0 !important;
    }

    /* P3: secciones planas con gutter lateral consistente (sin caja). */
    .property-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* === Datos clave (quick-facts) PLANOS — autoritativo (Fase 2 ficha) ===
   Barra minimalista con divisores sutiles, sin cajas ni fondos. */
.property-quick-facts--polished {
    gap: 0 !important;
    border-top: 1px solid var(--ar-line) !important;
    border-bottom: 1px solid var(--ar-line) !important;
}

.property-quick-facts--polished .property-fact {
    min-height: 0 !important;
    padding: 12px 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.property-quick-facts--polished .property-fact:not(:last-child) {
    border-right: 1px solid var(--ar-line) !important;
}

@media (max-width: 767px) {
    .property-quick-facts--polished .property-fact {
        border-right: 0 !important;
    }
    .property-quick-facts--polished .property-fact:nth-child(odd) {
        border-right: 1px solid var(--ar-line) !important;
    }
    .property-quick-facts--polished .property-fact:nth-child(n+3) {
        border-top: 1px solid var(--ar-line) !important;
    }
}

/* =====================================================================
   FASE 2 — Ficha: maquetación hero minimalista (orden imagen→título→tipo→
   localidad) + contenido sobre blanco para máximo contraste.
   ===================================================================== */

/* Contraste: el contenido de la ficha va sobre BLANCO (no sobre el gris de
   página), que es lo que perdía contraste al quitar las cajas. */
.property-public-page--polished {
    background: var(--ar-surface) !important;
}

/* Tipo de alojamiento (kicker) con icono, justo bajo el título. */
.property-hero__title-block .property-kicker {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 7px 0 0 !important;
    color: var(--ar-muted) !important;
    font-size: var(--ar-text-sm, 14px) !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.property-hero__title-block .property-kicker .ar-svg-icon {
    width: 16px !important;
    height: 16px !important;
    color: var(--ar-brand-dark) !important;
    flex: 0 0 auto !important;
    stroke-width: 1.8 !important;
}

/* Localidad: fuente menor y muted, bajo el tipo. */
.property-hero__title-block .property-location {
    margin: 6px 0 0 !important;
    color: var(--ar-muted) !important;
    font-size: var(--ar-text-sm, 14px) !important;
    line-height: 1.35 !important;
}

.property-hero__title-block .property-location .ar-svg-icon,
.property-hero__title-block .property-location svg {
    width: 15px !important;
    height: 15px !important;
    color: var(--ar-brand-dark) !important;
}

@media (max-width: 950px) {
    /* IMAGEN primero; debajo título → tipo → localidad. */
    .property-hero--polished {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }

    .property-hero--polished .property-gallery {
        order: -1 !important;
        margin: 0 0 14px !important;
    }

    .property-hero--polished .property-hero__top {
        order: 0 !important;
        margin: 0 !important;
        padding: 4px 16px 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .property-hero--polished .property-hero__actions {
        flex: 0 0 auto !important;
    }

    .property-hero--polished .property-quick-facts {
        order: 1 !important;
        margin: 16px 16px 0 !important;
    }

    .property-title {
        font-size: 24px !important;
        line-height: 1.18 !important;
        margin: 0 !important;
    }
}

/* =====================================================================
   FASE 2 — Ficha P1: breadcrumb limpio, a la IZQUIERDA, espaciado uniforme.
   Sin franja/mask, sin el margin-left:18px heredado de `nav a`.
   ===================================================================== */
.property-breadcrumb {
    background: transparent !important;
    margin: 0 0 12px !important;
    padding: 6px 0 0 !important;
    gap: 6px !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.property-breadcrumb::-webkit-scrollbar { display: none !important; }

.property-breadcrumb a,
.property-breadcrumb span {
    margin: 0 !important;
    flex: 0 0 auto !important;
}

@media (max-width: 950px) {
    .property-breadcrumb {
        padding: 8px 16px 0 !important;
        margin: 0 0 4px !important;
    }
}

/* =====================================================================
   FASE 2 — Ficha P2: favorito SOBRE la imagen (esquina sup. derecha),
   mismo estilo que el corazón de las cards de listado.
   ===================================================================== */
.property-gallery__fav {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--ar-ink);
    box-shadow: 0 2px 8px rgba(20, 30, 40, .18);
    cursor: pointer;
    transition: background var(--ar-transition), transform var(--ar-transition);
}

.property-gallery__fav:hover {
    background: #fff;
    transform: scale(1.05);
}

.property-gallery__fav svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.9;
}

.property-gallery__fav.is-active,
.property-gallery__fav.is-favorite {
    color: var(--ar-brand-dark);
}

.property-gallery__fav.is-active .ar-svg-icon-heart,
.property-gallery__fav.is-favorite .ar-svg-icon-heart {
    fill: var(--ar-brand-dark);
    stroke: var(--ar-brand-dark);
}

/* El favorito se ancla a la galería (sobrevive a la reconstrucción del main). */
.property-gallery--polished { position: relative; }

/* En escritorio, la galería es 2-col (main + thumbs 220px + gap 12). Desplazamos
   el favorito para que quede sobre la esquina sup. derecha del MAIN, no los thumbs. */
@media (min-width: 951px) {
    .property-gallery--polished .property-gallery__fav {
        right: calc(220px + 12px + 12px);
    }
}

/* =====================================================================
   FASE 2 — Ficha P7: nº de registro en la info rápida (sobrio, alineado).
   ===================================================================== */
.property-registry-line {
    margin: 10px 0 0;
    color: var(--ar-muted);
    font-size: var(--ar-text-xs, 13px);
    line-height: 1.4;
}

.property-registry-line strong {
    color: var(--ar-body);
    font-weight: 600;
}

@media (max-width: 950px) {
    .property-registry-line {
        margin: 10px 16px 0;
    }
}

/* =====================================================================
   FASE 2 — Ficha P5: menú de secciones STICKY bajo el header, compacto,
   minimalista (tabs con subrayado). Sin pill/sombra/blur.
   ===================================================================== */
.property-anchor-nav {
    position: sticky !important;
    top: 64px !important;
    z-index: 15 !important;
    display: flex !important;
    gap: 2px !important;
    overflow-x: auto !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ar-line) !important;
    border-radius: 0 !important;
    background: var(--ar-surface) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    scrollbar-width: none !important;
}

.property-anchor-nav::-webkit-scrollbar { display: none !important; }

.property-anchor-nav a {
    flex: 0 0 auto !important;
    padding: 11px 12px !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--ar-muted) !important;
    font-size: var(--ar-text-sm, 14px) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.property-anchor-nav a:hover,
.property-anchor-nav a.is-active {
    color: var(--ar-brand-dark) !important;
    border-bottom-color: var(--ar-brand-dark) !important;
    background: transparent !important;
}

@media (max-width: 950px) {
    .property-anchor-nav { padding: 0 16px !important; }
}

@media (min-width: 1024px) {
    .property-anchor-nav { top: 68px !important; }
}

/* =====================================================================
   FASE 2 — Ficha P6 (2/2): mosaico de fotos bajo la principal (en vez del
   boton "Ver fotos"). Cada foto abre fullscreen. Main sigue con swipe propio.
   ===================================================================== */
.property-gallery--polished .property-gallery__thumbs--grid,
.property-gallery__thumbs--grid {
    display: grid !important;
    gap: 6px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
}

.property-gallery__thumbs--grid .property-gallery__thumb {
    position: relative;
    flex: none !important;
    width: 100% !important;
    cursor: zoom-in;
}

@media (max-width: 950px) {
    .property-gallery--polished .property-gallery__thumbs--grid {
        grid-template-columns: repeat(4, 1fr) !important;
        margin-top: 8px !important;
        padding: 0 16px !important;
    }
    .property-gallery--polished .property-gallery__thumbs--grid .property-gallery__thumb {
        height: 70px !important;
        border-radius: 10px !important;
    }
}

@media (min-width: 951px) {
    .property-gallery--polished .property-gallery__thumbs--grid {
        grid-template-columns: repeat(2, 1fr) !important;
        align-content: start !important;
    }
    .property-gallery--polished .property-gallery__thumbs--grid .property-gallery__thumb {
        height: 92px !important;
    }
}

.property-gallery__thumb-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 30, 40, .55);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: inherit;
    pointer-events: none;
}

/* =====================================================================
   FASE 2 — Ficha: correcciones de feedback.
   ===================================================================== */
/* (a) Hero PLANO de verdad: elimina radius + box-shadow residuales de cuando
   era card (provocaban las "lineas con round" alrededor de los datos). */
.property-hero--polished {
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* (b) "Franja" entre header y breadcrumb: era el hueco vacío de 28px
   (padding-top de .site-main) sobre el que se proyectaba la sombra verde del
   header. En la ficha: fondo blanco + hueco mínimo (breadcrumb pegado al header). */
.site-main:has(.property-public-page--polished) {
    background: var(--ar-surface) !important;
    padding-top: 8px !important;
}

/* (c) Nº de registro DENTRO de la caja de informacion rapida (fila a todo el
   ancho, separada por una linea sutil). */
.property-quick-facts--polished .property-registry-line {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-top: 1px solid var(--ar-line) !important;
    text-align: left !important;
}

/* =====================================================================
   Ficha avanzada (consolidado desde ar-property-advanced.css, refactor
   CSS paso 4). Cargaba justo despues de ar-property.css en property.blade,
   asi que se anexa al final para preservar exactamente el orden de cascada.
   ===================================================================== */
/* Bloque avanzado de ficha: compartir modal, calendario navegable, SEO cercano y tacto móvil */
.property-share-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(12, 22, 16, .46);
    backdrop-filter: blur(6px);
}

.property-share-modal.is-open {
    display: flex;
}

.property-share-modal__dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: min(88vh, 820px);
    overflow: auto;
    border: 1px solid var(--ar-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(10, 20, 30, .28);
    padding: clamp(20px, 3vw, 30px);
}

.property-share-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ar-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ar-ink);
    cursor: pointer;
    transform: rotate(45deg);
}

.property-share-modal__close svg {
    width: 18px;
    height: 18px;
}

.property-share-modal__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-right: 44px;
    margin-bottom: 18px;
}

.property-share-modal__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #f1f8e9;
    color: var(--ar-brand-darker);
}

.property-share-modal__icon svg {
    width: 24px;
    height: 24px;
}

.property-share-modal h2 {
    margin: 0 0 5px !important;
    color: #132515;
    font-size: clamp(28px, 3.5vw, 42px) !important;
    line-height: 1.02;
    letter-spacing: -1px;
}

.property-share-modal p {
    margin: 0;
    color: #657382;
    font-size: 16px;
    line-height: 1.45;
}

.property-share-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.property-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    border: 1px solid var(--ar-line);
    border-radius: 16px;
    padding: 0 16px;
    background: #fff;
    color: var(--ar-ink) !important;
    text-decoration: none !important;
    font-weight: 950;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(20,30,40,.06);
}

.property-share-button:hover {
    transform: translateY(-1px);
    border-color: var(--ar-brand-line);
    background: #fbfff6;
}

.property-share-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.property-share-button__icon svg,
.property-share-button svg {
    width: 20px;
    height: 20px;
}

.property-share-button--whatsapp {
    background: #f1f8e9;
    border-color: var(--ar-brand-line);
    color: var(--ar-brand-darker) !important;
}

.property-share-button--facebook {
    background: #f4f7ff;
    border-color: #d7e1ff;
}

.property-share-button--x {
    background: #f8fafc;
}

.property-share-button--submit {
    width: 100%;
    min-height: 52px;
    background: var(--ar-brand-dark);
    color: #fff !important;
    border-color: var(--ar-brand-dark);
}

.property-share-recommend {
    border: 1px solid var(--ar-line);
    border-radius: 20px;
    overflow: hidden;
    background: #fbfcfd;
}

.property-share-recommend__toggle {
    width: 100%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: transparent;
    color: var(--ar-ink);
    cursor: pointer;
    text-align: left;
}

.property-share-recommend__toggle > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 950;
    font-size: 17px;
}

.property-share-recommend__toggle small {
    color: #657382;
    font-weight: 750;
}

.property-share-recommend__panel {
    border-top: 1px solid var(--ar-line);
    padding: 16px;
    background: #fff;
}

.property-recommend-form {
    display: grid;
    gap: 12px;
}

.property-recommend-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.property-recommend-form p {
    margin: 0;
}

.property-recommend-form label,
.property-recommend-privacy {
    color: var(--ar-ink-soft);
    font-weight: 800;
}

.property-recommend-form input,
.property-recommend-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--ar-line);
    border-radius: 14px;
    padding: 12px 13px;
    font: inherit;
}

.property-recommend-form textarea {
    resize: vertical;
}

.property-recommend-privacy {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 2px 0 4px;
    font-size: 14px;
    line-height: 1.35;
}

.property-recommend-privacy input {
    width: auto;
    margin-top: 4px;
    flex: 0 0 auto;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.form-error {
    color: #b91c1c;
    font-weight: 800;
    display: block;
    margin-top: 4px;
}

.public-calendar-section-head,
.property-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.public-calendar-section-head h2,
.property-section-head h2 {
    margin-bottom: 6px !important;
}

.public-calendar-controls {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.public-calendar-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ar-line);
    border-radius: 14px;
    background: #fff;
    color: var(--ar-ink);
    cursor: pointer;
}

.public-calendar-controls button:hover {
    border-color: var(--ar-brand-line);
    background: #f1f8e9;
}

.public-calendar-shell,
.public-unit-calendar-shell {
    position: relative;
    overflow: hidden;
}

.public-calendar-track,
.public-unit-calendar-track {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, calc(50% - 7px));
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2px 2px 10px;
    -webkit-overflow-scrolling: touch;
}

.public-calendar-track .calendar-box,
.public-unit-calendar-track .calendar-box {
    scroll-snap-align: start;
    min-width: 0;
}

.calendar-box {
    border: 1px solid var(--ar-line) !important;
    border-radius: 18px !important;
    background: #fff;
    padding: 14px !important;
}

.calendar-box h2 {
    font-size: 18px !important;
    margin: 0 0 10px !important;
}

.calendar-day {
    min-height: 34px;
    border-radius: 9px;
}

.property-nearby-section {
    background: linear-gradient(180deg, #fff, #fbfcfd) !important;
}

.property-nearby-head p {
    margin: 0;
    color: #657382;
    font-size: 16px;
    line-height: 1.45;
}

.property-nearby-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.property-nearby-card {
    border: 1px solid var(--ar-line);
    border-radius: 20px;
    background: #fff;
    padding: 18px;
}

.property-nearby-card h3 {
    margin: 0 0 12px;
    color: #132515;
    font-size: 20px;
    line-height: 1.12;
}

.property-nearby-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-nearby-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    border: 1px solid #e1e8ee;
    border-radius: 999px;
    padding: 0 11px;
    background: #fbfcfd;
    color: var(--ar-brand-darker);
    text-decoration: none;
    font-weight: 850;
    font-size: 14px;
}

.property-nearby-links a:hover {
    border-color: var(--ar-brand-line);
    background: #f1f8e9;
}

.property-nearby-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #edf3f8;
    color: #536170;
    font-size: 12px;
}

@media(max-width: 900px) {
    .property-nearby-grid {
        grid-template-columns: 1fr;
    }

    .public-calendar-track,
    .public-unit-calendar-track {
        grid-auto-columns: minmax(274px, 86%);
    }
}

@media(max-width: 760px) {
    .property-share-modal {
        align-items: flex-end;
        padding: 0;
    }

    .property-share-modal__dialog {
        width: 100%;
        max-height: 88vh;
        border-radius: 24px 24px 0 0;
        border-bottom: 0;
        padding: 20px 16px calc(18px + env(safe-area-inset-bottom));
    }

    .property-share-modal__head {
        padding-right: 42px;
    }

    .property-share-grid {
        grid-template-columns: 1fr;
    }

    .property-share-button {
        min-height: 52px;
        font-size: 16px;
    }

    .property-share-recommend__toggle {
        display: grid;
    }

    .property-recommend-grid {
        grid-template-columns: 1fr;
    }

    .public-calendar-section-head,
    .property-section-head {
        display: grid;
    }

    .public-calendar-controls {
        justify-content: flex-start;
    }

    .public-calendar-track,
    .public-unit-calendar-track {
        grid-auto-columns: minmax(268px, 92%);
        gap: 10px !important;
        margin-right: -16px;
    }

    .calendar-day {
        min-height: 38px;
        font-size: 15px;
    }

    .property-nearby-card {
        padding: 16px;
    }
}

/* AR_HIDE_PROPERTY_BOTTOM_ACTIONS_DESKTOP_START */
@media (min-width: 901px) {
    .property-mobile-sticky-actions,
    .mobile-sticky-actions,
    .property-sticky-actions,
    .property-bottom-actions,
    .property-action-dock,
    .property-floating-actions,
    .property-mobile-bottom-bar,
    .property-contact-sticky,
    .property-quick-actions--mobile,
    [data-mobile-sticky-actions],
    [data-property-mobile-actions] {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }
}
/* AR_HIDE_PROPERTY_BOTTOM_ACTIONS_DESKTOP_END */


/* ===== Identidad v2 (ficha) — fusionado desde ar-property-v2.css ===== */
/* =====================================================================
   Identidad v2 — FICHA (Fase C). Scopeado a html.ar-v2 + clases .property-*
   (únicas de la ficha). Tokens --ui-*. Blanco, sobrio, neutro, verde SOLO
   acento. No toca la cabecera global (Fase F). La galería/contador se mantienen.
   ===================================================================== */

/* ---- Contenedor con MÁRGENES consistentes en todos los anchos ------ */
html.ar-v2 .property-public-page {
    max-width: calc(var(--ui-container) + var(--ui-gutter) * 2) !important;
    margin-inline: auto !important;
    padding-inline: var(--ui-gutter) !important;
    box-sizing: border-box;
    /* OJO: nada de overflow aquí. overflow-x:clip/hidden convierte este
       contenedor en contexto de scroll y hace VIBRAR el menú sticky. */
}
/* Galería CONTENIDA: comparte el mismo margen lateral que el resto del contenido
   (título, secciones), para que todo quede alineado. Clip anti-overflow propio. */
html.ar-v2 .property-gallery {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    overflow: hidden;
}
/* Móvil: la galería del hero a ANCHO COMPLETO (sin márgenes laterales).
   El título sigue alineado (su margen lo da .property-hero__top, no la galería). */
@media (max-width: 767px) {
    html.ar-v2 .property-gallery {
        margin-left: calc(var(--ui-gutter) * -1) !important;
        margin-right: calc(var(--ui-gutter) * -1) !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
    }
    /* Marco de altura DEFINIDA (3:2 sobre el ancho completo). Importante: usar
       height en lugar de aspect-ratio, para que el height:100% de viewport/track/
       slide/img RESUELVA y todas las fotos llenen el marco igual (recortadas y
       centradas), sin saltos de altura entre pases. */
    html.ar-v2 .property-gallery__main {
        height: calc(100vw * 2 / 3) !important;
        aspect-ratio: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
    }
    html.ar-v2 .property-gallery__main .ar-property-drag-viewport,
    html.ar-v2 .property-gallery__main .ar-property-drag-track,
    html.ar-v2 .property-gallery__main .ar-property-drag-slide {
        height: calc(100vw * 2 / 3) !important;
    }
    /* Altura EXPLÍCITA en la imagen (no %): garantiza el mismo marco para todas,
       recortadas (cover) y centradas, incluidas las verticales. */
    html.ar-v2 .property-gallery__main .ar-property-drag-img {
        width: 100% !important;
        height: calc(100vw * 2 / 3) !important;
        min-height: 0 !important; max-height: none !important;
        object-fit: cover !important; object-position: center center !important;
    }
}

/* ---- Cabecera: alinear el contenido con el resto (sin padding extra) - */
html.ar-v2 .property-hero,
html.ar-v2 .property-hero--polished,
html.ar-v2 .property-hero__top {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ---- Título + registro --------------------------------------------- */
html.ar-v2 .property-title {
    font-size: var(--ui-text-3xl, 28px) !important;
    font-weight: var(--ui-w-bold) !important;
    color: var(--ui-text-strong) !important;
    letter-spacing: var(--ui-tracking-tight) !important;
    line-height: var(--ui-leading-tight) !important;
}
html.ar-v2 .property-registry-line,
html.ar-v2 .property-ref { color: var(--ui-text-muted) !important; font-size: var(--ui-text-sm) !important; }

/* ---- Cabecera: features e importe IGUAL que la card del listado ----- */
html.ar-v2 .property-hero-meta {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: var(--ui-space-3) var(--ui-space-6);
    margin-top: var(--ui-space-4) !important;
}
html.ar-v2 .property-hero-features { display: flex; flex-wrap: wrap; gap: var(--ui-space-2) var(--ui-space-5); }
html.ar-v2 .property-hero-features span {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: var(--ui-text-sm) !important; color: var(--ui-text-soft) !important;
    border: 0 !important; background: transparent !important; padding: 0 !important;
}
html.ar-v2 .property-hero-features svg { color: var(--ui-text-muted) !important; width: 16px !important; height: 16px !important; flex: none; }
html.ar-v2 .property-hero-price { display: inline-flex; align-items: baseline; gap: 6px; }
html.ar-v2 .property-hero-price strong { font-size: var(--ui-text-xl) !important; font-weight: var(--ui-w-bold) !important; color: var(--ui-text-strong) !important; line-height: 1; }
html.ar-v2 .property-hero-price small { font-size: var(--ui-text-sm) !important; font-weight: var(--ui-w-regular) !important; color: var(--ui-text-muted) !important; }
/* Móvil: features en 2 columnas (como los listados) y precio debajo */
@media (max-width: 600px) {
    html.ar-v2 .property-hero-meta { flex-direction: column; align-items: stretch; gap: var(--ui-space-3); }
    html.ar-v2 .property-hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ui-space-2) var(--ui-space-4); }
}

/* ---- Breadcrumb sobrio (como en el listado) ------------------------ */
/* IDÉNTICO al breadcrumb del listado (.ar-breadcrumb): 15px, enlaces peso 500
   color text-soft, separadores muted, margen inferior space-5. */
html.ar-v2 .property-breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px !important;
    font-size: var(--ui-text-base) !important; color: var(--ui-text-muted) !important;
    background: transparent !important; border: 0 !important;
    padding: 0 !important; margin: 24px 0 18px !important;
}
html.ar-v2 .property-breadcrumb a {
    color: var(--ui-text-soft) !important;
    text-decoration: none !important;
    font-weight: var(--ui-w-medium) !important;
}
html.ar-v2 .property-breadcrumb a:hover { color: var(--ui-accent) !important; }
html.ar-v2 .property-breadcrumb span { color: var(--ui-text-muted) !important; font-weight: var(--ui-w-regular) !important; }
/* Móvil: breadcrumb con aire arriba y abajo (centrado entre cabecera e imagen). */
@media (max-width: 767px) {
    html.ar-v2 .property-breadcrumb { margin-top: 14px !important; margin-bottom: 14px !important; }
}

/* ====================================================================
   MENÚ INTERNO (anclas) — reconstruido: sticky bajo la cabecera, scroll
   horizontal en móvil, ítem activo en verde (scrollspy por JS).
   ==================================================================== */
html.ar-v2 .property-anchor-nav {
    display: flex !important; flex-wrap: nowrap !important; align-items: stretch;
    gap: var(--ui-space-2) !important;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; -ms-overflow-style: none;
    background: #fff !important;
    border: 0 !important;                      /* sin línea inferior */
    box-shadow: 0 6px 16px -10px rgba(16, 24, 32, .35) !important;  /* flota como un menú */
    padding: 0 !important;
    margin: var(--ui-space-7) 0 var(--ui-space-7) !important;       /* más aire arriba y abajo */
    /* top 1px por debajo de la altura de la cabecera para que quede a ras (sin hueco).
       z-index alto para quedar por encima del mapa Leaflet (panes z-index ~400). */
    position: sticky !important; top: 63px !important; z-index: 1000 !important;
}
/* Confinar el mapa Leaflet en su propio contexto de apilado para que sus capas
   (z-index 200-700) no tapen el menú sticky al desplazarse. */
html.ar-v2 .leaflet-container { z-index: 0 !important; }
html.ar-v2 .property-anchor-nav::-webkit-scrollbar { display: none !important; }
/* Móvil: el menú va a sangre completa (sin márgenes laterales), con padding
   interno para que los enlaces no toquen el borde. */
@media (max-width: 767px) {
    html.ar-v2 .property-anchor-nav {
        margin-left: calc(var(--ui-gutter) * -1) !important;
        margin-right: calc(var(--ui-gutter) * -1) !important;
        padding-left: var(--ui-gutter) !important;
        padding-right: var(--ui-gutter) !important;
        margin-top: var(--ui-space-6) !important;
    }
}
html.ar-v2 .property-anchor-nav a {
    flex: 0 0 auto; white-space: nowrap;
    display: inline-flex; align-items: center;
    margin: 0 !important;                       /* anula el margin-left:18px legacy de "nav a" */
    color: var(--ui-text-soft) !important;
    font-weight: var(--ui-w-medium) !important;
    font-size: var(--ui-text-base) !important;
    border: 0 !important; background: transparent !important;
    padding: var(--ui-space-3) var(--ui-space-3) !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: color var(--ui-transition);
}
/* Primer enlace alineado con el contenido (sin sangría a la izquierda). */
html.ar-v2 .property-anchor-nav a:first-child { padding-left: 0 !important; }
html.ar-v2 .property-anchor-nav a:hover { color: var(--ui-text-strong) !important; }
html.ar-v2 .property-anchor-nav a.is-active,
html.ar-v2 .property-anchor-nav a[aria-current="true"] {
    color: var(--ui-accent) !important;
    border-bottom-color: var(--ui-accent) !important;
}
@media (min-width: 1024px) { html.ar-v2 .property-anchor-nav { top: 68px !important; } }

/* Escritorio: menú de anclas a ANCHO COMPLETO (como la cabecera) con los enlaces alineados
   al contenido; y sidebar con aire arriba + sticky por debajo del menú (no se va al hacer scroll). */
@media (min-width: 1024px) {
    html.ar-v2 .property-anchor-nav {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: max(var(--ui-gutter), calc(50vw - var(--ui-container) / 2)) !important;
        padding-right: max(var(--ui-gutter), calc(50vw - var(--ui-container) / 2)) !important;
    }
    html.ar-v2 .property-content-layout {
        align-items: start;
        margin-top: var(--ui-space-6);
    }
    html.ar-v2 .property-sidebar,
    html.ar-v2 .property-sidebar--polished {
        position: sticky;
        top: 128px !important;
        align-self: start;
    }
}

/* Offset de scroll al saltar a anclas (cabecera fija + nav sticky) */
html.ar-v2 .property-section,
html.ar-v2 [id="ofertas"], html.ar-v2 [id="descripcion"], html.ar-v2 [id="servicios"],
html.ar-v2 [id="unidades-precios"], html.ar-v2 [id="video"], html.ar-v2 [id="fotos"],
html.ar-v2 [id="ubicacion"], html.ar-v2 [id="reserva-online"], html.ar-v2 [id="solicitud"] {
    scroll-margin-top: 124px;
}
@media (min-width: 1024px) {
    html.ar-v2 .property-section,
    html.ar-v2 [id="ofertas"], html.ar-v2 [id="descripcion"], html.ar-v2 [id="servicios"],
    html.ar-v2 [id="unidades-precios"], html.ar-v2 [id="video"], html.ar-v2 [id="fotos"],
    html.ar-v2 [id="ubicacion"], html.ar-v2 [id="reserva-online"], html.ar-v2 [id="solicitud"] {
        scroll-margin-top: 130px;
    }
}

/* ---- Secciones ----------------------------------------------------- */
html.ar-v2 .property-section {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: var(--ui-space-8) 0 !important;
    position: relative;
}
/* Separación entre secciones SOLO por espacio (sin línea): más limpio y
   minimalista. Un pelín más de aire para que el ritmo quede claro. */
html.ar-v2 .property-public-page main > .property-section + .property-section,
html.ar-v2 .property-public-page main > .property-section--highlight + .property-section {
    padding-top: var(--ui-space-10) !important;
}
/* Ofertas: SIN caja gris; sección normal con los mismos márgenes que el resto. */
html.ar-v2 .property-section--highlight {
    background: transparent !important;
    border-radius: 0 !important;
    border-top: 0 !important;
    padding: var(--ui-space-8) 0 !important;
}
/* La PRIMERA sección (justo bajo el menú) sin línea superior, para que no quede
   una raya debajo del menú cuando no hay ofertas. */
html.ar-v2 .property-public-page main > .property-section:first-child {
    border-top: 0 !important;
    padding-top: 0 !important;
}
html.ar-v2 .property-section h2,
html.ar-v2 .property-section-head h2,
html.ar-v2 .property-section > h2 {
    font-size: var(--ui-text-2xl) !important;
    font-weight: var(--ui-w-semi) !important;
    color: var(--ui-text-strong) !important;
    letter-spacing: var(--ui-tracking-tight) !important;
}

/* ====================================================================
   OFERTAS — rediseño completo (card horizontal sobria)
   ==================================================================== */
html.ar-v2 .offer-card {
    display: flex !important; gap: 0;
    background: #fff !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: var(--ui-radius-lg) !important;
    box-shadow: none !important;
    overflow: hidden !important;
    padding: 0 !important;
    transition: border-color var(--ui-transition), box-shadow var(--ui-transition);
}
html.ar-v2 .offer-card + .offer-card { margin-top: var(--ui-space-4); }
html.ar-v2 .offer-card:hover { border-color: var(--ui-border-strong) !important; box-shadow: 0 4px 16px rgba(16, 24, 32, .10) !important; }

html.ar-v2 .offer-card__media { flex: 0 0 200px; align-self: stretch; background: var(--ui-bg-subtle); }
html.ar-v2 .offer-card__media img { width: 100% !important; height: 100% !important; min-height: 150px; object-fit: cover !important; display: block; }

html.ar-v2 .offer-card__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--ui-space-2); padding: var(--ui-space-4) var(--ui-space-5) !important; }
html.ar-v2 .offer-card__title { margin: 0 !important; font-size: var(--ui-text-md) !important; font-weight: var(--ui-w-semi) !important; color: var(--ui-text-strong) !important; line-height: var(--ui-leading-tight); }

html.ar-v2 .offer-card__meta { margin: 0 !important; display: inline-flex; align-items: center; gap: 6px; color: var(--ui-text-muted) !important; font-size: var(--ui-text-sm) !important; }
html.ar-v2 .offer-card__meta svg { width: 15px; height: 15px; color: var(--ui-text-muted) !important; flex: none; }

html.ar-v2 .offer-card__price { margin: 2px 0 !important; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: var(--ui-space-2); }
html.ar-v2 .offer-card__tag {
    align-self: center;
    background: var(--ui-accent-soft) !important; color: var(--ui-accent-strong) !important;
    font-size: var(--ui-text-xs) !important; font-weight: var(--ui-w-semi) !important;
    padding: 2px 9px !important; border-radius: var(--ui-radius-pill) !important;
    text-transform: uppercase; letter-spacing: .4px;
}
html.ar-v2 .offer-card__price strong { font-size: var(--ui-text-xl) !important; font-weight: var(--ui-w-bold) !important; color: var(--ui-text-strong) !important; line-height: 1; }
html.ar-v2 .offer-card__price s { color: var(--ui-text-muted) !important; font-size: var(--ui-text-sm) !important; }

html.ar-v2 .offer-card__desc { margin: 0 !important; color: var(--ui-text-soft) !important; font-size: var(--ui-text-sm) !important; line-height: var(--ui-leading-snug); }

@media (max-width: 600px) {
    html.ar-v2 .offer-card { flex-direction: column !important; }
    html.ar-v2 .offer-card__media { flex: 0 0 auto; aspect-ratio: 16 / 9; }
    html.ar-v2 .offer-card__media img { min-height: 0; }
}

/* ---- Descripción --------------------------------------------------- */
html.ar-v2 .property-description {
    color: var(--ui-text) !important;
    font-size: var(--ui-text-base) !important;
    line-height: var(--ui-leading-relaxed) !important;
}
html.ar-v2 .property-description p { margin: 0 0 var(--ui-space-4) !important; }

/* ---- Servicios (características) ------------------------------------ */
html.ar-v2 .property-services-col__title { color: var(--ui-text-strong) !important; font-weight: var(--ui-w-semi) !important; font-size: var(--ui-text-md) !important; }
html.ar-v2 .property-services-list li,
html.ar-v2 .property-services-list a { color: var(--ui-text) !important; font-size: var(--ui-text-base) !important; }
html.ar-v2 .property-service-ico,
html.ar-v2 .property-services-list svg { color: var(--ui-accent) !important; }

/* =====================================================================
   Sidebar de contacto
   ===================================================================== */
html.ar-v2 .property-contact-card,
html.ar-v2 .property-sidebar > * {
    background: #fff !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: var(--ui-radius-lg) !important;
    box-shadow: none !important;
}
html.ar-v2 .property-contact-card--primary {
    background: var(--ui-accent-soft) !important;   /* resalta el bloque principal de contacto */
    border-color: transparent !important;
}
html.ar-v2 .property-contact-card h2,
html.ar-v2 .property-contact-card h3 { color: var(--ui-text-strong) !important; font-weight: var(--ui-w-semi) !important; }
html.ar-v2 .property-contact-card p { color: var(--ui-text-soft) !important; }

/* Lista "Información rápida": una línea por dato, icono acento, valor en negro */
html.ar-v2 .property-info-list { display: flex; flex-direction: column; gap: var(--ui-space-2) !important; }
html.ar-v2 .property-info-list span {
    display: flex; align-items: center; gap: var(--ui-space-2);
    font-size: var(--ui-text-base) !important; color: var(--ui-text-soft) !important;
    padding: var(--ui-space-1) 0; border: 0 !important;
}
html.ar-v2 .property-info-list span strong { color: var(--ui-text-strong) !important; font-weight: var(--ui-w-semi) !important; }
html.ar-v2 .property-info-list svg { color: var(--ui-accent) !important; width: 18px !important; height: 18px !important; flex: none; }

/* Botones de contacto */
html.ar-v2 .property-button-primary {
    background: var(--ui-accent) !important;
    border: 0 !important;
    color: var(--ui-on-accent) !important;
    border-radius: var(--ui-radius) !important;
    font-weight: var(--ui-w-semi) !important;
    box-shadow: none !important;
}
html.ar-v2 .property-button-primary:hover { background: var(--ui-accent-strong) !important; }
html.ar-v2 .property-button-secondary {
    background: #fff !important;
    border: 1px solid var(--ui-border-strong) !important;
    color: var(--ui-text-strong) !important;
    border-radius: var(--ui-radius) !important;
    font-weight: var(--ui-w-medium) !important;
    box-shadow: none !important;
}
html.ar-v2 .property-button-secondary:hover { border-color: var(--ui-accent) !important; color: var(--ui-accent) !important; }

/* =====================================================================
   Cards de "otras casas" cercanas (mismo patrón v2 del listado)
   ===================================================================== */
html.ar-v2 .property-nearby-card {
    background: #fff !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: var(--ui-radius-lg) !important;
    box-shadow: none !important;
    overflow: hidden;
    transition: border-color var(--ui-transition), box-shadow var(--ui-transition);
}
html.ar-v2 .property-nearby-card:hover { border-color: var(--ui-border-strong) !important; box-shadow: 0 4px 16px rgba(16,24,32,.12) !important; transform: none !important; }
html.ar-v2 .property-nearby-links a { color: var(--ui-accent) !important; text-decoration: none; }
html.ar-v2 .property-nearby-links a:hover { color: var(--ui-accent-strong) !important; text-decoration: underline; }

/* ===== Perfil del propietario en la ficha (estilo anfitrión) ===== */
html.ar-v2 .property-owner-profile .owner-profile-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
html.ar-v2 .owner-profile-card__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 1px solid var(--ui-border);
}
html.ar-v2 .owner-profile-card__photo--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 800;
    color: var(--ui-accent-strong, #5c8413);
    background: var(--ui-accent-soft, #f1f8e3);
}
html.ar-v2 .owner-profile-card__name {
    display: block;
    font-size: 1.1rem;
    color: var(--ui-text-strong);
    margin-bottom: 6px;
}
html.ar-v2 .owner-profile-card__bio {
    margin: 0;
    color: var(--ui-text);
    line-height: 1.6;
    white-space: pre-line;
}
@media (max-width: 560px) {
    html.ar-v2 .owner-profile-card__photo { width: 74px; height: 74px; font-size: 30px; }
}

/* ============================================================
   Navegación Anterior / Siguiente entre fichas de alojamiento
   ============================================================ */
.property-neighbors { font-family: inherit; }
.property-neighbors__btn { text-decoration: none; color: var(--ar-ink, #25313d); margin: 0; }
.property-neighbors__arrow { color: var(--ar-brand-dark, #5c8413); font-weight: 900; line-height: 1; flex: 0 0 auto; }
.property-neighbors__label { font-size: 11px; color: var(--ar-muted, #6b7280); text-transform: uppercase; letter-spacing: .03em; }
.property-neighbors__title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.property-neighbors__meta { display: flex; flex-direction: column; min-width: 0; }

/* ---- Pantallas anchas (≥1320: hay hueco lateral sobre el contenido de 1200px): flechas flotantes
       como CÍRCULOS (40px). Al pasar el ratón aparece el NOMBRE en una etiqueta (tooltip) junto al
       círculo; puede solaparse con el contenido porque es transitoria (solo durante el hover). ---- */
@media (min-width: 1320px) {
    .property-neighbors {
        position: fixed; inset: 50% 0 auto 0; transform: translateY(-50%);
        z-index: 40; display: flex; justify-content: space-between;
        padding: 0 12px; pointer-events: none;
    }
    .property-neighbors__btn {
        pointer-events: auto; position: relative;
        width: 40px; height: 40px; flex: 0 0 auto; padding: 0;
        display: inline-flex; align-items: center; justify-content: center;
        background: #fff; border: 1px solid var(--ar-line, #d9ddd2); border-radius: 50%;
        box-shadow: 0 6px 18px rgba(20, 30, 40, .16);
        transition: box-shadow .2s ease, transform .18s ease;
    }
    .property-neighbors__btn:hover { box-shadow: 0 10px 24px rgba(20, 30, 40, .24); transform: scale(1.06); }
    .property-neighbors__arrow { font-size: 22px; }

    /* Etiqueta (tooltip) con el nombre, junto al círculo, visible solo al hover. */
    .property-neighbors__meta {
        display: flex; flex-direction: column; min-width: 0;
        position: absolute; top: 50%; transform: translateY(-50%);
        background: #fff; border: 1px solid var(--ar-line, #d9ddd2); border-radius: 10px;
        box-shadow: 0 8px 22px rgba(20, 30, 40, .16);
        padding: 6px 10px; max-width: 0; overflow: hidden; opacity: 0;
        pointer-events: none; white-space: nowrap;
        transition: max-width .22s ease, opacity .18s ease;
    }
    .property-neighbors__btn--prev .property-neighbors__meta { left: calc(100% + 8px); align-items: flex-start; }
    .property-neighbors__btn--next .property-neighbors__meta { right: calc(100% + 8px); align-items: flex-end; text-align: right; }
    .property-neighbors__btn:hover .property-neighbors__meta { max-width: 240px; opacity: 1; }
    .property-neighbors__title { font-size: 14px; }
    .property-neighbors__btn.is-empty { display: none; }
}

/* ---- Hasta 1319 (móvil, tablet y escritorios estrechos donde no cabe la flecha lateral sin tapar):
       bloque "Anterior / Siguiente" al final de la ficha. ---- */
@media (max-width: 1319px) {
    .property-neighbors {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
        max-width: 1200px; margin: 24px auto 0; padding: 0 14px;
    }
    .property-neighbors__btn {
        display: flex; align-items: center; gap: 8px;
        background: #fff; border: 1px solid var(--ar-line, #d9ddd2); border-radius: 14px;
        padding: 12px; box-shadow: 0 1px 2px rgba(20, 30, 40, .05);
    }
    .property-neighbors__btn--next { justify-content: flex-end; text-align: right; }
    .property-neighbors__btn--next .property-neighbors__meta { align-items: flex-end; }
    .property-neighbors__arrow { font-size: 20px; }
    .property-neighbors__title { font-size: 13px; max-width: 38vw; }
    .property-neighbors__btn.is-empty { visibility: hidden; }
}

/* En móvil deja sitio bajo el bloque para la barra sticky de Fechas/Reservar. */
@media (max-width: 900px) {
    .property-neighbors { margin-bottom: 96px; }
}
