#native,#anywhere,#access{--teal:#168b95;--search:#ff5a1f;--border:#d5e7ee}
#anywhere,#anywhere *{box-sizing:border-box}
#anywhere[hidden],#anywhere [hidden],#anywhere-budget[hidden],#live-submit[hidden],#unavailable[hidden]{display:none!important}
#native.olly-map-active{position:relative;z-index:2}
#native .olly-mode-row{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
#native .olly-third-tab{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;border:0;border-radius:24px;background:#ffffffa6;color:#17466d;font:600 13px/18px Roboto,Arial,sans-serif;padding:8px 15px;cursor:pointer;white-space:nowrap}
#native .olly-third-tab[aria-pressed=true]{background:var(--teal);color:#fff}
.anywhere-beta{display:inline-block;padding:3px 5px;border-radius:8px;background:#d7eef1;color:#1a6874;font:700 9px/1 Roboto,Arial,sans-serif;letter-spacing:.035em}
.olly-third-tab[aria-pressed=true] .anywhere-beta{background:#fff;color:#116b76}
#native .olly-anywhere-mode{display:inline-flex;align-items:center;gap:1px;min-width:0}
#native .olly-anywhere-help{display:grid;place-items:center;min-width:26px;height:36px;margin:0;padding:0;border:0;background:transparent;cursor:pointer}
#native .olly-anywhere-help span{display:grid;place-items:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;background:#fff;color:#116b76;font:700 11px/1 Roboto,Arial,sans-serif}
#native .olly-anywhere-help:is(:hover,:focus-visible,[aria-expanded=true]) span{background:#116b76;color:#fff}
#native .olly-anywhere-help:focus-visible{outline:2px solid #168b95;outline-offset:1px;border-radius:6px}
#anywhere-beta-tooltip{display:none;position:fixed;inset:auto;box-sizing:border-box;width:min(264px,calc(100% - 16px));margin:0;padding:9px 12px;border:1px solid #d5e7ee;border-radius:10px;background:#fff;color:#10345b;box-shadow:0 5px 20px #08243324;font:13px/1.45 Roboto,Arial,sans-serif;text-align:left}
#anywhere-beta-tooltip:popover-open{display:block}
#native.olly-map-active .TVSearchModeControl .TVInputRadio:has(input:checked) .TVInputRadioWrapper{background:#ffffffa6!important}
#tour-search #native.olly-map-active .TVSearchModeControl .TVInputRadio:has(input:checked) .TVInputRadioContent,
#native.olly-map-active .TVSearchModeControl .TVInputRadio .TVInputRadioContent,
#native.olly-map-active .TVSearchModeControl .TVToggleSwitch .TVToggleSwitchItem{color:#17466d!important}
#native.olly-map-active .TVSearchModeControl .TVToggleSwitchSelection{opacity:0}
#native.olly-map-active :is(.TVCountryFilter,.TVFilterResults,.TVFilterForm,.kras-search-actions,.TVAddFilters),
#native.olly-map-active :is(.TVMainForm,.TVFormBody) .TVSearchButton,
body:has(#native.olly-map-active) .TVSearchResults{display:none!important}
#native.olly-map-active .TVDepartureFilter .TVMainSelectPlaceholder{display:block!important;min-height:1.25em}
#native.olly-map-active #anywhere-budget{position:relative;min-width:0}
#native.olly-map-active #anywhere-budget:has(#budget-toggle:disabled){opacity:.7}
#native.olly-map-active #budget-toggle{appearance:none;box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;width:100%;text-align:left;cursor:pointer}
#tour-search #native.olly-map-active #budget-toggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#native.olly-map-active .TVMainFilter #anywhere-budget {
  background: transparent;
}
#native.olly-map-active #budget-toggle::after{display:none!important}
#native.olly-map-active #budget-toggle .TVMainSelectPlaceholder{display:block!important}
#budget-value{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.budget-mobile-icon,.budget-mobile-value,#budget-close{display:none}
.budget-chevron{position:absolute;right:14px;top:calc(50% - 4px);width:6px;height:6px;border:solid #10345b;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);pointer-events:none}
#budget-toggle[aria-expanded=true] .budget-chevron{transform:rotate(225deg)}
#budget-menu{position:fixed;inset:auto;width:min(332px,calc(100% - 24px));margin:0;padding:15px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border:1px solid #cedde6;border-radius:12px;background:#fff;color:#10345b;box-shadow:0 7px 24px #0824332b;font:14px/1.35 Roboto,Arial,sans-serif}
#budget-menu:not(:popover-open){display:none!important}
#budget-menu:popover-open{display:grid;gap:11px}
#budget-menu :is(p,button){margin:0}
.budget-heading{font-size:15px;font-weight:700}
.budget-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.budget-presets button,.budget-step{min-height:34px;padding:4px;border:1px solid #cddfe6;border-radius:8px;background:#fff;color:inherit;font:500 13px/1.25 Roboto,Arial,sans-serif;cursor:pointer}
.budget-presets button:hover,.budget-step:hover{background:#eef8fa}
.budget-presets button[aria-pressed=true]{background:#e1f4f5;border-color:#168b95;color:#126972}
#budget-menu [data-budget=""]{grid-column:span 2}
.budget-label{font-size:13px;font-weight:500}
.budget-stepper{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:6px}
.budget-step{height:40px;padding:0;color:#168b95;font-size:21px}
.budget-step:disabled{opacity:.45;cursor:default}
#tour-search #budget-menu #trip-budget{box-sizing:border-box;width:100%;min-width:0;height:40px;margin:0;padding:0 8px!important;border:1px solid #cddfe6!important;border-radius:8px!important;background:#fff!important;color:#10345b;font:600 16px Roboto,Arial,sans-serif!important;text-align:center}
#budget-error{color:#8d382e;font-size:12px}
#budget-apply{min-height:36px;border:0;border-radius:8px;background:#168b95;color:#fff;font-weight:600;cursor:pointer}
#native #live-submit{box-sizing:border-box;display:block;height:52px;min-width:0;min-height:52px;margin:0;padding:0 15px;border:0!important;border-radius:13px;background:#ff5a1f;color:#fff;font:600 17px/1.2 Roboto,Arial,sans-serif;cursor:pointer;white-space:nowrap}
#native #live-submit:disabled{opacity:.65;cursor:default}
#native #live-submit.is-cancel {
  padding-inline: 8px;
  border: 1px solid #8fc1c8 !important;
  background: #e3f4f5;
  color: #104e5a;
  font-size: 15px;
}
#native #live-submit.is-cancel:not(:disabled):hover{background:#d6eef0}
#native.olly-map-active [inert]{opacity:.7}
/* Keep the search hero's background outside the map, including during its entrance animation. */
#anywhere {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  padding: 14px 14px 0;
  background: #fff;
  color: #10345b;
  font-family: Roboto, Arial, sans-serif;
}
#anywhere > :is(.map, .details, .results) {
  max-width: 1152px;
  margin-inline: auto;
}
:is(#anywhere,#access) .secondary{border:1px solid #ccdee7;border-radius:24px;background:#f6fdfe;color:#10345b;font:600 13px/18px Roboto,Arial,sans-serif;padding:7px 14px;cursor:pointer;min-height:34px}
:is(#anywhere,#access,#native) :is(.secondary,.primary,.olly-third-tab,#live-submit):focus-visible{outline:2px solid var(--teal);outline-offset:2px}
#anywhere-progress-bar{display:block;width:min(320px,100%);height:3px;margin:6px 0 0;border:0;border-radius:3px;overflow:hidden;background:#e0edf1;accent-color:#168b95}
#anywhere-progress-bar::-webkit-progress-bar{background:#e0edf1;border-radius:3px}
#anywhere-progress-bar::-webkit-progress-value{background:#168b95;border-radius:3px;transition:width .3s ease}
#anywhere-progress-bar::-moz-progress-bar{background:#168b95;border-radius:3px}
#anywhere-progress-bar:indeterminate {
  background: linear-gradient(90deg, #e0edf1 0%, #e0edf1 38%, #168b95 50%, #e0edf1 62%, #e0edf1 100%) 0 0 / 250% 100%;
  animation: anywhere-wait 1.8s ease-in-out infinite alternate;
}
#anywhere-progress-bar:indeterminate::-webkit-progress-bar{background:transparent}
@keyframes anywhere-wait{to{background-position:100% 0}}
@media(prefers-reduced-motion:reduce){#anywhere-progress-bar:indeterminate{animation:none;background-position:50% 0}}

#map{position:relative;overflow:hidden;isolation:isolate}
#anywhere .map-effects{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:0 6px 6px}
#anywhere .map-effects button{min-height:36px;padding:5px 11px}
#anywhere .map-effects button[aria-pressed=true]{background:var(--teal);color:#fff;border-color:var(--teal)}
@media(prefers-reduced-motion:no-preference){#map.is-entrance-pending #world{opacity:0}}
#map-flight-layer{position:fixed;inset:0;width:100%;height:100%;z-index:40;pointer-events:none}
#map-effect-scan{position:absolute;top:0;bottom:0;left:0;width:64px;opacity:0;pointer-events:none;
  background:linear-gradient(90deg,transparent,#3bcaca3d 72%,#128c9c63 97%,transparent)}
#world{display:block;width:100%;height:clamp(230px,32vw,420px);touch-action:pan-y}
@media(min-width:1024px){
  #anywhere > .map{width:80%;max-width:1200px}
  #world{height:min(40vw,592px,max(336px,65.6vh))}
}
#world.selectable{cursor:pointer}
.map.is-zoomed #world{touch-action:none}
.map-price{position:absolute;top:0;left:0;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;align-items:baseline;box-sizing:border-box;width:max-content;max-width:min(184px,calc(100% - 16px));padding:5px 8px;border:1px solid #c8dde5;border-radius:8px;background:#fff;color:#10345b;box-shadow:0 3px 10px #0824331a;font:500 12px/1.3 Roboto,Arial,sans-serif}
.map-price:not(.pinned){pointer-events:none}
.map-price strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
#map-price-amount{color:#075f66;font-weight:700;white-space:nowrap}
#map-price-link{grid-column:1/-1;display:flex;align-items:center;min-height:24px;color:#07767d;font-weight:600;white-space:nowrap;text-decoration:underline;text-underline-offset:2px}
#map-price-link:focus-visible{outline:2px solid var(--teal);outline-offset:1px;border-radius:3px}
@media(pointer:coarse){#map-price-link{min-height:28px}}
.found{position:absolute;bottom:5px;right:6px;display:flex;align-items:center;gap:7px;color:#10345b;font-size:12px;pointer-events:none}
.found:has(b:empty){display:none}
.found span{width:7px;height:7px;border-radius:50%;background:#0d8b46;box-shadow:0 0 6px #42986577}
#anywhere .details{padding:0 0 12px}
#anywhere .details:has(#notice:empty){padding:0}
#anywhere #notice{margin:0;color:#486783;font:11px/1.5 ui-monospace,Consolas,monospace}
#access .primary{font:600 16px Roboto,Arial,sans-serif;color:#fff;background:var(--search);border:0;border-radius:13px;min-height:42px;padding:9px 15px;cursor:pointer}
#anywhere button:disabled{opacity:.65;cursor:default}
#access{width:min(350px,calc(100% - 28px));padding:18px;border:1px solid #c6dce6;border-radius:14px;color:#10345b;background:#fff}
#access::backdrop{background:#10345b50}
#access form{display:grid;gap:10px}
#access input{width:100%;height:42px;border:1px solid #bed3dd;border-radius:8px;padding:7px 9px;color:inherit;font:inherit}
#access-error{margin:0;color:#903323;font-size:13px}
#access-error:empty,#notice:empty{display:none}
.access-actions{display:flex;justify-content:flex-end;gap:8px}
#anywhere .results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(16px,3vw,36px)}
#anywhere .country{display:flex;flex-direction:column;min-width:0;border:0;border-top:1px solid #d8e4e9;
  border-radius:0;padding:14px 0 12px;background:transparent}
#anywhere .country-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:5px 12px}
#anywhere .country h2{display:flex;align-items:center;gap:8px;min-width:0;margin:0;color:#10345b;
  font:600 18px/1.25 Roboto,Arial,sans-serif;overflow-wrap:anywhere}
#anywhere .country-flag{width:24px;height:18px;flex:0 0 24px;align-self:center;
  background:url("/test-anywhere/country-flags-v1.webp") no-repeat 0 calc(var(--flag-row) * -18px) / 24px auto;
  box-shadow:inset 0 0 0 1px #10345b16}
#anywhere .country-price{color:#096f78;font:700 17px/1.25 Roboto,Arial,sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}
#anywhere .country ul{display:grid;gap:6px;margin:10px 0 9px;padding:0;list-style:none;color:#374e62;font:400 13px/1.36 Roboto,Arial,sans-serif}
#anywhere .country ul:empty{display:none}
#anywhere .country li{display:flex;justify-content:space-between;align-items:baseline;gap:9px;margin:0;padding:0;overflow-wrap:anywhere}
#anywhere .country-tour-price{color:#28495d;font-variant-numeric:tabular-nums;white-space:nowrap}
#anywhere .country a{display:inline-flex;align-items:center;align-self:flex-start;min-height:30px;margin-top:auto;
  color:#096f78;font:600 13px/1.35 Roboto,Arial,sans-serif;text-underline-offset:3px}
#anywhere .country a:hover{text-decoration:underline}
#anywhere .country a:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
@media(max-width:1023px){
  #anywhere{padding-inline:6px}
  #anywhere > :is(.details, .results){margin-inline:8px}
  #world{height:clamp(182px,55vw,345px)}
  #native .olly-mode-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;min-width:0;width:100%;gap:5px}
  #native .olly-mode-row>.TVSearchModeControl{width:100%;min-width:0}
  #native .olly-mode-row .TVToggleSwitch{width:100%}
  #native .olly-third-tab{min-height:36px;padding:5px 8px;font-size:12px}
}

/* The native mobile form puts the visible border and the grid gutter on the field wrapper. */
#tour-search:has(#native.olly-map-active .TVMobileForm),
#tour-search > .tour-search-card.is-ready:has(#native.olly-map-active .TVMobileForm) {
  min-height: 0;
}

#native.olly-map-active .TVMobileForm #anywhere-budget {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
}

#native.olly-map-active .TVMobileForm #budget-toggle {
  height: 60px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 12px !important;
  border-radius: 3px !important;
  color: #040404;
}

#native.olly-map-active .TVMobileForm #budget-toggle .TVMainSelectPlaceholder,
.TVMobileForm #budget-value {
  display: none !important;
}

.TVMobileForm .budget-mobile-icon {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  height: 18px;
  border: 1.5px solid #0082b9;
  border-radius: 50%;
  color: #0082b9;
  font: 600 12px/1 Roboto, Arial, sans-serif;
}

.TVMobileForm .budget-mobile-value {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 600 11px/1.4 Roboto, Arial, sans-serif;
}

.TVMobileForm .budget-chevron {
  position: static;
  flex: 0 0 6px;
  margin-inline: auto 1px;
}

#native.olly-map-active .TVMobileForm .TVControlsWrap:has(> .TVTouristsFilter) > .TVTouristsFilter {
  flex: 1 1 100%;
  width: 100%;
  max-width: none;
}

#native .TVMobileForm #live-submit {
  width: calc(100% - 10px);
  margin: 5px;
  font-size: 16px;
}

.TVMobileForm #budget-menu {
  inset: auto 0 0;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 26px #08243320;
}

.TVMobileForm #budget-menu::backdrop {
  background: #0005;
}

.TVMobileForm #budget-menu:popover-open {
  gap: 8px;
}

.TVMobileForm .budget-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.TVMobileForm #budget-close {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf2f5;
  color: #10345b;
  font: 400 23px/1 Roboto, Arial, sans-serif;
  cursor: pointer;
}

.TVMobileForm .budget-presets button {
  min-height: 40px;
  border-color: #d6d6d6;
  border-radius: 6px;
}

.TVMobileForm .budget-presets button[aria-pressed=true] {
  border-color: #168b95;
}

.TVMobileForm .budget-stepper {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
}

.TVMobileForm .budget-step,
#tour-search .TVMobileForm #budget-menu #trip-budget {
  height: 44px;
}

.TVMobileForm #budget-apply {
  min-height: 44px;
  border-radius: 10px;
}

@media(max-width:700px){#anywhere .results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){#anywhere .results{grid-template-columns:1fr}}

