/* Доповнення до прототипу на WordPress: панелі по контенту + ховери під Elementor */

.anex-catalog-search-widget.anex-search-prototype .anex-panel {
  overflow-x: visible;
  overflow-y: auto;
  width: max-content;
  max-width: calc(100vw - 32px);
}

.anex-catalog-search-widget.anex-search-prototype .anex-panel--dates {
  width: max-content;
  min-width: 0;
  max-width: calc(100vw - 32px);
  padding: 16px 12px 18px;
}

.anex-catalog-search-widget.anex-search-prototype .anex-panel--nights {
  width: max-content;
  min-width: 300px;
  max-width: calc(100vw - 32px);
}

.anex-catalog-search-widget.anex-search-prototype .anex-panel--guests {
  width: max-content;
  min-width: 300px;
  max-width: calc(100vw - 32px);
}

.anex-catalog-search-widget.anex-search-prototype .anex-cal-months {
  width: max-content;
}

body > .anex-panel-portal.anex-panel--dates,
body > .anex-panel-portal.anex-panel--nights,
body > .anex-panel-portal.anex-panel--guests {
  overflow-x: visible;
  overflow-y: auto;
  width: max-content;
  max-width: calc(100vw - 32px);
}

/* Elementor Kit ламає hover на всіх button — відновлюємо як у прототипі */
.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-search-mode-btn:hover {
  border-color: #fff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
  background: #fff !important;
  color: #1a2233 !important;
}

.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-search-mode-btn.is-active:hover {
  color: #f31624 !important;
}

.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-cal-day:hover:not(:disabled) {
  background: #eef2f8 !important;
  color: #1a2233 !important;
}

.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-cal-day.range-start:hover,
.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-cal-day.range-end:hover {
  background: #1a5dc8 !important;
  color: #fff !important;
}

.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-cal-arrow:hover {
  background: #eef2f8 !important;
  color: #1a2233 !important;
}

.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-nights-grid button:hover {
  background: #eef2f8 !important;
  color: #1a2233 !important;
}

.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-nights-grid button.is-selected:hover {
  background: #1a5dc8 !important;
  color: #fff !important;
}

.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-panel-list button:hover {
  background: #f3f6fb !important;
  color: #1a2233 !important;
}

.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-stepper button:hover {
  background: #eef2f8 !important;
  color: #1a2233 !important;
}

.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-sheet-apply:hover,
.elementor-kit-5 .anex-catalog-search-widget.anex-search-prototype .anex-panel .anex-dest-apply:hover {
  background: #de0f1c !important;
  color: #fff !important;
}

.elementor-kit-5 body > .anex-panel-portal .anex-cal-day:hover:not(:disabled) {
  background: #eef2f8 !important;
  color: #1a2233 !important;
}

.elementor-kit-5 body > .anex-panel-portal .anex-nights-grid button:hover {
  background: #eef2f8 !important;
  color: #1a2233 !important;
}
