/**
 * eMAG search scope — menu portaled to body (emag-search-scope.js)
 * Reguły bez header .search — inaczej brak tła, z-index i układu kolumnowego.
 */

.emag-search-scope__menu.emag-search-scope__menu--floating {
  position: fixed !important;
  z-index: 10150 !important;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
  isolation: isolate;
  pointer-events: auto;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible;
}

.emag-search-scope__menu.emag-search-scope__menu--floating .emag-search-scope__option {
  appearance: none;
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.emag-search-scope__menu.emag-search-scope__menu--floating .emag-search-scope__option:hover {
  background: #f4f5f6;
}

.emag-search-scope__menu.emag-search-scope__menu--floating .emag-search-scope__option + .emag-search-scope__option {
  margin-top: 2px;
}

.emag-search-scope__menu.emag-search-scope__menu--floating .emag-search-scope__chip--active {
  background: #f1f2f4 !important;
  font-weight: 700;
}

.emag-search-scope__menu.emag-search-scope__menu--floating .emag-search-scope__chip--active:hover {
  background: #eceef0 !important;
}
