.pokemon-search-wrap{
  position:relative;
}

.pokemon-search-suggestions{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 8px);
  z-index:100000;
  display:none;
  overflow:hidden;
  background:#fff;
  border:1px solid #d8dbea;
  border-radius:0 0 12px 12px;
  box-shadow:0 18px 38px rgba(16,24,40,.16);
  color:#111827;
}

.pokemon-search-suggestions.is-open{
  display:block;
}

.pokemon-search-suggestions-list{
  max-height:min(640px, calc(100vh - 110px));
  overflow-y:auto;
  overscroll-behavior:contain;
}

.pokemon-search-section-title{
  padding:16px 16px 9px;
  color:#3526c8;
  font-size:12px;
  font-weight:600;
  line-height:1.2;
}

.pokemon-name-suggestion{
  width:100%;
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 16px;
  margin:0;
  border:0;
  border-radius:0;
  background:#fff;
  color:#111827;
  text-align:left;
  font:inherit;
  font-size:14px;
  line-height:1.35;
  cursor:pointer;
  box-shadow:none;
}

.pokemon-name-suggestion:hover,
.pokemon-name-suggestion:focus,
.pokemon-name-suggestion.is-active{
  background:#f5f6ff;
  outline:none;
}

.pokemon-name-suggestion-text{
  min-width:0;
  flex:1 1 auto;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.pokemon-name-suggestion-arrow{
  flex:0 0 auto;
  width:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#111827;
  font-size:17px;
  line-height:1;
}

.pokemon-product-suggestion{
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  align-items:center;
  gap:12px;
  padding:9px 16px;
  color:#111827;
  text-decoration:none;
  background:#fff;
  border-bottom:1px solid rgba(16,24,40,.06);
  cursor:pointer;
}

.pokemon-product-suggestion:last-child{
  border-bottom:0;
}

.pokemon-product-suggestion:hover,
.pokemon-product-suggestion:focus,
.pokemon-product-suggestion.is-active{
  background:#f5f6ff;
  outline:none;
}

/* Karty bez stanu są wyszarzone jak na stronie wyników wyszukiwania. */
.pokemon-product-suggestion.is-unavailable{
  opacity:.48;
  filter:grayscale(1);
}

.pokemon-product-suggestion.is-unavailable:hover,
.pokemon-product-suggestion.is-unavailable:focus,
.pokemon-product-suggestion.is-unavailable.is-active{
  background:#f3f4f6;
  opacity:.58;
}

.pokemon-product-suggestion img,
.pokemon-product-placeholder{
  width:62px;
  height:82px;
  object-fit:contain;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:4px;
  color:#98a2b3;
  font-size:10px;
  font-weight:700;
}

.pokemon-product-data{
  min-width:0;
  align-self:center;
}

.pokemon-product-name{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  color:#111827;
}

.pokemon-product-price{
  display:block;
  margin-top:4px;
  font-size:14px;
  font-weight:800;
  color:#111827;
}

.pokemon-product-stock{
  display:block;
  margin-top:7px;
  font-size:11px;
  color:#3526c8;
}

.pokemon-search-empty{
  padding:16px;
  color:#6b7280;
  font-size:13px;
}

@media (max-width:700px){
  .pokemon-search-suggestions{
    left:0;
    right:0;
    width:100%;
  }
}
