/* Lucide chatbot (Linda) — vzhľad widgetu podľa témy lucide-sk (theme.json): čierne tlačidlá s ostrými rohmi (#000, hover modrá #2b66a7),
 * písmo stránky (Open Sans), nadpisy Quicksand 700, text #333, sivé plochy #eee / #e2e0de, krémová #f4e2d0, zelená „Skladom“ #0a7c1e.
 * VŠETKY pravidlá sú pod .lub-root, takže nič nemení na zvyšku stránky. Kontrast: biela na #000 21:1, na #2b66a7 5,6:1; #555 na bielej 7,5:1. */
.lub-root{--lub-black:#000;--lub-ink:#333;--lub-mut:#555;--lub-sub:#767676;--lub-blue:#2b66a7;--lub-blue-l:#397fcc;--lub-soft:#f4f4f4;--lub-bot:#eeeeee;--lub-warm:#e2e0de;--lub-cream:#f4e2d0;--lub-line:#d5d5d5;--lub-bd:#8a8a8a;--lub-ok:#0a7c1e;--lub-eta:#8a6d3b;--lub-err:#c71d1a;--lub-bottom:20px;--lub-display:var(--wp--preset--font-family--display,"Quicksand","Open Sans",system-ui,sans-serif);font-family:var(--wp--preset--font-family--body,"Open Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif);font-size:15px;line-height:1.5;font-weight:400;font-style:normal;letter-spacing:normal;text-transform:none;text-align:left;color:var(--lub-ink)}
.lub-root *,.lub-root *::before,.lub-root *::after{box-sizing:border-box}
.lub-root [hidden]{display:none!important}
.lub-root button,.lub-root input,.lub-root textarea,.lub-root label{font:inherit;letter-spacing:normal;text-transform:none;margin:0}
.lub-root button,.lub-root input,.lub-root textarea{box-shadow:none}
.lub-root strong{color:inherit;font-weight:700}
.lub-root a{text-decoration:none}
.lub-root button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.lub-root img{max-width:none;height:auto;border:0;margin:0;padding:0}
.lub-root .lub-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.lub-root :focus-visible{outline:3px solid var(--lub-blue);outline-offset:2px}

/* ─── Launcher (kruh 56 px vpravo dole; JS ho posunie nad plávajúce „Do košíka“ a cookie lištu cez --lub-bottom) ─── */
.lub-root .lub-launcher{position:fixed;right:20px;bottom:var(--lub-bottom);z-index:9990;width:56px;height:56px;padding:0;border:0;border-radius:50%;background:var(--lub-black);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 24px rgba(14,14,14,.35);transition:transform .15s ease,background .15s ease,bottom .2s ease}
.lub-root .lub-launcher:hover{background:var(--lub-blue);transform:scale(1.05)}
.lub-root .lub-launcher:focus-visible{outline:0;box-shadow:0 0 0 3px #fff,0 0 0 6px var(--lub-blue),0 8px 24px rgba(14,14,14,.35)}
.lub-root .lub-launcher::before{content:"";position:absolute;inset:0;border-radius:50%;border:3px solid var(--lub-blue-l);opacity:0;pointer-events:none}
.lub-root .lub-pulse::before{animation:lub-pulse 1s ease-out 3}
.lub-root .lub-dotm{position:absolute;top:2px;right:2px;width:13px;height:13px;border-radius:50%;background:var(--lub-ok);border:2px solid #fff}
.lub-root.lub-open .lub-launcher{display:none}
@keyframes lub-pulse{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.75)}}
@keyframes lub-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes lub-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}

/* ─── Panel ─── */
.lub-root .lub-panel{position:fixed;right:20px;bottom:var(--lub-bottom);z-index:9990;display:flex;flex-direction:column;width:400px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - var(--lub-bottom) - 90px);background:#fff;color:var(--lub-ink);border:1px solid var(--lub-line);border-radius:10px;box-shadow:0 24px 64px rgba(14,14,14,.25),0 2px 10px rgba(14,14,14,.1);overflow:hidden;animation:lub-in .18s ease-out}
.lub-root .lub-panel:focus{outline:0}
.lub-root .lub-head{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:11px 6px 11px 14px;background:var(--lub-black);color:#fff}
.lub-root .lub-head :focus-visible{outline-color:#fff}
.lub-root .lub-av{flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:var(--lub-cream);color:var(--lub-black);display:flex;align-items:center;justify-content:center;font-family:var(--lub-display);font-size:18px;font-weight:700;line-height:1}
.lub-root .lub-ht{flex:1 1 auto;min-width:0}
.lub-root .lub-title{font-family:var(--lub-display);font-size:17px;font-weight:700;line-height:1.2;color:#fff}
.lub-root .lub-sub{margin-top:2px;font-size:12.5px;line-height:1.3;color:#cfcfcf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lub-root .lub-hb,.lub-root .lub-hcart{flex:0 0 auto;width:40px;height:40px;padding:0;border:0;border-radius:6px;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;gap:3px;cursor:pointer}
.lub-root .lub-hcart{width:auto;min-width:40px;padding:0 6px;font-size:13px;font-weight:700}
.lub-root .lub-hb:hover,.lub-root .lub-hcart:hover{background:rgba(255,255,255,.16)}
.lub-root .lub-body{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:14px 12px 10px;background:#fff}
.lub-root .lub-body:focus-visible{outline-offset:-3px}
.lub-root .lub-list{display:flex;flex-direction:column;gap:10px}
.lub-root.lub-wait{cursor:progress}

/* ─── Správy ─── */
.lub-root .lub-m{display:flex;flex-direction:column;min-width:0}
.lub-root .lub-from-a{align-items:flex-start}
.lub-root .lub-from-u{align-items:flex-end}
.lub-root .lub-b{text-wrap:pretty;max-width:90%;padding:9px 13px;border-radius:14px;overflow-wrap:anywhere;word-break:break-word;font-size:15px;line-height:1.5}
.lub-root .lub-from-a .lub-b{background:var(--lub-bot);color:var(--lub-ink);border-bottom-left-radius:3px}
.lub-root .lub-from-u .lub-b{background:var(--lub-black);color:#fff;border-bottom-right-radius:3px;white-space:pre-wrap;max-width:85%}
.lub-root .lub-p{margin:0 0 6px;padding:0}
.lub-root .lub-p:last-child,.lub-root .lub-ul:last-child{margin-bottom:0}
.lub-root .lub-ul{margin:2px 0 6px;padding:0 0 0 18px;list-style:disc}
.lub-root .lub-ul li{margin:2px 0;padding:0}
.lub-root .lub-lnk{color:var(--lub-blue);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.lub-root .lub-lnk:hover{color:var(--lub-black)}
.lub-root .lub-err .lub-b{background:#fdf0ef;color:#7a1410;border:1px solid #f3c4c0}
.lub-root .lub-typing .lub-b{display:flex;align-items:center;gap:5px;padding:13px 14px}
.lub-root .lub-dot{display:block;width:7px;height:7px;border-radius:50%;background:var(--lub-mut);animation:lub-dot 1.2s infinite ease-in-out}
.lub-root .lub-dot:nth-child(3){animation-delay:.15s}
.lub-root .lub-dot:nth-child(4){animation-delay:.3s}

/* ─── Rýchle odpovede (čipy) ─── */
.lub-root .lub-quick{display:flex;flex-wrap:wrap;gap:8px;padding:2px 0 0}
.lub-root .lub-chip{min-height:38px;padding:7px 14px;border:1.5px solid var(--lub-black);border-radius:25px;background:#fff;color:var(--lub-black);font-size:14px;font-weight:600;line-height:1.25;text-align:left;cursor:pointer}
.lub-root .lub-chip:hover{background:var(--lub-black);color:#fff}
.lub-root.lub-busy .lub-chip{opacity:.5;pointer-events:none}

/* ─── Tlačidlá (ako v téme: ostré rohy, čierna, hover modrá) ─── */
.lub-root .lub-cta{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;width:100%}
.lub-root .lub-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 14px;border:2px solid transparent;border-radius:0;font-size:14px;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;box-shadow:none}
.lub-root .lub-btn:disabled{opacity:.6;cursor:default}
.lub-root .lub-btn-cta{background:var(--lub-black);color:#fff}
.lub-root .lub-btn-cta:hover:not(:disabled){background:var(--lub-blue);color:#fff}
.lub-root .lub-btn-line{background:#fff;color:var(--lub-black);border-color:var(--lub-black)}
.lub-root .lub-btn-line:hover{background:var(--lub-soft);color:var(--lub-black)}
.lub-root .lub-links .lub-btn{flex:1 1 auto}

/* ─── Karty produktov ─── */
.lub-root .lub-cards{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:8px}
.lub-root .lub-ct{margin:0 2px;font-size:13px;font-weight:700;color:var(--lub-black)}
.lub-root .lub-grid{display:flex;flex-direction:column;gap:8px}
.lub-root .lub-pc{display:flex;gap:10px;align-items:stretch;padding:8px;background:#fff;border:1px solid var(--lub-line);border-radius:5px}
.lub-root .lub-pimg{flex:0 0 96px;width:96px;height:120px;background:var(--lub-soft);overflow:hidden;display:flex;align-items:center;justify-content:center}
.lub-root .lub-pimg img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.lub-root .lub-pbody{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.lub-root .lub-pname{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;font-weight:600;line-height:1.3;color:var(--lub-black)}
.lub-root a.lub-pname:hover{color:var(--lub-blue);text-decoration:underline}
.lub-root .lub-price{margin-top:4px;font-size:16px;font-weight:700;color:var(--lub-black)}
.lub-root .lub-reg{margin-right:6px;font-size:13px;font-weight:400;color:var(--lub-sub)}
.lub-root .lub-stk{display:flex;align-items:center;gap:6px;margin-top:2px;font-size:12.5px;line-height:1.3;color:var(--lub-mut)}
.lub-root .lub-avd{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:var(--lub-sub)}
.lub-root .lub-stk-ok{color:var(--lub-ok);font-weight:600}.lub-root .lub-stk-ok .lub-avd{background:var(--lub-ok)}
.lub-root .lub-stk-way{color:var(--lub-eta)}.lub-root .lub-stk-way .lub-avd{background:#c9a14a}
.lub-root .lub-stk-pre .lub-avd{background:var(--lub-blue-l)}
.lub-root .lub-pc .lub-cta{margin-top:auto;padding-top:8px;gap:6px}
.lub-root .lub-pc .lub-btn{min-height:38px;padding:6px 10px;font-size:13px}
.lub-root .lub-pc .lub-add{flex:1 1 auto}
.lub-root .lub-more{align-self:stretch}

/* ─── Košík ─── */
.lub-root .lub-cart{width:100%;margin-top:8px;padding:10px 12px 12px;background:#fff;border:1px solid var(--lub-line);border-top:3px solid var(--lub-black);border-radius:5px}
.lub-root .lub-ch{display:flex;align-items:center;gap:7px;margin-bottom:6px;color:var(--lub-black)}
.lub-root .lub-cht{font-family:var(--lub-display);font-size:15px;font-weight:700}
.lub-root .lub-cn{margin-left:auto;font-size:12.5px;color:var(--lub-mut)}
.lub-root .lub-cempty{margin:4px 0 0;font-size:14px;color:var(--lub-mut)}
.lub-root .lub-cl{margin:0;padding:0;list-style:none}
.lub-root .lub-ci{display:grid;grid-template-columns:44px 1fr auto;grid-template-areas:"img info info" "img qty line";gap:4px 10px;align-items:center;margin:0;padding:8px 0;border-bottom:1px solid var(--lub-bot)}
.lub-root .lub-cimg{grid-area:img;width:44px;height:44px;object-fit:contain;background:var(--lub-soft);align-self:start}
.lub-root .lub-ci:not(:has(.lub-cimg)){grid-template-areas:"info info info" "qty qty line"}
.lub-root .lub-cinfo{grid-area:info;min-width:0;display:flex;flex-direction:column}
.lub-root .lub-cname{font-size:13px;font-weight:600;line-height:1.3;color:var(--lub-black);overflow-wrap:anywhere}
.lub-root a.lub-cname:hover{color:var(--lub-blue);text-decoration:underline}
.lub-root .lub-cmeta{font-size:12px;color:var(--lub-mut)}
.lub-root .lub-cq{grid-area:qty;display:flex;align-items:center;gap:4px}
.lub-root .lub-qb{width:32px;height:32px;padding:0;border:1.5px solid var(--lub-black);border-radius:0;background:#fff;color:var(--lub-black);display:flex;align-items:center;justify-content:center;cursor:pointer}
.lub-root .lub-qb:hover:not(:disabled){background:var(--lub-black);color:#fff}
.lub-root .lub-qb:disabled{opacity:.5}
.lub-root .lub-qn{min-width:26px;text-align:center;font-weight:700}
.lub-root .lub-cline{grid-area:line;display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:14px}
.lub-root .lub-crm{padding:2px 0;border:0;background:transparent;color:var(--lub-blue);font-size:12px;text-decoration:underline;cursor:pointer}
.lub-root .lub-csum{display:flex;justify-content:space-between;align-items:baseline;margin-top:8px;font-size:14px}
.lub-root .lub-csum strong{font-size:17px;color:var(--lub-black)}
.lub-root .lub-cwarn{margin:6px 0 0;padding:6px 8px;background:#fdf6e3;border-left:3px solid #b8860b;font-size:13px;line-height:1.4}
.lub-root .lub-cinfo2{margin:5px 0 0;font-size:12.5px;line-height:1.4;color:var(--lub-mut)}
.lub-root .lub-cart .lub-cta .lub-btn{flex:1 1 auto}

/* ─── Boxy: splátky, stav objednávky ─── */
.lub-root .lub-box{width:100%;margin-top:8px;padding:10px 12px 12px;background:#fff;border:1px solid var(--lub-line);border-radius:5px}
.lub-root .lub-inst{border-top:3px solid var(--lub-blue)}
.lub-root .lub-ost{border-top:3px solid var(--lub-ok)}
.lub-root .lub-bt{font-family:var(--lub-display);font-size:15px;font-weight:700;line-height:1.3;color:var(--lub-black);margin-bottom:4px}
.lub-root .lub-bst{margin:4px 0 6px;font-size:13.5px;line-height:1.4}
.lub-root .lub-box .lub-ul{font-size:13.5px}
.lub-root .lub-or{display:flex;gap:10px;padding:4px 0;border-top:1px solid var(--lub-bot);font-size:13.5px;line-height:1.4}
.lub-root .lub-ok{flex:0 0 84px;color:var(--lub-mut)}
.lub-root .lub-ov{flex:1 1 auto;min-width:0;font-weight:600;color:var(--lub-black);overflow-wrap:anywhere}

/* ─── Formulárové karty (dopyt, objednávka) ─── */
.lub-root .lub-form{width:100%;margin-top:8px;background:#fff;border:1px solid var(--lub-line);border-top:3px solid var(--lub-black);border-radius:5px}
.lub-root .lub-ff,.lub-root .lub-done{margin:0;padding:12px;background:transparent}
.lub-root .lub-ln{margin:0 0 9px;font-size:13px;line-height:1.4;color:var(--lub-mut)}
.lub-root .lub-lz{margin:0 0 10px;padding:8px 10px;background:var(--lub-soft);font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.lub-root .lub-lzl{font-weight:700;color:var(--lub-black)}
.lub-root .lub-fg{margin:0 0 9px}
.lub-root .lub-fl{display:block;margin:0 0 3px;font-size:12.5px;font-weight:700;line-height:1.3;color:var(--lub-black)}
.lub-root .lub-fi{display:block;width:100%;min-height:44px;padding:9px 11px;border:1.5px solid var(--lub-bd);border-radius:0;background:#fff;color:var(--lub-ink);font-size:16px;line-height:1.3;box-shadow:none;-webkit-appearance:none;appearance:none}
.lub-root textarea.lub-fi{min-height:66px;resize:vertical}
.lub-root .lub-fi:focus{outline:0;border-color:var(--lub-blue);box-shadow:0 0 0 3px rgba(43,102,167,.25)}
.lub-root .lub-fi[aria-invalid="true"]{border-color:var(--lub-err)}
.lub-root .lub-fe{margin:3px 0 0;font-size:12.5px;font-weight:600;line-height:1.35;color:var(--lub-err)}
.lub-root .lub-fst{margin-top:6px;font-size:13px}
.lub-root .lub-consent{display:flex;gap:9px;align-items:flex-start;margin:2px 0;font-size:12.5px;line-height:1.4;color:var(--lub-ink);cursor:pointer}
.lub-root .lub-consent input{flex:0 0 22px;width:22px;height:22px;margin:0;padding:0;accent-color:var(--lub-black);cursor:pointer}
.lub-root .lub-hp{position:absolute!important;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.lub-root .lub-ts{margin-top:6px}
.lub-root .lub-ff .lub-btn-cta{width:100%;margin-top:8px}
.lub-root .lub-done{background:#edf7ef;color:#075e17;font-size:14px;font-weight:600;line-height:1.4}

/* ─── Päta: vstup, počítadlo, upozornenie ─── */
.lub-root .lub-foot{flex:0 0 auto;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--lub-line);background:#fff}
.lub-root .lub-form-msg{display:flex;align-items:flex-end;gap:8px;margin:0;padding:0;background:transparent}
.lub-root .lub-ta{flex:1 1 auto;min-width:0;min-height:44px;max-height:120px;padding:10px 12px;border:1.5px solid var(--lub-bd);border-radius:0;background:#fff;color:var(--lub-ink);font-size:16px;line-height:1.4;resize:none;overflow-y:auto;box-shadow:none;-webkit-appearance:none;appearance:none}
.lub-root .lub-ta:focus{outline:0;border-color:var(--lub-blue);box-shadow:0 0 0 3px rgba(43,102,167,.25)}
.lub-root .lub-send{flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:0;background:var(--lub-black);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.lub-root .lub-send:hover:not(:disabled){background:var(--lub-blue)}
.lub-root .lub-send:disabled{opacity:.4;cursor:default}
.lub-root .lub-count{margin:3px 4px 0;text-align:right;font-size:12px;color:var(--lub-mut)}
.lub-root .lub-legal{margin:6px 2px 0;font-size:11.5px;line-height:1.4;color:var(--lub-mut)}
.lub-root .lub-legal .lub-lnk,.lub-root .lub-note .lub-lnk{font-weight:600}
.lub-root .lub-note{margin:2px 6px 8px;font-size:11.5px;line-height:1.4;color:var(--lub-mut)}

/* ─── Mobil (a nízke okno): panel ako spodný list na celú šírku, väčšie dotykové plochy ─── */
@media (max-width:640px),(max-height:500px){
	.lub-root .lub-launcher{right:16px}
	.lub-root .lub-panel{left:0;right:0;bottom:0;width:auto;max-width:none;height:88vh;max-height:none;border-width:1px 0 0;border-radius:12px 12px 0 0}
	.lub-root .lub-hb,.lub-root .lub-hcart{height:44px}
	.lub-root .lub-hb{width:44px}
	.lub-root .lub-btn{min-height:44px}
	.lub-root .lub-chip{min-height:44px}
	.lub-root .lub-qb{width:40px;height:40px}
	.lub-root .lub-b{max-width:94%}
	.lub-root .lub-pimg{flex-basis:84px;width:84px;height:108px}
	.lub-root .lub-pc .lub-btn{min-height:42px}
}
@supports (height:1dvh){
	@media (max-width:640px),(max-height:500px){.lub-root .lub-panel{height:88dvh}}
}
@media (max-width:640px),(max-height:500px){
	.lub-root.lub-kb .lub-panel{bottom:var(--lub-pb,0px);height:var(--lub-ph,88vh)}
}
@media (prefers-reduced-motion:reduce){
	.lub-root *,.lub-root *::before,.lub-root *::after{animation:none!important;transition:none!important}
}
@media print{.lub-root{display:none!important}}
