.tour-market-hero {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: linear-gradient(90deg, #0e254ee8, #163c7ea0), url('/assets/hero-1024.webp') center 52% / cover;
  color: white;
}
.tour-market-hero .eyebrow, .tour-market-hero p { color: #edf4ff; }
.tour-market-hero h1 { color: white; margin: .35rem 0 .55rem; font-size: clamp(2.25rem, 5vw, 4rem); }
.tour-market-hero p { margin: 0 0 1.15rem; }
.tour-market-search {
  display: flex; align-items: center; gap: 6px; width: min(100%, 740px);
  padding: 6px; border-radius: 16px; background: white; color: #142647;
}
.tour-search-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.tour-market-search input {
  flex: 1; min-width: 0; padding: .7rem .75rem; border: 0; border-radius: 10px;
  font: inherit; font-size: 16px; color: #142647; background: white;
}
.tour-market-search button, .tour-market-heading [data-tour-clear] {
  min-height: 44px; padding: .55rem 1rem; border: 0; border-radius: 10px;
  background: #2451e8; color: white; font: inherit; font-weight: 700; cursor: pointer;
}
.tour-destination-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .8rem; }
.tour-destination-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem;
  border: 1px solid #ffffff75; border-radius: 24px; background: #0f284a91; color: white;
  text-decoration: none; font-size: .9rem;
}
.tour-market { padding-block: 2rem 1rem; }
.tour-market-heading h2 { margin-bottom: .3rem; }
.tour-market-heading p { margin: 0; }
.tour-market-heading [data-tour-status]:empty { display: none; }
.tour-market-heading [data-tour-status]:not(:empty) { margin-top: .75rem; }
.tour-market-heading [data-tour-clear]:not([hidden]) { margin-top: .6rem; }
.tour-destination-row { margin: 1.6rem 0 2.2rem; scroll-margin-top: 100px; }
.tour-row-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: .6rem; }
.tour-row-header h2 { margin: 0; font-size: clamp(1.55rem, 2.4vw, 2rem); }
.tour-row-header .tour-row-controls { display: flex; gap: 8px; margin: 0; }
.tour-row-controls button { width: 44px; height: 44px; }
.tour-row-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.07fr); gap: 16px; align-items: stretch; }
.tour-destination-cover {
  position: relative; display: flex; align-items: end; min-height: 200px;
  border-radius: 13px; isolation: isolate; overflow: hidden; background: #173a35; color: white;
}
.tour-destination-cover img, .tour-destination-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.tour-destination-cover img { object-fit: cover; }
.tour-destination-cover::after { content: ''; background: linear-gradient(transparent 28%, #081b2be8); }
.tour-destination-cover > span { display: grid; gap: 8px; padding: 18px; }
.tour-destination-cover strong { font-size: 1.4rem; }
.tour-destination-cover small { width: fit-content; padding: .35rem .55rem; border: 1px solid white; border-radius: 6px; }
.tour-product-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px;
  min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory;
  scrollbar-width: thin; padding-bottom: 8px;
}
.tour-product-track > article { min-width: 0; scroll-snap-align: start; }
.tour-product-track > article[hidden], .tour-destination-row[hidden], [data-tour-clear][hidden] { display: none; }
.tour-product-track h3 { font-size: 1.05rem; line-height: 1.35; overflow-wrap: anywhere; }
.tour-product-track .booking-detail { min-height: 44px; text-align: center; }
.tour-sheet-card > div { display: flex; flex-direction: column; flex: 1; }
.tour-sheet-actions { display: grid; gap: .45rem; margin-top: auto; padding-top: .75rem; }
.tour-market :is(a, button, [tabindex]):focus-visible, .tour-market-hero :is(a, input, button):focus-visible {
  outline: 2px solid #5277ff; outline-offset: -3px;
}
@media (max-width: 1050px) {
  .tour-row-body { grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr); }
  .tour-product-track { grid-auto-columns: calc((100% - 14px) / 2); }
}
@media (max-width: 680px) {
  .tour-row-body { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tour-destination-cover { min-height: 118px; }
  .tour-destination-cover > span { padding: 12px; gap: 4px; }
  .tour-destination-cover small { padding: .18rem .45rem; }
  .tour-product-track { grid-auto-columns: 100%; }
}

.tour-market-hero { position: relative; isolation: isolate; overflow: hidden; }
.tour-hero-photo, .tour-market-hero::before {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.tour-hero-photo { z-index: -2; object-fit: cover; object-position: center 52%; }
.tour-market-hero::before {
  content: ''; z-index: -1;
  background: linear-gradient(90deg, rgb(9 27 53 / 86%), rgb(9 27 53 / 56%));
}
.tour-hero-photo[hidden], .tour-hero-controls button[hidden] { display: none; }
.tour-hero-controls {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-top: 1rem; font-size: .875rem;
}
.tour-hero-controls span { margin-inline-start: auto; text-align: end; }
.tour-hero-controls button {
  min-height: 44px; padding: .5rem .9rem; border-radius: 24px;
  border: 1px solid #ffffffa0; background: #0f284a; color: white;
  font: inherit; cursor: pointer;
}
