/* ── Guest preview (B11): the public lot list and a shared lot, phone first ── */
.guest-spacer { flex: 1; }
.guest-top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.guest-top-actions .btn-ghost { color: #ece6e4; border-color: rgba(255, 255, 255, .25); }
.guest-top-actions .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.guest-main { max-width: 1200px; display: flex; flex-direction: column; gap: 28px; }
.guest-loading { text-align: center; padding: 40px 0; font-size: 14px; }

/* One lot */
.guest-back { margin-bottom: 12px; }
.guest-lot-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: 20px; align-items: start; }
.guest-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.guest-photo-main {
  position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
}
.guest-photo-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guest-no-photo { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.guest-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(32, 24, 22, .6); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.guest-nav:hover { background: rgba(32, 24, 22, .85); }
.guest-nav.prev { left: 10px; }
.guest-nav.next { right: 10px; }
.guest-photo-count {
  position: absolute; bottom: 10px; right: 10px; background: rgba(32, 24, 22, .7); color: #fff;
  font-size: 12px; padding: 2px 8px; border-radius: 6px;
}
.guest-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.guest-thumb {
  flex: 0 0 88px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px;
  overflow: hidden; cursor: pointer; background: var(--surface-2);
}
.guest-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guest-thumb.on { border-color: var(--accent); }
.guest-photo-note { font-size: 13px; }
.guest-lot-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.guest-lot-title { font-size: 22px; line-height: 1.25; margin: 2px 0 4px; }
.guest-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 14px; }
.guest-facts dt { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.guest-facts dd { font-weight: 600; word-break: break-word; }

/* Call to action and messages */
.guest-cta { border-top: 3px solid var(--accent); }
.guest-cta h2 { font-size: 17px; margin-bottom: 6px; }
.guest-cta p { color: var(--muted); margin-bottom: 14px; }
.guest-cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.guest-closed { display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 0 auto; width: 100%; }
.guest-message h1 { font-size: 20px; margin-bottom: 6px; }
.guest-message p { color: var(--muted); }

/* The list */
.guest-list-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.guest-list-head h1 { font-size: 22px; }
.guest-list-head h2 { font-size: 18px; }
.guest-intro { flex-basis: 100%; color: var(--muted); max-width: 760px; order: 3; }
.guest-count { color: var(--muted); font-size: 13px; font-weight: 600; }
.guest-card { font: inherit; color: inherit; }

/* The sticky sign-up call under the list */
.guest-sticky {
  position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px; background: var(--brand); color: #ece6e4; font-size: 13px; border-top: 3px solid var(--accent);
}

@media (max-width: 760px) {
  .guest-lot-grid { grid-template-columns: 1fr; }
  .guest-topbar { gap: 10px; padding: 10px 16px; }
  .guest-topbar .brand-sub { display: none; }
  .guest-topbar .brand-logo { height: 32px; }
  .guest-main { padding-top: 16px; }
  .guest-sticky span { flex-basis: 100%; text-align: center; }
}
@media (max-width: 420px) {
  .guest-facts { grid-template-columns: 1fr; }
  .guest-spacer { display: none; }
}

/* On the dark bars the primary button takes the brand red. */
.guest-top-actions .btn-primary, .guest-sticky .btn-primary { background: var(--accent); }
.guest-top-actions .btn-primary:hover, .guest-sticky .btn-primary:hover { background: var(--accent-dark); }
