/* The ship page's price line, jump links, sticky bar and Cruises and Prices section. */

/* Price line under the rating: the headline price, then a button down to the cruises. */

.sx-teaser {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 12px 0 0;
  padding: 8px 8px 8px 16px;
  border: 1px solid #d6e4ef;
  border-radius: 10px;
  background: #f4f8fb;
}

.sx-teaser-price {
  margin: 0;
  color: #3b4a56;
  font-size: 15px;
  line-height: 1.3;
}

.sx-teaser-price strong {
  margin: 0 2px;
  color: #004a83;
  font-size: 22px;
}

.sx-teaser-unit {
  color: #5b6b78;
  font-size: 13px;
}

.sx-teaser-cta {
  padding: 8px 14px;
  border-radius: 6px;
  background: #004a83;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.sx-teaser-cta::after {
  content: "\203A";
  margin-left: 6px;
}

/* Jump links: a full-width bar under the page header, lined up with the content below. */

.jx {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 30px;
  margin: 18px 0 16px;
  padding: 0;
  border-top: 1px solid #e1e8ee;
  border-bottom: 1px solid #e1e8ee;
}

.jx a {
  display: inline-block;
  margin-bottom: -1px;
  padding: 13px 0 11px;
  border-bottom: 3px solid transparent;
  color: #2b3a46;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.jx a .jx-c {
  margin-left: 4px;
  color: #8a98a3;
  font-size: 13px;
  font-weight: normal;
}

.jx-fixed {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9000;
  border-bottom: 1px solid #e1e8ee;
  background: #fff;
  box-shadow: 0 6px 18px rgb(0 40 80 / 8%);
  transform: translateY(-110%);
  transition: transform 0.2s ease;
}

.jx-fixed.on {
  transform: none;
}

.jx-fixed .jx-in {
  display: flex;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  max-width: 1042px;
  margin: 0 auto;
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
}

.jx-fixed .jx {
  flex: 1;
  flex-wrap: nowrap;
  gap: 0 22px;
  min-width: 0;
  margin: 0;
  padding-right: 28px;
  border: 0;
  overflow: auto hidden;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
}

.jx-fixed .jx::-webkit-scrollbar {
  display: none;
}

.jx-fixed .jx-name {
  flex-shrink: 0;
  color: #004a83;
  font-size: 15px;
  font-weight: bold;
  white-space: nowrap;
}

.jx-cta {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.jx-cta span {
  color: #5b6b78;
  font-size: 13px;
}

.jx-cta b {
  color: #004a83;
  font-size: 18px;
}

.jx-cta a {
  padding: 8px 14px;
  border-radius: 6px;
  background: #004a83;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

/* The section. */

.sx {
  margin: 40px 0 0;
  color: #1f2a33;
  scroll-margin-top: 70px;
}

[id="deals_content_container"],
[id="tabs_section"] {
  scroll-margin-top: 70px;
}

.sx h2 {
  margin: 0 0 8px;
  color: #004a83;
  font-size: 28px;
  line-height: 1.2;
}

.sx-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0 0 14px;
  padding: 0;
  color: #2e5d3a;
  font-size: 14px;
  list-style: none;
}

.sx-trust li::before {
  content: "\2713";
  margin-right: 7px;
  color: #2e7d32;
  font-weight: bold;
}

.sx-lead {
  max-width: 90ch;
  margin: 0 0 22px;
  color: #3b4a56;
  font-size: 16px;
  line-height: 1.6;
}

.sx-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.sx-pills button {
  padding: 8px 15px;
  border: 1px solid #cfdde8;
  border-radius: 999px;
  background: #fff;
  color: #1f2a33;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.sx-pills button b {
  color: #004a83;
}

.sx-pills button span {
  margin-left: 4px;
  color: #8a98a3;
  font-size: 12px;
}

/* Itinerary cards: the trip on the left, the price in its own column on the right. */

.sx-list {
  display: grid;
  gap: 16px;
}

.sx-it {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  border: 1px solid #dfe7ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 40 64 / 4%);
}

.sx-info {
  padding: 22px 28px 24px;
}

.sx-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 8px;
  color: #5b6b78;
  font-size: 13px;
}

.sx-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: #e6f1fa;
  color: #0b5a94;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sx-it h3 {
  margin: 0 0 6px;
  color: #1f2a33;
  font-size: 20px;
  line-height: 1.3;
}

.sx-route {
  margin: 0 0 18px;
  color: #5b6b78;
  font-size: 14px;
  line-height: 1.5;
}

.sx-dep-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 8px;
  font-size: 13px;
}

.sx-dep-label {
  color: #3b4a56;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sx-dep-range {
  color: #7a8994;
}

.sx-dep-date {
  color: #1f2a33;
  font-size: 15px;
  font-weight: bold;
}

.sx-next {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sx-next a {
  display: block;
  padding: 6px 12px;
  border: 1px solid #dfe7ee;
  border-radius: 6px;
  background: #fff;
  color: #3b4a56;
  font-size: 13px;
  text-decoration: none;
}

.sx-next a b {
  margin-left: 6px;
  color: #004a83;
}

.sx-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
  border-left: 1px solid #e8eef3;
  border-radius: 0 12px 12px 0;
  background: #fafcfd;
  text-align: center;
}

.sx-from {
  color: #5b6b78;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sx-price strong {
  margin: 2px 0;
  color: #004a83;
  font-size: 32px;
  line-height: 1.1;
}

.sx-price strong.sx-ask {
  font-size: 22px;
}

.sx-ask a {
  color: inherit;
  text-decoration: underline;
}

.sx-pp {
  color: #5b6b78;
  font-size: 12px;
}

.sx-night {
  margin-top: 4px;
  color: #2e7d32;
  font-size: 13px;
}

.sx-btn {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid #004a83;
  border-radius: 6px;
  background: #fff;
  color: #004a83;
  font: inherit;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.sx-dates {
  grid-column: 1 / -1;
  padding: 18px 28px 22px;
  border-top: 1px solid #e8eef3;
}

.sx-dates ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sx-dates a {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid #e3eaef;
  border-radius: 6px;
  color: #1f2a33;
  font-size: 13px;
  text-decoration: none;
}

.sx-dates a b {
  color: #004a83;
}

/* Card photo (a port the cruise visits) and the route map. */

.sx-it.sx-has-photo {
  grid-template-columns: 220px minmax(0, 1fr) 260px;
}

.sx-photo {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
  background: #e6eef4;
}

.sx-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sx-photo-cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 10px 7px;
  background: linear-gradient(to top, rgb(0 0 0 / 55%), transparent);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.sx-dates-map {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.sx-dates[hidden] {
  display: none;
}

.sx-map {
  margin: 0;
}

.sx-map img,
.sx-mapbox img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 1px solid #e3eaef;
  border-radius: 8px;
}

.sx-map figcaption {
  margin-top: 6px;
  color: #7a8994;
  font-size: 12px;
}

.sx-mapbox {
  margin-top: 10px;
}

.sx-mapbox summary {
  color: #1a7dde;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

.sx-mapbox img {
  margin-top: 10px;
}

/* Below the list: show the rest, then where to go next, then the fine print. */

.sx-tours {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin: 26px 0 0;
  padding: 22px 26px;
  border: 1px solid #ecdcbc;
  border-radius: 12px;
  background: #fdf7ec;
}

.sx-tours-text {
  flex: 1 1 420px;
  min-width: 0;
}

.sx-tours h3 {
  margin: 0 0 6px;
  color: #1f2a33;
  font-size: 19px;
}

.sx-tours p {
  max-width: 75ch;
  margin: 0;
  color: #3b4a56;
  font-size: 15px;
  line-height: 1.55;
}

.sx-tours p strong {
  color: #004a83;
}

.sx-tours-cta {
  flex-shrink: 0;
  padding: 11px 20px;
  border-radius: 6px;
  background: #004a83;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.sx-tours-cta::after {
  content: "\203A";
  margin-left: 6px;
}

.sx-more {
  margin: 18px 0 0;
  text-align: center;
}

.sx-more button {
  padding: 11px 26px;
  border: 1px solid #cfdde8;
  border-radius: 999px;
  background: #fff;
  color: #004a83;
  font: inherit;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.sx-more button::after {
  content: "\25BE";
  display: inline-block;
  margin-left: 8px;
}

.sx-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #e1e8ee;
}

.sx-foot-all {
  color: #1a7dde;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

.sx-foot-all::after {
  content: "\203A";
  margin-left: 6px;
}



.sx-fine {
  margin: 16px 0 0;
  padding: 0 0 40px;
  color: #7a8994;
  font-size: 12px;
  line-height: 1.6;
}

.sx-hide {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .jx-fixed {
    transition: none;
  }
}

/* Sticky bar links, after the other link rules they are more specific than. */

.jx-fixed .jx a {
  padding: 15px 0 12px;
  font-size: 14px;
}

/* States, after the base rules they override. */

.jx a:hover,
.jx a[aria-current="true"] {
  border-bottom-color: #004a83;
  color: #004a83;
}

.jx a:focus-visible {
  outline: 2px solid #1a7dde;
  outline-offset: 2px;
}

.sx-teaser-cta:hover,
.jx-cta a:hover,
.sx-tours-cta:hover {
  background: #003a68;
}

.sx-pills button:hover {
  border-color: #47a3da;
}

.sx-pills button[aria-pressed="true"] {
  border-color: #004a83;
  background: #004a83;
  color: #fff;
}

.sx-pills button[aria-pressed="true"] b,
.sx-pills button[aria-pressed="true"] span {
  color: #fff;
}

.sx-next a:hover,
.sx-dates a:hover {
  border-color: #47a3da;
}

.sx-btn:hover,
.sx-btn[aria-expanded="true"] {
  background: #004a83;
  color: #fff;
}

.sx-more button:hover {
  border-color: #47a3da;
}

.sx-more button[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.sx-foot-all:hover {
  text-decoration: underline;
}

@media (width <= 1100px) {
  .jx-fixed .jx-name {
    display: none;
  }
}

@media (width <= 767px) {
  .sx-teaser {
    display: flex;
    padding: 10px 10px 10px 14px;
  }

  .sx-it,
  .sx-it.sx-has-photo {
    grid-template-columns: 1fr;
  }

  .sx-photo {
    aspect-ratio: 16 / 7;
    border-radius: 12px 12px 0 0;
  }

  .sx-dates-map {
    grid-template-columns: 1fr;
  }

  .sx-info {
    padding: 18px 18px 16px;
  }

  .sx-price {
    flex-flow: row wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 2px 8px;
    padding: 14px 18px 18px;
    border-top: 1px solid #e8eef3;
    border-left: 0;
    border-radius: 0 0 12px 12px;
    text-align: left;
  }

  .sx-btn {
    margin-top: 10px;
  }

  .sx-dates {
    padding: 14px 18px 18px;
  }

  .sx-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  /* One row that scrolls sideways, with no scroll bars: the right edge fades out to show
     that more links continue, as app tab bars do. */
  .jx {
    flex-wrap: nowrap;
    gap: 0 22px;
    padding-right: 28px;
    overflow: auto hidden;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  }

  .jx::-webkit-scrollbar {
    display: none;
  }

  .jx a {
    margin-bottom: 0;
  }

  .jx-fixed .jx-name,
  .jx-cta span {
    display: none;
  }
}
