/* Venkatesh chatbot — all styles. Uses site tokens with fallbacks. */
.vk-root {
    --vk-accent: var(--c-accent, #C5A05E);
    --vk-accent-dark: var(--c-accent-dark, #9E7D3F);
    --vk-accent-soft: var(--c-accent-muted, rgba(197, 160, 94, .14));
    --vk-dark: var(--c-dark, #0F1110);
    --vk-ink: var(--c-ink, #16201E);
    --vk-ink-2: var(--c-ink-2, #4A5552);
    --vk-ink-3: var(--c-ink-3, #8A9592);
    --vk-light: var(--c-light, #F7F4EF);
    --vk-display: var(--font-display, Georgia, serif);
    --vk-body: var(--font-body, system-ui, sans-serif);
    --vk-bottom: 20px;

    position: fixed;
    right: 20px;
    bottom: var(--vk-bottom);
    z-index: 7000;                 /* below site modals (8000) */
    font-family: var(--vk-body);
    -webkit-font-smoothing: antialiased;
}

/* Lift above the property page's mobile sticky enquiry bar */
@media (max-width: 991px) {
    body:has(.mob-sticky-bar) .vk-root { --vk-bottom: 92px; }
}

.vk-root *,
.vk-root *::before,
.vk-root *::after { box-sizing: border-box; }

/* ── Launcher ── */
.vk-launcher {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background: var(--vk-dark);
    color: var(--vk-accent);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(15, 17, 16, .3), 0 0 0 4px rgba(197, 160, 94, .18);
    transition: transform .25s ease, box-shadow .25s ease;
    margin-left: auto;
}
.vk-launcher:hover { transform: translateY(-2px) scale(1.04); }
.vk-launcher:focus-visible { outline: 2px solid var(--vk-accent); outline-offset: 3px; }
.vk-launch-open,
.vk-launch-close {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s ease, transform .25s ease;
}
.vk-launch-close { opacity: 0; transform: rotate(-90deg); font-size: 20px; }
.vk-open .vk-launch-open { opacity: 0; transform: rotate(90deg); }
.vk-open .vk-launch-close { opacity: 1; transform: none; }
.vk-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e5484d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.vk-badge[hidden] { display: none; }

/* ── Teaser bubble ── */
.vk-teaser {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: 240px;
    background: #fff;
    color: var(--vk-ink);
    border-radius: 16px 16px 4px 16px;
    padding: 14px 32px 14px 16px;
    box-shadow: 0 12px 34px rgba(15, 17, 16, .18);
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
    animation: vkPop .35s ease both;
}
.vk-teaser[hidden] { display: none; }
.vk-teaser strong { display: block; font-size: 14px; margin-bottom: 2px; }
.vk-teaser-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 1;
    color: var(--vk-ink-3);
    cursor: pointer;
    padding: 2px 4px;
}
.vk-open .vk-teaser { display: none; }

/* ── Panel ── */
.vk-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 380px;
    height: min(620px, calc(100vh - 120px));
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 17, 16, .28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.98);
    transform-origin: bottom right;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.vk-open .vk-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s ease, transform .25s ease;
}

.vk-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px 14px 16px;
    background: var(--vk-dark);
    color: #fff;
    flex-shrink: 0;
}
.vk-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vk-accent), var(--vk-accent-dark));
    color: var(--vk-dark);
    font-family: var(--vk-display);
    font-weight: 700;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* Profile photo sits over the fallback letter */
.vk-avatar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--vk-accent);
}
.vk-online {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid var(--vk-dark);
}
.vk-head-text { flex: 1; min-width: 0; }
.vk-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.vk-status { font-size: 11.5px; color: rgba(255, 255, 255, .55); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vk-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease;
}
.vk-icon-btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* ── Messages ── */
.vk-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px 8px;
    background: var(--vk-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}
.vk-row { display: flex; animation: vkIn .25s ease both; }
.vk-bot { justify-content: flex-start; }
.vk-user { justify-content: flex-end; }
.vk-wide { display: block; }
.vk-bubble {
    max-width: 84%;
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: 16px;
    word-wrap: break-word;
}
.vk-bot .vk-bubble {
    background: #fff;
    color: var(--vk-ink);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 17, 16, .06);
}
.vk-user .vk-bubble {
    background: var(--vk-dark);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.vk-bubble strong { font-weight: 700; }

.vk-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.vk-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vk-ink-3);
    animation: vkDot 1s infinite ease-in-out;
}
.vk-typing span:nth-child(2) { animation-delay: .15s; }
.vk-typing span:nth-child(3) { animation-delay: .3s; }

/* ── Quick replies ── */
.vk-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 4px; }
.vk-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--vk-accent);
    background: #fff;
    color: var(--vk-accent-dark);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.vk-chip:hover { background: var(--vk-accent); color: var(--vk-dark); }
.vk-chip i { font-size: 12px; }
.vk-chips.vk-used .vk-chip { opacity: .45; cursor: default; pointer-events: none; }
.vk-chips.vk-used a.vk-chip { pointer-events: auto; cursor: pointer; opacity: .7; }

/* ── Property cards (horizontal scroll) ── */
.vk-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.vk-card {
    flex: 0 0 220px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 17, 16, .08);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.vk-card-img { aspect-ratio: 16 / 9; background: #e9e5dd; overflow: hidden; }
.vk-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vk-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.vk-card-tag {
    align-self: flex-start;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--vk-accent-dark);
    background: var(--vk-accent-soft);
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}
.vk-card-title {
    font-family: var(--vk-display);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--vk-ink);
    margin: 0 0 4px;
    line-height: 1.25;
}
.vk-card-loc { font-size: 11.5px; color: var(--vk-ink-3); display: flex; gap: 4px; align-items: center; }
.vk-card-loc i { color: var(--vk-accent); }
.vk-card-price { font-weight: 700; font-size: 13px; color: var(--vk-accent-dark); margin: 6px 0 10px; }
.vk-card-actions { display: flex; gap: 6px; margin-top: auto; }
.vk-btn {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
}
.vk-btn-dark { background: var(--vk-dark); color: #fff; }
.vk-btn-dark:hover { background: var(--vk-accent); color: var(--vk-dark); }
.vk-btn-light { background: #fff; color: var(--vk-ink); border-color: rgba(0, 0, 0, .12); }
.vk-btn-light:hover { border-color: var(--vk-accent); color: var(--vk-accent-dark); }
.vk-btn:disabled { opacity: .5; cursor: default; }

/* ── Property detail ── */
.vk-detail { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(15, 17, 16, .08); }
.vk-detail-img { aspect-ratio: 16 / 8; overflow: hidden; background: #e9e5dd; }
.vk-detail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vk-detail-body { padding: 12px 14px 14px; }
.vk-detail-sum { font-size: 12.5px; color: var(--vk-ink-2); line-height: 1.55; margin: 2px 0 10px; }
.vk-facts { list-style: none; margin: 0; padding: 0; }
.vk-facts li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    font-size: 12.5px;
    border-bottom: 1px dashed rgba(0, 0, 0, .08);
}
.vk-facts li span { color: var(--vk-ink-3); }
.vk-facts li strong { color: var(--vk-ink); text-align: right; }
.vk-gold { color: var(--vk-accent-dark) !important; }
.vk-detail-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--vk-accent-dark);
    margin: 12px 0 6px;
}
.vk-cfg { border: 1px solid rgba(0, 0, 0, .07); border-radius: 10px; overflow: hidden; }
.vk-cfg-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    padding: 7px 10px;
    font-size: 12px;
    align-items: center;
}
.vk-cfg-row + .vk-cfg-row { border-top: 1px solid rgba(0, 0, 0, .06); }
.vk-cfg-t { font-weight: 700; color: var(--vk-ink); }
.vk-cfg-a { color: var(--vk-ink-3); }
.vk-cfg-p { font-weight: 700; color: var(--vk-accent-dark); white-space: nowrap; }
.vk-hl { list-style: none; margin: 0; padding: 0; }
.vk-hl li { display: flex; gap: 6px; font-size: 12.5px; color: var(--vk-ink-2); padding: 3px 0; line-height: 1.45; }
.vk-hl i { color: var(--vk-accent); flex-shrink: 0; margin-top: 1px; }

/* ── Input ── */
.vk-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(0, 0, 0, .07);
    background: #fff;
    flex-shrink: 0;
}
.vk-text {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(0, 0, 0, .1);
    background: var(--vk-light);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--vk-ink);
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}
.vk-text:focus { border-color: var(--vk-accent); background: #fff; }
.vk-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: var(--vk-accent);
    color: var(--vk-dark);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .2s ease;
}
.vk-send:hover { transform: scale(1.06); }
.vk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Mobile: compact floating chat (not full-screen) ── */
@media (max-width: 575px) {
    .vk-root { right: 12px; --vk-bottom: 14px; }
    .vk-launcher { width: 46px; height: 46px; font-size: 19px; box-shadow: 0 6px 18px rgba(15, 17, 16, .28), 0 0 0 3px rgba(197, 160, 94, .18); }
    .vk-launch-close { font-size: 16px; }
    .vk-badge { min-width: 17px; height: 17px; font-size: 10px; }

    .vk-teaser { bottom: 56px; width: 200px; padding: 10px 28px 10px 12px; font-size: 12px; }
    .vk-teaser strong { font-size: 13px; }

    .vk-panel {
        bottom: 56px;
        width: min(330px, calc(100vw - 24px));
        height: min(440px, calc(100svh - 150px));
        border-radius: 16px;
    }

    .vk-head { padding: 9px 8px 9px 12px; gap: 9px; }
    .vk-avatar { width: 32px; height: 32px; font-size: 15px; }
    .vk-online { width: 9px; height: 9px; }
    .vk-name { font-size: 13.5px; }
    .vk-status { font-size: 10.5px; }
    .vk-icon-btn { width: 28px; height: 28px; font-size: 12px; }

    .vk-body { padding: 10px 10px 6px; gap: 6px; }
    .vk-bubble { font-size: 12.5px; padding: 8px 11px; border-radius: 14px; max-width: 88%; }
    .vk-chip { font-size: 11.5px; padding: 5px 10px; }
    .vk-chip i { font-size: 11px; }

    .vk-card { flex-basis: 170px; }
    .vk-card-title { font-size: 13px; }
    .vk-card-body { padding: 8px 10px 10px; }
    .vk-card-price { font-size: 12px; margin: 4px 0 8px; }
    .vk-btn { font-size: 11px; padding: 6px; }
/* Venkatesh chatbot — all styles. Uses site tokens with fallbacks. */
.vk-root {
    --vk-accent: var(--c-accent, #C5A05E);
    --vk-accent-dark: var(--c-accent-dark, #9E7D3F);
    --vk-accent-soft: var(--c-accent-muted, rgba(197, 160, 94, .14));
    --vk-dark: var(--c-dark, #0F1110);
    --vk-ink: var(--c-ink, #16201E);
    --vk-ink-2: var(--c-ink-2, #4A5552);
    --vk-ink-3: var(--c-ink-3, #8A9592);
    --vk-light: var(--c-light, #F7F4EF);
    --vk-display: var(--font-display, Georgia, serif);
    --vk-body: var(--font-body, system-ui, sans-serif);
    --vk-bottom: 20px;

    position: fixed;
    right: 20px;
    bottom: var(--vk-bottom);
    z-index: 7000;                 /* below site modals (8000) */
    font-family: var(--vk-body);
    -webkit-font-smoothing: antialiased;
}

/* Lift above the property page's mobile sticky enquiry bar */
@media (max-width: 991px) {
    body:has(.mob-sticky-bar) .vk-root { --vk-bottom: 92px; }
}

.vk-root *,
.vk-root *::before,
.vk-root *::after { box-sizing: border-box; }

/* ── Launcher ── */
.vk-launcher {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background: var(--vk-dark);
    color: var(--vk-accent);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(15, 17, 16, .3), 0 0 0 4px rgba(197, 160, 94, .18);
    transition: transform .25s ease, box-shadow .25s ease;
    margin-left: auto;
}
.vk-launcher:hover { transform: translateY(-2px) scale(1.04); }
.vk-launcher:focus-visible { outline: 2px solid var(--vk-accent); outline-offset: 3px; }
.vk-launch-open,
.vk-launch-close {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s ease, transform .25s ease;
}
.vk-launch-close { opacity: 0; transform: rotate(-90deg); font-size: 20px; }
.vk-open .vk-launch-open { opacity: 0; transform: rotate(90deg); }
.vk-open .vk-launch-close { opacity: 1; transform: none; }
.vk-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e5484d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.vk-badge[hidden] { display: none; }

/* ── Teaser bubble ── */
.vk-teaser {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: 240px;
    background: #fff;
    color: var(--vk-ink);
    border-radius: 16px 16px 4px 16px;
    padding: 14px 32px 14px 16px;
    box-shadow: 0 12px 34px rgba(15, 17, 16, .18);
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
    animation: vkPop .35s ease both;
}
.vk-teaser[hidden] { display: none; }
.vk-teaser strong { display: block; font-size: 14px; margin-bottom: 2px; }
.vk-teaser-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 1;
    color: var(--vk-ink-3);
    cursor: pointer;
    padding: 2px 4px;
}
.vk-open .vk-teaser { display: none; }

/* ── Panel ── */
.vk-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 380px;
    height: min(620px, calc(100vh - 120px));
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 17, 16, .28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.98);
    transform-origin: bottom right;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.vk-open .vk-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s ease, transform .25s ease;
}

.vk-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px 14px 16px;
    background: var(--vk-dark);
    color: #fff;
    flex-shrink: 0;
}
.vk-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vk-accent), var(--vk-accent-dark));
    color: var(--vk-dark);
    font-family: var(--vk-display);
    font-weight: 700;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* Profile photo sits over the fallback letter */
.vk-avatar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--vk-accent);
}
.vk-online {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid var(--vk-dark);
}
.vk-head-text { flex: 1; min-width: 0; }
.vk-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.vk-status { font-size: 11.5px; color: rgba(255, 255, 255, .55); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vk-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease;
}
.vk-icon-btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* ── Messages ── */
.vk-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px 8px;
    background: var(--vk-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}
.vk-row { display: flex; animation: vkIn .25s ease both; }
.vk-bot { justify-content: flex-start; }
.vk-user { justify-content: flex-end; }
.vk-wide { display: block; }
.vk-bubble {
    max-width: 84%;
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: 16px;
    word-wrap: break-word;
}
.vk-bot .vk-bubble {
    background: #fff;
    color: var(--vk-ink);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 17, 16, .06);
}
.vk-user .vk-bubble {
    background: var(--vk-dark);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.vk-bubble strong { font-weight: 700; }

.vk-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.vk-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vk-ink-3);
    animation: vkDot 1s infinite ease-in-out;
}
.vk-typing span:nth-child(2) { animation-delay: .15s; }
.vk-typing span:nth-child(3) { animation-delay: .3s; }

/* ── Quick replies ── */
.vk-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 4px; }
.vk-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--vk-accent);
    background: #fff;
    color: var(--vk-accent-dark);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.vk-chip:hover { background: var(--vk-accent); color: var(--vk-dark); }
.vk-chip i { font-size: 12px; }
.vk-chips.vk-used .vk-chip { opacity: .45; cursor: default; pointer-events: none; }
.vk-chips.vk-used a.vk-chip { pointer-events: auto; cursor: pointer; opacity: .7; }

/* ── Property cards (horizontal scroll) ── */
.vk-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.vk-card {
    flex: 0 0 220px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 17, 16, .08);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.vk-card-img { aspect-ratio: 16 / 9; background: #e9e5dd; overflow: hidden; }
.vk-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vk-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.vk-card-tag {
    align-self: flex-start;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--vk-accent-dark);
    background: var(--vk-accent-soft);
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}
.vk-card-title {
    font-family: var(--vk-display);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--vk-ink);
    margin: 0 0 4px;
    line-height: 1.25;
}
.vk-card-loc { font-size: 11.5px; color: var(--vk-ink-3); display: flex; gap: 4px; align-items: center; }
.vk-card-loc i { color: var(--vk-accent); }
.vk-card-price { font-weight: 700; font-size: 13px; color: var(--vk-accent-dark); margin: 6px 0 10px; }
.vk-card-actions { display: flex; gap: 6px; margin-top: auto; }
.vk-btn {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
}
.vk-btn-dark { background: var(--vk-dark); color: #fff; }
.vk-btn-dark:hover { background: var(--vk-accent); color: var(--vk-dark); }
.vk-btn-light { background: #fff; color: var(--vk-ink); border-color: rgba(0, 0, 0, .12); }
.vk-btn-light:hover { border-color: var(--vk-accent); color: var(--vk-accent-dark); }
.vk-btn:disabled { opacity: .5; cursor: default; }

/* ── Property detail ── */
.vk-detail { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(15, 17, 16, .08); }
.vk-detail-img { aspect-ratio: 16 / 8; overflow: hidden; background: #e9e5dd; }
.vk-detail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vk-detail-body { padding: 12px 14px 14px; }
.vk-detail-sum { font-size: 12.5px; color: var(--vk-ink-2); line-height: 1.55; margin: 2px 0 10px; }
.vk-facts { list-style: none; margin: 0; padding: 0; }
.vk-facts li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    font-size: 12.5px;
    border-bottom: 1px dashed rgba(0, 0, 0, .08);
}
.vk-facts li span { color: var(--vk-ink-3); }
.vk-facts li strong { color: var(--vk-ink); text-align: right; }
.vk-gold { color: var(--vk-accent-dark) !important; }
.vk-detail-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--vk-accent-dark);
    margin: 12px 0 6px;
}
.vk-cfg { border: 1px solid rgba(0, 0, 0, .07); border-radius: 10px; overflow: hidden; }
.vk-cfg-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    padding: 7px 10px;
    font-size: 12px;
    align-items: center;
}
.vk-cfg-row + .vk-cfg-row { border-top: 1px solid rgba(0, 0, 0, .06); }
.vk-cfg-t { font-weight: 700; color: var(--vk-ink); }
.vk-cfg-a { color: var(--vk-ink-3); }
.vk-cfg-p { font-weight: 700; color: var(--vk-accent-dark); white-space: nowrap; }
.vk-hl { list-style: none; margin: 0; padding: 0; }
.vk-hl li { display: flex; gap: 6px; font-size: 12.5px; color: var(--vk-ink-2); padding: 3px 0; line-height: 1.45; }
.vk-hl i { color: var(--vk-accent); flex-shrink: 0; margin-top: 1px; }

/* ── Input ── */
.vk-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(0, 0, 0, .07);
    background: #fff;
    flex-shrink: 0;
}
.vk-text {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(0, 0, 0, .1);
    background: var(--vk-light);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--vk-ink);
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}
.vk-text:focus { border-color: var(--vk-accent); background: #fff; }
.vk-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: var(--vk-accent);
    color: var(--vk-dark);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .2s ease;
}
.vk-send:hover { transform: scale(1.06); }
.vk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Mobile: compact floating chat (not full-screen) ── */
@media (max-width: 575px) {
    .vk-root { right: 12px; --vk-bottom: 14px; }
    .vk-launcher { width: 46px; height: 46px; font-size: 19px; box-shadow: 0 6px 18px rgba(15, 17, 16, .28), 0 0 0 3px rgba(197, 160, 94, .18); }
    .vk-launch-close { font-size: 16px; }
    .vk-badge { min-width: 17px; height: 17px; font-size: 10px; }

    .vk-teaser { bottom: 56px; width: 200px; padding: 10px 28px 10px 12px; font-size: 12px; }
    .vk-teaser strong { font-size: 13px; }

    .vk-panel {
        bottom: 56px;
        width: min(330px, calc(100vw - 24px));
        height: min(440px, calc(100svh - 150px));
        border-radius: 16px;
    }

    .vk-head { padding: 9px 8px 9px 12px; gap: 9px; }
    .vk-avatar { width: 32px; height: 32px; font-size: 15px; }
    .vk-online { width: 9px; height: 9px; }
    .vk-name { font-size: 13.5px; }
    .vk-status { font-size: 10.5px; }
    .vk-icon-btn { width: 28px; height: 28px; font-size: 12px; }

    .vk-body { padding: 10px 10px 6px; gap: 6px; }
    .vk-bubble { font-size: 12.5px; padding: 8px 11px; border-radius: 14px; max-width: 88%; }
    .vk-chip { font-size: 11.5px; padding: 5px 10px; }
    .vk-chip i { font-size: 11px; }

    .vk-card { flex-basis: 170px; }
    .vk-card-title { font-size: 13px; }
    .vk-card-body { padding: 8px 10px 10px; }
    .vk-card-price { font-size: 12px; margin: 4px 0 8px; }
    .vk-btn { font-size: 11px; padding: 6px; }
    .vk-detail-body { padding: 10px 12px 12px; }
    .vk-facts li, .vk-hl li { font-size: 12px; }

    .vk-input { padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)); gap: 6px; }
    .vk-text { font-size: 16px; padding: 7px 12px; }   /* 16px prevents iOS zoom on focus */
    .vk-send { width: 34px; height: 34px; font-size: 13px; }
}

/* Lift above the property page's mobile sticky bar on phones too */
@media (max-width: 575px) {
    body:has(.mob-sticky-bar) .vk-root { --vk-bottom: 84px; }
    body:has(.mob-sticky-bar) .vk-panel { height: min(440px, calc(100svh - 220px)); }
}

@media (prefers-reduced-motion: reduce) {
    .vk-root *, .vk-panel { animation: none !important; transition: none !important; }
}

@keyframes vkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes vkPop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes vkDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
    .vk-facts li, .vk-hl li { font-size: 12px; }

    .vk-input { padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)); gap: 6px; }
    .vk-text { font-size: 16px; padding: 7px 12px; }   /* 16px prevents iOS zoom on focus */
    .vk-send { width: 34px; height: 34px; font-size: 13px; }
}

/* Lift above the property page's mobile sticky bar on phones too */
@media (max-width: 575px) {
    body:has(.mob-sticky-bar) .vk-root { --vk-bottom: 84px; }
    body:has(.mob-sticky-bar) .vk-panel { height: min(440px, calc(100svh - 220px)); }
}

@media (prefers-reduced-motion: reduce) {
    .vk-root *, .vk-panel { animation: none !important; transition: none !important; }
}

@keyframes vkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes vkPop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes vkDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
