@font-face { font-family: SearchInstrument; src: url("../about-little-shop/instrument-sans.woff2"); font-weight: 400 700; font-display: swap; }
/* Approved presentation for the native destination search and calendar. */
#tss-mobile-destination-search {
  --search-sheet-gap: max(16px, env(safe-area-inset-top));
  font-family: SearchInstrument, Instrument, Arial, sans-serif;
  font-weight: 400;
  /* Cover the layout viewport behind Safari's translucent keyboard controls.
   * Only the sheet below follows the smaller visual viewport. */
  background: #fffefa;
}
/* Restore the page's own background automatically when the search closes. */
html.tss-journey-search-open,
body.tss-journey-search-open { background: #fffefa !important; }
#tss-mobile-destination-search .tss-journey-search-modal__backdrop {
  /* Keep the area below the interactive sheet opaque and off-white. */
  bottom: auto;
  height: calc(var(--tss-journey-top, 0px) + var(--tss-journey-height, 100dvh));
  background: #24251f70;
  opacity: 0;
  transition: opacity 240ms ease;
}
#tss-mobile-destination-search .tss-journey-search-modal__sheet {
  top: calc(var(--tss-journey-top, 0px) + var(--search-sheet-gap));
  height: calc(var(--tss-journey-height, 100dvh) - var(--search-sheet-gap));
  border: 1px solid #aaa794;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #fffefa;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 240ms cubic-bezier(.2, .8, .2, 1), opacity 240ms ease;
}
#tss-mobile-destination-search.is-open .tss-journey-search-modal__sheet { transform: translateY(0); opacity: 1; }
#tss-mobile-destination-search.is-open .tss-journey-search-modal__backdrop { opacity: 1; }
#tss-mobile-destination-search.is-closing .tss-journey-search-modal__sheet { transform: translateY(24px); opacity: 0; transition-duration: 180ms; }
#tss-mobile-destination-search.is-closing .tss-journey-search-modal__backdrop { opacity: 0; transition-duration: 180ms; }
#tss-mobile-destination-search.is-compact-viewport { --search-sheet-gap: 8px; }
#tss-mobile-destination-search .tss-journey-search-modal__head { padding: 12px 16px 8px; background: #fff7df; }
#tss-mobile-destination-search .tss-journey-search-modal__head h2 { font: 650 22px/1.2 SearchInstrument, Instrument, Arial, sans-serif; letter-spacing: -.7px; }
#tss-mobile-destination-search .tss-journey-search-modal__close { border: 0; border-radius: 8px; background: transparent; font-weight: 400; }
#tss-mobile-destination-search .tss-journey-search-modal__form { padding: 8px 16px 6px; }
#tss-mobile-destination-search .tss-journey-search-modal__input-wrap {
  height: 52px; border: 1px solid #24251f; border-radius: 8px;
  background: #fffefa; box-shadow: none; margin-bottom: 4px;
}
#tss-mobile-destination-search .tss-journey-search-modal__input-wrap:focus-within { outline: 2px solid #216356; outline-offset: 2px; box-shadow: none; }
#tss-mobile-destination-search .tss-journey-search-modal__input-wrap::before {
  content: ''; position: absolute; width: 20px; height: 20px; top: 50%; left: 14px; transform: translateY(-50%);
  border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324251f' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}
#tss-mobile-destination-search .tss-journey-search-modal__input-wrap input {
  height: 50px; padding: 0 44px 0 44px; border: 0; border-radius: 8px; box-shadow: none;
  background: transparent; font: 400 16px/1.3 SearchInstrument, Instrument, Arial, sans-serif;
}
#tss-mobile-destination-search .tss-journey-search-modal__input-wrap input::placeholder { color: #6b6a60; opacity: 1; }
#tss-mobile-destination-search .tss-journey-search-modal__date-trigger { gap: 4px 8px; padding: 6px 0; min-height: 44px; }
#tss-mobile-destination-search .tss-journey-search-modal__date-trigger > span { display: none; }
#tss-mobile-destination-search .tss-journey-search-modal__date-trigger strong,
#tss-mobile-destination-search .tss-journey-search-modal__date-trigger:not(.is-selected) strong {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 0; padding: 0;
  min-height: 30px; border: 0; border-radius: 0; background: transparent;
  color: #56574c; font-size: 13px; font-weight: 500; text-decoration: none;
}
#tss-mobile-destination-search .tss-journey-search-modal__date-trigger strong::before {
  content: ''; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M3 11h18'/%3E%3C/svg%3E") center / contain no-repeat;
}
#tss-mobile-destination-search .tss-journey-search-modal__date-trigger::after { content: '›'; margin-left: auto; font-size: 22px; color: #56574c; }
#tss-mobile-destination-search .tss-journey-search-modal__date-trigger.is-selected strong { color: #216356; text-decoration: underline; text-underline-offset: 3px; }
#tss-mobile-destination-search .tss-journey-search-modal__results { padding: 20px 16px max(20px, env(safe-area-inset-bottom)); }
#tss-mobile-destination-search .tss-journey-search-modal__section { margin-bottom: 22px; }
#tss-mobile-destination-search .tss-journey-search-modal__label { margin-bottom: 10px; font-size: 12px; font-weight: 500; color: #636254; }
#tss-mobile-destination-search .tss-search-popular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
#tss-mobile-destination-search .tss-search-popular > .tss-journey-search-modal__label { grid-column: 1 / -1; }
#tss-mobile-destination-search .tss-journey-search-result:not(.tss-shortlist-result) { min-height: 56px; padding: 12px 26px 12px 0; }
#tss-mobile-destination-search .tss-journey-search-result:not(.tss-shortlist-result) strong { font-size: 16px; font-weight: 550; }
#tss-mobile-destination-search .tss-journey-search-result__arrow { right: 4px; font-size: 23px; }
#tss-mobile-destination-search .tss-shortlist-result--primary { padding: 14px 12px; margin-bottom: 10px; background: #fffaf0; gap: 8px; }
#tss-mobile-destination-search .tss-shortlist-result--primary::before { display: none; }
#tss-mobile-destination-search .tss-shortlist-result--primary .tss-shortlist-title { font-size: 18px; }
#tss-mobile-destination-search .tss-shortlist-price { font-size: 18px; font-weight: 650; }
#tss-mobile-destination-search .tss-shortlist-explanation { font-size: 13px; }
#tss-mobile-destination-search .tss-journey-search-modal__actions { border-top: 0; margin-top: 4px; padding-top: 0; }
#tss-mobile-destination-search .tss-journey-search-modal__actions a { font-size: 14px; font-weight: 500; color: #45584c; }
#tss-mobile-destination-search :is(button, a, summary):focus-visible { outline: 2px solid #216356; outline-offset: -3px; }
#tss-mobile-destination-search :is(button, a, summary):active { background-color: #fff0ad; }
#tss-mobile-destination-search .tss-calendar { font-family: SearchInstrument, Instrument, Arial, sans-serif;
  font-weight: 400; }
@media (max-width: 350px) {
  #tss-mobile-destination-search .tss-journey-search-modal__head h2 { font-size: 20px; }
  #tss-mobile-destination-search .tss-search-popular { column-gap: 12px; }
  #tss-mobile-destination-search .tss-journey-search-result:not(.tss-shortlist-result) strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  #tss-mobile-destination-search .tss-journey-search-modal__sheet,
  #tss-mobile-destination-search .tss-journey-search-modal__backdrop { transition: none; }
}

#tss-mobile-destination-search.is-closing .tss-journey-search-modal__sheet { pointer-events: none; }

/* Search choices: place markers, connected stops, and shared product-family headings. */
#tss-mobile-destination-search .tss-search-optional { font-size: 12px; font-weight: 400; color: #767469; margin-left: 3px; }
#tss-mobile-destination-search .tss-search-cue { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; color: #5a6153; }
#tss-mobile-destination-search .tss-search-cue svg { width: 22px; height: 22px; stroke-width: 1.5; }
#tss-mobile-destination-search .tss-search-cue--pin svg circle { fill: #ffdc38; }
#tss-mobile-destination-search .tss-search-cue--route svg circle { fill: #ffdc38; }
#tss-mobile-destination-search .tss-journey-search-result:not(.tss-shortlist-result) { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; min-height: 54px; border-bottom-color: #eeece2; }
#tss-mobile-destination-search .tss-search-popular { gap: 0 14px; }
#tss-mobile-destination-search .tss-search-popular .tss-journey-search-result { padding-right: 0; border: 0; }
#tss-mobile-destination-search .tss-search-popular .tss-journey-search-result__arrow { display: none; }
#tss-mobile-destination-search .tss-journey-search-result__detail,
#tss-mobile-destination-search .tss-journey-search-result__coverage { grid-column: 2; }
#tss-mobile-destination-search .tss-search-destination-heading { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 0 18px; font-size: 21px; font-weight: 650; letter-spacing: -.5px; border-bottom: 2px solid #ffdc38; }
#tss-mobile-destination-search .tss-search-destination-heading .tss-shortlist-icon { width: 28px; height: 28px; flex: 0 0 28px; }
#tss-mobile-destination-search .tss-search-family-group { margin-bottom: 12px; }
#tss-mobile-destination-search .tss-search-family-option.tss-shortlist-result--primary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 18px 0; margin: 0; background: transparent; border: 0; border-bottom: 1px solid #dfddd1; border-radius: 0; }
#tss-mobile-destination-search .tss-search-family-option.tss-shortlist-result--primary .tss-shortlist-copy { grid-column: 1 / -1; }
#tss-mobile-destination-search .tss-search-family-option.tss-shortlist-result--primary .tss-shortlist-title { font-size: 16px; font-weight: 600; }
#tss-mobile-destination-search .tss-search-family-option.tss-shortlist-result--primary .tss-shortlist-price { grid-column: 1; font-size: 21px; font-weight: 650; line-height: 1.3; }
#tss-mobile-destination-search .tss-search-family-option .tss-shortlist-price small { font-size: 12px; font-weight: 400; }
#tss-mobile-destination-search .tss-search-family-option .tss-family-price-terms { display: block; margin-top: 4px; font-size: 13px; color: #646757; white-space: normal; }
#tss-mobile-destination-search .tss-search-family-option.tss-shortlist-result--primary .tss-shortlist-action { grid-column: 2; align-self: center; font-size: 13px; font-weight: 550; }
#tss-mobile-destination-search .tss-search-family-option .tss-family-label { margin: 0; }
#tss-mobile-destination-search .tss-journey-search-modal__compare summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; gap: 8px; padding: 14px 0; font-size: 13px; font-weight: 500; }
#tss-mobile-destination-search .tss-search-count { font-size: 11px; font-weight: 400; color: #747569; }
#tss-mobile-destination-search .tss-journey-search-modal__compare summary::after { margin-left: auto; }
#tss-mobile-destination-search .tss-journey-search-modal__actions { gap: 0; padding-top: 8px; border-top: 1px solid #dfddd1; }
#tss-mobile-destination-search .tss-journey-search-modal__actions a { align-self: stretch; display: flex; align-items: center; gap: 10px; min-height: 46px; text-decoration: none; font-size: 13px; font-weight: 400; }
#tss-mobile-destination-search .tss-journey-search-modal__actions a:first-child { font-weight: 500; }
#tss-mobile-destination-search .tss-search-utility-arrow { margin-left: auto; color: #73786a; }
#tss-mobile-destination-search .tss-journey-search-modal__compare + .tss-journey-search-modal__actions { border-top: 0; }
@media (max-width: 350px) {
  #tss-mobile-destination-search .tss-search-popular { column-gap: 8px; }
  #tss-mobile-destination-search .tss-search-popular .tss-journey-search-result { gap: 6px; }
  #tss-mobile-destination-search .tss-search-family-option.tss-shortlist-result--primary .tss-shortlist-action { font-size: 12px; }
}

/* Leave room above the input for its four-pixel outer focus treatment. */
#tss-mobile-destination-search .tss-search-reviews {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 20px 0 0; padding: 32px 12px 8px; border-top: 1px solid #e6e3d8;
  color: #45583d; text-align: center; text-decoration: none;
}
#tss-mobile-destination-search .tss-search-reviews img { display: block; width: 200px; max-width: 100%; height: auto; }
#tss-mobile-destination-search .tss-search-reviews > span { font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Short visual viewports keep search, dates and Close available with less chrome. */
#tss-mobile-destination-search.is-compact-viewport .tss-journey-search-modal__head {
  padding: 0 16px;
}
#tss-mobile-destination-search.is-compact-viewport .tss-journey-search-modal__head h2 {
  font-size: 20px; line-height: 1.2; letter-spacing: -.4px;
}
#tss-mobile-destination-search.is-compact-viewport .tss-journey-search-modal__form {
  padding: 8px 16px 0;
}
#tss-mobile-destination-search.is-compact-viewport .tss-journey-search-modal__input-wrap {
  height: 48px; margin-bottom: 0;
}
#tss-mobile-destination-search.is-compact-viewport .tss-journey-search-modal__input-wrap input { height: 46px; }
#tss-mobile-destination-search.is-compact-viewport .tss-journey-search-modal__date-trigger { padding-block: 3px; }

/* Route results share the open result treatment; their existing price/terms remain intact. */
#tss-mobile-destination-search .tss-journey-search-modal__sheet[data-tss-journey-intent="route"] .tss-shortlist-result--primary {
  padding: 16px 0; margin-bottom: 10px; border: 0; border-top: 2px solid #ffdc38;
  border-bottom: 1px solid #dfddd1; border-radius: 0; background: transparent;
}
#tss-mobile-destination-search .tss-journey-search-modal__sheet[data-tss-journey-intent="route"] .tss-shortlist-result--primary .tss-shortlist-title {
  font-size: 18px; font-weight: 600; line-height: 1.3;
}
#tss-mobile-destination-search .tss-journey-search-modal__compare .tss-shortlist-result {
  padding: 16px 0; margin: 0; border-bottom: 1px solid #e5e2d8; gap: 10px;
}
#tss-mobile-destination-search .tss-journey-search-modal__compare .tss-shortlist-title {
  font-size: 15px; font-weight: 500; line-height: 1.4;
}
#tss-mobile-destination-search .tss-journey-search-modal__compare .tss-shortlist-result:last-child { border-bottom: 0; }
