:root {
  --bg: #f7f5f0;
  --bg-card: #ffffff;
  --ink: #1a1f2e;
  --ink-dim: #5b6478;
  --ink-faint: #8a93a6;
  --line: #e6e2d8;
  --line-strong: #d4cebe;
  --accent: #1c4af0;
  --accent-soft: #e7edff;
  --accent-ink: #0a2a8a;
  --warm: #f0a23a;
  --warm-soft: #fff1d8;
  --good: #20865a;
  --good-soft: #def4e7;
  --shadow-sm: 0 1px 2px rgba(20,20,30,.06);
  --shadow-md: 0 12px 28px -16px rgba(20,20,30,.18);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: 2.4rem; line-height: 1.1; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6588ff);
  color: #fff; font-size: 14px;
}
.brand-name { font-family: 'Fraunces', serif; font-size: 1.2rem; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px;
  color: var(--ink-dim); font-weight: 500;
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.site-nav a.active { background: var(--ink); color: #fff; }
.trip-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--warm); color: #fff; font-size: 11px; font-weight: 700;
  margin-left: 4px;
}
.site-nav a.active .trip-count { background: var(--warm); }

/* ===== Main / Footer ===== */
.site-main { padding: 32px 0 64px; }
.site-footer {
  border-top: 1px solid var(--line); background: #fff; margin-top: 64px;
}
.footer-inner {
  display: flex; justify-content: space-between; padding: 18px 28px;
  color: var(--ink-faint); font-size: 13px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, #0e1730 0%, #1c2747 55%, #2a3a64 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 48px;
  position: relative; overflow: hidden;
  margin-bottom: 32px;
}
.hero::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240,162,58,.35), transparent);
  pointer-events: none;
}
.hero h1 { font-size: 3rem; margin-bottom: 12px; }
.hero p { color: #c8d2eb; max-width: 540px; font-size: 1.05rem; }
.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-pills a {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  transition: background .15s;
}
.hero-pills a:hover { background: rgba(255,255,255,.16); }
.hero-pills a.primary { background: var(--warm); border-color: var(--warm); color: #1a1f2e; }
.hero-pills a.primary:hover { background: #ffb04a; }

/* ===== Section heads ===== */
.section { margin-top: 40px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px;
}
.section-head h2 { font-size: 1.5rem; }
.section-head .head-link { font-size: 13px; color: var(--ink-dim); }
.section-head .head-link:hover { color: var(--accent); }

/* ===== Tiles grid (home) ===== */
.tile-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.tile {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tile-icon { font-size: 28px; }
.tile h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; }
.tile p { color: var(--ink-dim); font-size: 13.5px; margin: 0; }

/* ===== Filter card ===== */
.filter-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
}
.filter-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: var(--ink-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.field input, .field select {
  font-family: inherit; font-size: 14px;
  padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 11px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  background: var(--ink); color: #fff;
  transition: background .15s, transform .05s;
}
.btn:hover { background: #2b3450; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: #1438c7; }
.btn-warm { background: var(--warm); color: #1a1f2e; }
.btn-warm:hover { background: #ffb04a; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--bg); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* ===== Cruise cards ===== */
.results-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--ink-dim); font-size: 13px; }

.cruise-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.cruise-top {
  display: grid; grid-template-columns: 280px 1fr 230px; gap: 0;
}
.cruise-media { position: relative; }
.cruise-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cruise-ribbon {
  position: absolute; top: 12px; left: 12px;
  background: var(--good); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.cruise-itinerary-img {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  background: rgba(255,255,255,.94); border-radius: 6px; padding: 4px;
}
.cruise-itinerary-img img { height: 64px; width: 100%; object-fit: cover; }

.cruise-body { padding: 22px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.cruise-title { font-family: 'Fraunces', serif; font-size: 1.4rem; line-height: 1.2; margin-bottom: 10px; }
.cruise-meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 13.5px; }
.cruise-meta dt { color: var(--ink-faint); font-weight: 600; }
.cruise-meta dd { margin: 0; color: var(--ink); }
.cruise-styles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cruise-styles span {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 600;
}

.cruise-side {
  padding: 22px; display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(180deg, #fcfaf3 0%, #f7f5ec 100%);
  text-align: center;
}
.cruise-logo { height: 38px; max-width: 130px; object-fit: contain; margin-bottom: 12px; }
.price-from { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.price-amount { font-family: 'Fraunces', serif; font-size: 2.2rem; line-height: 1; margin: 4px 0; }
.price-per-night { font-size: 12px; color: var(--ink-dim); margin-bottom: 14px; }
.cruise-side .btn { width: 100%; }

.departures {
  border-top: 1px solid var(--line); padding: 18px 22px; background: #fbfaf5;
  font-size: 13px;
}
.departure-row {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) auto;
  gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line);
}
.departure-row:last-child { border-bottom: none; }
.departure-row strong { font-weight: 600; }
.departure-row small { color: var(--ink-faint); display: block; }
.departure-row .cabin { text-align: center; }
.departure-row .cabin-label { display: block; font-size: 10px; color: var(--ink-faint); text-transform: uppercase; }
.departure-row .cabin-price { font-weight: 700; color: var(--ink); }
.departure-row .cabin-empty { color: var(--line-strong); }
.departure-actions { display: flex; gap: 6px; }

.departures-head {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) auto;
  gap: 10px; padding-bottom: 8px; font-size: 10px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
}
.departures-head .h-date { text-align: left; }
.departures-head .h-cabin { text-align: center; }

/* Save state */
.btn-saved { background: var(--good); }
.btn-saved:hover { background: #196a48; }

/* ===== Klook (activities + transport) tab toggle ===== */
.tab-toggle {
  display: inline-flex; background: var(--bg); padding: 4px; border-radius: 999px;
  border: 1px solid var(--line);
}
.tab-toggle-item { position: relative; cursor: pointer; }
.tab-toggle-item input { position: absolute; opacity: 0; pointer-events: none; }
.tab-toggle-item span {
  display: inline-block;
  padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-dim);
  transition: background .15s, color .15s;
}
.tab-toggle-item:hover span { color: var(--ink); }
.tab-toggle-item input:checked + span { background: var(--ink); color: #fff; }

/* ===== Klook cards ===== */
.klook-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.klook-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.klook-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.klook-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.klook-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.klook-promo {
  position: absolute; top: 10px; left: 10px;
  background: var(--warm); color: #1a1f2e;
  font-size: 10px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
  max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.klook-soldout {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20,20,30,.55); color: #fff; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.klook-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.klook-category {
  font-size: 10px; color: var(--accent-ink); background: var(--accent-soft);
  align-self: flex-start;
  padding: 3px 8px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.klook-title { font-family: 'Fraunces', serif; font-size: 1.05rem; line-height: 1.25; }
.klook-sub { font-size: 12px; color: var(--ink-dim); margin: 0; line-height: 1.3; }
.klook-departure { font-size: 11px; color: var(--ink-faint); margin: 0; }
.klook-rating {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-dim);
}
.klook-rating strong { color: var(--warm); font-size: 13px; }
.klook-booked { color: var(--good); font-weight: 600; }
.klook-foot {
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 8px;
}
.klook-price { display: flex; flex-direction: column; }
.klook-price-old { color: var(--ink-faint); text-decoration: line-through; font-size: 11px; }
.klook-price-from { font-size: 10px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.klook-price-amount { font-family: 'Fraunces', serif; font-size: 1.3rem; line-height: 1; }
.klook-price small { color: var(--ink-faint); font-size: 10px; }
.klook-actions { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }

.trip-kind.kind-transport { background: #ffe8dd; color: #8a3400; }

/* ===== Flight cards ===== */
.flight-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr 200px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  transition: transform .15s, box-shadow .15s;
}
.flight-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.flight-legs { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.flight-leg { border-bottom: 1px dashed var(--line); padding-bottom: 14px; }
.flight-leg:last-child { border-bottom: none; padding-bottom: 0; }
.flight-leg-label {
  font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700; margin-bottom: 8px;
}
.flight-leg-row {
  display: grid; grid-template-columns: 100px 1fr 100px;
  gap: 16px; align-items: center;
}
.flight-time { display: flex; flex-direction: column; }
.flight-time strong { font-family: 'Fraunces', serif; font-size: 1.5rem; line-height: 1; }
.flight-time small { font-size: 12px; color: var(--ink-dim); margin-top: 2px; font-weight: 600; }
.flight-time .airport { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
.flight-path { text-align: center; }
.flight-duration { font-size: 12px; color: var(--ink-dim); font-weight: 600; margin-bottom: 4px; }
.flight-line {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  position: relative; height: 6px;
}
.flight-line::before {
  content: ''; position: absolute; left: 6%; right: 6%; top: 50%;
  height: 1px; background: var(--line-strong);
}
.flight-line .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink); position: relative; z-index: 1;
}
.flight-line .dot.stop { background: var(--warm); }
.flight-stops { font-size: 11px; color: var(--ink-faint); margin-top: 4px; }
.flight-carriers { font-size: 12px; color: var(--ink-dim); margin-top: 8px; text-align: center; }

.flight-side {
  padding: 18px; background: linear-gradient(180deg, #fcfaf3 0%, #f7f5ec 100%);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  text-align: center;
}
.flight-price { display: flex; flex-direction: column; align-items: center; }
.flight-price .price-amount {
  font-family: 'Fraunces', serif; font-size: 1.9rem; line-height: 1;
}
.flight-price-old {
  color: var(--ink-faint); text-decoration: line-through; font-size: 12px;
}
.flight-side .btn { width: 100%; }

@media (max-width: 720px) {
  .flight-card { grid-template-columns: 1fr; }
  .flight-side { border-left: none; border-top: 1px solid var(--line); }
  .flight-time strong { font-size: 1.2rem; }
  .flight-leg-row { grid-template-columns: 80px 1fr 80px; }
}

/* ===== Cruise / paginated pager ===== */
.cruise-pager {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 12px;
  margin: 28px 0 20px;
  padding: 14px 18px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cruise-pager > *:nth-child(1) { justify-self: start; }
.cruise-pager > *:nth-child(2) { justify-self: center; }
.cruise-pager > *:nth-child(3) { justify-self: end; }
.cruise-pager-status {
  font-size: 13px; color: var(--ink-dim); font-weight: 600;
}
@media (max-width: 640px) {
  .cruise-pager { grid-template-columns: 1fr; text-align: center; }
  .cruise-pager > * { justify-self: center !important; }
}

/* ===== Multi-city legs ===== */
.mc-leg {
  display: grid; grid-template-columns: 60px 1fr 1fr 160px 32px;
  gap: 8px; align-items: center;
  padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg);
}
.mc-leg-num { font-size: 11px; font-weight: 700; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.mc-input {
  font-family: inherit; font-size: 14px;
  padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff;
}
.mc-remove {
  width: 32px; height: 32px; padding: 0; font-size: 18px; line-height: 1;
}
@media (max-width: 680px) {
  .mc-leg { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
  .mc-leg-num { grid-column: 1 / -1; }
  .mc-input[type="date"] { grid-column: 1 / -1; }
  .mc-remove { grid-column: 1 / -1; justify-self: flex-end; }
}

/* ===== Price calendar ===== */
.price-calendar-block {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.pc-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 6px;
}
.pc-dow {
  font-size: 10px; font-weight: 700; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.06em; text-align: center; padding-bottom: 4px;
}
.pc-cell {
  aspect-ratio: 1.1; padding: 6px; border-radius: 8px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg); color: var(--ink); font-size: 12px;
  border: 1px solid transparent;
  transition: transform .1s, box-shadow .1s, border-color .1s;
}
.pc-cell.empty { background: transparent; }
.pc-cell.past { opacity: .35; pointer-events: none; }
.pc-cell.no-price { background: var(--bg); color: var(--ink-faint); }
.pc-cell.has-price { cursor: pointer; text-decoration: none; }
.pc-cell.has-price:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.pc-day { font-weight: 700; }
.pc-amt { font-weight: 700; font-family: 'Fraunces', serif; font-size: 13px; }
.pc-cell.cheap { background: #d6f4de; color: #135631; }
.pc-cell.avg   { background: #fff2d1; color: #6b4b00; }
.pc-cell.exp   { background: #fddcd5; color: #8b271b; }
.pc-legend { font-size: 12px; color: var(--ink-dim); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.pc-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 4px; vertical-align: middle; }
.pc-swatch.cheap { background: #d6f4de; }
.pc-swatch.avg   { background: #fff2d1; }
.pc-swatch.exp   { background: #fddcd5; }

/* ===== Hotel cards ===== */
.hotel-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}
.hotel-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; grid-template-columns: 140px 1fr 150px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.hotel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hotel-media {
  position: relative; background: var(--bg);
}
.hotel-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hotel-noimg {
  display: flex; align-items: center; justify-content: center;
  height: 100%; min-height: 140px;
  color: var(--ink-faint); font-size: 12px;
}
.hotel-promo {
  position: absolute; top: 8px; left: 8px;
  background: var(--warm); color: #1a1f2e; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
  max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hotel-body { padding: 16px 18px; min-width: 0; }
.hotel-title {
  font-family: 'Fraunces', serif; font-size: 1.1rem; line-height: 1.25;
  margin-bottom: 8px;
}
.hotel-ratings {
  display: flex; gap: 12px; align-items: center; margin-bottom: 8px; font-size: 13px;
}
.hotel-ratings .star-row { color: var(--warm); font-size: 14px; }
.hotel-ratings .star-row small { color: var(--ink-dim); margin-left: 4px; font-size: 11px; }
.hotel-review {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 3px 8px; border-radius: 6px;
}
.hotel-review strong { font-size: 13px; }
.hotel-review small { font-size: 10px; }
.hotel-address { font-size: 12px; color: var(--ink-dim); margin: 4px 0; line-height: 1.3; }
.hotel-distance { font-size: 11px; color: var(--ink-faint); margin: 0; }
.hotel-secondary { font-size: 11px; color: var(--good); margin: 4px 0 0; font-weight: 600; }
.hotel-side {
  padding: 16px 14px; background: linear-gradient(180deg, #fcfaf3 0%, #f7f5ec 100%);
  display: flex; flex-direction: column; align-items: stretch; justify-content: space-between;
  border-left: 1px solid var(--line); text-align: center; gap: 8px;
}
.hotel-price-block { display: flex; flex-direction: column; align-items: center; }
.hotel-side .price-amount {
  font-family: 'Fraunces', serif; font-size: 1.3rem; line-height: 1; margin-bottom: 4px;
  white-space: nowrap;
}
.hotel-side .price-per-night { font-size: 11px; color: var(--ink-faint); margin-bottom: 8px; }
.hotel-side .btn { width: 100%; }

@media (max-width: 720px) {
  .hotel-card { grid-template-columns: 1fr; }
  .hotel-media { min-height: 160px; }
  .hotel-side { border-left: none; border-top: 1px solid var(--line); }
}

/* ===== City autocomplete menu ===== */
.ta-autocomplete-menu {
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px -6px rgba(20,20,30,.18);
  max-height: 320px; overflow: auto; z-index: 1000;
}
.ta-autocomplete-item {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: baseline; gap: 8px;
  width: 100%; text-align: left;
  padding: 9px 12px;
  background: transparent; border: none; cursor: pointer;
  font-family: inherit; font-size: 13px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.ta-autocomplete-item:last-child { border-bottom: none; }
.ta-autocomplete-item:hover,
.ta-autocomplete-item.is-focus { background: var(--accent-soft); }
.ta-autocomplete-item .ac-name { font-weight: 600; }
.ta-autocomplete-item .ac-code {
  font-size: 10px; color: var(--ink-faint); font-weight: 700;
  background: var(--bg); padding: 1px 6px; border-radius: 4px;
}
.ta-autocomplete-item .ac-country { font-size: 11px; color: var(--ink-dim); }

/* ===== Empty / loading ===== */
.empty-state, .loading-state, .error-state {
  text-align: center; padding: 60px 20px; color: var(--ink-dim);
}
.empty-state h3 { margin-bottom: 8px; color: var(--ink); }
.error-state { color: #a8332a; background: #fde9e6; border-radius: var(--radius); border: 1px solid #f4c2bc; }

.spinner {
  width: 24px; height: 24px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent);
  animation: spin .8s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Trip page ===== */
.trip-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.trip-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.trip-card-head { display: flex; align-items: center; gap: 12px; }
.trip-kind {
  font-size: 10px; padding: 4px 8px; border-radius: 999px; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; letter-spacing: 0.04em;
}
.trip-kind.kind-hotel { background: #ffe9d7; color: #a04b00; }
.trip-kind.kind-activity { background: #def4e7; color: #1a6a45; }
.trip-kind.kind-train { background: #ece1ff; color: #4f2da6; }
.trip-kind.kind-flight { background: #e0f2ff; color: #0c4a8c; }
.trip-card h4 { font-family: 'Inter', sans-serif; font-size: 15px; }
.trip-card p { color: var(--ink-dim); font-size: 13px; margin: 0; }
.trip-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.trip-card-foot .price { font-weight: 700; font-size: 1.05rem; }
.trip-thumb {
  margin: -18px -18px 0;
  height: 130px; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.trip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Placeholder pages ===== */
.placeholder {
  background: var(--bg-card); border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: 60px 40px; text-align: center;
}
.placeholder h2 { margin-bottom: 12px; }
.placeholder p { color: var(--ink-dim); margin-bottom: 24px; }

/* ===== Advanced filter ===== */
.filter-advanced {
  margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px;
}
.filter-advanced > summary {
  font-size: 13px; font-weight: 600; color: var(--ink-dim);
  cursor: pointer; padding: 4px 0; user-select: none;
  list-style: none; display: flex; align-items: center; gap: 8px;
}
.filter-advanced > summary::-webkit-details-marker { display: none; }
.filter-advanced > summary::before {
  content: '▸'; transition: transform .15s; display: inline-block;
}
.filter-advanced[open] > summary::before { transform: rotate(90deg); }
.filter-advanced > summary:hover { color: var(--ink); }
.filter-summary-count {
  background: var(--accent); color: #fff;
  font-size: 11px; padding: 1px 8px; border-radius: 999px;
  font-weight: 700;
}
.filter-summary-count:empty { display: none; }
.filter-section { margin-top: 16px; }
.filter-section-head {
  font-size: 11px; font-weight: 700; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
}
.checkbox-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.checkbox-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; font-size: 13px; cursor: pointer;
  transition: background .12s, border-color .12s, box-shadow .12s;
}
.checkbox-pill:hover { background: var(--bg); border-color: var(--ink-faint); }
.checkbox-pill input { margin: 0; cursor: pointer; accent-color: var(--accent); }
.checkbox-pill:has(input:checked) {
  background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 600;
}

.filter-actions {
  margin-top: 18px; display: flex; gap: 10px; align-items: center;
}

/* ===== Voyage picker bar (cruises page) ===== */
.voyage-bar {
  margin: 0 0 20px;
}
.voyage-bar:empty { margin: 0; }
.voyage-bar-inner {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.voyage-bar-label { font-size: 12px; color: var(--ink-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.voyage-pill-group { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.voyage-pill {
  --vc: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); background: #fff;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--ink);
  cursor: pointer; transition: background .15s, border-color .15s, transform .05s;
  font-family: inherit;
}
.voyage-pill:hover { background: var(--bg); }
.voyage-pill:active { transform: translateY(1px); }
.voyage-pill.is-active {
  background: var(--vc); border-color: var(--vc); color: #fff;
  box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--vc) 50%, transparent);
}
.voyage-pill small {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: rgba(0,0,0,.08); color: inherit; font-size: 10px; font-weight: 700;
}
.voyage-pill.is-active small { background: rgba(255,255,255,.25); }
.voyage-pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--vc); flex-shrink: 0;
}
.voyage-pill.is-active .voyage-pill-dot { background: rgba(255,255,255,.85); }
.btn-link {
  background: transparent; border: none; padding: 0; color: var(--accent); cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: inherit;
}
.btn-link:hover { text-decoration: underline; }

/* ===== AI sparkles + panel ===== */
.ai-sparkles {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; margin-right: 6px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #fff; border: none; cursor: pointer;
  font-size: 16px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 3px 12px -2px rgba(99,102,241,.55);
}
.ai-sparkles:hover { transform: scale(1.06); box-shadow: 0 6px 18px -2px rgba(236,72,153,.5); }
.ai-sparkles:active { transform: scale(.96); }
.ai-sparkles-icon {
  display: inline-block; transform: rotate(0deg);
  animation: aispin 6s linear infinite;
}
@keyframes aispin { to { transform: rotate(360deg); } }

.ai-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: #fff; border-left: 1px solid var(--line);
  box-shadow: -18px 0 40px -20px rgba(20,20,30,.25);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column;
  z-index: 999;
}
.ai-panel.is-open { transform: translateX(0); }
.ai-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #6366f110, #ec489910);
}
.ai-brand { font-family: 'Fraunces', serif; font-size: 1.15rem; }
.ai-sub { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.ai-close {
  background: transparent; border: none; font-size: 24px; color: var(--ink-dim);
  cursor: pointer; line-height: 1;
}
.ai-close:hover { color: var(--ink); }
.ai-panel-body { flex: 1; overflow: auto; padding: 18px; }

/* Setup */
.ai-setup h2 { font-size: 1.4rem; margin-bottom: 6px; }
.ai-setup > p { color: var(--ink-dim); font-size: 13.5px; margin-bottom: 16px; }
.ai-req { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 18px; }
.ai-req-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg);
  font-size: 12.5px;
}
.ai-req-row.ok { background: var(--good-soft); color: #135631; }
.ai-req-row.bad { background: #fde9e6; color: #8b271b; }
.ai-req-row.info { color: var(--ink-dim); }
.ai-req-row > span:first-child { font-weight: 700; white-space: nowrap; }

.ai-model-label { font-size: 12px; font-weight: 700; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.ai-model-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 16px; }
.ai-model {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  cursor: pointer; background: #fff;
}
.ai-model:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.ai-model-name { font-size: 13.5px; font-weight: 600; }
.ai-model-size { font-size: 11px; color: var(--ink-faint); }
.ai-footnote { color: var(--ink-faint); font-size: 11px; margin-top: 12px; text-align: center; }

/* Loading */
.ai-loading { text-align: center; padding: 20px 0; }
.ai-loading h3 { font-family: 'Fraunces', serif; margin-bottom: 6px; }
.ai-progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 12px; }
.ai-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #6366f1, #ec4899); transition: width .3s; }

.ai-error { padding: 20px; text-align: center; }
.ai-error h3 { color: #8b271b; margin-bottom: 6px; }

/* Chat */
.ai-chat { display: flex; flex-direction: column; height: 100%; }
.ai-messages { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.ai-welcome {
  padding: 20px; background: var(--bg); border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong); color: var(--ink-dim); font-size: 13px;
}
.ai-welcome-title { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.ai-welcome ul { padding-left: 18px; margin: 6px 0 0; }
.ai-welcome li { margin: 4px 0; }
.ai-msg { display: flex; }
.ai-msg-user { justify-content: flex-end; }
.ai-msg-body {
  padding: 10px 14px; border-radius: 14px;
  max-width: 88%; font-size: 13.5px; line-height: 1.45;
  white-space: pre-wrap; word-wrap: break-word;
}
.ai-msg-user .ai-msg-body { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg-assistant .ai-msg-body { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }

.ai-plan-block {
  background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
  border: 1px solid #e0d6ff; border-radius: var(--radius-sm);
  padding: 12px; margin-top: 8px;
}
.ai-plan-head { font-weight: 700; font-family: 'Fraunces', serif; margin-bottom: 8px; }
.ai-plan-actions { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.ai-plan-actions .btn { justify-content: flex-start; text-align: left; }
.ai-plan-voyage { width: 100%; }

.ai-composer { border-top: 1px solid var(--line); padding-top: 12px; }
.ai-composer textarea {
  width: 100%; box-sizing: border-box;
  padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 13.5px; resize: vertical;
}
.ai-composer textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.ai-composer-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

/* ===== Print stylesheet ===== */
@media print {
  @page { margin: 14mm 12mm; }
  body { background: #fff !important; font-size: 11pt; }
  .site-header, .site-footer, .voyage-bar, .site-nav, .ai-panel,
  .voyage-detail-actions, .voyage-back, .cost-currency-picker,
  .filter-card, .filter-actions, .ai-sparkles,
  .btn-link, .voyage-map-col > .section-head, #voyageMap,
  .move-select, .move-select { display: none !important; }
  .voyage-detail-container { max-width: 100%; padding: 0 !important; }
  .voyage-detail-head {
    border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 12px;
  }
  .voyage-detail-head h1 { font-size: 24pt; }
  .voyage-cost-block {
    box-shadow: none; border: 1px solid #000; padding: 12px 16px;
    page-break-inside: avoid;
  }
  .voyage-detail-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .voyage-map-col { display: none !important; }
  .voyage-timeline { page-break-before: auto; }
  .timeline-day { page-break-inside: avoid; margin-bottom: 12px; }
  .timeline-day-head { font-size: 14pt; border-bottom: 1px solid #999; padding-bottom: 4px; }
  .timeline-day-items { border-left: none; padding-left: 0; margin-left: 0; }
  .timeline-item {
    grid-template-columns: 40px 1fr 90px;
    box-shadow: none; border: 1px solid #ccc; margin-left: 0;
    page-break-inside: avoid;
  }
  .timeline-qr { display: block !important; }
  .weather-strip { display: none !important; }
  a { color: #000 !important; text-decoration: none; }
  .ta-toast { display: none !important; }
}

/* ===== Toast ===== */
.ta-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; z-index: 10000;
  box-shadow: 0 10px 24px -8px rgba(20,20,30,.35);
  transition: opacity .3s, transform .3s;
}
.ta-toast.is-out { opacity: 0; transform: translate(-50%, 10px); }

/* ===== Voyage detail page ===== */
.voyage-detail-container { max-width: 1280px; }
.voyage-detail-head {
  --vc: var(--accent);
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.voyage-detail-head h1 {
  font-size: 2.2rem; display: flex; align-items: center; gap: 12px; margin-top: 6px;
}
.voyage-detail-head .voyage-dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--vc);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--vc) 22%, transparent);
}
.voyage-detail-head .voyage-back {
  font-size: 12px; color: var(--ink-faint); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.voyage-detail-head .voyage-back:hover { color: var(--accent); }
.voyage-detail-meta { color: var(--ink-dim); margin-top: 4px; }
.voyage-detail-actions { display: flex; gap: 6px; align-items: center; }

.voyage-cost-block {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.voyage-cost-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cost-label { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.cost-amount { font-family: 'Fraunces', serif; font-size: 2.2rem; line-height: 1; margin-top: 4px; }
.cost-note   { font-size: 12px; color: var(--ink-dim); margin-top: 4px; }
.cost-currency-picker { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cost-currency-picker select {
  font-family: inherit; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff;
}
/* Budget bar */
.cost-budget { margin-top: 14px; }
.cost-budget-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--ink-dim); margin-bottom: 6px;
}
.cost-budget-row strong { color: var(--ink); }
.cost-over  { color: #8b271b; font-weight: 700; }
.cost-under { color: #135631; font-weight: 700; }
.cost-budget-bar {
  height: 8px; background: var(--line); border-radius: 999px; overflow: hidden;
}
.cost-budget-fill {
  height: 100%; background: linear-gradient(90deg, #20865a, #cbe38a);
  transition: width .3s;
}
.cost-budget-fill.over {
  background: linear-gradient(90deg, #f0a23a, #d83a6a);
}

/* Voyage settings modal */
.voyage-modal-overlay {
  position: fixed; inset: 0; background: rgba(20,20,30,.4);
  display: flex; align-items: center; justify-content: center; z-index: 500;
  padding: 20px;
}
.voyage-modal {
  background: #fff; border-radius: var(--radius); width: 100%; max-width: 460px;
  box-shadow: 0 30px 60px -20px rgba(20,20,30,.35);
  display: flex; flex-direction: column;
}
.voyage-modal header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.voyage-modal h3 { font-family: 'Fraunces', serif; font-size: 1.25rem; }
.voyage-modal-close { background: transparent; border: none; font-size: 22px; cursor: pointer; color: var(--ink-dim); }
.voyage-modal-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.voyage-modal-body label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--ink-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.voyage-modal-body input, .voyage-modal-body select, .voyage-modal-body textarea {
  font-family: inherit; font-size: 14px;
  padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); text-transform: none; font-weight: 400; letter-spacing: 0;
}
.voyage-modal-body textarea { resize: vertical; min-height: 60px; }
.voyage-modal footer {
  padding: 14px 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: flex-end; gap: 8px;
}

.cost-slices { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.cost-slice {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: var(--bg); color: var(--ink-dim); font-weight: 600;
}
.cost-slice-hotel     { background: #ffe9d7; color: #a04b00; }
.cost-slice-flight    { background: #e0f2ff; color: #0c4a8c; }
.cost-slice-cruise    { background: var(--accent-soft); color: var(--accent-ink); }
.cost-slice-activity  { background: var(--good-soft);   color: #1a6a45; }
.cost-slice-transport { background: #ffe8dd;            color: #8a3400; }

.voyage-detail-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start;
}
@media (max-width: 940px) {
  .voyage-detail-grid { grid-template-columns: 1fr; }
}

.voyage-timeline {
  display: flex; flex-direction: column; gap: 24px;
}
.timeline-day-head {
  font-family: 'Fraunces', serif; font-size: 1.15rem;
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.timeline-day-head--undated { color: var(--ink-faint); }
.timeline-day-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.timeline-day-items { display: flex; flex-direction: column; gap: 10px; padding-left: 6px; border-left: 2px solid var(--line); margin-left: 4px; }
.timeline-item {
  display: grid; grid-template-columns: 40px 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px 14px; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  margin-left: 12px;
}
.timeline-qr {
  width: 72px; height: 72px;
  display: none; /* Hidden on-screen; shown on print. */
}
.timeline-qr img { width: 100%; height: 100%; }
.timeline-item:hover { border-color: var(--line-strong); }
.timeline-icon { font-size: 22px; text-align: center; }
.timeline-item-head { display: flex; align-items: center; gap: 10px; }
.timeline-item-head strong { font-family: 'Fraunces', serif; font-size: 1.05rem; }
.timeline-event {
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: var(--warm-soft); color: #8a3400; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.timeline-item-meta { font-size: 12px; color: var(--ink-dim); margin-top: 4px; }

.voyage-map-col { position: sticky; top: 88px; }
#voyageMap {
  height: 360px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.voyage-map-empty {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 20px; color: var(--ink-dim);
}
.voyage-map-pin .pin-inner {
  background: #fff; border: 2px solid var(--accent);
  width: 32px; height: 32px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; box-shadow: 0 2px 6px rgba(20,20,30,.2);
}
.voyage-map-pin .pin-inner > * { transform: rotate(45deg); }
.map-popup strong { font-family: 'Fraunces', serif; font-size: 15px; }
.map-popup-price { font-weight: 700; color: var(--accent-ink); margin-top: 4px; }

.voyage-weather-block { margin-top: 8px; }
.weather-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64px, 1fr);
  gap: 6px; overflow-x: auto; padding: 4px 0;
}
.weather-day {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 8px; text-align: center; font-size: 12px;
}
.weather-dow { font-weight: 700; color: var(--ink-dim); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.weather-icon { font-size: 22px; margin: 4px 0; }
.weather-temps { display: flex; justify-content: center; gap: 6px; align-items: baseline; }
.weather-temps strong { font-family: 'Fraunces', serif; font-size: 1.1rem; }
.weather-temps small { color: var(--ink-faint); font-size: 11px; }
.weather-rain { color: var(--accent); font-size: 10px; margin-top: 2px; }

/* ===== "Open search" card on hotels/trains ===== */
.open-card {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff 90%);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: var(--radius); padding: 22px;
  margin-bottom: 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  align-items: center;
}
.open-card h3 { margin: 0; }
.open-card-actions { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
@media (max-width: 720px) {
  .open-card { grid-template-columns: 1fr; }
}

/* search-kind label variants */
.trip-kind { white-space: nowrap; }

/* ===== Trips page ===== */
.trips-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.trips-head h1 { font-size: 2.2rem; }
.trips-head-actions { display: flex; gap: 8px; align-items: center; }

.voyages-list { display: flex; flex-direction: column; gap: 28px; }

.voyage-section {
  --vc: var(--accent);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.voyage-section--unfiled { --vc: #8a93a6; }
.voyage-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, color-mix(in srgb, var(--vc) 8%, white), white 70%);
}
.voyage-head-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.voyage-head-right { display: flex; gap: 6px; }
.voyage-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--vc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vc) 20%, transparent);
}
.voyage-dot--unfiled { background: #b4bac8; box-shadow: 0 0 0 3px #e1e3eb; }
.voyage-title {
  font-family: 'Fraunces', serif; font-size: 1.3rem; margin: 0;
  cursor: pointer;
}
.voyage-count {
  font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: var(--bg); color: var(--ink-dim); font-weight: 600;
}
.voyage-active-tag {
  font-size: 10px; padding: 3px 8px; border-radius: 999px;
  background: var(--good); color: #fff; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.voyage-items {
  display: grid; gap: 14px; padding: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.voyage-empty {
  padding: 36px 18px; text-align: center; color: var(--ink-faint); font-size: 14px;
}
.voyage-empty a { color: var(--accent); }

.move-select {
  font-family: inherit; font-size: 12px;
  padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: 6px;
  background: #fff; color: var(--ink-dim);
}
.move-select:hover { color: var(--ink); }

.cabin-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px;
}
.cabin-mini {
  text-align: center; padding: 6px 4px; background: var(--bg); border-radius: 6px;
}
.cabin-mini small { display: block; font-size: 9px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.cabin-mini div { font-weight: 700; font-size: 12px; margin-top: 2px; }

/* ===== Home voyages preview ===== */
.home-voyages {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.home-voyage {
  --vc: var(--accent);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: block; transition: transform .15s, box-shadow .15s, border-color .15s;
  position: relative; overflow: hidden;
}
.home-voyage::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--vc);
}
.home-voyage:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.home-voyage-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.home-voyage-head strong { font-family: 'Fraunces', serif; font-size: 1.15rem; }
.home-voyage-count { font-size: 12px; color: var(--ink-faint); margin-bottom: 10px; }
.home-voyage-line {
  font-size: 12px; color: var(--ink-dim); margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: 6px;
}
.home-voyage-line .trip-kind { font-size: 9px; padding: 2px 6px; }
.home-voyage-empty { font-size: 12px; color: var(--ink-faint); font-style: italic; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .cruise-top { grid-template-columns: 1fr; }
  .cruise-body { border-left: none; border-right: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .departure-row, .departures-head { grid-template-columns: 1fr 1fr 1fr; }
  .departures-head .h-cabin:nth-child(n+5) { display: none; }
  .hero { padding: 36px 28px; }
  .hero h1 { font-size: 2rem; }
}
