/*
 * AlojamientosRurales - Home
 * CSS único y específico de la portada pública.
 */

.ar-home-release {
    gap: 26px !important;
}

/* Hero / buscador */
.ar-public-shell.ar-home-release > .ar-home-hero,
.ar-home-release .ar-home-hero {
    position: relative !important;
    isolation: isolate !important;
    display: block !important;
    margin: 0 !important;
    padding: clamp(44px, 5vw, 68px) 0 clamp(52px, 5.4vw, 76px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.ar-public-shell.ar-home-release > .ar-home-hero::before,
.ar-home-release .ar-home-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    left: 50% !important;
    top: -34px !important;
    bottom: 0 !important;
    width: 100vw !important;
    transform: translateX(-50%) !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(var(--ar-brand-bright-rgb), .24), transparent 36%),
        radial-gradient(circle at 94% 6%, rgba(var(--ar-brand-rgb), .16), transparent 40%),
        linear-gradient(180deg, #edf7e6 0%, #f5faf0 46%, rgba(248, 251, 245, 0) 100%) !important;
    pointer-events: none !important;
}

.ar-public-shell.ar-home-release > .ar-home-hero::after,
.ar-home-release .ar-home-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    left: 50% !important;
    top: -34px !important;
    width: 100vw !important;
    height: 1px !important;
    transform: translateX(-50%) !important;
    background: rgba(190, 214, 176, .62) !important;
    pointer-events: none !important;
}

.ar-home-release .ar-home-hero__content {
    width: min(650px, 100%) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
}

.ar-home-release .ar-home-hero h1 {
    display: block !important;
    max-width: none !important;
    margin: 0 0 13px !important;
    color: var(--ar-ink) !important;
    font-size: clamp(25px, 2.5vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
    white-space: nowrap !important;
    text-shadow: none !important;
}

.ar-home-release .ar-home-hero h1::after {
    content: "" !important;
    display: block !important;
    width: 58px !important;
    height: 4px !important;
    margin-top: 12px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, var(--ar-brand-dark), var(--ar-brand-bright)) !important;
}

.ar-home-release .ar-home-main-search,
.ar-home-release .ar-home-main-search__row {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.ar-home-release .ar-home-main-search__row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 246px 118px !important;
    gap: 10px !important;
    align-items: stretch !important;
}

.ar-home-release .ar-search-input-wrap,
.ar-home-release .ar-home-persons-control,
.ar-home-release .ar-home-primary-button {
    height: 52px !important;
    min-height: 52px !important;
    border-radius: var(--ar-control-radius) !important;
}

.ar-home-release .ar-search-input-wrap,
.ar-home-release .ar-home-persons-control {
    border: 1px solid #d1dde5 !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 10px 24px rgba(20, 30, 40, .06) !important;
}

.ar-home-release .ar-search-input-wrap {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    align-items: center !important;
}

.ar-home-release .ar-search-icon {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 100% !important;
    color: var(--ar-muted-2) !important;
    transform: none !important;
    pointer-events: none !important;
}

/* Lupa al mismo tamaño que el icono de "Personas" (coherencia del buscador). */
.ar-home-release .ar-search-icon svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
    flex: 0 0 auto !important;
}

.ar-home-release .ar-search-input-wrap::after {
    display: none !important;
    content: none !important;
}

.ar-home-release .ar-home-main-search__row .ar-search-input {
    grid-column: 2 !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 14px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--ar-ink) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-align: left !important;
    box-shadow: none !important;
}

.ar-home-release .ar-home-main-search__row .ar-search-input::placeholder {
    color: var(--ar-muted-2) !important;
    font-weight: 400 !important;
    text-align: left !important;
}

.ar-home-release .ar-home-main-search__row .ar-suggest-box {
    grid-column: 1 / -1 !important;
}

.ar-home-release .ar-home-persons-control {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 10px 0 12px !important;
    overflow: hidden !important;
}

.ar-home-release .ar-home-persons-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.ar-home-release .ar-home-persons-label svg {
    width: 19px !important;
    height: 19px !important;
    flex: 0 0 auto !important;
    fill: #9aa4af !important;
}

.ar-home-release .ar-home-persons-label strong {
    color: var(--ar-ink-soft) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.ar-home-release .ar-home-persons-counter {
    display: inline-grid !important;
    grid-template-columns: 30px 44px 30px !important;
    align-items: center !important;
    justify-content: end !important;
    gap: 4px !important;
}

.ar-home-release .ar-home-persons-counter output {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    color: var(--ar-ink-soft) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;
}

.ar-home-release .ar-home-persons-step,
.ar-home-release .ar-home-main-search__row .ar-home-persons-step,
.ar-home-release .ar-home-persons-control .ar-home-persons-step,
.ar-home-release .ar-home-persons-counter .ar-home-persons-step {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #f4f6f5 !important;
    color: #425164 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.ar-home-release .ar-home-persons-step:hover,
.ar-home-release .ar-home-persons-step:focus-visible {
    background: var(--ar-brand-soft-2) !important;
    color: var(--ar-brand-darker) !important;
}

.ar-home-release .ar-home-primary-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: linear-gradient(180deg, var(--ar-brand-dark) 0%, var(--ar-brand-darker) 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    text-align: center !important;
    box-shadow: 0 14px 28px rgba(var(--ar-brand-rgb), .26) !important;
    touch-action: manipulation !important;
}

.ar-home-release .ar-home-primary-button:hover,
.ar-home-release .ar-home-primary-button:focus-visible {
    background: linear-gradient(180deg, var(--ar-brand-darker) 0%, var(--ar-brand-darker) 100%) !important;
    color: #fff !important;
}

/* Secciones: filosofía abierta, sin cajas envolventes */
.ar-home-release .ar-home-section {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.ar-home-release .ar-home-section__head {
    display: block !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.ar-home-release .ar-home-section__head h2,
.ar-home-release .ar-home-info-card h2 {
    margin: 0 !important;
    color: var(--ar-ink) !important;
    font-size: clamp(19px, 1.7vw, 23px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.02em !important;
    font-weight: 700 !important;
}

.ar-home-release .ar-home-section__head p,
.ar-home-release .ar-home-info-card p {
    margin: 8px 0 0 !important;
    color: var(--ar-muted) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.ar-home-release .ar-home-section-link {
    display: none !important;
}

.ar-home-release .ar-home-big-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid var(--ar-line) !important;
    border-radius: 999px !important;
    color: var(--ar-brand-darker) !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}

/* Cards de alojamientos en Home: mismo lenguaje visual que listados, proporción de portada */
.ar-home-release .ar-home-card-list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.ar-home-release .ar-home-card-list--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.ar-home-release .ar-home-card-list .ar-list-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    border: 1px solid #dfe7ed !important;
    border-radius: 20px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-shadow: 0 10px 26px rgba(20, 30, 40, .06) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.ar-home-release .ar-home-card-list .ar-list-card:hover {
    transform: translateY(-2px) !important;
    border-color: var(--ar-brand-line) !important;
    box-shadow: 0 16px 36px rgba(20, 30, 40, .09) !important;
}

.ar-home-release .ar-home-card-list .ar-card-photo-wrap {
    position: relative !important;
    overflow: hidden !important;
    background: #eef3ea !important;
}

.ar-home-release .ar-home-card-list .ar-card-photo,
.ar-home-release .ar-home-card-list .ar-card-photo img,
.ar-home-release .ar-home-card-list .ar-card-slider-viewport,
.ar-home-release .ar-home-card-list .ar-card-slider-track,
.ar-home-release .ar-home-card-list .ar-card-slider-slide {
    min-height: 0 !important;
    height: 188px !important;
}

.ar-home-release .ar-home-card-list .ar-card-photo {
    border-radius: 0 !important;
}

.ar-home-release .ar-home-card-list .ar-card-slider-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
}

.ar-home-release .ar-home-card-list .ar-card-photo-wrap > .ar-fav-button {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 12 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
}

.ar-home-release .ar-home-card-list .ar-card-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 15px !important;
}

.ar-home-release .ar-home-card-list .ar-card-heading {
    padding-right: 0 !important;
}

.ar-home-release .ar-home-card-list .ar-card-title {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--ar-ink) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    letter-spacing: -.35px !important;
    text-decoration: none !important;
}

.ar-home-release .ar-home-card-list .ar-card-location {
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin: 7px 0 0 !important;
    color: #566474 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}

.ar-home-release .ar-home-card-list .ar-card-location svg {
    flex: 0 0 auto !important;
    width: 15px !important;
    height: 15px !important;
    margin-top: 1px !important;
    color: var(--ar-brand-dark) !important;
}

.ar-home-release .ar-home-card-list .ar-card-location__short {
    display: none !important;
}

.ar-home-release .ar-home-card-list .ar-card-description {
    display: -webkit-box !important;
    max-height: 42px !important;
    margin: 10px 0 0 !important;
    overflow: hidden !important;
    color: #5f6d7c !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ar-home-release .ar-home-card-list .ar-card-features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 12px 0 0 !important;
}

.ar-home-release .ar-home-card-list .ar-card-features span,
.ar-home-release .ar-home-card-list .ar-card-badges span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 27px !important;
    padding: 0 8px !important;
    border: 1px solid #e5ebf1 !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    color: var(--ar-ink-soft) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.ar-home-release .ar-home-card-list .ar-card-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 10px !important;
}

.ar-home-release .ar-home-card-list .ar-card-badges span.green {
    background: var(--ar-brand-soft) !important;
    border-color: var(--ar-brand-line) !important;
    color: var(--ar-brand-darker) !important;
}

.ar-home-release .ar-home-card-list .ar-card-bottom {
    display: block !important;
    margin-top: auto !important;
    padding-top: 14px !important;
}

.ar-home-release .ar-home-card-list .ar-card-price--inline {
    position: static !important;
    display: block !important;
    margin: 0 !important;
    color: var(--ar-muted) !important;
    text-align: left !important;
}

.ar-home-release .ar-home-card-list .ar-card-price--inline span {
    display: inline !important;
    color: var(--ar-muted) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
}

.ar-home-release .ar-home-card-list .ar-card-price--inline strong {
    display: inline !important;
    color: var(--ar-ink) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -.25px !important;
}

.ar-home-release .ar-home-card-list .ar-card-price--empty strong {
    font-size: 20px !important;
}

.ar-home-release .ar-home-card-list .ar-card-cta {
    display: none !important;
}

/* Bloques informativos */
.ar-home-release .ar-home-split {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.ar-home-release .ar-home-info-card {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Directorio de provincias */
.ar-home-release .ar-home-section--directory {
    padding: 0 !important;
    overflow: visible !important;
}

.ar-home-release .ar-home-province-directory {
    background: transparent !important;
}

.ar-home-release .ar-home-province-directory > summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    list-style: none !important;
}

.ar-home-release .ar-home-province-directory > summary::-webkit-details-marker {
    display: none !important;
}

.ar-home-release .ar-home-province-directory > summary strong {
    display: block !important;
    color: var(--ar-ink) !important;
    font-size: clamp(21px, 2.2vw, 28px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.65px !important;
}

.ar-home-release .ar-home-province-directory > summary small {
    display: block !important;
    margin-top: 4px !important;
    color: var(--ar-muted) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.ar-home-release .ar-home-directory-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    border: 1px solid var(--ar-brand-line) !important;
    border-radius: 999px !important;
    background: var(--ar-brand-soft) !important;
    color: var(--ar-brand-darker) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.ar-home-release .ar-home-directory-toggle::after {
    content: "↓";
    margin-left: 8px;
    font-size: 13px;
    line-height: 1;
}

.ar-home-release .ar-home-province-directory[open] .ar-home-directory-toggle::after {
    content: "↑";
}

.ar-home-release .ar-home-province-directory[open] .ar-home-directory-toggle span {
    font-size: 0 !important;
}

.ar-home-release .ar-home-province-directory[open] .ar-home-directory-toggle span::before {
    content: "Ocultar";
    font-size: 14px;
}

.ar-home-release .ar-home-province-directory__grid {
    border-top: 1px solid var(--ar-line-soft) !important;
    padding: 18px 0 0 !important;
}

.ar-home-release .ar-home-all-provinces {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 10px !important;
}

.ar-home-release .ar-home-all-provinces .province-card {
    min-height: 74px !important;
    padding: 13px !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 16px rgba(20, 30, 40, .035) !important;
}

.ar-home-release .ar-home-all-provinces .province-card strong {
    font-size: 16px !important;
}

.ar-home-release .ar-home-all-provinces .province-card .muted {
    font-size: 13px !important;
}

@media (max-width: 1180px) {
    .ar-home-release .ar-home-card-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .ar-home-release .ar-home-main-search__row,
    .ar-home-release .ar-home-split {
        grid-template-columns: 1fr !important;
    }

    .ar-home-release .ar-home-card-list,
    .ar-home-release .ar-home-card-list--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .ar-home-release {
        width: min(100%, calc(100vw - 18px)) !important;
        gap: 28px !important;
    }

    .ar-public-shell.ar-home-release > .ar-home-hero,
    .ar-home-release .ar-home-hero {
        padding-top: 48px !important;
        padding-bottom: 60px !important;
    }

    .ar-public-shell.ar-home-release > .ar-home-hero::before,
    .ar-home-release .ar-home-hero::before {
        top: -34px !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: auto !important;
        border-radius: 0 !important;
        background:
            radial-gradient(circle at 0% 0%, rgba(var(--ar-brand-bright-rgb), .26), transparent 40%),
            radial-gradient(circle at 100% 8%, rgba(var(--ar-brand-rgb), .16), transparent 44%),
            linear-gradient(180deg, #edf7e6 0%, #f5faf0 54%, rgba(248, 251, 245, 0) 100%) !important;
    }

    .ar-public-shell.ar-home-release > .ar-home-hero::after,
    .ar-home-release .ar-home-hero::after {
        top: -34px !important;
    }

    .ar-home-release .ar-home-hero h1 {
        margin-bottom: 13px !important;
        font-size: clamp(22px, 5.9vw, 28px) !important;
        line-height: 1.08 !important;
        letter-spacing: -.4px !important;
        white-space: nowrap !important;
    }

    .ar-home-release .ar-search-input-wrap,
    .ar-home-release .ar-home-persons-control,
    .ar-home-release .ar-home-primary-button {
        height: 50px !important;
        min-height: 50px !important;
        border-radius: 13px !important;
    }

    .ar-home-release .ar-search-input-wrap {
        grid-template-columns: 44px minmax(0, 1fr) !important;
    }

    .ar-home-release .ar-search-icon {
        width: 44px !important;
    }

    .ar-home-release .ar-home-main-search__row .ar-search-input {
        height: 48px !important;
        min-height: 48px !important;
    }

    .ar-home-release .ar-home-card-list,
    .ar-home-release .ar-home-card-list--compact {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .ar-home-release .ar-home-card-list .ar-list-card {
        border-radius: 20px !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-photo,
    .ar-home-release .ar-home-card-list .ar-card-photo img,
    .ar-home-release .ar-home-card-list .ar-card-slider-viewport,
    .ar-home-release .ar-home-card-list .ar-card-slider-track,
    .ar-home-release .ar-home-card-list .ar-card-slider-slide {
        height: 224px !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-body {
        padding: 17px 17px 20px !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-title {
        font-size: 20px !important;
        font-weight: 700 !important;
        line-height: 1.08 !important;
        letter-spacing: -.35px !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-location {
        margin-top: 8px !important;
        color: #4f5b69 !important;
        font-size: 17px !important;
        line-height: 1.25 !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-location__full {
        display: none !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-location__short {
        display: inline !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-description {
        display: none !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-features {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px 18px !important;
        margin: 18px 0 0 !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-features span {
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: var(--ar-ink) !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-features svg {
        width: 22px !important;
        height: 22px !important;
        color: #334155 !important;
        stroke-width: 1.8 !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-badges {
        margin-top: 14px !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-bottom {
        padding-top: 20px !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-price--inline span {
        font-size: 15px !important;
        font-weight: 500 !important;
        color: #4f5b69 !important;
        white-space: normal !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-price--inline strong {
        font-size: 24px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        letter-spacing: -.25px !important;
    }

    .ar-home-release .ar-home-province-directory > summary {
        display: grid !important;
        gap: 12px !important;
    }

    .ar-home-release .ar-home-directory-toggle {
        width: 100% !important;
    }

    .ar-home-release .ar-home-province-directory__grid {
        padding: 14px 0 0 !important;
    }
}


/* ===== Consolidado desde ar-home-mobile-polish.css (Fase 2.3 refactor CSS) =====
   Cargaba justo despues de este archivo (ambos solo-home); orden/cascada preservados. ===== */
/*
 * AlojamientosRurales - Pulido visual Home
 * Ajustes específicos de portada: separación hero/contenido y carruseles móviles.
 */

.ar-public-shell.ar-home-release {
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: min(1240px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.ar-home-release {
    gap: clamp(22px, 2.4vw, 34px) !important;
}

html body .ar-public-shell.ar-home-release > .ar-home-hero.ar-home-hero--with-slides,
html body .ar-home-release .ar-home-hero.ar-home-hero--with-slides {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: max(20px, calc((100vw - 1240px) / 2)) !important;
    padding-right: max(20px, calc((100vw - 1240px) / 2)) !important;
    min-height: clamp(360px, 36vw, 470px) !important;
    box-sizing: border-box !important;
}

.ar-home-release .ar-home-persons-label svg {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 auto !important;
    fill: #9aa4af !important;
    color: #9aa4af !important;
}

.ar-home-release .ar-home-hero {
    margin-bottom: clamp(24px, 3vw, 40px) !important;
}

.ar-home-release .ar-home-hero--with-slides {
    background: #132515 !important;
}

.ar-home-release .ar-home-hero--with-slides .ar-home-hero__slides {
    z-index: 0 !important;
    overflow: hidden !important;
}

.ar-home-release .ar-home-hero--with-slides .ar-home-hero__content {
    position: relative !important;
    z-index: 2 !important;
}

.ar-home-release .ar-home-hero--with-slides .ar-home-hero__slides::after {
    display: none !important;
    content: none !important;
}

.ar-home-release .ar-home-hero + .ar-home-section {
    margin-top: clamp(10px, 2.8vw, 36px) !important;
}

.ar-home-release .ar-home-split,
.ar-home-release .ar-home-info-card,
.ar-home-release .ar-home-info-card p {
    min-width: 0 !important;
    max-width: 100% !important;
}

.ar-home-release .ar-home-info-card p {
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

@media (max-width: 900px) {
    .ar-public-shell.ar-home-release {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        gap: 24px !important;
    }

    html body .ar-public-shell.ar-home-release > .ar-home-hero.ar-home-hero--with-slides,
    html body .ar-home-release .ar-home-hero.ar-home-hero--with-slides {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        min-height: min(62svh, 440px) !important;
    }

    .ar-home-release .ar-home-hero--with-slides .ar-home-hero__slides {
        top: 0 !important;
    }

    .ar-home-release .ar-home-hero--with-slides .ar-home-main-search__row,
    .ar-home-release .ar-home-main-search__row {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .ar-home-release .ar-home-hero--with-slides .ar-home-hero__content {
        max-width: 100% !important;
    }

    .ar-home-release .ar-home-hero {
        margin-bottom: 22px !important;
    }

    .ar-home-release .ar-home-hero + .ar-home-section {
        margin-top: 24px !important;
    }

    .ar-home-release .ar-home-split {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        overflow: visible !important;
    }

    .ar-home-release .ar-home-section {
        position: relative !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .ar-home-release .ar-home-section__head {
        margin-bottom: 20px !important;
        padding-right: 0 !important;
    }

    .ar-home-release .ar-home-section__head h2 {
        font-size: clamp(19px, 5vw, 22px) !important;
        letter-spacing: -.3px !important;
    }

    .ar-home-release .ar-home-section__head p {
        max-width: 35ch !important;
        font-size: 15px !important;
        line-height: 1.48 !important;
    }

    .ar-home-release .ar-home-section:has(.ar-home-card-list)::before,
    .ar-home-release .ar-home-section:has(.ar-home-card-list)::after {
        display: none !important;
        content: none !important;
    }

    .ar-home-release .ar-home-card-list,
    .ar-home-release .ar-home-card-list--compact {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 14px !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        overscroll-behavior-x: contain !important;
        scroll-snap-type: x proximity !important;
        -webkit-overflow-scrolling: touch !important;
        margin-right: -18px !important;
        padding: 0 34px 14px 0 !important;
        scrollbar-width: none !important;
        cursor: auto !important;
        user-select: auto !important;
        -webkit-user-select: auto !important;
        touch-action: pan-x pan-y !important;
    }

    .ar-home-release .ar-home-card-list::-webkit-scrollbar,
    .ar-home-release .ar-home-card-list--compact::-webkit-scrollbar {
        display: none !important;
    }

    .ar-home-release .ar-home-card-list::after,
    .ar-home-release .ar-home-card-list--compact::after {
        content: "" !important;
        flex: 0 0 4px !important;
    }

    .ar-home-release .ar-home-card-list .ar-list-card,
    .ar-home-release .ar-home-card-list--compact .ar-list-card {
        flex: 0 0 min(40vw, 280px) !important;
        width: min(40vw, 280px) !important;
        max-width: min(40vw, 280px) !important;
        scroll-snap-align: start !important;
    }

    /* El slider de fotos gestiona el swipe horizontal (vía JS) en todo el rango
       del carrusel (no solo <=768): así en tablet también se pasan las fotos en
       vez de hacer scroll del carrusel. El carrusel se desplaza arrastrando el
       cuerpo/título de la card. */
    .ar-home-release .ar-home-card-list .ar-card-photo[data-card-slider],
    .ar-home-release .ar-home-card-list--compact .ar-card-photo[data-card-slider] {
        touch-action: pan-y !important;
    }

    .ar-home-release .ar-home-card-list .ar-card-photo,
    .ar-home-release .ar-home-card-list .ar-card-photo img,
    .ar-home-release .ar-home-card-list .ar-card-slider-viewport,
    .ar-home-release .ar-home-card-list .ar-card-slider-track,
    .ar-home-release .ar-home-card-list .ar-card-slider-slide {
        height: 208px !important;
    }
}

@media (pointer: fine) and (max-width: 900px) {
    .ar-home-release .ar-home-card-list,
    .ar-home-release .ar-home-card-list--compact {
        cursor: grab !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        touch-action: pan-x !important;
    }

    .ar-home-release .ar-home-card-list.is-dragging,
    .ar-home-release .ar-home-card-list--compact.is-dragging {
        cursor: grabbing !important;
        scroll-snap-type: none !important;
    }

    .ar-home-release .ar-home-card-list *,
    .ar-home-release .ar-home-card-list--compact * {
        -webkit-user-drag: none !important;
    }

    .ar-home-release .ar-home-card-list.is-dragging *,
    .ar-home-release .ar-home-card-list--compact.is-dragging *,
    html.is-home-carousel-dragging,
    html.is-home-carousel-dragging *,
    body.is-home-carousel-dragging,
    body.is-home-carousel-dragging * {
        user-select: none !important;
        -webkit-user-select: none !important;
        cursor: grabbing !important;
    }
}

@media (max-width: 600px) {
    .ar-home-release .ar-home-card-list .ar-list-card,
    .ar-home-release .ar-home-card-list--compact .ar-list-card {
        flex-basis: min(72vw, 300px) !important;
        width: min(72vw, 300px) !important;
        max-width: min(72vw, 300px) !important;
    }
}


/* ===== Identidad v2 (home) — fusionado desde ar-home-v2.css ===== */
/* =====================================================================
   Identidad v2 — HOME (Fase B, pase de diseñador). Scopeado a html.ar-v2 +
   clases .ar-home-* / .ar-dir-* . Tokens --ui-*. Minimalista, blanco, neutro,
   verde SOLO acento, sin desplazamiento en hover. No toca la cabecera (Fase F).
   ===================================================================== */

/* ---- Contenedor + ritmo vertical de las secciones ----------------- */
html.ar-v2 .ar-home-section {
    max-width: calc(var(--ui-container) + var(--ui-gutter) * 2);
    margin: var(--ui-space-14) auto;
    padding-left: var(--ui-gutter);
    padding-right: var(--ui-gutter);
}

/* ---- Cabeceras de sección ----------------------------------------- */
html.ar-v2 .ar-home-section__head { margin-bottom: var(--ui-space-6); }
html.ar-v2 .ar-home-section__head h2,
html.ar-v2 .ar-home-section > h2 {
    font-size: var(--ui-text-2xl);
    font-weight: var(--ui-w-semi);
    color: var(--ui-text-strong);
    letter-spacing: var(--ui-tracking-tight);
    line-height: var(--ui-leading-tight);
    margin: 0 0 var(--ui-space-1);
}
html.ar-v2 .ar-home-section__head p { color: var(--ui-text-muted); font-size: var(--ui-text-base); margin: 0; }

/* =====================================================================
   Cards de la home (destacados / actualizados)
   ===================================================================== */
html.ar-v2 .ar-home-card-list .ar-list-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ui-border) !important;
    border-radius: var(--ui-radius-lg) !important;
    overflow: hidden;
    box-shadow: none !important;
    transition: border-color var(--ui-transition), box-shadow var(--ui-transition);
}
html.ar-v2 .ar-home-card-list .ar-list-card:hover {
    border-color: var(--ui-border-strong) !important;
    box-shadow: 0 4px 16px rgba(16, 24, 32, .12) !important;
    transform: none !important;
}

/* Foto cover sin hueco */
html.ar-v2 .ar-home-card-list .ar-card-photo {
    position: relative; display: block; overflow: hidden;
    width: 100% !important; background: var(--ui-bg-subtle);
    aspect-ratio: 3 / 2; min-height: 0 !important; max-height: none !important; height: auto !important;
}
html.ar-v2 .ar-home-card-list .ar-card-photo .ar-card-slider-viewport,
html.ar-v2 .ar-home-card-list .ar-card-photo .ar-card-slider-track,
html.ar-v2 .ar-home-card-list .ar-card-photo .ar-card-slider-slide { height: 100% !important; }
html.ar-v2 .ar-home-card-list .ar-card-photo picture { display: block !important; width: 100% !important; height: 100% !important; }
html.ar-v2 .ar-home-card-list .ar-card-photo img,
html.ar-v2 .ar-home-card-list .ar-card-photo .ar-card-slider-image,
html.ar-v2 .ar-home-card-list .ar-card-photo [data-card-main-photo] {
    width: 100% !important; height: 100% !important; min-height: 0 !important; max-height: none !important;
    object-fit: cover !important; display: block;
}

/* Favorito */
html.ar-v2 .ar-home-card-list .ar-fav-button {
    position: absolute; top: var(--ui-space-3); right: var(--ui-space-3);
    width: 34px; height: 34px; border-radius: var(--ui-radius-pill);
    background: rgba(255, 255, 255, .92); border: 1px solid var(--ui-border);
    color: var(--ui-text-soft); display: inline-flex; align-items: center; justify-content: center; z-index: 2;
}
html.ar-v2 .ar-home-card-list .ar-fav-button:hover { color: var(--ui-accent); }

/* Cuerpo + TIPOGRAFÍA de card (sobria y consistente) */
html.ar-v2 .ar-home-card-list .ar-card-body { padding: var(--ui-space-4); display: flex; flex-direction: column; gap: var(--ui-space-2); }
html.ar-v2 .ar-home-card-list .ar-card-title {
    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) !important; text-decoration: none;
}
html.ar-v2 .ar-home-card-list .ar-card-title:hover { color: var(--ui-accent) !important; }
html.ar-v2 .ar-home-card-list .ar-card-location { font-size: var(--ui-text-sm) !important; color: var(--ui-text-muted) !important; margin: 0; }
html.ar-v2 .ar-home-card-list .ar-card-description { display: none !important; }

html.ar-v2 .ar-home-card-list .ar-card-features { display: flex; flex-wrap: wrap; gap: var(--ui-space-2) var(--ui-space-4); }
html.ar-v2 .ar-home-card-list .ar-card-features > *,
html.ar-v2 .ar-home-card-list .ar-card-features span {
    border: 0 !important; background: transparent !important; border-radius: 0 !important; padding: 0 !important;
    display: inline-flex; align-items: center; gap: 6px; color: var(--ui-text-soft) !important; font-size: var(--ui-text-sm) !important;
}
html.ar-v2 .ar-home-card-list .ar-card-features svg { color: var(--ui-text-muted); width: 16px; height: 16px; }

html.ar-v2 .ar-home-card-list .ar-card-price { font-size: var(--ui-text-lg) !important; font-weight: var(--ui-w-bold) !important; color: var(--ui-text-strong) !important; }
html.ar-v2 .ar-home-card-list .ar-card-price small,
html.ar-v2 .ar-home-card-list .ar-card-price span { font-size: var(--ui-text-sm) !important; font-weight: var(--ui-w-regular) !important; color: var(--ui-text-muted) !important; }

/* =====================================================================
   Buscador del hero (sobrio) — refina sin pelear el overlay de la foto
   ===================================================================== */
html.ar-v2 .ar-home-main-search button[type="submit"],
html.ar-v2 .ar-home-main-search .ar-home-primary-button {
    background: var(--ui-accent); border: 0; color: var(--ui-on-accent);
    border-radius: var(--ui-radius); font-weight: var(--ui-w-semi);
}
html.ar-v2 .ar-home-main-search .ar-home-primary-button:hover { background: var(--ui-accent-strong); }

/* =====================================================================
   Bloques de directorio (enlaces internos) — MINIMALISTA
   ===================================================================== */
html.ar-v2 .ar-dir-grid { display: grid; align-items: start; gap: var(--ui-space-3); margin-bottom: var(--ui-space-8); }
html.ar-v2 .ar-dir-grid--tiles   { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
html.ar-v2 .ar-dir-grid--cards   { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }
html.ar-v2 .ar-dir-grid--compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

/* Tile (enlace simple: etiqueta + descripción) */
html.ar-v2 .ar-dir-tile {
    display: block; padding: var(--ui-space-3) var(--ui-space-4);
    border: 1px solid var(--ui-border); border-radius: var(--ui-radius);
    background: #fff; text-decoration: none; color: var(--ui-text);
    transition: border-color var(--ui-transition), background var(--ui-transition);
}
html.ar-v2 .ar-dir-tile:hover { border-color: var(--ui-border-strong); background: var(--ui-bg-subtle); }
html.ar-v2 .ar-dir-tile__label { display: block; font-size: var(--ui-text-base); font-weight: var(--ui-w-semi); color: var(--ui-text-strong); }
html.ar-v2 .ar-dir-tile:hover .ar-dir-tile__label { color: var(--ui-accent); }
html.ar-v2 .ar-dir-tile__desc { display: block; margin-top: 3px; font-size: var(--ui-text-sm); line-height: var(--ui-leading-snug); color: var(--ui-text-muted); }

/* Card de comunidad (título + recuento + provincias) */
html.ar-v2 .ar-dir-card {
    padding: var(--ui-space-4); border: 1px solid var(--ui-border); border-radius: var(--ui-radius-lg); background: #fff;
}
html.ar-v2 .ar-dir-card__title { margin: 0 0 2px; font-size: var(--ui-text-md); font-weight: var(--ui-w-semi); }
html.ar-v2 .ar-dir-card__title a { color: var(--ui-text-strong); text-decoration: none; }
html.ar-v2 .ar-dir-card__title a:hover { color: var(--ui-accent); }
html.ar-v2 .ar-dir-card__count { margin: 0 0 var(--ui-space-3); color: var(--ui-text-muted); font-size: var(--ui-text-sm); }
html.ar-v2 .ar-dir-card__provinces { display: flex; flex-wrap: wrap; gap: 6px 14px; line-height: 1.4; }
html.ar-v2 .ar-dir-province { font-size: var(--ui-text-sm); color: var(--ui-accent); text-decoration: none; }
html.ar-v2 .ar-dir-province:hover { color: var(--ui-accent-strong); text-decoration: underline; }

/* Sin contador "1 de N fotos" en las cards de la home (igual que el listado) */
html.ar-v2 .ar-home-card-list .ar-card-photo-count { display: none !important; }

/* =====================================================================
   Paneles "Buscar en el mapa" / "Zona propietarios" — sin borde, sobrios
   con un toque de color sutil y CTA verde sólido.
   ===================================================================== */
html.ar-v2 .ar-home-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ui-space-5); align-items: stretch; }
@media (max-width: 720px) { html.ar-v2 .ar-home-split { grid-template-columns: 1fr; } }

html.ar-v2 .ar-home-info-card {
    border: 0 !important;
    border-radius: var(--ui-radius-lg) !important;
    background: var(--ui-bg-subtle) !important;   /* gris muy claro, sin borde */
    box-shadow: none !important;
    padding: var(--ui-space-6) !important;
    display: flex; flex-direction: column; align-items: flex-start; gap: var(--ui-space-2);
}
html.ar-v2 .ar-home-info-card.ar-home-owner-card {
    background: var(--ui-accent-soft) !important;  /* verde claro: destaca el CTA de propietarios */
}
html.ar-v2 .ar-home-info-card h2 { font-size: var(--ui-text-xl) !important; font-weight: var(--ui-w-semi) !important; color: var(--ui-text-strong) !important; margin: 0 !important; }
html.ar-v2 .ar-home-info-card p { color: var(--ui-text-soft) !important; font-size: var(--ui-text-base) !important; margin: 0 !important; }

/* CTA: botón verde sólido */
html.ar-v2 .ar-home-big-link {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: var(--ui-space-2);
    background: var(--ui-accent) !important;
    border: 0 !important;
    color: var(--ui-on-accent) !important;
    border-radius: var(--ui-radius) !important;
    padding: 0 var(--ui-space-5) !important;
    height: var(--ui-control-h);
    font-weight: var(--ui-w-semi) !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
html.ar-v2 .ar-home-big-link:hover { background: var(--ui-accent-strong) !important; }
