/* MOMKEN Elementor — Flagship Property Suite
 * All selectors are scoped to MOMKEN widget roots. No Houzez/global repainting.
 */
.momken-property-hero,
.momken-property-gallery,
.momken-property-price-card,
.momken-property-facts,
.momken-property-features,
.momken-property-actions,
.momken-smart-reservation,
.momken-availability-standalone,
.momken-purchase-request,
.momken-property-concierge {
    --mk-prop-navy: var(--mk-el-primary, #0b132b);
    --mk-prop-gold: var(--mk-el-secondary, #c59b4e);
    --mk-prop-gold-bright: var(--mk-el-accent, #dfb15b);
    --mk-prop-surface: var(--mk-el-surface, #fff);
    --mk-prop-text: var(--mk-el-text, #0f172a);
    --mk-prop-muted: var(--mk-el-muted, #64748b);
    --mk-prop-border: var(--mk-el-border, #e2e8f0);
    --mk-prop-glass: rgba(255,255,255,.12);
}

/* Cinematic hero */
.momken-property-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 620px;
    overflow: hidden;
    border-radius: clamp(20px, 2.4vw, 34px);
    background: var(--mk-prop-navy);
    color: #fff;
    box-shadow: 0 34px 90px rgba(11, 19, 43, .22);
}
.momken-property-hero__media,
.momken-property-hero__veil { position: absolute; inset: 0; }
.momken-property-hero__media {
    z-index: -3;
    background-image: var(--mk-hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.005);
    transition: transform 900ms var(--mk-el-ease);
}
.momken-property-hero:hover .momken-property-hero__media { transform: scale(1.025); }
.momken-property-hero__veil {
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(5,10,25,.08) 0%, rgba(5,10,25,.24) 38%, rgba(5,10,25,.92) 100%),
        linear-gradient(90deg, rgba(5,10,25,.76) 0%, rgba(5,10,25,.16) 68%, transparent 100%);
    opacity: calc(var(--mk-hero-overlay, 58%) / 100%);
}
.momken-property-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(125deg, transparent 0 66%, rgba(223,177,91,.11) 100%);
}
.momken-property-hero__content {
    width: min(850px, 100%);
    padding: clamp(28px, 5vw, 68px);
    position: relative;
    z-index: 1;
}
.momken-property-hero .momken-el-kicker { color: #f3d190; margin-block-end: 14px; }
.momken-property-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; }
.momken-property-hero__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding-inline: 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    backdrop-filter: blur(12px);
}
.momken-property-hero__title {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 6.2vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 850;
    text-wrap: balance;
}
.momken-property-hero__address { margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: clamp(14px, 1.5vw, 18px); }
.momken-property-hero__price { margin-block-start: 22px; color: #f3d190; font-size: clamp(24px, 3vw, 38px); font-weight: 850; letter-spacing: -.03em; }
.momken-property-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-block-start: 28px; }
.momken-property-hero .momken-el-button--ghost { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.momken-property-hero.skin-editorial { align-items: center; }
.momken-property-hero.skin-editorial .momken-property-hero__content { margin-inline-start: auto; width: min(680px, 72%); background: color-mix(in srgb, var(--mk-prop-surface) 92%, transparent); color: var(--mk-prop-text); border-radius: 28px 0 0 28px; box-shadow: -20px 25px 70px rgba(0,0,0,.18); }
[dir="rtl"] .momken-property-hero.skin-editorial .momken-property-hero__content { border-radius: 0 28px 28px 0; }
.momken-property-hero.skin-editorial .momken-property-hero__title { color: var(--mk-prop-text); }
.momken-property-hero.skin-editorial .momken-property-hero__address { color: var(--mk-prop-muted); }
.momken-property-hero.skin-glass .momken-property-hero__content { margin: clamp(18px,3vw,36px); padding: clamp(26px,4vw,52px); border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: rgba(8,14,31,.48); backdrop-filter: blur(20px) saturate(125%); }

/* Gallery */
.momken-property-gallery { position: relative; --mk-gallery-gap: 8px; }
.momken-property-gallery__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; grid-template-rows: repeat(2, minmax(180px, 1fr)); min-height: clamp(440px, 54vw, 650px); gap: var(--mk-gallery-gap); border-radius: 26px; overflow: hidden; }
.momken-property-gallery__item { position: relative; appearance: none; border: 0; padding: 0; margin: 0; min-width: 0; overflow: hidden; background: #0b132b; cursor: zoom-in; }
.momken-property-gallery__item:first-child { grid-row: 1 / 3; }
.momken-property-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 520ms var(--mk-el-ease), filter 320ms ease; }
.momken-property-gallery__item::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 60%,rgba(6,12,27,.22)); opacity:0; transition:opacity 250ms ease; }
.momken-property-gallery__item:hover img { transform: scale(1.035); }
.momken-property-gallery__item:hover::after { opacity:1; }
.momken-property-gallery__counter { position: absolute; inset-inline-end: 18px; inset-block-end: 18px; z-index: 3; min-height: 42px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(8,14,31,.72); color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; backdrop-filter: blur(12px); }
.momken-property-gallery.layout-editorial .momken-property-gallery__grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(3, minmax(145px,1fr)); }
.momken-property-gallery.layout-editorial .momken-property-gallery__item:first-child { grid-row: 1 / 4; }
.momken-property-gallery.layout-cinema .momken-property-gallery__grid { grid-template-columns: repeat(5,minmax(220px,1fr)); grid-template-rows: minmax(360px, 52vh); overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 24px; }
.momken-property-gallery.layout-cinema .momken-property-gallery__item { grid-row: auto; scroll-snap-align: start; }
.momken-property-gallery.layout-cinema .momken-property-gallery__item:first-child { grid-row: auto; }
.momken-property-gallery__dialog { width: min(94vw, 1240px); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #060b18; box-shadow: 0 42px 120px rgba(0,0,0,.45); }
.momken-property-gallery__dialog::backdrop { background: rgba(2,6,18,.84); backdrop-filter: blur(8px); }
.momken-property-gallery__dialog img { display: block; width: 100%; max-height: 88vh; object-fit: contain; }
.momken-property-gallery__close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(0,0,0,.56); color:#fff; font-size: 28px; line-height:1; cursor:pointer; }

/* Price */
.momken-property-price-card { padding: clamp(22px, 3vw, 34px); }
.momken-property-price-card__line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-block-start: 7px; }
.momken-property-price-card__line strong { color: var(--mk-prop-text); font-size: clamp(30px,4vw,48px); line-height:1; letter-spacing:-.045em; font-weight:900; }
.momken-property-price-card__prefix,
.momken-property-price-card__postfix { color:var(--mk-prop-muted); font-size:13px; font-weight:750; }

/* Facts */
.momken-property-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; padding: 10px; }
.momken-property-fact { min-width:0; display:flex; align-items:center; gap:13px; padding:20px clamp(14px,2vw,24px); border-inline-end:1px solid var(--mk-prop-border); }
.momken-property-fact:last-child { border-inline-end:0; }
.momken-property-fact__icon { flex:0 0 36px; width:36px; height:36px; display:grid; place-items:center; border-radius:12px; background:color-mix(in srgb,var(--mk-prop-gold) 14%,transparent); color:var(--mk-prop-gold); }
.momken-property-fact__icon svg { width:18px; height:18px; fill:currentColor; }
.momken-property-fact div { min-width:0; display:flex; flex-direction:column; gap:3px; }
.momken-property-fact span:not(.momken-property-fact__icon) { color:var(--mk-prop-muted); font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.momken-property-fact strong { color:var(--mk-prop-text); font-size:18px; font-weight:850; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Features */
.momken-property-features { display:grid; gap:22px; }
.momken-property-features__head { display:grid; gap:7px; }
.momken-property-features__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.momken-property-feature { display:flex; align-items:center; gap:10px; min-height:58px; padding:13px 15px; border:1px solid var(--mk-prop-border); border-radius:14px; background:var(--mk-prop-surface); color:var(--mk-prop-text); transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease; }
.momken-property-feature span { width:26px; height:26px; flex:0 0 26px; display:grid; place-items:center; border-radius:999px; background:color-mix(in srgb,var(--mk-prop-gold) 16%,transparent); color:var(--mk-prop-gold); font-weight:900; }
.momken-property-feature strong { min-width:0; font-size:13px; font-weight:780; }
.momken-property-features.skin-tiles .momken-property-feature:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--mk-prop-gold) 50%,var(--mk-prop-border)); box-shadow:var(--mk-el-shadow-soft); }
.momken-property-features.skin-chips .momken-property-features__grid { display:flex; flex-wrap:wrap; }
.momken-property-features.skin-chips .momken-property-feature { min-height:40px; border-radius:999px; padding:8px 13px; }
.momken-property-features.skin-minimal .momken-property-feature { border:0; border-block-end:1px solid var(--mk-prop-border); border-radius:0; padding-inline:0; background:transparent; }

/* Sticky action bar */
.momken-property-actions { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 16px 14px 20px; border:1px solid color-mix(in srgb,var(--mk-prop-border) 80%,transparent); border-radius:18px; background:color-mix(in srgb,var(--mk-prop-surface) 93%,transparent); box-shadow:0 16px 45px rgba(15,23,42,.11); backdrop-filter:blur(18px); }
.momken-property-actions.is-sticky { position:sticky; inset-block-end:16px; z-index:32; }
.momken-property-actions__identity { min-width:0; display:grid; gap:3px; }
.momken-property-actions__identity strong { color:var(--mk-prop-text); font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.momken-property-actions__identity span { color:var(--mk-prop-gold); font-size:13px; font-weight:850; }
.momken-property-actions__buttons { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.momken-property-actions .momken-el-button { min-height:42px; padding:10px 14px; border-radius:11px; }
.momken-property-actions .momken-el-button svg { width:17px; height:17px; fill:currentColor; }

/* Reservation / purchase */
.momken-smart-reservation,
.momken-purchase-request { position:relative; }
.momken-smart-reservation.skin-floating .momken-booking-wrapper,
.momken-purchase-request .momken-booking-wrapper { border:1px solid var(--mk-prop-border); border-radius:24px; background:var(--mk-prop-surface); box-shadow:0 30px 80px rgba(15,23,42,.13); overflow:hidden; }
.momken-smart-reservation.skin-glass .momken-booking-wrapper { border:1px solid color-mix(in srgb,var(--mk-prop-border) 70%,transparent); border-radius:24px; background:color-mix(in srgb,var(--mk-prop-surface) 84%,transparent); backdrop-filter:blur(18px); box-shadow:0 30px 80px rgba(15,23,42,.11); }
.momken-smart-reservation.skin-minimal .momken-booking-wrapper { border:0; border-radius:0; box-shadow:none; background:transparent; }

/* Standalone availability */
.momken-availability-standalone { padding:clamp(20px,3vw,34px); border:1px solid var(--mk-prop-border); border-radius:24px; background:var(--mk-prop-surface); box-shadow:var(--mk-el-shadow-soft); }
.momken-availability-standalone > .momken-el-title { margin-block:6px 20px; }

/* Concierge */
.momken-property-concierge { display:grid; grid-template-columns:minmax(150px, .72fr) minmax(0,1.5fr); min-height:250px; }
.momken-property-concierge__photo { width:100%; height:100%; min-height:250px; object-fit:cover; }
.momken-property-concierge__body { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:10px; padding:clamp(24px,4vw,42px); }
.momken-property-concierge__body p { margin:3px 0 10px; color:var(--mk-prop-muted); line-height:1.7; }

@media (max-width: 1024px) {
    .momken-property-hero { min-height:540px; }
    .momken-property-gallery__grid { grid-template-columns:1.45fr 1fr; grid-template-rows:repeat(3,minmax(145px,1fr)); }
    .momken-property-gallery__item:first-child { grid-row:1 / 4; }
    .momken-property-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .momken-property-fact:nth-child(2n) { border-inline-end:0; }
    .momken-property-fact:nth-child(n+3) { border-block-start:1px solid var(--mk-prop-border); }
    .momken-property-features__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .momken-property-hero { min-height:500px; border-radius:20px; align-items:flex-end; }
    .momken-property-hero__content { width:100%; padding:26px 20px; }
    .momken-property-hero__title { font-size:clamp(34px,11vw,54px); }
    .momken-property-hero__actions { flex-direction:column; align-items:stretch; }
    .momken-property-hero.skin-editorial .momken-property-hero__content,
    [dir="rtl"] .momken-property-hero.skin-editorial .momken-property-hero__content { width:calc(100% - 24px); margin:12px; border-radius:18px; }
    .momken-property-hero.skin-editorial .momken-property-hero__title { font-size:36px; }
    .momken-property-hero.skin-glass .momken-property-hero__content { margin:12px; border-radius:18px; }

    .momken-property-gallery__grid,
    .momken-property-gallery.layout-editorial .momken-property-gallery__grid { grid-template-columns:1fr 1fr; grid-template-rows:300px 155px 155px; min-height:0; border-radius:18px; }
    .momken-property-gallery__item:first-child,
    .momken-property-gallery.layout-editorial .momken-property-gallery__item:first-child { grid-column:1 / 3; grid-row:1; }
    .momken-property-gallery.layout-cinema .momken-property-gallery__grid { grid-template-columns:repeat(5,82vw); grid-template-rows:360px; }
    .momken-property-gallery__counter { inset-inline-end:12px; inset-block-end:12px; }

    .momken-property-facts { grid-template-columns:1fr 1fr; padding:5px; }
    .momken-property-fact { padding:16px 12px; gap:9px; }
    .momken-property-fact__icon { width:32px; height:32px; flex-basis:32px; }
    .momken-property-fact strong { font-size:15px; }
    .momken-property-features__grid { grid-template-columns:1fr 1fr; }

    .momken-property-actions { inset-inline:10px; flex-direction:column; align-items:stretch; padding:13px; border-radius:16px; }
    .momken-property-actions__identity { display:none; }
    .momken-property-actions__buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .momken-property-actions .momken-el-button { width:100%; }

    .momken-property-concierge { grid-template-columns:1fr; }
    .momken-property-concierge__photo { min-height:240px; max-height:310px; }
}

@media (max-width: 480px) {
    .momken-property-gallery__grid,
    .momken-property-gallery.layout-editorial .momken-property-gallery__grid { grid-template-rows:255px 130px 130px; }
    .momken-property-facts { grid-template-columns:1fr; }
    .momken-property-fact,
    .momken-property-fact:nth-child(2n) { border-inline-end:0; border-block-start:1px solid var(--mk-prop-border); }
    .momken-property-fact:first-child { border-block-start:0; }
    .momken-property-features__grid { grid-template-columns:1fr; }
    .momken-property-actions__buttons { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .momken-property-hero__media,
    .momken-property-gallery__item img,
    .momken-property-feature { transition:none; }
}
