/* Villa Noktas? — property detail. Scoped to body.vn-property. */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Outfit:wght@300;400;500&display=swap");

.vn-property {
    --vn-ivory: #f6f3ec;
    --vn-sand: #d8c9b0;
    --vn-olive: #555c4a;
    --vn-charcoal: #242722;
    --vn-white: #ffffff;
    --vn-serif: "Cormorant Garamond", "Times New Roman", serif;
    --vn-sans: "Outfit", "Nunito Sans", sans-serif;
    background: var(--vn-ivory);
    overflow-x: hidden;
}

.vn-property .vn-detail-wrap {
    width: min(1240px, calc(100% - 8vw));
    margin: 0 auto;
}

.vn-property .vn-kicker {
    margin: 0 0 10px;
    color: var(--vn-olive);
    font-family: var(--vn-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.vn-property .vn-detail-intro .vn-kicker {
    color: var(--vn-sand);
}

/* Navigation — match homepage editorial bar on this page only */
.vn-property #ftco-navbar {
    position: absolute !important;
    top: 0 !important;
    right: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    padding: 18px 0 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(246, 243, 236, 0.16);
    box-shadow: none !important;
}

.vn-property #ftco-navbar .navbar-nav > .nav-item > .nav-link,
.vn-property #ftco-navbar .navbar-nav .nav-item .nav-link {
    color: var(--vn-ivory) !important;
    font-family: var(--vn-sans) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    text-shadow: 0 1px 10px rgba(36, 39, 34, 0.35) !important;
}

.vn-property #ftco-navbar .navbar-contact-info,
.vn-property #ftco-navbar .navbar-contact-info .contact-item,
.vn-property #ftco-navbar .text-turquoise,
.vn-property #ftco-navbar .navbar-toggler {
    color: var(--vn-sand) !important;
}

.vn-property #ftco-navbar.scrolled,
.vn-property .ftco-navbar-light.scrolled {
    position: fixed !important;
    background: rgba(246, 243, 236, 0.94) !important;
    border-bottom: 1px solid rgba(36, 39, 34, 0.08);
    box-shadow: 0 8px 30px rgba(36, 39, 34, 0.06) !important;
}

.vn-property #ftco-navbar.scrolled .navbar-nav .nav-item .nav-link {
    color: var(--vn-charcoal) !important;
    text-shadow: none !important;
}

.vn-property #ftco-navbar.scrolled .navbar-contact-info,
.vn-property #ftco-navbar.scrolled .navbar-contact-info .contact-item,
.vn-property #ftco-navbar.scrolled .text-turquoise,
.vn-property #ftco-navbar.scrolled .navbar-toggler {
    color: var(--vn-olive) !important;
}

.vn-property #ftco-navbar.scrolled .vn-nav__brand img {
    filter: none;
}

.vn-property .vn-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.vn-property .vn-nav__brand img {
    height: 44px;
    filter: invert(1) brightness(1.8) drop-shadow(0 1px 8px rgba(36, 39, 34, 0.35));
}

.vn-property .vn-nav__wordmark {
    color: var(--vn-ivory);
}

.vn-property #ftco-navbar.scrolled .vn-nav__wordmark {
    color: var(--vn-charcoal);
}

.vn-property #ftco-navbar .navbar-contact-info.d-lg-flex {
    order: 2;
    margin-left: 28px;
}

.vn-property #ftco-navbar #ftco-nav {
    order: 1;
    flex-grow: 1;
}

.vn-property #ftco-navbar .custom-nav {
    margin-left: auto !important;
}

.vn-property .photo-absolute-logo {
    display: none !important;
}

.vn-property .vn-footer {
    padding: 64px 0 28px !important;
    background: #1c1f1c !important;
}

.vn-property .vn-footer .ftco-heading-2,
.vn-property .vn-footer p,
.vn-property .vn-footer a,
.vn-property .vn-footer .text {
    color: #f6f3ec !important;
    font-family: var(--vn-sans);
}

/* Intro / breadcrumb over first photograph */
.vn-property .vn-detail-intro {
    position: relative;
    min-height: 52vh;
    overflow: hidden;
    background: var(--vn-charcoal);
    color: var(--vn-ivory);
}

.vn-property .vn-detail-intro__media {
    position: absolute;
    inset: 0;
}

.vn-property .vn-detail-intro__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.vn-property .vn-detail-intro__media img.is-missing {
    visibility: hidden;
}

.vn-property .vn-detail-intro__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(22, 24, 21, 0.72) 0%, rgba(36, 39, 34, 0.28) 48%, rgba(36, 39, 34, 0.12) 100%),
        linear-gradient(180deg, rgba(36, 39, 34, 0.4) 0%, transparent 40%, rgba(36, 39, 34, 0.55) 100%);
}

.vn-property .vn-detail-intro__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 52vh;
    padding: 22vh 8vw 8vh;
}

.vn-property .vn-detail-crumb {
    margin: 0 0 18px;
    font-family: var(--vn-sans);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vn-property .vn-detail-crumb a {
    color: var(--vn-sand);
}

.vn-property .vn-detail-crumb a:hover,
.vn-property .vn-detail-crumb a:focus {
    color: var(--vn-ivory);
}

.vn-property .vn-detail-crumb span {
    color: rgba(246, 243, 236, 0.72);
}

.vn-property .vn-detail-title {
    margin: 0 0 12px;
    color: var(--vn-ivory);
    font-family: var(--vn-serif);
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.96;
}

.vn-property .vn-detail-place {
    margin: 0 0 22px;
    color: var(--vn-sand);
    font-family: var(--vn-sans);
    font-size: 0.95rem;
    font-weight: 300;
}

.vn-property .vn-detail-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--vn-ivory);
    font-family: var(--vn-sans);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vn-property .vn-detail-specs li {
    padding: 0 16px;
    border-left: 1px solid rgba(246, 243, 236, 0.35);
}

.vn-property .vn-detail-specs li:first-child {
    padding-left: 0;
    border-left: 0;
}

/* Body layout */
.vn-property .vp-body-wrapper {
    padding: 72px 0 120px;
    background: var(--vn-ivory);
    font-family: var(--vn-sans);
    color: var(--vn-charcoal);
}

.vn-property .vn-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
    gap: 56px;
    align-items: start;
}

.vn-property .vn-carousel {
    position: relative;
    height: clamp(280px, 58vh, 640px);
    margin: 0;
    outline: none;
    touch-action: pan-y;
}

.vn-property .vn-carousel:focus-visible {
    outline: 1px solid var(--vn-olive);
    outline-offset: 4px;
}

.vn-property .vn-carousel__viewport {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #d8c9b0;
}

.vn-property .vn-carousel__slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    cursor: zoom-in;
}

.vn-property .vn-carousel__slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.vn-property .vn-carousel__slide img,
.vn-property .vp-slider-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vn-property .vn-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: rgba(246, 243, 236, 0.9);
    color: var(--vn-charcoal);
    transform: translateY(-50%);
    cursor: pointer;
}

.vn-property .vn-carousel__nav--prev { left: 16px; }
.vn-property .vn-carousel__nav--next { right: 16px; }

.vn-property .vn-carousel__nav:hover,
.vn-property .vn-carousel__nav:focus {
    background: var(--vn-ivory);
}

.vn-property .vn-carousel__nav:focus-visible {
    outline: 1px solid var(--vn-olive);
    outline-offset: 3px;
}

.vn-property .vn-carousel--single .vn-carousel__nav {
    display: none;
}

.vn-property .vn-carousel__count {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    margin: 0;
    padding: 7px 10px;
    background: rgba(36, 39, 34, 0.62);
    color: var(--vn-ivory);
    font-family: var(--vn-sans);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
}

.vn-property .vn-detail-section {
    margin-bottom: 56px;
    padding-top: 8px;
    border-top: 1px solid rgba(36, 39, 34, 0.12);
}

.vn-property .vn-detail-section h2,
.vn-property .vp-section-main-title {
    margin: 28px 0 18px;
    border: 0;
    padding: 0;
    color: var(--vn-charcoal);
    font-family: var(--vn-serif);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.vn-property .vn-detail-copy,
.vn-property .vn-detail-section p {
    margin: 0;
    color: #4f4d48;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.8;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.vn-property .vp-row-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(36, 39, 34, 0.08);
}

.vn-property .vp-row-item:last-child {
    border-bottom: 0;
}

.vn-property .vp-room-type-title {
    margin: 0 0 6px;
    color: var(--vn-charcoal);
    font-family: var(--vn-serif);
    font-size: 1.35rem;
    font-weight: 500;
}

.vn-property .vp-room-type-title i {
    color: var(--vn-olive);
}

.vn-property .vp-room-details-sub {
    padding-left: 0;
    color: #6a675f;
    font-size: 14px;
}

.vn-property .vp-room-badges-right {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--vn-olive);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vn-property .vp-badge-klima,
.vn-property .vp-badge-banyo {
    color: var(--vn-olive);
}

.vn-property .vp-dist-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.vn-property .vp-dist-card {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(36, 39, 34, 0.08);
    background: transparent;
    border-radius: 0;
}

.vn-property .vp-dist-card .badge {
    padding: 0;
    border: 0;
    background: transparent !important;
    color: var(--vn-olive) !important;
    font-family: var(--vn-sans);
    font-size: 13px;
    font-weight: 400;
}

/* Booking panel — visual only; IDs and JS contract unchanged */
.vn-property .vp-sticky-sidebar {
    position: sticky;
    top: 96px;
    max-width: 100%;
    padding: 28px 28px 24px;
    border: 1px solid rgba(36, 39, 34, 0.1);
    border-radius: 0;
    background: var(--vn-white);
    box-shadow: none;
}

.vn-property .vp-sticky-sidebar > h5,
.vn-property .vn-book__title {
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(36, 39, 34, 0.1);
    color: var(--vn-charcoal) !important;
    font-family: var(--vn-serif);
    font-size: 1.7rem;
    font-weight: 500;
}

.vn-property .vn-book__note {
    margin: 0 0 16px;
    color: #6a675f;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
}

.vn-property .vp-price-summary-box {
    margin-top: 18px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(36, 39, 34, 0.1);
    border-radius: 0;
    background: transparent;
}

.vn-property .vp-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #5c5a54;
    font-size: 14px;
}

.vn-property .vp-summary-row.total {
    margin: 8px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(36, 39, 34, 0.1);
    color: var(--vn-charcoal);
    font-family: var(--vn-serif);
    font-size: 1.45rem;
    font-weight: 500;
}

.vn-property .vp-primary-btn {
    margin-top: 18px;
    min-height: 48px;
    padding: 16px 18px;
    border: 0;
    border-radius: 0;
    background: var(--vn-charcoal);
    color: var(--vn-ivory);
    font-family: var(--vn-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vn-property .vp-primary-btn:hover,
.vn-property .vp-primary-btn:focus {
    background: var(--vn-olive);
    color: var(--vn-ivory);
}

.vn-property .vp-primary-btn:focus-visible {
    outline: 1px solid var(--vn-olive);
    outline-offset: 4px;
}

.vn-property .flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 0 !important;
    background: var(--vn-white);
    font-family: var(--vn-sans);
}

.vn-property .flatpickr-innerContainer,
.vn-property .flatpickr-rContainer,
.vn-property .flatpickr-days,
.vn-property .dayContainer {
    width: 100% !important;
    max-width: 100% !important;
}

.vn-property .dayContainer {
    min-width: 0 !important;
}

.vn-property .flatpickr-months .flatpickr-month,
.vn-property .flatpickr-current-month {
    color: var(--vn-charcoal);
    font-family: var(--vn-serif);
}

.vn-property .flatpickr-weekdays,
.vn-property span.flatpickr-weekday {
    color: var(--vn-olive);
    background: transparent;
}

.vn-property .flatpickr-day {
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 100% !important;
    height: 52px !important;
    line-height: 1.2 !important;
    border-radius: 0 !important;
    color: var(--vn-charcoal);
}

.vn-property .day-price-tag {
    display: block !important;
    margin-top: 2px !important;
    font-size: 9px !important;
    font-weight: 500;
}

.vn-property .flatpickr-day.flatpickr-disabled {
    color: #8a867c !important;
    background: #f3eee6 !important;
    border-color: transparent !important;
    cursor: not-allowed !important;
    opacity: 0.85;
}

.vn-property .flatpickr-day.selected,
.vn-property .flatpickr-day.startRange,
.vn-property .flatpickr-day.endRange,
.vn-property .flatpickr-day.selected:hover,
.vn-property .flatpickr-day.startRange:hover,
.vn-property .flatpickr-day.endRange:hover,
.vn-property .flatpickr-day.inRange {
    background: var(--vn-olive) !important;
    border-color: var(--vn-olive) !important;
    color: var(--vn-ivory) !important;
}

.vn-property .flatpickr-day.selected .day-price-tag,
.vn-property .flatpickr-day.startRange .day-price-tag,
.vn-property .flatpickr-day.endRange .day-price-tag,
.vn-property .flatpickr-day.inRange .day-price-tag {
    color: #ffffff !important;
}

.vn-property .fancybox__backdrop {
    background: rgba(36, 39, 34, 0.88) !important;
}

@media (prefers-reduced-motion: no-preference) {
    .vn-property .vn-carousel__slide {
        transition: opacity 0.45s ease;
    }
}

@media (max-width: 1440px) {
    .vn-property .vn-detail-wrap {
        width: min(1120px, calc(100% - 6vw));
    }
}

@media (max-width: 1024px) {
    .vn-property .vn-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vn-property .vp-sticky-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .vn-property .vn-detail-intro__copy {
        padding: 120px 22px 40px;
    }

    .vn-property .vn-carousel {
        height: clamp(240px, 52vw, 420px);
    }

    .vn-property .vn-detail-specs {
        gap: 8px 0;
    }

    .vn-property .vn-detail-specs li {
        padding: 0 10px;
        letter-spacing: 0.06em;
    }

    .vn-property .vp-dist-list {
        grid-template-columns: 1fr;
    }

    .vn-property .vp-row-item {
        flex-direction: column;
        gap: 10px;
    }

    .vn-property .vp-body-wrapper {
        padding: 48px 0 88px;
    }

    .vn-property #ftco-navbar #ftco-nav {
        width: 100%;
        margin-top: 10px;
        background: rgba(36, 39, 34, 0.94);
    }

    .vn-property #ftco-navbar.scrolled #ftco-nav {
        background: rgba(246, 243, 236, 0.98);
    }
}

@media (max-width: 390px) {
    .vn-property .vn-detail-title {
        font-size: 2.2rem;
    }

    .vn-property .flatpickr-day {
        height: 44px !important;
    }

    .vn-property .vp-sticky-sidebar {
        padding: 22px 16px;
    }
}

@media (max-width: 360px) {
    .vn-property .vn-detail-intro__copy {
        padding: 108px 16px 32px;
    }

    .vn-property .vn-detail-title {
        font-size: 1.95rem;
    }

    .vn-property .flatpickr-day {
        height: 40px !important;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vn-property .vn-carousel__slide {
        transition: none !important;
    }
}

/* -------------------------------------------------------------------------
   Editorial detail content (below the gallery). Dynamic for every villa.
   Rhythm: ivory residence ? charcoal metric band ? white rooms ? ivory surroundings.
   ------------------------------------------------------------------------- */

.vn-property .vn-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vn-property .vn-pd {
    position: relative;
    margin: 0 0 clamp(56px, 7vw, 96px);
}

.vn-property .vn-pd__index {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color: var(--vn-olive);
    font-family: var(--vn-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: normal;
}

.vn-property .vn-pd__index::after {
    content: "";
    flex: 0 0 40px;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}

.vn-property .vn-pd__index span {
    color: var(--vn-charcoal);
    font-variant-numeric: tabular-nums;
}

.vn-property .vn-pd__title {
    margin: 0;
    color: var(--vn-charcoal);
    font-family: var(--vn-serif);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1;
}

/* A. Residence ? asymmetric two columns */
.vn-property .vn-pd--residence {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.vn-property .vn-pd__display {
    margin: 0 0 18px;
    color: var(--vn-charcoal);
    font-family: var(--vn-serif);
    font-size: clamp(2.8rem, 5.4vw, 4.9rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.92;
}

.vn-property .vn-pd__place {
    margin: 0 0 28px;
    color: #6a675f;
    font-family: var(--vn-sans);
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 1.7;
    text-transform: uppercase;
    white-space: normal;
}

.vn-property .vn-pd__figure {
    display: block;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--vn-sand);
    cursor: zoom-in;
}

.vn-property .vn-pd__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vn-property .vn-pd__figure:focus-visible {
    outline: 1px solid var(--vn-olive);
    outline-offset: 4px;
}

.vn-property .vn-pd__body {
    padding: clamp(0px, 3.4vw, 48px) 0 0 clamp(20px, 3vw, 40px);
    border-left: 1px solid rgba(36, 39, 34, 0.14);
}

.vn-property .vn-pd .vn-pd__lede {
    max-width: 38rem;
    margin: 0 0 32px;
    color: #3f3d38;
    font-size: clamp(1.05rem, 1.25vw, 1.18rem);
    font-weight: 300;
    line-height: 1.85;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.vn-property .vn-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
    color: var(--vn-charcoal);
    font-family: var(--vn-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.vn-property .vn-arrow-link:hover,
.vn-property .vn-arrow-link:focus {
    color: var(--vn-olive);
    text-decoration: none;
}

.vn-property .vn-arrow-link:focus-visible {
    outline: 1px solid var(--vn-olive);
    outline-offset: 4px;
}

/* B. Metric band ? restrained charcoal accent */
.vn-property .vn-pd--metrics {
    padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 52px);
    background: var(--vn-charcoal);
    color: var(--vn-ivory);
}

.vn-property .vn-pd--metrics .vn-pd__index {
    color: var(--vn-sand);
}

.vn-property .vn-pd--metrics .vn-pd__index span {
    color: var(--vn-ivory);
}

.vn-property .vn-metrics {
    display: flex;
    margin: 0;
}

.vn-property .vn-metric {
    display: flex;
    flex: 1 1 0;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
    padding: 4px clamp(14px, 2.2vw, 30px);
    border-left: 1px solid rgba(246, 243, 236, 0.18);
}

.vn-property .vn-metric:first-child {
    padding-left: 0;
    border-left: 0;
}

.vn-property .vn-metric dd {
    margin: 0;
    color: var(--vn-ivory);
    font-family: var(--vn-serif);
    font-size: clamp(3rem, 5.2vw, 4.8rem);
    font-variant-numeric: lining-nums tabular-nums;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.88;
}

.vn-property .vn-metric__unit {
    margin-left: 6px;
    color: var(--vn-sand);
    font-family: var(--vn-sans);
    font-size: 0.24em;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.vn-property .vn-metric dt {
    color: var(--vn-sand);
    font-family: var(--vn-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* C. Rooms ? numbered accessible accordion */
.vn-property .vn-pd--rooms {
    padding: clamp(28px, 4vw, 52px);
    background: var(--vn-white);
    border: 1px solid rgba(36, 39, 34, 0.08);
}

.vn-property .vn-rooms {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(36, 39, 34, 0.16);
}

.vn-property .vn-room {
    border-bottom: 1px solid rgba(36, 39, 34, 0.1);
}

.vn-property .vn-room__heading {
    margin: 0;
    font: inherit;
}

.vn-property .vn-room__toggle {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) auto 30px;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 66px;
    margin: 0;
    padding: 18px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--vn-charcoal);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vn-property .vn-room__toggle--static {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    cursor: default;
}

.vn-property .vn-room__toggle:focus-visible {
    outline: 1px solid var(--vn-olive);
    outline-offset: 2px;
}

.vn-property .vn-room__no {
    color: var(--vn-olive);
    font-family: var(--vn-sans);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
}

.vn-property .vn-room__name {
    min-width: 0;
    font-family: var(--vn-serif);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.vn-property .vn-room__floor {
    color: #6a675f;
    font-family: var(--vn-sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vn-property .vn-room__icon {
    position: relative;
    justify-self: end;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(36, 39, 34, 0.22);
    border-radius: 50%;
    color: var(--vn-charcoal);
}

.vn-property .vn-room__icon::before,
.vn-property .vn-room__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.vn-property .vn-room__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.vn-property .vn-room__toggle[aria-expanded="true"] .vn-room__icon {
    border-color: var(--vn-charcoal);
    background: var(--vn-charcoal);
    color: var(--vn-ivory);
}

.vn-property .vn-room__toggle[aria-expanded="true"] .vn-room__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.vn-property .vn-room__panel {
    display: grid;
    grid-template-rows: 1fr;
}

.vn-property .vn-room__inner {
    min-height: 0;
    overflow: hidden;
}

.vn-property .vn-rooms.is-enhanced .vn-room__panel.is-collapsed {
    grid-template-rows: 0fr;
    visibility: hidden;
}

.vn-property .vn-room__attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    margin: 0;
    padding: 0 0 24px calc(3.2rem + 16px);
    list-style: none;
}

.vn-property .vn-room__attrs li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #3f3d38;
    font-family: var(--vn-sans);
    font-size: 15px;
    font-weight: 400;
}

.vn-property .vn-room__attrs span {
    color: var(--vn-olive);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* E. Surroundings ? minimal rows */
.vn-property .vn-around {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(36, 39, 34, 0.16);
}

.vn-property .vn-around__row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(36, 39, 34, 0.1);
}

.vn-property .vn-around__mark {
    flex: none;
    color: var(--vn-olive);
    transform: translateY(1px);
}

.vn-property .vn-around__place {
    min-width: 0;
    color: var(--vn-charcoal);
    font-family: var(--vn-serif);
    font-size: clamp(1.2rem, 1.7vw, 1.45rem);
    font-weight: 500;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.vn-property .vn-around__rule {
    flex: 1 1 auto;
    min-width: 24px;
    border-bottom: 1px dotted rgba(36, 39, 34, 0.32);
    transform: translateY(-4px);
}

.vn-property .vn-around__dist {
    flex: none;
    color: var(--vn-olive);
    font-family: var(--vn-sans);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* F. Booking ? tie into the editorial system; sticky only where it fits */
.vn-property .vp-sticky-sidebar {
    position: static;
    border-top: 3px solid var(--vn-olive);
}

.vn-property .vn-book__index {
    margin-bottom: 10px;
}

@media (min-width: 1025px) and (min-height: 640px) {
    .vn-property .vn-detail-book {
        align-self: stretch;
    }

    .vn-property .vp-sticky-sidebar {
        position: sticky;
        top: 88px;
        max-height: calc(100vh - 104px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }
}

.vn-property .vp-sticky-sidebar .vp-primary-btn {
    background-color: var(--vn-charcoal);
    background-image: linear-gradient(var(--vn-olive), var(--vn-olive));
    background-repeat: no-repeat;
    background-size: 0% 100%;
}

.vn-property .vp-sticky-sidebar .vp-primary-btn:hover,
.vn-property .vp-sticky-sidebar .vp-primary-btn:focus-visible {
    background-color: var(--vn-charcoal);
    background-size: 100% 100%;
}

/* Directional hover language (pointer devices, motion allowed) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .vn-property .vn-arrow-link svg,
    .vn-property .vn-carousel__nav svg,
    .vn-property .vn-room__name,
    .vn-property .vn-around__mark,
    .vn-property .vn-pd__figure img {
        transition: transform 0.4s var(--vn-ease-out, ease);
    }

    .vn-property .vn-room__icon,
    .vn-property .vn-room__icon::after {
        transition: transform 0.35s ease, background-color 0.3s ease, border-color 0.3s ease;
    }

    .vn-property .vn-arrow-link:hover svg { transform: translateX(6px); }
    .vn-property .vn-carousel__nav--prev:hover svg { transform: translateX(-3px); }
    .vn-property .vn-carousel__nav--next:hover svg { transform: translateX(3px); }
    .vn-property .vn-room__toggle:hover .vn-room__name { transform: translateX(6px); }
    .vn-property .vn-around__row:hover .vn-around__mark { transform: translate(3px, -2px); }
    .vn-property .vn-pd__figure:hover img { transform: scale(1.04); }

    .vn-property .vp-sticky-sidebar .vp-primary-btn {
        transition: background-size 0.45s var(--vn-ease-out, ease), color 0.25s ease;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .vn-property .vn-rooms.is-ready .vn-room__panel {
        transition: grid-template-rows 520ms var(--vn-ease-out, ease), visibility 0s linear 0s;
    }

    .vn-property .vn-rooms.is-ready .vn-room__panel.is-collapsed {
        transition: grid-template-rows 520ms var(--vn-ease-out, ease), visibility 0s linear 520ms;
    }
}

@media (max-width: 767.98px) {
    .vn-property .vn-pd--residence {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .vn-property .vn-pd--residence .vn-pd__aside {
        display: contents;
    }

    .vn-property .vn-pd--residence .vn-pd__index { order: 1; }
    .vn-property .vn-pd--residence .vn-pd__display { order: 2; }
    .vn-property .vn-pd--residence .vn-pd__place { order: 3; }
    .vn-property .vn-pd--residence .vn-pd__body { order: 4; }

    .vn-property .vn-pd--residence .vn-pd__figure {
        order: 5;
        max-width: none;
        margin-top: 36px;
        aspect-ratio: 4 / 3;
    }

    .vn-property .vn-pd__body {
        padding: 0;
        border-left: 0;
    }

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

    .vn-property .vn-metric,
    .vn-property .vn-metric:first-child {
        padding: 18px 0 18px 16px;
        border-top: 1px solid rgba(246, 243, 236, 0.18);
        border-left: 1px solid rgba(246, 243, 236, 0.18);
    }

    .vn-property .vn-metric:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .vn-property .vn-metric:nth-child(-n + 2) {
        padding-top: 4px;
        border-top: 0;
    }

    .vn-property .vn-metric dd {
        font-size: clamp(2.6rem, 12vw, 3.4rem);
    }

    .vn-property .vn-pd--rooms {
        padding: 26px 18px;
    }

    .vn-property .vn-room__toggle {
        grid-template-columns: 2.4rem minmax(0, 1fr) 30px;
        gap: 4px 12px;
        padding: 16px 0;
    }

    .vn-property .vn-room__toggle--static {
        grid-template-columns: 2.4rem minmax(0, 1fr);
    }

    .vn-property .vn-room__floor {
        grid-column: 2;
        grid-row: 2;
    }

    .vn-property .vn-room__icon {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .vn-property .vn-room__attrs {
        gap: 12px 28px;
        padding-left: calc(2.4rem + 12px);
    }

    .vn-property .vn-around__row {
        gap: 10px;
    }

    .vn-property .vn-around__rule {
        min-width: 12px;
    }
}

/* Gallery hands off to the essay with a single architectural rule, not a fade. */
.vn-property .vn-pd--residence {
    margin-top: 96px;
}

.vn-property .vn-pd--residence::before {
    content: "";
    position: absolute;
    top: -72px;
    left: 0;
    width: 1px;
    height: 48px;
    background: rgba(85, 92, 74, 0.75);
}

.vn-property .vn-detail-book,
.vn-property .vp-sticky-sidebar,
.vn-property .flatpickr-calendar {
    animation: none;
    transform: none;
}

@keyframes vn-rule-draw {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes vn-band {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(0); }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .vn-property .vn-pd--residence .vn-pd__index::after {
            transform-origin: left center;
            animation: vn-rule-draw linear both;
            animation-timeline: view();
            animation-range: entry 15% entry 70%;
        }

        .vn-property .vn-pd--metrics {
            animation: vn-band linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 50%;
        }
    }
}
