:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --dark-bg: #0a0a0a;
  --dark-card: #1c1c1c;
  --dark-text: #f0f0f0;
  --dark-muted: #9ca3af;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: var(--primary); }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; }

.container { max-width: 480px; margin: 0 auto; padding: 0 16px; }

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 12px 0;
}
.nav--dark { background: #0a0a0a; border-bottom: 1px solid rgba(255,255,255,0.07); }
.nav--dash { background: var(--white); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 20px; font-weight: 800; text-decoration: none; letter-spacing: -0.5px; }
.nav--dark .logo { color: #fff; }
.nav--dash .logo { color: var(--text); }
.nav__links { display: flex; align-items: center; gap: 10px; }
.nav--dark .nav__links a { color: #ccc; text-decoration: none; font-size: 14px; }
.nav__owner { font-size: 13px; color: var(--text-muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); font-weight: 600; cursor: pointer;
  text-decoration: none; border: none; font-size: 15px;
  padding: 11px 18px; transition: background 0.15s, opacity 0.15s;
  line-height: 1;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn--sm { font-size: 13px; padding: 7px 13px; }
.btn--lg { font-size: 17px; padding: 15px 24px; }
.btn--full { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--success { background: var(--success); color: #fff; }
.btn--danger { background: var(--error); color: #fff; }
.btn--ghost { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--bg); }

/* ── Dark landing ─────────────────────────────────────────────────────── */
.dark-page { background: var(--dark-bg); color: var(--dark-text); }

.hero { padding: 56px 0 48px; background: var(--dark-bg); }
.hero h1 {
  font-size: 34px; font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 14px;
}
.hero-sub { font-size: 17px; color: var(--dark-muted); margin-bottom: 28px; line-height: 1.5; }

.features { padding: 40px 0; background: #111; }
.feature-cards { display: flex; flex-direction: column; gap: 10px; }
.feature-card {
  background: var(--dark-card); border-radius: 12px; padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}
.feature-icon { font-size: 24px; margin-bottom: 8px; }
.feature-card h3 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { color: var(--dark-muted); font-size: 14px; line-height: 1.5; }

.how-it-works { padding: 40px 0; background: var(--dark-bg); }
.how-it-works h2 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; align-items: flex-start; gap: 14px; }
.step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.step h3 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.step p { color: var(--dark-muted); font-size: 13px; }

footer { padding: 20px 0; background: var(--dark-bg); text-align: center; color: var(--dark-muted); font-size: 13px; border-top: 1px solid rgba(255,255,255,0.05); }

/* ── Auth forms ──────────────────────────────────────────────────────── */
.form-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; background: var(--bg); padding: 24px 16px;
}
.form-card {
  background: var(--white); border-radius: 16px; padding: 28px 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07); width: 100%; max-width: 420px;
}
.form-card h1 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.back-link { font-size: 13px; color: var(--text-muted); text-decoration: none; display: inline-block; margin-bottom: 16px; }
.optional { font-weight: 400; color: var(--text-muted); font-size: 12px; }

/* ── Fields ──────────────────────────────────────────────────────────── */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12px; font-weight: 600; color: var(--text-muted);
  margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.4px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 16px; outline: none;
  transition: border-color 0.15s; background: var(--white); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 76px; }
.field-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.slug-preview {
  font-size: 12px; color: var(--primary); background: #eff6ff;
  border-radius: 6px; padding: 8px 10px; margin-top: 4px;
  word-break: break-all; border: 1px solid #dbeafe;
}
.form-link { text-align: center; margin-top: 14px; font-size: 14px; color: var(--text-muted); }
.form-link a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* ── Flash messages ────────────────────────────────────────────────────── */
.flash {
  padding: 11px 14px; border-radius: 8px; margin-bottom: 14px;
  font-size: 14px; font-weight: 500;
}
.flash--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.flash--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ── Dashboard ─────────────────────────────────────────────────────────── */
.dash-page { background: var(--bg); min-height: 100vh; }
.dash-content { padding: 16px 0 40px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.stat-card {
  background: var(--white); border-radius: 12px; padding: 12px 8px;
  text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.stat-card .num { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; }
.stat-card .label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; margin-top: 3px; }

.card {
  background: var(--white); border-radius: 12px; padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 10px;
}
.card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; gap: 8px; }
.card-name { font-size: 15px; font-weight: 600; display: block; }
.card-detail { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ── Badges ──────────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 100px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
  white-space: nowrap;
}
.badge--blue { background: #dbeafe; color: #1d4ed8; }
.badge--green { background: #d1fae5; color: #065f46; }
.badge--yellow { background: #fef3c7; color: #92400e; }
.badge--red { background: #fee2e2; color: #991b1b; }
.badge--gray { background: #f3f4f6; color: #374151; }

/* ── Dashboard tabs ──────────────────────────────────────────────────── */
.dash-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dash-tab {
  padding: 10px 14px; font-size: 14px; font-weight: 600;
  color: var(--text-muted); text-decoration: none;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.dash-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.dash-section { margin-bottom: 20px; }
.dash-section h2 {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px;
}
.empty-msg { color: var(--text-muted); font-size: 14px; padding: 12px 0; }

/* ── Booking link box ────────────────────────────────────────────────── */
.booking-link-box {
  background: var(--white); border-radius: 12px; padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 14px;
}
.booking-link-box label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-muted); display: block; margin-bottom: 6px; }
.link-url { font-size: 13px; color: var(--primary); word-break: break-all; background: #eff6ff; padding: 8px 10px; border-radius: 6px; }
.copy-btn { margin-top: 8px; }

/* ── Stripe banner ───────────────────────────────────────────────────── */
.stripe-banner {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 14px; font-size: 14px; line-height: 1.4;
}
.stripe-banner a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* ── Home screen banner ──────────────────────────────────────────────── */
.hs-banner {
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--radius);
  padding: 11px 14px; margin-bottom: 12px; font-size: 14px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.hs-banner-text { color: var(--text); flex: 1; min-width: 160px; }
.hs-banner-link {
  color: var(--primary); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.hs-banner-dismiss {
  background: none; border: none; color: var(--text-muted);
  font-size: 20px; line-height: 1; padding: 0 0 0 4px; flex-shrink: 0; cursor: pointer;
}

/* ── Add-to-homescreen steps ─────────────────────────────────────────── */
.hs-step {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px;
}
.hs-step:last-child { margin-bottom: 0; }
.hs-step-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff;
}
.hs-step-body { display: flex; gap: 10px; align-items: flex-start; }
.hs-step-icon { font-size: 20px; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.hs-step-title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.hs-step-detail { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ── Action row ──────────────────────────────────────────────────────── */
.action-row { display: flex; gap: 8px; flex-wrap: wrap; }
.action-row .btn { flex: 1; min-width: 100px; font-size: 13px; padding: 9px 10px; }
.action-row form { flex: 1; min-width: 100px; }
.action-row form .btn { width: 100%; }

/* ── Toggle rows ─────────────────────────────────────────────────────── */
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.toggle-row:last-child { border-bottom: none; }
.toggle-row label { font-size: 14px; }
.toggle-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }

/* ── Public listing ──────────────────────────────────────────────────── */
.public-page { background: var(--bg); min-height: 100vh; }
.listing-header { background: var(--white); padding: 16px 0; border-bottom: 1px solid var(--border); }
.listing-header h1 { font-size: 20px; font-weight: 800; }

.asset-card {
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07); margin-bottom: 14px;
  text-decoration: none; display: block; color: var(--text);
}
.asset-card img { width: 100%; height: 180px; object-fit: cover; }
.asset-card-body { padding: 14px; }
.asset-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.asset-card .price { font-size: 15px; color: var(--primary); font-weight: 600; }
.asset-card .location { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ── Photo carousel ──────────────────────────────────────────────────── */
.carousel { position: relative; overflow: hidden; border-radius: 12px; margin-bottom: 14px; background: #e5e7eb; }
.carousel-inner { display: flex; transition: transform 0.3s ease; }
.carousel-slide { flex-shrink: 0; width: 100%; }
.carousel-slide img { width: 100%; height: 220px; object-fit: cover; }
.carousel-dots { text-align: center; margin-top: 8px; padding-bottom: 4px; }
.carousel-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--border); margin: 0 3px; cursor: pointer; transition: background 0.15s; }
.carousel-dot.active { background: var(--primary); }

/* ── Price box ──────────────────────────────────────────────────────── */
.price-box { background: #eff6ff; border: 1px solid #dbeafe; border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.price-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.price-row:last-child { margin-bottom: 0; font-weight: 700; font-size: 16px; border-top: 1px solid #bfdbfe; padding-top: 8px; margin-top: 4px; }

/* ── Date grid ───────────────────────────────────────────────────────── */
.date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ── Booking page ────────────────────────────────────────────────────── */
.booking-header { text-align: center; padding: 20px 0 14px; }
.booking-header h1 { font-size: 20px; font-weight: 800; margin-top: 6px; }
.asset-name { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

.section { background: var(--white); border-radius: 14px; padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,0.07); margin-bottom: 14px; }
.section h2 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; gap: 8px; }
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text-muted); flex-shrink: 0; }
.detail-value { font-weight: 600; text-align: right; }

/* ── SMS buttons ────────────────────────────────────────────────────── */
.sms-link {
  display: block; background: #007aff; color: #fff; text-align: center;
  padding: 12px; border-radius: var(--radius); text-decoration: none;
  font-weight: 600; font-size: 16px; margin-top: 12px;
}
.sms-fallback {
  margin-top: 10px; padding: 10px 12px; background: var(--bg);
  border-radius: 8px; font-size: 13px; color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── File upload ────────────────────────────────────────────────────── */
.file-upload {
  display: block; border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center; cursor: pointer; font-size: 14px;
  color: var(--text-muted); transition: border-color 0.15s;
}
.file-upload:hover { border-color: var(--primary); color: var(--primary); }
.file-upload input { display: none; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.preview-grid img { width: 100%; height: 80px; object-fit: cover; border-radius: 6px; }

/* ── Powered by ─────────────────────────────────────────────────────── */
.powered-by { text-align: center; padding: 20px 16px 32px; font-size: 13px; color: var(--text-muted); }
.powered-by a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* ── Modal ──────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; z-index: 999; padding: 16px;
}
.modal-card {
  background: var(--white); border-radius: 16px; padding: 24px; width: 100%; max-width: 360px;
}
.modal-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.modal-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }

/* ── Calendar ───────────────────────────────────────────────────────── */
.cal-title { font-size: 18px; font-weight: 800; margin-bottom: 14px; }

.cal-card {
  background: var(--white); border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08); overflow: hidden;
}

.cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.cal-month-label { font-size: 16px; font-weight: 700; }
.cal-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  font-size: 22px; font-weight: 300; color: var(--text);
  text-decoration: none; background: var(--bg);
  border: 1.5px solid var(--border); line-height: 1;
  transition: background 0.15s;
}
.cal-arrow:hover { background: #e5e7eb; }

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px; padding: 8px; background: var(--border);
}
.cal-grid > * { background: var(--white); }

.cal-dow {
  text-align: center; font-size: 10px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.4px; padding: 6px 2px;
}

.cal-day {
  position: relative; min-height: 52px; padding: 4px;
  display: flex; flex-direction: column; align-items: center;
  cursor: default;
}
.cal-day--empty { background: #f9fafb !important; }
.cal-day--avail { background: #f0fdf4; }
.cal-day--avail:hover { background: #dcfce7; }
.cal-day--booked { background: #fef2f2; cursor: help; }
.cal-day--booked:hover { background: #fee2e2; }
.cal-day--today { outline: 2.5px solid var(--primary); outline-offset: -2px; }

.cal-num {
  font-size: 13px; font-weight: 600;
  line-height: 1; margin-bottom: 3px;
}
.cal-day--booked .cal-num { color: #991b1b; }
.cal-day--avail .cal-num  { color: #166534; }
.cal-day--empty .cal-num  { color: var(--text-muted); }
.cal-day--today .cal-num  { color: var(--primary); font-weight: 800; }

/* Block-dates calendar — owner-blocked (red) and customer-booked (blue) */
.blk-cal--blocked { background: #fee2e2; cursor: default; }
.blk-cal--blocked:hover { background: #fecaca; }
.blk-cal--blocked .cal-num { color: #991b1b; font-weight: 700; }
.blk-cal--booked { background: #dbeafe; cursor: default; }
.blk-cal--booked:hover { background: #bfdbfe; }
.blk-cal--booked .cal-num { color: #1e40af; }

.cal-cust {
  font-size: 9px; font-weight: 600; color: #991b1b;
  text-align: center; line-height: 1.2;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  max-width: 100%; word-break: break-word;
}

.cal-legend {
  display: flex; align-items: center; padding: 12px 16px;
  font-size: 12px; color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.cal-legend-dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 2px; margin-right: 5px; flex-shrink: 0;
}
.cal-legend-dot--avail  { background: #bbf7d0; }
.cal-legend-dot--booked { background: #fecaca; }

/* ── Dashboard Booking Calendar ─────────────────────────────────────── */
.dbc-card {
  background: var(--white); border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  overflow: hidden; margin-bottom: 16px;
}

.dbc-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
.dbc-month-label { font-size: 15px; font-weight: 700; }
.dbc-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  font-size: 22px; font-weight: 300; color: var(--text);
  text-decoration: none; background: var(--bg);
  border: 1.5px solid var(--border); line-height: 1;
  transition: background 0.15s;
}
.dbc-arrow:hover { background: #e5e7eb; }

/* Grid shown by default, hidden on very small screens */
.dbc-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--border);
}
.dbc-dow {
  text-align: center; font-size: 10px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.3px; padding: 7px 2px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.dbc-dow:last-child { border-right: none; }

.dbc-day {
  min-height: 68px; padding: 4px 2px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.dbc-day:nth-child(7n) { border-right: none; }
.dbc-day--empty { background: #f9fafb; }
.dbc-day--today { background: #eff6ff; }
.dbc-day-num {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--text-muted); line-height: 1;
  width: 20px; height: 20px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 2px;
}
.dbc-day--today .dbc-day-num {
  background: var(--primary); color: #fff;
  border-radius: 50%;
}
.dbc-pills { display: flex; flex-direction: column; gap: 1px; }

/* Booking pills */
.dbc-pill {
  font-size: 9px; color: #fff; line-height: 1;
  padding: 2px 4px; cursor: pointer;
  overflow: hidden; white-space: nowrap;
  font-weight: 600; border-radius: 2px;
  transition: opacity 0.1s;
}
.dbc-pill:hover { opacity: 0.8; }
.dbc-pill--start { border-radius: 3px 0 0 3px; }
.dbc-pill--mid   { border-radius: 0; }
.dbc-pill--end   { border-radius: 0 3px 3px 0; }
.dbc-pill--solo  { border-radius: 3px; }

/* Mobile list: hidden by default, shown on small screens */
.dbc-list { display: none; padding: 12px 14px; }
.dbc-list-section { margin-bottom: 14px; }
.dbc-list-date {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px;
}
.dbc-list-item {
  background: var(--bg); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 6px;
  cursor: pointer; border-left: 3px solid #94a3b8;
  border: 1px solid var(--border); border-left-width: 3px;
}
.dbc-list-item:hover { background: #f3f4f6; }
.dbc-list-name { font-weight: 600; font-size: 14px; color: var(--text); }
.dbc-list-sub  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Legend */
.dbc-legend {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 10px 14px; border-top: 1px solid var(--border);
}
.dbc-legend-item {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-muted);
}
.dbc-legend-dot {
  width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0;
}

/* Booking popup */
.dbc-popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  z-index: 500; display: flex;
  align-items: flex-end; justify-content: center;
}
.dbc-popup-card {
  background: var(--white); border-radius: 18px 18px 0 0;
  padding: 22px 20px 32px; width: 100%; max-width: 500px;
  max-height: 85vh; overflow-y: auto;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
}
.dbc-popup-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.dbc-popup-name  { font-size: 17px; font-weight: 700; }
.dbc-popup-close {
  background: none; border: none; font-size: 24px;
  color: var(--text-muted); cursor: pointer; padding: 0; line-height: 1;
}
.dbc-popup-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.dbc-popup-row:last-of-type { border-bottom: none; }
.dbc-popup-lbl { color: var(--text-muted); }

/* Switch grid ↔ list based on screen width */
@media (max-width: 380px) {
  .dbc-grid    { display: none; }
  .dbc-list    { display: block; }
  .dbc-legend  { display: none; }
}

/* On wider screens, popup sits centered, not bottom-sheet */
@media (min-width: 500px) {
  .dbc-popup-overlay { align-items: center; }
  .dbc-popup-card    { border-radius: 16px; max-width: 420px; }
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (min-width: 600px) {
  .container { max-width: 560px; }
  .hero h1 { font-size: 44px; }
  .feature-cards { flex-direction: row; flex-wrap: wrap; }
  .feature-card { flex: 1; min-width: 200px; }
}
