/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
  --navy:         #1B2B4B;
  --navy-dark:    #111E35;
  --teal:         #2A7B7E;
  --teal-light:   #E8F4F4;
  --amber:        #C9933A;
  --amber-light:  #FDF3E3;
  --cream:        #FAF8F4;
  --linen:        #F2EDE4;
  --stone:        #C8BFB0;
  --sand:         #8A7F72;
  --charcoal:     #2C2C2C;
  --white:        #FFFFFF;
  --error:        #C0392B;
  --success:      #2E7D5E;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --shadow-sm: 0 1px 3px rgba(27,43,75,0.08), 0 1px 2px rgba(27,43,75,0.05);
  --shadow-md: 0 4px 12px rgba(27,43,75,0.10), 0 2px 4px rgba(27,43,75,0.06);
  --shadow-lg: 0 12px 32px rgba(27,43,75,0.12), 0 4px 8px rgba(27,43,75,0.06);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --max-w: 1240px;
  --nav-h: 64px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.site-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(--stone);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.wordmark-sm { font-size: 1.25rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 200ms;
  position: relative;
  padding-bottom: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--teal); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.nav-icon-sm { width: 15px; height: 15px; }

/* Mobile nav button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 200ms;
}

/* Mobile overlay nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}
.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  font-weight: 400;
  transition: opacity 200ms;
}
.mobile-nav-link:hover { opacity: 0.7; }

/* ── Container ───────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1488085061387-422e29b40080?w=1600&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,43,75,0.75) 0%, rgba(27,43,75,0.45) 60%, rgba(0,0,0,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem;
  color: var(--white);
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: italic; font-weight: 400; color: rgba(255,255,255,0.9); }
.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.85;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.btn-hero {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all 200ms;
}
.btn-hero:hover { background: var(--teal); color: var(--white); transform: translateY(-1px); }

/* ── Generator ───────────────────────────────────────────────────────────── */
.generator-section {
  padding: 5rem 0;
  background: var(--linen);
  border-top: 1px solid var(--stone);
}
.generator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 780px;
  margin: 0 auto;
}
.generator-header { margin-bottom: 2rem; }
.generator-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.generator-sub { color: var(--sand); font-size: 0.9rem; }

.generator-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: flex; gap: 1rem; }
.form-row-split { align-items: flex-end; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.form-group-wide { flex: 2; }
.form-group-narrow { flex: 0 0 140px; }
.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.form-input {
  padding: 0.75rem 1rem;
  background: var(--linen);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color 200ms, box-shadow 200ms;
  outline: none;
}
.form-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
}
.form-input::placeholder { color: var(--stone); }
.form-textarea { min-height: 120px; resize: vertical; }

/* Style pills */
.style-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.25rem; }
.style-pill {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1.5px solid var(--stone);
  background: var(--white);
  color: var(--sand);
  transition: all 180ms;
}
.style-pill:hover { border-color: var(--charcoal); color: var(--charcoal); }
.style-pill.active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.style-pill.style-relaxed.active   { background: #3A6B8A; border-color: #3A6B8A; }
.style-pill.style-cultural.active  { background: #B55A3A; border-color: #B55A3A; }
.style-pill.style-foodie.active    { background: #8B2942; border-color: #8B2942; }
.style-pill.style-adventure.active { background: #3A6B4A; border-color: #3A6B4A; }
.style-pill.style-luxury.active    { background: #C9A84C; border-color: #C9A84C; }

/* Style badges (used across pages) */
.style-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.style-badge.style-relaxed   { background: #E8EFF5; color: #3A6B8A; }
.style-badge.style-cultural  { background: #F9EDE8; color: #B55A3A; }
.style-badge.style-foodie    { background: #F5E8EC; color: #8B2942; }
.style-badge.style-adventure { background: #E8F2EC; color: #3A6B4A; }
.style-badge.style-luxury    { background: #FDF3D4; color: #8B6A1A; }

/* Generate button */
.btn-generate {
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}
.btn-spinner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
}
.spin { width: 18px; height: 18px; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 180ms;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--teal); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--teal); color: var(--white); }
.btn-ghost { background: transparent; color: var(--teal); font-weight: 500; padding: 0; }
.btn-ghost:hover { text-decoration: underline; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.75rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-danger { color: var(--error); }
.btn-link { background: none; border: none; color: var(--teal); font-size: inherit; cursor: pointer; text-decoration: underline; }

.btn-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--stone);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sand);
  transition: all 180ms;
}
.btn-icon svg { width: 16px; height: 16px; }
.btn-icon:hover { border-color: var(--charcoal); color: var(--charcoal); }
.btn-icon.active { color: var(--amber); border-color: var(--amber); }
.btn-icon-danger:hover { border-color: var(--error); color: var(--error); }

/* ── Destination Cards ────────────────────────────────────────────────────── */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.dest-grid-explore {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.dest-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms, transform 300ms;
}
.dest-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dest-card-img {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--stone);
  transition: transform 300ms;
}
.dest-card:hover .dest-card-img { transform: scale(1.03); }
.dest-card-tall .dest-card-img { aspect-ratio: 3/4; }
.dest-card-img { overflow: hidden; }

/* Overlay for explore cards */
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,43,75,0.88) 0%, rgba(27,43,75,0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 300ms;
}
.dest-card:hover .dest-card-overlay { opacity: 1; }
.dest-card-name-overlay {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.dest-card-tagline-overlay { font-size: 0.8rem; color: rgba(255,255,255,0.85); margin-bottom: 0.75rem; }
.dest-card-actions { display: flex; gap: 0.5rem; }

/* Wishlist heart */
.wishlist-heart {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px; height: 34px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 200ms;
  color: var(--sand);
}
.wishlist-heart svg { width: 16px; height: 16px; }
.wishlist-heart:hover { color: var(--amber); background: var(--white); }
.wishlist-heart.active { color: var(--amber); }

.dest-card-body { padding: 1rem 1.1rem 1.1rem; }
.dest-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.dest-card-tagline { font-size: 0.82rem; color: var(--sand); margin-bottom: 0.75rem; line-height: 1.4; }
.dest-card-meta { display: flex; align-items: center; justify-content: space-between; }
.dest-cost { font-size: 0.78rem; color: var(--teal); font-weight: 500; }
.dest-meta-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.dest-region-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.dest-best-months { font-size: 0.78rem; color: var(--sand); margin-bottom: 0.5rem; }
.dest-desc { font-size: 0.82rem; color: var(--charcoal); line-height: 1.5; }

/* ── Section layouts ──────────────────────────────────────────────────────── */
.featured-section { padding: 4rem 0; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
}
.section-title.center { text-align: center; }
.section-link { font-size: 0.875rem; color: var(--teal); font-weight: 500; }
.section-link:hover { text-decoration: underline; }

/* How it works */
.how-section { padding: 5rem 0; background: var(--navy); }
.how-section .section-title { color: var(--white); margin-bottom: 3rem; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.how-step {}
.how-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.how-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--white); margin-bottom: 0.5rem; }
.how-body { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ── Page hero (inner pages) ─────────────────────────────────────────────── */
.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--stone);
  margin-bottom: 3rem;
}
.page-hero-sm { padding: 2.5rem 0 2rem; margin-bottom: 2.5rem; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.page-sub { color: var(--sand); font-size: 0.95rem; }

/* ── Filter bar ──────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--stone);
}
.filter-group { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  flex-shrink: 0;
}
.filter-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-pill {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1.5px solid var(--stone);
  background: var(--white);
  color: var(--sand);
  transition: all 160ms;
  cursor: pointer;
}
.filter-pill:hover { border-color: var(--navy); color: var(--navy); }
.filter-pill.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.results-count { font-size: 0.82rem; color: var(--sand); margin-bottom: 1.25rem; }

/* ── My Trips ─────────────────────────────────────────────────────────────── */
.trips-list { display: flex; flex-direction: column; gap: 1px; }
.trip-row {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  transition: box-shadow 200ms;
}
.trip-row:hover { box-shadow: var(--shadow-sm); }
.trip-row-main { display: flex; align-items: flex-start; gap: 1rem; justify-content: space-between; }
.trip-row-info { flex: 1; }
.trip-row-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; }
.trip-row-title a { color: var(--navy); }
.trip-row-title a:hover { color: var(--teal); }
.trip-row-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.trip-dates { font-size: 0.8rem; color: var(--sand); }
.trip-group { font-size: 0.8rem; color: var(--sand); }
.trip-row-summary { font-size: 0.85rem; color: var(--sand); line-height: 1.5; }
.trip-row-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.trip-row-date { font-size: 0.75rem; color: var(--stone); margin-top: 0.5rem; }

/* ── Trip Detail ──────────────────────────────────────────────────────────── */
.trip-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 2.5rem;
}
.trip-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.trip-hero-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.trip-hero-dates, .trip-hero-group {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}
.trip-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.trip-hero-summary { font-size: 0.95rem; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 600px; }
.trip-hero-actions { display: flex; gap: 0.5rem; flex-shrink: 0; padding-top: 0.25rem; }
.trip-hero-actions .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.trip-hero-actions .btn-outline:hover { background: rgba(255,255,255,0.1); }
.trip-hero-actions .btn-icon { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: var(--white); }

/* Day tab bar */
.day-tab-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--stone);
}
.day-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab {
  padding: 0.9rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--sand);
  border-bottom: 2px solid transparent;
  transition: all 180ms;
  white-space: nowrap;
}
.day-tab:hover { color: var(--navy); }
.day-tab.active { color: var(--navy); border-bottom-color: var(--teal); }

/* Trip layout */
.trip-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  align-items: start;
}
.trip-days { display: flex; flex-direction: column; gap: 2rem; }

/* Day blocks */
.day-block {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--nav-h) + 56px);
}
.day-block-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.day-block-number {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}
.day-block-title-group { flex: 1; }
.day-block-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.day-block-date { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 0.15rem; display: block; }

.day-slots { display: flex; flex-direction: column; }
.day-slot {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--linen);
  align-items: start;
  position: relative;
}
.day-slot:last-of-type { border-bottom: none; }
.day-slot-morning   { border-left: 3px solid var(--amber); }
.day-slot-afternoon { border-left: 3px solid var(--teal); }
.day-slot-evening   { border-left: 3px solid var(--navy); }

.slot-time-col { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding-top: 0.1rem; }
.slot-icon { font-size: 1.1rem; }
.slot-time { font-size: 0.72rem; font-weight: 500; color: var(--sand); text-align: center; }
.slot-content { flex: 1; }
.slot-activity { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.35rem; line-height: 1.4; }
.slot-location {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.78rem; color: var(--sand); margin-bottom: 0.3rem;
}
.slot-pin { width: 12px; height: 12px; flex-shrink: 0; }
.slot-duration { font-size: 0.75rem; color: var(--stone); margin-bottom: 0.4rem; }
.slot-tip {
  background: var(--amber-light);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--charcoal);
  line-height: 1.5;
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.slot-tip-icon { flex-shrink: 0; }
.slot-type-badge {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.15rem;
}
.slot-type-activity  { background: var(--teal-light); color: var(--teal); }
.slot-type-restaurant { background: #FDE8D8; color: #B55A3A; }
.slot-type-hotel     { background: #F0EDF8; color: #5A3A8B; }
.slot-type-transport { background: #E8F2EC; color: #3A6B4A; }
.slot-type-museum    { background: #FDF3D4; color: #8B6A1A; }
.slot-type-market    { background: #F5E8EC; color: #8B2942; }

.day-notes {
  padding: 0.75rem 1.5rem;
  font-size: 0.82rem;
  color: var(--sand);
  background: var(--linen);
  font-style: italic;
}

/* Sidebar */
.trip-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: calc(var(--nav-h) + 56px); }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--linen);
}

/* Hotels */
.hotel-list { display: flex; flex-direction: column; gap: 1rem; }
.hotel-item { padding-bottom: 1rem; border-bottom: 1px solid var(--linen); }
.hotel-item:last-child { border-bottom: none; padding-bottom: 0; }
.hotel-item-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.2rem; }
.hotel-name { font-weight: 600; font-size: 0.88rem; color: var(--charcoal); }
.hotel-category {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-light); padding: 0.15rem 0.5rem; border-radius: var(--radius-full);
  flex-shrink: 0;
}
.hotel-neighborhood { font-size: 0.75rem; color: var(--sand); margin-bottom: 0.3rem; }
.hotel-why { font-size: 0.78rem; color: var(--charcoal); line-height: 1.5; margin-bottom: 0.35rem; }
.hotel-price { font-size: 0.75rem; font-weight: 600; color: var(--teal); }

/* Restaurants */
.restaurant-list { display: flex; flex-direction: column; gap: 0.9rem; }
.restaurant-item { padding-bottom: 0.9rem; border-bottom: 1px solid var(--linen); }
.restaurant-item:last-child { border-bottom: none; padding-bottom: 0; }
.restaurant-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.restaurant-name { font-weight: 600; font-size: 0.85rem; color: var(--charcoal); }
.restaurant-price { font-size: 0.8rem; color: var(--sand); font-weight: 500; }
.restaurant-meta { font-size: 0.75rem; color: var(--sand); margin-bottom: 0.25rem; }
.restaurant-must { font-size: 0.75rem; color: var(--teal); font-style: italic; }

/* Practical tips */
.practical-tips { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.practical-tip {
  font-size: 0.82rem;
  color: var(--charcoal);
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}
.practical-tip::before { content: '→'; position: absolute; left: 0; color: var(--teal); }

.sidebar-card-wishlist { text-align: center; }
.wishlist-saved { color: var(--success); font-weight: 500; font-size: 0.875rem; }

/* ── Wishlist page ────────────────────────────────────────────────────────── */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.wishlist-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms;
}
.wishlist-card:hover { box-shadow: var(--shadow-md); }
.wishlist-card-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}
.wishlist-card-img-empty { background: var(--linen); }
.wishlist-card-body { padding: 1rem 1.1rem 1.1rem; }
.wishlist-card-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.wishlist-notes { font-size: 0.82rem; color: var(--sand); margin-bottom: 0.4rem; }
.wishlist-date { font-size: 0.75rem; color: var(--stone); margin-bottom: 0.75rem; }
.wishlist-card-actions { display: flex; gap: 0.5rem; }

/* ── Recommendations page ────────────────────────────────────────────────── */
.recs-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  padding-bottom: 4rem;
}
.recs-filter-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1.5rem; }
.recs-search { flex: 1; min-width: 180px; max-width: 300px; }
.tip-list { display: flex; flex-direction: column; gap: 1rem; }
.tip-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border-left-width: 4px;
  transition: box-shadow 200ms;
}
.tip-card:hover { box-shadow: var(--shadow-sm); }
.tip-type-restaurant { border-left-color: #B55A3A; }
.tip-type-activity   { border-left-color: var(--teal); }
.tip-type-hotel      { border-left-color: #5A3A8B; }
.tip-type-transport  { border-left-color: #3A6B4A; }
.tip-type-general    { border-left-color: var(--navy); }

.tip-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.tip-card-meta { display: flex; align-items: center; gap: 0.6rem; }
.tip-type-badge {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: var(--radius-full);
}
.tip-type-badge.tip-type-restaurant { background: #F9EDE8; color: #B55A3A; }
.tip-type-badge.tip-type-activity   { background: var(--teal-light); color: var(--teal); }
.tip-type-badge.tip-type-hotel      { background: #F0EDF8; color: #5A3A8B; }
.tip-type-badge.tip-type-transport  { background: #E8F2EC; color: #3A6B4A; }
.tip-type-badge.tip-type-general    { background: var(--linen); color: var(--navy); }
.tip-destination { font-size: 0.78rem; color: var(--sand); }
.tip-card-author { font-size: 0.75rem; color: var(--stone); }
.tip-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.tip-card-body { font-size: 0.85rem; color: var(--charcoal); line-height: 1.6; margin-bottom: 0.75rem; }
.tip-card-footer { display: flex; justify-content: space-between; align-items: center; }
.upvote-btn {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; color: var(--sand); font-weight: 500;
  padding: 0.3rem 0.7rem;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-full);
  transition: all 180ms;
}
.upvote-btn:hover { border-color: var(--amber); color: var(--amber); }
.upvote-btn.upvoted { border-color: var(--amber); color: var(--amber); background: var(--amber-light); }
.tip-date { font-size: 0.72rem; color: var(--stone); }
.submit-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.submit-card-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.submit-card-sub { font-size: 0.82rem; color: var(--sand); margin-bottom: 1.25rem; }
.tip-form { display: flex; flex-direction: column; gap: 1rem; }
.recs-sidebar {}

/* ── Empty states ────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--sand);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin-bottom: 0.5rem; }
.empty-body { font-size: 0.9rem; margin-bottom: 1.5rem; }
.no-results { text-align: center; padding: 3rem; color: var(--sand); font-size: 0.9rem; }

/* ── Flash messages ───────────────────────────────────────────────────────── */
.flash-container { position: fixed; top: calc(var(--nav-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 500; }
.flash {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  margin-bottom: 0.5rem;
}
.flash-success { background: #ECFDF5; color: var(--success); border: 1px solid #A7F3D0; }
.flash-error   { background: #FEF2F2; color: var(--error); border: 1px solid #FECACA; }
.flash-info    { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }

/* ── Toasts ───────────────────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; display: flex; flex-direction: column; gap: 0.5rem; }
.toast {
  min-width: 260px; max-width: 360px;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideIn 220ms ease;
  border-left: 4px solid transparent;
}
.toast-success { background: #ECFDF5; color: var(--success); border-left-color: var(--success); }
.toast-error   { background: #FEF2F2; color: var(--error); border-left-color: var(--error); }
.toast-info    { background: var(--teal-light); color: var(--teal); border-left-color: var(--teal); }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(120%); } }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 0;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-inner .wordmark { color: var(--white); }
.footer-tagline { font-size: 0.82rem; flex: 1; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color 180ms; }
.footer-links a:hover { color: var(--white); }

/* ── Places page ─────────────────────────────────────────────────────────── */
.places-page { display: flex; flex-direction: column; height: calc(100vh - var(--nav-h)); overflow: hidden; }

/* Search bar */
.places-search-bar {
  background: var(--white);
  border-bottom: 1px solid var(--stone);
  padding: 0.875rem 1.25rem;
  flex-shrink: 0;
  z-index: 20;
}
.places-search-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.city-search-form { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.city-search-input-wrap { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 0.75rem; width: 16px; height: 16px; color: var(--sand); flex-shrink: 0; }
.city-search-input {
  width: 100%;
  padding: 0.6rem 2.5rem 0.6rem 2.25rem;
  background: var(--linen);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  outline: none;
  transition: border-color 200ms;
}
.city-search-input:focus { border-color: var(--teal); }
.city-clear-btn {
  position: absolute; right: 0.75rem;
  color: var(--sand); font-size: 0.85rem;
  transition: color 180ms;
}
.city-clear-btn:hover { color: var(--charcoal); }
.type-filter-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.type-pill {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1.5px solid var(--stone);
  background: var(--white);
  color: var(--sand);
  cursor: pointer;
  transition: all 160ms;
}
.type-pill:hover { border-color: var(--navy); color: var(--navy); }
.type-pill.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.type-pill.type-restaurant.active { background: #B55A3A; border-color: #B55A3A; }
.type-pill.type-cafe.active       { background: #8B6A1A; border-color: #8B6A1A; }
.type-pill.type-bar.active        { background: #5A3A8B; border-color: #5A3A8B; }
.type-pill.type-museum.active     { background: var(--teal); border-color: var(--teal); }
.type-pill.type-attraction.active { background: #3A6B4A; border-color: #3A6B4A; }
.type-pill.type-market.active     { background: #8B2942; border-color: #8B2942; }
.places-nav-actions { display: flex; align-items: center; padding-top: 0.5rem; }

/* Landing */
.places-landing { flex: 1; display: flex; align-items: center; justify-content: center; padding: 3rem 2rem; overflow-y: auto; }
.places-landing-content { max-width: 540px; text-align: center; }
.places-landing-title { font-family: var(--font-display); font-size: 1.75rem; color: var(--navy); margin-bottom: 0.75rem; }
.places-landing-sub { color: var(--sand); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }
.saved-cities-section { margin-bottom: 2rem; text-align: left; }
.saved-cities-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); margin-bottom: 0.75rem; }
.saved-cities-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.saved-city-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 500; color: var(--navy);
  transition: all 180ms;
}
.saved-city-chip:hover { border-color: var(--teal); color: var(--teal); }
.saved-city-count { font-size: 0.72rem; color: var(--sand); font-weight: 400; }
.places-landing-hint { font-size: 0.8rem; color: var(--sand); }

/* Pin legend */
.legend-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.pin-legend {
  display: inline-block; width: 12px; height: 12px;
  border-radius: 50%; border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.pin-been        { background: var(--navy); }
.pin-wishlist    { background: var(--teal); }
.pin-both        { background: var(--amber); }
.pin-recommended { background: var(--stone); }

/* Split view */
/* Map fills everything; panel slides in from left as a drawer */
.places-split { flex: 1; position: relative; overflow: hidden; }

/* Map takes full space */
.places-map-panel {
  position: absolute !important;
  inset: 0;
  display: flex;
  flex-direction: column;
}

/* Left drawer panel */
.places-list-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 380px;
  z-index: 20;
  overflow-y: auto;
  border-right: 1px solid var(--stone);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
}
.places-list-panel.panel-open {
  transform: translateX(0);
}
.places-list-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--stone);
  background: var(--white);
  flex-shrink: 0;
  position: sticky; top: 0; z-index: 5;
}
.places-count { font-size: 0.8rem; color: var(--sand); font-weight: 500; }
.list-view-toggle { display: flex; gap: 0; border: 1.5px solid var(--stone); border-radius: var(--radius-full); overflow: hidden; }
.view-toggle-btn {
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem; font-weight: 500;
  color: var(--sand); background: var(--white);
  border: none; cursor: pointer;
  transition: all 160ms;
}
.view-toggle-btn:hover { background: var(--linen); }
.view-toggle-btn.active { background: var(--navy); color: var(--white); }
.places-cards { display: flex; flex-direction: column; gap: 1px; padding: 0.5rem; }

/* Place card */
.place-card {
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: all 180ms;
}
.place-card:hover { border-color: var(--stone); box-shadow: var(--shadow-sm); }
.place-card-focused { border-color: var(--teal) !important; box-shadow: 0 0 0 3px var(--teal-light) !important; }
.place-card-been    { border-left: 3px solid var(--navy); }
.place-card-wishlist { border-left: 3px solid var(--teal); }
.place-card-top { display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.place-card-info { flex: 1; }
.place-card-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--navy); margin: 0.2rem 0; line-height: 1.3; }
.place-card-address { font-size: 0.72rem; color: var(--sand); margin-bottom: 0.25rem; }
.place-card-desc { font-size: 0.78rem; color: var(--charcoal); line-height: 1.45; }
.place-price { font-size: 0.75rem; font-weight: 600; color: var(--teal); flex-shrink: 0; margin-top: 0.2rem; }
.place-card-actions { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.place-saved-indicator {
  font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}
.place-saved-been     { background: #E8EFF5; color: var(--navy); }
.place-saved-wishlist { background: var(--teal-light); color: var(--teal); }

.btn-been {
  background: #E8EFF5; color: var(--navy); border: 1.5px solid #B8C5D8;
  border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 500;
  padding: 0.25rem 0.7rem; cursor: pointer; transition: all 160ms;
}
.btn-been:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-wishlist {
  background: var(--teal-light); color: var(--teal); border: 1.5px solid #A8D4D5;
  border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 500;
  padding: 0.25rem 0.7rem; cursor: pointer; transition: all 160ms;
}
.btn-wishlist:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* Place type badges */
.place-type-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.15rem 0.5rem; border-radius: var(--radius-full);
}
.place-type-restaurant { background: #F9EDE8; color: #B55A3A; }
.place-type-cafe       { background: #FDF3D4; color: #8B6A1A; }
.place-type-bar        { background: #F0EDF8; color: #5A3A8B; }
.place-type-museum     { background: var(--teal-light); color: var(--teal); }
.place-type-attraction { background: #E8F2EC; color: #3A6B4A; }
.place-type-market     { background: #F5E8EC; color: #8B2942; }
.place-type-shop       { background: var(--linen); color: var(--sand); }
.place-type-hotel      { background: #E8EFF5; color: var(--navy); }

/* Map fills the absolute panel */
#placesMap { width: 100%; flex: 1; min-height: 0; }
.map-legend {
  position: absolute; bottom: 1rem; left: 1rem; z-index: 500;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(4px);
  border-radius: var(--radius-md); padding: 0.5rem 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; color: var(--charcoal); font-weight: 500;
  border: 1px solid var(--stone); box-shadow: var(--shadow-sm);
}

/* Discovering spinner */
.discovering-state {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 1rem; padding: 3rem;
  color: var(--sand); font-size: 0.9rem;
}
.discovering-sub { font-size: 0.78rem; color: var(--stone); margin-top: -0.25rem; }
.discovering-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--stone);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

/* ── City Reads ──────────────────────────────────────────────────────────── */
.city-reads-section {
  padding: 1rem 1rem 0;
  border-bottom: 1px solid var(--stone);
  margin-top: 2rem;
  margin-bottom: 0.25rem;
}
.city-reads-heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.75rem;
}
.city-reads-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.city-reads-scroll::-webkit-scrollbar { display: none; }
.city-read-card {
  flex: 0 0 240px;
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  cursor: default;
  transition: box-shadow 0.2s;
}
.city-read-card:hover { box-shadow: var(--shadow-sm); }
.read-category-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--stone);
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.read-cat-dining    { background: #fde8cf; color: #92400e; }
.read-cat-neighborhoods { background: #d1fae5; color: #065f46; }
.read-cat-culture   { background: #e0e7ff; color: #3730a3; }
.read-cat-experiences { background: #fce7f3; color: #9d174d; }
.read-cat-nightlife { background: #1b2b4b22; color: var(--navy); }
.read-cat-shopping  { background: #fef9c3; color: #713f12; }
.read-cat-hidden-gems { background: #ccfbf1; color: #134e4a; }
.read-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.read-summary {
  font-size: 0.75rem;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.read-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.read-highlight-chip {
  font-size: 0.65rem;
  color: var(--teal);
  background: var(--teal-light, #e6f4f4);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* ── Places search-within ─────────────────────────────────────────────────── */
.places-search-within {
  padding: 0.6rem 1rem 0;
}
.place-search-within-input {
  width: 100%;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.place-search-within-input:focus { border-color: var(--teal); }
.place-search-within-input::placeholder { color: var(--stone); }

.no-results-msg {
  text-align: center;
  padding: 2rem;
  color: var(--sand);
  font-size: 0.85rem;
}

/* Leaflet popup overrides */
.elsewhere-popup .leaflet-popup-content-wrapper {
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 8px 32px rgba(27,43,75,0.18), 0 2px 8px rgba(27,43,75,0.1) !important;
  padding: 0 !important;
  border: 1px solid var(--stone);
  overflow: hidden;
}
.elsewhere-popup .leaflet-popup-content { margin: 0 !important; width: auto !important; }
.elsewhere-popup .leaflet-popup-tip-container { margin-top: -1px; }
.elsewhere-popup .leaflet-popup-tip { box-shadow: none; background: white; }

.map-popup {
  font-family: var(--font-body);
  min-width: 220px;
  max-width: 280px;
  padding: 1rem 1.1rem 0.875rem;
}
.popup-type {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sand); display: block; margin-bottom: 0.3rem;
}
.popup-name {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--navy); display: block; margin-bottom: 0.25rem; line-height: 1.3;
}
.popup-address { font-size: 0.75rem; color: var(--sand); margin-bottom: 0.3rem; line-height: 1.4; }
.popup-desc { font-size: 0.75rem; color: var(--charcoal); line-height: 1.5; margin-bottom: 0.4rem; }
.popup-price {
  font-size: 0.72rem; font-weight: 700; color: var(--teal);
  display: inline-block; margin-bottom: 0.5rem;
}
.popup-saved {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; font-weight: 600; margin-top: 0.5rem;
  padding-top: 0.5rem; border-top: 1px solid var(--linen);
}
.popup-saved-been     { color: var(--navy); }
.popup-saved-wishlist { color: var(--teal); }
.popup-change-btn {
  font-size: 0.68rem; color: var(--sand); font-weight: 400;
  background: none; border: none; cursor: pointer; text-decoration: underline;
  padding: 0;
}
.popup-change-btn:hover { color: var(--error); }
.popup-actions {
  display: flex; gap: 0.5rem; margin-top: 0.6rem;
  padding-top: 0.6rem; border-top: 1px solid var(--linen);
  flex-wrap: wrap;
}
.popup-btn {
  flex: 1; padding: 0.35rem 0.65rem; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 600; cursor: pointer; border: none;
  transition: all 160ms; font-family: var(--font-body);
}
.popup-btn-been    { background: #E8EFF5; color: var(--navy); }
.popup-btn-been:hover { background: var(--navy); color: var(--white); }
.popup-btn-wishlist { background: var(--teal-light); color: var(--teal); }
.popup-btn-wishlist:hover { background: var(--teal); color: var(--white); }

/* Area-loading indicator (inside map) */
.map-area-loading {
  position: absolute; bottom: 3.5rem; left: 50%; transform: translateX(-50%);
  z-index: 500; background: rgba(255,255,255,0.95); backdrop-filter: blur(4px);
  border-radius: var(--radius-full); padding: 0.45rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 500; color: var(--navy);
  border: 1px solid var(--stone); box-shadow: var(--shadow-md);
  pointer-events: none;
}
.area-loading-spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--stone);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 600ms linear infinite;
  flex-shrink: 0;
}

/* My Places page */
.my-places-hero-row { display: flex; justify-content: space-between; align-items: flex-end; }
.city-chips-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.city-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--white); border: 1.5px solid var(--stone);
  border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 500; color: var(--charcoal);
  transition: all 160ms;
}
.city-chip:hover { border-color: var(--navy); color: var(--navy); }
.city-chip.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip-count { font-size: 0.7rem; color: inherit; opacity: 0.7; }
.my-places-map-wrap {
  height: 320px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--stone); margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
#myPlacesMap { width: 100%; height: 100%; }
.my-places-list { display: flex; flex-direction: column; gap: 2.5rem; padding-bottom: 4rem; }
.city-group {}
.city-group-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--stone);
}
.city-group-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); }
.city-group-cards { display: flex; flex-direction: column; gap: 0.6rem; }
.my-place-card {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  background: var(--white); border: 1px solid var(--stone);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  transition: box-shadow 200ms;
}
.my-place-card:hover { box-shadow: var(--shadow-sm); }
.my-place-been    { border-left: 3px solid var(--navy); }
.my-place-wishlist { border-left: 3px solid var(--teal); }
.my-place-card-left { flex: 1; }
.my-place-name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); margin: 0.2rem 0; }
.my-place-address { font-size: 0.75rem; color: var(--sand); margin-bottom: 0.3rem; }
.my-place-desc { font-size: 0.8rem; color: var(--charcoal); line-height: 1.5; }
.my-place-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; flex-shrink: 0; }
.my-place-list-badge {
  font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}
.my-place-list-been     { background: #E8EFF5; color: var(--navy); }
.my-place-list-wishlist { background: var(--teal-light); color: var(--teal); }
.my-place-actions { display: flex; gap: 0.4rem; }

/* ── Print styles ─────────────────────────────────────────────────────────── */
@media print {
  .site-nav, .day-tab-bar, .trip-hero-actions, .trip-sidebar, .site-footer, .toast-container { display: none !important; }
  .trip-layout { grid-template-columns: 1fr; }
  .trip-hero { padding: 1.5rem 0; }
  .day-block { break-inside: avoid; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .trip-layout { grid-template-columns: 1fr; }
  .trip-sidebar { position: static; }
  .recs-layout { grid-template-columns: 1fr; }
  .submit-card { position: static; }
  .places-list-panel { width: 90vw; max-width: 380px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; gap: 2rem; }
  .generator-card { padding: 1.75rem; }
  .form-row { flex-direction: column; }
  .form-row-split { flex-direction: row; flex-wrap: wrap; }
  .form-group-narrow { flex: 1 1 120px; }
  .style-pills { gap: 0.4rem; }
  .trip-hero-content { flex-direction: column; gap: 1.25rem; }
  .day-slot { grid-template-columns: 70px 1fr; }
  .slot-type-badge { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .dest-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.4rem; }
  .dest-card-tall .dest-card-img { aspect-ratio: 4/3; }
}

/* ── Destination Guide ────────────────────────────────────────────────────── */

/* Card link wrapper */
.dest-card-link { text-decoration: none; color: inherit; display: block; }
.dest-card-link:hover .dest-card-name { color: var(--teal); }

/* Hero */
.guide-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.guide-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,28,0.85) 0%, rgba(10,14,28,0.3) 60%, transparent 100%);
}
.guide-hero-content {
  position: relative;
  padding: 3rem 4rem;
  color: white;
  max-width: 860px;
}
.guide-back {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.guide-back:hover { color: white; }
.guide-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.guide-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: white;
}
.guide-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.guide-hero-meta { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.guide-meta-pill {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Body layout */
.guide-body { background: var(--white); }
.guide-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
  align-items: start;
}

/* Sidebar */
.guide-sidebar {
  position: sticky;
  top: 80px;
  padding: 2.5rem 1.5rem 2.5rem 2rem;
  border-right: 1px solid var(--stone);
}
.guide-nav { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 2rem; }
.guide-nav-link {
  font-size: 0.82rem;
  color: var(--sand);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.guide-nav-link:hover { color: var(--navy); background: var(--cream); }
.guide-sidebar-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.btn-block { width: 100%; text-align: center; font-size: 0.82rem; }

/* Main content */
.guide-main { padding: 3rem 4rem; max-width: 760px; }
.guide-section { margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--stone); }
.guide-section:last-of-type { border-bottom: none; }
.guide-section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.guide-section-sub { font-size: 0.85rem; color: var(--sand); margin-bottom: 1.5rem; }

/* Opening */
.guide-opening {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 1.75rem;
  font-family: var(--font-display);
}
.guide-when {
  background: var(--cream);
  border-left: 3px solid var(--amber);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.guide-when-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.3rem;
}
.guide-when-text { font-size: 0.88rem; color: var(--charcoal); line-height: 1.6; margin: 0; }

/* Hotels */
.guide-hotels { display: flex; flex-direction: column; gap: 1.25rem; }
.guide-hotel-card {
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s;
}
.guide-hotel-card:hover { box-shadow: var(--shadow-sm); }
.guide-hotel-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; gap: 1rem; }
.guide-hotel-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.25rem;
}
.guide-hotel-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--navy); margin: 0 0 0.2rem; }
.guide-hotel-hood { font-size: 0.75rem; color: var(--sand); margin: 0; }
.guide-hotel-price { text-align: right; flex-shrink: 0; }
.guide-hotel-price-num { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.guide-hotel-price-unit { font-size: 0.72rem; color: var(--sand); }
.guide-hotel-desc { font-size: 0.88rem; color: var(--charcoal); line-height: 1.6; margin-bottom: 0.6rem; }
.guide-hotel-love { font-size: 0.82rem; color: var(--teal); margin: 0; }

/* Itinerary days */
.guide-days { display: flex; flex-direction: column; gap: 2.5rem; }
.guide-day-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy);
}
.guide-day-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
}
.guide-day-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.guide-day-slots { display: flex; flex-direction: column; }
.guide-slot {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--stone);
  align-items: start;
}
.guide-slot:last-child { border-bottom: none; }
.guide-slot-left { display: flex; align-items: flex-start; gap: 0.6rem; }
.guide-slot-icon { font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }
.guide-slot-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
}
.guide-slot-time { font-size: 0.7rem; color: var(--sand); }
.guide-slot-activity { font-size: 0.92rem; font-weight: 600; color: var(--charcoal); margin: 0 0 0.25rem; }
.guide-slot-location { font-size: 0.75rem; color: var(--sand); margin: 0 0 0.25rem; }
.guide-slot-tip { font-size: 0.78rem; color: var(--teal); margin: 0; font-style: italic; }
.guide-slot-type {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--stone);
  color: var(--charcoal);
  white-space: nowrap;
  align-self: start;
}
.guide-type-restaurant { background: #fde8cf; color: #92400e; }
.guide-type-museum     { background: #e0e7ff; color: #3730a3; }
.guide-type-experience { background: #d1fae5; color: #065f46; }
.guide-type-activity   { background: var(--teal-light, #e6f4f4); color: var(--teal); }
.guide-day-notes { font-size: 0.82rem; color: var(--sand); font-style: italic; margin-top: 0.75rem; }

/* Restaurants table */
.guide-restaurants { display: flex; flex-direction: column; }
.guide-rest-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--stone);
  gap: 1rem;
}
.guide-rest-row:last-child { border-bottom: none; }
.guide-rest-info { flex: 1; }
.guide-rest-name-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.3rem; }
.guide-rest-name { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin: 0; }
.guide-stars { color: var(--amber); font-size: 0.7rem; letter-spacing: 0.05em; }
.guide-rest-why { font-size: 0.82rem; color: var(--charcoal); margin: 0; line-height: 1.5; }
.guide-rest-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem; flex-shrink: 0; }
.guide-rest-meal { font-size: 0.68rem; color: var(--sand); text-transform: capitalize; }
.guide-rest-price { font-size: 0.82rem; font-weight: 600; color: var(--navy); }

/* Experiences */
.guide-experiences { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.guide-exp-card {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.guide-exp-type {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.guide-exp-title { font-size: 0.92rem; font-weight: 600; color: var(--navy); margin: 0 0 0.4rem; }
.guide-exp-desc { font-size: 0.8rem; color: var(--charcoal); line-height: 1.55; margin: 0; }

/* Editor's note */
.guide-editors-note { background: var(--navy); border-radius: var(--radius-lg); padding: 2.5rem; border: none; }
.guide-note-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin: 0 0 1rem;
  border: none;
  padding: 0;
}
.guide-note-byline { font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; margin: 0; }

/* CTA */
.guide-cta-section { padding: 0; border: none !important; margin-bottom: 0 !important; }
.guide-cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f6f 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.guide-cta-title { font-family: var(--font-display); font-size: 1.5rem; color: white; margin-bottom: 0.5rem; }
.guide-cta-body { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }

/* Responsive */
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; border-right: none; border-bottom: 1px solid var(--stone); padding: 1.5rem; display: flex; gap: 1.5rem; align-items: center; }
  .guide-nav { flex-direction: row; flex-wrap: wrap; margin-bottom: 0; gap: 0.25rem; flex: 1; }
  .guide-sidebar-actions { flex-direction: row; flex-shrink: 0; }
  .guide-main { padding: 2rem 1.5rem; }
  .guide-title { font-size: 2.2rem; }
  .guide-hero-content { padding: 2rem 1.5rem; }
  .guide-slot { grid-template-columns: 120px 1fr; }
  .guide-slot-type { display: none; }
  .guide-experiences { grid-template-columns: 1fr; }
}

/* ── Place Detail Page ────────────────────────────────────────────────────── */
.place-detail-page { background: var(--white); min-height: 100vh; }

/* Photo strip */
.place-photos-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 380px;
  gap: 4px;
  max-height: 384px;
  overflow: hidden;
}
.place-photo { background-size: cover; background-position: center; background-color: var(--stone); }
.place-photo-main { grid-row: 1; }
.place-photo-side { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.place-photo-sm { background-size: cover; background-position: center; background-color: var(--cream); }

/* Layout */
.place-detail-container { max-width: 1100px; margin: 0 auto; padding: 0 2rem 4rem; }
.place-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; padding-top: 2.5rem; }
.place-detail-main { min-width: 0; }

/* Header */
.place-detail-header { margin-bottom: 1.75rem; }
.place-detail-header-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.place-detail-back {
  font-size: 0.78rem; color: var(--sand); text-decoration: none;
  transition: color 0.15s;
}
.place-detail-back:hover { color: var(--navy); }
.place-detail-name {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700; color: var(--navy);
  line-height: 1.15; margin-bottom: 0.5rem;
}
.place-detail-address {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; color: var(--sand); margin-bottom: 0.75rem;
}
.detail-pin-icon { width: 14px; height: 14px; flex-shrink: 0; }
.place-detail-meta-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.detail-meta-chip {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.78rem; font-weight: 500;
  background: var(--cream); border: 1px solid var(--stone);
  border-radius: 999px; padding: 0.2rem 0.7rem;
  color: var(--charcoal);
}
.detail-rating-chip { gap: 0.2rem; }

/* Stars */
.star { color: var(--stone); font-size: 0.9rem; }
.star.star-filled { color: var(--amber); }
.star-lg { color: var(--stone); font-size: 1.2rem; }
.star-lg.star-filled { color: var(--amber); }

/* Description & must-try */
.place-detail-desc { font-size: 0.95rem; line-height: 1.75; color: var(--charcoal); }
.place-detail-must-try {
  display: flex; align-items: baseline; gap: 0.6rem;
  background: linear-gradient(135deg, #fef9c3, #fefce8);
  border: 1px solid #fde68a; border-radius: var(--radius-md);
  padding: 0.8rem 1rem; margin: 1.25rem 0;
}
.must-try-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #b45309; white-space: nowrap; }
.must-try-text { font-size: 0.88rem; color: #92400e; }

/* Sections */
.place-detail-section { margin-bottom: 2.5rem; }
.place-detail-section-title {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 1rem;
}

/* Mini map */
.place-mini-map { height: 260px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--stone); margin-bottom: 0.75rem; }
.detail-maps-btn { margin-top: 0; }

/* Reviews */
.reviews-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.reviews-summary { display: flex; align-items: center; gap: 0.5rem; }
.reviews-avg { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.reviews-count-text { font-size: 0.78rem; color: var(--sand); }

.review-form-card {
  background: var(--cream); border: 1px solid var(--stone);
  border-radius: var(--radius-md); padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.review-form-title { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.review-stars-input { display: flex; gap: 0.25rem; }
.star-btn {
  background: none; border: none; font-size: 1.5rem; cursor: pointer;
  color: var(--stone); padding: 0; line-height: 1; transition: color 0.1s, transform 0.1s;
}
.star-btn:hover, .star-btn.star-active { color: var(--amber); transform: scale(1.15); }
.review-input { font-size: 0.85rem; }
.review-textarea { font-size: 0.85rem; resize: vertical; min-height: 80px; }

/* Photo upload */
.review-photo-upload { margin: 0.5rem 0; }
.review-photo-label {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.8rem; font-weight: 500; color: var(--slate);
  cursor: pointer; padding: 0.35rem 0.75rem;
  border: 1px dashed var(--stone); border-radius: 6px;
  transition: border-color 0.15s, color 0.15s;
}
.review-photo-label:hover { border-color: var(--navy); color: var(--navy); }
.review-photo-previews { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.review-photo-preview-thumb {
  width: 70px; height: 70px; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--stone);
}
/* Pending notice after review submit */
.review-pending-notice {
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: #f0f9f4; border: 1px solid #bbf7d0; border-radius: 8px;
  padding: 1rem; color: var(--navy); font-size: 0.875rem;
}
.review-pending-notice p { margin: 0.2rem 0 0; color: var(--slate); }

/* Photos in posted reviews */
.review-photos { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.review-photo-thumb {
  width: 90px; height: 90px; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--stone);
  cursor: pointer; transition: opacity 0.15s;
}
.review-photo-thumb:hover { opacity: 0.85; }

.review-card {
  border-bottom: 1px solid var(--stone); padding: 1.25rem 0;
}
.review-card:last-child { border-bottom: none; }
.review-card-new { animation: fadeSlideIn 0.3s ease; }
@keyframes fadeSlideIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.review-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.review-author-row { display: flex; flex-direction: column; gap: 0.1rem; }
.review-author { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.review-date { font-size: 0.72rem; color: var(--stone); }
.review-stars { display: flex; gap: 0.1rem; }
.review-body { font-size: 0.88rem; color: var(--charcoal); line-height: 1.6; margin: 0; }
.reviews-empty { padding: 1.5rem 0; color: var(--sand); font-size: 0.88rem; }

/* Sidebar */
.place-detail-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 1rem; }
.place-sidebar-card {
  background: var(--white); border: 1px solid var(--stone);
  border-radius: var(--radius-md); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.sidebar-card-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); margin-bottom: 0.25rem; }
.sidebar-card-label { font-size: 0.8rem; color: var(--sand); }
.place-saved-status {
  font-size: 0.88rem; font-weight: 600; padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm); text-align: center;
}
.place-saved-been { background: #e8ecf5; color: var(--navy); }
.place-saved-wishlist { background: #e6f4f4; color: var(--teal); }
.place-sidebar-actions { display: flex; flex-direction: column; gap: 0.4rem; }
.btn-full { width: 100%; text-align: center; }

/* Contact */
.contact-row { display: flex; align-items: flex-start; gap: 0.6rem; }
.contact-icon { width: 15px; height: 15px; flex-shrink: 0; color: var(--sand); margin-top: 2px; }
.contact-link { font-size: 0.82rem; color: var(--teal); text-decoration: none; word-break: break-all; }
.contact-link:hover { text-decoration: underline; }
.contact-hours { font-size: 0.82rem; color: var(--charcoal); line-height: 1.5; }
.contact-row-hours { align-items: flex-start; }

/* Tags */
.detail-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.detail-tag {
  font-size: 0.7rem; color: var(--charcoal);
  background: var(--cream); border: 1px solid var(--stone);
  border-radius: 999px; padding: 0.15rem 0.55rem;
}

/* Responsive */
@media (max-width: 860px) {
  .place-photos-strip { grid-template-columns: 1fr; grid-template-rows: 260px; }
  .place-photo-side { display: none; }
  .place-detail-layout { grid-template-columns: 1fr; }
  .place-detail-sidebar { position: static; }
  .place-detail-container { padding: 0 1rem 3rem; }
  .place-detail-name { font-size: 1.7rem; }
}
.place-card-name-link { text-decoration: none; color: inherit; }
.place-card-name-link:hover .place-card-name { color: var(--teal); text-decoration: underline; }
.popup-name-link { text-decoration: none; color: inherit; }
.popup-name-link:hover .popup-name { color: var(--teal); }
.popup-detail-link { display: block; font-size: 0.75rem; color: var(--teal); text-decoration: none; margin-top: 0.5rem; font-weight: 500; }

/* ── Auth pages ─────────────────────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 70px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem; background: var(--cream);
}
.auth-card {
  background: #fff; border: 1px solid var(--stone);
  border-radius: 16px; padding: 2.5rem 2rem;
  width: 100%; max-width: 420px;
}
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); text-decoration: none; font-weight: 700; }
.auth-title { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; text-align: center; }
.auth-sub { font-size: 0.875rem; color: var(--slate); text-align: center; margin-bottom: 1.75rem; }
.auth-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
  border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.85rem; margin-bottom: 1rem;
}
.auth-form .form-group { margin-bottom: 1rem; }
.auth-submit { margin-top: 0.5rem; }
.auth-switch { text-align: center; font-size: 0.85rem; color: var(--slate); margin-top: 1.25rem; }
.auth-switch a { color: var(--navy); font-weight: 500; }
.nav-auth { display: flex; align-items: center; gap: 0.5rem; margin-left: 1rem; }
.nav-username { font-size: 0.85rem; font-weight: 500; color: var(--navy); margin-right: 0.5rem; }
.nav-logout { font-size: 0.8rem; }
.popup-detail-link:hover { text-decoration: underline; }

/* ── Search autocomplete dropdown ───────────────────────────────────────────── */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 1000;
  overflow: hidden;
}
.search-suggestion {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text);
  transition: background 0.1s;
}
.search-suggestion:hover, .search-suggestion.active { background: var(--cream); }
.search-suggestion-city {
  border-top: 1px solid var(--stone);
  color: var(--slate);
  font-size: 0.825rem;
}
.suggestion-type {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 2px 6px; border-radius: 4px;
  flex-shrink: 0; background: var(--stone); color: var(--slate);
}
.suggestion-type-restaurant { background: #fef3c7; color: #92400e; }
.suggestion-type-cafe       { background: #fde8d8; color: #9a3412; }
.suggestion-type-bar        { background: #ede9fe; color: #5b21b6; }
.suggestion-type-museum     { background: #dbeafe; color: #1e40af; }
.suggestion-type-attraction { background: #dcfce7; color: #166534; }
.suggestion-type-shop       { background: #fce7f3; color: #9d174d; }
.suggestion-type-market     { background: #fef9c3; color: #713f12; }
.suggestion-type-hotel      { background: #e0f2fe; color: #075985; }
.suggestion-name { flex: 1; font-weight: 500; }
.suggestion-city { font-size: 0.775rem; color: var(--slate); flex-shrink: 0; }
.search-highlight { background: #fef08a; color: inherit; border-radius: 2px; }
.search-suggestion-loading { color: var(--slate); font-style: italic; cursor: default; }
.search-suggestion-loading:hover { background: none; }

/* ── Creator bar ─────────────────────────────────────────────────────────── */
.creator-bar {
  background: #1e1b4b;
  color: white;
  font-size: 0.8rem;
  padding: 0.5rem 1.5rem;
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
}
.creator-bar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 0.875rem; }
.creator-bar-label { flex: 1; opacity: 0.85; }
.creator-bar-btn {
  padding: 0.3rem 0.875rem; border-radius: 6px; font-size: 0.775rem; font-weight: 600;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  color: white; cursor: pointer; text-decoration: none; transition: background 0.15s;
}
.creator-bar-btn:hover { background: rgba(255,255,255,0.25); }
.creator-bar-ghost { background: transparent; border-color: rgba(255,255,255,0.15); opacity: 0.7; }
.creator-bar-ghost:hover { opacity: 1; background: rgba(255,255,255,0.1); }

/* ── Creator nav button ──────────────────────────────────────────────────── */
.btn-creator {
  background: #ede9fe; color: #5b21b6; border: 1px solid #c4b5fd;
  font-weight: 600; transition: all 0.15s;
}
.btn-creator:hover, .btn-creator.active { background: #5b21b6; color: white; border-color: #5b21b6; }

/* ── Creator dashboard ───────────────────────────────────────────────────── */
.creator-page { max-width: 1000px; margin: 0 auto; padding: 2.5rem 2rem 5rem; }
.creator-hero { margin-bottom: 2rem; }
.creator-hero h1 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.creator-hero p { color: var(--sand); font-size: 0.9rem; }

.creator-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.stat-card { background: white; border: 1px solid var(--stone); border-radius: 12px; padding: 1.25rem 1.5rem; }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.8rem; color: var(--sand); }

.creator-section { margin-bottom: 2.5rem; }
.creator-section-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.creator-section-title .badge { background: #fef3c7; color: #92400e; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }

.review-row { background: white; border: 1px solid var(--stone); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; display: flex; gap: 1rem; align-items: flex-start; }
.review-row-body { flex: 1; }
.review-row-place { font-size: 0.75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.review-row-author { font-size: 0.8rem; color: var(--sand); margin-bottom: 0.4rem; }
.review-row-text { font-size: 0.875rem; color: var(--charcoal); line-height: 1.5; }
.review-row-actions { display: flex; gap: 0.5rem; flex-shrink: 0; align-items: center; }
.review-status-badge { font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.review-status-pending  { background: #fef3c7; color: #92400e; }
.review-status-approved { background: #dcfce7; color: #166534; }
.review-status-rejected { background: #fee2e2; color: #991b1b; }
.review-status-new       { background: #dbeafe; color: #1e40af; }
.review-status-read      { background: #f3f4f6; color: #374151; }
.review-status-responded { background: #dcfce7; color: #166534; }
.btn-approve { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; padding: 0.3rem 0.75rem; border-radius: 6px; font-size: 0.775rem; font-weight: 600; cursor: pointer; }
.btn-approve:hover { background: #16a34a; color: white; }
.btn-reject  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; padding: 0.3rem 0.75rem; border-radius: 6px; font-size: 0.775rem; font-weight: 600; cursor: pointer; }
.btn-reject:hover  { background: #dc2626; color: white; }

.creator-tab-bar { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; background: var(--linen); border-radius: 8px; padding: 4px; }
.creator-tab { padding: 0.45rem 1rem; border-radius: 6px; font-size: 0.825rem; font-weight: 500; cursor: pointer; border: none; background: none; color: var(--sand); transition: all 0.15s; }
.creator-tab.active { background: white; color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

/* ── Guest warning ───────────────────────────────────────────────────────── */
.guest-warning { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 0.875rem 1.25rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.875rem; font-size: 0.85rem; color: #92400e; }
.guest-warning a { color: var(--teal); font-weight: 600; }

/* ── Places drawer toggle button ─────────────────────────────────────────── */
.panel-toggle-btn {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 25;
  background: white;
  border: 1px solid var(--stone);
  border-left: none;
  border-radius: 0 8px 8px 0;
  padding: 0.875rem 0.5rem;
  cursor: pointer;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
  transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.panel-toggle-btn:hover { background: var(--linen); }
.panel-toggle-btn.panel-open { left: 380px; }
.panel-toggle-icon { font-size: 0.8rem; line-height: 1; }
.panel-toggle-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Floating panel close (inside panel) */
.panel-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: white;
  border: 1px solid var(--stone);
  border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--sand);
  z-index: 5;
  transition: all 0.15s;
  flex-shrink: 0;
}
.panel-close-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
