/* ── Hotel Detail Page ── */

/* Breadcrumb */
.vk-hd-breadcrumb {
    padding: 10px 0 0;
    font-size: 13px;
    color: #6b7280;
}
.vk-hd-breadcrumb a { color: #d4850a; text-decoration: none; }
.vk-hd-breadcrumb a:hover { text-decoration: underline; }
.vk-hd-breadcrumb span { margin: 0 6px; color: #d1d5db; }

/* Hero title row */
.vk-hd-title-row {
    padding: 18px 0 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.vk-hd-title-left h1 {
    font-size: 26px;
    font-weight: 800;
    color: #0d1b2a;
    margin: 0 0 8px;
    line-height: 1.25;
}
:root.vk-dark .vk-hd-title-left h1 { color: #e5e7eb; }

.vk-hd-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13.5px;
    color: #374151;
}
:root.vk-dark .vk-hd-meta { color: #9ca3af; }

.vk-hd-stars { color: #f59e0b; letter-spacing: 1px; }
.vk-hd-rating {
    font-weight: 700;
    color: #0d1b2a;
    font-size: 13.5px;
}
:root.vk-dark .vk-hd-rating { color: #e5e7eb; }
.vk-hd-location { display: flex; align-items: center; gap: 5px; }
.vk-hd-location i { color: #d4850a; }
.vk-hd-share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
}
.vk-hd-share-btn:hover { border-color: #d4850a; color: #d4850a; text-decoration: none; }
:root.vk-dark .vk-hd-share-btn {
    background: #152237;
    border-color: #1e3246;
    color: #9ca3af;
}

/* ── Gallery: 1 hero left + 2 stacked right ── */
.vk-hd-gallery {
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 230px 230px;
    gap: 6px;
    position: relative;
    margin-bottom: 32px;
}

.vk-hd-gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #1a1a2e;
}
.vk-hd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}
.vk-hd-gallery-item:hover img { transform: scale(1.04); }

/* Hero: left col, full height */
.vk-hd-gallery-item.vk-hd-gallery-hero {
    grid-column: 1;
    grid-row: 1 / 3;
    border-radius: 18px 0 0 18px;
}

/* Right 2 items stacked */
.vk-hd-gallery-item:nth-child(2) { border-radius: 0 18px 0 0; }
.vk-hd-gallery-item:nth-child(3) { border-radius: 0 0 18px 0; }

/* overlay on hover */
.vk-hd-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.25s;
    pointer-events: none;
}
.vk-hd-gallery-item:hover::after { background: rgba(0,0,0,0.18); }

/* Show all photos button */
.vk-hd-gallery-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: #fff;
    color: #0d1b2a;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    border: 1.5px solid #0d1b2a;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
    z-index: 5;
}
.vk-hd-gallery-btn:hover { background: #0d1b2a; color: #fff; }

/* ── Lightbox ── */
.vk-lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.vk-lb-overlay.active { display: flex; flex-direction: column; }

.vk-lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}
.vk-lb-close:hover { background: rgba(255,255,255,0.25); }

.vk-lb-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.vk-lb-main img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.vk-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.vk-lb-nav:hover { background: rgba(255,255,255,0.3); }
.vk-lb-nav.prev { left: -56px; }
.vk-lb-nav.next { right: -56px; }

.vk-lb-counter {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    margin-top: 14px;
}

.vk-lb-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    overflow-x: auto;
    max-width: 900px;
    padding-bottom: 4px;
    justify-content: center;
}
.vk-lb-thumb {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition: border-color 0.2s;
}
.vk-lb-thumb.active { border-color: #d4850a; }
.vk-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Content layout ── */
.vk-hd-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

/* ── Main content ── */
.vk-hd-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 28px 0;
}
:root.vk-dark .vk-hd-divider { border-color: #1e3246; }

.vk-hd-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 14px;
}
:root.vk-dark .vk-hd-section-title { color: #e5e7eb; }

/* Host bar */
.vk-hd-host-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
}
.vk-hd-host-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d1b2a, #d4850a);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: #fff;
}
.vk-hd-host-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 2px;
}
:root.vk-dark .vk-hd-host-info h4 { color: #e5e7eb; }
.vk-hd-host-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Highlights */
.vk-hd-highlights {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 4px;
}
.vk-hd-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.vk-hd-highlight-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(212,133,10,0.10);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #d4850a;
    font-size: 16px;
}
.vk-hd-highlight-text h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 2px;
}
:root.vk-dark .vk-hd-highlight-text h5 { color: #e5e7eb; }
.vk-hd-highlight-text p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Description */
.vk-hd-description {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}
:root.vk-dark .vk-hd-description { color: #9ca3af; }

/* Amenities */
.vk-hd-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}
.vk-hd-amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
}
:root.vk-dark .vk-hd-amenity { color: #9ca3af; }
.vk-hd-amenity i {
    width: 20px;
    text-align: center;
    color: #d4850a;
    font-size: 15px;
}

/* Location section */
.vk-hd-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    background: #e5e7eb;
}
.vk-hd-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Similar hotels */
.vk-hd-similar {
    margin-bottom: 60px;
}
.vk-hd-similar-title {
    font-size: 20px;
    font-weight: 800;
    color: #0d1b2a;
    margin: 0 0 20px;
}
:root.vk-dark .vk-hd-similar-title { color: #e5e7eb; }

.vk-hd-similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.vk-hd-sim-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    text-decoration: none;
    display: block;
    transition: transform 0.22s, box-shadow 0.22s;
}
:root.vk-dark .vk-hd-sim-card {
    background: #152237;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.vk-hd-sim-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    text-decoration: none;
}
.vk-hd-sim-img {
    height: 150px;
    overflow: hidden;
    background: #1a1a2e;
}
.vk-hd-sim-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}
.vk-hd-sim-card:hover .vk-hd-sim-img img { transform: scale(1.05); }
.vk-hd-sim-body {
    padding: 12px 14px 14px;
}
.vk-hd-sim-body h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 4px;
    line-height: 1.35;
}
:root.vk-dark .vk-hd-sim-body h4 { color: #e5e7eb; }
.vk-hd-sim-body p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price badge in title row */
.vk-hd-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}
.vk-hd-price-label {
    font-size: 11.5px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.vk-hd-price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.vk-hd-price-currency {
    font-size: 17px;
    font-weight: 700;
    color: #0d1b2a;
}
:root.vk-dark .vk-hd-price-currency { color: #e5e7eb; }
.vk-hd-price-value {
    font-size: 30px;
    font-weight: 800;
    color: #0d1b2a;
    line-height: 1;
}
:root.vk-dark .vk-hd-price-value { color: #e5e7eb; }
.vk-hd-price-per {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}
.vk-hd-price-taxes {
    font-size: 11.5px;
    color: #6b7280;
}
.vk-hd-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(37,211,102,0.10);
    color: #15803d;
    border: 1px solid rgba(37,211,102,0.25);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
}

/* Sticky sidebar */
.vk-hd-sidebar {
    position: sticky;
    top: 120px;
}

/* ── Font ── */
body, .vk-hd-title-left h1, .vk-hd-meta, .vk-sb-card, .vk-hd-description,
.vk-hd-section-title, .vk-hd-amenity, .vk-hd-highlight-text h5, .vk-hd-highlight-text p {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Airbnb-style stats bar ── */
.vk-hd-stats-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}
:root.vk-dark .vk-hd-stats-bar { border-color: #1e3246; }
.vk-hd-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.vk-hd-stat-sep {
    width: 1px;
    height: 36px;
    background: #e5e7eb;
    flex-shrink: 0;
}
:root.vk-dark .vk-hd-stat-sep { background: #1e3246; }
.vk-hd-stat-value {
    font-size: 17px;
    font-weight: 800;
    color: #0d1b2a;
    line-height: 1.2;
}
:root.vk-dark .vk-hd-stat-value { color: #e5e7eb; }
.vk-hd-stat-stars { color: #f59e0b; font-size: 11px; letter-spacing: 1px; margin: 2px 0; }
.vk-hd-stat-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.vk-hd-stat-fav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.vk-hd-stat-fav svg { width: 28px; height: 28px; color: #0d1b2a; }
:root.vk-dark .vk-hd-stat-fav svg { color: #e5e7eb; }
.vk-hd-stat-fav span { font-size: 11px; color: #0d1b2a; font-weight: 700; text-align: center; line-height: 1.2; }
:root.vk-dark .vk-hd-stat-fav span { color: #e5e7eb; }

/* ── Mobile fixed bottom reserve bar ── */
.vk-mob-reserve-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 12px 20px 16px;
    z-index: 990;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
:root.vk-dark .vk-mob-reserve-bar {
    background: #0d1b2a;
    border-color: #1e3246;
}
.vk-mob-reserve-price {}
.vk-mob-reserve-price .vk-mob-price-main {
    font-size: 17px;
    font-weight: 800;
    color: #0d1b2a;
    line-height: 1;
}
:root.vk-dark .vk-mob-reserve-price .vk-mob-price-main { color: #e5e7eb; }
.vk-mob-reserve-price .vk-mob-price-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}
.vk-mob-reserve-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, #e31c5f, #c2185b);
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: none;
    border-radius: 10px;
    padding: 13px 28px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(227,28,95,0.32);
}
.vk-mob-reserve-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── Mobile booking sheet (slide-up) ── */
.vk-mob-sheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.46);
    z-index: 1080;
}
.vk-mob-sheet-overlay.active { display: block; }
.vk-mob-sheet {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    z-index: 1090;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
:root.vk-dark .vk-mob-sheet { background: #0d1b2a; }
.vk-mob-sheet.active { transform: translateY(0); }
.vk-mob-sheet-handle {
    width: 40px; height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    margin: 12px auto 0;
}
.vk-mob-sheet-header {
    padding: 16px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.vk-mob-sheet-header h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0d1b2a;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
:root.vk-dark .vk-mob-sheet-header h3 { color: #e5e7eb; }
.vk-mob-sheet-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #374151;
}
:root.vk-dark .vk-mob-sheet-close { background: #1e3246; color: #9ca3af; }
.vk-mob-sheet-body { padding: 16px 20px 32px; }

/* Mobile responsive — gallery keeps 3-image layout */
@media (max-width: 768px) {

    /* Gallery: keep 3-image desktop grid but scaled */
    .vk-hd-gallery {
        grid-template-columns: 3fr 2fr;
        grid-template-rows: 160px 160px;
        border-radius: 14px;
        gap: 4px;
        margin-bottom: 20px;
    }
    .vk-hd-gallery-item.vk-hd-gallery-hero {
        grid-column: 1;
        grid-row: 1 / 3;
        border-radius: 14px 0 0 14px;
    }
    .vk-hd-gallery-item:nth-child(2) { border-radius: 0 14px 0 0; }
    .vk-hd-gallery-item:nth-child(3) { border-radius: 0 0 14px 0; }
    .vk-hd-gallery-btn { font-size: 11px; padding: 6px 11px; bottom: 10px; right: 10px; }

    /* Title */
    .vk-hd-title-left h1 { font-size: 20px; font-weight: 800; }
    .vk-hd-title-row { padding: 14px 0 10px; }
    .vk-hd-meta { gap: 8px; font-size: 13px; }

    /* Show stats bar on mobile */
    .vk-hd-stats-bar { display: flex; gap: 0; }

    /* Layout: single col */
    .vk-hd-layout { grid-template-columns: 1fr; gap: 0; }

    /* Hide sidebar booking card on mobile — use fixed bottom bar instead */
    .vk-hd-sidebar { display: none; }

    /* Show mobile fixed bar */
    .vk-mob-reserve-bar { display: flex; }

    /* Add padding so content doesn't hide behind fixed bar */
    .vk-hd-similar, .vk-hd-map-wrap { margin-bottom: 80px; }

    /* Similar grid */
    .vk-hd-similar-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vk-hd-similar-title { font-size: 17px; }

    /* Lightbox nav inline */
    .vk-lb-nav.prev { left: 4px; }
    .vk-lb-nav.next { right: 4px; }

    /* Amenities */
    .vk-hd-amenities { grid-template-columns: 1fr; }

    /* Breadcrumb */
    .vk-hd-breadcrumb { font-size: 12px; }
    .vk-hd-section-title { font-size: 16px; }
}

@media (max-width: 480px) {
    .vk-hd-gallery { grid-template-rows: 130px 130px; }
    .vk-hd-title-left h1 { font-size: 18px; }
    .vk-hd-similar-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .vk-hd-sim-img { height: 120px; }
}
