/* ── Venue Detail Page ───────────────────────────────────────────────────────── */
/* Shared component classes reused from entertainment-detail layout */
body,p,li,td{font-family:'Roboto',sans-serif;}
.ent-page-title{background:linear-gradient(135deg,#0d1f3c 0%,#1a3a6e 60%,#162844 100%);padding:40px 0 28px;}
.ent-page-title .container{display:flex;flex-direction:column;gap:8px;}
.ent-detail-breadcrumb{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:rgba(255,255,255,0.6);margin-bottom:12px;}
.ent-detail-breadcrumb a{color:rgba(255,255,255,0.7);text-decoration:none;font-weight:500;}
.ent-detail-breadcrumb a:hover{color:#fff;}
.ent-detail-breadcrumb .bc-sep{color:rgba(255,255,255,0.3);font-size:16px;}
.ent-detail-title{font-family:'Raleway',sans-serif;font-size:clamp(1.6rem,4vw,2.4rem);font-weight:800;color:#fff;line-height:1.2;}
.ent-detail-cats{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;}
.ent-cat-tag{font-size:12px;font-weight:600;padding:4px 10px;border-radius:20px;white-space:nowrap;}
.ent-cat-tag.live-music{background:rgba(108,99,255,0.25);color:#c4bfff;border:1px solid rgba(108,99,255,0.4);}
.ent-subcat-tag{font-size:12px;font-weight:500;padding:4px 10px;border-radius:20px;background:rgba(255,255,255,0.12);color:rgba(255,255,255,0.75);border:1px solid rgba(255,255,255,0.2);}

/* ── Gallery / Slider ────────────────────────────────────────────────────────── */
.ent-gallery{position:relative;width:100%;margin-bottom:28px;border-radius:12px;overflow:hidden;height:320px;
  background:url('../images/venues/slider-background.jpg') center center / cover no-repeat;}
.ent-gallery-frame{position:relative;width:100%;height:100%;}
/* venue-detail: contain (full image) above 1199px, cover (fill height) below */
.ent-gallery-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;opacity:0;transition:opacity 0.4s ease;pointer-events:none;}
@media(max-width:1199px){
.ent-gallery-img{object-fit:cover;}
}
.ent-gallery-img.active{opacity:1;pointer-events:auto;}
.ent-gallery-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:7px;z-index:3;}
.ent-gallery-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.6);border:none;cursor:pointer;padding:0;transition:background .2s,transform .2s;box-shadow:0 1px 3px rgba(0,0,0,0.3);}
.ent-gallery-dot.active{background:#fff;transform:scale(1.3);}
.ent-gallery-prev,.ent-gallery-next{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.88);border:none;border-radius:50%;width:34px;height:34px;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,0.15);z-index:2;line-height:1;}
.ent-gallery-prev{left:8px;}
.ent-gallery-next{right:8px;}

/* ── Sidebar shared styles ───────────────────────────────────────────────────── */
.ent-sidebar-card{background:#fff;border:1px solid #e5e7ef;border-radius:16px;padding:24px;margin-bottom:0;margin-top:0;}
.ent-sidebar-card h3{font-family:'Raleway',sans-serif;font-size:1rem;font-weight:700;color:#1a1a2e;margin-bottom:16px;}
.ent-detail-row{padding:9px 0;border-bottom:1px solid #f3f4f6;font-size:14px;}
.ent-detail-row:last-child{border-bottom:none;}
.ent-detail-row-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.5px;color:#9ca3af;display:block;margin-bottom:2px;}
.ent-detail-row-value{color:#1a1a2e;font-weight:500;}
.ent-detail-row a{color:#e91e8c;text-decoration:none;}
.ent-detail-row a:hover{text-decoration:underline;}
.ent-cta-btn{display:inline-block;background:#e91e8c;color:#fff!important;padding:13px 28px;border-radius:10px;font-size:14px;font-weight:700;text-decoration:none!important;transition:background 0.2s;font-family:'Roboto',sans-serif;}
.ent-cta-btn:hover{background:#c2177a;color:#fff!important;text-decoration:none!important;}
.ent-back-link{display:none;}

@media(max-width:768px){
.ent-gallery{max-width:100%;}
}

/* ── Capacity Chart ──────────────────────────────────────────────────────────── */
.vd-cap-chart-section { overflow: hidden; }

/* Scroll hint — only visible on small screens */
.vd-cap-chart-scroll-hint {
    display: none;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}
@media (max-width: 768px) {
    .vd-cap-chart-scroll-hint { display: flex; }
}

/* Scrollable wrapper */
.vd-cap-chart-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Subtle right-fade shadow to hint at scrollability */
    background:
        linear-gradient(to right, #fff 0%, transparent 20px),
        linear-gradient(to left,  #fff 0%, transparent 20px),
        radial-gradient(ellipse at left,  rgba(0,0,0,0.08) 0%, transparent 70%) left center / 20px 100%,
        radial-gradient(ellipse at right, rgba(0,0,0,0.08) 0%, transparent 70%) right center / 20px 100%;
    background-repeat: no-repeat;
    background-attachment: local, local, scroll, scroll;
    border-radius: 8px;
}

/* Table */
.vd-cap-chart-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
}

/* Header */
.vd-cap-chart-table thead tr {
    background: #4D5D70;
}
.vd-cap-chart-table thead th {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 11px 14px;
    text-align: center;
    white-space: nowrap;
    border: none;
}
.vd-cap-chart-table thead th.vd-cct-room {
    text-align: left;
    min-width: 160px;
}

/* Rows — odd positions (1st, 3rd…) white; even positions (2nd, 4th…) light gray-blue */
.vd-cct-row-even { background: #ffffff; }
.vd-cct-row-odd  { background: #EBECF0; }

.vd-cap-chart-table tbody td {
    padding: 10px 14px;
    border-bottom: none;
    color: #374151;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

/* Room name cell */
.vd-cct-room-name {
    text-align: left !important;
    font-weight: 600;
    color: #1a1a2e;
    min-width: 160px;
}
.vd-cct-room-link {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.15s;
}
.vd-cct-room-link:hover {
    color: #6c63ff;
    text-decoration: underline;
}

/* Numeric cells */
.vd-cct-num { font-variant-numeric: tabular-nums; }

/* Em-dash placeholder */
.vd-cct-null {
    color: #d1d5db;
    font-size: 14px;
}

/* Hover highlight — removed */

/* ── Extracted from venue-detail.php ── */

/* ── Base font ──────────────────────────────────────────────────────── */
.vd-body, .vd-body input, .vd-body select, .vd-body textarea, .vd-body button,
.vd-hero, .venues-filter-section { font-family: 'Roboto', sans-serif; }

/* ── Venue Detail Styles ────────────────────────────────────────────── */
.vd-breadcrumb {
    background: #f8f9fc;
    border-bottom: 1px solid #e5e7ef;
    padding: 14px 0;
    font-size: 13px;
    color: #6b7280;
}
.vd-breadcrumb a { color: #6c63ff; text-decoration: none; }
.vd-breadcrumb a:hover { text-decoration: underline; }
.vd-breadcrumb span { margin: 0 8px; }

/* ── Page Title Hero (feather photo) ───────────────────────────────── */
.vd-pt-hero {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 0;
}
/* The photo — left half, feathered out to the right */
.vd-pt-photo {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 70%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    /* Feather starts at 20%, completes at 90% */
    -webkit-mask-image: linear-gradient(to right, black 0%, black 20%, rgba(0,0,0,0.5) 55%, transparent 90%);
    mask-image: linear-gradient(to right, black 0%, black 20%, rgba(0,0,0,0.5) 55%, transparent 90%);
}
/* Dark overlay on top of the photo — gradient fade + uniform tint */
.vd-pt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(13,31,60,0.72) 0%,
        rgba(13,31,60,0.59) 30%,
        rgba(13,31,60,0.26) 60%,
        rgba(13,31,60,0.0) 100%
    );
    z-index: 2;
    pointer-events: none;
}
/* Dark tint over the photo area — fades out matching the photo feather */
.vd-pt-tint {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right,
        rgba(13,31,60,0.30) 0%,
        rgba(13,31,60,0.30) 20%,
        rgba(13,31,60,0.15) 55%,
        transparent 90%
    );
    z-index: 2;
    pointer-events: none;
}
@media (max-width: 600px) {
    .vd-pt-tint { display: none; }
}
@media (max-width: 768px) {
    .vd-pt-photo { width: 70%; }
}
@media (max-width: 600px) {
    .vd-pt-photo { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.vd-hero {
    position: relative;
    background: linear-gradient(135deg, #0d1f3c 0%, #162844 60%, #1a3050 100%);
    min-height: 400px;
    overflow: hidden;
}
/* Subtle purple glow on left */
.vd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,0.1) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}
/* Three-panel photo strip — absolutely positioned flush right */
.vd-hero-photos {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
    display: flex;
    gap: 3px;
    overflow: hidden;
    z-index: 1;
}
.vd-hero-photos .vd-hp {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.vd-hero-photos .vd-hp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.vd-hero-content {
    position: relative;
    z-index: 2;
    padding: 44px 0 40px;
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 400px;
}
/* Text constrained to left 55% so it doesn't overlap the photos */
.vd-hero-inner { width: 100%; }
.vd-hero-text {
    max-width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
    .vd-hero-photos { width: 36%; }
    .vd-hero-text { max-width: 60%; }
}
@media (max-width: 600px) {
    .vd-hero-photos { display: none; }
    .vd-hero-text { max-width: 100%; }
    .vd-hero { min-height: 293px; }
}
.vd-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.vd-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}
.vd-hero h1 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.vd-hero-location {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Layout ─────────────────────────────────────────────────────────── */
.vd-body { padding: 60px 0; background: #fff; }
.vd-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
    /* Prevent grid children from overflowing */
    min-width: 0;
    max-width: 100%;
}
.vd-main { min-width: 0; }

/* ── Section Cards ──────────────────────────────────────────────────── */
.vd-section {
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
}
.vd-section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}
.vd-section-title i { color: #6c63ff; font-size: 18px; }
.vd-section-title svg { width: 18px; height: 18px; color: #6c63ff; flex-shrink: 0; }

/* ── Explore More Carousel ──────────────────────────────────────────── */
.vd-explore {
    background: #f8f9fc;
    border: 1px solid #e5e7ef;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
}
.vd-explore-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.vd-explore-title {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.3px;
    margin: 0;
}
.vd-explore-title span { color: #6c63ff; }
.vd-explore-nav { display: flex; gap: 6px; }
.vd-explore-btn {
    width: 32px; height: 32px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
    color: #374151;
}
.vd-explore-btn:hover { border-color: #6c63ff; color: #6c63ff; }
.vd-explore-btn svg { width: 14px; height: 14px; }
/* Carousel track — allow shadows/transforms to show, scroll contained by track */
.vd-explore-track-wrap {
    overflow: visible;
    max-width: 100%;
    width: 100%;
    /* Clip horizontal overflow only, let vertical show for shadows & hover lift */
    clip-path: none;
}
.vd-explore-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Extra padding so box-shadow (bottom) and translateY(-2px) (top) aren't clipped */
    padding-bottom: 12px;
    padding-top: 8px;
    margin-top: -8px;
    /* Horizontal padding so first/last card box-shadows aren't clipped by overflow-x:auto */
    padding-left: 8px;
    padding-right: 8px;
    /* Negative margin compensates so cards still align with section edges */
    margin-left: -8px;
    margin-right: -8px;
    /* Critical: prevent track from expanding page */
    min-width: 0;
    max-width: calc(100% + 16px);
}
.vd-explore-track::-webkit-scrollbar { display: none; }
.vd-explore-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.vd-explore-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); transform: translateY(-2px); text-decoration: none; color: inherit; }
.vd-explore-card-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(135deg, #1a1a3e, #2d2d6e);
    display: block;
    flex-shrink: 0;
}
.vd-explore-card-name {
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Roboto', sans-serif;
    line-height: 1.3;
    flex: 1;
}

/* ── Detail Rows ────────────────────────────────────────────────────── */
.vd-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f9fafb;
    font-size: 14px;
}
.vd-row:last-child { border-bottom: none; }
.vd-key { color: #6b7280; font-weight: 500; flex-shrink: 0; min-width: 140px; }
.vd-val { color: #1a1a2e; text-align: right; word-break: break-word; }

/* ── Capacity Blocks ────────────────────────────────────────────────── */
.vd-cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}
.vd-cap-block {
    background: #f8f9fc;
    border: 1px solid #e5e7ef;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.vd-cap-num {
    font-size: 28px;
    font-weight: 800;
    color: #6c63ff;
    font-family: 'Roboto', sans-serif;
    line-height: 1;
    margin-bottom: 4px;
}
.vd-cap-label { font-size: 12px; color: #6b7280; font-weight: 500; }

/* ── Rooms ──────────────────────────────────────────────────────────── */
/* Search + sort bar */
.vd-rooms-searchbar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: visible;
    transition: border-color .15s, box-shadow .15s;
}
.vd-rooms-searchbar:focus-within { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(147,197,253,.15); }
.vd-rooms-search-icon {
    flex-shrink: 0;
    padding: 0 10px 0 13px;
    color: #9ca3af;
    display: flex;
    align-items: center;
}
.vd-rooms-search-icon svg { width:15px; height:15px; }
.vd-rooms-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #1a1a2e;
    padding: 9px 6px 9px 0;
    font-family: inherit;
}
.vd-rooms-search-input::placeholder { color: #9ca3af; }
.vd-rooms-search-divider {
    width: 1px;
    height: 22px;
    background: #e5e7eb;
    flex-shrink: 0;
    margin: 0 2px;
}
/* Sort dropdown embedded in search bar */
.vd-sort-dropdown { position: relative; flex-shrink: 0; }
.vd-sort-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 0 9px 9px 0;
    padding: 9px 12px 9px 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s, background .15s;
    user-select: none;
}
.vd-sort-trigger:hover { color: #374151; background: #f9fafb; }
.vd-sort-trigger svg { width:12px; height:12px; flex-shrink:0; transition: transform .2s; }
.vd-sort-trigger.open svg.chevron { transform: rotate(180deg); }
.vd-sort-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 200;
    overflow: hidden;
    display: none;
    animation: vdDropIn .15s ease;
}
.vd-sort-menu.open { display: block; }
@keyframes vdDropIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.vd-sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: background .12s;
    border-bottom: 1px solid #f3f4f6;
}
.vd-sort-option:last-child { border-bottom: none; }
.vd-sort-option:hover { background: #f0f7ff; color: #1d4ed8; }
.vd-sort-option.active { color: #1d4ed8; background: #eff6ff; }
.vd-sort-option .check { width:14px; height:14px; flex-shrink:0; opacity:0; }
.vd-sort-option.active .check { opacity:1; }
.vd-rooms-list { display: grid; grid-template-columns: 1fr; gap: 6px; }
.vd-room-row.vd-hidden { display: none; }
.vd-rooms-no-results {
    display: none;
    text-align: center;
    padding: 28px 16px;
    color: #9ca3af;
    font-size: 13px;
}
.vd-room-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, box-shadow 0.15s;
    background: #fff;
    overflow: hidden;
    min-height: 80px;
}
.vd-room-row:hover { background: #f9fafb; box-shadow: 0 2px 8px rgba(0,0,0,0.07); text-decoration: none; color: inherit; }
/* Thumb wrapper — fixed 80px wide, stretches full row height */
.vd-room-thumb-wrap {
    width: 80px;
    flex-shrink: 0;
    flex-grow: 0;
    align-self: stretch;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #1e3a5f 0%, #1d4ed8 100%);
}
.vd-room-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.vd-room-thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vd-room-thumb-placeholder svg { width:22px; height:22px; opacity:.35; }
.vd-room-row-body { flex: 1; min-width: 0; padding: 10px 10px 10px 14px; display: flex; flex-direction: column; justify-content: center; }
.vd-room-name {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 3px;
}
.vd-room-meta {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vd-room-badges { display:flex; gap:4px; margin-top:4px; flex-wrap:wrap; }
.vd-room-badge { font-size:10px; font-weight:700; border-radius:4px; padding:1px 6px; }
.vd-room-badge-in  { background:#dbeafe; color:#1d4ed8; }
.vd-room-badge-out { background:#dcfce7; color:#15803d; }
.vd-room-link {
    font-size: 11px;
    font-weight: 700;
    color: #3b82f6;
    flex-shrink: 0;
    white-space: nowrap;
    background: #eff6ff;
    border-radius: 0 8px 8px 0;
    margin: 2px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.3px;
    transition: background 0.15s;
    align-self: stretch;
}
.vd-room-row:hover .vd-room-link { background: #dbeafe; }

/* ── Gallery ────────────────────────────────────────────────────────── */
.vd-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 4px;
}
.vd-gallery-thumb {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #e5e7ef;
    transition: transform 0.2s;
}
.vd-gallery-thumb:hover { transform: scale(1.03); }
.vd-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Sidebar ────────────────────────────────────────────────────────── */
.vd-sidebar-card {
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}
.vd-sidebar-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}
.vd-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}
.vd-contact-row:last-child { border-bottom: none; }
.vd-contact-row i { color: #6c63ff; font-size: 16px; flex-shrink: 0; }
.vd-contact-row a { color: #6c63ff; text-decoration: none; }
.vd-contact-row a:hover { text-decoration: underline; }

/* ── CTA Button ─────────────────────────────────────────────────────── */
.vd-cta-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #6c63ff;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}
.vd-cta-btn:hover { background: #5a52e0; color: #fff; text-decoration: none; }
.vd-cta-btn.outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #6b7280;
    font-size: 13px;
    padding: 10px;
}
.vd-cta-btn.outline:hover { background: #f9fafb; color: #374151; }

/* ── Airbnb-style photo grid ─────────────────────────────────────────── */
/* 3-col grid: main spans col1 rows1-2; 4 thumbs fill col2-3 rows1-2 */
.vd-photo-grid {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 6px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
}
/* Main image: col 1, rows 1-2 */
.vd-photo-main {
    grid-column: 1;
    grid-row: 1 / 3;
    cursor: pointer;
    overflow: hidden;
    background: #1a1a3e;
    position: relative;
}
.vd-photo-main img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.3s ease;
}
.vd-photo-main:hover img { transform: scale(1.03); }
/* Thumbs wrapper: col 2-3, rows 1-2 — 2×2 sub-grid */
.vd-photo-thumbs {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 6px;
}
/* Each thumb 3:2 — these drive the row heights for the whole grid */
.vd-photo-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #1a1a3e;
    aspect-ratio: 3 / 2;
}
.vd-photo-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.3s ease;
}
.vd-photo-thumb:hover img { transform: scale(1.05); }
.vd-photo-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 10px;
    pointer-events: none;
}
/* "Show all photos" button — white semi-transparent, black border */
.vd-photo-show-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.88);
    border: 1.5px solid #1a1a2e;
    border-radius: 8px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    pointer-events: auto;
    cursor: pointer;
}
.vd-photo-mobile-btn {
    display: none;
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255,255,255,0.88);
    border: 1.5px solid #1a1a2e;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    cursor: pointer;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto', sans-serif;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* ── Photo Lightbox ──────────────────────────────────────────────────── */
.vd-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.vd-lightbox-overlay.open { display: flex; }
/* White rounded modal container */
.vd-lightbox-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    position: relative;
}
/* Modal header */
.vd-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 14px;
    border-bottom: none;
    flex-shrink: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
}
.vd-lightbox-title {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}
.vd-lightbox-close {
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}
.vd-lightbox-close:hover { background: #e5e7eb; }
/* Small white bottom padding */
.vd-lightbox-modal::after {
    content: '';
    display: block;
    height: 16px;
    background: #fff;
    flex-shrink: 0;
    border-radius: 0 0 20px 20px;
}
/* Big featured image */
.vd-lightbox-featured {
    position: relative;
    flex: 0 0 auto;
    height: 520px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vd-lightbox-featured img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
@media (max-width: 768px) {
    .vd-lightbox-featured { height: 260px; }
}
.vd-lightbox-prev, .vd-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    color: #374151;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
    z-index: 2;
}
.vd-lightbox-prev { left: 12px; }
.vd-lightbox-next { right: 12px; }
.vd-lightbox-prev:hover, .vd-lightbox-next:hover { background: #d1d5db; }
.vd-lightbox-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26,26,46,0.75);
    color: #fff;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Responsive photo grid ───────────────────────────────────────────── */
/* By default: lg overlay visible, sm overlay hidden */
.vd-more-lg { display: flex; }
.vd-more-sm { display: none; }
@media (max-width: 1199px) {
    /* Switch thumbs from 2×2 to 1×2 — show only 2 photos on the right */
    .vd-photo-thumbs { grid-template-columns: 1fr; }
    .vd-photo-thumb:nth-child(3),
    .vd-photo-thumb:nth-child(4) { display: none; }
    /* Swap overlays: hide lg (on thumb 4), show sm (on thumb 2) */
    .vd-more-lg { display: none; }
    .vd-more-sm { display: flex; }
}
@media (max-width: 991px) {
    /* Single photo only — hide all thumbs, show mobile button */
    .vd-photo-grid { grid-template-columns: 1fr; }
    .vd-photo-thumbs { display: none; }
    .vd-photo-main { grid-row: 1; aspect-ratio: 3 / 2; }
    .vd-photo-mobile-btn { display: flex; }
    .vd-more-sm { display: none; }
}
@media (max-width: 768px) {
    .vd-lightbox-modal { border-radius: 14px; max-height: 95vh; }
    .vd-lightbox-img-wrap { max-width: 100vw; padding: 50px 8px 30px; }
    .vd-lightbox-prev, .vd-lightbox-next { width: 40px; height: 40px; font-size: 24px; margin: 0 4px; }
}

/* ── Feedback Modal ─────────────────────────────────────────────────── */
.vd-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.vd-modal-overlay.open { display: flex; }
.vd-modal {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    position: relative;
}
.vd-modal h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.vd-modal p { font-size: 14px; color: #6b7280; margin-bottom: 24px; }
.vd-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
}
.vd-modal-close:hover { color: #374151; }
.vd-form-group { margin-bottom: 16px; }
.vd-form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.vd-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.vd-form-input:focus { outline: none; border-color: #6c63ff; box-shadow: 0 0 0 3px rgba(108,99,255,0.1); }
textarea.vd-form-input { resize: vertical; min-height: 100px; }
.vd-type-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.vd-type-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.vd-type-btn svg { flex-shrink: 0; }
.vd-type-btn.active { border-color: #6c63ff; background: #f5f3ff; color: #6c63ff; }
.vd-submit-btn {
    width: 100%;
    padding: 13px;
    background: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
    margin-top: 8px;
}
.vd-submit-btn:hover { background: #5a52e0; }
.vd-submit-btn:disabled { background: #9ca3af; cursor: not-allowed; }
.vd-form-msg {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}
.vd-form-msg.success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.vd-form-msg.error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .vd-layout {
        grid-template-columns: 1fr;
    }
    /* Sidebar floats to top on mobile so "Add to Quote" is immediately visible */
    .vd-sidebar {
        order: -1;
    }
    .vd-main {
        order: 1;
    }
    .vd-rooms-list { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
    /* Body padding */
    .vd-body { padding: 32px 0; }

    /* Section cards */
    .vd-section { padding: 18px 16px; }
    .vd-explore { padding: 18px 16px; }

    /* Detail rows — prevent key label overflow */
    .vd-key { min-width: 110px; font-size: 13px; }
    .vd-val { font-size: 13px; }

    /* Capacity grid — 2 cols on mobile */
    .vd-cap-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* Gallery thumbs — 3 cols on mobile */
    .vd-gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; }

    /* Explore carousel cards — slightly narrower */
    .vd-explore-card { flex: 0 0 140px; }

    /* Sidebar card */
    .vd-sidebar-card { padding: 18px 16px; }

    /* CTA buttons full-width */
    .vd-cta-btn { width: 100%; box-sizing: border-box; }

    /* "Suggest a Change" bar — stack vertically */
    .vd-suggest-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .vd-suggest-bar-actions {
        width: 100%;
    }
    .vd-suggest-bar-actions button {
        flex: 1;
    }

    /* Prevent horizontal overflow */
    .vd-main, .vd-sidebar { max-width: 100%; overflow-x: hidden; }
}
@media (max-width: 600px) {
    .vd-body { padding: 24px 0; }
    .vd-section { padding: 16px 14px; }
    .vd-modal { padding: 24px 18px; }
    .vd-hero h1 { font-size: 1.8rem; }

    /* Capacity grid — 2 cols still fine */
    .vd-cap-grid { grid-template-columns: repeat(2, 1fr); }

    /* Gallery thumbs — 2 cols on very small screens */
    .vd-gallery { grid-template-columns: repeat(2, 1fr); }

    /* Section title smaller */
    .vd-section-title { font-size: 16px; }

    /* Suggest modal inner grids — stack to 1 col */
    .vd-suggest-modal-grid { grid-template-columns: 1fr !important; }
}
/* Global overflow guard */
@media (max-width: 900px) {
    body { overflow-x: hidden; }
    .container { max-width: 100%; }
}

/* ── RFQ back button (conditional — rendered inline when $from_rfq is true) ── */
@keyframes rfqSlideIn {
    from { transform: translateX(120px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}
#rfq-back-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgb(255 255 255 / 70%);
    color: #e91e8c;
    border: 2px solid #e91e8c;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    text-decoration: none;
    opacity: 0;
    animation: rfqSlideIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 1s forwards;
}
#rfq-back-btn:hover { background: rgb(227 227 227 / 70%); color: #e91e8c; transform: translateY(-2px); }
#rfq-back-btn svg { width: 14px; height: 14px; flex-shrink: 0; stroke: #e91e8c; }
@media (max-width: 600px) {
    #rfq-back-btn { bottom: 84px; right: 14px; padding: 11px 16px; font-size: 12px; }
}
