/* vyhledavani-v2.css — vlastní vyhledávání (skupina B / test). v2: viditelné zaškrtávací políčko „Jen skladem“ (šablona Rubín skrývá nativní checkbox). Načítá se v Záhlaví (blokuje vykreslení → bez problikávání).
 * Vše jen pod html.bp-search-b (třídu dává spouštěč, při pádu na Luigi ji odebere) — skupiny A se nic netýká. */

/* Skupina B: našeptávač Luigi a celý obsah stránky výsledků pryč. CZ kreslí výsledky Shoptet do #content, na SK je
   po 3–5 s nahradí Luigi vlastní stránkou (#lb-search-element) — oboje uvnitř #content-wrapper (ověřeno 9. 11. 2026).
   Náš blok #bp-sr stojí VEDLE #content-wrapper, takže ho Luigi nepřepíše. */
html.bp-search-b .luigi-ac { display: none !important; }
html.bp-search-b body.type-search #content-wrapper { display: none !important; }
#bp-sr { min-height: 60vh; }

/* ── Našeptávač ─────────────────────────────────────────────────────────── */
.bps-ac { position: fixed; z-index: 10050; background: #fff; border: 1px solid #e3e3ea; border-radius: 10px;
  box-shadow: 0 12px 32px rgba(40, 40, 70, .18); overflow-y: auto; font-family: 'Exo 2', sans-serif; font-size: 14px;
  color: #2b2b33; padding: 8px 0; -webkit-overflow-scrolling: touch; }
.bps-ac[hidden] { display: none; }
.bps-ac a { color: inherit; text-decoration: none; }
.bps-ac .bps-row { display: block; padding: 10px 16px; font-size: 15px; border-bottom: 1px solid #f0f0f4; }
.bps-ac .bps-row strong { color: #2CA2C6; }
.bps-ac .bps-lab { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #fff;
  background: #2CA2C6; border-radius: 4px; padding: 2px 6px; margin-right: 6px; vertical-align: 1px; }
.bps-ac .bps-redir { background: #f3fafd; }
.bps-ac .bps-corr { padding: 8px 16px; color: #555; }
.bps-ac .bps-corr a { color: #2CA2C6; font-weight: 600; text-decoration: underline; }
.bps-cols { display: flex; gap: 8px; }
.bps-left { flex: 0 0 34%; border-right: 1px solid #f0f0f4; padding: 0 0 6px; }
.bps-right { flex: 1 1 auto; min-width: 0; padding: 0 0 6px; }
.bps-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8880B4; padding: 10px 16px 4px; }
.bps-link { display: block; padding: 6px 16px; line-height: 1.3; }
.bps-n { color: #999; font-size: 12px; }
.bps-p { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 16px; }
.bps-pl { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.bps-pl img { width: 56px; height: 56px; object-fit: contain; flex: 0 0 56px; background: #fafafa; border-radius: 6px; }
.bps-pn { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.bps-pm { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: 0 0 auto; text-align: right; }
.bps-price { font-weight: 700; white-space: nowrap; }
.bps-st { font-size: 12px; white-space: nowrap; }
.bps-st1 { color: #2e8b3d; } .bps-st2 { color: #d9822b; } .bps-st3 { color: #c0392b; }
.bps-btn { display: inline-block; border: 0; border-radius: 6px; background: #2CA2C6; color: #fff !important; font: 600 13px 'Exo 2', sans-serif;
  padding: 6px 12px; cursor: pointer; white-space: nowrap; text-align: center; transition: background .15s; }
.bps-btn:hover, .bps-btn:focus { background: #8880B4; }
.bps-btn.bps-done { background: #2e8b3d; }
.bps-choose { background: #fff; color: #2CA2C6 !important; box-shadow: inset 0 0 0 1px #2CA2C6; }
.bps-choose:hover { background: #8880B4; color: #fff !important; box-shadow: none; }
.bps-all { display: block; text-align: center; padding: 10px 16px 4px; font-weight: 600; color: #2CA2C6 !important; border-top: 1px solid #f0f0f4; margin-top: 4px; }
.bps-ac .bps-nav:hover, .bps-ac .bps-sel { background: #f3f1fa; }
.bps-ac .bps-p:has(.bps-sel) { background: #f3f1fa; }
.bps-loading { padding: 14px 16px; color: #777; }
.bps-none { padding: 10px 16px; font-weight: 600; }
@media (max-width: 767px) {
  .bps-ac { font-size: 15px; }
  .bps-cols { flex-direction: column-reverse; }
  .bps-left { border-right: 0; border-top: 1px solid #f0f0f4; }
  .bps-pl img { width: 48px; height: 48px; flex-basis: 48px; }
}

/* ── Stránka výsledků ───────────────────────────────────────────────────── */
.bps-page { font-family: 'Exo 2', sans-serif; color: #2b2b33; margin: 0 0 32px; }
.bps-page .bps-loading { padding: 40px 0; text-align: center; }
.bps-title { font-size: 26px; font-weight: 700; margin: 8px 0 12px; }
.bps-page .bps-corr, .bps-note { margin: 0 0 12px; color: #555; }
.bps-page .bps-corr a, .bps-page .bps-empty a { color: #2CA2C6; font-weight: 600; }
.bps-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.bps-chip { display: inline-block; padding: 6px 12px; border: 1px solid #d8d5ea; border-radius: 18px; color: #2b2b33 !important; text-decoration: none !important; background: #fff; }
.bps-chip:hover { border-color: #8880B4; background: #f3f1fa; }
.bps-chip-x { border-color: #2CA2C6; background: #f3fafd; }
.bps-filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 12px; background: #f7f7fa; border-radius: 10px; margin: 0 0 12px; }
.bps-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: #555; margin: 0; }
.bps-filters select, .bps-filters input[type=number] { font: 14px 'Exo 2', sans-serif; padding: 6px 8px; border: 1px solid #d8d8e0; border-radius: 6px; background: #fff; min-width: 0; }
.bps-filters select { max-width: 240px; }
.bps-fp span { display: flex; gap: 6px; }
.bps-fp input { width: 84px; }
.bps-filters .bps-fs { flex-direction: row; align-items: center; gap: 6px; padding-bottom: 7px; }
.bps-filters .bps-fs input[type=checkbox] { -webkit-appearance: checkbox !important; appearance: auto !important; display: inline-block !important;
  position: static !important; opacity: 1 !important; visibility: visible !important; width: 18px !important; height: 18px !important;
  margin: 0 !important; clip: auto !important; pointer-events: auto !important; accent-color: #2CA2C6; cursor: pointer; }
.bps-filters .bps-fs::before, .bps-filters .bps-fs::after { content: none !important; display: none !important; }
.bps-count { margin: 0 0 12px; color: #555; }
.bps-count a { color: #2CA2C6; }
.bps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bps-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid #ececf2; border-radius: 10px; padding: 12px; background: #fff; }
.bps-ci { display: block; aspect-ratio: 1 / 1; }
.bps-ci img { width: 100%; height: 100%; object-fit: contain; }
.bps-cn { color: #2b2b33 !important; text-decoration: none !important; line-height: 1.3; min-height: 2.6em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.bps-cn:hover { color: #2CA2C6 !important; }
.bps-cm { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-top: auto; }
.bps-card .bps-btn { width: 100%; padding: 9px 12px; font-size: 14px; }
.bps-morebox { text-align: center; margin: 20px 0 0; }
.bps-morebox .bps-btn { padding: 10px 24px; font-size: 15px; }
.bps-h2 { font-size: 20px; margin: 28px 0 12px; }
.bps-arts { margin: 0; padding-left: 18px; }
.bps-arts a { color: #2CA2C6; }
.bps-empty { padding: 8px 0 4px; }
.bps-empty .bps-none { padding: 0; font-size: 17px; }
@media (max-width: 991px) { .bps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .bps-title { font-size: 21px; }
  .bps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bps-card { padding: 8px; }
  .bps-filters { gap: 10px; }
  .bps-filters label { flex: 1 1 45%; }
  .bps-filters select { max-width: none; width: 100%; }
  .bps-fp input { width: 100%; }
}
