/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
  /* OKLCH Design System (DESIGN.md) */
  --bg:           oklch(0.96 0.02 70);
  --surface:      oklch(0.90 0.01 70);
  --ink:          oklch(0.15 0.02 290);
  --muted:        oklch(0.65 0.06 70);
  --primary:      oklch(0.65 0.15 290);
  --primary-light: oklch(0.92 0.04 250);
  --accent:       oklch(0.50 0.18 15);

  /* Legacy tokens (backwards compat during transition) */
  --bg-alt:       #f0ede8;
  --bg-dark:      #0f1c2e;
  --text:         #0f1c2e;
  --text-sec:     #5c6b7a;
  --text-inv:     #fafaf8;
  --accent-light: #deeaf8;
  --accent-dark:  #063566;
  --green:        #16a34a;
  --red-muted:    #c0392b;
  --border:       #d8d3cc;
  --border-light: #e8e3dc;
  --shadow-sm:    0 2px 12px rgba(15,28,46,.05);
  --shadow-md:    0 8px 32px rgba(15,28,46,.09);
  --shadow-lg:    0 20px 60px rgba(15,28,46,.13);
  --radius:       16px;
  --radius-sm:    10px;
  --nav-h:        52px;
  --max-w:        980px;
  --font:         'Outfit', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* ─── Flash suppression — hides marketing before JS runs when session exists ── */
html.has-session #marketing { display: none !important; }
html.has-session #appChrome { display: block !important; }

/* ─── App chrome offset — pushes content below fixed nav ─────────────────── */
#appChrome { padding-top: var(--nav-h); }

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, select, input { font-family: inherit; }

/* ─── Scroll reveal ──────────────────────────────────────────────── */
/* ponytail: js-loaded class guards — content stays visible without JS (crawlers, screenshots) */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.js-loaded .reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-loaded .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── NAV ────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
#nav.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--border-light);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.3px;
  color: var(--text);
  flex-shrink: 0;
}
.logo--footer span { color: var(--text-sec); }
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-sec);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
  border: none;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover { background: var(--accent-light); }

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { background: #218838; }

.btn-blue-light {
  background: #4a9fe3;
  color: #fff;
}
.btn-blue-light:hover { background: #2f87d0; }

.btn-nav {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  padding: 8px 16px;
  margin-left: auto;
}
.btn-nav:hover { background: var(--accent-dark); }

.btn-tool {
  font-size: 16px;
  padding: 14px 28px;
  margin-top: 16px;
}

/* ─── Shared section scaffolding ─────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + clamp(27px, 3.6vw, 45px));
  padding-bottom: clamp(30px, 4vw, 50px);
  background: linear-gradient(180deg, #eef4fc 0%, var(--bg) 65%);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  transition-delay: .05s;
}
.hero-headline {
  font-size: clamp(1.82rem, 4.55vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 24px;
  transition-delay: .1s;
}
.hero-headline em {
  color: var(--accent);
  font-style: normal;
  background: linear-gradient(135deg, #0066cc, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--text-sec);
  max-width: 860px;
  margin: 0 auto 32px;
  line-height: 1.6;
  transition-delay: .15s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  text-align: left;
}
.hero-sub p { margin: 0; }
.hero-sub-col { display: flex; flex-direction: column; gap: 16px; }
.hero-sub-alt {
  margin-top: 0 !important;
  padding-top: 0;
  padding-left: 40px;
  border-top: none;
  border-left: 1px solid rgba(0,0,0,.12);
  font-size: clamp(14px, 1.6vw, 17px);
}
@media (max-width: 600px) {
  .hero-sub { grid-template-columns: 1fr; text-align: center; }
  .hero-sub-alt { padding-left: 0; border-left: none; border-top: 1px solid rgba(0,0,0,.08); padding-top: 14px; margin-top: 14px !important; }
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  transition-delay: .2s;
}
.hero-ctas .btn-primary,
.hero-ctas .btn-ghost,
.hero-ctas .btn-blue-light {
  font-size: 16px;
  padding: 14px 28px;
  flex: 0 0 auto;
  width: 240px;
  text-align: center;
}

.step1-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  align-items: flex-start;
}
.step1-ctas .btn {
  width: 195px;
  text-align: center;
  justify-content: center;
}
.hero-legal {
  font-size: 13px;
  color: var(--text-sec);
  margin-bottom: clamp(48px, 6vw, 72px);
  transition-delay: .25s;
}

/* ─── Mockup card ────────────────────────────────────────────────── */
.hero-mockup {
  transition-delay: .3s;
}
.mockup-card {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 32px;
  text-align: left;
  min-width: 442px;
  max-width: 572px;
  width: 100%;
}
.mockup-port-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mockup-rows { display: flex; flex-direction: row; gap: 14px; margin-bottom: 14px; }
.mockup-row {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.mockup-row--cruise  { background: #fff5f5; }
.mockup-row--local   { background: #f0fdf4; }
.mockup-label  { font-size: 14px; color: var(--text-sec); }
.mockup-price  { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.mockup-price--high { color: var(--red-muted); }
.mockup-price--low  { color: var(--green); }
.mockup-price .per  { font-size: 13px; font-weight: 400; color: var(--text-sec); margin-left: 2px; }
.mockup-savings {
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 12px;
}
.savings-pill {
  display: block;
  font-size: 19.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}
.savings-group { font-size: 13px; color: var(--text-sec); }
.mockup-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-sec);
}
.stars { color: #f59e0b; letter-spacing: 1px; font-size: 14px; }

/* ─── STATS ──────────────────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: clamp(24px, 2vw, 32px) 0 clamp(40px, 4vw, 56px);
  background: var(--accent-light);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  min-width: 140px;
  text-align: center;
  transition-delay: calc(var(--i, 0) * .08s);
}
.stat-num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1.1;
}
.stat-plus { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-sec); margin-top: 4px; display: block; }
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
  flex-shrink: 0;
}
@media (max-width: 600px) { .stat-divider { display: none; } }

/* ─── FEATURES ───────────────────────────────────────────────────── */
.features {
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--bg-alt);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }
@media (min-width: 721px) and (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .25s, transform .25s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.55;
}
/* Stagger feature cards */
.feature-card:nth-child(1) { transition-delay: .05s; }
.feature-card:nth-child(2) { transition-delay: .10s; }
.feature-card:nth-child(3) { transition-delay: .15s; }
.feature-card:nth-child(4) { transition-delay: .20s; }
.feature-card:nth-child(5) { transition-delay: .25s; }
.feature-card:nth-child(6) { transition-delay: .30s; }

/* ─── HOW IT WORKS ───────────────────────────────────────────────── */
.how {
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--bg);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
@media (max-width: 680px) { .steps { flex-direction: column; } }
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.step:nth-child(1) { transition-delay: .05s; }
.step:nth-child(3) { transition-delay: .10s; }
.step:nth-child(5) { transition-delay: .15s; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.step-body h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.step-body p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.6;
}
.step3-thumb {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 11px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.step3-thumb--clickable {
  cursor: pointer;
  transition: box-shadow .15s, transform .15s;
}
.step3-thumb--clickable:hover {
  box-shadow: 0 6px 20px rgba(0,102,204,.18);
  transform: translateY(-2px);
}
.step3-thumb-header {
  background: #f0f6ff;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step3-thumb-title {
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
}
.step3-thumb-meta {
  color: var(--text-sec);
  font-size: 10px;
}
.step3-thumb-saving {
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
}
.step3-thumb-saving strong {
  color: #1a9e5f;
}
.step3-thumb-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.step3-thumb-row:last-child { border-bottom: none; }
.step3-thumb-day {
  font-weight: 700;
  color: var(--text);
  min-width: 32px;
  font-size: 10px;
}
.step3-thumb-exc {
  flex: 1;
  color: var(--text-sec);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.step3-thumb-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 99px;
  letter-spacing: .03em;
}
.step3-thumb-badge.local {
  background: #e6f9f0;
  color: #1a9e5f;
}

.step-connector {
  flex: 0 0 48px;
  height: 1.5px;
  background: var(--border);
  margin-top: 24px;
  align-self: flex-start;
}
@media (max-width: 680px) {
  .step-connector { width: 1.5px; height: 40px; margin: 0 0 0 24px; }
}

/* ─── REVIEWS ────────────────────────────────────────────────────── */
.reviews {
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .review-grid { grid-template-columns: 1fr; } }
@media (min-width: 721px) and (max-width: 900px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }

.review-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-card:nth-child(1) { transition-delay: .05s; }
.review-card:nth-child(2) { transition-delay: .10s; }
.review-card:nth-child(3) { transition-delay: .15s; }
.review-card p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}
.review-card p::before { content: '\201C'; }
.review-card p::after  { content: '\201D'; }
.review-card footer { display: flex; flex-direction: column; gap: 2px; }
.reviewer-name   { font-size: 14px; font-weight: 600; color: var(--text); }
.reviewer-detail { font-size: 13px; color: var(--text-sec); }

/* ─── CTA SECTION ────────────────────────────────────────────────── */
.cta-section {
  padding: clamp(80px, 10vw, 130px) 0;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 100%);
  color: var(--text);
}
.cta-inner { text-align: center; }
.cta-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: #0a3d62;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: clamp(17px, 2vw, 19px);
  color: #4a4a4f;
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.cta-legal {
  font-size: 13px;
  color: var(--text-sec);
  margin-top: 20px;
}

/* ─── Inline tool widget ─────────────────────────────────────────── */
.tool-widget {
  display: inline-flex;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid #c5dff8;
  box-shadow: 0 4px 24px rgba(0,102,204,.12);
  border-radius: 980px;
  padding: 10px 10px 10px 24px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 700px;
  width: 100%;
}
.tool-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 20px 0 0;
  min-width: 120px;
}
.tool-row label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}
.tool-row select,
.tool-row input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  max-width: 130px;
}
.tool-row input { cursor: text; }
.tool-row select option { background: #fff; color: var(--text); }
.tool-row select:disabled,
.tool-row input:disabled { color: var(--text-sec); cursor: not-allowed; }
.tool-divider {
  width: 1px;
  height: 36px;
  background: #c5dff8;
  margin-right: 20px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .tool-widget { flex-direction: column; border-radius: var(--radius); padding: 20px; align-items: stretch; }
  .tool-row { padding: 0; }
  .tool-row select, .tool-row input { max-width: 100%; width: 100%; }
  .tool-divider { width: 100%; height: 1px; margin: 12px 0; }
  .btn-tool { width: 100%; justify-content: center; margin-top: 4px; }
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
body > footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-alt);
  padding: clamp(28px, 4vw, 40px) 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-sec);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-sec);
}
@media (max-width: 600px) { .footer-copy { margin-left: 0; } }

/* ─── Roast redesign additions ───────────────────────────────────── */

/* Revenue disclosure — appears below "Always free" lines */
.revenue-disclosure {
  font-size: 13px;
  font-style: italic;
  color: var(--text-sec);
  text-align: center;
  margin-top: 8px;
}

/* Savings footnote inside mockup card */
.mockup-source {
  font-size: 11px;
  font-style: italic;
  color: var(--text-sec);
  margin-top: 8px;
}

/* Disabled-field helper label inside tool widget rows */
.field-hint {
  font-size: 11px;
  font-style: italic;
  color: #6e6e73;
  margin-top: 4px;
  overflow: hidden;
  max-height: 20px;
  opacity: 1;
  transition: opacity .2s, max-height .2s;
}
.field-hint.hidden {
  opacity: 0;
  max-height: 0;
}

/* Browse-by-port ghost link below tool widget */
.btn-browse-port {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}
.btn-browse-port:hover {
  text-decoration: underline;
}

/* Destination trip link below hero CTAs */
.hero-dest-link {
  margin-top: 12px;
  transition-delay: .28s;
}
.dest-link {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}
.dest-link:hover {
  text-decoration: underline;
}


/* ─── App design tokens (coexist with landing tokens above) ──────────── */
:root {
  --navy: #0a4d8c;
  --navy-light: #1a6fb5;
  --teal: #0a7d8c;
  --coral: #e85c4a;
  --green-app: #0a4d8c;
  --bg-app: #f0ede8;
  --bg-dark-app: #deeaf8;
  --card: #ffffff;
  --border-app: #d8d3cc;
  --text-app: #0f1c2e;
  --text-muted: #5c6b7a;
  --shadow-app: 0 2px 8px rgba(15,28,46,.07);
  --shadow-lg-app: 0 4px 20px rgba(15,28,46,.11);
  --radius-app: 12px;
  --radius-sm-app: 8px;
}

/* ── Progress / Status ────────────────────────────────────────────────── */
/* ── Budget Bar ───────────────────────────────────────────────────────── */
.budget-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  border-left: 4px solid var(--green);
  padding: 0 24px;
  display: none;
  position: sticky;
  top: var(--budget-top, 60px);
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.budget-details { flex: 1; max-width: 1200px; margin: 0 auto; }

/* Single row: ship info | divider | metrics | divider | guests | plans | view plan */
.budget-row1 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.budget-ship-block {
  display: flex; flex-direction: column; gap: 1px; flex-shrink: 0;
}
.budget-ship-name { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
.budget-ship-icon { flex-shrink: 0; color: var(--teal); }
.budget-ship-dates { font-size: 12px; color: var(--text-sec); }
.budget-row1-divider {
  width: 1px; align-self: stretch;
  background: var(--border);
  margin: 0 20px; flex-shrink: 0;
}
.budget-metrics {
  display: flex; align-items: center; gap: 6px;
}

/* Row 2: guests | plans | view plan */
.budget-row2 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.budget-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.budget-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  min-width: 0;
}
.budget-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.budget-label { font-size: 11px; text-transform: none; letter-spacing: 0; color: var(--text-sec); font-weight: 500; }
.budget-item--pill {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px 7px;
  gap: 3px;
}
.budget-item--pill .budget-label { font-size: 10px; letter-spacing: .07em; margin-bottom: 1px; }
.budget-item--pill select {
  border: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a4d68' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center / 12px 8px transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  padding: 0 18px 0 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.budget-item-with-details { display: flex; flex-direction: row; align-items: center; gap: 24px; min-width: 280px; }
.ship-info { display: flex; flex-direction: column; gap: 2px; max-width: 220px; }
.ship-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.ship-date-value { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.ship-rate-block { display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.travelers-input {
  width: 64px;
  padding: 4px 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
}
.travelers-input:focus { outline: none; border-color: var(--navy); }
.budget-value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.budget-value.cruise { color: var(--primary); }
.budget-value.local { color: var(--accent); }
.budget-value.savings { color: var(--accent); }
.budget-value.potential { color: var(--accent); }
.budget-sep { color: var(--border); font-size: 24px; align-self: center; }
.btn-show-plan {
  height: 36px;
  padding: 0 16px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.btn-show-plan:not(:disabled):hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-show-plan:disabled { opacity: .3; cursor: not-allowed; }
.plan-select {
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.plan-select:disabled { opacity: .4; cursor: not-allowed; }
.budget-item--pill .plan-select { height: auto; padding: 0 18px 0 0; border: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a4d68' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center / 12px 8px transparent; font-size: 15px; color: var(--navy); flex-shrink: 1; min-width: 0; appearance: none; -webkit-appearance: none; }
.btn-plan-view {
  display: none;
}
.btn-plan-view:disabled { opacity: .4; cursor: not-allowed; }
.btn-plan-view:not(:disabled):hover { background: var(--navy); border-color: var(--navy); }
.btn-save-plan {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  background: rgba(10,77,104,.08);
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-save-plan:not(:disabled):hover { background: rgba(10,77,104,.15); }
.btn-save-plan:disabled { opacity: .35; cursor: not-allowed; }
.budget-summary-col--pill .plan-select { height: auto; font-size: 14px; border-radius: 0; padding: 0; width: 100%; }
.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}
.btn-outline {
  background: white;
  color: var(--navy);
  border: 1.5px solid var(--border);
  font-weight: 600;
}
.btn-outline:hover { border-color: var(--navy); }

/* ── Port Tabs ────────────────────────────────────────────────────────── */
.tabs-container {
  background: #f4f6fb;
  border-bottom: 1px solid #e5e9f0;
  padding: 6px 24px;
  position: sticky;
  top: var(--tabs-top, 116px);
  z-index: 80;
  display: none;
}
.tabs-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; }
.tabs-ship-info { display: none; }

/* "Select Port" label — left of tabs on desktop */
.port-select-label {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap; flex-shrink: 0;
  padding-right: 12px;
  border-right: 1.5px solid var(--border);
  margin-right: 4px;
}
.tabs { flex: 1; display: flex; gap: 4px; overflow: visible; }
.tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: normal;
  text-align: left;
  border-bottom: none;
  border-radius: 10px;
  transition: all .15s;
}
.tab:hover { background: rgba(255,255,255,.5); }
.tab:hover .tab-name { color: var(--navy); }
.tab .tab-name { color: var(--text-muted); }
.tab.active { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1); border-bottom: 2px solid var(--accent); }
.tab.active .tab-name { color: var(--text); font-weight: 700; }
.tab-sub {
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  padding: 2px 8px;
}
.tab-sub.has-alts { background: #e8f5ee; color: #00924d; }
.tab-sub.no-alts  { background: #eef0f5; color: #8a96b0; }
.tab-date {
  font-size: 11px;
  color: var(--text-sec);
  font-weight: 400;
}
/* Lazy loading — tabs not yet fetched or in-flight */
.tab-loading-state { opacity: .7; }
.tab-loading { color: var(--text-muted); font-style: italic; }

/* Per-port loading spinner shown in the excursion list area */
.port-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  gap: 16px;
}
.port-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: port-spin 0.8s linear infinite;
}
@keyframes port-spin {
  to { transform: rotate(360deg); }
}
.port-loading-msg {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Main Content ─────────────────────────────────────────────────────── */
.main { max-width: 1200px; margin: 0 auto; padding: 8px 24px 24px; }

/* ── Port Header ──────────────────────────────────────────────────────── */
.port-header {
  margin-bottom: 20px;
  position: sticky;
  top: var(--port-header-top, 166px);
  z-index: 70;
  background: var(--accent-light);
  margin-top: -10px;
  /* full-bleed: escape the max-width container */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 var(--border-light);
}
.port-header-row1 {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0 0;
  flex-wrap: nowrap;
}
.port-dock {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}
.port-dock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.port-day-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.port-header-vdivider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  flex-shrink: 0;
  margin: 6px 0;
}
.port-header-row1 .exc-filter-bar--inline {
  margin-left: auto;
  flex-shrink: 0;
  padding: 8px 0 10px;
}
.btn-collapse-all {
  display: inline-flex; align-items: center; gap: 5px;
  background: white; border: 1px solid var(--border); border-radius: 8px;
  padding: 5px 11px; height: 36px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; flex-shrink: 0;
}
.btn-collapse-all:hover { border-color: var(--teal); color: var(--teal); }
.desktop-only { display: inline-flex; }
.port-title { font-size: 22px; font-weight: 700; color: var(--navy); }
.cruise-details {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.cruise-details-banner {
  max-width: 1200px;
  margin: 0 auto 10px;
  padding: 12px 20px;
  border: 1px solid rgba(10,77,104,.12);
  border-radius: 12px;
  background: #f5fcfb;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.sort-controls { display: none; }
.sort-label { font-size: 13px; color: var(--text-muted); }
.sort-btn {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  color: var(--text-muted);
}
.sort-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

/* ── Private Island Notice ─────────────────────────────────────────────── */
.private-island-notice {
  background: #fff8e1;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.private-island-notice .icon { font-size: 22px; flex-shrink: 0; }
.private-island-notice p { font-size: 14px; line-height: 1.6; color: #5a4000; }

/* ── Excursion Cards ──────────────────────────────────────────────────── */
.excursion-list { display: flex; flex-direction: column; gap: 16px; }

/* Local filter: hide cruise side, make local alternative full-width */
.excursion-list.filter-local .card-side.cruise {
  display: none;
}
.excursion-list.filter-local .card-grid {
  grid-template-columns: 1fr;
}

/* Cruise filter: hide local alternative side */
.excursion-list.filter-cruise .card-side.local {
  display: none;
}
.excursion-list.filter-cruise .card-grid {
  grid-template-columns: 1fr;
}

.excursion-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: box-shadow .2s;
}
.excursion-card:hover { box-shadow: var(--shadow-lg); }
.card-side.selected { background: #fff4f2; border-left: 3px solid var(--coral); }
@media (max-width: 700px) {
  .card-side.selected { border-left: none; border-top: none; background: transparent; }
  .card-side.selected .card-side-summary { background: #fff4f2; border-left: 3px solid var(--coral); }
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}
@media (max-width: 700px) { .card-grid { grid-template-columns: 1fr; } }

/* Mobile collapse defaults (overridden inside 700px media query) */
.card-side-summary { display: none; }
.card-side-details { display: block; }
.sort-select-wrap {
  display: flex;
  align-items: center;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0 12px 0 14px;
  height: 36px;
  gap: 6px;
  cursor: pointer;
}
.sort-select-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  pointer-events: none;
}
.sort-select {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.sort-select-wrap::after {
  content: '⌄';
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
  margin-left: 2px;
}
.port-select-wrap { display: none; }
.port-select-ddl { display: none; }

.card-side {
  padding: 20px;
  position: relative;
  /* Offset smooth-scroll target so it clears the sticky 60px header. */
  scroll-margin-top: 70px;
}
/* Thumbnail is absolutely positioned so the text column alone drives the height;
   the image then fills that height (top of name → rating), never taller. */
/* Floor the head height so the Overview/Details tabs start at the same y on the
   cruise and local sides (keeps the two tab bars top-aligned). */
.exc-card-info { display: none; }
.summary-check-label { display: none; align-items: center; cursor: pointer; margin-right: 4px; padding: 12px; margin: -12px; }
.summary-check-label input[type="checkbox"] { width: 17px; height: 17px; cursor: pointer; }
.exc-name-row { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.exc-name-row input[type="checkbox"] { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.exc-name-row .exc-name { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--text); }
.exc-card-info .exc-meta { margin-top: 6px; display: flex; align-items: center; gap: 10px; }
.exc-thumbnail {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(10,77,104,.18);
  margin-bottom: 14px;
}
.thumb-caption {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(10,77,104,.78);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  pointer-events: none;
}
.exc-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.exc-tab-action { margin-left: auto; padding-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.exc-tab-action .btn-book-lg { flex: 1; justify-content: center; margin-left: 0; }
.exc-cruise-link { font-size: 13px; font-weight: 600; color: var(--teal); text-decoration: none; white-space: nowrap; }
.exc-cruise-link:hover { text-decoration: underline; }
.exc-tab {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.exc-tab:hover { color: var(--navy); }
.exc-tab.active { color: var(--navy); border-bottom-color: var(--coral); }
.exc-tab-empty { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; }
.exc-overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
/* Details tab laid out in two columns; keep each section intact across the break. */
.exc-details-cols { column-count: 2; column-gap: 28px; }
.exc-details-cols .detail-section { break-inside: avoid; margin-bottom: 14px; }
@media (max-width: 560px) { .exc-details-cols { column-count: 1; } }
/* Collapse highlights to the first 3 with a Read more toggle. */
.exc-highlights[data-collapsed="true"] li:nth-child(n+4) { display: none; }
.exc-highlights.excluded li::before { content: '✕'; color: var(--text-muted); }
.btn-more {
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
/* ponytail: cruise=warm, local=green — encodes value signal without any labels */
.card-side.cruise { background: #fff8f7; }
.card-side + .card-side {
  border-left: 1.5px solid var(--border);
  background: #f0fdf4;
}
@media (max-width: 700px) {
  .card-side + .card-side { border-left: none; border-top: 1.5px solid var(--border); }

  /* Visual brace: left-side gradient bar connecting cruise (navy) to local (green) */
  .card-grid {
    position: relative;
    padding-left: 8px;
  }
  .card-grid::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--green);
    border-radius: 2px;
  }

  /* Collapsed card rows */
  .card-side { padding: 0; }
  .card-side-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
  }
  .card-side.expanded .card-side-summary { border-bottom: 1px solid var(--border); }
  .card-side-details { display: none; padding: 14px; }
  .card-side.expanded .card-side-details { display: block; }

  /* Type badges inside summary */
  .card-type-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 6px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .badge-cruise { background: var(--primary); color: white; }
  .badge-local  { background: var(--accent); color: white; }

  .card-side-summary-info { flex: 1; min-width: 0; }
  .card-side-summary-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
  }
  .card-side-summary-price {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
  }
  .card-side-summary-price .exc-savings {
    font-size: 12px;
    color: var(--green);
  }
  .card-side-chevron {
    color: var(--text-muted);
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.2s;
  }
  .card-side.expanded .card-side-chevron { transform: rotate(90deg); }
}

.side-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.side-label.cruise { color: var(--primary); }
.side-label.local { color: var(--accent); }
.side-label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cruise .side-label-dot { background: var(--primary); }
.local .side-label-dot { background: var(--accent); }
/* Phone-only jump link to the stacked local-alternative block (shown ≤700px). */
.see-local-link {
  display: none;
  margin-left: auto;
  font-size: 12px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--teal);
  text-decoration: underline;
  cursor: pointer;
}

.exc-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}
.exc-name-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 8px;
  cursor: pointer;
}
.exc-name-row .exc-name { margin-bottom: 0; }
.exc-select-check {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--teal);
  cursor: pointer;
}
.exc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
}
.exc-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.exc-price.free { color: var(--green); }
.price-unit { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.price-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.price-note-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.exc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.badge-activity { background: #e8edf3; color: #3a5470; }
.badge-duration { background: #f0f4f8; color: var(--text-muted); }
.badge-savings {
  background: #dcfce7;
  color: #14803a;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 12px;
  border: 1px solid #bbf7d0;
}
.badge-bestseller { background: #fff3e0; color: #e65100; }
.badge-sustainable { background: #e8f5e9; color: #2e7d32; }
.exc-savings {
  font-size: 14px;
  color: #14803a;
  font-weight: 700;
}
.exc-savings-hero {
  margin-bottom: 8px;
}
.exc-savings-hero .exc-savings {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.exc-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
}
.stars { color: var(--gold); letter-spacing: 1px; }
.rating-value { font-weight: 700; }
.rating-count { color: var(--text-muted); }
.exc-rating-source {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 2px;
}

/* ── Dock times ───────────────────────────────────────────────────────── */
.port-meta { font-size: 12px; color: var(--text-muted); }
.dock-badge {
  background: #eef2f7;
  border-radius: 8px;
  padding: 2px 8px;
  font-weight: 600;
  color: var(--navy);
  font-size: 12px;
}

/* ── Price filter ─────────────────────────────────────────────────────── */
.price-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.filter-label { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.price-slider {
  -webkit-appearance: none;
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
}
.price-filter-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  min-width: 36px;
}

/* Budget Summary (collapsed on mobile) */
.budget-summary {
  display: none;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
}
.budget-summary-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 80px;
}
.budget-summary-col:nth-child(2) { flex: 0 0 auto; min-width: 0; }
.budget-summary-col:nth-child(3) { flex: 2; }
.budget-summary-col--pill {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 10px 6px;
  gap: 2px;
}
.budget-summary-col--guests {
  align-items: center;
}
.budget-summary-col--guests .guests-select {
  appearance: auto;
  -webkit-appearance: auto;
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  text-align-last: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  width: 100%;
  cursor: pointer;
}
.budget-summary-col--pill .budget-summary-label { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.budget-summary-col--pill select {
  border: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a4d68' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center / 12px 8px transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 0 18px 0 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}
.budget-summary-col--pill select:disabled { opacity: .4; cursor: not-allowed; }
.budget-summary-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.budget-summary-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--teal);
}
.budget-item--pill .guests-select-budget {
  text-align: center;
  padding-left: 0;
}
.budget-item--pill { white-space: nowrap; min-width: 90px; min-height: 48px; justify-content: center; }
.guests-select {
  height: 28px;
  padding: 0 4px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: white;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.guests-select-desktop {
  height: 32px;
  padding: 0 8px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.ship-guests-select {
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.guests-select-budget {
  height: auto;
  padding: 0 18px 0 0;
  border: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a4d68' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center / 12px 8px transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
  text-align-last: center;
  width: 100%;
}
.budget-summary-toggle {
  display: none;
}

/* Budget Details (always visible on desktop, collapsible on mobile) */
.budget-details {
  max-height: 1000px;
  overflow: visible;
}
.budget-details.collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.exc-description {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.exc-description.expanded { display: block; -webkit-line-clamp: unset; }

.exc-highlights {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.exc-highlights li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}
.exc-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.exc-no-alternative {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  padding: 20px 0;
}

/* ── More options (additional alternatives sorted by price) ─────────────── */
.more-options {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.more-options-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.more-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.more-option-row:last-child { border-bottom: none; }
.more-option-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
}
.more-option-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}
.more-option-link {
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  margin-left: 6px;
}
.more-option-link:first-of-type { margin-left: 0; }
.more-option-link:hover { text-decoration: underline; }

/* ── Web search results (lazy-loaded for unmatched excursions) ─────────── */
.web-search-section {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.web-search-searching {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}
.web-search-searching::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  border: 2px solid var(--text-muted);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.web-results-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.web-result-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.web-result-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.web-result-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: block;
  line-height: 1.3;
}
.web-result-title:hover { text-decoration: underline; }
.web-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.web-result-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
}
.web-result-domain {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--surface);
  padding: 1px 6px;
  border-radius: 10px;
}
.web-result-snippet {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

/* ── Selected excursions panel (per port) ─────────────────────────────── */
.selected-panel {
  background: var(--green-light);
  border: 1px solid #c5e1c8;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.selected-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.selected-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.selected-panel-subtotal {
  font-size: 13px;
  color: var(--text-muted);
}
.selected-panel-subtotal strong { color: var(--green); font-size: 15px; }
.selected-list { display: flex; flex-direction: column; gap: 8px; }
.selected-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.selected-item-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.selected-item-tag.cruise { background: #e6eef7; color: var(--primary); }
.selected-item-tag.local  { background: var(--green-light); color: var(--accent); }
.selected-item-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.selected-item-price { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; }
.selected-item-price.free { color: var(--green); }
.selected-item-remove {
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
}
.selected-item-remove:hover { color: var(--coral); background: #f6e3da; }
.selected-panel-empty { font-size: 13px; color: var(--text-muted); font-style: italic; }

.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  flex-wrap: wrap;
}
.btn-select {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
}
.btn-select:hover { border-color: var(--navy); color: var(--navy); }
.btn-select.selected-cruise { background: var(--navy); color: white; border-color: var(--navy); }
.btn-book {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
}
.btn-book:hover { background: var(--accent-dark); }
/* Emphasized Book button that rides on the right of the tab bar. */
.btn-book-lg {
  padding: 11px 26px;
  font-size: 15px;
  font-weight: 700;
  background: var(--green);
  box-shadow: 0 4px 14px rgba(22,163,74,.28);
  letter-spacing: .01em;
}
.btn-book-lg:hover { background: #14803a; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(22,163,74,.38); }
.btn-book-gyg { background: var(--accent); }
/* Lever 7: "Plan" micro-label below cruise-side row checkbox */
.row-label.cruise-row-label .row-check-label,
.row-label.local-row-label .row-check-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.row-label.cruise-row-label .row-check-label::after,
.row-label.local-row-label .row-check-label::after {
  content: 'Plan';
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1;
}

.local-book-action {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #bbf7d0;
}
.local-book-action .btn-book-lg,
.local-book-action .badge-self-guided {
  width: 100%;
  justify-content: center;
  text-align: center;
  display: flex;
}
.dest-alt-card { margin-bottom: 12px; }
.dest-alt-card .exc-card-inner { display: flex; gap: 0; }
.dest-alt-card .exc-side--local { flex: 1; padding: 20px 24px; }
.dest-alt-card .exc-img-col { width: 140px; flex-shrink: 0; }
.dest-alt-card .exc-img-col img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 var(--radius) var(--radius) 0; }
.exc-book-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.btn-book--local { background: #1a9e5f; }
.btn-book--local:hover { background: #148050; }
.btn-book--viator { background: #1060a0; }
.btn-book--viator:hover { background: #0a4a80; }
.btn-book--gyg { background: #e8480c; }
.btn-book--gyg:hover { background: #c73c09; }
.btn-viator-search {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all .15s;
}
.btn-viator-search:hover { background: var(--teal); color: white; }
.exc-description-wrap {
  position: relative;
  margin-bottom: 12px;
}
.exc-description {
  position: relative;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  padding-right: 90px;
}
.exc-description::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: linear-gradient(transparent, rgba(255,255,255,0.96));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}
.exc-description.truncated::after {
  opacity: 1;
  visibility: visible;
}
.exc-description.expanded::after {
  opacity: 0;
  visibility: hidden;
}
.exc-description-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}
.exc-description.expanded .exc-description-text {
  -webkit-line-clamp: unset;
}
.btn-expand {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: var(--surface, white);
  border: none;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  white-space: nowrap;
}

.exc-summary-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.exc-restrictions-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--coral);
  cursor: default;
  user-select: none;
}
.exc-restrictions-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  min-width: 220px;
  max-width: 300px;
  box-shadow: var(--shadow-lg);
  z-index: 20;
  font-weight: 400;
  color: var(--text-muted);
}
.exc-restrictions-badge:hover .exc-restrictions-tooltip { display: block; }
.exc-restrictions-tooltip ul { list-style: none; margin: 0; padding: 0; }
.exc-restrictions-tooltip li {
  font-size: 12px;
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}
.exc-restrictions-tooltip li:last-child { margin-bottom: 0; }
.exc-restrictions-tooltip li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
}

.selected-summary-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

/* ── Savings Divider ──────────────────────────────────────────────────── */
.card-row-header {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: #f5fcfb;
  padding: 12px 20px;
  align-items: start;
  cursor: pointer;
  user-select: none;
}
.card-row-actions {
  display: flex; align-items: center; gap: 4px;
  align-self: center; flex-shrink: 0;
}
.card-row-chevron {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: transform .2s;
  padding: 4px;
}
.excursion-card.collapsed .card-row-chevron { transform: rotate(-90deg); }
.btn-fav-row {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: 6px;
  padding: 4px; cursor: pointer; color: var(--text-muted);
  transition: color .15s, background .15s;
  flex-shrink: 0;
}
.btn-fav-row:hover { color: #e05a7a; background: #fff0f3; }
.btn-fav-row.active { color: #e05a7a; }

/* ── Plan custom dropdown ───────────────────────────────────────────────── */
.plan-custom-ddl { position: relative; flex: 1; min-width: 0; }
.plan-ddl-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; padding: 0; width: 100%;
  color: var(--navy); font-size: 15px; font-weight: 700;
}
.plan-ddl-btn:disabled { opacity: .4; cursor: not-allowed; }
.plan-ddl-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.plan-ddl-panel {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 200px; background: white;
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.14);
  z-index: 300; overflow: hidden;
}
.plan-ddl-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; cursor: pointer;
  font-size: 14px; color: var(--text);
  transition: background .1s;
}
.plan-ddl-item:hover { background: var(--bg); }
.plan-ddl-item.active { color: var(--teal); font-weight: 600; }
.plan-ddl-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-plan-ddl-delete {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; flex-shrink: 0;
  color: var(--text-muted); padding: 2px 4px; border-radius: 4px;
  transition: color .12s, background .12s;
}
.btn-plan-ddl-delete:hover { color: #c0392b; background: #fff0ef; }
/* Mobile plan ddl: smaller font to fit the pill */
.budget-summary-col--plans .plan-ddl-btn { font-size: 14px; }
.budget-summary-col--plans .plan-custom-ddl { min-width: 0; width: 100%; }
.budget-summary-col--plans .plan-ddl-panel { min-width: 180px; }
.excursion-card.collapsed .card-grid { display: none; }
.row-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.row-label.cruise-row-label {
  color: var(--navy);
  display: flex;
  align-items: start;
  gap: 8px;
}
.row-check-label { display: flex; align-items: center; cursor: pointer; padding: 12px; margin: -12px; flex-shrink: 0; }
.row-check-label input[type="checkbox"] { width: 17px; height: 17px; cursor: pointer; }
.row-label-body { min-width: 0; }
.row-label-top { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.rh-savings-badge { font-size: 12px; font-weight: 700; color: #14803a; background: #dcfce7; padding: 2px 8px; border-radius: 12px; white-space: nowrap; }
.row-label-name-price { display: flex; align-items: baseline; gap: 10px; margin-top: 5px; flex-wrap: wrap; }
.row-label-name-rating { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.row-label-name { font-size: 14px; font-weight: 600; color: var(--text); text-transform: none; letter-spacing: 0; line-height: 1.3; }
.row-label-price { font-size: 13px; font-weight: 600; color: var(--navy); text-transform: none; letter-spacing: 0; margin-top: 3px; }
.rh-rating { font-size: 12px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.rh-book-action { display: flex; align-items: center; margin-left: auto; flex-shrink: 0; gap: 6px; }
.rh-book-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  background: var(--accent);
  color: #fff;
  transition: opacity .15s;
}
.rh-book-pill:hover { opacity: .82; }
.badge-self-guided {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1.5px solid var(--text-sec);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-sec);
  background: transparent;
  white-space: nowrap;
}
.badge-self-guided--sm { font-size: 9px; padding: 2px 6px; }
.exc-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 20px;
}
.exc-num-mobile { display: none; }
.row-label.local-row-label {
  color: var(--green);
  display: flex;
  align-items: start;
  gap: 8px;
}
.card-side-savings-hero {
  display: block;
  margin-bottom: 2px;
}
.card-side-savings-hero .exc-savings {
  font-size: 15px;
  font-weight: 800;
  color: #14803a;
}
.row-local-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--green);
}
.row-local-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
}
.savings-banner {
  background: linear-gradient(90deg, var(--green-light), #f0fdf4);
  border-top: 1px solid #c5e1c8;
  border-bottom: 1px solid #c8e6c9;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.savings-amount { font-size: 16px; font-weight: 800; color: var(--green); }

/* ── Empty State ──────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 8px 24px 0;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 56px; margin-bottom: 16px; }
.empty-state h2 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 15px; max-width: 400px; margin: 0 auto; line-height: 1.6; }

/* ── Why section ─────────────────────────────────────────────────────── */
.home-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px 80px;
}
.home-search-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 0 16px;
  text-align: center;
}
.home-search-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
.home-search-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--text);
  margin: 0;
  line-height: 1.1;
}
.home-search-sub {
  font-size: 17px;
  color: var(--text-sec);
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

/* ── Port hero ────────────────────────────────────────────────────────── */
.port-hero {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10,77,104,.22);
}
.port-hero__img {
  display: block;
  width: 100%;
  height: clamp(174px, 23.7vw, 250px);
  object-fit: cover;
}
.port-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 32px;
  color: #fff;
  background: linear-gradient(180deg, rgba(10,77,104,.25), rgba(10,77,104,.68));
}
.port-hero__headline {
  font-size: clamp(14px, calc(6px + 2.2vw), 27px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 640px;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.port-hero__sub {
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 500;
  line-height: 1.5;
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}
.port-hero__badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}

/* ── Error State ──────────────────────────────────────────────────────── */
.error-banner {
  background: #fdecea;
  border: 1.5px solid #f5c6c2;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px;
  color: #c62828;
  font-size: 14px;
  display: none;
}

/* ── Modal for save/load ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.modal h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.modal input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  margin-bottom: 12px;
}
.modal input:focus { border-color: var(--navy); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.saved-list { list-style: none; margin-bottom: 16px; }
.saved-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.saved-item:last-child { border-bottom: none; }
.saved-item-name { font-weight: 600; }
.saved-item-meta { color: var(--text-muted); font-size: 12px; }
.btn-load-item {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--navy);
  background: white;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-delete-item {
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
}

/* ── Social proof ticker ─────────────────────────────────────────────── */
.savings-ticker {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 12px 19px;
  max-width: 672px;
  width: 100%;
  margin-top: 4px;
}
.ticker-label {
  font-size: clamp(10px, calc(7px + 0.8vw), 13px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-text {
  font-size: clamp(13px, calc(8px + 1.4vw), 19px);
  color: white;
  transition: opacity .35s ease;
  line-height: 1.5;
}
.ticker-text strong { color: #7effc5; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

/* ═══ Responsive (phone + tablet) ═════════════════════════════════════════ */
/* Defaults: the header overflow menu is desktop-hidden; plan actions sit inline
   in the form row; per-side card labels are hidden (desktop uses .card-row-header). */
.nav-menu-wrap { position: relative; }
#navMenuBtn {
  display: block;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .15s;
}
#navMenuBtn:hover { background: rgba(255,255,255,.12); }
#navDropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(10,77,104,.18);
  z-index: 200;
  overflow: hidden;
}
#navDropdown.open { display: block; }
.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .12s;
}
.nav-drop-item:hover:not(:disabled) { background: #f0f8ff; }
.nav-drop-item:disabled { opacity: .4; cursor: not-allowed; }
.nav-drop-item + .nav-drop-item { border-top: 1px solid var(--border); }
.recent-item:hover { background: #f5fcfb; }
.recent-item-arrow { color: var(--text-muted); font-size: 16px; flex-shrink: 0; margin-left: 8px; }
#planActions { display: flex; gap: 8px; align-items: center; }
.side-label { display: none; }

/* ── Tablet (≤1024px) ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* The absolutely-centered tagline collides with the logo/actions — drop it. */
  .header-tagline { display: none; }
  /* Let the single-row form wrap instead of overflowing. */
  .cruise-form-row { flex-wrap: wrap; }
  /* Keep budget bar and tabs sticky; JS sets exact top values via --budget-top / --tabs-top. */
  .budget-bar { top: var(--budget-top, 60px); }
  .tabs-container { top: var(--tabs-top, 116px); }
}

/* ── Stacked comparison labels (≤700px, matches the card-grid collapse) ─── */
@media (max-width: 700px) {
  .card-row-header { display: none; }
  /* Collapse is desktop-only — always show card content on mobile */
  .excursion-card.collapsed .card-grid { display: grid; }
  .side-label { display: flex; }
  .see-local-link { display: inline-flex; }
  .exc-num { display: none; }
  .exc-num-mobile { display: inline-block; width: 20px; font-size: 12px; font-weight: 700; color: var(--text-muted); flex-shrink: 0; }
  .card-type-badge { background: none; padding: 0; border-radius: 0; }
  .badge-cruise, .badge-local { background: none; color: inherit; }
  .badge-icon { font-size: 16px; }
  .badge-text { display: none; }
}

/* ── Excursion filter bar (desktop + mobile) ─────────────────────────── */
.exc-filter-bar {
  display: none;
}
.exc-filter-bar--inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 12px;
}

.exc-filter-group {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: white;
  flex-shrink: 0;
}

.exc-filter-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 0 12px;
  height: 36px;
  cursor: pointer;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}

.exc-filter-btn:last-child {
  border-right: none;
}

.exc-filter-btn.active {
  background: var(--navy);
  color: white;
}

.exc-filter-btn:not(.active):hover {
  background: var(--bg);
  color: var(--text);
}

.sort-select-wrap--mobile {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  padding: 0 10px 0 12px;
  height: 36px;
  flex: 1;
}

/* ── Filter dropdown ─────────────────────────────────────────────────────── */
.filter-dropdown-wrap { position: relative; flex: 1; }
.filter-dropdown-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%;
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: 7px 13px; height: 36px;
  font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.06);
  white-space: nowrap;
}
.filter-dropdown-btn.has-filter { border-color: var(--teal); color: var(--teal); }
.filter-active-label { font-size: 12px; color: #005f8e; }
.filter-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: white; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.12);
  min-width: 160px; overflow: hidden; z-index: 200;
}
.filter-dropdown-menu.open { display: block; }
.fdrop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; font-size: 14px; font-weight: 500; color: var(--text);
  cursor: pointer; transition: background .1s;
  border-bottom: 1px solid #f2f2f2;
}
.fdrop-item:last-child { border-bottom: none; }
.fdrop-item:hover { background: var(--bg); }
.fdrop-item.active { color: var(--teal); font-weight: 700; }
.fdrop-check { width: 18px; font-size: 14px; color: var(--teal); flex-shrink: 0; }

/* ── Heart / Favorites ───────────────────────────────────────────────────── */
.heart-btn {
  background: none; border: none; cursor: pointer;
  font-size: 18px; color: #ccc; line-height: 1;
  padding: 2px 4px; flex-shrink: 0;
  transition: color .15s, transform .15s;
}
.heart-btn.active { color: #e84c6c; }
.heart-btn:active { transform: scale(1.3); }

/* ── Phone (≤600px) ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  header { padding: 0 14px; }
  .header-inner { gap: 8px; }
  .logo-tag { display: block; }
  .header-savings { display: none; }

  /* Cruise selector: single row on mobile, compact sizing */
  .hero { position: relative; padding: var(--nav-h) 12px 10px 12px; }

  /* Mockup card: responsive on narrow screens */
  .mockup-card { min-width: auto; }
  .cruise-form-row { gap: 0; }
  .booking-bar { border-radius: 12px; }
  .booking-section { padding: 7px 8px; }
  .booking-section-line  { flex: 1.1; }
  .booking-section-ship  { flex: 1.5; }
  .booking-section-date  { flex: 1; }
  .booking-label { font-size: 9px; letter-spacing: .04em; margin-bottom: 2px; }
  .booking-section select,
  .booking-section input[type="date"] { font-size: 11px; }
  .booking-section-line::after,
  .booking-section-ship::after { font-size: 14px; right: 6px; }
  .btn-find {
    border-radius: 0 12px 12px 0 !important;
    width: 44px !important;
    height: auto !important;
    padding: 0 !important;
    align-self: stretch;
  }
  /* Budget bar: slim row — Guests + Plan only */
  .budget-bar { padding: 0; }
  .budget-sep { display: none; }

  /* Hide the cost metrics entirely on mobile */
  .budget-details { display: none !important; }

  /* Show the summary as a block containing 2 rows */
  .budget-summary {
    display: block;
    padding: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
  }

  /* Plan pill: stretch to fill remaining width */
  .budget-summary-col--plans { flex: 1; }
  .btn-plan-view-mobile { display: none; }

  /* Port tabs: tabs hidden on mobile; desktop "Select Port" label hidden too */
  .tabs-container { padding: 0 14px; }
  .tabs-ship-info { display: none; }
  .tabs { display: none; }
  .port-select-label {
    border-right: none;
    padding-right: 0;
    margin-right: 8px;
    font-size: 11px;
    flex-shrink: 0;
  }
  .port-select-wrap {
    display: flex;
    align-items: center;
    flex: 1;
  }
  .port-select-ddl {
    display: block;
    flex: 1;
    height: 44px;
    padding: 0 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
  }

  /* Hide selections panel — budget summary covers savings context */
  .selected-panel { display: none; }

  /* Tighter page padding. */
  .main { padding: 8px 14px 16px; }
  /* port-header full-bleed padding auto-corrects via calc(50vw - 50%) in base rule */
  .home-layout { padding: 0 14px; gap: 24px; }
  .port-hero__overlay { padding: 18px; gap: 12px; }
  .modal { padding: 20px; }

  /* Hero ticker on phone: stack label above text, full-width readable, no clipping. */
  .port-hero__img { height: auto; min-height: 288px; }
  .port-hero__headline { line-height: 1.2; }
  .savings-ticker {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 10px 12px;
    width: auto;
    max-width: 100%;
  }
  .ticker-text { line-height: 1.4; }

  /* Card: thumbnail rides on top at full width instead of eating 50%. */
  .exc-thumbnail { height: 160px; }
  .summary-check-label { display: flex; }

  /* Comfortable touch targets. */
  .exc-tab, .sort-btn, .btn-select, .btn-viator-search { min-height: 40px; }
  .exc-tab-action .btn-book { min-height: unset; }

  /* Prevent expanded card details from overflowing the viewport. */
  .card-side { overflow: hidden; box-sizing: border-box; }
  .card-side-details { overflow: hidden; box-sizing: border-box; max-width: 100%; }

  /* Move the Book button below the Overview/Details tabs so the tab row
     doesn't overflow on narrow screens. */
  .exc-tabs { flex-wrap: wrap; }
  .exc-tab-action {
    width: 100%;
    margin-left: 0;
    padding: 8px 0 4px;
    display: flex;
    gap: 8px;
  }
  .exc-tab-action .btn-book {
    flex: 1;
    justify-content: center;
    padding: 9px 12px;
    font-size: 13px;
    margin-left: 0;
  }

  /* Ensure long words / URLs don't push content wider than the card. */
  .card-side-details * { max-width: 100%; word-break: break-word; }

  /* Side labels become pill badges on phone */
  .side-label {
    display: inline-flex;
    padding: 3px 9px 3px 6px;
    border-radius: 12px;
    font-size: 10px;
    margin-bottom: 10px;
  }
  .side-label.cruise {
    background: rgba(10, 77, 104, 0.08);
    border: 1px solid var(--navy);
  }
  .side-label.local {
    background: var(--green-light);
    border: 1px solid var(--green);
  }

  /* Port header: reduce title size slightly, tighten meta */
  .port-title { font-size: 18px; }
  .port-meta { font-size: 12px; }
  .dock-badge { font-size: 11px; padding: 2px 6px; }
  /* On mobile, filter+sort wraps to its own row */
  .port-header-row1 { flex-wrap: wrap; }
  .port-header-row1 .exc-filter-bar--inline { margin-left: 0; flex-basis: 100%; padding: 8px 0 10px; }
  .port-header-vdivider { display: none; }
  .desktop-only { display: none !important; }

  /* Sort: replace buttons with a labeled native dropdown */
  .sort-select-wrap {
    border-radius: var(--radius-sm);
    background: white;
    padding: 0 12px 0 14px;
    height: 44px;
  }
  .sort-select-label {
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .sort-select {
    display: block;
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    padding: 0;
  }

  /* Budget summary pill button styling */
  .budget-summary .btn-show-plan {
    height: 28px;
    padding: 0 10px;
    font-size: 11px;
    border-radius: 6px;
  }

  .sort-controls { display: none; }
}

/* ── Plan View Overlay ────────────────────────────────────────────────── */
.plan-overlay {
  position: fixed;
  inset: 0;
  background: #f8f9fa;
  z-index: 500;
  overflow-y: auto;
  display: none;
}
.plan-overlay.open { display: block; }

.plan-top-bar {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.plan-top-bar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.plan-top-bar-actions { display: flex; gap: 8px; }

.plan-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 28px 80px;
  background: white;
  min-height: 100vh;
}

.plan-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 6px;
}
.plan-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.plan-info-box {
  background: linear-gradient(135deg, #e6f4f9 0%, #edf8ee 100%);
  border: 1px solid #bcdce8;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 18px 24px;
  justify-content: start;
}
.plan-info-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.plan-info-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--teal);
}

.plan-name-value {
  font-size: 22px;
  color: var(--navy) !important;
}

.plan-cost-trio {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.plan-cost-trio-item { display: flex; flex-direction: column; gap: 4px; }
.plan-cost-trio-item .plan-info-label {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.plan-cost-arrow { font-size: 20px; color: var(--border); padding-bottom: 6px; }
.plan-cost-local { color: var(--green) !important; }
.plan-cost-savings { color: var(--coral) !important; }
.plan-info-value--savings { font-weight: 800 !important; color: var(--green) !important; }
.plan-info-value--cruise { color: #111 !important; }

.plan-days { display: flex; flex-direction: column; }

.plan-day {
  display: grid;
  grid-template-columns: 148px 3px 1fr 200px;
  gap: 0;
  padding: 28px 0;
  border-bottom: 2px solid var(--border);
  align-items: stretch;
}
.plan-day:last-child { border-bottom: none; }

.plan-day-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
  padding-right: 10px;
}
.plan-day-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.plan-day-date {
  font-size: 14px;
  color: var(--text-muted);
  margin: 4px 0 8px;
}
.plan-day-port {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.plan-timeline-line {
  background: var(--teal);
  border-radius: 2px;
  width: 3px;
  align-self: stretch;
}

.plan-exc-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0 4px 20px;
}
.plan-exc-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.plan-exc-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.plan-exc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 8px;
  margin-bottom: 0;
  width: fit-content;
  white-space: nowrap;
}
.plan-exc-badge.local {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid var(--green);
}
.plan-exc-num {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 600;
}
.plan-day-savings {
  display: none;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.plan-exc-badge.cruise {
  background: #fef0ed;
  color: var(--coral);
  border: 1px solid var(--coral);
}
.plan-exc-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.plan-exc-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 4px 24px;
  justify-content: start;
}
.plan-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan-meta-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.plan-meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.plan-meta-guests {
  display: inline;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 5px;
}

.plan-exc-img {
  background: #e2e2e2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #777;
  font-weight: 600;
  overflow: hidden;
  align-self: center;
  height: 140px;
  text-align: center;
  padding: 8px;
  margin-left: 16px;
}
.plan-exc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.plan-thumb {
  cursor: zoom-in;
  transition: opacity .15s;
}
.plan-thumb:hover { opacity: .85; }

/* ── Image lightbox ──────────────────────────────────────────────────── */
#imgLightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#imgLightbox.open { display: flex; }
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
}
.lb-box {
  position: relative;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.lb-img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close:hover { background: rgba(0,0,0,.8); }

@media (max-width: 700px) {
  .plan-container { padding: 24px 16px 60px; }
  .plan-title { font-size: 26px; }
  .plan-info-box { grid-template-columns: auto auto auto; gap: 10px 8px; padding: 12px 14px; margin-bottom: 20px; justify-content: start; width: fit-content; min-width: 100%; box-sizing: border-box; }
  .plan-exc-badge { white-space: normal; }
  .plan-info-plan-name { grid-column: auto; }
  .plan-info-label { font-size: 9px; margin-bottom: 2px; }
  .plan-info-value { font-size: 13px; }
  .plan-day {
    grid-template-columns: 110px 3px 1fr;
  }
  .plan-exc-img { display: none; }
  .plan-day-number { font-size: 22px; }
  .plan-exc-name { font-size: 16px; }
  .plan-exc-meta { grid-template-columns: repeat(2, auto); gap: 8px 20px; grid-auto-flow: row dense; }
  .plan-meta-item--timing { grid-column: 1 / 2; }
  .plan-meta-item--detail { grid-column: 2 / 3; }
  .plan-day-savings { display: block; }
}

@media print {
  .plan-top-bar { display: none !important; }
  .plan-overlay { position: absolute; overflow: visible; background: white; }
  .plan-container { padding-top: 16px; min-height: 0; }
}

/* ─── App nav actions (shown during app mode) ─────────────────────── */
#appNavActions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn-nav-action {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-nav-action:hover:not(:disabled) { background: var(--accent-light); }
.btn-nav-action:disabled { opacity: .45; cursor: not-allowed; }

/* Ensure [hidden] attribute always wins over display declarations */
[hidden] { display: none !important; }

/* ── Apple Design Polish ─────────────────────────────────────────────────── */

/* Fix undefined tokens used throughout the results UI */
:root {
  --shadow:      0 1px 4px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.03);
  --gold:        #f5a623;
  --green-light: rgba(40,167,69,.08);
  --primary:     var(--teal);
}

/* Cards — defined shadow, 1px border, subtle hover lift */
.excursion-card {
  border-width: 1px;
  border-color: rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  transition: box-shadow .28s cubic-bezier(.16,1,.3,1),
              transform  .28s cubic-bezier(.16,1,.3,1);
}
.excursion-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.10), 0 0 0 1px rgba(0,0,0,.05);
  transform: translateY(-2px);
}

/* Card sides — a touch more breathing room */
.card-side          { padding: 22px 24px; }
.card-side + .card-side { border-left-color: rgba(0,0,0,.06); }

/* Side labels (⚓ CRUISE LINE / 🌴 LOCAL) — refined editorial small-caps */
.side-label {
  font-size: 9px;
  letter-spacing: 1.3px;
  margin-bottom: 12px;
  opacity: .78;
}

/* Excursion name — tighter tracking, confident weight */
.exc-name, .exc-name-row .exc-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.18px;
  line-height: 1.35;
  color: var(--text);
}

/* Price — Apple's calm-but-confident number */
.exc-price {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.5px;
}

/* Savings inline text — blue pill */
.exc-savings {
  display: inline-block;
  background: rgba(0,102,204,.1);
  color: var(--accent);
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

/* Savings badge in meta row */
.badge-savings {
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0,102,204,.09);
  color: var(--accent);
}

/* Port tabs — clean underline only, no fill on active */
.tab.active {
  background: transparent;
  border-radius: 0;
}

/* Port header — light background, correct text colors */
.dock-badge {
  background: white;
  color: var(--text);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
}

.port-day-label { color: var(--text); }
.port-meta      { color: var(--text-sec); }
.exc-count      { color: var(--text-sec); font-size: 12px; }

/* Budget bar — correct colors on white background */
.budget-bar .budget-label  { color: var(--text-sec); letter-spacing: .7px; }
.budget-value              { letter-spacing: -.4px; }
.budget-value.cruise       { color: var(--text); }

/* ── Filter / Sort / Expand All — uniform 36px pill buttons ─────────────── */
.exc-filter-group {
  border-radius: 20px;
  height: 36px;
  border-color: rgba(0,0,0,.1);
}
.exc-filter-btn {
  height: 36px;
  font-size: 13px;
  font-weight: 500;
  padding: 0 14px;
}
.exc-filter-btn.active {
  background: var(--text);
  color: white;
  font-weight: 600;
}
.sort-select-wrap {
  border-radius: 20px;
  border-color: rgba(0,0,0,.1);
  height: 36px;
  transition: border-color .2s, box-shadow .2s;
}
.sort-select-wrap:hover {
  border-color: rgba(0,0,0,.2);
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.btn-collapse-all {
  border-radius: 20px;
  height: 36px;
  border-color: rgba(0,0,0,.1);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 0 14px;
}

/* Rating stars — slightly warmer gold */
.stars { color: #f5a623; }

/* "Tap to load" sub-label on lazy tabs */
.tab-loading { font-style: normal; font-size: 10px; letter-spacing: .3px; }

/* ── Demo Plan Modal (How It Works step 3 thumbnail) ─────────────────── */
#demoPlanModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
#demoPlanModal.open { display: flex; }
.demo-plan-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(3px);
}
.demo-plan-card {
  position: relative;
  background: #f8f9fa;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  width: min(680px, 92vw);
  max-height: 82vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.demo-plan-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  border-radius: 16px 16px 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.demo-plan-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.demo-plan-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-muted);
}
.demo-plan-close:hover { background: var(--bg-alt); }
.demo-plan-summary {
  display: flex;
  gap: 24px;
  padding: 14px 20px;
  background: #eaf4e8;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.demo-plan-sum-val { font-size: 15px; font-weight: 700; margin-top: 2px; }
.demo-plan-sum-val.teal { color: var(--teal); }
.demo-plan-sum-val.green { color: var(--green); }
.demo-plan-rows { padding: 12px 0; }
.demo-plan-row {
  display: grid;
  grid-template-columns: 90px 1fr 80px;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
}
.demo-plan-row:last-child { border-bottom: none; }
.demo-plan-daynum { font-size: 18px; font-weight: 800; }
.demo-plan-daydate { font-size: 11px; color: var(--text-muted); }
.demo-plan-port { font-size: 12px; color: var(--text-muted); margin: 2px 0 4px; }
.demo-plan-name { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.demo-plan-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 11px; color: var(--text-muted); }
.demo-plan-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* ── Hamburger button ─────────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}
.hamburger:hover { background: rgba(0,0,0,.06); }
.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── Mobile nav drawer ────────────────────────────────────────────────── */
.mob-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
}
.mob-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
}
.mob-menu-close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mob-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mob-menu-links a {
  display: block;
  padding: 12px 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
}
.mob-menu-links a:hover { background: #f5f7fa; }
.mob-menu-plans {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.mob-menu-plans .btn { flex: 1; justify-content: center; }

@media (max-width: 767px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ── Mobile budget 2-row layout ─────────────────────────────────────── */
.budget-mob-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #fff;
  font-size: 13px;
  min-height: 36px;
}
.budget-mob-ship {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.budget-mob-gem, .budget-mob-pocket {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 13px;
}
.budget-mob-label { font-size: 14px; }
.budget-mob-plans {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f4f6fb;
  border-top: 1px solid #e5e9f0;
  min-height: 44px;
}
.budget-mob-plans .budget-summary-col--plans { flex: 1; min-width: 0; }
.btn-mob-plan-action {
  flex-shrink: 0;
  height: 34px;
  padding: 0 12px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.btn-mob-plan-action:disabled { opacity: .4; cursor: not-allowed; }
.btn-mob-plan-action:not(:disabled):hover { background: #eef4fb; }

/* ════════════════════════════════════════════════════════════════════
   Search Drawer
   ════════════════════════════════════════════════════════════════════ */
#searchDrawer {
  background: #1a3060;
  border-bottom: 1px solid #142448;
  padding: 10px 24px;
  position: sticky;
  top: var(--nav-h);
  z-index: 95;
}
.sd-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Mode pill */
.mode-pill {
  flex-shrink: 0;
}
.mode-pill-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #92b0d8;
  padding: 0 10px 0 4px;
  align-self: center;
  white-space: nowrap;
  border-right: none;
}
.mode-pill-btns {
  display: flex;
  align-items: center;
  background: #243870;
  border: none;
  border-radius: 99px;
  overflow: visible;
  padding: 4px;
  gap: 2px;
}
.mode-pill-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: background .15s, color .15s;
  color: #a8c2e8;
}
.mode-pill-btn + .mode-pill-btn { border-left: none; }
.mode-pill-btn--active {
  background: #00c4aa;
  color: #0f1a38;
}
.mode-pill-btn:not(.mode-pill-btn--active):hover { background: #2e4a80; }

/* Field bar */
.field-bar {
  flex: 1;
  display: flex;
  align-items: stretch;
  border: none;
  border-radius: 10px;
  background: #243870;
  height: 52px;
  overflow: visible;
  position: relative;
}
.field-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 14px;
  min-width: 0;
  position: relative;
}
.field-cell--clickable { cursor: pointer; }
.field-cell--clickable:hover { background: #2e4a80; border-radius: 10px; }
.field-cell--guests { flex: 0 0 auto; min-width: 110px; }
.field-cell--dest { flex: 1.4; }
.field-cell-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #92b0d8;
  white-space: nowrap;
}
.field-cell-value {
  font-size: 14px;
  font-weight: 500;
  color: #f0f5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.field-cell-value.placeholder { color: #6888b0; }
.field-cell-select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #f0f5ff;
  padding: 0;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.field-cell-select:disabled { color: #6888b0; cursor: not-allowed; }
.field-cell-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #f0f5ff;
  padding: 0;
  width: 100%;
}
.field-cell-input::placeholder { color: #6888b0; font-weight: 400; }
.field-divider {
  width: 1px;
  background: #3a558a;
  align-self: stretch;
  margin: 10px 0;
}
.field-bar.sd-error .field-cell--error { border: 1.5px solid #e55353; border-radius: 10px; }

/* Guests stepper */
.guests-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #3a558a;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0f5ff;
  flex-shrink: 0;
}
.stepper-btn:hover { background: #2e4a80; }
.stepper-val {
  font-size: 15px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  color: #f0f5ff;
}

/* Destination typeahead panel */
.sd-dest-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #d0d5dd;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 300;
  overflow: hidden;
}
.sd-dest-option {
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
}
.sd-dest-option:hover, .sd-dest-option:focus { background: #f0f4f8; outline: none; }
.sd-dest-empty { padding: 10px 16px; font-size: 14px; color: var(--text-muted); }

/* Calendar popup */
.sd-cal-popup {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 400;
  background: #fff;
  border: 1.5px solid #d0d5dd;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  padding: 12px;
  min-width: 290px;
}

.sd-cal-popup .cal-quick {
  display: flex;
  gap: 8px;
  padding: 10px 4px 0;
  flex-wrap: wrap;
}
.sd-cal-popup .cal-quick-btn {
  padding: 6px 12px;
  background: #f0f4f8;
  border: 1.5px solid #d0d5dd;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.sd-cal-popup .cal-quick-btn:hover {
  background: #e4eaf0;
}

/* Find button — desktop */
.find-btn {
  height: 52px;
  padding: 0 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.find-btn:hover { background: var(--accent-dark); }

/* Find button — mobile */
.find-btn-mob {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.find-btn-mob:hover { background: var(--accent-dark); }

/* Mobile overrides */
@media (max-width: 767px) {
  #searchDrawer { padding: 8px 14px; }
  .sd-inner { gap: 6px; flex-wrap: nowrap; }

  /* Pill: emoji-only, fixed width */
  .mode-pill { flex-direction: row; align-items: center; gap: 0; }
  .mode-pill-label { display: none; }
  .mode-pill-btns { padding: 3px; }
  .mode-pill-btn { padding: 5px 10px; font-size: 14px; }
  .mode-pill-text { display: none; }

  /* Field bar: all cells on one line, tight labels */
  .field-bar { height: 44px; flex: 1; }
  .field-cell { padding: 0 8px; }
  .field-cell-label { font-size: 9px; }
  .field-cell-value, .field-cell-select, .field-cell-input { font-size: 11px; }
  .field-cell--guests { min-width: 90px; }
  .guests-stepper { gap: 4px; }
  .stepper-btn { width: 20px; height: 20px; font-size: 14px; }
  .stepper-val { font-size: 13px; }

  /* Calendar: single-column on mobile */
  .sd-cal-popup { min-width: calc(100vw - 20px); left: 0; right: 0; }

  /* Show mobile find button; hide desktop */
  .find-btn { display: none; }
  .find-btn-mob { display: flex; }
}

/* ── How It Works — Search Page Empty State ─────────────────────────────── */
.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 32px;
  align-items: start;
}
.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.hiw-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 44px);
  width: calc(100% - 44px);
  height: 1px;
  background: #d0d5dd;
}
.hiw-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1e4fa3;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.hiw-step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.hiw-step-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.hiw-find-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* Plan mockup card */
.hiw-plan-mockup {
  background: #f0f5ff;
  border: 1px solid #c5d3e8;
  border-radius: 14px;
  padding: 16px 20px;
  width: 100%;
  text-align: left;
  margin-top: 4px;
}
.hiw-plan-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}
.hiw-plan-sub {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 10px;
}
.hiw-plan-savings {
  font-size: 14px;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
}
.hiw-plan-savings strong { color: #1a8c3e; }
.hiw-plan-rows { display: flex; flex-direction: column; gap: 8px; }
.hiw-plan-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border-top: 1px solid #dce8f5;
  padding-top: 8px;
}
.hiw-day { font-weight: 700; color: var(--text); min-width: 38px; }
.hiw-exc { flex: 1; color: var(--text-muted); }
.hiw-badge {
  font-size: 11px;
  font-weight: 700;
  color: #1a8c3e;
  background: #e6f7ed;
  border-radius: 4px;
  padding: 2px 6px;
}

@media (max-width: 767px) {
  .how-it-works-steps {
    grid-template-columns: 1fr;
    gap: 40px 0;
    padding: 0 20px;
    margin: 40px auto;
  }
  .hiw-step::after { display: none; }
}

/* ── Search Drawer Calendar Grid ─────────────────────────────────────────── */
.cal-nav {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cal-nav-btn {
  background: none;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-nav-btn:hover { background: #f0f4f8; }
.cal-two-months {
  display: flex;
  gap: 20px;
  flex: 1;
}
.cal-two-months--single { max-width: 266px; }
.cal-two-months--single .cal-month { flex: 1; }
.cal-month { flex: 1; min-width: 120px; }
.cal-month-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  text-align: center;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
.cal-dow {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 3px 0;
}
.cal-day {
  aspect-ratio: 1;
  border: none;
  border-radius: 4px;
  background: none;
  font-size: 11px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 120ms;
}
.cal-day:hover:not(:disabled) { background: #e8f0fe; }
.cal-day--empty { pointer-events: none; }
.cal-day--past { color: #b0b8c4; cursor: default; }
.cal-day--past:hover { background: none; }
.cal-day--today {
  font-weight: 700;
  color: #1e4fa3;
  border: 1.5px solid #1e4fa3;
}
.cal-day--start,
.cal-day--end,
.cal-day--single {
  background: #1e4fa3;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
}
.cal-day--start { border-radius: 6px 0 0 6px; }
.cal-day--end   { border-radius: 0 6px 6px 0; }
.cal-day--single { border-radius: 6px; }
.cal-day--in-range { background: #dce8f5; border-radius: 0; }

/* ── Ship Progress Animation ─────────────────────────────────────────────── */
#progressBar {
  margin: 24px 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(170deg, #0c3d6b 0%, #1565a0 45%, #1e88c8 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prog-scene {
  width: 100%;
  max-width: 680px;
  padding: 40px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.prog-ocean-wrap {
  width: 100%;
  position: relative;
  height: 80px;
}
.prog-ship-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  overflow: hidden;
}
.prog-ship {
  position: absolute;
  font-size: 38px;
  line-height: 1;
  top: 4px;
  animation: progShipSail 9s linear infinite, progShipBob 1.8s ease-in-out infinite;
}
.prog-sea {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  overflow: hidden;
}
.prog-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}
.prog-wave-a { animation: progWaveSweep 4s linear infinite; }
.prog-wave-a path { fill: rgba(255,255,255,.20); }
.prog-wave-b { animation: progWaveSweep 6.5s linear infinite reverse; }
.prog-wave-b path { fill: rgba(255,255,255,.10); }
.prog-status-text {
  color: rgba(255,255,255,.90);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .01em;
  margin: 0;
  text-align: center;
  min-height: 1.4em;
  transition: opacity .3s;
}
@keyframes progShipSail {
  0%   { left: -8%; }
  100% { left: 110%; }
}
@keyframes progShipBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes progWaveSweep {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile overhaul: levers 1-8 */
@media (max-width: 560px) {
  /* Lever 1: Row header vertical stack */
  .card-row-header {
    flex-direction: column;
    gap: 0;
  }
  .row-label {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    display: block;
  }
  .row-label-body {
    display: block;
  }
  .row-label:last-of-type {
    border-bottom: none;
  }
  .row-label.cruise-row-label {
    border-top: 3px solid #fff8f7;
  }
  .row-label.local-row-label {
    border-top: 3px solid #f0fdf4;
  }
  .row-label.local-row-label {
    flex-wrap: wrap;
  }
  .rh-book-action {
    display: block;
    width: 100%;
    margin-top: 8px;
    margin-left: 0;
    min-height: 36px;
  }
  .rh-book-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
  }

  /* Lever 2: Savings as mobile headline */
  .card-side-summary-info {
    flex-direction: column;
  }

  /* Lever 3: Name sizing */
  .row-label-name {
    font-size: 15px;
    line-height: 1.4;
  }

  /* Lever 4: Price visibility */
  .row-label-price {
    font-size: 14px;
    font-weight: 700;
  }

  /* Lever 5: PLAN label vertical stack */
  .row-label .row-check-label {
    flex-direction: column;
    gap: 4px;
  }
  .row-label .row-check-label::after {
    font-size: 7px;
  }

  /* Lever 6: Left border accent */
  .card-side.cruise {
    border-left: 4px solid #fff8f7;
  }
  .card-side.local {
    border-left: 4px solid #f0fdf4;
  }

  /* Lever 7: Full-width hero buttons */
  .btn-primary,
  .btn-outline {
    width: 100%;
    display: block;
    text-align: center;
  }

  /* Lever 8: Mockup card price columns stack */
  .mockup-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mockup-row {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px;
  }

  /* Home page mobile: hero + sections */
  .hero-headline {
    font-size: 28px;
    line-height: 1.3;
  }
  .hero-sub {
    flex-direction: column;
    gap: 20px;
  }
  .hero-sub-col {
    padding: 0;
  }
  .section-headline {
    font-size: 24px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .review-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-mockup {
    max-width: 100%;
    margin: 0 -24px;
    padding: 0 24px;
  }
}
