/* Typesense search — dropdown + results (namespaced ests-*) */
.ests-results{--o:#F57C00;--od:#e06f00;--blue:#15396b;--ink:#1f2733;--mut:#7a838f;--line:#e6e9ee;--bg:#f4f6f8;--green:#1a8a3c}

/* ============ SUGGEST DROPDOWN — NAY-class redesign ============ */
/* hide old PS blocksearch ajax autocomplete */
.ac_results{display:none!important}

/* shell — one airy white sheet */
.ests-dd{position:absolute;left:0;top:calc(100% + 8px);z-index:1000;width:min(980px,96vw);
  background:#fff;border:1px solid #e6e9ee;border-radius:16px;
  box-shadow:0 20px 56px rgba(20,30,60,.14);display:none;overflow:hidden;text-align:left;color:#1f2733}
.ests-dd.ests-show{display:block}
.ests-dd *{box-sizing:border-box}

/* two zones split by ONE hairline; collapses to one column when the rail is empty */
.ests-dd-cols{display:grid;grid-template-columns:1fr 304px}
.ests-dd-cols.ests-1col{grid-template-columns:1fr}
.ests-zone{padding:18px 22px}
.ests-main{min-width:0;max-height:72vh;overflow:auto}
.ests-rail{border-left:1px solid #e6e9ee}

/* quiet section labels — NO orange accent bar */
.ests-zone h4{margin:0 0 12px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#9aa3ad}
.ests-sec + .ests-sec{margin-top:22px}

/* ONE quiet shared hover language across every full-width row */
.ests-fraza,.ests-pitem,.ests-catrow,.ests-akcia,.ests-mag{border-radius:9px;transition:background .12s,color .12s}
.ests-fraza:hover,.ests-pitem:hover,.ests-catrow:hover,.ests-akcia:hover,.ests-mag:hover{background:#f7f8fa}
.ests-active{background:#f7f8fa;box-shadow:inset 2px 0 0 #F57C00}

/* Frázy */
.ests-fraza{display:flex;align-items:center;gap:10px;padding:8px;font-size:14px;color:#3a424d;text-decoration:none;cursor:pointer}
.ests-fraza b{font-weight:700;color:#1f2733}
.ests-fraza:hover{color:#F57C00}
.ests-ic{width:15px;height:15px;color:#aab2bb;flex:none}
.ests-fraza:hover .ests-ic{color:#F57C00}

/* Produkty — image | name+availability | right-aligned price */
.ests-pitem{display:flex;gap:14px;align-items:center;padding:11px 8px;text-decoration:none;color:inherit}
.ests-pitem + .ests-pitem{border-top:1px solid #f1f3f6}
.ests-pitem:hover .ests-nm{color:#F57C00}
.ests-pimg{width:56px;height:56px;flex:none}
.ests-pimg img{width:56px;height:56px;object-fit:contain;background:#fff;border:1px solid #eef0f2;border-radius:10px}
.ests-pi-b{min-width:0;flex:1}
.ests-set{display:inline-block;margin-right:6px;padding:1px 6px;border:1px solid #e6e9ee;border-radius:4px;
  font-size:10px;font-weight:700;letter-spacing:.04em;color:#7a838f;vertical-align:1px}
.ests-nm{font-size:14px;font-weight:600;line-height:1.34;color:#1f2733;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ests-nm b{font-weight:700}
.ests-dd .ests-av{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:12.5px;font-weight:600}
.ests-dd .ests-av svg{width:15px;height:14px;flex:none}
.ests-dd .ests-av.s,.ests-dd .ests-av.se{color:#1a8a3c}
.ests-dd .ests-av.dn{color:#1f6fc4}
.ests-dd .ests-av.o{color:#7a838f}
.ests-dd .ests-av.vy{color:#c0392b}
.ests-pi-pr{flex:none;text-align:right;white-space:nowrap;padding-left:10px}
.ests-pwas{display:block;margin-bottom:1px}
.ests-pold{font-size:12px;color:#9aa3ad;text-decoration:line-through}
.ests-poff{font-size:11px;font-weight:700;color:#e8132d;margin-left:6px}
.ests-pnow{display:block;font-size:16px;font-weight:800;color:#1f2733;line-height:1.1}

/* Kategórie — soft-yellow folder, no counts, no dividers */
.ests-catrow{display:flex;align-items:center;gap:10px;padding:8px;font-size:13.5px;color:#3a424d;text-decoration:none;cursor:pointer}
.ests-catrow b{font-weight:700;color:#1f2733}
.ests-catrow:hover{color:#F57C00}
.ests-folder{width:18px;height:18px;flex:none}

/* Značky — plain text links, no chips, no counts */
.ests-brands{display:flex;flex-wrap:wrap;gap:8px 16px;padding:2px}
.ests-brand{font-size:13px;font-weight:600;color:#3a424d;text-decoration:none;cursor:pointer}
.ests-brand b{font-weight:700;color:#1f2733}
.ests-brand:hover{color:#F57C00}

/* Akcie — flat rows, outline % seal, saving leads */
.ests-akcia{display:flex;gap:11px;align-items:center;padding:9px 8px;text-decoration:none;color:#1f2733}
.ests-seal{width:23px;height:23px;flex:none;color:#F57C00}
.ests-aktx{min-width:0}
.ests-aktt{display:block;font-size:13px;font-weight:700;color:#1f2733;line-height:1.3}
.ests-aksub{display:block;font-size:12px;font-weight:500;color:#7a838f;margin-top:1px}
.ests-akcia:hover .ests-aktt{color:#F57C00}
.ests-akcia--lead{padding:11px 10px}
.ests-akcia--lead .ests-aktt{font-size:14.5px}
.ests-akcia--lead + .ests-akcia--lead{border-top:1px solid #f1f3f6}
.ests-akdl{margin-left:auto;flex:none;font-size:11.5px;font-weight:700;color:#c0392b;background:#fdecea;border-radius:6px;padding:3px 9px;white-space:nowrap}

/* Magazín */
.ests-mag{display:flex;gap:10px;align-items:center;padding:8px;font-size:13px;color:#3a424d;text-decoration:none;line-height:1.3}
.ests-mag b{font-weight:700;color:#1f2733}
.ests-mag:hover{color:#F57C00}
.ests-magic{width:16px;height:16px;color:#9aa3ad;flex:none}
.ests-mag:hover .ests-magic{color:#F57C00}

/* curated redirect — one calm row */
.ests-redir{display:flex;align-items:center;gap:9px;padding:12px 18px;color:#e06f00;font-weight:700;
  font-size:13.5px;text-decoration:none;border-bottom:1px solid #eef1f4}
.ests-redir svg{width:16px;height:16px;flex:none}
.ests-redir:hover{background:#fff7ef;color:#F57C00}

/* footer — outlined, warms on hover, NO count, NO orange fill */
.ests-ddfoot{border-top:1px solid #e6e9ee;padding:12px;text-align:center}
.ests-btn{display:inline-block;background:#fff;color:#1f2733;border:1px solid #e6e9ee;border-radius:10px;
  padding:12px 24px;font-weight:700;font-size:14px;cursor:pointer;transition:.12s;text-decoration:none}
.ests-btn:hover{border-color:#F57C00;color:#F57C00;background:#fff7ef}
.ests-btn.ests-ghost{background:#fff;color:#1f2733;border:1px solid #e6e9ee}
/* KEEP: stop the theme's absolute-positioned search magnifier from hijacking our footer button */
.ests-dd .ests-btn,.ests-ddfoot .ests-btn{position:static!important;top:auto!important;right:auto!important;
  bottom:auto!important;left:auto!important;width:auto!important;height:auto!important;min-width:0!important;
  flex:none!important;line-height:normal!important}

.ests-dd .ests-empty{padding:34px;text-align:center;color:#7a838f;font-size:14px}

/* mobile — full-screen vertical stack, PRODUCTS FIRST, sticky outlined footer */
@media(max-width:860px){
  .ests-dd.ests-show{position:fixed;left:0;right:0;top:64px;bottom:0;width:auto;border:0;border-radius:0;
    display:flex;flex-direction:column;overflow-y:auto;box-shadow:none;z-index:2000}
  .ests-dd-cols,.ests-dd-cols.ests-1col{display:flex;flex-direction:column}
  .ests-main{max-height:none;overflow:visible;display:flex;flex-direction:column}
  .ests-sec--prod{order:-1}
  .ests-rail{border-left:0;border-top:1px solid #eef1f4}
  .ests-ddfoot{position:sticky;bottom:0;background:#fff;box-shadow:0 -4px 14px rgba(0,0,0,.06)}
  .ests-layout{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.ests-dd *{transition:none!important}}

/* ============ RESULTS PAGE (category look) — unchanged, out of scope ============ */
.ests-results{color:var(--ink)}
.ests-results *{box-sizing:border-box}
.ests-layout{display:grid;grid-template-columns:266px 1fr;gap:24px}
.ests-facets{background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px 16px 16px;height:max-content}
.ests-facets .ests-ftitle{font-weight:800;font-size:15px;padding:14px 0 6px}
.ests-fgroup{border-top:1px solid var(--line);padding:12px 0}
.ests-fgroup>.ests-fh{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-weight:700;font-size:14px}
.ests-fgroup>.ests-fh .ests-cv{transition:.2s;color:var(--mut)}
.ests-fgroup.ests-closed>.ests-fh .ests-cv{transform:rotate(-90deg)}
.ests-fgroup.ests-closed>.ests-fbody{display:none}
.ests-fbody{margin-top:10px}
.ests-fopt{display:flex;align-items:center;gap:9px;font-size:13.5px;padding:4px 0;cursor:pointer;color:#3a424d}
.ests-fopt input{accent-color:var(--o);width:16px;height:16px}
.ests-fopt .ests-sw{width:14px;height:14px;border-radius:4px;border:1px solid #d3d8df;flex:none}
.ests-fopt .ests-ct{margin-left:auto;color:var(--mut);font-size:12.5px}
.ests-rng{display:flex;gap:8px;align-items:center}
.ests-rng input{width:100%;height:36px;border:1px solid var(--line);border-radius:8px;padding:0 10px;font-size:13px}
.ests-rhead h1{font-size:24px;color:var(--blue);margin:0 0 6px;font-weight:800}
.ests-rhead .ests-cnt{color:var(--mut);font-weight:600;font-size:.7em}
.ests-sortbar{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--line);margin:10px 0 18px;flex-wrap:wrap}
.ests-stab{padding:10px 14px;font-size:14px;font-weight:600;color:var(--mut);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}
.ests-stab.ests-on{color:var(--o);border-bottom-color:var(--o)}
.ests-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.ests-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:7px;transition:.15s}
.ests-card:hover{box-shadow:0 10px 26px rgba(20,30,60,.10);border-color:#dfe3e9}
.ests-card .ests-tag{position:absolute;left:12px;top:12px;background:var(--o);color:#fff;font-size:12px;font-weight:700;padding:3px 9px;border-radius:6px;z-index:2}
.ests-card .ests-imgw{height:168px;display:flex;align-items:center;justify-content:center}
.ests-card .ests-imgw img{max-height:168px;max-width:100%;object-fit:contain}
.ests-card .ests-cap{font-size:11.5px;color:var(--mut);text-transform:uppercase;letter-spacing:.03em}
.ests-card .ests-nm{font-size:14.5px;font-weight:700;line-height:1.32;min-height:38px;color:var(--ink)}
.ests-card a{text-decoration:none;color:inherit}
.ests-results .ests-av{font-size:12px;font-weight:700}
.ests-results .ests-av.s,.ests-results .ests-av.se{color:var(--green)}.ests-results .ests-av.o{color:var(--mut)}.ests-results .ests-av.dn{color:#1f6fc4}.ests-results .ests-av.vy{color:#c0392b}
.ests-pr{font-size:18px;font-weight:800;color:var(--ink)}
.ests-pr .ests-old{font-size:13px;color:var(--mut);text-decoration:line-through;font-weight:600;margin-right:7px}
.ests-cta{margin-top:4px;width:100%;text-align:center;background:var(--o);color:#fff;border:0;border-radius:8px;padding:10px;font-weight:700;font-size:13.5px;cursor:pointer}
.ests-cta:hover{background:var(--od)}
.ests-results .ests-empty{padding:40px;text-align:center;color:var(--mut)}
.ests-more{text-align:center;margin:22px 0}
