/* BARICO — Spotlight: jeden matný skleněný panel. */
.bs-dialog {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  color: #f5f5f5;
  font: 400 14px/1.45 Poppins, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.bs-dialog:not([open]), .bs-dialog [hidden] { display: none !important; }
.bs-dialog *, .bs-dialog *::before, .bs-dialog *::after { box-sizing: border-box; }
.bs-dialog::backdrop { background: rgba(0,0,0,.7); }
.bs-dialog .bs-panel {
  --bs-top: clamp(88px, 17vh, 176px);
  display: flex;
  flex-direction: column;
  width: min(700px, calc(100% - 40px));
  max-height: calc(100dvh - var(--bs-top) - 28px);
  margin: var(--bs-top) auto 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 30px;
  background: rgba(239, 240, 242, .96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(255,255,255,.18), 0 22px 70px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.08);
  animation: bs-enter .16s ease-out;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bs-dialog .bs-panel {
    background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.02) 45%, rgba(255,255,255,.09)), rgba(239,240,242,.38);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    backdrop-filter: blur(24px) saturate(1.3);
  }
}
.bs-dialog .bs-form {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 17px;
  min-height: 68px;
  margin: 0;
  padding: 10px 16px 10px 24px;
  border: 0;
  background: transparent;
}
.bs-dialog .bs-magnifier { display: flex; flex: 0 0 26px; color: rgba(245,245,245,.85); }
.bs-dialog svg { display: block; width: 100%; height: 100%; }
.bs-dialog input.bs-input {
  display: block;
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f5f5f5;
  font: 500 24px/1.3 Poppins, sans-serif;
  letter-spacing: -.5px;
  text-overflow: ellipsis;
  -webkit-appearance: none;
}
.bs-dialog .bs-input::placeholder { color: rgba(245,245,245,.72); opacity: 1; }
.bs-dialog .bs-input::-webkit-search-cancel-button { display: none; }
.bs-dialog .bs-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: rgba(245,245,245,.85);
  box-shadow: none;
  cursor: pointer;
}
.bs-dialog .bs-close:hover { background: rgba(255,255,255,.22); color: #f5f5f5; }
.bs-dialog .bs-results {
  min-height: 0;
  margin: 0 14px;
  padding: 10px 0 4px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  border-top: 1px solid rgba(245,245,245,.16);
  animation: bs-results-in .18s ease-out;
}
.bs-dialog .bs-categories { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 8px 10px; }
.bs-dialog .bs-category {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.bs-dialog .bs-product {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  margin: 2px 0;
  padding: 10px 12px;
  border-radius: 17px;
  color: #f5f5f5;
  text-decoration: none;
  transition: background .12s;
}
.bs-dialog .bs-product:hover, .bs-dialog .bs-product:focus-visible,
.bs-dialog .bs-category:hover, .bs-dialog .bs-category:focus-visible { background: rgba(255,255,255,.14); }
.bs-dialog .bs-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}
.bs-dialog .bs-thumb img { display: block; width: 56px; height: 56px; object-fit: contain; background: #fff; mix-blend-mode: normal; }
.bs-dialog .bs-info { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-width: 0; }
.bs-dialog .bs-name { font-size: 16px; font-weight: 600; }
.bs-dialog .bs-availability { color: rgba(245,245,245,.76); font-size: 12px; font-weight: 500; }
.bs-dialog .bs-price { flex: 0 0 auto; font-size: 14px; font-weight: 600; white-space: nowrap; }
.bs-dialog .bs-status { margin: 0; padding: 16px 12px 22px; color: rgba(245,245,245,.76); font-size: 14px; font-weight: 500; }
.bs-dialog .bs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bs-dialog .bs-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin: 8px 8px 0;
  padding: 8px 4px;
  border-top: 1px solid rgba(245,245,245,.16);
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.bs-dialog .bs-all:hover { color: #fff; }
.bs-dialog .bs-return { font-size: 19px; }
.bs-dialog :focus-visible { outline: 2px solid rgba(245,245,245,.8); outline-offset: -2px; }
.bs-dialog .bs-input:focus-visible { outline: 0; }
.bs-dialog .bs-panel:focus-within { border-color: rgba(255,255,255,.85); }
@keyframes bs-enter { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes bs-results-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (max-width: 699px) {
  .bs-dialog .bs-panel { --bs-top: max(80px, env(safe-area-inset-top)); width: calc(100% - 40px); border-radius: 24px; }
  .bs-dialog .bs-form { min-height: 62px; gap: 12px; padding: 6px 8px 6px 18px; }
  .bs-dialog .bs-magnifier { flex-basis: 23px; }
  .bs-dialog input.bs-input { font-size: 19px; letter-spacing: -.3px; }
  .bs-dialog .bs-results { margin: 0 8px; }
  .bs-dialog .bs-product { gap: 11px; padding: 9px 8px; }
  .bs-dialog .bs-thumb, .bs-dialog .bs-thumb img { width: 48px; height: 48px; }
  .bs-dialog .bs-thumb { flex-basis: 48px; }
  .bs-dialog .bs-name { font-size: 14px; }
  .bs-dialog .bs-price { font-size: 12px; }
}
@media (max-height: 550px) {
  .bs-dialog .bs-panel { --bs-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-dialog .bs-panel, .bs-dialog .bs-results { animation: none; }
  .bs-dialog .bs-product { transition: none; }
}
