/* Homepage opt-in theme; shared consumers retain their original fallbacks. */
:root[data-page="home"] {
  --home-service-assurance-box-shadow: none;
  --home-service-assurance-inner-min-height: 84px;
  --home-service-announcement-label-margin-bottom: 3px;
  --home-service-trust-list-li-border-right: 0;
  --home-service-trust-list-trust-icon-width: 20px;
  --home-service-trust-list-trust-icon-height: 20px;
  --home-service-trust-list-trust-icon-grid-row: 1;
  --home-service-trust-list-li-grid-template-columns: 20px minmax(0, 1fr);
  --home-service-trust-list-li-column-gap: 12px;
  --home-service-trust-list-span-font-size: 13px;
  --home-service-subtitle-column: 2;

  --home-token-ink: #092B49;
  --home-token-ink-2: #284D72;
  --home-token-muted: #426A96;
  --home-token-muted-2: #526E8C;
  --home-token-line: #D3DAE8;
  --home-token-line-strong: #D3DAE8;
  --home-token-surface: #FFFFFF;
  --home-token-surface-blue: #FFFFFF;
  --home-token-brand: #28649B;
  --home-token-brand-hover: #225789;
  --home-token-brand-deep: #173D62;
  --home-token-navy: #0F2942;
  --home-token-price: #DC2626;
  --home-token-radius-tag: 0px;
  --home-token-radius-control: 0px;
  --home-token-radius-section: 0px;
  --home-token-radius-float: 0px;
  --home-token-shadow-card: 0 1px 2px rgba(15,41,66,.10), 0 2px 5px rgba(15,41,66,.06);
  --home-token-shadow-float: 0 1px 2px rgba(15,41,66,.10), 0 2px 5px rgba(15,41,66,.06);
  --home-search-panel-border: 1px solid var(--line);
  --home-search-panel-box-shadow: var(--shadow-float);
  --home-field-span-first-child-color: var(--muted);
  --home-field-span-first-child-font-size: 14px;
  --home-field-span-first-child-font-weight: 400;
  --home-field-select-color: var(--ink);
  --home-field-select-font-size: 18px;
  --home-hero-shade-background: linear-gradient(90deg, rgba(2,43,68,.22), rgba(2,43,68,.03) 48%, rgba(2,33,53,.64));
  --home-sailing-card-box-shadow: var(--shadow-card);
  --home-sailing-card-border: 1px solid var(--line);
  --home-sailing-image-link-border-radius: 0;
  --home-sailing-image-link-background: #fff;
  --home-sailing-label-border-radius: 0;
  --home-sailing-price-strong-font-size: 28px;
  --home-sailing-price-strong-font-weight: 600;
  --home-sailing-price-strong-font-family: "Home Price", var(--font-sans);
  --home-sailing-bottom-align-items: center;
  --home-sailing-bottom-gap: 8px;
  --home-sailing-bottom-a-padding: 11px 12px;
  --home-sailing-bottom-a-padding-bottom: 11px;
  --home-sailing-bottom-a-background: #0084ff;
  --home-sailing-bottom-a-color: #fff;
  --home-sailing-bottom-a-font-size: 13px;
  --home-sailing-bottom-a-hover-color: #fff;
  --home-sailing-bottom-a-hover-background: #0084ff;
  --home-sailing-bottom-a-hover-text-decoration: none;
  --home-need-results-min-height: 0;
  --home-data-empty-min-height: 144px;
  --home-data-empty-border: 1px solid var(--line);
  --home-data-empty-padding: 24px;
  --home-data-empty-strong-font-size: 16px;
  --home-river-track-background: var(--navy);
  --home-river-track-border-radius: 0;
  --home-river-track-circle-stroke-width: 2;
  --home-river-track-circle-stroke: #83A7C6;
  --home-river-track-path-stroke-width: 2;
  --home-need-image-frame-border-radius: 0;
  --home-need-card-border: 1px solid var(--line);
  --home-need-card-box-shadow: var(--shadow-card);
  --home-featured-ship-card-border: 0;
  --home-featured-ship-card-box-shadow: none;
  --home-featured-ship-card-min-height: 0;
  --home-filter-line: 0;
  --home-filter-title-size: 16px;
  --home-filter-option-size: 15px;
  --home-filter-option-weight: 400;
  --home-filter-marker-content: none;
  --home-filter-active-color: #fff;
  --home-filter-active-background: var(--navy);
  --home-filter-option-padding: 0 12px;
  --home-filter-title-padding: 0 12px 13px;
  --home-featured-gap: 38px 28px;
  --home-featured-image-ratio: 3 / 2;
  --home-featured-wide-fit: cover;
  --home-featured-image-border: 0;
  --home-featured-brand-weight: 400;
  --home-featured-title-order: -1;
  --home-featured-title-size: 21px;
  --home-featured-bottom-direction: column;
  --home-featured-bottom-border: 0;
  --home-featured-price-color: var(--price);
  --home-featured-price-size: 28px;
  --home-featured-link-size: 16px;
  --home-featured-link-color: var(--brand-deep);
  --home-featured-link-offset: 4px;
  --home-featured-link-align: flex-end;
  --home-featured-link-decoration: underline;
  --home-featured-hover-transform: none;
  --home-featured-hover-shadow: none;
  --home-featured-ship-image-border-radius: 0;
  --home-featured-ship-body-min-height: 0;
  --home-featured-ship-body-padding: 14px 0 0;
  --home-ship-tags-min-height: 0;
  --home-ship-facts-font-size: 14px;
  --home-ship-facts-margin: 10px 0 14px;
  --home-ship-card-bottom-align-items: stretch;
  --home-ship-card-bottom-padding-top: 14px;
  --home-ship-card-bottom-strong-font-family: "Home Price", var(--font-sans);
  --home-ship-card-bottom-strong-font-weight: 600;
  --home-ship-card-bottom-a-padding: 8px 0 0;
  --home-ship-card-bottom-a-border: 0;
  --home-ship-card-bottom-a-white-space: nowrap;
  --home-price-outer-border: 0;
  --home-price-toolbar-padding: 0 0 12px;
  --home-price-day-height: 120px;
  --home-price-day-padding: 14px 14px 8px;
  --home-price-day-grow: 1;
  --home-price-date-weight: 400;
  --home-price-number-size: 22px;
  --home-price-toolbar-select-background: #fff;
  --home-price-toolbar-select-border-radius: 0;
  --home-price-toolbar-button-background: #fff;
  --home-price-toolbar-button-border-radius: 0;
  --home-price-day-is-empty-background: #fff;
  --home-price-day-span-font-size: 14px;
  --home-price-day-has-sailing-strong-font-weight: 600;
  --home-price-day-has-sailing-strong-font-family: "Home Price", var(--font-sans);
  --home-brand-grid-img-filter: none;
  --home-brand-line: 0;
  --home-brand-gap: 8px 24px;
  --home-brand-label-size: 16px;
  --home-brand-logo-width: 80px;
  --home-brand-logo-height: 56px;
  --home-brand-hover-color: var(--brand-hover);
  --home-brand-hover-background: #fff;
  --home-shell-radius: 0px;
  --home-search-submit-radius: 6px;
  --home-shell-nav: #0F2942;
  --home-shell-shadow: 0 1px 2px rgba(15,41,66,.10), 0 2px 5px rgba(15,41,66,.06);
}
@font-face { font-family: "Home Price"; src: url("../../sailings/stitch-polish-20260908/fonts/manrope-price-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
:root {
  color-scheme: light;
  --ink: var(--home-token-ink, #142b3a);
  --ink-2: var(--home-token-ink-2, #334d5d);
  --muted: var(--home-token-muted, #5e7482);
  --muted-2: var(--home-token-muted-2, #607684);
  --line: var(--home-token-line, #d9e3e9);
  --line-strong: var(--home-token-line-strong, #c7d6df);
  --line-soft: rgba(15, 71, 104, 0.11);
  --paper: #ffffff;
  --surface: var(--home-token-surface, #eef3f6);
  --surface-blue: var(--home-token-surface-blue, #eaf3f8);
  --brand: var(--home-token-brand, #0878bd);
  --brand-hover: var(--home-token-brand-hover, #0069aa);
  --brand-deep: var(--home-token-brand-deep, #075a91);
  --navy: var(--home-token-navy, #06466f);
  --price: var(--home-token-price, #df522d);
  --focus: rgba(19, 101, 151, 0.28);
  --search-border: #c9d7e0;
  --search-border-hover: #a8c0ce;
  --search-border-soft: #dee7ec;
  --search-icon: #536f7e;
  --radius-tag: var(--home-token-radius-tag, 4px);
  --radius-control: var(--home-token-radius-control, 6px);
  --radius-section: var(--home-token-radius-section, 8px);
  --radius-float: var(--home-token-radius-float, 4px);
  --image-divider: #e1e8ec;
  --shadow-card: var(--home-token-shadow-card, 0 12px 34px rgba(7, 42, 64, 0.1), 0 2px 8px rgba(7, 42, 64, 0.06));
  --shadow-float: var(--home-token-shadow-float, 0 24px 60px rgba(3, 30, 48, 0.18), 0 4px 14px rgba(3, 30, 48, 0.1));
  --font-sans: "Site Noto", "Site Noto", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body { margin: 0; min-width: 1180px; background: var(--surface); font-size: 14px; line-height: 1.7; }
button, input, select { font: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
[hidden] { display: none; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

.skip-link {
  position: fixed;
  left: 20px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  transition: top 160ms ease-out;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.page-width { width: 1240px; margin: 0 auto; }

/* USWDS 3.13.0 Material icon geometry is embedded as an audited same-document sprite. */
.ui-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ui-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  overflow: visible;
  fill: currentColor;
  stroke: none;
}
.ui-icon use { pointer-events: none; }

.arrow-link { display: inline-flex; align-items: center; gap: 7px; }
.arrow-link > .ui-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.hero { position: relative; height: 408px; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 58%; outline: 0; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: var(--home-hero-shade-background, linear-gradient(90deg, rgba(2, 43, 68, 0.36) 0%, rgba(2, 43, 68, 0.08) 48%, rgba(2, 33, 53, 0.7) 100%));
}
.hero-stage { position: relative; z-index: 1; height: 408px; display: flex; align-items: center; justify-content: space-between; }
.search-panel {
  width: 420px;
  min-height: 360px;
  padding: 0 24px 14px;
  border: var(--home-search-panel-border, 1px solid #d8e3e9);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--home-search-panel-box-shadow, 0 16px 36px rgba(8, 40, 60, 0.13), 0 2px 5px rgba(8, 40, 60, 0.055));
}
.search-panel[data-mode="ship"] { min-height: 360px; }
.search-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -24px 18px; border-bottom: 0; background: #edf1f5; }
.search-mode-tabs button {
  position: relative;
  height: 48px;
  border: 0;
  background: #edf1f5;
  border-radius: 6px 6px 0 0;
  color: #52677f;
  font-size: 15px;
  font-weight: 600;
  transition: color 150ms ease-out;
}
.search-mode-tabs button.is-active { background: #fff; color: #0084ff; box-shadow: none; }
.search-mode-tabs button:focus-visible { outline: 2px solid #0084ff; outline-offset: -4px; }
.search-heading { margin-bottom: 18px; }
.search-heading strong { color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.4; }
.search-grid { display: grid; gap: 16px; }
.search-pair { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 0; }
.search-pair > .field:first-child { grid-column: 1; }
.search-pair > .field:last-child { grid-column: 3; }
.field {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid #d7e1e7;
  background: transparent;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.field:focus-within { border-bottom-color: var(--brand); box-shadow: 0 1px 0 var(--brand); }
.field:has([aria-invalid="true"]) { border-bottom-color: #c44735; box-shadow: 0 1px 0 #c44735; }
.field > span:first-child { color: var(--home-field-span-first-child-color, #607684); font-size: var(--home-field-span-first-child-font-size, 12px); font-weight: var(--home-field-span-first-child-font-weight, 500); line-height: 18px; }
.field > span:first-child small { color: #8797a0; font-size: inherit; font-weight: 400; }
.field-control { position: relative; display: block; min-width: 0; height: 30px; }
.field input,
.field select {
  width: 100%;
  height: 30px;
  padding: 0 28px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--home-field-select-color, #203744);
  font-size: var(--home-field-select-font-size, 16px);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 150ms ease-out;
}
.field select,
.field input[type="date"],
.field input[type="month"] { appearance: none; -webkit-appearance: none; }
.field input[type="search"] { appearance: none; -webkit-appearance: none; padding-right: 0; }
.field input[type="date"]::-webkit-calendar-picker-indicator,
.field input[type="month"]::-webkit-calendar-picker-indicator { position: absolute; right: 0; width: 38px; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.field input::placeholder { color: #8a9ba5; font-size: 14px; font-weight: 400; }
.field input:focus-visible,
.field select:focus-visible { outline: 0; }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { box-shadow: none; }
.home-calendar-icon { fill:none; stroke:currentColor; }
.field-icon {
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  color: var(--search-icon);
  pointer-events: none;
  transform: translateY(-50%);
}






.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  margin-top: 20px;
  border: 0;
  border-radius: var(--home-search-submit-radius, 4px);
  background: #0084ff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 150ms ease-out, box-shadow 150ms ease-out, transform 100ms ease-out;
}
.search-submit .ui-icon { width: 16px; height: 16px; }
.search-submit:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(8, 120, 189, 0.18); }
.search-submit:active { background: #0084ff; transform: scale(0.98); }
.search-message { min-height: 0; margin: 0; color: #a23f31; font-size: 12px; line-height: 18px; }
.search-message:not(:empty) { min-height: 18px; margin-top: 6px; }
.quick-routes,
.quick-brands { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 0; border: 0; color: var(--muted); font-size: 13px; line-height: 20px; }
.quick-routes { margin-top: 14px; }
.quick-routes > span { color: #607684; font-weight: 500; }
.quick-routes button,
.quick-brands button { padding: 0; border: 0; background: transparent; color: #526c7b; font-size: 13px; line-height: 20px; white-space: nowrap; }
.quick-more { color: var(--brand-deep); font-size: 13px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.quick-brands { grid-column: 1 / -1; }
.quick-brands > span { color: var(--ink-2); font-weight: 600; }
.ship-search-fields { min-height: 0; align-content: start; }
.secondary-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.secondary-pair > .field:last-child { grid-column: 2; }
.hero-copy { width: 560px; align-self: center; margin-right: 4px; color: #fff; text-align: right; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3); }
.eyebrow { margin: 0 0 12px; color: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 600; }
.hero-copy h1 { margin: 0; font-size: 44px; line-height: 1.22; text-wrap: balance; }
.hero-lead { max-width: 540px; margin: 16px 0 22px auto; color: rgba(255, 255, 255, 0.9); font-size: 16px; line-height: 1.7; }
.hero-action { display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.68); border-radius: 5px; background: rgba(4, 31, 48, 0.3); font-size: 14px; font-weight: 600; }
.hero-proof { display: flex; justify-content: flex-end; gap: 0; margin-top: 22px; color: rgba(255, 255, 255, 0.9); font-size: 13px; }
.hero-proof span { padding: 0 13px; border-right: 1px solid rgba(255, 255, 255, 0.36); }
.hero-proof span:last-child { padding-right: 0; border-right: 0; }

.assurance { background:#fff; border-bottom:1px solid #e6edf4; }
.assurance-inner { padding-top:18px; padding-bottom:18px; }
.trust-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); list-style:none; padding:0; margin:0; }
.trust-list li { min-width:0; }
.trust-list li + li { border-left:1px solid #e6edf4; }
.trust-list li > a { display:flex; align-items:center; justify-content:center; gap:14px; min-height:62px; padding:8px 12px; text-decoration:none; border-radius:6px; }
.trust-icon-wrap { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; color:#0084ff; }
.trust-list .trust-icon { width:34px; height:34px; fill:currentColor; stroke:none; }
.trust-copy { display:flex; flex-direction:column; gap:5px; min-width:0; }
.trust-copy strong { color:#153b5c; font-size:18px; font-weight:500; line-height:1.5; }
.trust-copy small { color:#52677f; font-size:13px; line-height:1.5; }
.trust-list li > a:hover { background:#f5faff; }
.trust-list li > a:hover strong { color:#0084ff; }
.trust-list li > a:focus-visible { outline:2px solid #0084ff; outline-offset:2px; }
@media(max-width:1050px){.trust-list li > a { gap:10px; padding:8px; }.trust-copy strong { font-size:17px; }.trust-copy small { font-size:12px; }}
@media(max-width:750px){.assurance-inner { padding-top:12px; padding-bottom:12px; }.trust-list { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:12px; }.trust-list li:nth-child(3) { border-left:0; }.trust-list li > a { justify-content:flex-start; gap:8px; }.trust-icon-wrap { width:34px; height:38px; }.trust-list .trust-icon { width:30px; height:30px; }.trust-copy strong { font-size:16px; }.trust-copy small { font-size:11px; }}

.section { padding: 48px 0; background: #fff; }
.section > .page-width { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.section-heading { margin-bottom: 28px; }
.section-heading h2,
.price-intro h2,
.faq-panel h2 { margin: 0; color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.section-heading h2 { display: block; }
.section-heading p { max-width: 700px; margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.heading-with-action { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.heading-with-action > a,
.price-intro > a { color: var(--brand); font-size: 14px; font-weight: 600; }
.heading-with-action > a { flex: 0 0 auto; margin-top: 8px; }
.compact-heading { margin-bottom: 24px; }

.sailings-section { background: var(--surface); }
.source-notice { display: flex; align-items: center; justify-content: space-between; min-height: 31px; margin: -8px 0 18px; padding: 0 0 9px; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; background: transparent; color: var(--muted); font-size: 13px; line-height: 1.55; }
.source-notice.is-warning { color: #6a747a; }
.source-notice button { border: 0; background: transparent; color: var(--brand); font-weight: 600; }
.sailing-showcase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; min-height: 362px; align-items: stretch; }
.sailing-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: var(--home-sailing-card-border, 1px solid rgba(15, 71, 104, 0.14)); border-radius: var(--radius-control); background: #fff; box-shadow: var(--home-sailing-card-box-shadow, 0 4px 16px rgba(7, 42, 64, 0.035)); }
.sailing-image-link { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--home-sailing-image-link-border-radius, 5px 5px 0 0); background: var(--home-sailing-image-link-background, #e7edf1); }
.sailing-image-link::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; height: 1px; background: var(--image-divider); pointer-events: none; }
.sailing-image-link > img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sailing-image-link > img[src*="sx-126"] { object-position: 50% 52%; }
.sailing-image-link > img[src*="sx-384"] { object-position: 50% 50%; }
.sailing-image-link > img[src*="sx-386"] { object-position: 51% 48%; }
.sailing-image-link > img[src*="sx-century-legend"] { object-position: 51% 50%; }
.sailing-label { position: absolute; left: 12px; top: 12px; padding: 4px 8px; border-radius: var(--home-sailing-label-border-radius, 2px); background: rgba(7, 42, 64, 0.88); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.35; }
.sailing-content { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: 12px 14px; }
.sailing-date { color: var(--brand); font-size: 14px; font-weight: 600; line-height: 1.5; }
.sailing-card h3 { margin: 6px 0 0; color: var(--ink); font-size: 19px; font-weight: 600; line-height: 1.45; text-wrap: balance; }
.sailing-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 11px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.sailing-meta span { white-space: nowrap; }
.sailing-bottom { display: flex; align-items: var(--home-sailing-bottom-align-items, flex-end); justify-content: space-between; gap: var(--home-sailing-bottom-gap, 12px); margin-top: 10px; padding-top: 0; }
.sailing-price { min-width: 0; }
.sailing-price strong { display: flex; align-items: baseline; color: var(--price); font-size: var(--home-sailing-price-strong-font-size, 30px); font-weight: var(--home-sailing-price-strong-font-weight, 700); line-height: 1.12; font-variant-numeric: tabular-nums; white-space: nowrap;  font-family: var(--home-sailing-price-strong-font-family); }
.sailing-price strong small { margin-right: 2px; font-size: 15px; font-weight: 600; }
.sailing-price strong em { margin-left: 3px; font-size: 13px; font-style: normal; font-weight: 500; }
.sailing-price.is-pending strong { color: var(--ink-2); font-size: 16px; line-height: 1.4; white-space: normal; }
.sailing-bottom > a { border-radius: 6px; flex: 0 0 auto; padding-bottom: var(--home-sailing-bottom-a-padding-bottom, 3px); color: var(--home-sailing-bottom-a-color, var(--brand)); font-size: var(--home-sailing-bottom-a-font-size, 14px); font-weight: 600; white-space: nowrap;  padding: var(--home-sailing-bottom-a-padding, 0 0 3px);  background: var(--home-sailing-bottom-a-background); }
.sailing-skeleton { border-radius: var(--radius-control); background: linear-gradient(90deg, #eef2f4, #f8fafb, #eef2f4); background-size: 200% 100%; animation: skeleton 1.3s linear infinite; }
.sailing-skeleton { min-height: 362px; }
.data-empty { grid-column: 1 / -1; display: grid; place-items: center; align-content: center; min-height: var(--home-data-empty-min-height, 250px); padding: var(--home-data-empty-padding, 30px); border: var(--home-data-empty-border, 1px dashed var(--line-strong)); border-radius: var(--radius-control); background: #fff; text-align: center; }
.data-empty strong { font-size: var(--home-data-empty-strong-font-size, 18px); }
.data-empty p { margin: 8px 0 18px; color: var(--muted); }
.data-empty button { height: 40px; padding: 0 18px; border: 0; border-radius: 5px; background: var(--brand); color: #fff; }

.route-section { background: #fff; }
.route-layout { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.route-card { display:block; min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:3px; background:#fff; color:var(--ink); text-decoration:none; transition:border-color 150ms ease,box-shadow 150ms ease; }
.route-card > img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; object-position:center; }
.route-card-copy { padding:16px 18px; }
.route-card-kind { color:var(--muted); font-size:13px; line-height:20px; }
.route-card h3 { margin:6px 0 14px; color:var(--ink); font-size:21px; font-weight:600; line-height:28px; }
.route-card h3 > span { color:#78909e; }
.route-card-bottom { display:flex; justify-content:space-between; align-items:center; gap:8px; color:var(--muted); font-size:14px; line-height:22px; }
.route-card-duration { margin-bottom:8px; color:var(--muted); font-size:13px; }
.route-card-price { color:var(--muted); font-size:14px; font-variant-numeric:tabular-nums; }
.route-card-price strong { color:var(--price); font-size:24px; line-height:30px; font-weight:700; }
.route-card-price small { color:var(--price); font-size:13px; }
.route-card-action { color:#1975ce; font-weight:600; }
.route-card:hover { border-color:#1975ce; box-shadow:0 2px 5px #102b460d,0 7px 18px #102b4612; }
.route-card:focus-visible { outline:3px solid #1975ce; outline-offset:3px; }
@media(max-width:1000px) { .route-layout { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:540px) { .route-layout { gap:12px; } .route-card-copy {padding:12px;} .route-card h3 {font-size:18px;} .route-card-bottom {flex-wrap:wrap;} }


.needs-section { background: var(--surface); padding-bottom: 16px; }
.need-tabs { display: flex; flex-wrap: nowrap; gap: 28px; height: 41px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.need-tabs button { position: relative; height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.need-tabs button::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 28px; height: 2px; background: transparent; transform: translateX(-50%); }
.need-tabs button.is-active { background: #329bfa; border-color: #329bfa; color: #fff; border-radius: 3px; box-shadow: 0 1px 3px rgba(15,41,66,.24); font-weight: 600; }
.need-tabs button.is-active::after { display: none; }
.need-results { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; min-height: var(--home-need-results-min-height, 334px); align-items: stretch; }
.need-card { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: hidden; border: var(--home-need-card-border, 1px solid rgba(15, 71, 104, 0.14)); border-radius: var(--radius-control); background: #fff;  box-shadow: var(--home-need-card-box-shadow); }
.need-image-frame { position: relative; width: 100%; height: auto; min-height: 0; overflow: hidden; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--image-divider); border-radius: var(--home-need-image-frame-border-radius, 5px 5px 0 0); background: #fff; }
.need-image-frame > img { position: relative; z-index: 1; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.need-image-frame.ship-image-sx-126 > img { object-position: 48% 48%; }
.need-image-frame.ship-image-sx-173 > img { object-position: 58% 49%; }
.need-image-frame.ship-image-sx-192 > img { object-position: 47% 50%; }
.need-image-frame.ship-image-sx-384 > img,
.need-image-frame.ship-image-sx-century-legend > img { object-fit: contain; object-position: center; }
.need-card-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 12px 14px; }
.need-card span { display: none; color: var(--brand); font-size: 13px; font-weight: 600; }
.need-card h3 { margin: 7px 0 8px; font-size: 18px; font-weight: 600; }
.need-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.need-card a { display: inline-block; margin-top: auto; padding-top: 13px; color: var(--brand); font-size: 13px; font-weight: 600; }

.ships-section { background: #fff; }
.ships-catalog-layout { display: grid; grid-template-columns: 188px 1fr; gap: 28px; align-items: start; }
.ship-filter { position: sticky; top: 70px; display: grid; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.ship-filter > strong { padding: var(--home-filter-title-padding, 0 4px 13px); border-bottom: var(--home-filter-line, 1px solid var(--line)); font-size: var(--home-filter-title-size, 15px); font-weight: 600; }
.ship-filter button { position: relative; height: 42px; padding: var(--home-filter-option-padding, 0 4px); border: 0; border-bottom: var(--home-filter-line, 1px solid rgba(16, 48, 67, 0.08)); border-radius: 0; background: transparent; color: var(--ink-2); font-size: var(--home-filter-option-size, 14px); font-weight: var(--home-filter-option-weight, 500); text-align: left; }
.ship-filter button::after { content: var(--home-filter-marker-content, ""); position: absolute; right: 4px; top: 50%; width: 18px; height: 2px; background: transparent; transform: translateY(-50%); }
.ship-filter button.is-active { background: #329bfa; border-color: #329bfa; color: #fff; border-radius: 3px; box-shadow: 0 1px 3px rgba(15,41,66,.24); font-weight: 600; }
.ship-filter button.is-active::after { display: none; }
.ship-filter p { margin: 16px 4px 0; padding: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.featured-ships { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--home-featured-gap, 18px); align-items: stretch; }
.featured-ship-card { display: flex; min-height: var(--home-featured-ship-card-min-height, 352px); flex-direction: column; overflow: hidden; border: var(--home-featured-ship-card-border, 1px solid rgba(15, 71, 104, 0.14)); border-radius: var(--radius-control); background: #fff; box-shadow: var(--home-featured-ship-card-box-shadow, 0 2px 10px rgba(7, 42, 64, 0.02)); }
.featured-ship-image { position: relative; width: 100%; height: auto; overflow: hidden; aspect-ratio: var(--home-featured-image-ratio, 11 / 5); border-bottom: var(--home-featured-image-border, 1px solid var(--image-divider)); border-radius: var(--home-featured-ship-image-border-radius, 5px 5px 0 0); background: #fff; }
.featured-ship-image > img { position: relative; z-index: 1; width: 100%; height: 100%; aspect-ratio: var(--home-featured-image-ratio, 11 / 5); object-fit: cover; }
.featured-ship-image.ship-image-sx-126 > img { object-position: 48% 48%; }
.featured-ship-image.ship-image-sx-173 > img { object-position: 58% 49%; }
.featured-ship-image.ship-image-sx-192 > img { object-position: 47% 50%; }
.featured-ship-image.ship-image-sx-386 > img { object-position: 51% 48%; }
.featured-ship-image.ship-image-sx-384 > img,
.featured-ship-image.ship-image-sx-century-legend > img { object-fit: var(--home-featured-wide-fit, contain); object-position: center; }
.featured-ship-body { display: flex; min-width: 0; min-height: var(--home-featured-ship-body-min-height, 205px); flex: 1; flex-direction: column; padding: var(--home-featured-ship-body-padding, 14px 16px 12px); }
.featured-ship-brand { color: var(--brand); font-size: 13px; font-weight: var(--home-featured-brand-weight, 600); line-height: 1.5; }
.featured-ship-body h3 { order: var(--home-featured-title-order, 0); margin: 2px 0 5px; font-size: var(--home-featured-title-size, 19px); font-weight: 600; line-height: 1.4; }
.ship-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0; min-height: var(--home-ship-tags-min-height, 20px); }
.ship-tags span { display: inline-flex; align-items: center; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 500; line-height: 1.55; white-space: nowrap; }
.ship-tags span + span::before { content: ""; width: 3px; height: 3px; margin: 0 8px; border-radius: 50%; background: #9db1bd; }
.ship-facts { margin: var(--home-ship-facts-margin, 8px 0 0); color: var(--muted); font-size: var(--home-ship-facts-font-size, 13px); line-height: 1.6; }
.ship-card-bottom { display: flex; flex-direction: var(--home-featured-bottom-direction, row); align-items: var(--home-ship-card-bottom-align-items, flex-end); justify-content: space-between; gap: 10px; margin-top: auto; padding-top: var(--home-ship-card-bottom-padding-top, 8px); border-top: var(--home-featured-bottom-border, 1px solid rgba(15, 71, 104, 0.09)); }
.ship-card-bottom > strong { display: flex; flex-wrap: wrap; align-items: baseline; color: var(--home-featured-price-color, var(--price)); font-size: var(--home-featured-price-size, 24px); line-height: 1.25; font-variant-numeric: tabular-nums;  font-family: var(--home-ship-card-bottom-strong-font-family);  font-weight: var(--home-ship-card-bottom-strong-font-weight, bolder); }
.ship-card-bottom > strong small { display: inline; margin: 0 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.ship-card-bottom a { align-self: var(--home-featured-link-align, auto); text-decoration: var(--home-featured-link-decoration, none); text-underline-offset: var(--home-featured-link-offset, auto); color: var(--home-featured-link-color, var(--brand)); font-size: var(--home-featured-link-size, 13px); font-weight: 600;  padding: var(--home-ship-card-bottom-a-padding);  border: var(--home-ship-card-bottom-a-border);  white-space: var(--home-ship-card-bottom-a-white-space); }
.featured-ship-loading { grid-column: 1 / -1; display: grid; place-items: center; min-height: 300px; border: 1px dashed var(--line-strong); border-radius: var(--radius-control); color: var(--muted); }

.price-section { padding: 48px 0; background: var(--surface); color: var(--ink); }
.price-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.price-intro { padding-top: 4px; }
.price-intro h2 { color: var(--ink); }
.price-intro > p { margin: 8px 0 16px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.price-intro > a { color: var(--brand); font-weight: 600; }
.price-view { min-width: 0; }
.price-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: var(--home-price-toolbar-padding, 5px 8px 5px 16px); border: var(--home-price-outer-border, 1px solid var(--line)); border-bottom-color: var(--line-soft); border-radius: var(--radius-section) var(--radius-section) 0 0; background: #fff; }
.price-toolbar label { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.price-route-control { position: relative; display: inline-flex; align-items: center; }
.price-toolbar select { height: 36px; padding: 0 32px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--home-price-toolbar-select-border-radius, 4px); appearance: none; background: var(--home-price-toolbar-select-background, #f5f8fa); color: var(--ink); font-size: 14px; }
.price-route-control > .ui-icon { position: absolute; right: 8px; width: 18px; height: 18px; color: var(--search-icon); pointer-events: none; }
.price-toolbar button { width: 36px; height: 36px; margin-left: 6px; border: 1px solid var(--line); border-radius: var(--home-price-toolbar-button-border-radius, 4px); background: var(--home-price-toolbar-button-background, #f5f8fa); color: var(--brand-deep); }
.price-toolbar button .ui-icon { width: 18px; height: 18px; margin: auto; }
.price-toolbar button:disabled { cursor: not-allowed; opacity: 0.36; }
.price-rail { display: flex; overflow: hidden; border: var(--home-price-outer-border, 1px solid var(--line)); border-top: 0; border-radius: 0 0 var(--radius-section) var(--radius-section); background: #fff; color: var(--ink); }
.price-day { display: flex; min-width: 0; min-height: var(--home-price-day-height, 138px); flex: 1 1 0; flex-direction: column; padding: var(--home-price-day-padding, 17px 14px 14px); border-right: 1px solid var(--line-soft); text-align: left; }
.price-day.has-sailing { flex-grow: var(--home-price-day-grow, 1.2); background: #fff; }
.price-day.is-empty { flex-grow: var(--home-price-day-grow, 0.8); background: var(--home-price-day-is-empty-background, #f5f8fa); }
.price-day:last-child { border-right: 0; }
.price-day > span { color: var(--muted); font-size: var(--home-price-day-span-font-size, 13px); font-variant-numeric: tabular-nums; }
.price-day.has-sailing > span { color: var(--ink-2); font-weight: var(--home-price-date-weight, 600); }
.price-day > strong { display: block; min-height: 24px; margin: 10px 0 6px; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.4; font-variant-numeric: tabular-nums; }
.price-day.has-sailing > strong { color: var(--price); font-size: var(--home-price-number-size, 18px); font-weight: var(--home-price-day-has-sailing-strong-font-weight, 700);  font-family: var(--home-price-day-has-sailing-strong-font-family); }
.price-day > strong .price-unit { font-size: 12px; font-weight: 400; }
.price-day > a .ui-icon { width: 14px; height: 14px; vertical-align: -2px; margin-left: 4px; }
.price-day > small { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; }
.price-day > a { display: inline-block; align-self: flex-start; margin-top: auto; color: var(--brand); font-size: 13px; font-weight: 600; }
.price-rail-loading { display: grid; min-height: 138px; flex: 1 1 auto; place-items: center; color: var(--muted); }

.brand-section { background: #fff; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--home-brand-gap, 0); overflow: hidden; border-top: var(--home-brand-line, 1px solid var(--line-soft)); border-left: var(--home-brand-line, 1px solid var(--line-soft)); border-radius: var(--radius-section); }
.brand-grid a { position: relative; display: flex; align-items: center; min-width: 0; min-height: 92px; padding: 10px 30px 10px 16px; border-right: var(--home-brand-line, 1px solid var(--line-soft)); border-bottom: var(--home-brand-line, 1px solid var(--line-soft)); background: #fff; }
.brand-grid > a > .ui-icon { position: absolute; right: 12px; width: 15px; height: 15px; color: rgba(11, 77, 120, 0.48); }
.brand-grid img { flex: 0 0 var(--home-brand-logo-width, 92px); width: var(--home-brand-logo-width, 92px); height: var(--home-brand-logo-height, 52px); margin-right: 12px; object-fit: contain; filter: var(--home-brand-grid-img-filter, saturate(0.9)); }
.brand-grid span { display: grid; gap: 3px; min-width: 0; }
.brand-grid strong { font-size: var(--home-brand-label-size, 15px); font-weight: 600; }
.brand-grid small { color: var(--muted); font-size: 13px; line-height: 1.45; white-space: normal; }


.guide-section { padding-bottom: 48px; background: #fff; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr); gap: 40px; align-items: start; }
.guide-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.guide-heading h2 { margin: 0; color: var(--ink); font-size: 26px; font-weight: 600; line-height: 1.3; }
.guide-heading > a { flex-shrink: 0; color: var(--brand); font-size: 14px; }
.guide-list { display: flex; flex-direction: column; }
.guide-list > a { position: relative; display: block; min-width: 0; padding: 16px 68px 16px 0; border-bottom: 1px solid var(--line-soft); }
.guide-list > a:first-child { padding-top: 0; }
.guide-list > a:last-child { border-bottom: 0; padding-bottom: 0; }
.guide-list > a > span:first-child { color: var(--muted); font-size: 12px; font-weight: 400; }
.guide-list strong { display: block; margin-top: 4px; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.5; }
.guide-list > a:hover strong { color: var(--brand); }
.guide-list p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.guide-read { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-size: 13px; }
.faq-panel details { border-bottom: 1px solid var(--line-soft); }
.faq-panel summary { position: relative; padding: 16px 28px 16px 0; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-icon { position: absolute; right: 0; top: 50%; width: 20px; height: 20px; color: var(--brand); transform: translateY(-50%); transition: transform 150ms ease-out; }
.faq-panel details[open] .faq-icon { transform: translateY(-50%) rotate(180deg); }
.faq-panel details p { margin: -2px 0 16px; color: var(--muted); font-size: 14px; line-height: 1.75; }



/* Keep the native hidden contract above later component display rules. */
[hidden] { display: none; }

@media (hover: hover) and (pointer: fine) {
  .quick-routes button:hover,
.quick-brands button:hover,
.heading-with-action > a:hover,
.price-intro > a:hover,
.need-card a:hover,
.ship-card-bottom a:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.sailing-bottom > a:hover { color: var(--home-sailing-bottom-a-hover-color, var(--brand-hover)); background: var(--home-sailing-bottom-a-hover-background, transparent); text-decoration: var(--home-sailing-bottom-a-hover-text-decoration, underline); text-underline-offset: 3px; }
  .search-submit:hover { background: #0084ff; }
  
  .hero-action:hover { border-color: #fff; background: rgba(255, 255, 255, 0.14); }
  .need-tabs button:hover { color: var(--brand); }
  .need-tabs button.is-active:hover { color: #fff; }
  .ship-filter button:hover { color: var(--brand); }
  .ship-filter button.is-active:hover { color: #fff; }
  .sailing-card,
  .need-card,
  .featured-ship-card { transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 160ms ease-out; }
  .brand-grid a { transition: background-color 160ms ease-out; }
  .sailing-card:hover,
  .need-card:hover { transform: translateY(-1px); border-color: rgba(11, 77, 120, 0.24); box-shadow: var(--shadow-card); }
  .featured-ship-card:hover { transform: var(--home-featured-hover-transform, translateY(-1px)); border-color: rgba(11, 77, 120, 0.24); box-shadow: var(--home-featured-hover-shadow, var(--shadow-card)); }
  .brand-grid a:hover { background: var(--home-brand-hover-background, var(--surface)); color: var(--home-brand-hover-color, inherit); }
  .brand-grid a:hover > .ui-icon { color: var(--home-brand-hover-color, rgba(11, 77, 120, 0.48)); }
  .brand-grid a:hover img { filter: saturate(1); }
  .arrow-link > .ui-icon { transition: transform 160ms ease-out; }
  .arrow-link:hover > .ui-icon { transform: translateX(2px); }

  #back-to-top:hover { border-color: #9dbfd2; background: #f2f8fc; color: var(--brand-deep); }
}

@keyframes skeleton { to { background-position: -200% 0; } }

@media (max-width: 1439px) {
  .page-width { width: 1200px; }
  .hero-copy { width: 520px; }
  .featured-ship-image { width: 100%; }
}

@media (max-width: 1319px) {
  .page-width { width: 1180px; }
  .hero-copy { width: 500px; }
  .sailing-content { padding-right: 18px; padding-left: 18px; }
  .featured-ship-image { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms; animation-iteration-count: 1; transition-duration: 0.01ms; }
}

@media (max-width: 900px) { .need-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 900px) { .need-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.home-product-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.home-product-tabs button { padding:9px 14px; border:1px solid var(--line); border-radius:3px; color:var(--brand); background:#fff; }
.home-product-tabs button[aria-pressed="true"] { background:#329bfa; color:#fff; border-color:#329bfa; }
@media (min-width: 901px) and (max-width: 1399px) { .page-width { width:calc(100% - 144px); } }

