/* Shared visual bridge from the editorial homepage into product discovery. */
body.sx-product-chrome {
  --sx-product-paper: #f0efeb;
  --sx-product-charcoal: #222222;
  --sx-product-near-black: #151515;
  --sx-product-accent: #ff5a1f;
  --sx-product-accent-dark: #dc4312;
  background: var(--sx-product-paper);
}

/* Product archive: travel editorial hero followed by a practical catalogue. */
.sx-archive-journeys {
  min-width: 0;
  overflow: clip;
  background: var(--sx-product-paper);
}

.sx-catalog-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #1e2523 var(--sx-catalog-hero-image) center 56% / cover no-repeat;
  color: #fff;
}

.sx-catalog-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 18, 17, 0.9) 0%, rgba(13, 18, 17, 0.67) 42%, rgba(13, 18, 17, 0.14) 75%),
    linear-gradient(0deg, rgba(10, 12, 12, 0.48), transparent 46%);
  content: "";
}

.sx-catalog-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: end;
  gap: 72px;
  padding-block: 104px 70px;
}

.sx-catalog-hero__copy {
  max-width: 760px;
}

.sx-catalog-hero__copy > p,
.sx-catalog-intro > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
}

.sx-catalog-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(64px, 6vw, 88px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.sx-catalog-hero__copy > span {
  display: block;
  max-width: 620px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.85;
}

.sx-catalog-hero__copy > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--sx-product-accent);
  color: #111;
  font-size: 14px;
  font-weight: 750;
  transition: background 180ms ease, transform 180ms ease;
}

.sx-catalog-hero__copy > a:hover {
  background: #ff6f3b;
  transform: translateY(-2px);
}

.sx-catalog-hero__stat {
  display: grid;
  align-self: end;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.52);
}

.sx-catalog-hero__stat strong {
  font-size: 52px;
  font-weight: 650;
  line-height: 1;
}

.sx-catalog-hero__stat span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.sx-catalog-body {
  padding: 94px 0 124px;
  scroll-margin-top: 24px;
}

.sx-catalog-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 54px;
  padding-bottom: 32px;
  border-bottom: 1px solid #cac8c1;
}

.sx-catalog-intro > p {
  margin: 0;
  color: #55534e;
}

.sx-catalog-intro > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.sx-catalog-intro h2 {
  margin: 0;
  color: #202020;
  font-size: 42px;
  line-height: 1.2;
}

.sx-catalog-intro span {
  max-width: 480px;
  color: #6b6963;
  font-size: 14px;
  line-height: 1.8;
}

.sx-archive-journeys .sx-catalog-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
}

.sx-archive-journeys .sx-product-filters {
  top: calc(var(--sx-admin-offset) + 24px);
  gap: 20px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: var(--sx-product-charcoal);
  color: #fff;
  box-shadow: 0 22px 52px rgba(26, 25, 22, 0.12);
}

.sx-archive-journeys .sx-product-filters > header {
  padding-bottom: 18px;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sx-archive-journeys .sx-product-filters > header strong {
  color: #fff;
  font-size: 21px;
}

.sx-archive-journeys .sx-product-filters > header a,
.sx-archive-journeys .sx-product-filters label > span {
  color: rgba(255, 255, 255, 0.7);
}

.sx-archive-journeys .sx-product-filters input,
.sx-archive-journeys .sx-product-filters select {
  height: 48px;
  border: 1px solid #555;
  border-radius: 0;
  background-color: #2b2b2b;
  color: #fff;
}

.sx-archive-journeys .sx-product-filters input::placeholder {
  color: #a6a6a6;
}

.sx-archive-journeys .sx-filter-search .sx-icon {
  color: #b8b8b8;
}

.sx-archive-journeys .sx-product-filters__actions .sx-button {
  min-height: 48px;
  border-radius: 0;
  background: var(--sx-product-accent);
  color: #111;
}

.sx-archive-journeys .sx-product-filters__actions .sx-button:hover {
  background: #ff6f3b;
}

.sx-archive-journeys .sx-results-heading {
  margin-bottom: 28px;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid #cac8c1;
  border-radius: 0;
  background: transparent;
}

.sx-archive-journeys .sx-results-heading strong {
  color: #202020;
  font-size: 24px;
}

.sx-archive-journeys .sx-results-heading span {
  color: #77746e;
}

.sx-archive-journeys .sx-results-heading > a {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sx-product-accent-dark);
  font-size: 13px;
}

.sx-archive-journeys .sx-journey-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.sx-archive-journeys .sx-journey-card {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 16px 42px rgba(35, 33, 28, 0.08);
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.sx-archive-journeys .sx-journey-card:hover {
  box-shadow: 0 24px 56px rgba(35, 33, 28, 0.14);
  transform: translateY(-6px);
}

.sx-archive-journeys .sx-journey-card:only-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(380px, 1.15fr) minmax(310px, 0.85fr);
}

.sx-archive-journeys .sx-journey-card__image {
  min-height: 320px;
  border-radius: 0;
}

.sx-archive-journeys .sx-journey-card:only-child .sx-journey-card__image {
  min-height: 430px;
  aspect-ratio: auto;
}

.sx-archive-journeys .sx-journey-card__image > span {
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border: 0;
  border-radius: 0;
  background: var(--sx-product-near-black);
  color: #fff;
}

.sx-archive-journeys .sx-journey-card__body {
  justify-content: center;
  padding: 34px;
}

.sx-archive-journeys .sx-journey-card h2 {
  margin-bottom: 14px;
  color: #202020;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
}

.sx-archive-journeys .sx-journey-card__body > p {
  color: #6f6c66;
  font-size: 15px;
  line-height: 1.8;
}

.sx-archive-journeys .sx-journey-card__footer {
  padding-top: 20px;
  border-top-color: #dedbd4;
}

.sx-archive-journeys .sx-journey-card__footer strong {
  color: var(--sx-product-accent-dark);
}

.sx-archive-journeys .page-numbers.current,
.sx-archive-journeys .page-numbers:hover {
  border-color: var(--sx-product-near-black);
  background: var(--sx-product-near-black);
}

/* Product detail: dark photographic opening, warm paper content, orange action. */
body.single-itineraries #main-content {
  background: var(--sx-product-paper);
}

.sx-reference-product {
  --sx-product-ink: #202020;
  --sx-product-text: #353535;
  --sx-product-muted: #6f6c66;
  --sx-product-faint: #a8a49c;
  --sx-product-line: #d5d2ca;
  --sx-product-soft: #e8e6e0;
  --sx-product-blue: var(--sx-product-accent);
  --sx-product-blue-dark: var(--sx-product-accent-dark);
  --sx-product-orange: var(--sx-product-accent);
  --sx-product-width: 1296px;
  --sx-product-wide-width: 1296px;
  background: linear-gradient(to bottom, var(--sx-product-charcoal) 0 563px, var(--sx-product-paper) 563px 100%);
}

.sx-reference-product > .sx-reference-breadcrumb {
  width: min(1296px, calc(100% - 144px));
  color: rgba(255, 255, 255, 0.58);
}

.sx-reference-product > .sx-reference-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.sx-reference-product > .sx-reference-breadcrumb a:hover {
  color: var(--sx-product-accent);
}

.sx-reference-product > .sx-reference-content,
.sx-reference-product > .sx-reference-section.sx-reference-content,
.sx-reference-product .sx-reference-anchor-nav > .sx-reference-content,
.sx-reference-product .sx-reference-included > .sx-reference-content,
.sx-reference-product .sx-reference-faqs > .sx-reference-content {
  width: min(1296px, calc(100% - 144px));
}

.sx-reference-stage {
  column-gap: 20px;
  padding-bottom: 96px;
}

.sx-reference-gallery-side {
  gap: 14px;
  background: var(--sx-product-charcoal);
}

.sx-reference-gallery-main,
.sx-reference-gallery-side {
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
}

.sx-reference-product-info {
  padding-top: 58px;
}

.sx-reference-meta b {
  color: var(--sx-product-accent-dark);
}

.sx-reference-product-info h1 {
  max-width: 760px;
  font-size: clamp(44px, 4.1vw, 60px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.sx-reference-subtitle {
  color: #46433e;
  font-size: 17px;
  line-height: 1.7;
}

.sx-reference-calendar {
  margin-top: 34px;
  border: 0;
  background: #fff;
  box-shadow: 0 18px 46px rgba(35, 33, 28, 0.08);
}

.sx-reference-booking {
  min-height: 150px;
  margin-top: 58px;
  padding: 28px 34px;
  border: 0;
  background: var(--sx-product-near-black);
  color: #fff;
}

.sx-reference-booking .sx-reference-favorite,
.sx-reference-booking .sx-reference-favorite .sx-icon,
.sx-reference-booking .sx-reference-price small {
  color: rgba(255, 255, 255, 0.74);
}

.sx-reference-booking .sx-reference-booking-date {
  border-color: #4c4c4c;
  background: #242424;
}

.sx-reference-booking .sx-reference-booking-date strong,
.sx-reference-booking .sx-reference-booking-date .sx-icon {
  color: #fff;
}

.sx-reference-booking .sx-reference-price-currency,
.sx-reference-booking .sx-reference-price-amount {
  color: var(--sx-product-accent);
}

.sx-reference-book-button,
.sx-reference-submit {
  border-radius: 0;
  background: var(--sx-product-accent);
  color: #111;
}

.sx-reference-book-button:hover,
.sx-reference-submit:hover {
  background: #ff6f3b;
}

.sx-reference-anchor-nav {
  background: rgba(21, 21, 21, 0.97);
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.13);
}

.sx-reference-anchor-nav button {
  color: rgba(255, 255, 255, 0.62);
}

.sx-reference-anchor-nav button:hover,
.sx-reference-anchor-nav button.is-active {
  color: #fff;
}

.sx-reference-anchor-nav button::after,
.sx-reference-anchor-nav button.is-active::after {
  background: var(--sx-product-accent);
}

.sx-reference-product .sx-reference-itinerary.sx-reference-section {
  padding-top: 110px;
  padding-bottom: 126px;
}

.sx-reference-product .sx-reference-itinerary > .sx-reference-kicker {
  color: var(--sx-product-accent-dark);
}

.sx-reference-product .sx-reference-itinerary > h2,
.sx-reference-information-heading h2,
.sx-reference-faqs h2 {
  color: #202020;
  letter-spacing: -0.025em;
}

.sx-reference-product .sx-reference-day-tabs button.is-active,
.sx-reference-product .sx-reference-day-tabs button[aria-selected="true"] {
  background: var(--sx-product-near-black);
  color: #fff;
}

.sx-reference-product .sx-reference-itinerary-layout {
  background: #e7e5df;
}

.sx-reference-included,
.sx-reference-faqs {
  background: #fff;
}

.sx-reference-notices {
  background: var(--sx-product-paper);
}

.sx-reference-summary-board,
.sx-reference-term-group,
.sx-reference-notice-list details {
  border-color: #d4d1c9;
  border-radius: 0;
}

.sx-reference-summary-item .sx-icon,
.sx-reference-term-group summary .sx-icon,
.sx-reference-notice-list summary .sx-icon {
  color: var(--sx-product-accent-dark);
}

.sx-reference-floating-booking {
  border-top-color: #3d3d3d;
  background: rgba(21, 21, 21, 0.97);
  color: #fff;
}

.sx-reference-floating-booking .sx-reference-favorite,
.sx-reference-floating-booking .sx-reference-price small,
.sx-reference-floating-booking .sx-reference-booking-date strong,
.sx-reference-floating-booking .sx-reference-booking-date .sx-icon {
  color: #fff;
}

.sx-reference-floating-booking .sx-reference-price-currency,
.sx-reference-floating-booking .sx-reference-price-amount {
  color: var(--sx-product-accent);
}

@media (max-width: 1100px) {
  .sx-catalog-hero__inner,
  .sx-reference-product > .sx-reference-breadcrumb,
  .sx-reference-product > .sx-reference-content,
  .sx-reference-product > .sx-reference-section.sx-reference-content,
  .sx-reference-product .sx-reference-anchor-nav > .sx-reference-content,
  .sx-reference-product .sx-reference-included > .sx-reference-content,
  .sx-reference-product .sx-reference-faqs > .sx-reference-content {
    width: calc(100% - 80px);
  }

  .sx-archive-journeys .sx-catalog-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
  }

  .sx-archive-journeys .sx-journey-card:only-child {
    grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 900px) {
  .sx-catalog-hero,
  .sx-catalog-hero__inner {
    min-height: 560px;
  }

  .sx-catalog-hero__inner {
    width: calc(100% - 48px);
    grid-template-columns: minmax(0, 1fr);
    padding-block: 86px 52px;
  }

  .sx-catalog-hero__stat {
    width: 180px;
  }

  .sx-catalog-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .sx-catalog-intro > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .sx-archive-journeys .sx-catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sx-archive-journeys .sx-product-filters {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sx-archive-journeys .sx-product-filters > header,
  .sx-archive-journeys .sx-product-filters__actions {
    grid-column: 1 / -1;
  }

  .sx-reference-product {
    background: linear-gradient(to bottom, var(--sx-product-charcoal) 0 430px, var(--sx-product-paper) 430px 100%);
  }

  .sx-reference-product > .sx-reference-content,
  .sx-reference-product > .sx-reference-section.sx-reference-content,
  .sx-reference-product .sx-reference-anchor-nav > .sx-reference-content,
  .sx-reference-product .sx-reference-included > .sx-reference-content,
  .sx-reference-product .sx-reference-faqs > .sx-reference-content {
    width: calc(100% - 40px);
  }

  .sx-reference-booking {
    padding: 26px;
  }
}

@media (max-width: 700px) {
  .sx-catalog-hero {
    min-height: 520px;
    background-position: 46% center;
  }

  .sx-catalog-hero__inner {
    min-height: 520px;
    gap: 30px;
    padding-block: 72px 38px;
  }

  .sx-catalog-hero__copy > p {
    font-size: 17px;
  }

  .sx-catalog-hero h1 {
    font-size: 54px;
  }

  .sx-catalog-hero__copy > span {
    margin-top: 20px;
    font-size: 14px;
  }

  .sx-catalog-hero__copy > a {
    min-height: 44px;
    margin-top: 22px;
  }

  .sx-catalog-hero__stat {
    display: none;
  }

  .sx-catalog-body {
    padding: 66px 0 90px;
  }

  .sx-catalog-intro {
    margin-bottom: 36px;
  }

  .sx-catalog-intro h2 {
    font-size: 34px;
  }

  .sx-archive-journeys .sx-product-filters {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 20px;
  }

  .sx-archive-journeys .sx-product-filters > header,
  .sx-archive-journeys .sx-product-filters__actions {
    grid-column: auto;
  }

  .sx-archive-journeys .sx-results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sx-archive-journeys .sx-journey-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sx-archive-journeys .sx-journey-card:only-child {
    display: flex;
    grid-column: auto;
  }

  .sx-archive-journeys .sx-journey-card:only-child .sx-journey-card__image,
  .sx-archive-journeys .sx-journey-card__image {
    min-height: 260px;
    aspect-ratio: 1.25;
  }

  .sx-archive-journeys .sx-journey-card__body {
    padding: 26px 22px;
  }

  .sx-archive-journeys .sx-journey-card h2 {
    font-size: 30px;
  }

  .sx-reference-product {
    background: linear-gradient(to bottom, var(--sx-product-charcoal) 0 360px, var(--sx-product-paper) 360px 100%);
  }

  .sx-reference-stage {
    padding-bottom: 72px;
  }

  .sx-reference-product-info {
    padding-top: 38px;
  }

  .sx-reference-product-info h1 {
    font-size: 42px;
  }

  .sx-reference-booking {
    margin-top: 38px;
    padding: 24px 20px;
  }

  .sx-reference-product .sx-reference-itinerary.sx-reference-section {
    padding-top: 76px;
    padding-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sx-catalog-hero__copy > a,
  .sx-archive-journeys .sx-journey-card {
    transition: none;
  }
}
