/**
 * Мінімальні скидання Elementor/теми — не дублювати search-widget.css.
 * Позиціонування панелей задає JS (як у прототипі).
 */
body.anex-search-v2 .anex-panel-portal,
body.anex-search-v2 .anex-panel-portal *,
body.anex-search-v2 .anex-catalog-search-widget,
body.anex-search-v2 .anex-catalog-search-widget * {
  box-sizing: border-box;
}

/* Кнопки теми/Elementor не чіпають віджет */
body.anex-search-v2 .anex-catalog-search-widget .elementor-button,
body.anex-search-v2 .anex-catalog-search-widget button {
  font-family: inherit;
}

body.anex-search-v2 .anex-panel-portal .anex-sheet-apply,
body.anex-search-v2 .anex-panel-portal .anex-dest-apply,
body.anex-search-v2 .anex-panel-portal .anex-dest-apply--desktop {
  background: #f31624 !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
}

body.anex-search-v2 .anex-panel-portal .anex-sheet-apply:hover,
body.anex-search-v2 .anex-panel-portal .anex-dest-apply:hover {
  background: #de0f1c !important;
  color: #fff !important;
}

body.anex-search-v2 .anex-search-bar .ps-submit,
body.anex-search-v2 .anex-search-bar .ps-submit:hover,
body.anex-search-v2 .anex-search-bar .ps-submit:focus,
body.anex-search-v2 .anex-search-bar .ps-submit:active {
  background: #f31624 !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.anex-search-v2 .anex-search-bar .anex-search-segment,
body.anex-search-v2 .anex-search-mode-switch .anex-search-mode-btn {
  background-image: none !important;
  text-decoration: none !important;
  transform: none !important;
}

/* Elementor/тема/старий hotel-catalog.css фарбують усі button — лише прототип */
body.anex-search-v2 .anex-search-bar button.anex-search-segment,
body.anex-search-v2 .anex-search-bar button.anex-search-segment:visited {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #1a2233 !important;
  -webkit-text-fill-color: initial !important;
  border: 0 !important;
  border-right: 1px solid #e8ecf2 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

body.anex-search-v2 .anex-search-bar button.anex-search-segment:hover,
body.anex-search-v2 .anex-search-bar button.anex-search-segment.is-open,
body.anex-search-v2 .anex-search-bar button.anex-search-segment:focus,
body.anex-search-v2 .anex-search-bar button.anex-search-segment:focus-visible {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  background-image: none !important;
  color: #1a2233 !important;
  -webkit-text-fill-color: initial !important;
  box-shadow: none !important;
}

body.anex-search-v2 .anex-search-bar button.anex-search-segment:active {
  background: #f8fafc !important;
  transform: none !important;
}

body.anex-search-v2 .anex-search-bar .anex-segment-label {
  color: #8b95a8 !important;
}

body.anex-search-v2 .anex-search-bar .anex-segment-value {
  color: #1a2233 !important;
  -webkit-text-fill-color: #1a2233 !important;
}

body.anex-search-v2 .anex-panel-portal .anex-cal-day,
body.anex-search-v2 .anex-panel-portal .anex-dest-country-name,
body.anex-search-v2 .anex-panel-portal .anex-stepper button {
  color: inherit;
  -webkit-text-fill-color: inherit;
}
