*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #7a2510;
  --primary-light: #f0e8e4;
  --primary-dark: #5a1a0a;
  --bg: #faf7f4;
  --card-bg: #ffffff;
  --border: #e8e0d8;
  --text: #1a1a1a;
  --text-muted: #7a7268;
  --text-light: #b0a89e;
  --amber: #d97706;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 4px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.04);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mini {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.top-bar-right { display: flex; align-items: center; gap: 10px; }
.my-bookings-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.my-bookings-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.logged-in-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--primary-light);
  border: 1px solid #d4bdb5;
  border-radius: 100px;
  padding: 4px 4px 4px 12px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}
.logged-in-label-btn {
  background: none; border: none; padding: 0; margin: 0;
  color: inherit; font: inherit; cursor: pointer;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.logged-in-label-btn:hover { text-decoration: underline; }
.logout-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* ===== BOOKINGS PANEL ===== */
.bookings-panel {
  background: white;
  border-bottom: 1px solid var(--border);
  animation: slide-down 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
@keyframes slide-down { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.bookings-panel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}
.bookings-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.bookings-panel-title { font-size: 18px; font-weight: 700; }
.panel-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
}
.panel-close:hover { background: var(--primary-light); color: var(--primary); }
.bookings-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.bookings-panel-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bk-when-toggle {
  display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 100px; padding: 3px;
  flex-shrink: 0; max-width: 100%;
}
.bk-when-btn {
  border: none; background: transparent; color: var(--text-muted);
  font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 100px;
  cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
}
.bk-when-btn span {
  min-width: 1.5em; text-align: center;
  font-size: 11px; font-weight: 700;
  background: white; border: 1px solid var(--border);
  border-radius: 100px; padding: 1px 7px;
}
.bk-when-btn.active { background: var(--primary); color: white; }
.bk-when-btn.active span {
  background: rgba(255,255,255,0.16); border-color: transparent; color: white;
}
.bk-apps-btn {
  border: 1px solid var(--border); background: white; color: var(--text-muted);
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 100px;
  cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.bk-apps-btn span {
  min-width: 1.5em; text-align: center;
  font-size: 11px; font-weight: 700;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 100px; padding: 1px 7px;
}
.bk-apps-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.bk-apps-btn.active span {
  background: rgba(255,255,255,0.16); border-color: transparent; color: white;
}
.booking-history-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  box-shadow: var(--shadow);
}
.booking-history-card .bh-id { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; }
.booking-history-card .bh-event { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.booking-history-card .bh-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--text-muted); font-size: 12px; }
.booking-history-card .bh-row span:last-child { color: var(--text); font-weight: 500; }
.booking-history-card .bh-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.bh-status-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; text-transform: capitalize; }
.bh-status-badge.confirmed { background: #d1fae5; color: #065f46; }
.bh-status-badge.pending { background: #fef3c7; color: #92400e; }
.bh-status-badge.cancelled { background: #fee2e2; color: #991b1b; }
.bh-status-badge.refunded { background: #ede9fe; color: #5b21b6; }
.bh-status-badge.refund_pending { background: #fef3c7; color: #92400e; }
.bh-cancel-btn {
  background: none;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.bh-cancel-btn:hover { background: #fee2e2; }
.empty-bookings { text-align: center; padding: 40px; color: var(--text-muted); font-size: 14px; }

.page-wrapper { max-width: 1200px; margin: 0 auto; padding: 24px; }
.layout { display: grid; grid-template-columns: 55% 45%; gap: 24px; align-items: start; }

/* ===== VENUE PHOTO ===== */
.venue-photo-wrap { margin-bottom: -40px; position: relative; z-index: 1; }
.venue-photo {
  width: 100%;
  height: 220px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #8B4513 0%, #5a2d0c 100%);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}
.venue-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
}

/* ===== VENUE HEADER ===== */
.venue-card {
  background: linear-gradient(135deg, #8B4513 0%, #5a2d0c 100%);
  border-radius: var(--radius);
  padding: 24px;
  color: white;
  margin-bottom: 16px;
}
.venue-card.overlap {
  position: relative;
  z-index: 2;
  margin-left: 16px;
  margin-right: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.venue-name { font-size: 24px; font-weight: 500; margin-bottom: 4px; }
.venue-address { font-size: 13px; opacity: 0.85; margin-bottom: 4px; }
.venue-tagline { font-size: 12px; font-style: italic; opacity: 0.75; margin-bottom: 12px; }
.venue-stars { display: flex; align-items: center; gap: 6px; }
.stars { color: #fbbf24; font-size: 14px; letter-spacing: 1px; }
.rating-text { font-size: 12px; opacity: 0.85; }

/* ===== SECTION CARD ===== */
.section-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.section-heading { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }

.apply-promo-card { background: linear-gradient(180deg, #fff 0%, #fbf6f3 100%); }
.apply-optional {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.apply-promo-copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.apply-promo-btn {
  width: 100%;
  background: white;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 12px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.apply-promo-btn:hover { background: var(--primary-light); }

/* ===== PRICING INFO CARD (new) ===== */
.pricing-info-card { padding: 18px 20px; }
.price-rows { display: flex; flex-direction: column; }
.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  border-radius: 6px;
  transition: background 0.15s;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--bg); }
.price-icon {
  font-size: 20px;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}
.price-icon.green { color: var(--green); }
.price-label { flex: 1; min-width: 0; }
.price-main { font-size: 14px; font-weight: 600; color: var(--text); }
.price-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.price-value { text-align: right; flex-shrink: 0; }
.price-amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.price-amount span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ===== TOGGLE ===== */
.booking-toggle { display: flex; gap: 8px; margin-bottom: 20px; }
.toggle-btn {
  flex: 1; padding: 10px 16px; border-radius: 100px;
  border: 1.5px solid var(--primary); background: white; color: var(--primary);
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease;
  font-family: inherit;
}
.toggle-btn.active { background: var(--primary); color: white; }
.toggle-btn:hover:not(.active) { background: var(--primary-light); }

/* ===== CALENDAR (Airbnb-inspired, Lodge brand) ===== */
.calendar-section { margin-bottom: 20px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month-label { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.cal-nav {
  background: white; border: 1px solid var(--border); border-radius: 50%;
  width: 32px; height: 32px; font-size: 18px; cursor: pointer; color: var(--text);
  display: flex; align-items: center; justify-content: center; transition: all 0.15s; line-height: 1;
}
.cal-nav:hover { border-color: var(--text); background: var(--bg); }
.calendar-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; margin-bottom: 4px;
}
.calendar-dow span {
  font-size: 12px; font-weight: 600; color: var(--text-muted); padding: 6px 0;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 2px;
}
.cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 2px;
  font-size: 13px; border-radius: 8px; cursor: pointer; transition: background 0.15s;
  border: none; background: none; color: var(--text); font-family: inherit;
}
.cal-day:hover:not(.past):not(.empty):not(.full) { background: #f5f0eb; }
.cal-day-num {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.cal-day-tag {
  position: relative;
  z-index: 1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: #b45309;
}
.cal-day.today:not(.selected) .cal-day-num {
  box-shadow: inset 0 0 0 1.5px var(--text-muted);
  border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.cal-day.past,
.cal-day.past .cal-day-num {
  color: #d1cbc4;
  cursor: default;
  pointer-events: none;
  font-weight: 400;
  text-decoration: none;
}
.cal-day.past .cal-day-tag { display: none; }
.cal-day.empty { cursor: default; pointer-events: none; }

.cal-day.open:not(.selected):not(.past) .cal-day-num { color: var(--text); }

.cal-day.busy:not(.past) { cursor: pointer; }
.cal-day.busy:not(.selected):not(.past) { color: #a8a29e; }
.cal-day.busy:not(.selected):not(.past) .cal-day-num {
  color: #a8a29e;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #78716c;
}
.cal-day.busy:not(.selected):not(.past):hover { background: #f5f0eb; }
.cal-day.busy:not(.selected):not(.past) .cal-day-tag { color: #a16207; }
.cal-day.busy.selected { background: transparent; }
.cal-day.busy.selected .cal-day-num {
  background: #78716c;
  color: white;
  text-decoration: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cal-day.busy.selected .cal-day-tag { color: #78716c; }

.cal-day.full:not(.past) {
  color: #a8a29e;
  cursor: not-allowed;
  pointer-events: none;
}
.cal-day.full:not(.past) .cal-day-num {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #a8a29e;
  font-weight: 500;
}

.cal-day.selected:not(.busy) { background: transparent; }
.cal-day.selected:not(.busy) .cal-day-num {
  background: var(--primary);
  color: white;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(122, 37, 16, 0.35);
}
.cal-day.selected:not(.busy) .cal-day-tag { display: none; }

.cal-day.partial:not(.selected):not(.past) .cal-day-num {
  box-shadow: inset 0 -3px 0 0 var(--amber);
  border-radius: 4px;
}

.cal-legend {
  display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 14px;
  font-size: 12px; color: var(--text-muted); justify-content: center;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.cal-legend-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.cal-legend-sample {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
}
.cal-legend-sample.open { background: var(--primary-light); color: var(--primary); }
.cal-legend-sample.booked { color: #a8a29e; }
.cal-legend-sample.booked span {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #78716c;
}
.cal-legend-sample.selected { background: var(--primary); color: white; }

.selected-date-pill {
  margin-top: 12px; text-align: center; font-size: 13px; color: var(--primary);
  font-weight: 600; background: var(--primary-light); border-radius: 100px;
  padding: 8px 14px; display: block; width: 100%;
}
.selected-date-pill.muted { color: var(--text-muted); background: var(--bg); font-weight: 400; }
.selected-date-pill.is-booked {
  color: #78716c;
  background: #f5f0eb;
}

.cal-day.in-range { background: var(--primary-light); color: var(--primary); border-radius: 8px; }
.cal-day.range-start .cal-day-num, .cal-day.range-end .cal-day-num {
  background: var(--primary); color: white; width: 32px; height: 32px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.cal-day.occupied:not(.selected):not(.past) .cal-day-num {
  color: #a8a29e;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #78716c;
  font-weight: 500;
}

/* ===== AVAILABILITY TRACK ===== */
.availability-panel {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.avail-heading {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 10px;
}
.avail-hint { font-size: 12px; font-weight: 500; color: var(--text-muted); text-align: right; }
.avail-track {
  display: flex;
  width: 100%;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #bbf7d0;
}
.avail-seg { height: 100%; min-width: 0; }
.avail-seg.free { background: #bbf7d0; }
.avail-seg.booked { background: #f87171; }
.avail-seg.cleaning {
  background: repeating-linear-gradient(
    -45deg, #fbbf24, #fbbf24 4px, #fde68a 4px, #fde68a 8px
  );
}
.avail-seg.selected { background: var(--primary); }
.avail-seg.cleaning-preview {
  background: repeating-linear-gradient(
    -45deg, #d6d3d1, #d6d3d1 4px, #e7e5e4 4px, #e7e5e4 8px
  );
}
.avail-track-scale {
  display: flex;
  justify-content: space-between;
  margin: 4px 0 10px;
  font-size: 10px;
  color: var(--text-muted);
}
.avail-legend {
  display: flex; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 12px;
  font-size: 11px; color: var(--text-muted);
}
.avail-legend span { display: inline-flex; align-items: center; gap: 5px; }
.avail-swatch {
  width: 12px; height: 12px; border-radius: 3px; display: inline-block;
}
.avail-swatch.free { background: #bbf7d0; border: 1px solid #86efac; }
.avail-swatch.booked { background: #f87171; border: 1px solid #ef4444; }
.avail-swatch.cleaning {
  background: repeating-linear-gradient(
    -45deg, #fbbf24, #fbbf24 3px, #fde68a 3px, #fde68a 6px
  );
  border: 1px solid #f59e0b;
}
.avail-swatch.selected { background: var(--primary); border: 1px solid var(--primary-dark); }
.avail-blocks { display: flex; flex-direction: column; gap: 8px; }
.avail-free-windows { display: flex; flex-direction: column; gap: 6px; }
.avail-free-title { font-size: 12px; font-weight: 600; color: var(--text); }
.avail-free-chip {
  display: block; width: 100%; text-align: left;
  border: 1.5px solid #86efac; background: #f0fdf4; color: #166534;
  border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background 0.15s, border-color 0.15s;
}
.avail-free-chip:hover { background: #dcfce7; border-color: #22c55e; }
.avail-free-chip.active {
  background: var(--primary-light); border-color: var(--primary); color: var(--primary);
}
.avail-free-chip .chip-sub {
  display: block; font-size: 11px; font-weight: 500; color: var(--text-muted); margin-top: 2px;
}
.avail-block-list { display: flex; flex-direction: column; gap: 4px; }
.avail-block-row {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.avail-block-row .tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; padding: 2px 6px; border-radius: 4px; flex-shrink: 0;
}
.avail-block-row .tag.booked { background: #fecaca; color: #991b1b; }
.avail-block-row .tag.cleaning { background: #fde68a; color: #92400e; }
.avail-multi-note {
  font-size: 12px; color: var(--primary); font-weight: 500;
  padding: 8px 10px; background: var(--primary-light); border-radius: 8px;
}
.avail-empty-note { font-size: 12px; color: var(--text-muted); padding: 4px 0; }
.avail-conflict {
  margin-top: 8px; padding: 8px 10px; border-radius: 8px;
  background: #fef2f2; border: 1px solid #fecaca;
  color: #991b1b; font-size: 12px; font-weight: 500;
}

/* ===== TIME ===== */
.time-section { margin-bottom: 20px; }
.time-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.time-field label, .event-field label, .detail-field label {
  display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 4px;
}
.airbnb-times { position: relative; z-index: 4; margin-bottom: 8px; }
.airbnb-times.is-open .airbnb-fields { border-radius: 12px 12px 0 0; }
.airbnb-fields {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff;
}
.airbnb-field {
  text-align: left; border: none; background: #fff; padding: 12px 14px 11px;
  cursor: pointer; font-family: inherit; min-height: 64px;
}
.airbnb-field + .airbnb-field { border-left: 1.5px solid var(--border); }
.airbnb-field:hover, .airbnb-field.open { background: #faf7f4; }
.airbnb-field.open { box-shadow: inset 0 0 0 2px var(--primary); }
.airbnb-kicker {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 4px;
}
.airbnb-value { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.airbnb-menu {
  margin-top: -1px; border: 1.5px solid var(--border); border-radius: 0 0 12px 12px;
  background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}
.airbnb-menu-head {
  padding: 10px 14px 8px; font-size: 12px; font-weight: 700; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.airbnb-menu-list { max-height: 280px; overflow: auto; padding: 6px 0; }
.airbnb-opt {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: none; background: none; padding: 11px 16px; font-family: inherit;
  font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left;
}
.airbnb-opt:hover:not(:disabled) { background: #f6f3ef; }
.airbnb-opt.selected { background: var(--primary-light); color: var(--primary); }
.airbnb-opt.selected .airbnb-opt-tag { color: #a16207; }
.airbnb-opt.booked, .airbnb-opt.cleaning, .airbnb-opt.too-short, .airbnb-opt.past {
  color: #a8a29e; cursor: not-allowed;
}
.airbnb-opt.booked .airbnb-opt-time {
  text-decoration: line-through; text-decoration-thickness: 1.5px; font-weight: 500;
}
.airbnb-opt.past .airbnb-opt-time {
  color: #d1cbc4; font-weight: 400; text-decoration: none;
}
.airbnb-opt-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #a16207;
}
.airbnb-opt.cleaning .airbnb-opt-tag { color: #92400e; }
.airbnb-opt.too-short .airbnb-opt-tag { color: var(--text-light); }
.duration-display {
  display: none; width: fit-content; margin-top: 10px;
  background: var(--primary-light); color: var(--primary); border: 1px solid #e4d5ce;
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 100px;
}
.duration-display:not(:empty) { display: inline-flex; }
.duration-warning { margin-top: 6px; font-size: 12px; color: var(--amber); font-weight: 500; }

/* ===== EVENT DETAILS ===== */
.event-details-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.combo-input, .text-input {
  width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px;
  background: white; color: var(--text); font-size: 14px; font-family: inherit;
  outline: none; transition: border-color 0.15s;
}
.combo-input:focus, .text-input:focus { border-color: var(--primary); }
.combo-input.error, .text-input.error, .stepper.error { border-color: var(--red) !important; }
.stepper.error { box-shadow: 0 0 0 1px var(--red); }
.field-error { font-size: 11px; color: var(--red); margin-top: 3px; min-height: 0; }
.field-error:empty { display: none; }

/* ===== STEPPER ===== */
.stepper {
  display: flex; align-items: center; border: 1.5px solid var(--border);
  border-radius: 8px; overflow: hidden; height: 38px; transition: border-color 0.15s;
}
.stepper-btn {
  background: none; border: none; width: 36px; height: 100%; font-size: 18px;
  cursor: pointer; color: var(--primary); transition: background 0.15s;
  font-family: inherit; flex-shrink: 0;
}
.stepper-btn:hover { background: var(--primary-light); }
.guest-input {
  flex: 1; min-width: 0; border: none; text-align: center;
  font-size: 14px; font-weight: 600; font-family: inherit;
  outline: none; background: transparent; padding: 0 4px;
  -moz-appearance: textfield;
}
.guest-input::-webkit-outer-spin-button, .guest-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.guest-range-hint { font-size: 11px; color: var(--text-light); margin-top: 3px; }

/* ===== YOUR DETAILS ===== */
.details-card .detail-field { margin-bottom: 12px; }
.details-card .detail-field:last-child { margin-bottom: 0; }

/* ===== PRICING SUMMARY ===== */
.pricing-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.pricing-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.pricing-table { display: flex; flex-direction: column; }
.pricing-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.pricing-row:last-child { border-bottom: none; }
.pricing-row.total { font-weight: 700; font-size: 16px; color: var(--primary); padding-top: 10px; border-top: 2px solid var(--border); margin-top: 2px; border-bottom: none; }
.pricing-row.muted { color: var(--text-muted); font-size: 13px; border-bottom: none; }
.pricing-note { font-size: 11px; color: var(--text-muted); margin-top: 8px; }

/* ===== BOOK BUTTON ===== */
.book-btn {
  width: 100%; padding: 14px; background: var(--primary); color: white;
  border: none; border-radius: var(--radius); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: inherit; margin-bottom: 8px;
}
.book-btn:hover:not(.submitted):not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(122,37,16,0.3); }
.book-btn.submitted { background: var(--green); cursor: default; }
.pulse-hint { font-size: 12px; color: var(--text-muted); text-align: center; margin-bottom: 16px; min-height: 18px; }

/* ===== AMENITIES ===== */
.amenities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.amenity-tile {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 12px; color: var(--text-muted); text-align: center; box-shadow: var(--shadow);
}
.amenity-tile span:first-child { font-size: 20px; }

/* ===== CHAT ===== */
.right-col { position: sticky; top: 70px; }
.chat-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  height: calc(100vh - 100px); min-height: 500px; max-height: 820px; overflow: hidden;
}
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: 8px; }
.chat-title { font-size: 13px; font-weight: 600; }
.online-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; display: inline-block; }
.online-label { font-size: 12px; color: var(--green); font-weight: 500; }
.chat-header-right { display: flex; align-items: center; gap: 8px; }
.status-badge { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 100px; background: #f3f4f6; color: var(--text-muted); }
.status-badge.in-progress { background: #fef3c7; color: #92400e; }
.status-badge.confirmed { background: #d1fae5; color: #065f46; }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex;
  flex-direction: column; gap: 12px; scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.message { display: flex; flex-direction: column; gap: 3px; max-width: 85%; animation: msg-in 0.2s ease; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.bot-message { align-self: flex-start; }
.user-message { align-self: flex-end; }
.message-bubble { padding: 10px 13px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.bot-message .message-bubble { background: #f5f0eb; border-radius: 4px 12px 12px 12px; color: var(--text); }
.user-message .message-bubble { background: var(--primary); color: white; border-radius: 12px 4px 12px 12px; }
.message-time { font-size: 11px; color: var(--text-light); padding: 0 2px; }
.user-message .message-time { text-align: right; }

.typing-indicator { display: flex; align-items: center; gap: 4px; padding: 12px 14px; background: #f5f0eb; border-radius: 4px 12px 12px 12px; width: fit-content; }
.typing-dot { width: 7px; height: 7px; background: var(--text-muted); border-radius: 50%; animation: bounce 1.2s infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }

.quick-chips { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.chip {
  padding: 7px 14px; border: 1.5px solid var(--primary); border-radius: 100px;
  background: white; color: var(--primary); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.15s; font-family: inherit; text-align: left;
}
.chip:hover { background: var(--primary-light); }

/* Confirmation summary card in chat (Feature 2) */
.chat-summary-card {
  background: white;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px;
  animation: msg-in 0.3s ease;
  max-width: 90%;
  align-self: flex-start;
}
.chat-summary-card .csc-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px;
}
.chat-summary-card .csc-table { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.chat-summary-card .csc-row { display: flex; gap: 10px; font-size: 13px; }
.chat-summary-card .csc-label { width: 70px; flex-shrink: 0; color: var(--text-muted); font-weight: 500; }
.chat-summary-card .csc-val { color: var(--text); }
.chat-summary-card .csc-row.csc-total { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--border); font-weight: 700; color: var(--primary); }
.chat-summary-card .csc-actions { display: flex; gap: 8px; }
.csc-btn {
  flex: 1; padding: 10px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
  border: 1.5px solid var(--primary); transition: all 0.15s;
}
.csc-btn.modify { background: white; color: var(--primary); }
.csc-btn.modify:hover { background: var(--primary-light); }
.csc-btn.confirm { background: var(--primary); color: white; }
.csc-btn.confirm:hover { background: var(--primary-dark); }

.booking-confirm-card {
  background: #f0fdf4; border: 1.5px solid #86efac; border-radius: var(--radius);
  padding: 16px; font-size: 13px; line-height: 1.8; color: var(--text); animation: msg-in 0.3s ease;
}
.booking-confirm-card .confirm-title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.booking-confirm-card .confirm-row { display: flex; gap: 8px; }
.booking-confirm-card .confirm-label { color: var(--text-muted); width: 90px; flex-shrink: 0; }

/* ===== CHAT INPUT ===== */
.chat-input-area { border-top: 1px solid var(--border); padding: 12px 14px; flex-shrink: 0; }
.voice-status-bar {
  font-size: 12px; font-weight: 600; padding: 6px 12px; margin-bottom: 8px;
  border-radius: 8px; text-align: center; background: var(--primary-light); color: var(--primary);
  animation: pulse-fade 1.5s ease-in-out infinite;
}
.voice-status-bar.speaking { background: #dcfce7; color: #166534; }
@keyframes pulse-fade { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

.input-row { display: flex; gap: 8px; align-items: center; }
.chat-input {
  flex: 1; padding: 9px 14px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.15s; background: #faf7f4;
}
.chat-input:focus { border-color: var(--primary); background: white; }

.voice-btn {
  position: relative;
  background: none; border: 1px solid var(--border); border-radius: 50%;
  width: 38px; height: 38px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0; color: var(--text-muted);
  overflow: visible;
}
.voice-btn:hover { background: var(--primary-light); border-color: var(--primary); }
.voice-icon { font-size: 16px; position: relative; z-index: 2; }
.voice-pulse { display: none; }
.voice-btn.active { background: #16a34a; border-color: #16a34a; color: white; }
.voice-btn.active .voice-icon { filter: grayscale(1) brightness(2); }
.voice-btn.active .voice-pulse {
  display: block; position: absolute; inset: -2px;
  border-radius: 50%; border: 2px solid #16a34a;
  animation: voice-ring 1.4s ease-out infinite; z-index: 1;
}
.voice-btn.active::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: 50%; border: 2px solid #16a34a;
  animation: voice-ring 1.4s ease-out infinite; animation-delay: 0.4s; z-index: 1;
}
@keyframes voice-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.send-btn {
  background: var(--primary); color: white; border: none; border-radius: 50%;
  width: 38px; height: 38px; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.send-btn:hover { background: var(--primary-dark); transform: scale(1.05); }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; animation: fade-in 0.2s ease; padding: 20px;
}
body.app-gated > *:not(#login-modal) {
  display: none !important;
}
body.app-gated #login-modal {
  display: flex !important;
  background: var(--bg);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: white; border-radius: 16px; padding: 28px;
  width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: slide-up 0.25s ease;
}
@keyframes slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { margin-bottom: 18px; }
.modal-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.modal-subtitle { font-size: 13px; color: var(--text-muted); }

.booking-summary {
  background: #f9fafb; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 18px; font-size: 13px;
}
.booking-summary .summary-row { display: flex; justify-content: space-between; padding: 4px 0; }
.booking-summary .summary-row.total {
  border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px;
  font-weight: 700; font-size: 16px; color: var(--primary);
}
.booking-summary .summary-label { color: var(--text-muted); }

.payment-form .form-group { margin-bottom: 12px; }
.payment-form label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.payment-form input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.15s; color: var(--text);
}
.payment-form input:focus { border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.form-group input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.15s; color: var(--text);
}
.form-group input:focus { border-color: var(--primary); }
.secure-note { font-size: 12px; color: var(--text-muted); text-align: center; margin: 16px 0 12px; }
.pay-btn {
  width: 100%; padding: 14px; background: var(--primary); color: white;
  border: none; border-radius: 10px; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; font-family: inherit; margin-bottom: 8px;
}
.pay-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.pay-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.cancel-pay-btn {
  width: 100%; padding: 10px; background: none; color: var(--text-muted);
  border: none; font-size: 14px; cursor: pointer; font-family: inherit;
  border-radius: 8px; transition: background 0.15s;
}
.cancel-pay-btn:hover { background: #f5f5f5; }

.payment-processing { text-align: center; padding: 40px 0; }
.processing-spinner {
  width: 48px; height: 48px; border: 3px solid var(--border); border-top-color: var(--primary);
  border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing-text { font-size: 15px; color: var(--text-muted); }

.payment-success { text-align: center; padding: 40px 0; }
.success-icon {
  width: 64px; height: 64px; background: var(--green); color: white;
  border-radius: 50%; font-size: 28px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; animation: pop 0.3s ease;
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.success-title { font-size: 20px; font-weight: 700; color: var(--green); margin-bottom: 8px; }
.success-message { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== LOGIN MODAL ===== */
.login-card { max-width: 420px; }
.login-tabs {
  display: flex; gap: 6px; margin-bottom: 18px;
  background: #f3f4f6; border-radius: 100px; padding: 4px;
}
.login-tab {
  flex: 1; padding: 8px 12px; border: none; background: transparent;
  border-radius: 100px; font-size: 13px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; font-family: inherit;
  transition: all 0.15s;
}
.login-tab.active { background: white; color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

.login-error { font-size: 12px; color: var(--red); margin-bottom: 10px; min-height: 0; }
.login-error:empty { display: none; }

.otp-helper { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 14px; }
.otp-dev-hint {
  font-size: 12px;
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  padding: 8px 12px; border-radius: 6px; text-align: center; margin-bottom: 14px;
}
.otp-boxes {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 16px;
}
.otp-box {
  width: 44px; height: 52px; border: 1.5px solid var(--border); border-radius: 8px;
  text-align: center; font-size: 22px; font-weight: 700; font-family: inherit;
  outline: none; transition: all 0.15s; color: var(--text);
}
.otp-box:focus { border-color: var(--primary); transform: scale(1.05); }
.otp-box.filled { border-color: var(--primary); background: var(--primary-light); }

.resend-row {
  text-align: center; font-size: 12px; color: var(--text-muted); margin: 10px 0 6px;
}
.resend-link {
  background: none; border: none; color: var(--primary); font-weight: 600;
  cursor: pointer; font-family: inherit; font-size: 12px; text-decoration: underline;
}

@media (max-width: 768px) {
  .page-wrapper { padding: 16px; }
  .layout { grid-template-columns: 1fr; }
  .right-col { position: static; }
  .chat-card { height: 460px; max-height: 460px; }
  .venue-name { font-size: 20px; }
  .venue-photo { height: 160px; }
  .event-details-row { grid-template-columns: 1fr; }
  .bookings-list { grid-template-columns: 1fr; }
  .otp-box { width: 36px; height: 46px; font-size: 18px; }
}

/* ===== TOP-BAR VIEW TABS / ADMIN LINK ===== */
.view-tabs { display: flex; gap: 4px; background: var(--bg); border-radius: 100px; padding: 3px; }
.view-tab {
  border: none; background: transparent; color: var(--text-muted);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px;
  cursor: pointer; font-family: inherit; transition: all 0.15s;
}
.view-tab.active { background: var(--primary); color: white; }
.admin-link {
  font-size: 12px; color: var(--text-light); text-decoration: none; margin-left: 4px;
}
.admin-link:hover { color: var(--text-muted); text-decoration: underline; }

/* ===== CABINS & HOMES ===== */
.homes-wrapper { max-width: 1200px; margin: 0 auto; padding: 24px; }
.homes-header { margin-bottom: 20px; }
.homes-title { font-size: 22px; font-weight: 600; color: var(--text); }
.homes-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.properties-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
.properties-loading { color: var(--text-muted); font-size: 14px; padding: 32px 0; grid-column: 1 / -1; text-align: center; }
.homes-terms-footer { margin-top: 24px; font-size: 12px; color: var(--text-light); text-align: center; }
.homes-terms-footer a { color: var(--text-muted); text-decoration: underline; }

.property-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
}
.property-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.property-card-photo {
  height: 160px; background-size: cover; background-position: center;
  background-color: #efe8e0; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.property-card-noimg { font-size: 36px; opacity: 0.5; }
.discount-badge {
  position: absolute; top: 10px; right: 10px; background: var(--red); color: white;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
}
.property-card-body { padding: 14px 16px; }
.property-card-name { font-size: 15px; font-weight: 600; color: var(--text); }
.property-card-address { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.property-card-price { font-size: 14px; margin-top: 8px; }
.price-strike { text-decoration: line-through; color: var(--text-light); font-size: 12px; margin-right: 4px; }
.price-now { color: var(--primary); font-weight: 700; }

.back-to-properties {
  background: none; border: none; color: var(--primary); font-weight: 600; font-size: 13px;
  cursor: pointer; font-family: inherit; padding: 0 0 16px; display: block;
}
.property-detail-layout { display: grid; grid-template-columns: 55% 45%; gap: 24px; align-items: start; }
.property-photo-wrap { margin-bottom: -40px; position: relative; z-index: 1; }
.property-photo {
  width: 100%; height: 220px; border-radius: var(--radius);
  background: #efe8e0 center/cover no-repeat; box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
}
.property-description { font-size: 14px; color: var(--text); line-height: 1.6; }
.property-meta { font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.stay-dates-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.stay-dates-row .detail-field { margin-bottom: 0; }
.stay-dates-row .text-input { min-height: 44px; }
#stay-dates-error { margin-bottom: 12px; }

.terms-agree-row {
  display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text-muted);
  margin-bottom: 10px; cursor: pointer; line-height: 1.5;
}
.terms-agree-row input { margin-top: 2px; flex-shrink: 0; }
.terms-agree-row a { color: var(--primary); font-weight: 600; }
.terms-agree-row.error { color: var(--red); }

.long-term-banner {
  background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary);
  border-radius: 8px; padding: 10px 14px; font-size: 12px; font-weight: 600; margin-bottom: 16px;
}
.stripe-card-element {
  padding: 12px; border: 1.5px solid var(--border); border-radius: 8px; background: white;
}
.stripe-card-element.StripeElement--focus { border-color: var(--primary); }
.stripe-card-element.StripeElement--invalid { border-color: var(--red); }
.stripe-card-errors {
  color: #b42318;
  font-size: 12px;
  margin-top: 6px;
  min-height: 16px;
}
.card-fee-note {
  font-size: 13px;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid #d4bdb5;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
}
.alt-pay-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: #faf7f4;
}
.stripe-box { background: linear-gradient(180deg, #f7f6ff 0%, #faf7f4 100%); border-color: #d8d5f5; }
.stripe-wordmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px; font-weight: 700; color: #635bff; letter-spacing: -0.03em;
}
.alt-pay-text {
  font-size: 13px; color: var(--text-muted); margin: 10px 0 0; line-height: 1.45;
}
.long-term-schedule-list { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.long-term-schedule-row {
  display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted);
}
.long-term-schedule-row .status-paid { color: var(--green); font-weight: 600; }
.long-term-schedule-row .status-failed { color: var(--red); font-weight: 600; }

.property-card-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.property-type-chip {
  position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,0.92);
  color: var(--text); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
}
.price-unit { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.property-card-photo { height: 200px; }
.property-photo { height: 280px; }
.property-photo-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.property-thumb {
  width: 64px; height: 48px; border-radius: 8px; border: 2px solid transparent;
  background-size: cover; background-position: center; cursor: pointer; flex-shrink: 0;
}
.property-thumb.active { border-color: var(--primary); }
.property-amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.amenity-chip {
  background: #f5f0eb; color: var(--text); font-size: 12px; font-weight: 500;
  padding: 6px 10px; border-radius: 100px;
}

.lodge-discount-banner {
  background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0;
  border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 700; margin-bottom: 12px;
}

.stay-date-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.stay-date-pill {
  text-align: left; border: 1.5px solid var(--border); background: white; border-radius: 12px;
  padding: 10px 12px; cursor: default; font-family: inherit;
}
.stay-date-pill.filled { border-color: var(--primary); background: var(--primary-light); }
.stay-pill-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.stay-pill-value { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-top: 2px; }

.stay-calendar { margin-bottom: 8px; }
.stay-calendar.has-error { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 12px; }
.stay-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.stay-cal-month { font-size: 15px; font-weight: 700; }
.stay-cal-nav {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: white;
  cursor: pointer; font-size: 18px; color: var(--text); line-height: 1;
}
.stay-cal-nav:hover { border-color: var(--text); }
.stay-cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); text-align: center;
  font-size: 11px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px;
}
.stay-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.stay-cal-day {
  position: relative; aspect-ratio: 1; border: none; background: none; border-radius: 50%;
  cursor: pointer; font-family: inherit; color: var(--text); display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 0;
}
.stay-cal-day.empty, .stay-cal-day.disabled { cursor: default; pointer-events: none; }
.stay-cal-num { font-size: 13px; font-weight: 600; z-index: 1; }
.stay-cal-tag { font-size: 7px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #b45309; z-index: 1; }
.stay-cal-day.past,
.stay-cal-day.past .stay-cal-num {
  color: #d1cbc4;
  font-weight: 400;
  text-decoration: none;
}
.stay-cal-day.past .stay-cal-tag { display: none; }
.stay-cal-day.today:not(.range-start):not(.range-end) .stay-cal-num {
  box-shadow: inset 0 0 0 1.5px var(--text-muted); border-radius: 50%; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.stay-cal-day.booked:not(.past) .stay-cal-num { color: #a8a29e; text-decoration: line-through; font-weight: 500; }
.stay-cal-day.booked-start:not(.past), .stay-cal-day.booked-mid:not(.past), .stay-cal-day.booked-end:not(.past), .stay-cal-day.booked-single:not(.past) {
  background: #f5f0eb;
}
.stay-cal-day.booked-mid { border-radius: 0; }
.stay-cal-day.booked-start { border-radius: 50% 0 0 50%; }
.stay-cal-day.booked-end { border-radius: 0 50% 50% 0; }
.stay-cal-day.booked-single { border-radius: 50%; }
.stay-cal-day.range-start.range-end { border-radius: 50%; background: transparent; }
.stay-cal-day.in-range, .stay-cal-day.preview-range { background: var(--primary-light); border-radius: 0; }
.stay-cal-day.range-start .stay-cal-num, .stay-cal-day.range-end .stay-cal-num {
  background: var(--primary); color: white; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.stay-cal-day.range-start { background: var(--primary-light); border-radius: 50% 0 0 50%; }
.stay-cal-day.range-end { background: var(--primary-light); border-radius: 0 50% 50% 0; }
.stay-cal-day:hover:not(.past):not(.disabled):not(.booked) { background: #f5f0eb; }
.stay-cal-legend {
  display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center;
  font-size: 11px; color: var(--text-muted); margin-top: 10px; font-weight: 500;
}
.stay-leg-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.stay-leg-dot.open { background: var(--primary-light); box-shadow: inset 0 0 0 1px var(--primary); }
.stay-leg-dot.booked { background: #d6d3d1; }
.stay-leg-dot.selected { background: var(--primary); }
.stay-range-summary { text-align: center; font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 10px; }
.stay-cal-actions { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 8px; }
.stay-one-night-btn {
  background: var(--primary); color: white; border: none; border-radius: 100px;
  padding: 6px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.stay-one-night-btn:hover { opacity: 0.92; }
.stay-clear-dates {
  background: none; border: none; color: var(--text-muted);
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: underline;
}

.bh-refund-status { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.checkout-modal-card { max-width: 520px; width: 100%; }
#embedded-checkout { min-height: 120px; }

@media (max-width: 768px) {
  .stay-date-pills { grid-template-columns: 1fr; }
}