/*
Theme Name: Casa Huertas del Palmar
Author: Casa Huertas del Palmar
Description: Ficha de alojamiento y reserva directa.
Version: 2.15.10
Text Domain: casahuertas
*/

:root {
    --text: #222222;
    --muted: #6a6a6a;
    --line: #dddddd;
    --soft: #f7f7f7;
    --white: #ffffff;
    --accent: #d45e4c;
    --accent-dark: #b94b3b;
    --green: #315f4b;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    --content: 1120px;
    --radius: 13px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body.admin-bar .site-header {
    top: 32px;
}

a {
    color: inherit;
    text-underline-offset: 3px;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    z-index: 99999;
    top: -100px;
    left: 18px;
    padding: 12px 18px;
    color: white;
    background: black;
    border-radius: 8px;
}

.skip-link:focus {
    top: 18px;
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid #ebebeb;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(calc(100% - 48px), var(--content));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-brand {
    margin-right: auto;
}

.site-brand a {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.brand-mark {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--accent);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 700;
}

.brand-name {
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.01em;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 27px;
}

.primary-navigation a {
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.primary-navigation a:hover {
    text-decoration: underline;
}

.header-booking {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: white;
    background: var(--accent);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.header-booking:hover {
    color: white;
    background: var(--accent-dark);
}

.listing-header {
    padding: 34px 0 23px;
}

.listing-header h1 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.listing-subline {
    margin-top: 11px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.listing-subline a,
.listing-subline strong {
    font-weight: 700;
}

.dot {
    color: var(--muted);
}

.photo-gallery {
    display: grid;
    height: 490px;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
}

.gallery-item:first-child {
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item:hover img {
    transform: scale(1.018);
    filter: brightness(0.93);
}

.gallery-button {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid var(--text);
    color: var(--text);
    background: white;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.listing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    align-items: start;
    gap: 72px;
    padding-top: 48px;
}

.listing-section {
    padding: 35px 0;
    border-bottom: 1px solid var(--line);
}

.listing-section:first-child {
    padding-top: 0;
}

.listing-section h2 {
    margin: 0 0 20px;
    font-size: 23px;
    line-height: 1.28;
    letter-spacing: -0.015em;
}

.listing-section h3 {
    margin: 0 0 7px;
    font-size: 17px;
}

.property-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.property-summary h2 {
    margin-bottom: 7px;
}

.property-meta {
    color: var(--muted);
    font-size: 16px;
}

.host-badge {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--green);
    border-radius: 50%;
    font-size: 22px;
    font-weight: 750;
}

.highlights {
    display: grid;
    gap: 25px;
}

.highlight {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 17px;
}

.highlight-icon,
.amenity-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    font-size: 22px;
}

.highlight p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.description {
    font-size: 16px;
    line-height: 1.65;
}

.description p {
    margin: 0 0 18px;
}

.sleep-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sleep-card {
    min-height: 150px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.bed-icon {
    margin-bottom: 25px;
    font-size: 28px;
}

.sleep-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 32px;
}

.amenity {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 13px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.rule-card {
    padding: 20px;
    background: var(--soft);
    border-radius: var(--radius);
}

.rule-card span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
}

.booking-column {
    position: sticky;
    top: 105px;
}

.booking-card {
    padding: 25px;
    border: 1px solid var(--line);
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.booking-card h2 {
    margin: 0;
    font-size: 21px;
}

.booking-card-intro {
    margin: 7px 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.booking-card .avaibook-search-widget {
    width: 100%;
    max-width: 100%;
}

.booking-safe {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.booking-divider {
    height: 1px;
    margin: 21px 0;
    background: var(--line);
}

.booking-benefit {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    font-size: 14px;
}

.reviews-section,
.location-section {
    padding: 55px 0;
    border-top: 1px solid var(--line);
}

.section-title {
    margin: 0 0 30px;
    font-size: 25px;
    letter-spacing: -0.02em;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 30px;
}

.rating-number {
    font-size: 31px;
    font-weight: 750;
}

.rating-stars {
    letter-spacing: 2px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.review-card {
    padding: 23px;
    background: var(--soft);
    border-radius: var(--radius);
}

.review-card p {
    margin: 8px 0 0;
    color: #444;
}

.location-box {
    min-height: 310px;
    display: grid;
    place-items: center;
    padding: 45px;
    background:
        radial-gradient(circle at 20% 30%, #d9e6dc, transparent 28%),
        radial-gradient(circle at 80% 60%, #eadfcb, transparent 32%),
        #edf0eb;
    border-radius: var(--radius);
    text-align: center;
}

.location-box h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.location-box p {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
}

.site-footer {
    padding: 45px 0;
    border-top: 1px solid var(--line);
    background: var(--soft);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    color: var(--muted);
    font-size: 13px;
}

.mobile-booking {
    display: none;
}

.page-hero {
    padding: 60px 0 35px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin: 0;
    font-size: 38px;
}

.page-shell {
    width: min(calc(100% - 48px), 850px);
    margin: 0 auto;
    padding: 55px 0 85px;
}

.page-content {
    font-size: 17px;
    line-height: 1.65;
}

.page-content h2 {
    margin-top: 48px;
    font-size: 27px;
}

.page-content h3 {
    margin-top: 30px;
    font-size: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-card,
.notice-box {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.notice-box {
    margin: 28px 0;
    background: var(--soft);
}

.clean-list li {
    margin-bottom: 9px;
}

@media (max-width: 930px) {
    .primary-navigation {
        display: none;
    }

    .photo-gallery {
        height: 420px;
    }

    .listing-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .booking-column {
        position: static;
    }

    .booking-card {
        max-width: 600px;
    }
}

@media (max-width: 680px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .container,
    .header-inner,
    .page-shell {
        width: min(calc(100% - 28px), var(--content));
    }

    .header-inner {
        min-height: 65px;
    }

    .brand-name {
        font-size: 15px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .header-booking {
        display: none;
    }

    .listing-header {
        padding-top: 25px;
    }

    .photo-gallery {
        height: 300px;
        display: block;
        border-radius: 0;
        margin-right: -14px;
        margin-left: -14px;
    }

    .gallery-item {
        display: none;
        height: 300px;
    }

    .gallery-item:first-child {
        display: block;
    }

    .gallery-button {
        right: 13px;
        bottom: 13px;
    }

    .listing-layout {
        padding-top: 32px;
    }

    .property-summary {
        display: block;
    }

    .host-badge {
        display: none;
    }

    .sleep-grid,
    .amenities-grid,
    .rules-grid,
    .review-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .booking-card {
        padding: 20px;
    }

    .footer-inner {
        display: block;
        padding-bottom: 65px;
    }

    .footer-inner span {
        display: block;
        margin-top: 8px;
    }

    .mobile-booking {
        position: fixed;
        z-index: 2000;
        right: 14px;
        bottom: 14px;
        left: 14px;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        background: var(--accent);
        border-radius: 11px;
        box-shadow: var(--shadow);
        font-weight: 750;
        text-decoration: none;
    }
}


/* ==========================================================
   AVAIBOOK INTEGRADO - VERSIÓN 2.1
   ========================================================== */

.listing-layout {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 48px;
}

.booking-card {
    padding: 22px;
}

.avaibook-iframe-wrap {
    position: relative;
    width: 100%;
    height: 850px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.avaibook-booking-iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 850px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
}

@media (max-width: 930px) {
    .listing-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .booking-card {
        max-width: none;
    }

    .avaibook-iframe-wrap {
        height: 900px;
    }

    .avaibook-booking-iframe {
        min-height: 900px;
    }
}

@media (max-width: 680px) {
    .booking-card {
        padding: 14px;
    }

    .avaibook-iframe-wrap {
        height: 1050px;
        border-right: 0;
        border-left: 0;
        border-radius: 8px;
    }

    .avaibook-booking-iframe {
        min-height: 1050px;
    }
}


/* ==========================================================
   AVAIBOOK EN VENTANA MODAL - VERSIÓN 2.2
   ========================================================== */

.listing-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 56px;
}

.avaibook-launch {
    width: 100%;
}

.avaibook-open-button {
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
    border: 0;
    color: #ffffff;
    background: var(--accent);
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(212, 94, 76, 0.25);
    cursor: pointer;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.25;
    transition:
        background 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.avaibook-open-button:hover {
    background: var(--accent-dark);
    box-shadow: 0 7px 20px rgba(212, 94, 76, 0.32);
    transform: translateY(-1px);
}

.avaibook-open-button:focus-visible {
    outline: 3px solid rgba(212, 94, 76, 0.28);
    outline-offset: 3px;
}

.avaibook-launch-note {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

body.avaibook-modal-open {
    overflow: hidden;
}

.avaibook-modal[hidden] {
    display: none;
}

.avaibook-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.avaibook-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.avaibook-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.64);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.avaibook-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 44px));
    height: min(900px, calc(100vh - 44px));
    min-height: 580px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.36);
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.avaibook-modal.is-open .avaibook-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.avaibook-modal-header {
    flex: 0 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 15px 20px 15px 24px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.avaibook-modal-header h2 {
    margin: 2px 0 0;
    font-size: 21px;
    line-height: 1.25;
}

.avaibook-modal-kicker {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.avaibook-modal-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    color: var(--text);
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 31px;
    font-weight: 300;
    line-height: 1;
}

.avaibook-modal-close:hover {
    background: var(--soft);
}

.avaibook-modal-close:focus-visible {
    outline: 3px solid rgba(212, 94, 76, 0.25);
    outline-offset: 2px;
}

.avaibook-modal-content {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background: #ffffff;
}

.avaibook-modal .avaibook-iframe-wrap {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 0;
    background: #ffffff;
    border-radius: 0;
}

.avaibook-modal .avaibook-booking-iframe {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    background: #ffffff;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.avaibook-modal .avaibook-booking-iframe.is-ready {
    opacity: 1;
    pointer-events: auto;
}

.avaibook-modal-loading {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    color: var(--text);
    background: #ffffff;
    text-align: center;
    transition:
        opacity 220ms ease,
        visibility 220ms ease;
}

.avaibook-modal-loading.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.avaibook-modal-loading strong {
    font-size: 18px;
}

.avaibook-modal-loading > span:last-child {
    color: var(--muted);
    font-size: 14px;
}

.avaibook-loading-spinner {
    width: 44px;
    height: 44px;
    margin-bottom: 7px;
    border: 4px solid #eeeeee;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: avaibook-spin 850ms linear infinite;
}

@keyframes avaibook-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 930px) {
    .listing-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .booking-card {
        max-width: none;
    }
}

@media (max-width: 680px) {
    .avaibook-modal {
        padding: 0;
    }

    .avaibook-modal-dialog {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        border: 0;
        border-radius: 0;
    }

    .avaibook-modal-header {
        min-height: 67px;
        padding: 10px 12px 10px 16px;
    }

    .avaibook-modal-header h2 {
        font-size: 18px;
    }

    .avaibook-modal-close {
        width: 42px;
        height: 42px;
    }
}


/* CASA HUERTAS IDENTIDAD VERDE START */

:root {
    --accent: #2f6b4f;
    --accent-dark: #1d4935;
    --green: #2f6b4f;
    --green-deep: #183d2d;
    --green-soft: #edf5f0;
    --green-pale: #f5faf7;
    --green-line: rgba(47, 107, 79, 0.22);
    --gold: #c8a15b;
}

.site-header {
    border-top: 4px solid var(--green);
    border-bottom-color: rgba(47, 107, 79, 0.14);
}

.brand-mark {
    width: 45px;
    height: 37px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-deep)
        );
    border-radius: 12px 12px 12px 4px;
    box-shadow: 0 6px 16px rgba(47, 107, 79, 0.22);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.header-booking,
.avaibook-open-button,
.mobile-booking {
    background: var(--green);
}

.header-booking:hover,
.avaibook-open-button:hover,
.mobile-booking:hover {
    background: var(--green-deep);
}

.avaibook-open-button {
    box-shadow: 0 6px 18px rgba(47, 107, 79, 0.27);
}

.avaibook-open-button:hover {
    box-shadow: 0 8px 22px rgba(47, 107, 79, 0.34);
}

.avaibook-open-button:focus-visible,
.avaibook-modal-close:focus-visible {
    outline-color: rgba(47, 107, 79, 0.28);
}

.avaibook-loading-spinner {
    border-top-color: var(--green);
}

.listing-header {
    margin-top: 28px;
    padding: 31px 34px;
    border: 1px solid var(--green-line);
    background:
        radial-gradient(
            circle at 93% 5%,
            rgba(200, 161, 91, 0.19),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--green-pale),
            #e7f1eb
        );
    border-radius: 22px;
}

.listing-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.listing-kicker,
.reviews-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.listing-header h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.listing-introduction {
    max-width: 660px;
    margin: 13px 0 0;
    color: #526159;
    font-size: 17px;
}

.direct-reservation-badge {
    flex: 0 0 auto;
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    padding: 8px 15px;
    color: var(--green-deep);
    border: 1px solid var(--green-line);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.rating-source-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 11px;
    margin-top: 25px;
}

.rating-source,
.location-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 15px;
    color: var(--text);
    border: 1px solid var(--green-line);
    background: rgba(255, 255, 255, 0.78);
    border-radius: 12px;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.rating-source:hover,
.location-pill:hover {
    border-color: var(--green);
    background: #ffffff;
    transform: translateY(-1px);
}

.rating-source-name {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.rating-source strong {
    font-size: 15px;
}

.rating-source > span:last-child {
    color: var(--muted);
    font-size: 13px;
}

.location-pill {
    margin-left: auto;
    color: var(--green-deep);
    font-size: 13px;
    font-weight: 750;
}

.photo-gallery {
    margin-top: 24px;
    border: 5px solid #ffffff;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(32, 71, 52, 0.13);
}

.gallery-button {
    color: var(--green-deep);
    border-color: var(--green);
}

.listing-section h2 {
    position: relative;
    padding-left: 18px;
}

.listing-section h2::before {
    position: absolute;
    top: 0.15em;
    bottom: 0.15em;
    left: 0;
    width: 4px;
    content: "";
    background: var(--green);
    border-radius: 999px;
}

.highlight-icon,
.amenity-icon {
    color: var(--green);
}

.host-badge {
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-deep)
        );
}

.sleep-card {
    border-color: var(--green-line);
    background: var(--green-pale);
}

.amenity {
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 160ms ease;
}

.amenity:hover {
    background: var(--green-pale);
}

.rule-card {
    border: 1px solid var(--green-line);
    background: var(--green-pale);
}

.booking-card {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(47, 107, 79, 0.36);
    box-shadow: 0 14px 38px rgba(32, 71, 52, 0.16);
}

.booking-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    content: "";
    background:
        linear-gradient(
            90deg,
            var(--green),
            var(--gold)
        );
}

.booking-card h2 {
    margin-top: 7px;
    color: var(--green-deep);
}

.booking-benefit > span:first-child {
    color: var(--green);
    font-weight: 900;
}

.reviews-section {
    margin: 38px 0;
    padding: 44px 36px;
    border: 1px solid var(--green-line);
    background:
        radial-gradient(
            circle at 93% 8%,
            rgba(200, 161, 91, 0.15),
            transparent 26%
        ),
        linear-gradient(
            145deg,
            var(--green-pale),
            #e9f3ed
        );
    border-radius: 24px;
}

.reviews-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 35px;
}

.reviews-section .section-title {
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.5vw, 42px);
}

.reviews-introduction {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.combined-rating {
    flex: 0 0 auto;
    min-width: 145px;
    padding: 16px 18px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-deep)
        );
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(47, 107, 79, 0.21);
    text-align: center;
}

.combined-rating span,
.combined-rating strong {
    display: block;
}

.combined-rating span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
}

.combined-rating strong {
    margin-top: 4px;
    font-size: 19px;
}

.platform-score-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0 24px;
}

.platform-score-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3px 20px;
    padding: 20px 22px;
    color: var(--text);
    border: 1px solid var(--green-line);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 16px;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.platform-score-card:hover {
    border-color: var(--green);
    box-shadow: 0 9px 24px rgba(47, 107, 79, 0.12);
    transform: translateY(-2px);
}

.platform-score-name {
    color: var(--green);
    font-size: 15px;
    font-weight: 800;
}

.platform-score-card strong {
    grid-row: 1 / 3;
    grid-column: 2;
    color: var(--green-deep);
    font-size: 29px;
}

.platform-score-card > span:last-child {
    color: var(--muted);
    font-size: 13px;
}

.review-grid-platforms {
    gap: 16px;
}

.review-grid-platforms .review-card {
    min-height: 205px;
    padding: 24px;
    border: 1px solid rgba(47, 107, 79, 0.17);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(47, 107, 79, 0.07);
}

.review-grid-platforms .review-card h3 {
    margin: 15px 0 8px;
    color: var(--green-deep);
    font-size: 18px;
}

.review-platform-tag {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 5px 10px;
    color: var(--green-deep);
    border: 1px solid var(--green-line);
    background: var(--green-soft);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.reviews-source-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.location-box {
    border: 1px solid var(--green-line);
    background:
        radial-gradient(
            circle at 18% 28%,
            #d8e8dd,
            transparent 29%
        ),
        radial-gradient(
            circle at 82% 63%,
            #ebe0ca,
            transparent 31%
        ),
        #eef4f0;
}

.site-footer {
    border-top: 5px solid var(--green);
}

@media (max-width: 780px) {
    .listing-header {
        padding: 25px 22px;
    }

    .listing-title-row,
    .reviews-heading-row {
        display: block;
    }

    .direct-reservation-badge {
        margin-top: 20px;
    }

    .location-pill {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .combined-rating {
        width: max-content;
        margin-top: 22px;
    }

    .reviews-section {
        padding: 34px 22px;
    }

    .platform-score-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .rating-source {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .rating-source > span:last-child {
        grid-column: 1 / 3;
    }

    .listing-header h1 {
        font-size: 36px;
    }

    .platform-score-card {
        padding: 18px;
    }
}

/* CASA HUERTAS IDENTIDAD VERDE END */



/* CASA HUERTAS FONDO FOTOGRAFICO START */

html {
    background-color: #e9e7df;
}

body {
    background-color: #f2efe7;

    background-image:
        linear-gradient(
            rgba(248, 247, 242, 0.72),
            rgba(248, 247, 242, 0.72)
        ),
        url("assets/fondo-casa-huertas.jpg");

    background-repeat:
        no-repeat,
        no-repeat;

    background-position:
        center center,
        center center;

    background-size:
        cover,
        cover;

    background-attachment:
        fixed,
        fixed;
}

.site-header {
    background: rgba(255, 255, 252, 0.95);
}

.listing-header {
    background:
        radial-gradient(
            circle at 93% 5%,
            rgba(200, 161, 91, 0.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            rgba(245, 250, 247, 0.94),
            rgba(231, 241, 235, 0.94)
        );
}

.booking-card {
    background: rgba(255, 255, 255, 0.96);
}

.review-grid-platforms .review-card,
.platform-score-card {
    background: rgba(255, 255, 255, 0.92);
}

.site-footer {
    background: rgba(244, 242, 236, 0.96);
}

@media (max-width: 680px) {
    body {
        background-attachment:
            scroll,
            scroll;

        background-position:
            center top,
            43% top;
    }
}

/* CASA HUERTAS FONDO FOTOGRAFICO END */


/* CASA HUERTAS MAPA MULTIDIOMA START */

.language-switcher {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(47, 107, 79, 0.18);
    background: rgba(245, 250, 247, 0.86);
    border-radius: 999px;
}

.language-switcher a {
    min-width: 31px;
    height: 29px;
    display: grid;
    place-items: center;
    padding: 0 7px;
    color: var(--muted);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.language-switcher a:hover {
    color: var(--green-deep);
    background: rgba(47, 107, 79, 0.10);
}

.language-switcher a.is-active {
    color: #ffffff;
    background: var(--green);
    box-shadow: 0 3px 9px rgba(47, 107, 79, 0.22);
}

.location-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.location-heading .section-title {
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.5vw, 42px);
}

.location-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 22px;
    align-items: stretch;
}

.map-card {
    min-height: 430px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.92);
    background: #e7eee9;
    border-radius: 21px;
    box-shadow: 0 15px 38px rgba(32, 71, 52, 0.15);
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: block;
    border: 0;
}

.location-details-card {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(200, 161, 91, 0.25),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--green),
            var(--green-deep)
        );
    border-radius: 21px;
    box-shadow: 0 15px 38px rgba(32, 71, 52, 0.18);
}

.location-details-label {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.location-details-card h3 {
    margin: 13px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.16;
}

.location-details-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.65;
}

.location-directions-button {
    width: fit-content;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 11px 18px;
    color: var(--green-deep);
    background: #ffffff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.location-directions-button:hover {
    color: var(--green-deep);
    transform: translateY(-1px);
}

.contact-section {
    margin: 45px 0 70px;
    padding: 46px;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 45px;
    align-items: center;
    border: 1px solid rgba(47, 107, 79, 0.26);
    background:
        radial-gradient(
            circle at 6% 10%,
            rgba(200, 161, 91, 0.20),
            transparent 27%
        ),
        rgba(241, 248, 244, 0.93);
    border-radius: 24px;
    box-shadow: 0 15px 38px rgba(32, 71, 52, 0.11);
    backdrop-filter: blur(5px);
}

.contact-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-introduction h2 {
    margin: 0;
    color: var(--green-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.06;
}

.contact-introduction p {
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.contact-options {
    display: grid;
    gap: 14px;
}

.contact-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    padding: 19px;
    border: 1px solid rgba(47, 107, 79, 0.18);
    background: rgba(255, 255, 255, 0.91);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(47, 107, 79, 0.07);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-deep)
        );
    border-radius: 14px;
    font-size: 20px;
    font-weight: 800;
}

.contact-card-label {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
}

.contact-card div > a {
    color: var(--green-deep);
    font-size: 15px;
    font-weight: 750;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-action {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    color: var(--green-deep);
    border: 1px solid rgba(47, 107, 79, 0.24);
    background: var(--green-soft);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.contact-action:hover {
    color: #ffffff;
    background: var(--green);
}

.footer-inner a {
    color: inherit;
    text-decoration: none;
}

.footer-inner a:hover {
    color: var(--green);
}

@media (max-width: 1120px) {
    .header-inner {
        gap: 18px;
    }

    .primary-navigation {
        gap: 16px;
    }

    .primary-navigation a {
        font-size: 13px;
    }

    .language-switcher a {
        min-width: 28px;
        padding: 0 5px;
    }
}

@media (max-width: 980px) {
    .language-switcher {
        margin-left: auto;
    }

    .location-grid,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .location-details-card {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .language-switcher {
        order: 2;
    }

    .site-brand {
        margin-right: 0;
    }

    .header-inner {
        justify-content: space-between;
    }

    .location-grid {
        gap: 14px;
    }

    .map-card,
    .map-frame {
        min-height: 350px;
    }

    .location-details-card {
        padding: 27px 23px;
    }

    .contact-section {
        margin-bottom: 35px;
        padding: 30px 20px;
        gap: 28px;
    }

    .contact-card {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .contact-icon {
        width: 44px;
        height: 44px;
    }

    .contact-action {
        grid-column: 1 / 3;
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .brand-name {
        max-width: 145px;
        line-height: 1.15;
    }

    .language-switcher {
        width: 100%;
        order: 3;
        justify-content: center;
    }
}

/* CASA HUERTAS MAPA MULTIDIOMA END */




/* CASA HUERTAS ESTANCIAS COMPACTAS START */

/*
 * Galería principal superior.
 */

.photo-gallery {
    min-height: 620px;
    display: grid;
    grid-template-columns:
        minmax(0, 2fr)
        minmax(0, 1fr)
        minmax(0, 1fr);
    grid-template-rows:
        repeat(4, minmax(125px, 1fr));
    gap: 8px;
}

.photo-gallery .gallery-item {
    min-width: 0;
    min-height: 0;
    grid-column: auto !important;
    grid-row: auto !important;
}

.photo-gallery .gallery-item:first-child {
    grid-column: 1 !important;
    grid-row: 1 / 5 !important;
}

.photo-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/*
 * Cabecera de estancias.
 */

.spaces-section-compact {
    padding-top: 43px;
}

.spaces-heading {
    max-width: 760px;
    margin-bottom: 27px;
}

.spaces-heading h2 {
    margin: 8px 0 13px;
    color: var(--green-deep);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(31px, 4vw, 43px);
    line-height: 1.08;
}

.spaces-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

/*
 * Cuadrícula compacta.
 */

.space-tile-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.space-tile-card {
    min-width: 0;
}

.space-tile {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #dfe8e2;
    border-radius: 17px;
    box-shadow:
        0 10px 27px
        rgba(32, 71, 52, 0.13);
    cursor: pointer;
    text-align: left;
    appearance: none;
}

.space-tile img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.space-tile:hover img,
.space-tile:focus-visible img {
    transform: scale(1.035);
    filter: brightness(1.04);
}

.space-tile-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(16, 37, 26, 0.82) 0%,
            rgba(16, 37, 26, 0.20) 54%,
            rgba(16, 37, 26, 0.02) 78%
        );
}

.space-tile-copy {
    position: absolute;
    left: 19px;
    right: 54px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff;
}

.space-tile-number {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.space-tile-copy strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.12;
    text-shadow:
        0 2px 9px
        rgba(0, 0, 0, 0.22);
}

.space-tile-meta {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.space-tile-arrow {
    position: absolute;
    right: 17px;
    bottom: 17px;
    z-index: 3;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    color: var(--green-deep);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.space-tile:hover .space-tile-arrow,
.space-tile:focus-visible .space-tile-arrow {
    transform: translateX(3px);
    background: #ffffff;
}

.space-tile:focus-visible {
    outline: 3px solid
        rgba(200, 161, 91, 0.95);
    outline-offset: 4px;
}

/*
 * Ventana con todas las fotos y descripción.
 */

body.space-detail-open {
    overflow: hidden;
}

.space-detail-modal[hidden] {
    display: none !important;
}

.space-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.space-detail-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.space-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 28, 20, 0.76);
    backdrop-filter: blur(7px);
}

.space-detail-dialog {
    position: relative;
    z-index: 2;
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f7f8f5;
    border-radius: 22px;
    box-shadow:
        0 28px 80px
        rgba(0, 0, 0, 0.32);
    transform: translateY(16px) scale(0.985);
    transition: transform 0.2s ease;
}

.space-detail-modal.is-visible
.space-detail-dialog {
    transform: translateY(0) scale(1);
}

.space-detail-header {
    flex: 0 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 18px 15px 25px;
    border-bottom:
        1px solid
        rgba(47, 107, 79, 0.16);
    background:
        rgba(255, 255, 255, 0.96);
}

.space-detail-header h2 {
    margin: 0;
    color: var(--green-deep);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(21px, 3vw, 29px);
    line-height: 1.14;
}

.space-detail-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--green-deep);
    border:
        1px solid
        rgba(47, 107, 79, 0.18);
    background: var(--green-soft);
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.space-detail-close:hover {
    color: #ffffff;
    background: var(--green);
}

.space-detail-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.space-modal-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(290px, 0.55fr);
    align-items: start;
}

.space-modal-gallery {
    min-width: 0;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 7px;
    background: #e4ebe6;
}

.space-modal-photo {
    min-width: 0;
    overflow: hidden;
    background: #d5dfd8;
    border-radius: 7px;
}

.space-modal-photo:first-child {
    grid-column: 1 / -1;
}

.space-modal-photo img {
    width: 100%;
    height: 100%;
    min-height: 235px;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.space-modal-photo:first-child img {
    min-height: 440px;
}

.space-modal-photo:hover img {
    transform: scale(1.018);
}

.space-modal-description {
    position: sticky;
    top: 0;
    min-height: 100%;
    padding: 43px 35px;
    background:
        radial-gradient(
            circle at 95% 4%,
            rgba(200, 161, 91, 0.15),
            transparent 30%
        ),
        rgba(249, 251, 249, 0.98);
}

.space-modal-number {
    color: var(--green);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.space-modal-description h3 {
    margin: 14px 0 18px;
    color: var(--green-deep);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(27px, 3vw, 37px);
    line-height: 1.1;
}

.space-modal-description p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.space-modal-count {
    width: fit-content;
    display: inline-flex;
    margin-top: 25px;
    padding: 8px 12px;
    color: var(--green-deep);
    border:
        1px solid
        rgba(47, 107, 79, 0.20);
    background: var(--green-soft);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .photo-gallery {
        min-height: auto;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        grid-template-rows:
            330px
            repeat(4, 155px);
    }

    .photo-gallery .gallery-item:first-child {
        grid-column: 1 / 3 !important;
        grid-row: 1 !important;
    }

    .space-tile-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .space-modal-layout {
        grid-template-columns: 1fr;
    }

    .space-modal-description {
        position: static;
        min-height: auto;
        padding: 31px;
    }
}

@media (max-width: 680px) {
    .photo-gallery {
        gap: 5px;
        grid-template-rows:
            270px
            repeat(4, 118px);
    }

    .space-tile-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .space-tile {
        aspect-ratio: 16 / 10;
    }

    .space-detail-modal {
        padding: 10px;
    }

    .space-detail-dialog {
        max-height: calc(100vh - 20px);
        border-radius: 16px;
    }

    .space-detail-header {
        min-height: 60px;
        padding: 11px 12px 11px 18px;
    }

    .space-detail-close {
        width: 39px;
        height: 39px;
    }

    .space-modal-gallery {
        grid-template-columns: 1fr;
    }

    .space-modal-photo,
    .space-modal-photo:first-child {
        grid-column: 1;
    }

    .space-modal-photo img,
    .space-modal-photo:first-child img {
        min-height: 245px;
    }

    .space-modal-description {
        padding: 27px 22px 32px;
    }
}

@media (max-width: 430px) {
    .photo-gallery {
        grid-template-rows:
            235px
            repeat(4, 105px);
    }

    .space-tile-copy {
        left: 16px;
        bottom: 15px;
    }
}

/* CASA HUERTAS ESTANCIAS COMPACTAS END */


/* CASA HUERTAS JACUZZI WHATSAPP START */

.contact-channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.contact-channel-icon svg {
    width: 19px;
    height: 19px;
    display: block;
}

.contact-channel-icon svg:last-child {
    width: 18px;
    height: 18px;
}

.contact-action-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.contact-action-group .contact-action {
    gap: 6px;
    white-space: nowrap;
}

.contact-action svg {
    width: 16px;
    height: 16px;
    display: block;
    flex: 0 0 auto;
}

.whatsapp-action {
    color: #176b3a;
    border-color: rgba(24, 138, 75, 0.25);
    background: rgba(226, 246, 233, 0.95);
}

.whatsapp-action:hover {
    color: #ffffff;
    border-color: #24894f;
    background: #24894f;
}

@media (max-width: 680px) {
    .contact-action-group {
        width: 100%;
        grid-column: 1 / 3;
        justify-content: stretch;
    }

    .contact-action-group .contact-action {
        flex: 1 1 130px;
        justify-content: center;
    }
}

/* CASA HUERTAS JACUZZI WHATSAPP END */


/* CASA HUERTAS GALERIA PRINCIPAL START */

.main-photo-gallery {
    position: relative;
    margin-bottom: 38px;
}

.main-gallery-grid {
    position: relative;
    min-height: 620px;
    display: grid;
    grid-template-columns:
        minmax(0, 2fr)
        minmax(0, 1fr)
        minmax(0, 1fr);
    grid-template-rows:
        repeat(4, minmax(125px, 1fr));
    gap: 8px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow:
        0 15px 38px
        rgba(32, 71, 52, 0.15);
}

.main-gallery-featured {
    grid-column: 1;
    grid-row: 1 / 5;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #dce6df;
}

.main-gallery-featured img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.main-gallery-featured img.has-changed {
    animation:
        mainGalleryImageChange
        0.32s ease;
}

@keyframes mainGalleryImageChange {
    from {
        opacity: 0.55;
        transform: scale(1.015);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.main-gallery-thumbnails {
    display: contents;
}

.main-gallery-thumbnail {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #dce6df;
    cursor: pointer;
    appearance: none;
}

.main-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.main-gallery-thumbnail:hover img,
.main-gallery-thumbnail:focus-visible img {
    transform: scale(1.045);
    filter: brightness(1.06);
}

.main-gallery-thumbnail:focus-visible {
    position: relative;
    z-index: 3;
    outline: 3px solid #ffffff;
    outline-offset: -5px;
}

.main-gallery-open-button {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--green-deep);
    border: 1px solid rgba(32, 71, 52, 0.16);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 10px;
    box-shadow:
        0 6px 18px
        rgba(0, 0, 0, 0.18);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.main-gallery-open-button:hover {
    color: #ffffff;
    background: var(--green);
}

body.main-photo-gallery-open {
    overflow: hidden;
}

.main-photo-modal[hidden] {
    display: none !important;
}

.main-photo-modal {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.main-photo-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.main-photo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 24, 16, 0.86);
    backdrop-filter: blur(8px);
}

.main-photo-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1280px, 100%);
    max-height: calc(100vh - 44px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f4f6f3;
    border-radius: 21px;
    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, 0.42);
    transform:
        translateY(15px)
        scale(0.985);
    transition: transform 0.2s ease;
}

.main-photo-modal.is-visible
.main-photo-modal-dialog {
    transform: translateY(0) scale(1);
}

.main-photo-modal-header {
    flex: 0 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px 14px 25px;
    border-bottom:
        1px solid
        rgba(47, 107, 79, 0.16);
    background: rgba(255, 255, 255, 0.97);
}

.main-photo-modal-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--green);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-photo-modal-header h2 {
    margin: 0;
    color: var(--green-deep);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(22px, 3vw, 30px);
}

.main-photo-modal-close {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--green-deep);
    border:
        1px solid
        rgba(47, 107, 79, 0.18);
    background: var(--green-soft);
    border-radius: 50%;
    font-size: 29px;
    cursor: pointer;
}

.main-photo-modal-close:hover {
    color: #ffffff;
    background: var(--green);
}

.main-photo-modal-content {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main-photo-viewer {
    position: relative;
    min-height: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    align-items: center;
    padding: 10px;
    background: #17241c;
}

.main-photo-stage {
    height: min(66vh, 720px);
    min-height: 360px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.main-photo-stage img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.main-photo-navigation {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    justify-self: center;
    padding: 0;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    font-size: 37px;
    line-height: 1;
    cursor: pointer;
}

.main-photo-navigation:hover {
    color: var(--green-deep);
    background: #ffffff;
}

.main-photo-counter {
    position: absolute;
    right: 20px;
    bottom: 18px;
    padding: 7px 11px;
    color: #ffffff;
    background: rgba(7, 17, 11, 0.72);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.main-photo-modal-thumbnails {
    flex: 0 0 auto;
    display: flex;
    gap: 7px;
    padding: 9px;
    overflow-x: auto;
    background: #ffffff;
    scrollbar-width: thin;
}

.main-photo-modal-thumbnail {
    flex: 0 0 105px;
    height: 75px;
    overflow: hidden;
    padding: 0;
    border: 3px solid transparent;
    background: #dce6df;
    border-radius: 8px;
    opacity: 0.68;
    cursor: pointer;
}

.main-photo-modal-thumbnail.is-active {
    border-color: var(--green);
    opacity: 1;
}

.main-photo-modal-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 980px) {
    .main-gallery-grid {
        min-height: auto;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        grid-template-rows:
            330px
            repeat(4, 155px);
    }

    .main-gallery-featured {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .main-photo-stage {
        height: min(62vh, 620px);
    }
}

@media (max-width: 680px) {
    .main-gallery-grid {
        gap: 5px;
        grid-template-rows:
            270px
            repeat(4, 118px);
        border-radius: 14px;
    }

    .main-gallery-open-button {
        right: 11px;
        bottom: 11px;
        min-height: 40px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .main-photo-modal {
        padding: 8px;
    }

    .main-photo-modal-dialog {
        max-height: calc(100vh - 16px);
        border-radius: 15px;
    }

    .main-photo-modal-header {
        min-height: 62px;
        padding: 10px 12px 10px 17px;
    }

    .main-photo-viewer {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        padding: 5px;
    }

    .main-photo-stage {
        height: 56vh;
        min-height: 290px;
    }

    .main-photo-navigation {
        width: 36px;
        height: 36px;
        font-size: 29px;
    }

    .main-photo-modal-thumbnail {
        flex-basis: 85px;
        height: 62px;
    }
}

@media (max-width: 430px) {
    .main-gallery-grid {
        grid-template-rows:
            235px
            repeat(4, 105px);
    }

    .main-photo-stage {
        height: 52vh;
        min-height: 250px;
    }
}

/* CASA HUERTAS GALERIA PRINCIPAL END */


/* CASA HUERTAS GALERIA SIN RECORTE START */

/*
 * La ventana dispone de una altura conocida para que
 * el visor pueda adaptar cualquier proporción de imagen.
 */

.main-photo-modal-dialog {
    width: min(1320px, calc(100vw - 32px));
    height: min(94vh, 980px);
    max-height: calc(100vh - 24px);
}

.main-photo-modal-content {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}

.main-photo-viewer {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
}

/*
 * El escenario ocupa el espacio disponible, pero
 * no obliga a la fotografía a adoptar su proporción.
 */

.main-photo-stage {
    width: 100%;
    height: 100% !important;
    min-width: 0;
    min-height: 0 !important;
    max-height: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    box-sizing: border-box;
    background: #152019;
}

/*
 * Reglas decisivas:
 * anchura y altura naturales, limitadas únicamente
 * por el espacio disponible.
 */

.main-photo-stage img,
.main-photo-modal .main-photo-stage img {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    flex: 0 1 auto;
}

/*
 * Las miniaturas son vistas previas y sí pueden usar
 * recorte para mantener una fila ordenada.
 */

.main-photo-modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*
 * Evita que reglas generales del tema afecten al visor.
 */

.main-photo-modal img {
    border-radius: 0;
}

.main-photo-stage img {
    border-radius: 5px;
}

/*
 * Pantallas con poca altura.
 */

@media (max-height: 760px) and (min-width: 681px) {
    .main-photo-modal-dialog {
        height: calc(100vh - 18px);
        max-height: calc(100vh - 18px);
    }

    .main-photo-modal-header {
        min-height: 60px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .main-photo-modal-thumbnail {
        flex-basis: 82px;
        height: 58px;
    }
}

/*
 * Móviles: se aprovecha prácticamente toda la pantalla.
 */

@media (max-width: 680px) {
    .main-photo-modal-dialog {
        width: calc(100vw - 12px);
        height: calc(100vh - 12px);
        max-height: calc(100vh - 12px);
    }

    .main-photo-modal-content {
        flex: 1 1 auto;
        min-height: 0;
    }

    .main-photo-viewer {
        grid-template-columns:
            38px
            minmax(0, 1fr)
            38px;
    }

    .main-photo-stage {
        height: 100% !important;
        min-height: 0 !important;
        padding: 5px;
    }

    .main-photo-stage img,
    .main-photo-modal .main-photo-stage img {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    .main-photo-modal-thumbnails {
        padding: 6px;
    }

    .main-photo-modal-thumbnail {
        flex-basis: 75px;
        height: 54px;
    }
}

/* CASA HUERTAS GALERIA SIN RECORTE END */






/* CASA HUERTAS GALERIA RECONSTRUIDA START */

.main-photo-gallery {
    position: relative;
    margin: 0 0 38px;
}

.main-photo-gallery .main-gallery-shell {
    width: 100%;
    display: block !important;
}

/*
 * Fotografía principal:
 * horizontal, a todo el ancho y proporción 3:2.
 */

.main-photo-gallery .main-gallery-hero {
    position: relative;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #18251d;
    border-radius: 20px;
    box-shadow:
        0 15px 38px
        rgba(32, 71, 52, 0.16);
}

.main-photo-gallery .main-gallery-hero img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.main-photo-gallery
.main-gallery-hero
img.has-changed {
    animation:
        rebuiltGalleryChange
        0.28s ease;
}

@keyframes rebuiltGalleryChange {
    from {
        opacity: 0.50;
        transform: scale(1.008);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*
 * Nueve miniaturas:
 * cinco en la primera fila y cuatro centradas
 * en la segunda.
 */

.main-photo-gallery .main-gallery-thumb-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns:
        repeat(10, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    gap: 8px;
    margin-top: 8px;
}

.main-photo-gallery
.main-gallery-thumb-grid
.main-gallery-thumbnail {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 2;
    grid-column: span 2;
    grid-row: auto !important;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #dce5df;
    border-radius: 10px;
    box-shadow:
        0 6px 17px
        rgba(32, 71, 52, 0.10);
    cursor: pointer;
    appearance: none;
}

.main-photo-gallery
.main-gallery-thumb-grid
.main-gallery-thumbnail:nth-child(6) {
    grid-column: 2 / span 2;
}

.main-photo-gallery
.main-gallery-thumb-grid
.main-gallery-thumbnail:nth-child(7) {
    grid-column: 4 / span 2;
}

.main-photo-gallery
.main-gallery-thumb-grid
.main-gallery-thumbnail:nth-child(8) {
    grid-column: 6 / span 2;
}

.main-photo-gallery
.main-gallery-thumb-grid
.main-gallery-thumbnail:nth-child(9) {
    grid-column: 8 / span 2;
}

.main-photo-gallery
.main-gallery-thumbnail
img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.main-photo-gallery
.main-gallery-thumbnail:hover
img,
.main-photo-gallery
.main-gallery-thumbnail:focus-visible
img {
    transform: scale(1.035);
    filter: brightness(1.05);
}

.main-photo-gallery
.main-gallery-thumbnail:focus-visible {
    outline:
        3px solid
        rgba(200, 161, 91, 0.95);
    outline-offset: 3px;
}

/*
 * El botón queda fuera de cualquier hueco de imagen.
 */

.main-photo-gallery .main-gallery-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 13px;
}

.main-photo-gallery
.main-gallery-actions
.main-gallery-open-button {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
    padding: 10px 16px;
    color: var(--green-deep);
    border:
        1px solid
        rgba(32, 71, 52, 0.18);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow:
        0 6px 18px
        rgba(32, 71, 52, 0.12);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.main-photo-gallery
.main-gallery-actions
.main-gallery-open-button:hover {
    color: #ffffff;
    background: var(--green);
}

/*
 * El visor ampliado mantiene la fotografía completa.
 */

.main-photo-modal .main-photo-stage img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 980px) {
    .main-photo-gallery .main-gallery-hero {
        aspect-ratio: 3 / 2;
    }

    .main-photo-gallery .main-gallery-thumb-grid {
        grid-template-columns:
            repeat(6, minmax(0, 1fr)) !important;
    }

    .main-photo-gallery
    .main-gallery-thumb-grid
    .main-gallery-thumbnail,
    .main-photo-gallery
    .main-gallery-thumb-grid
    .main-gallery-thumbnail:nth-child(n) {
        grid-column: span 2 !important;
        grid-row: auto !important;
    }
}

@media (max-width: 680px) {
    .main-photo-gallery {
        margin-bottom: 28px;
    }

    .main-photo-gallery .main-gallery-hero {
        aspect-ratio: 3 / 2;
        border-radius: 14px;
    }

    .main-photo-gallery .main-gallery-thumb-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        gap: 5px;
        margin-top: 5px;
    }

    .main-photo-gallery
    .main-gallery-thumb-grid
    .main-gallery-thumbnail,
    .main-photo-gallery
    .main-gallery-thumb-grid
    .main-gallery-thumbnail:nth-child(n) {
        grid-column: auto !important;
        aspect-ratio: 3 / 2;
        border-radius: 7px;
    }

    .main-photo-gallery .main-gallery-actions {
        margin-top: 10px;
    }

    .main-photo-gallery
    .main-gallery-actions
    .main-gallery-open-button {
        width: 100% !important;
    }
}

/* CASA HUERTAS GALERIA RECONSTRUIDA END */


/* CASA HUERTAS GALERIA 12 MINIATURAS START */

/*
 * Anular cualquier posición especial aplicada
 * anteriormente a determinadas miniaturas.
 */

.main-photo-gallery .main-gallery-thumb-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns:
        repeat(6, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    gap: 8px !important;
}

.main-photo-gallery
.main-gallery-thumb-grid
.main-gallery-thumbnail,
.main-photo-gallery
.main-gallery-thumb-grid
.main-gallery-thumbnail:nth-child(n) {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 9px;
}

.main-photo-gallery
.main-gallery-thumb-grid
.main-gallery-thumbnail
img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/*
 * Foto principal horizontal.
 * Se muestra completa dentro de su hueco.
 */

.main-photo-gallery .main-gallery-hero {
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
}

.main-photo-gallery .main-gallery-hero img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 980px) {
    .main-photo-gallery .main-gallery-thumb-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .main-photo-gallery .main-gallery-thumb-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }
}

/* CASA HUERTAS GALERIA 12 MINIATURAS END */


/* CASA HUERTAS ICONO POZO START */

.site-brand .brand-mark.brand-mark-well {
    width: 42px;
    height: 58px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.site-brand .brand-mark-well img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    filter:
        drop-shadow(
            0 3px 4px
            rgba(50, 29, 18, 0.22)
        );
}

.host-badge.host-badge-well {
    width: 66px;
    height: 88px;
    flex: 0 0 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.host-badge-well img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    filter:
        drop-shadow(
            0 4px 5px
            rgba(50, 29, 18, 0.20)
        );
}

@media (max-width: 680px) {
    .site-brand .brand-mark.brand-mark-well {
        width: 36px;
        height: 51px;
        flex-basis: 36px;
    }

    .host-badge.host-badge-well {
        width: 57px;
        height: 78px;
        flex-basis: 57px;
    }
}

/* CASA HUERTAS ICONO POZO END */


/* CASA HUERTAS TIPOGRAFIA RUSTICA START */

@font-face {
    font-family: "Cormorant Garamond";
    src:
        url("assets/fonts/cormorant-garamond/CormorantGaramond-SemiBold.woff2")
        format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src:
        url("assets/fonts/cormorant-garamond/CormorantGaramond-Bold.woff2")
        format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --rustic-font:
        "Cormorant Garamond",
        "Iowan Old Style",
        "Palatino Linotype",
        "Book Antiqua",
        Palatino,
        Georgia,
        serif;

    --rustic-brown: #5b3928;
    --rustic-brown-dark: #44291e;
}

/*
 * Nombre de la propiedad en la cabecera.
 */

.site-brand .brand-name {
    display: inline-block;
    color: var(--rustic-brown-dark);
    font-family: var(--rustic-font);
    font-size: clamp(22px, 2.15vw, 29px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0.012em;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.72);
}

/*
 * Título principal de la portada.
 */

.listing-header h1 {
    font-family: var(--rustic-font);
    font-size: clamp(43px, 6vw, 68px);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.018em;
}

/*
 * Encabezados principales de la web.
 * Los párrafos, menús y botones mantienen la fuente
 * limpia anterior para no perder legibilidad.
 */

.property-summary h2,
.listing-section > h2,
.description > h2,
.spaces-heading h2,
.reviews-section .section-title,
.location-heading .section-title,
.contact-introduction h2,
.booking-card > h2,
.space-tile-copy strong,
.space-detail-header h2,
.space-modal-description h3,
.main-photo-modal-header h2,
.avaibook-modal-header h2 {
    font-family: var(--rustic-font);
    font-weight: 600;
    letter-spacing: -0.008em;
}

/*
 * Algunos títulos necesitan un pequeño aumento porque
 * Cormorant Garamond tiene una altura visual menor.
 */

.property-summary h2 {
    font-size: clamp(29px, 3.2vw, 39px);
    line-height: 1.03;
}

.listing-section > h2,
.description > h2 {
    font-size: clamp(30px, 3.5vw, 42px);
    line-height: 1.04;
}

.booking-card > h2 {
    font-size: clamp(27px, 2.7vw, 34px);
    line-height: 1.05;
}

.space-tile-copy strong {
    font-size: clamp(22px, 2.3vw, 29px);
    line-height: 1;
}

/*
 * Etiquetas en mayúsculas con un tono más cálido.
 */

.listing-kicker,
.reviews-eyebrow,
.contact-kicker,
.main-photo-modal-kicker,
.avaibook-modal-kicker {
    letter-spacing: 0.14em;
}

/*
 * Evitar saltos incómodos en el nombre del alojamiento.
 */

@media (min-width: 981px) {
    .site-brand .brand-name {
        white-space: nowrap;
    }
}

@media (max-width: 980px) {
    .site-brand .brand-name {
        font-size: 22px;
        line-height: 0.98;
    }
}

@media (max-width: 680px) {
    .site-brand .brand-name {
        max-width: 185px;
        font-size: 20px;
        line-height: 0.94;
        white-space: normal;
    }

    .listing-header h1 {
        font-size: clamp(39px, 13vw, 54px);
    }
}

@media (max-width: 430px) {
    .site-brand .brand-name {
        max-width: 165px;
        font-size: 19px;
    }
}

/* CASA HUERTAS TIPOGRAFIA RUSTICA END */


/* CASA HUERTAS MARCA BERKSHIRE START */

@font-face {
    font-family: "Berkshire Swash";
    src:
        url("assets/fonts/berkshire-swash/BerkshireSwash-Regular.ttf")
        format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --house-rustic-font:
        "Berkshire Swash",
        "IM FELL English SC",
        "Cormorant Garamond",
        Georgia,
        serif;

    --house-wood: #573421;
    --house-wood-dark: #3f2417;
    --house-wood-light: #936344;
}

/*
 * Nombre de la vivienda junto al icono del pozo.
 */

body .site-brand .brand-name {
    color: var(--house-wood) !important;
    font-family: var(--house-rustic-font) !important;
    font-size: clamp(25px, 2.45vw, 33px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-synthesis: none;
    line-height: 0.95 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85),
        0 2px 4px rgba(58, 31, 18, 0.13) !important;
}

/*
 * Gran título de portada.
 */

body .listing-header h1 {
    display: block;
    margin-bottom: 0;
    color: var(--house-wood-dark) !important;
    font-family: var(--house-rustic-font) !important;
    font-size: clamp(50px, 6.7vw, 80px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-synthesis: none;
    line-height: 0.93 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.82),
        0 3px 6px rgba(65, 35, 21, 0.09) !important;
}

/*
 * Desactivar la antigua línea generada por CSS.
 */

body .listing-header h1::after {
    display: none !important;
    content: none !important;
}

/*
 * Línea ornamental real y claramente visible.
 */

.heritage-title-ornament {
    position: relative;
    width: 170px;
    height: 3px;
    display: block;
    margin: 18px 0 21px;
    background:
        linear-gradient(
            to right,
            var(--house-wood),
            var(--house-wood-light) 68%,
            rgba(147, 99, 68, 0.10)
        );
    border-radius: 999px;
}

.heritage-title-ornament::before {
    position: absolute;
    top: 50%;
    left: 62%;
    width: 11px;
    height: 11px;
    content: "";
    background: var(--house-wood-light);
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow:
        0 0 0 1px
        rgba(87, 52, 33, 0.28);
    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

.heritage-title-ornament::after {
    position: absolute;
    top: 50%;
    left: 75%;
    width: 5px;
    height: 5px;
    content: "";
    background: var(--house-wood);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/*
 * Seguridad adicional: la sección eliminada no debe
 * mostrarse aunque quedase contenido en caché.
 */

#opiniones,
.reviews-section {
    display: none !important;
}

@media (min-width: 981px) {
    body .site-brand .brand-name {
        white-space: nowrap;
    }
}

@media (max-width: 980px) {
    body .site-brand .brand-name {
        font-size: 25px !important;
    }

    body .listing-header h1 {
        font-size: clamp(48px, 8vw, 68px) !important;
    }
}

@media (max-width: 680px) {
    body .site-brand .brand-name {
        max-width: 190px;
        font-size: 22px !important;
        line-height: 0.94 !important;
        white-space: normal;
    }

    body .listing-header h1 {
        font-size: clamp(43px, 13vw, 61px) !important;
    }

    .heritage-title-ornament {
        width: 135px;
        margin-top: 15px;
        margin-bottom: 18px;
    }
}

@media (max-width: 430px) {
    body .site-brand .brand-name {
        max-width: 165px;
        font-size: 20px !important;
    }
}

/* CASA HUERTAS MARCA BERKSHIRE END */




/* CASA HUERTAS LINEA LARGA START */

/*
 * Título principal ligeramente más pequeño.
 */

body .listing-header h1 {
    font-size: clamp(42px, 5vw, 60px) !important;
    line-height: 0.96 !important;
}

/*
 * Línea ornamental larga, prácticamente del ancho
 * del título.
 */

.heritage-title-ornament {
    position: relative;
    width: min(680px, 100%);
    max-width: 100%;
    height: 3px;
    display: block;
    margin: 18px 0 22px;
    background:
        linear-gradient(
            to right,
            #573421 0%,
            #573421 88%,
            rgba(87, 52, 33, 0.08) 100%
        );
    border-radius: 999px;
}

/*
 * Conservar solo el rombo ornamental.
 */

.heritage-title-ornament::before {
    top: 50%;
    left: 42%;
    width: 11px;
    height: 11px;
    background: #936344;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 0 0 1px
        rgba(87, 52, 33, 0.28);
    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

/*
 * Eliminar el punto pequeño situado a la derecha.
 */

.heritage-title-ornament::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 980px) {
    body .listing-header h1 {
        font-size: clamp(41px, 6.5vw, 56px) !important;
    }

    .heritage-title-ornament {
        width: min(590px, 100%);
    }
}

@media (max-width: 680px) {
    body .listing-header h1 {
        font-size: clamp(36px, 10vw, 48px) !important;
        line-height: 0.98 !important;
    }

    .heritage-title-ornament {
        width: 100%;
        margin-top: 15px;
        margin-bottom: 19px;
    }

    .heritage-title-ornament::before {
        left: 45%;
    }
}

/* CASA HUERTAS LINEA LARGA END */




/* CASA HUERTAS POZO VERTICAL Y FONDO TENUE START */

/*
 * El pozo de la ficha se extiende verticalmente junto
 * al título y los tres elementos destacados.
 *
 * El pozo pequeño de la cabecera no se modifica.
 */

@media (min-width: 1181px) {
    .listing-content {
        position: relative;
    }

    .listing-content > #la-casa,
    .listing-content > #la-casa + .listing-section {
        padding-right: 245px;
    }

    .property-summary {
        position: static !important;
    }

    .property-summary > div:first-child {
        width: 100%;
        min-width: 0;
    }

    .property-summary
    .host-badge.host-badge-well {
        position: absolute !important;
        top: 6px;
        right: 0;
        z-index: 3;

        width: 225px !important;
        height: 338px !important;
        min-width: 225px !important;
        max-width: 225px !important;
        flex: 0 0 225px !important;

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

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

        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .property-summary
    .host-badge-well
    img {
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        display: block;
        object-fit: contain !important;
        object-position: center top !important;

        filter:
            drop-shadow(
                0 9px 10px
                rgba(50, 29, 18, 0.24)
            );
    }
}

/*
 * Ordenadores y tabletas de anchura intermedia.
 */

@media (min-width: 981px) and (max-width: 1180px) {
    .listing-content {
        position: relative;
    }

    .listing-content > #la-casa,
    .listing-content > #la-casa + .listing-section {
        padding-right: 195px;
    }

    .property-summary {
        position: static !important;
    }

    .property-summary
    .host-badge.host-badge-well {
        position: absolute !important;
        top: 12px;
        right: 0;
        z-index: 3;

        width: 178px !important;
        height: 267px !important;
        min-width: 178px !important;
        max-width: 178px !important;
        flex: 0 0 178px !important;

        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .property-summary
    .host-badge-well
    img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center top !important;
    }
}

/*
 * En móvil vuelve a integrarse junto al título para
 * evitar que tape el contenido.
 */

@media (max-width: 980px) {
    .property-summary
    .host-badge.host-badge-well {
        position: static !important;

        width: 92px !important;
        height: 138px !important;
        min-width: 92px !important;
        flex: 0 0 92px !important;

        margin-left: 18px !important;
    }

    .property-summary
    .host-badge-well
    img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

@media (max-width: 680px) {
    .property-summary
    .host-badge.host-badge-well {
        width: 76px !important;
        height: 114px !important;
        min-width: 76px !important;
        flex-basis: 76px !important;
        margin-left: 10px !important;
    }
}

/*
 * Fotografía general de fondo algo más discreta.
 * La imagen no se sustituye ni se modifica:
 * únicamente aumenta la capa clara situada encima.
 */

body {
    background-image:
        linear-gradient(
            rgba(248, 247, 242, 0.82),
            rgba(248, 247, 242, 0.82)
        ),
        url("assets/fondo-casa-huertas.jpg") !important;
}

/* CASA HUERTAS POZO VERTICAL Y FONDO TENUE END */


/* CASA HUERTAS LA CASA UNA LINEA START */

/*
 * Mantiene en una sola línea el enlace a la sección
 * La casa en los cuatro idiomas.
 */

.primary-navigation a[href$="#la-casa"] {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
}

/* CASA HUERTAS LA CASA UNA LINEA END */








/* CASA HUERTAS AVAIBOOK PORTAL BODY START */

/*
 * La raíz trasladada al body queda fuera de la columna
 * sticky y de cualquier capa de la ficha de alojamiento.
 */

html body > .avaibook-modal {
    position: fixed !important;
    z-index: 2147483000 !important;

    inset: 0 !important;

    width: 100vw !important;
    max-width: none !important;

    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;

    isolation: isolate;

    margin: 0 !important;

    transform: none;
    filter: none;
    perspective: none;
}

/*
 * Fondo oscuro del modal.
 */

html body > .avaibook-modal
.avaibook-modal-backdrop {
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 !important;
}

/*
 * Panel blanco de reserva.
 */

html body > .avaibook-modal
.avaibook-modal-dialog {
    position: relative !important;
    z-index: 1 !important;
}

/*
 * El iframe ocupa el contenido del panel y recibe
 * todas las pulsaciones de esa zona.
 */

html body > .avaibook-modal
.avaibook-modal-content,
html body > .avaibook-modal
.avaibook-iframe-wrap {
    position: relative;
    z-index: 1;
    background: #ffffff !important;
}

html body > .avaibook-modal
.avaibook-booking-iframe {
    position: relative;
    z-index: 2 !important;
    background: #ffffff !important;
}

/*
 * Mientras la reserva está abierta, se bloquea el
 * desplazamiento de la página situada detrás.
 */

html:has(body.avaibook-modal-open),
body.avaibook-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

/*
 * Protección adicional:
 * las otras ventanas de la web permanecen por debajo.
 */

.space-detail-modal,
.main-photo-modal {
    z-index: 10060;
}

/* CASA HUERTAS AVAIBOOK PORTAL BODY END */


/* CASA HUERTAS CUPON WEB START */

/*
 * Cupón exclusivo para reservas directas.
 */

.web-coupon-card {
    position: relative;

    margin: 19px 0 2px;
    padding: 18px;

    overflow: hidden;

    border:
        1px dashed
        rgba(147, 99, 68, 0.58);

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(200, 161, 91, 0.18),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(255, 253, 247, 0.98),
            rgba(244, 239, 225, 0.96)
        );

    border-radius: 14px;

    box-shadow:
        0 8px 24px
        rgba(50, 29, 18, 0.08);
}

.web-coupon-eyebrow {
    display: block;

    margin-bottom: 6px;

    color: var(--green);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 0.09em;
    line-height: 1.3;

    text-transform: uppercase;
}

.web-coupon-title {
    display: block;

    color: var(--green-deep);

    font-family: var(--rustic-font);
    font-size: 23px;
    font-weight: 600;

    line-height: 1.08;
}

.web-coupon-description {
    margin: 9px 0 15px;

    color: var(--text);

    font-size: 13px;
    line-height: 1.52;
}

.web-coupon-code-row {
    display: flex;
    align-items: stretch;
    gap: 9px;
}

.web-coupon-code-box {
    min-width: 0;
    flex: 1 1 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 10px 13px;

    border:
        1px solid
        rgba(47, 107, 79, 0.27);

    background: rgba(255, 255, 255, 0.88);

    border-radius: 10px;
}

.web-coupon-code-label {
    min-width: 0;

    color: var(--muted);

    font-size: 11px;
    font-weight: 700;

    line-height: 1.2;
}

.web-coupon-code-box code {
    flex: 0 0 auto;

    padding: 3px 7px;

    color: var(--green-deep);
    background: var(--green-soft);

    border-radius: 6px;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 17px;
    font-weight: 900;

    letter-spacing: 0.08em;
}

.web-coupon-copy {
    flex: 0 0 auto;

    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 9px 13px;

    border:
        1px solid
        rgba(47, 107, 79, 0.36);

    color: var(--green-deep);
    background: #ffffff;

    border-radius: 10px;

    cursor: pointer;

    font-size: 12px;
    font-weight: 800;

    transition:
        color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.web-coupon-copy:hover,
.web-coupon-copy:focus-visible {
    color: #ffffff;
    background: var(--green);

    transform: translateY(-1px);
}

.web-coupon-copy.is-copied {
    color: #ffffff;
    background: var(--green);
}

.web-coupon-copy:focus-visible {
    outline:
        3px solid
        rgba(47, 107, 79, 0.20);

    outline-offset: 2px;
}

@media (max-width: 430px) {
    .web-coupon-code-row {
        flex-direction: column;
    }

    .web-coupon-copy {
        width: 100%;
    }
}

/* CASA HUERTAS CUPON WEB END */




/* CASA HUERTAS POSICION POZO START */

/*
 * El pozo se sitúa junto a los tres elementos destacados.
 *
 * En escritorio:
 * - parte superior frente a Llegada autónoma;
 * - parte inferior frente a Wi-Fi de alta velocidad.
 */

@media (min-width: 981px) {
    .property-summary
    .host-badge.host-badge-well
    img {
        position: relative !important;
        top: 128px !important;
    }
}

/*
 * En móvil se mantiene integrado junto al encabezado,
 * evitando que invada el texto.
 */

@media (max-width: 980px) {
    .property-summary
    .host-badge.host-badge-well
    img {
        position: relative !important;
        top: 28px !important;
    }
}

/* CASA HUERTAS POSICION POZO END */


/* CASA HUERTAS HORARIOS FLEXIBLES START */

/*
 * Nota situada debajo de las tarjetas de llegada,
 * salida y capacidad.
 */

.stay-time-flexibility {
    width: 100%;

    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 18px 0 0;
    padding: 13px 15px;

    color: var(--muted);

    background:
        rgba(47, 107, 79, 0.07);

    border:
        1px solid
        rgba(47, 107, 79, 0.18);

    border-left:
        4px solid
        var(--green);

    border-radius: 9px;

    font-size: 13px;
    line-height: 1.5;
}

.stay-time-flexibility-icon {
    flex: 0 0 auto;

    color: var(--green);

    font-size: 19px;
    font-weight: 800;
    line-height: 1.05;
}

/*
 * El texto introductorio de Estancias y espacios ha sido
 * eliminado. Evitamos que un párrafo vacío reserve espacio.
 */

.spaces-heading > p:empty {
    display: none !important;
    margin: 0 !important;
}

/* CASA HUERTAS HORARIOS FLEXIBLES END */




/* CASA HUERTAS CONTACTOS DOBLES START */

.contact-card-phones {
    display: block;
}

.contact-card-heading {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 14px;
}

.contact-card-symbol {
    width: 31px;
    height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--green-deep);
    background: rgba(47, 107, 79, 0.10);

    border-radius: 50%;

    font-size: 17px;
    line-height: 1;
}

.contact-card-phones .contact-card-label {
    margin: 0;
}

.contact-phone-list {
    display: grid;
    gap: 15px;
}

.contact-phone-entry {
    display: grid;
    gap: 10px;

    margin: 0;
    padding: 13px;

    background: rgba(47, 107, 79, 0.045);

    border:
        1px solid
        rgba(47, 107, 79, 0.16);

    border-radius: 10px;
}

.contact-phone-number-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contact-phone-number {
    color: var(--green-deep);

    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.contact-phone-number:hover,
.contact-phone-number:focus-visible {
    text-decoration: underline;
}

.contact-language-flags {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.contact-language-flag {
    min-width: 25px;
    min-height: 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 2px;

    background: rgba(255, 255, 255, 0.86);

    border:
        1px solid
        rgba(47, 107, 79, 0.16);

    border-radius: 6px;

    font-size: 18px;
    line-height: 1;

    box-shadow:
        0 2px 7px
        rgba(32, 71, 52, 0.08);
}

.contact-phone-actions {
    display: grid;

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

    gap: 8px;
}

.contact-phone-action {
    min-height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 8px 10px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
}

.contact-phone-action:hover,
.contact-phone-action:focus-visible {
    transform: translateY(-1px);
}

.contact-phone-action-call {
    color: var(--green-deep);
    background: #ffffff;

    border:
        1px solid
        rgba(47, 107, 79, 0.42);
}

.contact-phone-action-whatsapp {
    color: #ffffff;
    background: #28764f;

    border:
        1px solid
        #28764f;

    box-shadow:
        0 5px 13px
        rgba(40, 118, 79, 0.18);
}

@media (max-width: 430px) {
    .contact-phone-entry {
        padding: 11px;
    }

    .contact-phone-number {
        font-size: 15px;
    }

    .contact-phone-action {
        padding-right: 7px;
        padding-left: 7px;

        font-size: 12px;
    }
}

/* CASA HUERTAS CONTACTOS DOBLES END */


/* CASA HUERTAS CONTACTOS COMPACTOS START */

/*
 * Cada teléfono se muestra en una única línea:
 *
 * número · banderas · llamar · WhatsApp
 */

.contact-card-phones {
    padding: 14px !important;
}

.contact-card-phones .contact-card-heading {
    margin-bottom: 9px !important;
}

.contact-card-phones .contact-phone-list {
    gap: 8px !important;
}

.contact-card-phones .contact-phone-entry {
    min-width: 0;

    display: grid !important;
    grid-template-columns:
        minmax(155px, 1fr)
        auto !important;

    align-items: center !important;
    gap: 9px !important;

    padding: 8px 10px !important;
}

.contact-card-phones .contact-phone-number-line {
    min-width: 0;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
}

.contact-card-phones .contact-phone-number {
    flex: 0 1 auto;

    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

.contact-card-phones .contact-language-flags {
    flex: 0 0 auto;

    gap: 3px !important;
    margin: 0 !important;
}

.contact-card-phones .contact-language-flag {
    min-width: 21px !important;
    min-height: 21px !important;

    padding: 1px !important;

    font-size: 15px !important;
}

.contact-card-phones .contact-phone-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.contact-card-phones .contact-phone-action {
    width: auto !important;
    min-width: 72px !important;
    min-height: 32px !important;

    padding: 5px 9px !important;

    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap;
}

/*
 * Ajuste para pantallas estrechas manteniendo una línea.
 */

@media (max-width: 520px) {
    .contact-card-phones {
        padding: 11px !important;
    }

    .contact-card-phones .contact-phone-entry {
        grid-template-columns:
            minmax(125px, 1fr)
            auto !important;

        gap: 5px !important;

        padding: 7px !important;
    }

    .contact-card-phones .contact-phone-number-line {
        gap: 4px !important;
    }

    .contact-card-phones .contact-phone-number {
        font-size: 12px !important;
    }

    .contact-card-phones .contact-language-flag {
        min-width: 18px !important;
        min-height: 18px !important;

        font-size: 13px !important;
    }

    .contact-card-phones .contact-phone-actions {
        gap: 4px !important;
    }

    .contact-card-phones .contact-phone-action {
        min-width: 58px !important;
        min-height: 29px !important;

        gap: 3px !important;
        padding: 4px 6px !important;

        font-size: 11px !important;
    }
}

/* CASA HUERTAS CONTACTOS COMPACTOS END */

/* CASA HUERTAS: CANCELLATION POLICY START */

.ch-cancellation-strip,
.ch-cancellation-summary,
.ch-cancellation-booking-notice {
    display: none !important;
}

.ch-cancellation-trigger {
    cursor: pointer !important;
}

.ch-cancellation-trigger:focus-visible {
    outline: 3px solid rgba(31, 104, 69, 0.32);
    outline-offset: 3px;
}

.ch-cancellation-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0.75rem 0 0;
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(31, 104, 69, 0.2);
    border-radius: 11px;
    background: #edf7f0;
    color: #244c38;
}

.ch-cancellation-inline-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-top: 0.05rem;
    border-radius: 50%;
    background: #26724c;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
}

.ch-cancellation-inline-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.ch-cancellation-inline-title {
    margin: 0;
    color: #174c32;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.3;
}

.ch-cancellation-inline-text {
    margin-top: 0.18rem;
    color: #365d49;
    font-size: 0.78rem;
    line-height: 1.4;
}

.ch-cancellation-inline-link {
    margin-top: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1c6844;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.ch-cancellation-inline-link:hover,
.ch-cancellation-inline-link:focus-visible {
    color: #103d28;
}

.ch-cancellation-iframe-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.7rem;
    margin: 0 0 0.8rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(31, 104, 69, 0.2);
    border-radius: 11px;
    background: #edf7f0;
    color: #365d49;
    font-size: 0.84rem;
    line-height: 1.4;
}

.ch-cancellation-iframe-notice strong {
    width: 100%;
    color: #174c32;
}

.ch-cancellation-iframe-notice span {
    flex: 1 1 260px;
}

.ch-cancellation-iframe-notice button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #1c6844;
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.ch-cancellation-modal[hidden] {
    display: none !important;
}

.ch-cancellation-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 1.25rem;
    background: rgba(13, 25, 19, 0.68);
    backdrop-filter: blur(4px);
}

.ch-cancellation-dialog {
    position: relative;
    width: min(100%, 590px);
    max-height: 88vh;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 1.8rem;
    border-radius: 20px;
    background: #fff;
    color: #293c32;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.ch-cancellation-dialog:focus {
    outline: none;
}

.ch-cancellation-modal-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    background: #e3f2e7;
    color: #1e7047;
    font-size: 1.45rem;
    font-weight: 800;
}

.ch-cancellation-title {
    margin: 0 2.4rem 1rem 0;
    color: #174c32;
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    line-height: 1.2;
}

.ch-cancellation-dialog p {
    margin: 0 0 0.85rem;
    line-height: 1.58;
}

.ch-cancellation-final {
    margin-top: 1.1rem !important;
    padding: 0.75rem 0.9rem;
    border-left: 4px solid #39845b;
    border-radius: 4px 9px 9px 4px;
    background: #f1f7f3;
    color: #355845;
    font-size: 0.9rem;
}

.ch-cancellation-close-top {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #43594d;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
}

.ch-cancellation-close-top:hover,
.ch-cancellation-close-top:focus-visible {
    background: #edf4ef;
}

.ch-cancellation-close {
    min-height: 43px;
    margin-top: 0.4rem;
    padding: 0.6rem 1.15rem;
    border: 1px solid #1f6845;
    border-radius: 999px;
    background: #1f6845;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.ch-cancellation-close:hover,
.ch-cancellation-close:focus-visible {
    background: #174d34;
}

body.ch-cancellation-modal-open {
    overflow: hidden;
}

@media (max-width: 620px) {
    .ch-cancellation-modal {
        align-items: end;
        padding: 0;
    }

    .ch-cancellation-dialog {
        width: 100%;
        max-height: 92vh;
        padding: 1.45rem 1.15rem 1.3rem;
        border-radius: 20px 20px 0 0;
    }

    .ch-cancellation-inline {
        padding: 0.7rem;
    }
}

/* CASA HUERTAS: CANCELLATION POLICY END */

/* CASA HUERTAS: BOOKING BUTTON SPACING START */

.ch-booking-button-spaced {
    margin-top: 1rem !important;
}

/* CASA HUERTAS: BOOKING BUTTON SPACING END */

/* CASA HUERTAS: LANGUAGE FLAGS START */

.language-switcher a {
    min-width: 33px !important;
    height: 31px !important;
    padding: 0 5px !important;

    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.language-switcher a.is-active {
    color: inherit !important;
}

@media (max-width: 1120px) {
    .language-switcher a {
        min-width: 31px !important;
        padding: 0 4px !important;
        font-size: 18px !important;
    }
}

/* CASA HUERTAS: LANGUAGE FLAGS END */
