html, body { margin: 0; background: transparent; font-family: system-ui, sans-serif; }
body { --gap: 9px; --top: 64px; --lower: 54px; color: #203228; }
#tour-form, #tour-form .TVWideFilterForm { width:100%!important; min-width:0!important; max-width:none!important; margin:0!important; padding:0!important; background:transparent!important; border:0!important; box-sizing:border-box; }
#tour-form .TVWideFilterForm {
  display:grid!important;
  grid-template-columns: minmax(0,1.03fr) minmax(0,.83fr) minmax(0,1.22fr) minmax(0,1.07fr) minmax(0,1.06fr) minmax(0,1.15fr);
  grid-template-rows:var(--top) var(--lower);
  gap:var(--gap); align-items:stretch;
}
#tour-form :is(.TVInterfaceWrapper,.TVMainForm,.TVMainFilter,.TVFilterResults,.TVFilterForm) { display:contents!important; }
#tour-form .TVFilterForm > :not(.TVStarsFilter,.TVMealFilter,.TVFlightTypeFilter),
#tour-form .TVFilterResults > :not(.TVFilterForm), body .TVCartStickyButton { display:none!important; }
#tour-form .TVMainFilter > div, #tour-form .TVSearchFormMode, #tour-form .TVFilterForm > :is(.TVStarsFilter,.TVMealFilter,.TVFlightTypeFilter), .extra-options {
  box-sizing:border-box; min-width:0!important; width:auto!important; height:100%!important; margin:0!important; padding:0!important;
  border:0!important; border-radius:12px!important; background:#fffefa!important; color:#203228!important;
  box-shadow:0 2px 2px rgb(32 55 34 / 12%); position:relative;
}
#tour-form .TVMainFilter > .TVHide, #tour-form .TVFilterForm > .TVHide { display:none!important; }
#tour-form :is(.TVCountryFilter,.TVHotelSearchFilter) { grid-area:1 / 1 / 2 / 3; }
#tour-form :is(.TVFlyDatesFilter,.TVTripDurationFilter) { grid-area:1 / 3 / 2 / 4; }
#tour-form .TVNightsFilter { grid-area:1 / 4 / 2 / 5; }
#tour-form .TVTouristsFilter { grid-area:1 / 5 / 2 / 6; }
#tour-form .TVSearchButton { grid-area:1 / 6 / 2 / 7; }
#tour-form .TVSearchFormMode { grid-area:2 / 1 / 3 / 2; }
#tour-form .TVFlightTypeFilter { grid-area:2 / 2 / 3 / 4; }
#tour-form .TVStarsFilter { grid-area:2 / 4 / 3 / 5; }
#tour-form .TVMealFilter { grid-area:2 / 5 / 3 / 6; }
#tour-form .TVDepartureFilter { grid-area:2 / 6 / 3 / 7; }
#tour-form .TVHotelsMode .TVHotelSearchFilter { grid-column:1 / 4; }
#tour-form .TVHotelsMode .TVTripDurationFilter { grid-column:4; }
#tour-form .TVHotelsMode .TVSearchFormMode { grid-column:1 / 3; }
#tour-form .TVHotelsMode .TVStarsFilter { grid-column:3 / 5; }
#tour-form .TVHotelsMode .TVMealFilter { grid-column:5 / 7; }
#tour-form .TVMainFilter > div > div { box-sizing:border-box; min-width:0!important; width:100%!important; height:100%!important; border:0!important; }
#tour-form .TVMainSelect {
  box-sizing:border-box; height:100%!important; min-height:0!important; position:relative; display:flex!important; flex-direction:column-reverse!important; align-items:flex-start!important; justify-content:center!important;
  background:transparent!important; padding:4px 10px 4px 43px!important; gap:3px;
}
#tour-form .TVMainSelectPlaceholder { color:#526157!important; font:500 12px/1.15 system-ui,sans-serif!important; letter-spacing:0!important; text-transform:none!important; }
#tour-form .TVMainSelectContent { min-width:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#1f3027!important; font:700 clamp(17px,1.65vw,20px)/1.15 system-ui,sans-serif!important; }
#tour-form .TVMainFilterIcon { display:none!important; }
#tour-form .TVMainSelect::before { content:""; position:absolute; width:22px; height:22px; left:13px; top:50%; transform:translateY(-50%); background:#69806e; mask:var(--icon) center/contain no-repeat; }
#tour-form .TVMainSelect:not(:has(.TVMainSelectContent))::before { display:none; }
#tour-form .TVMainFilter > .TVSearchButton { display:flex!important; justify-content:center; align-items:center; gap:9px; color:#33250e!important; background:#ffad24!important; border-radius:999px!important; font:700 clamp(16px,2vw,22px)/1 system-ui,sans-serif!important; }
#tour-form .TVSearchButton::before { content:""; width:22px; height:22px; background:currentColor; mask:var(--loupe) center/contain no-repeat; }
#tour-form .TVSearchButton:hover { filter:brightness(1.04); }
#tour-form .TVSearchFormMode { display:flex!important; align-items:center; justify-content:center; }
#tour-form .TVSearchModeControl { width:100%!important; padding:0 8px; box-sizing:border-box; }
#tour-form .TVSearchModeControl .TVRadioGroup { display:grid!important; grid-template-columns:1fr 1fr; width:auto!important; gap:3px!important; padding:3px; background:#eff4e9; border-radius:999px; }
#tour-form .TVSearchModeControl .TVInputRadio { position:relative; width:auto!important; min-width:0; height:32px; margin:0!important; border-radius:999px; }
#tour-form .TVSearchModeControl .TVInputRadio:has(input:checked) { background:#ceeaa6; }
#tour-form .TVInputRadioWrapper { display:flex; width:100%; height:100%; align-items:center; justify-content:center; padding:0!important; }
#tour-form .TVInputRadioLabel { display:none!important; }
#tour-form .TVInputRadioContent { color:#213a2c!important; font:650 14px/1 system-ui,sans-serif!important; white-space:nowrap; }
#tour-form .TVFilterForm > div > div:not(.TVHide), #tour-form .TVAddSelect { box-sizing:border-box; width:100%!important; height:100%!important; border:0!important; border-radius:inherit; background:transparent!important; }
#tour-form .TVAddSelect { display:flex; align-items:center; padding:0 12px!important; gap:5px; }
#tour-form .TVAddSelectContentBlock { min-width:0; }
#tour-form .TVAddSelectPlaceholder, #tour-form .TVAddSelectContent { color:#304437!important; font:600 14px/1.2 system-ui,sans-serif!important; }
#tour-form .TVAddSelectContent { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#tour-form .TVStarsSelect { display:flex!important; align-items:center; justify-content:center; flex-wrap:wrap; align-content:center; column-gap:1px; row-gap:3px; padding:3px 6px!important; }
#tour-form .TVStarsSelectTitle { flex-basis:100%; margin:0!important; text-align:center; font:500 11px/1.1 system-ui,sans-serif!important; }
#tour-form .TVStarsSelectItem { margin:0!important; }
#tour-form [role=button]:focus-visible, #tour-form .TVInputRadio:focus-within, .extra-options:focus-visible { outline:3px solid #315c39; outline-offset:-3px; }
.extra-options { display:none; }
body > .TVTooltip[style*="--picker-y"] {
  position:absolute!important; bottom:auto!important; right:auto!important;
  top:var(--picker-y,auto)!important; left:var(--picker-x,0)!important;
  max-height:var(--picker-space,none)!important; overflow:auto; overscroll-behavior:contain;
}
body .TVCountrySelectTooltip :is(.TVCountryAirportList, .TVCountryCheckboxListWithFilters) {
  min-height:148px!important; height:clamp(148px,calc(var(--picker-space,512px) - 152px),360px)!important;
}
body .TVDepartureTableControl, body .TVDepartureTableBody { min-width:0!important; max-width:100%!important; box-sizing:border-box; }
body .TVDepartureTableContent {
  height:auto!important; display:grid!important; grid-template-columns:repeat(auto-fit,minmax(min(164px,100%),1fr));
  grid-auto-flow:row; gap:2px 8px;
}
body .TVDepartureTableItemWrapper { width:auto!important; min-width:0; min-height:32px; }

body .TVTooltip { max-width:100vw!important; box-sizing:border-box; border-radius:12px; }
@media (min-width:701px) and (max-width:950px) {
  #tour-form .TVMainSelect { padding-left:10px!important; }
  #tour-form .TVMainSelect::before { display:none; }
  #tour-form .TVMainSelectContent { font-size:15px!important; }
  #tour-form .TVInputRadioContent, #tour-form .TVAddSelectPlaceholder { font-size:12px!important; }
}
@media (max-width:700px) {
  #tour-form .TVWideFilterForm {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"country" "dates" "nights" "guests" "mode" "flight" "more" "find";
    grid-template-rows:none; grid-auto-rows:auto; gap:0;
    padding:5px 13px 12px!important;
    background:#fffefa!important; border-radius:16px!important;
  }
  .show-options #tour-form .TVWideFilterForm {
    grid-template-areas:"country" "dates" "nights" "guests" "mode" "flight" "more" "departure" "stars" "meal" "find";
  }
  #tour-form .TVWideFilterForm.TVHotelsMode { grid-template-areas:"country" "dates" "guests" "mode" "more" "find"; }
  .show-options #tour-form .TVWideFilterForm.TVHotelsMode { grid-template-areas:"country" "dates" "guests" "mode" "more" "stars" "meal" "find"; }
  #tour-form .TVMainFilter > div, #tour-form .TVFilterForm > div, #tour-form .TVSearchFormMode {
    height:60px!important; box-shadow:none; border-radius:0!important; border-bottom:1px solid #dbe1d7!important;
  }
  #tour-form :is(.TVCountryFilter,.TVHotelSearchFilter), #tour-form .TVHotelsMode .TVHotelSearchFilter { grid-area:country; }
  #tour-form :is(.TVFlyDatesFilter,.TVTripDurationFilter), #tour-form .TVHotelsMode .TVTripDurationFilter { grid-area:dates; }
  #tour-form .TVNightsFilter { grid-area:nights; }
  #tour-form .TVTouristsFilter { grid-area:guests; }
  #tour-form .TVSearchFormMode, #tour-form .TVHotelsMode .TVSearchFormMode { grid-area:mode; height:52px!important; justify-content:start; }
  #tour-form .TVFilterForm > .TVFlightTypeFilter { grid-area:flight; height:54px!important; min-height:54px!important; box-shadow:none; border-radius:0!important; }
  #tour-form .TVFilterForm > :is(.TVStarsFilter,.TVMealFilter) { min-height:48px!important; border-radius:0!important; box-shadow:none; }
  #tour-form .TVDepartureFilter { grid-area:departure; }
  #tour-form .TVStarsFilter,#tour-form .TVHotelsMode .TVStarsFilter { grid-area:stars; }
  #tour-form .TVMealFilter,#tour-form .TVHotelsMode .TVMealFilter { grid-area:meal; }
  body:not(.show-options) #tour-form :is(.TVStarsFilter,.TVMealFilter,.TVDepartureFilter) { display:none!important; }
  #tour-form .TVMainFilter > .TVSearchButton { grid-area:find; width:100%!important; max-width:none!important; justify-self:stretch; height:52px!important; border:0!important; border-radius:999px!important; font-size:19px!important; }
  #tour-form .TVMainSelect { padding:4px 6px 4px 42px!important; gap:2px; }
  #tour-form .TVMainSelect::before { width:21px; height:21px; left:9px; display:block; }
  #tour-form .TVMainSelectPlaceholder { font-size:13px!important; }
  #tour-form .TVMainSelectContent { font-size:18px!important; }
  #tour-form .TVSearchModeControl { width:min(220px,100%)!important; margin-left:36px!important; }
  #tour-form .TVInputRadioContent { font-size:14px!important; }
  #tour-form .TVAddSelect { padding:0 9px 0 42px!important; }
  #tour-form .TVFlightTypeFilter::before { content:""; position:absolute; inset:50% auto auto 9px; transform:translateY(-50%); width:21px;height:21px;background:#69806e;mask:var(--plane) center/contain no-repeat;pointer-events:none; }
  #tour-form .TVStarsSelect { flex-wrap:nowrap; justify-content:flex-start; column-gap:5px; padding-inline:10px!important; }
  #tour-form .TVStarsSelectTitle { flex-basis:auto; margin-right:8px!important; font-size:13px!important; }
  #tour-form .extra-options:not([hidden]) {
    grid-area:more; display:flex; align-items:center; gap:9px; position:static; height:46px!important;
    justify-self:start; padding:0 8px!important; border:0!important; box-shadow:none; background:transparent!important;
    color:#315d40!important; font:650 14px/1.2 system-ui,sans-serif; cursor:pointer;
  }
  .extra-options svg { width:20px; height:20px; }
  .show-options #tour-form .TVMainFilter > .TVSearchButton { margin-top:6px!important; }
  body > .TVTooltip { width:100%!important; }
  body .TVDepartureTableItemWrapper { min-height:44px; }
  body .TVDepartureTableBody { padding:8px 14px!important; }
  body .TVDepartureTableItemWrapper .TVDepartureTableItemControl { flex:1; display:flex; align-items:center; min-height:44px; }
  body .TVFlyDatesSelectTooltipContent,body .TVCountrySelectTooltipContent { padding-inline:8px!important; }
  body .TVCalendarControl,body .TVCalendarSliderView,body .TVCalendarControlBody,body .TVCalendarSheetControl,body .TVSelectCountryListControl { width:100%!important; min-width:0!important; max-width:100%!important; box-sizing:border-box; }
  body .TVCalendarSheetControl:nth-child(n+2) { display:none!important; }
  body .TVFlyDatesSelectTooltipFooter { width:auto!important; max-width:100%; flex-wrap:wrap; }
}
.TVCountryFilter,.TVHotelSearchFilter { --icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%205-8%2012-8%2012S4%2015%204%2010a8%208%200%201%201%2016%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.4%22%2F%3E%3C%2Fsvg%3E"); }
.TVFlyDatesFilter,.TVTripDurationFilter { --icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M7%203v4m10-4v4M3%2011h18%22%2F%3E%3C%2Fsvg%3E"); }
.TVNightsFilter { --icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.3%2015A8.8%208.8%200%200%201%209%203a9.3%209.3%200%201%200%2011.3%2012Z%22%2F%3E%3C%2Fsvg%3E"); }
.TVTouristsFilter { --icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3C%2Fsvg%3E"); }
.TVDepartureFilter { --icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2013%207%202%2010-8%201-3-3%201-6%205-6-3-2%201%205%204-3%202-2-2Z%22%2F%3E%3C%2Fsvg%3E"); }
body { --loupe:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%226.5%22%2F%3E%3Cpath%20d%3D%22m15%2015%206%206%22%2F%3E%3C%2Fsvg%3E"); }

body { --plane:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2013%207%202%2010-8%201-3-3%201-6%205-6-3-2%201%205%204-3%202-2-2Z%22%2F%3E%3C%2Fsvg%3E"); }

#tour-form .TVHotelsSearch { display:flex; flex-direction:column; justify-content:center; padding:4px 12px; }
#tour-form .TVHotelsSearchPlaceholder { color:#526157; font:500 12px/1.2 system-ui,sans-serif; text-transform:none; }
#tour-form .TVHotelsSearch input { width:100%; min-width:0; max-width:100%; padding:0; font:650 15px/1.3 system-ui,sans-serif; }

@media (max-width:340px) {
  body .TVCountrySelectTooltipHeader { box-sizing:border-box; padding-inline:5px!important; gap:3px; }
  body .TVCountrySelectTooltipClose { flex:none; margin-left:auto!important; }
}
