/* Desktop Open Houses & Viewings. Every selector is prefixed cbvd-. Colours, type and chrome mirror desktop_listings.php. */
:root {
  --cbvd-dark: #13161d;
  --cbvd-darker: #0f1116;
  --cbvd-gold: #c7a24a;          /* same gold as desktop_listings hearts / rules */
  --cbvd-gold-bright: #e3c879;   /* wordmark accent / active switch */
  --cbvd-gold-dark: #b58c2e;     /* eyebrows, icons */
  --cbvd-gold-text: #87691f;
  --cbvd-ink: #171b22;
  --cbvd-mute: #6b7280;
  --cbvd-bg: #f7f5f1;
  --cbvd-panel: #fbf8f2;
  --cbvd-rule: #e1dbd1;
  --cbvd-field: #d9d0c3;
  --cbvd-card: #fffdfa;
  --cbvd-card-line: rgba(169, 149, 118, .24);
  --cbvd-gold-tint: rgba(199, 162, 74, .14);
  --cbvd-serif: "Playfair Display", Georgia, serif;
  --cbvd-sans: Inter, system-ui, sans-serif;
}
.cbvd-body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--cbvd-sans); -webkit-font-smoothing: antialiased; background: var(--cbvd-dark); color: var(--cbvd-ink); }
.cbvd-body *, .cbvd-body *::before, .cbvd-body *::after { box-sizing: border-box; }
html.cbvd-lock, html.cbvd-lock .cbvd-body { overflow: hidden; }
.cbvd-main { flex: 1 0 auto; background: var(--cbvd-bg); }
.cbvd-wrap { max-width: 1600px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 1024px) { .cbvd-wrap { padding: 0 24px; } }

/* ---- Header (same as the desktop catalog) ---- */
.cbvd-header { height: 76px; background: #0f1218; color: #fff; padding: 0 44px; border-bottom: 1px solid rgba(199, 162, 74, .28); display: flex; align-items: center; flex-shrink: 0; }
.cbvd-header-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.cbvd-header-start { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cbvd-logo { text-decoration: none; color: #fff; font: 700 27px/1 var(--cbvd-serif); letter-spacing: .01em; white-space: nowrap; }
.cbvd-logo span { color: var(--cbvd-gold-bright); }
.cbvd-logo .cbvd-brand-lead { font-style: italic; padding-right: .04em; }
.cbvd-tagline { font-size: 10px; letter-spacing: .17em; text-transform: uppercase; color: rgba(255, 255, 255, .54); white-space: nowrap; }
.cbvd-mode { display: inline-flex; align-items: center; padding: 3px; border: 1px solid rgba(199, 162, 74, .48); border-radius: 999px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02); }
.cbvd-mode__item { min-width: 62px; height: 30px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .66); font: 700 10px/1 var(--cbvd-sans); letter-spacing: .11em; text-transform: uppercase; text-decoration: none; transition: background .18s, color .18s; }
.cbvd-mode__item:hover { color: #fff; }
.cbvd-mode__item.is-active { background: var(--cbvd-gold-bright); color: #11151b; box-shadow: 0 2px 12px rgba(227, 200, 121, .24); pointer-events: none; }
@media (max-width: 768px) { .cbvd-header { height: auto; min-height: 68px; padding: 12px 18px; } .cbvd-logo { font-size: 23px; } .cbvd-tagline { display: none; } }

/* ---- Intro (same pattern as the catalog header) ---- */
.cbvd-hero { background: var(--cbvd-bg); border-bottom: 1px solid rgba(17, 21, 27, .09); }
.cbvd-hero__inner { padding: 26px 0 18px; text-align: center; max-width: 900px; margin: 0 auto; border-bottom: 1px solid var(--cbvd-rule); }
.cbvd-eyebrow { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cbvd-gold-dark); margin: 0 0 7px; }
.cbvd-title { font: 600 clamp(2rem, 2.7vw, 2.75rem)/1.13 var(--cbvd-serif); letter-spacing: -.025em; color: var(--cbvd-ink); margin: 0 0 7px; font-feature-settings: "lnum" 1; }
.cbvd-subtitle { font-size: .9rem; line-height: 1.55; color: var(--cbvd-mute); margin: 0 auto; max-width: 640px; }

/* ---- Controls ---- */
.cbvd-controls { background: var(--cbvd-panel); border-bottom: 1px solid #e8e1d6; box-shadow: 0 8px 24px rgba(29, 25, 20, .05); }
.cbvd-row1 { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0 12px; flex-wrap: wrap; }
.cbvd-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cbvd-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid rgba(199, 162, 74, .58); background: #fff; color: var(--cbvd-ink); font: 700 11px/1 var(--cbvd-sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.cbvd-chip b { font-size: 10px; letter-spacing: 0; min-width: 22px; padding: 3px 6px; text-align: center; background: #f1ece2; color: var(--cbvd-gold-text); }
.cbvd-chip:hover { border-color: var(--cbvd-gold-dark); }
.cbvd-chip--primary { background: var(--cbvd-gold-tint); border-color: var(--cbvd-gold); }
.cbvd-chip.is-on { background: var(--cbvd-gold-bright); border-color: var(--cbvd-gold-bright); color: #11151b; }
.cbvd-chip.is-on b { background: rgba(17, 21, 27, .12); color: #11151b; }
.cbvd-chip:focus-visible, .cbvd-btn:focus-visible, .cbvd-views button:focus-visible, .cbvd-heart:focus-visible, .cbvd-cell:focus-visible, .cbvd-iconbtn:focus-visible { outline: 2px solid var(--cbvd-gold-dark); outline-offset: 2px; }
.cbvd-views, .cbvd-seg { display: inline-flex; border: 1px solid var(--cbvd-field); background: #fff; }
.cbvd-views button, .cbvd-seg button { height: 36px; padding: 0 20px; border: 0; background: transparent; color: #6f665a; font: 700 11px/1 var(--cbvd-sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.cbvd-views button + button, .cbvd-seg button + button { border-left: 1px solid var(--cbvd-field); }
.cbvd-views button.is-on, .cbvd-seg button.is-on { background: var(--cbvd-ink); color: var(--cbvd-gold-bright); }
.cbvd-seg button { height: 36px; padding: 0 16px; }

.cbvd-filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 0 0 18px; }
.cbvd-field { display: block; min-width: 0; }
.cbvd-field--search { grid-column: span 2; }
.cbvd-field > span { display: block; margin: 0 0 7px; color: #6f665a; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.cbvd-field select, .cbvd-field input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--cbvd-field); border-radius: 0; background: #fff; color: #242321; font: 500 13px Arial, sans-serif; outline: none; }
.cbvd-field select { padding-right: 30px; }
.cbvd-field select:focus, .cbvd-field input:focus { border-color: #b69355; box-shadow: 0 0 0 1px #b69355; }
.cbvd-clear { justify-self: start; align-self: center; margin-top: 22px; border: 0; background: none; padding: 0 0 2px; font: 700 11px/1 var(--cbvd-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cbvd-gold-text); border-bottom: 1px solid rgba(199, 162, 74, .6); cursor: pointer; }
.cbvd-clear:hover { color: #171a20; border-color: #171a20; }
.cbvd-clear[hidden] { display: none; }
@media (min-width: 1800px) { .cbvd-filters { grid-template-columns: 1.4fr repeat(9, minmax(0, 1fr)) auto; } .cbvd-field select { padding-right: 22px; } .cbvd-field--search { grid-column: auto; } .cbvd-clear { margin-top: 22px; } }
@media (max-width: 1100px) { .cbvd-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cbvd-field--search { grid-column: 1 / -1; } }

/* ---- Stage ---- */
.cbvd-stagewrap { padding-top: 10px; padding-bottom: 72px; }
.cbvd-stage { min-height: 40vh; }
.cbvd-day { margin-top: 30px; }
.cbvd-dayhead { display: flex; align-items: baseline; gap: 16px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--cbvd-rule); }
.cbvd-dayhead h2 { margin: 0; font: 600 1.55rem/1.2 var(--cbvd-serif); letter-spacing: -.015em; color: var(--cbvd-ink); font-feature-settings: "lnum" 1; }
.cbvd-dayhead h2 em { font-style: normal; margin-right: 10px; padding: 4px 10px; background: var(--cbvd-gold-bright); color: #11151b; font: 700 10px/1 var(--cbvd-sans); letter-spacing: .13em; text-transform: uppercase; vertical-align: middle; }
.cbvd-dayhead span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8a7f6c; font-weight: 700; }

.cbvd-loc { font: 700 10px/1.3 var(--cbvd-sans); letter-spacing: .15em; text-transform: uppercase; color: #a8863c; }
.cbvd-price { font: 600 22px/1.2 var(--cbvd-sans); letter-spacing: -.01em; color: #171a20; font-feature-settings: "tnum" 1; margin: 12px 0 10px; }
.cbvd-price--s { font-size: 18px; margin: 8px 0 8px; }
.cbvd-type { margin-top: 6px; font-size: 13px; color: #7a7f87; }
.cbvd-specs { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 12px; border-top: 1px solid #ece6db; font: 600 11px/1.3 var(--cbvd-sans); letter-spacing: .1em; text-transform: uppercase; color: #6f747c; }
.cbvd-specs span { display: inline-flex; align-items: center; gap: 6px; }
.cbvd-specs svg { color: var(--cbvd-gold-dark); }
.cbvd-agent { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: #3c3f44; }
.cbvd-agent small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a8f97; }
.cbvd-agent__av { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #171b22; color: var(--cbvd-gold-bright); display: grid; place-items: center; font: 600 14px var(--cbvd-serif); overflow: hidden; border: 1px solid var(--cbvd-gold); }
.cbvd-agent__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cbvd-noimg { background: linear-gradient(135deg, #ece6da, #dcd3c1); }
.cbvd-example { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; background: rgba(17, 21, 27, .82); color: #f0d38b; font: 700 10px/1 var(--cbvd-sans); letter-spacing: .13em; text-transform: uppercase; backdrop-filter: blur(4px); }
.cbvd-example--inline { position: static; display: inline-block; vertical-align: middle; margin-left: 8px; }

/* Buttons */
.cbvd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid transparent; font: 700 11px/1 var(--cbvd-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.cbvd-btn--solid { background: var(--cbvd-ink); border-color: var(--cbvd-ink); color: var(--cbvd-gold-bright); }
.cbvd-btn--solid:hover { background: #000; }
.cbvd-btn--ghost { background: rgba(255, 255, 255, .6); border-color: rgba(199, 162, 74, .58); color: var(--cbvd-ink); }
.cbvd-btn--ghost:hover { background: var(--cbvd-ink); border-color: var(--cbvd-ink); color: #fff; }
.cbvd-btn--off { background: #f1ece2; color: #8a7f6c; cursor: default; }
.cbvd-btn--sm { min-height: 36px; padding: 0 14px; }

/* Heart / shortlist */
.cbvd-heart { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; color: var(--cbvd-ink); border: 0; background: transparent; }
.cbvd-heart svg { fill: none; stroke: currentColor; transition: transform .15s; }
.cbvd-heart:hover svg { transform: scale(1.08); }
.cbvd-heart.is-on svg { fill: var(--cbvd-gold); stroke: var(--cbvd-gold); }
.cbvd-heart--btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--cbvd-field); background: #fff; font: 700 11px/1 var(--cbvd-sans); letter-spacing: .1em; text-transform: uppercase; }
.cbvd-heart--btn:hover { border-color: var(--cbvd-gold-dark); }
.cbvd-heart--btn.is-on { border-color: var(--cbvd-gold); background: var(--cbvd-gold-tint); }
.cbvd-heart--overlay { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: rgba(17, 21, 27, .42); backdrop-filter: blur(4px); }
.cbvd-heart--overlay svg { width: 22px; height: 22px; }

/* ---- Agenda rows: wide horizontal cards ---- */
.cbvd-rows { display: grid; gap: 20px; }
.cbvd-row { display: grid; grid-template-columns: 320px minmax(0, 1fr) 280px; background: var(--cbvd-card); border: 1px solid var(--cbvd-card-line); border-radius: 5px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .04); transition: box-shadow .25s, transform .25s; }
.cbvd-row:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 0, 0, .08), 0 12px 24px rgba(0, 0, 0, .06), 0 0 0 1px rgba(212, 175, 55, .18); }
.cbvd-row__media { position: relative; display: block; min-height: 232px; background: #ece6da; }
.cbvd-row__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cbvd-row__body { padding: 24px 28px; min-width: 0; display: flex; flex-direction: column; }
.cbvd-row__title, .cbvd-card__title, .cbvd-pitem__title { display: block; margin-top: 9px; font: 600 24px/1.25 var(--cbvd-serif); color: #171a20; text-decoration: none; overflow-wrap: anywhere; }
.cbvd-row__title:hover, .cbvd-card__title:hover, .cbvd-pitem__title:hover { color: var(--cbvd-gold-text); }
.cbvd-row__body .cbvd-specs { margin-top: auto; }
.cbvd-row__side { padding: 24px 24px 24px 8px; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; border-left: 1px solid #ece6db; padding-left: 24px; background: #faf7f1; }
.cbvd-row__act { display: grid; gap: 10px; }
.cbvd-row__act .cbvd-btn, .cbvd-row__act .cbvd-heart { width: 100%; }

/* Date + time block */
.cbvd-when { display: flex; align-items: center; gap: 16px; }
.cbvd-when__cal { flex: none; width: 66px; padding: 7px 0 8px; text-align: center; background: #11151b; color: var(--cbvd-gold-bright); border: 1px solid var(--cbvd-gold); line-height: 1; }
.cbvd-when__cal span { display: block; font: 700 10px/1 var(--cbvd-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cbvd-when__cal b { display: block; margin: 5px 0; font: 600 28px/1 var(--cbvd-serif); font-feature-settings: "lnum" 1; }
.cbvd-when__t { display: grid; gap: 4px; }
.cbvd-when__t em { font: normal 700 10px/1 var(--cbvd-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cbvd-gold-dark); }
.cbvd-when__t strong { font: 600 22px/1.1 var(--cbvd-sans); color: var(--cbvd-ink); font-feature-settings: "tnum" 1; }
.cbvd-when__t small { font-size: 11px; color: #8a7f6c; }
@media (max-width: 1250px) { .cbvd-row { grid-template-columns: 260px minmax(0, 1fr) 250px; } }
@media (max-width: 1000px) { .cbvd-row { grid-template-columns: 220px minmax(0, 1fr); } .cbvd-row__side { grid-column: 1 / -1; flex-direction: row; align-items: center; border-left: 0; border-top: 1px solid #ece6db; padding: 18px 24px; } .cbvd-row__act { grid-auto-flow: column; } }

/* ---- Cards ---- */
.cbvd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; margin-top: 24px; align-items: stretch; }
@media (min-width: 1400px) { .cbvd-grid { grid-template-columns: repeat(4, 1fr); gap: 40px 34px; } }
@media (max-width: 1100px) { .cbvd-grid { grid-template-columns: repeat(2, 1fr); } }
.cbvd-card { display: flex; flex-direction: column; background: var(--cbvd-card); border: 1px solid var(--cbvd-card-line); border-radius: 5px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .04); transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s; }
.cbvd-card:hover { transform: translateY(-6px); box-shadow: 0 4px 12px rgba(0, 0, 0, .08), 0 12px 24px rgba(0, 0, 0, .06), 0 0 0 1px rgba(212, 175, 55, .18); }
.cbvd-card__media { position: relative; height: 290px; background: #ece6da; overflow: hidden; }
.cbvd-card__media > a { display: block; width: 100%; height: 100%; }
.cbvd-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cbvd-card:hover .cbvd-card__img { transform: scale(1.04); }
.cbvd-badge { position: absolute; left: 14px; top: 14px; padding: 9px 14px; background: #11151b; color: var(--cbvd-gold-bright); border: 1px solid var(--cbvd-gold); display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.cbvd-badge b { font: 700 11px/1 var(--cbvd-sans); letter-spacing: .13em; text-transform: uppercase; }
.cbvd-badge span { font: 600 17px/1 var(--cbvd-sans); color: #fff; font-feature-settings: "tnum" 1; }
.cbvd-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.cbvd-card__title { font-size: 21px; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cbvd-card__body .cbvd-specs { margin-top: 2px; }
.cbvd-card__act { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cbvd-card__act .cbvd-btn { padding: 0 10px; min-height: 42px; }

/* ---- Calendar ---- */
.cbvd-cal { margin-top: 26px; background: var(--cbvd-card); border: 1px solid var(--cbvd-card-line); box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .04); }
.cbvd-calhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--cbvd-rule); }
.cbvd-calnav { display: flex; align-items: center; gap: 10px; }
.cbvd-calnav h2 { margin: 0 8px; min-width: 230px; text-align: center; font: 600 1.6rem/1 var(--cbvd-serif); letter-spacing: -.015em; color: var(--cbvd-ink); font-feature-settings: "lnum" 1; }
.cbvd-iconbtn { width: 40px; height: 40px; border: 1px solid var(--cbvd-field); background: #fff; color: var(--cbvd-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.cbvd-iconbtn:hover { border-color: var(--cbvd-gold-dark); background: var(--cbvd-gold-tint); }
.cbvd-dows { display: grid; grid-template-columns: repeat(7, 1fr); background: #faf7f1; border-bottom: 1px solid var(--cbvd-rule); }
.cbvd-dows span { padding: 11px 12px; font: 700 11px/1 var(--cbvd-sans); letter-spacing: .12em; text-transform: uppercase; color: #8a7f6c; }
.cbvd-cells { display: grid; grid-template-columns: repeat(7, 1fr); }
.cbvd-cell { position: relative; min-height: 132px; padding: 10px 10px 8px; border-right: 1px solid #efe9de; border-bottom: 1px solid #efe9de; background: var(--cbvd-card); cursor: pointer; transition: background .15s; min-width: 0; }
.cbvd-cell:nth-child(7n) { border-right: 0; }
.cbvd-cells--week .cbvd-cell { min-height: 360px; }
.cbvd-cell:hover { background: #fbf6e9; }
.cbvd-cell.is-out, .cbvd-cell.is-past { background: #faf8f4; }
.cbvd-cell.is-past .cbvd-cell__n { color: #b9b2a3; }
.cbvd-cell.is-out .cbvd-cell__n { color: #b9b2a3; }
.cbvd-cell.is-sel { background: var(--cbvd-gold-tint); box-shadow: inset 0 0 0 2px var(--cbvd-gold); }
.cbvd-cell__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cbvd-cell__n { font: 600 14px/1 var(--cbvd-sans); color: var(--cbvd-ink); font-feature-settings: "tnum" 1; }
.cbvd-cell.is-today .cbvd-cell__n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; background: #11151b; color: var(--cbvd-gold-bright); }
.cbvd-cell__c { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; background: var(--cbvd-gold-bright); color: #11151b; font: 700 11px/1 var(--cbvd-sans); }
.cbvd-cell__evs { display: grid; gap: 4px; }
.cbvd-ev { display: flex; gap: 6px; align-items: baseline; padding: 4px 7px; background: #fff; border: 1px solid rgba(199, 162, 74, .5); border-left: 3px solid var(--cbvd-gold); font-size: 11.5px; line-height: 1.25; min-width: 0; overflow: hidden; }
.cbvd-ev b { flex: none; font-weight: 700; color: var(--cbvd-ink); font-feature-settings: "tnum" 1; }
.cbvd-ev i { font-style: normal; color: #5b6068; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbvd-ev.is-example { border-style: dashed; border-left-style: solid; }
.cbvd-more { font: 700 11px/1 var(--cbvd-sans); letter-spacing: .04em; color: var(--cbvd-gold-text); padding: 3px 2px; }
.cbvd-cal .cbvd-empty { margin: 30px auto; border: 0; }

/* Side panel */
.cbvd-panel { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.cbvd-panel.is-open { visibility: visible; pointer-events: auto; }
.cbvd-panel__backdrop { position: absolute; inset: 0; background: rgba(15, 18, 24, .45); opacity: 0; transition: opacity .25s; }
.cbvd-panel.is-open .cbvd-panel__backdrop { opacity: 1; }
.cbvd-panel__sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%); display: flex; flex-direction: column; background: var(--cbvd-bg); border-left: 1px solid rgba(199, 162, 74, .45); box-shadow: -18px 0 48px rgba(0, 0, 0, .22); transform: translateX(100%); transition: transform .28s ease; }
.cbvd-panel.is-open .cbvd-panel__sheet { transform: none; }
.cbvd-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 26px 18px; background: #0f1218; color: #fff; border-bottom: 1px solid rgba(199, 162, 74, .28); }
.cbvd-panel__head .cbvd-eyebrow { color: var(--cbvd-gold-bright); margin-bottom: 6px; }
.cbvd-panel__head h2 { margin: 0; font: 600 1.7rem/1.15 var(--cbvd-serif); letter-spacing: -.015em; }
.cbvd-panel__head .cbvd-iconbtn { background: transparent; color: #fff; border-color: rgba(199, 162, 74, .5); }
.cbvd-panel__head .cbvd-iconbtn:hover { background: rgba(255, 255, 255, .08); }
.cbvd-panel__body { padding: 20px 26px 32px; overflow-y: auto; display: grid; gap: 18px; align-content: start; }
.cbvd-panel__n { margin: 0; font: 700 11px/1 var(--cbvd-sans); letter-spacing: .12em; text-transform: uppercase; color: #8a7f6c; }
.cbvd-panel__none { margin: 0; padding: 28px 20px; text-align: center; color: var(--cbvd-mute); background: var(--cbvd-card); border: 1px dashed var(--cbvd-field); }
.cbvd-pitem { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px; background: var(--cbvd-card); border: 1px solid var(--cbvd-card-line); border-radius: 5px; }
.cbvd-pitem__media { position: relative; display: block; min-height: 150px; background: #ece6da; overflow: hidden; }
.cbvd-pitem__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cbvd-ptime { font: 700 13px/1 var(--cbvd-sans); color: var(--cbvd-ink); padding: 5px 9px; background: var(--cbvd-gold-bright); display: inline-block; font-feature-settings: "tnum" 1; }
.cbvd-pitem__title { font-size: 18px; margin-top: 8px; }
.cbvd-pitem__body .cbvd-specs { margin-top: 0; }
.cbvd-pitem__act { display: grid; gap: 8px; margin-top: 14px; }
.cbvd-pitem__act .cbvd-btn, .cbvd-pitem__act .cbvd-heart { width: 100%; min-height: 40px; }

/* Empty state, toast */
.cbvd-empty { margin: 40px auto 0; max-width: 460px; padding: 40px 28px; text-align: center; background: var(--cbvd-card); border: 1px solid var(--cbvd-card-line); border-radius: 5px; }
.cbvd-empty h3 { margin: 0 0 8px; font: 600 24px/1.2 var(--cbvd-serif); }
.cbvd-empty p { margin: 0 0 20px; color: var(--cbvd-mute); font-size: 14.5px; line-height: 1.55; }
.cbvd-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 10px); z-index: 400; padding: 12px 22px; background: #11151b; color: #fff; border: 1px solid var(--cbvd-gold); font-size: 13px; letter-spacing: .02em; opacity: 0; transition: opacity .2s, transform .2s; }
.cbvd-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---- Footer (same as the desktop catalog) ---- */
.cbvd-footer { background: var(--cbvd-darker); color: #fff; padding: 25px 40px; border-top: 1px solid rgba(199, 162, 74, .28); flex-shrink: 0; }
.cbvd-footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.cbvd-footer p { color: rgba(255, 255, 255, .5); font-size: 12px; text-align: left; margin: 0; line-height: 1.5; flex: 1; }
.cbvd-footer-links { display: flex; gap: 20px; white-space: nowrap; }
.cbvd-footer a { color: rgba(255, 255, 255, .6); font-size: 12px; text-decoration: none; transition: color .3s; }
.cbvd-footer a:hover { color: #f5d782; }

@media (prefers-reduced-motion: reduce) { .cbvd-panel__sheet, .cbvd-panel__backdrop, .cbvd-card, .cbvd-card__img, .cbvd-row, .cbvd-toast { transition: none; } }
