/* Shared browsing controls and compact cards; mobile first. */
.continent-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.continent-photo-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 1/1.12;
  overflow: hidden;
  border-radius: 20px;
  display: block;
  color: #fff;
  text-decoration: none;
  background: #243860;
  isolation: isolate;
}
.continent-photo-card > picture,
.continent-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.continent-photo {
  transition: transform 0.35s;
}
.continent-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #182d4910 20%, #17274725 45%, #172747df);
  pointer-events: none;
}
.continent-photo-caption {
  position: absolute;
  bottom: 19px;
  left: 17px;
  right: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.continent-photo-caption strong {
  font:
    700 clamp(15px, 2vw, 20px)/1.35 Manrope,
    sans-serif;
  letter-spacing: -0.03em;
  color: #fff;
}
.continent-photo-caption > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  flex-shrink: 0;
}
.continent-photo-eyebrow {
  position: absolute;
  top: 15px;
  left: 16px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: white;
}
.continent-photo-card:hover .continent-photo {
  transform: scale(1.04);
}
.category-subnavigation {
  padding: 28px 0 32px;
  border-bottom: 1px solid #e0e5df;
  margin-bottom: 24px;
}
.category-subnavigation h2 {
  font:
    700 22px/1.4 Manrope,
    sans-serif;
  letter-spacing: -0.04em;
  margin: 9px 0 20px;
}
.subcategory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.subcategory-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: #fff;
  border: 1px solid #dbe2eb;
  border-radius: 12px;
  padding: 12px 15px;
  min-height: 46px;
  font-size: 13px;
  color: #243860;
  text-decoration: none;
}
.subcategory-links a:hover {
  background: #243860;
  color: white;
  border-color: #243860;
}
.destination-breadcrumb {
  flex-wrap: wrap;
}
.compact-final-call .mobile-final-call {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  overflow: visible;
  margin: 0;
  padding: 0;
  scroll-snap-type: none;
}
.compact-final-call .final-call-card {
  box-sizing: border-box;
  display: flex !important;
  align-items: stretch;
  gap: 14px;
  width: auto;
  min-width: 0;
  max-width: none;
  flex: none;
  padding: 14px;
  background: #fff;
  border: 1px solid #dde3e9;
  border-radius: 17px;
  text-decoration: none;
  color: #243860;
  box-shadow: 0 3px 15px #24386005;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.compact-final-call .final-call-card:hover,
.compact-final-call .final-call-card:focus-visible {
  background: #fff;
  color: #243860;
  border-color: #b5c3d7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #24386010;
}
.compact-final-call .final-call-card > picture,
.compact-final-call .final-call-card > img,
.final-call-thumb-placeholder {
  flex: 0 0 82px;
  width: 82px;
  height: 110px;
  border-radius: 11px;
  overflow: hidden;
  object-fit: cover;
}
.compact-final-call .final-call-card > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final-call-thumb-placeholder {
  display: grid;
  place-items: center;
  background: #e8edf4;
  color: #667b9d;
}
.final-call-thumb-placeholder svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.compact-final-call .final-call-card-body {
  min-width: 0;
  flex: 1;
}
.compact-final-call .final-call-card-body > strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font:
    700 14px/1.45 Manrope,
    sans-serif;
  letter-spacing: -0.025em;
  color: #243860;
  margin: 0 0 5px;
}
.compact-final-call .final-call-card-body small {
  display: block;
  font-size: 11px;
  line-height: 1.65;
  color: #69778e;
}
.compact-final-call .final-call-pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 6px;
  margin: 7px 0;
}
.compact-final-call .final-call-pricing > b {
  font-size: 19px;
  line-height: 1.3;
  color: #243860;
}
.compact-final-call .price-badge {
  font-size: 8px !important;
  padding: 4px 6px !important;
  min-height: 0 !important;
}
.compact-final-call .final-call-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffde76;
  color: #243860;
  padding: 7px 11px;
  border-radius: 8px;
  min-height: 34px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 9px;
}
.compact-final-call .final-call-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.compact-final-call .price-original {
  font-size: 10px;
}
.final-call-heading {
  margin-bottom: 22px;
}
.history-entry svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.history-entry {
  flex-shrink: 0;
}
.destination-picker {
  position: relative;
  width: 100%;
  min-width: 0;
  text-align: left;
}
.destination-native-value {
  display: none !important;
}
.destination-combobox {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.destination-combobox input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid #d8dfd7;
  background: #fff;
  color: #243860;
  border-radius: 11px;
  min-height: 46px;
  padding: 12px 38px 12px 13px;
  font:
    500 14px/1.4 'DM Sans',
    sans-serif;
  outline-offset: 2px;
}
.destination-combobox input::placeholder {
  color: #6b7890;
}
.destination-combobox input:focus {
  outline: 2px solid #a5b2cd;
}
.destination-clear,
.destination-chevron {
  position: absolute;
  right: 6px;
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #243860;
}
.destination-clear {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.destination-chevron {
  font-size: 20px;
  pointer-events: none;
}
.destination-suggestions {
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 7px);
  z-index: 90;
  max-height: 270px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid #dbe2ed;
  border-radius: 13px;
  box-shadow: 0 12px 32px #24386022;
  padding: 5px;
}
.destination-suggestions > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: white;
  color: #243860;
  padding: 12px;
  min-height: 44px;
  text-align: left;
  font:
    500 13px/1.5 'DM Sans',
    sans-serif;
  cursor: pointer;
}
.destination-suggestions > button:hover,
.destination-suggestions > button.highlighted {
  background: #edf1f8;
}
.destination-suggestions > button[aria-selected='true'] {
  background: #243860;
  color: #fff;
}
.destination-suggestions > p {
  font-size: 12px;
  color: #69778e;
  padding: 12px;
  line-height: 1.7;
}
.field:has(.destination-picker) {
  position: relative;
  overflow: visible;
}
.search-panel:has(.destination-suggestions) {
  overflow: visible;
  position: relative;
  z-index: 55;
}
.catalog-filters:has(.destination-suggestions) {
  overflow: visible;
}
.search-sheet-body {
  overflow: visible;
}
@media (min-width: 700px) {
  .continent-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .continent-photo-card {
    aspect-ratio: 1/1.1;
  }
  .compact-final-call .mobile-final-call {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .compact-final-call .mobile-final-call {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .mobile-nav > a,
  .mobile-nav > button {
    min-width: 0;
    flex: 1;
    font-size: 10px;
  }
  .history-entry span {
    display: none;
  }
  .destination-combobox input {
    font-size: 16px;
  }
  .destination-suggestions {
    max-height: 230px;
  }
  .continent-photo-caption {
    left: 14px;
    right: 14px;
    bottom: 16px;
  }
  .continent-photo-eyebrow {
    font-size: 7px;
    left: 14px;
  }
  .product-detail-page .heading-actions {
    gap: 5px;
  }
  .product-detail-page .history-entry {
    padding: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .continent-photo,
  .compact-final-call .final-call-card {
    transition: none;
  }
}

/* One row for either four or five mobile navigation entries. */
@media (max-width: 760px) {
  .wt-viewer .mobile-nav {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    align-items: stretch;
  }
  .wt-viewer .mobile-nav > a,
  .wt-viewer .mobile-nav > button {
    box-sizing: border-box;
    min-width: 0;
    min-height: 52px;
    padding: 5px 1px;
    gap: 5px;
    font-size: 10.5px;
    line-height: 1.15;
    white-space: nowrap;
  }
  .wt-viewer .mobile-nav svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
  }
}

@media (max-width: 760px) {
  #saved-list .results-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 0 0 20px;
  }
  #saved-list .results-summary {
    width: 100%;
    margin: 0;
  }
  #saved-list .view-control {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }
  #saved-list .view-switcher {
    min-width: 0;
  }
  html[data-card-view='horizontal'] #saved-list .destination-art strong {
    font-size: clamp(11px, 3vw, 16px);
    letter-spacing: -0.04em;
  }
}
@media (max-width: 360px) {
  #saved-list .view-label {
    display: none;
  }
  #saved-list .view-switcher {
    width: 100%;
  }
  #saved-list .view-button {
    flex: 1;
    min-width: 0;
    padding: 9px 10px;
    justify-content: center;
  }
}

/* Shared field treatment keeps the searchable destination and selects consistent. */
.wt-viewer :is(.search-panel,.catalog-filters) :is(select:not(.destination-native-value),.destination-combobox input) {
  box-sizing:border-box; width:100%; height:48px; min-height:48px;
  border:1px solid #dbe2da; border-radius:10px; background-color:#f8f9f5;
  color:#23365f; font-family:inherit; font-size:16px; font-weight:400; line-height:1.4;
  padding:12px 38px 12px 14px; appearance:none;
  background-image: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='m2 2 4 4 4-4' fill='none' stroke='%2323365f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position:right 14px center; background-repeat:no-repeat;
}
.wt-viewer :is(.search-panel,.catalog-filters) .destination-combobox input::placeholder {color:#61728e;opacity:1}
.wt-viewer :is(.search-panel,.catalog-filters) .destination-chevron {display:none}
.wt-viewer :is(.search-panel,.catalog-filters) .destination-combobox:has(.destination-clear) input {background-image:none}
.wt-viewer :is(.search-panel,.catalog-filters) :is(select,.destination-combobox input):focus {outline:2px solid #23365f;outline-offset:2px}

.search-panel>.trip-filter-field{min-width:0;gap:8px}.catalog-filters>.trip-filter-field{flex:1;min-width:150px}.search-panel>.trip-filter-field>span{font-size:14px;font-weight:700}.destination-filters{grid-template-columns:minmax(180px,2fr) repeat(3,minmax(115px,1fr)) auto}.destination-filters>.trip-filter-field>select{appearance:auto;background-image:none}.destination-filters>.trip-filter-field>span{display:block}.destination-filters>.trip-filter-field{align-self:end;position:static}@media(max-width:760px){.destination-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.destination-filters .destination-search{grid-column:1/-1}.destination-filters>.trip-filter-field{min-width:0}.catalog-filters>.trip-filter-field{min-width:calc(50% - 16px)}}

.wt-viewer .catalog-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:16px}.wt-viewer .catalog-filters>label{min-width:0;width:100%;flex:unset}.wt-viewer .catalog-filters :is(input,select){min-width:0;max-width:100%}.wt-viewer .catalog-filters>label:has(input[name=q]){grid-column:span 2}@media(max-width:760px){.wt-viewer .catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;padding:17px}.wt-viewer .catalog-filters>label{min-width:0}.wt-viewer .catalog-filters>label:has(input[name=q]),.wt-viewer .catalog-filters>button{grid-column:1/-1}}
/* Inclusions are supporting copy; yellow is reserved for the primary card action. */
.product-list .trip-price-summary>.price-includes,.destination-trip .price-includes,.related-card .price-includes,.compact-final-call .price-includes{display:block;background:transparent;border:0;border-radius:0;padding:0;color:#697575;font-size:11px;font-weight:500;line-height:1.5;text-align:left;box-shadow:none;margin-top:5px}
html[data-card-view=grid] .product-list .trip-price-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:14px}
html[data-card-view=grid] .product-list .trip-price-summary{width:100%;min-width:0}
html[data-card-view=grid] .product-list .card-arrow{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:44px;height:auto;padding:12px 14px;border:0;border-radius:11px;justify-content:space-between;background:#ffde76;color:#243860;font-size:12px;font-weight:700}
html[data-card-view=grid] .product-list .card-action-label,html[data-card-view=grid] .product-list .card-action-open{display:inline}
html[data-card-view=grid] .product-list .card-action-closed{display:none}
html[data-card-view=grid] .product-list .card-arrow:hover{background:#ffd552}
html[data-card-view=grid] .product-list .trip-card:has([data-availability=closed]) .card-arrow{background:#f8f9f6;border:1px solid #d9dedc;color:#526071}
html[data-card-view=grid] .product-list .trip-card:has([data-availability=closed]) .card-action-open{display:none}
html[data-card-view=grid] .product-list .trip-card:has([data-availability=closed]) .card-action-closed{display:inline}

html[data-card-view=grid] .product-list .trip-card{display:flex;flex-direction:column}html[data-card-view=grid] .product-list .trip-visual{flex-shrink:0}html[data-card-view=grid] .product-list .trip-body{display:flex;flex-direction:column;flex:1}html[data-card-view=grid] .product-list .trip-summary{flex:1}.product-list .trip-card:not(:has([data-availability=closed])) .card-arrow{background:#ffde76;border-color:#ffde76;color:#243860}

/* Consistent dropdown controls across iOS, Android, and desktop. */
.destination-filters .destination-budget{border:0;background:transparent;display:block}
.destination-filters .trip-filter-field{gap:8px}
.destination-filters .destination-search{min-height:48px;box-sizing:border-box}
.destination-filters .destination-filter-button{min-height:48px;border-radius:12px}
.destination-filters .filter-select{font-weight:400}

/* Every search control shares the same white surface and WT text colour. */
.wt-viewer :is(.search-panel,.catalog-filters) .destination-combobox input {background-color:#fff;color:#243860;border-radius:12px}
.wt-viewer :is(.search-panel,.catalog-filters) .destination-combobox input:focus-visible {outline:3px solid #ffdf7166;outline-offset:2px;border-color:#243860}
.wt-viewer .search-panel>.trip-keyword-field {grid-column:1/-1;min-width:0;padding:0;border:0}
@media(max-width:760px){.search-sheet .search-panel>.trip-keyword-field,.search-sheet .search-panel>.field:has(.destination-picker){grid-column:1/-1}.search-sheet .trip-search-label{font-size:13px}}

/* One shared label treatment for home, mobile sheet, and catalog filters. */
.wt-viewer :is(.search-panel,.catalog-filters,.destination-filters) .trip-field-label {
 display:flex;align-items:center;justify-content:flex-start;gap:7px;min-height:20px;
 margin:0;color:#243860;font:600 13px/1.5 'DM Sans',Arial,sans-serif!important;text-align:left;
}
.wt-viewer :is(.search-panel,.catalog-filters,.destination-filters) .trip-field-label>svg {
 position:static;width:16px;height:16px;flex:0 0 16px;margin:0;
}
.wt-viewer .search-panel .field>label:has(>.trip-field-label) {align-items:stretch;gap:8px}
.wt-viewer #explore .catalog-more {display:flex;justify-content:center;margin-top:28px}
.wt-viewer #explore .catalog-more .catalog-all-cta {
 display:inline-flex;align-items:center;justify-content:center;gap:22px;
 min-height:56px;min-width:280px;padding:14px 22px;border:1px solid #243860;
 border-radius:16px;background:#243860;color:#fff;font-size:16px;font-weight:700;
 text-decoration:none;box-shadow:0 6px 18px #24386018;
}
.wt-viewer #explore .catalog-more .catalog-all-cta>span {display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ffffff1a;color:#fff}
.wt-viewer #explore .catalog-more .catalog-all-cta:hover {background:#344b73;border-color:#344b73;color:#fff}
.wt-viewer #explore .catalog-more .catalog-all-cta:focus-visible {outline:3px solid #243860;outline-offset:3px}
@media(max-width:760px){.wt-viewer #explore .catalog-more .catalog-all-cta{width:100%;min-width:0;justify-content:space-between;min-height:54px;font-size:15px}}

/* Active category and its parent branch stay visible at each navigation level. */
.subcategory-links a.selected{background:#e2eee6;border-color:#c9dbcf;color:#213b32;font-weight:700}
.subcategory-links a.selected:hover{background:#d5e6db;color:#213b32;border-color:#b3cbbd}
.category-subnavigation + .category-subnavigation{padding-top:4px}
.destination-collections,.subcategory-links{min-width:0;overscroll-behavior-x:contain}
.wt-viewer .subcategory-links > a.selected{scroll-snap-align:center}
