/* ============================================================
   GoMeeting Design System
   Shared across all pages
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand colours */
  --green:        #1a7a5e;
  --green-dark:   #145f49;
  --green-light:  #e8f5f1;
  --charcoal:     #0f0f0d;
  --offwhite:     #faf8f4;
  --parchment:    #f0ebe2;
  --sand:         #e8e1d6;
  --muted:        #6b6b68;
  --border:       #ddd8d0;
  --red:          #c0392b;
  --red-light:    #fdf0ef;
  --amber:        #d97706;
  --amber-light:  #fffbeb;
  --blue:         #1d4ed8;
  --blue-light:   #eff6ff;

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 64px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);

  /* Radii */
  --radius-sm:  6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease: 0.2s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--offwhite);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { color: var(--muted); font-size: 0.95rem; }

.serif { font-family: var(--serif); }
.text-sm   { font-size: 0.85rem; }
.text-xs   { font-size: 0.75rem; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.section { padding: var(--space-16) 0; }
.section-sm { padding: var(--space-10) 0; }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-4); }
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.nav__logo span { color: var(--green); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--ease);
}
.nav__link:hover { color: var(--charcoal); }
.nav__link.active { color: var(--green); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__user {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
}

.nav__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover:not(:disabled) { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--charcoal);
  color: #fff;
}
.btn-secondary:hover:not(:disabled) { background: #2a2a26; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
}
.btn-outline:hover:not(:disabled) { border-color: var(--charcoal); background: var(--parchment); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
}
.btn-ghost:hover:not(:disabled) { background: var(--parchment); color: var(--charcoal); }

.btn-danger {
  background: var(--red);
  color: #fff;
}
.btn-danger:hover:not(:disabled) { background: #a93226; }

.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--parchment);
  color: var(--charcoal);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
}
.btn-icon:hover { background: var(--sand); }

/* ── Form controls ───────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); }
.form-hint  { font-size: 0.78rem; color: var(--muted); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,122,94,0.12);
}
.form-input::placeholder { color: #b0aca5; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b68' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.form-input.error, .form-select.error { border-color: var(--red); }
.form-error { font-size: 0.78rem; color: var(--red); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-body { padding: var(--space-6); }
.card-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  background: var(--offwhite);
}

/* Listing card */
.listing-card { cursor: pointer; }

.listing-card__img {
  position: relative;
  height: 200px;
  background: var(--parchment);
  overflow: hidden;
}
.listing-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.listing-card:hover .listing-card__img img { transform: scale(1.04); }

.listing-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.listing-card__fav {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform var(--ease);
}
.listing-card__fav:hover { transform: scale(1.15); }
.listing-card__fav.active { color: var(--red); }

.listing-card__body { padding: var(--space-4); }

.listing-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-1);
}

.listing-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-card__location {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.listing-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.amenity-pill {
  font-size: 0.72rem;
  background: var(--parchment);
  color: var(--charcoal);
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 500;
}

.listing-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}
.listing-card__price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--amber);
}
.stars .count { color: var(--muted); font-size: 0.78rem; margin-left: 2px; }

/* ── Badges / Tags ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green  { background: var(--green-light); color: var(--green); }
.badge-red    { background: var(--red-light); color: var(--red); }
.badge-amber  { background: var(--amber-light); color: var(--amber); }
.badge-blue   { background: var(--blue-light); color: var(--blue); }
.badge-grey   { background: var(--parchment); color: var(--muted); }

/* ── Divider ─────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: var(--space-6) 0; }

/* ── Page header ─────────────────────────────────────────── */
.page-header {
  background: var(--parchment);
  border-bottom: 1px solid var(--border);
  padding: var(--space-8) 0;
}
.page-header h1 { margin-bottom: var(--space-2); }
.page-header p  { font-size: 1rem; }

/* ── Tabs ────────────────────────────────────────────────── */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
}
.tab-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--ease);
}
.tab-btn:hover { color: var(--charcoal); }
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,15,13,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 1px solid var(--border);
}
.modal__header h3 { font-size: 1.1rem; }
.modal__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  border: none;
  transition: all var(--ease);
}
.modal__close:hover { background: var(--sand); color: var(--charcoal); }

.modal__body { padding: var(--space-6); }
.modal__footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

/* ── Toast notifications ─────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 380px;
  animation: toastIn 0.25s ease;
}
.toast.success { background: var(--green); }
.toast.error   { background: var(--red); }
.toast.warning { background: var(--amber); color: var(--charcoal); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(20px); }
}
.toast.leaving { animation: toastOut 0.2s ease forwards; }

/* ── Stats / data display ────────────────────────────────── */
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.stat-card__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-card__label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.stat-card__change {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: var(--space-1);
}
.stat-card__change.up   { color: var(--green); }
.stat-card__change.down { color: var(--red); }

/* ── Booking status timeline ─────────────────────────────── */
.booking-status {
  display: flex;
  align-items: center;
  gap: 0;
}
.booking-step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.booking-step.done { color: var(--green); }
.booking-step.current { color: var(--charcoal); }
.booking-step__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.booking-step.done    .booking-step__dot { background: var(--green); }
.booking-step.current .booking-step__dot { background: var(--charcoal); box-shadow: 0 0 0 3px rgba(15,15,13,0.12); }
.booking-step__line {
  width: 32px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}
.booking-step.done + .booking-step__line { background: var(--green); }

/* ── PIN code display ────────────────────────────────────── */
.pin-display {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin: var(--space-4) 0;
}
.pin-digit {
  width: 52px;
  height: 64px;
  background: var(--green-light);
  border: 2px solid var(--green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0;
}

/* ── Calendar / availability grid ───────────────────────── */
.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
@media (max-width: 480px) { .time-slots { grid-template-columns: repeat(3, 1fr); } }

.time-slot {
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
  color: var(--charcoal);
  background: #fff;
}
.time-slot:hover:not(.unavailable) { border-color: var(--green); color: var(--green); background: var(--green-light); }
.time-slot.selected { background: var(--green); color: #fff; border-color: var(--green); }
.time-slot.unavailable { background: var(--parchment); color: var(--border); cursor: not-allowed; text-decoration: line-through; }

/* ── Sidebar layout ──────────────────────────────────────── */
.sidebar-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 900px) { .sidebar-layout { grid-template-columns: 1fr; } }

.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--space-6));
}

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--ease);
  cursor: pointer;
}
.sidebar-nav__item:hover { background: var(--parchment); color: var(--charcoal); }
.sidebar-nav__item.active { background: var(--green-light); color: var(--green); font-weight: 600; }
.sidebar-nav__icon { font-size: 1rem; width: 20px; text-align: center; }

/* ── Search bar ──────────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 6px 6px 6px 16px;
  gap: var(--space-3);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.search-bar:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,122,94,0.1), var(--shadow-md); }

.search-bar__field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.92rem;
  color: var(--charcoal);
  background: transparent;
}
.search-bar__field::placeholder { color: #b0aca5; }
.search-bar__divider { width: 1px; height: 24px; background: var(--border); flex-shrink: 0; }

/* ── Map container ───────────────────────────────────────── */
#map {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-marker {
  position: absolute;
  background: var(--green);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--ease), background var(--ease);
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.map-marker:hover, .map-marker.active {
  background: var(--charcoal);
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 2;
}

/* ── Pricing summary box ─────────────────────────────────── */
.price-summary {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--nav-h) + var(--space-6));
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.price-row:last-of-type { border-bottom: none; }
.price-row.total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  border-top: 2px solid var(--charcoal);
}

/* ── Steps / wizard ──────────────────────────────────────── */
.wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-8);
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
}
.wizard-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--parchment);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.wizard-step.done .wizard-step__num { background: var(--green); border-color: var(--green); color: #fff; }
.wizard-step.active .wizard-step__num { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.wizard-step__label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.wizard-step.done .wizard-step__label,
.wizard-step.active .wizard-step__label { color: var(--charcoal); }
.wizard-step__line { flex: 1; height: 2px; background: var(--border); margin: 0 var(--space-3); }
.wizard-step.done ~ .wizard-step__line,
.wizard-step.done .wizard-step__line { background: var(--green); }

@media (max-width: 600px) { .wizard-step__label { display: none; } }

/* ── Empty state ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: var(--space-16) var(--space-6);
}
.empty-state__icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}
.empty-state h3 { margin-bottom: var(--space-2); }
.empty-state p  { max-width: 340px; margin: 0 auto var(--space-6); }

/* ── Upload zone ─────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-10);
  text-align: center;
  cursor: pointer;
  transition: all var(--ease);
}
.upload-zone:hover, .upload-zone.dragging {
  border-color: var(--green);
  background: var(--green-light);
}
.upload-zone__icon { font-size: 2rem; margin-bottom: var(--space-3); }
.upload-zone p { margin-bottom: var(--space-3); }

/* ── Photo grid (listing creation) ──────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.photo-grid__item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--parchment);
}
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid__remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 24px; height: 24px;
  background: rgba(15,15,13,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--ease);
  border: none;
}
.photo-grid__item:hover .photo-grid__remove { opacity: 1; }

/* ── Review card ─────────────────────────────────────────── */
.review-card {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
}
.review-card:last-child { border-bottom: none; }
.review-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.review-card__name { font-weight: 600; font-size: 0.9rem; }
.review-card__date { font-size: 0.78rem; color: var(--muted); }

/* ── Message thread ──────────────────────────────────────── */
.message-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
}
.message-bubble.sent {
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  margin-left: auto;
}
.message-bubble.received {
  background: var(--parchment);
  color: var(--charcoal);
  border-bottom-left-radius: 4px;
}
.message-time {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  margin-top: 2px;
}

/* ── Table ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
thead tr { background: var(--parchment); }
th { padding: 12px 16px; font-weight: 600; text-align: left; color: var(--charcoal); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
tr:hover td { background: rgba(26,122,94,0.03); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-16);
}
.footer__logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
}
.footer__logo span { color: var(--green); }
.footer__tagline { font-size: 0.85rem; max-width: 220px; }
.footer__col h4 { color: #fff; font-size: 0.85rem; font-weight: 600; margin-bottom: var(--space-4); text-transform: uppercase; letter-spacing: 0.06em; }
.footer__link { display: block; font-size: 0.85rem; padding: 4px 0; transition: color var(--ease); }
.footer__link:hover { color: #fff; }
.footer__bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ── Cookie banner ───────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 680px;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  box-shadow: var(--shadow-lg);
  z-index: 500;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
#cookie-banner p { color: rgba(255,255,255,0.8); flex: 1; min-width: 200px; }
#cookie-banner a { color: #7eeecb; text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--space-2); flex-shrink: 0; }
#cookie-banner.hidden { display: none; }

/* ── Utility / misc ──────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rounded { border-radius: var(--radius-md); }
.rounded-full { border-radius: 9999px; }
.shadow { box-shadow: var(--shadow-md); }
.bg-white  { background: #fff; }
.bg-parchment { background: var(--parchment); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.w-full { width: 100%; }

/* ── Responsive nav ──────────────────────────────────────── */
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav__hamburger span { width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all var(--ease); display: block; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4);
    display: none;
    flex-direction: column;
    gap: var(--space-2);
    z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .nav__mobile.open { display: flex; }
  .nav__mobile .nav__link {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: block;
  }
  .nav__mobile .nav__link:hover { background: var(--parchment); }
}

/* ── Skeleton loading ────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--parchment) 25%, var(--sand) 50%, var(--parchment) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── Demo mode banner ────────────────────────────────────── */
.demo-banner {
  background: var(--amber-light);
  border-bottom: 1px solid #fcd34d;
  text-align: center;
  padding: 8px var(--space-4);
  font-size: 0.82rem;
  color: var(--amber);
  font-weight: 600;
}
.demo-banner a { color: var(--amber); text-decoration: underline; }
