/* Volt pomocnik. Sve je pod #vch, da stilovi teme (p, button, a) ne mijenjaju boje i razmake. */
#vch{font-family:'IBM Plex Sans',system-ui,sans-serif;color:#17284a}
#vch *,#vch *::before,#vch *::after{box-sizing:border-box}
#vch svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
#vch button{font-family:inherit;cursor:pointer;margin:0;text-transform:none;letter-spacing:normal;line-height:1.35;min-height:0;box-shadow:none}
#vch p{margin:0;color:inherit;font-size:14px;line-height:1.55}
#vch a{text-decoration:none}
#vch :focus-visible{outline:3px solid #edac29;outline-offset:2px}

#vch .vch-dugme{position:fixed;right:20px;bottom:20px;z-index:9990;display:flex;align-items:center;gap:10px;height:56px;padding:0 24px 0 20px;border:0;border-radius:40px;background:#133472;color:#fff;font-size:15px;font-weight:700;box-shadow:0 12px 30px #0c245559;transition:transform .2s,background .2s}
#vch .vch-dugme:hover{background:#0d2656;transform:translateY(-2px)}
#vch .vch-dugme svg{width:23px;height:23px;color:#5fd6ff}
#vch.otvoren .vch-dugme{display:none}

#vch .vch-prozor{position:fixed;right:20px;bottom:20px;z-index:9991;width:408px;height:min(660px,calc(100vh - 40px));display:flex;flex-direction:column;background:#fff;border:1px solid #d8e3f2;border-radius:20px;box-shadow:0 30px 70px #0c245545;overflow:hidden;animation:vch-otvori .26s cubic-bezier(.2,.8,.2,1)}
#vch .vch-prozor[hidden]{display:none}
@keyframes vch-otvori{from{opacity:0;transform:translateY(18px) scale(.97)}}

#vch .vch-glava{display:flex;align-items:center;gap:6px;padding:14px 12px 14px 16px;background:linear-gradient(120deg,#0b1f4a,#133472 60%,#1b5a9e);color:#fff}
#vch .vch-znak{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:50%;background:#fff;margin-right:5px}
#vch .vch-znak img{display:block;width:46px;height:46px;border-radius:50%}
#vch .vch-naslov{flex:1;min-width:0}
#vch .vch-naslov b{display:block;font-size:15.5px;line-height:1.3;color:#fff}
#vch .vch-naslov small{display:block;font-size:11.5px;line-height:1.35;color:#bcd6f5}
#vch .vch-akcija{display:grid;place-items:center;width:38px;height:38px;min-height:0;flex:none;margin:0;padding:0;border:0;border-radius:50%;background:#ffffff24;color:#fff;line-height:1;cursor:pointer}
#vch .vch-akcija:hover{background:#ffffff2e;color:#fff}
#vch .vch-akcija svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#vch .vch-akcija svg .puna{fill:currentColor;stroke:none}
#vch .vch-kontakt{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px;background:#fff;border-bottom:1px solid #e3ebf6}
#vch .vch-kontakt-dugme{display:flex;align-items:center;justify-content:center;gap:9px;height:44px;border-radius:12px;font-size:14px;font-weight:600;line-height:1}
#vch .vch-kontakt-dugme svg{width:19px;height:19px}
#vch .vch-zovi{background:#133472;color:#fff}
#vch .vch-zovi:hover{background:#0d2656;color:#fff}
#vch .vch-viber{background:#7360f2;color:#fff}
#vch .vch-viber:hover{background:#5b48d9;color:#fff}
#vch .vch-kontakt-dugme svg.puna{fill:currentColor;stroke:none}

#vch .vch-tok{position:relative;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px 14px;display:flex;flex-direction:column;gap:12px;background:#f4f7fc;scrollbar-width:thin}
#vch .vch-tok>*{flex:none}
#vch .vch-odgovor{display:flex;flex-direction:column;gap:9px}
#vch .vch-bot{align-self:flex-start;max-width:90%;padding:11px 14px;border-radius:4px 16px 16px 16px;background:#fff;color:#17284a;box-shadow:0 2px 8px #13347212;white-space:pre-line;overflow-wrap:anywhere}
#vch .vch-kupac{align-self:flex-end;max-width:84%;padding:10px 14px;border-radius:16px 4px 16px 16px;background:#133472;color:#fff;white-space:pre-wrap;overflow-wrap:anywhere}

/* brojevi */
#vch .vch-opcije{display:flex;flex-direction:column;gap:9px}
#vch .vch-opcije i{display:grid;place-items:center;flex:none;min-width:21px;height:21px;border-radius:6px;background:#e5eefb;color:#133472;font:700 11.5px/1 'IBM Plex Sans',sans-serif;font-style:normal}
#vch .vch-plocice{display:flex;flex-direction:column;gap:8px}
#vch .vch-plocice button{display:flex;align-items:center;gap:12px;min-height:56px!important;padding:8px 12px 8px 8px;border:1px solid #dbe5f4;border-radius:14px;background:#fff;color:#133472;text-align:left;font-size:14.5px;font-weight:600;transition:border-color .15s,background .15s}
#vch .vch-plocice button svg{width:40px;height:40px;padding:9px;border-radius:11px;background:#eaf2fc;color:#133472;stroke-width:1.8}
#vch .vch-plocice button span{flex:1;order:1}
#vch .vch-plocice button i{order:2;min-width:24px;height:24px;border-radius:50%;background:#f1f5fb;color:#5a7099}
#vch .vch-plocice button:hover{border-color:#133472;background:#f8fbff}
#vch .vch-mreza{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#vch .vch-mreza button{display:flex;align-items:center;gap:9px;padding:11px 10px;border:1px solid #dbe5f4;border-radius:12px;background:#fff;color:#133472;text-align:left;font-size:13px;font-weight:600}
#vch .vch-mreza button:hover{border-color:#133472;background:#eef4fd}
#vch .vch-spisak{display:flex;flex-direction:column;border:1px solid #dbe5f4;border-radius:14px;background:#fff;overflow:hidden}
#vch .vch-spisak button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-top:1px solid #ebf0f8;border-radius:0;background:#fff;color:#1c335e;text-align:left;font-size:13px;font-weight:500}
#vch .vch-spisak button:first-child{border-top:0}
#vch .vch-spisak button span{flex:1}
#vch .vch-spisak button svg{width:15px;height:15px;color:#8aa3c8}
#vch .vch-spisak button:hover{background:#eef4fd}
#vch .vch-spisak button:focus-visible{outline-offset:-3px}
#vch .vch-nazad{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;padding:8px 14px 8px 9px;border:1px solid #cbd9ee;border-radius:30px;background:transparent;color:#133472;font-size:12.5px;font-weight:600}
#vch .vch-nazad:hover{background:#fff;border-color:#133472}

/* artikli */
#vch .vch-artikli{display:flex;flex-direction:column;gap:8px}
#vch .vch-artikal{display:flex;gap:12px;align-items:stretch;padding:9px;border:1px solid #dbe5f4;border-radius:14px;background:#fff;color:#17284a;transition:border-color .15s,box-shadow .15s}
#vch .vch-artikal:hover{border-color:#133472;box-shadow:0 8px 18px #1334721f}
#vch .vch-artikal img{width:88px;height:88px;flex:none;object-fit:contain;mix-blend-mode:multiply}
#vch .vch-artikal>span{display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-width:0;flex:1;padding:3px 0}
#vch .vch-artikal em{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-style:normal;font-size:12.5px;line-height:1.4}
#vch .vch-cijena{display:flex;justify-content:space-between;align-items:flex-end;gap:8px}
#vch .vch-cijena b{font-size:16px;color:#133472;white-space:nowrap}
#vch .vch-cijena u{text-decoration:none;font-size:12px;font-weight:700;color:#1d6fb4;white-space:nowrap}
#vch .vch-veza{align-self:flex-start;padding:10px 16px;border-radius:10px;background:#3ec6f3;color:#0c2455;font-size:13px;font-weight:700}
#vch .vch-veza:hover{background:#63d2f7;color:#0c2455}

/* cekanje */
#vch .vch-ceka{display:flex;gap:5px;padding:15px 16px}
#vch .vch-ceka s{width:7px;height:7px;border-radius:50%;background:#8aa3c8;text-decoration:none;animation:vch-tacka 1s ease-in-out infinite}
#vch .vch-ceka s:nth-child(2){animation-delay:.15s}
#vch .vch-ceka s:nth-child(3){animation-delay:.3s}
@keyframes vch-tacka{0%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}

/* unos */
#vch .vch-forma{display:flex;gap:8px;align-items:center;margin:0;padding:11px 12px calc(11px + env(safe-area-inset-bottom));border-top:1px solid #e3ebf6;background:#fff}
#vch .vch-forma input{flex:1;min-width:0;height:44px;margin:0;padding:0 16px;border:1px solid #d3deee;border-radius:12px;background:#f4f7fc;color:#17284a;font:400 16px/1.3 'IBM Plex Sans',sans-serif;box-shadow:none;outline:0}
#vch .vch-forma input:focus{border-color:#133472;background:#fff}
#vch .vch-forma input::placeholder{color:#7b8dab;font-size:13.5px}
#vch .vch-forma button{display:grid;place-items:center;width:44px;height:44px;flex:none;padding:0;border-radius:12px}
#vch .vch-meni{border:1px solid #d3deee;background:#fff;color:#133472}
#vch .vch-meni:hover{border-color:#133472;background:#eef4fd}
#vch .vch-salji{border:0;background:#133472;color:#fff}
#vch .vch-salji:hover{background:#0d2656;color:#fff}
#vch .vch-salji:disabled{opacity:.45;cursor:default}

@media(max-width:650px){
  #vch .vch-dugme{right:12px;bottom:74px;width:56px;padding:0;justify-content:center}
  #vch .vch-dugme span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #vch .vch-prozor{inset:0 0 auto 0;width:auto;height:100vh;height:100dvh;border:0;border-radius:0}
  #vch .vch-glava{padding:calc(12px + env(safe-area-inset-top)) 12px 12px 14px}
  #vch .vch-znak,#vch .vch-znak img{width:40px;height:40px}
}
@media(max-width:360px){#vch .vch-mreza{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#vch .vch-prozor,#vch .vch-ceka s{animation:none}}
