:root {
  --bg:#eef2f4; --surface:#fff; --ink:#14222e; --muted:#5a6b78; --line:#d6dee3;
  --navy:#040e4c; --navy-soft:#e2eaf8; --yellow:#f1e533; --ok:#13703f; --ok-soft:#e1f3e8;
  --warn:#8a5a00; --warn-soft:#fdf1d6; --bad:#a3261d; --bad-soft:#fbe3e1;
  --r:12px; --font:system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.5 var(--font); }
a { color:var(--navy); }
.sus { background:var(--navy); color:#fff; padding:10px 16px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.sus img { height:34px; background:#fff; border-radius:8px; padding:3px 6px; }
.sus .titlu { font-weight:700; font-size:1.05rem; }
.sus .dreapta { margin-left:auto; display:flex; gap:10px; align-items:center; font-size:.9rem; }
.sus button { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.5); padding:5px 10px; border-radius:8px; cursor:pointer; font:inherit; }
.test { background:var(--yellow); color:#000; text-align:center; font-size:.85rem; padding:4px 10px; font-weight:600; }
main { max-width:1100px; margin:0 auto; padding:16px; }
main.ingust { max-width:520px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:16px; margin:0 0 16px; }
.card h2 { margin:0 0 10px; font-size:1.15rem; }
.card h3 { margin:14px 0 8px; font-size:1rem; }
h1 { font-size:1.4rem; margin:6px 0 14px; }
label { display:block; font-weight:600; margin:10px 0 4px; font-size:.95rem; }
input[type=text], input[type=tel], input[type=password], textarea, select {
  width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:10px; font:inherit; background:#fff; color:var(--ink); }
textarea { min-height:140px; }
input:focus, textarea:focus, select:focus { outline:2px solid var(--navy); outline-offset:1px; }
button, .buton { display:inline-flex; align-items:center; justify-content:center; gap:6px; background:var(--navy); color:#fff;
  border:0; border-radius:10px; padding:10px 16px; font:inherit; font-weight:600; cursor:pointer; text-decoration:none; min-height:44px; }
button.secundar, .buton.secundar { background:#fff; color:var(--navy); border:1px solid var(--navy); }
button.mic, .buton.mic { padding:5px 10px; min-height:34px; font-size:.9rem; }
button.verde { background:var(--ok); }
button.rosu { background:var(--bad); }
button.wa, .buton.wa { background:#1f8f4e; }
button:disabled { opacity:.45; cursor:not-allowed; }
.rand { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.rand > * { flex:0 0 auto; }
.plin { width:100%; }
.notă, .nota { color:var(--muted); font-size:.9rem; }
.mesaj { padding:10px 12px; border-radius:10px; margin:10px 0; font-size:.95rem; }
.mesaj.eroare { background:var(--bad-soft); color:var(--bad); }
.mesaj.ok { background:var(--ok-soft); color:var(--ok); }
.mesaj.info { background:var(--navy-soft); color:var(--navy); }
.mesaj.atentie { background:var(--warn-soft); color:var(--warn); }
.eticheta { display:inline-block; padding:2px 9px; border-radius:99px; font-size:.8rem; font-weight:600; background:var(--navy-soft); color:var(--navy); white-space:nowrap; }
.eticheta.ok { background:var(--ok-soft); color:var(--ok); }
.eticheta.atentie { background:var(--warn-soft); color:var(--warn); }
.eticheta.rau { background:var(--bad-soft); color:var(--bad); }
.eticheta.gri { background:#eceff1; color:var(--muted); }
table { width:100%; border-collapse:collapse; font-size:.93rem; }
th, td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); vertical-align:top; }
th { color:var(--muted); font-weight:600; font-size:.85rem; }
.tabel { overflow-x:auto; }
.grila { display:grid; grid-template-columns:repeat(auto-fill, minmax(170px, 1fr)); gap:12px; }
.poza { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
.poza img { width:100%; aspect-ratio:2/3; object-fit:cover; background:#e8ecef; display:block; cursor:zoom-in; }
.poza .jos { padding:8px; display:flex; flex-direction:column; gap:6px; font-size:.85rem; }
.file { display:flex; gap:6px; flex-wrap:wrap; margin:0 0 14px; }
.file button { background:#fff; color:var(--navy); border:1px solid var(--line); }
.file button.activ { background:var(--navy); color:#fff; border-color:var(--navy); }
.pasi { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px,1fr)); gap:8px; margin:10px 0; }
.pas { border:1px solid var(--line); border-radius:10px; padding:8px 10px; font-size:.85rem; background:#fafbfc; }
.pas b { display:block; font-size:1.05rem; }
.pas.gata { background:var(--ok-soft); border-color:#b5dec4; }
.pas.acum { background:var(--warn-soft); border-color:#efd59a; }
.cutie-link { display:flex; gap:6px; }
.cutie-link input { font-size:.85rem; }
#zoom { position:fixed; inset:0; background:rgba(0,0,0,.85); display:none; align-items:center; justify-content:center; z-index:50; padding:10px; }
#zoom img { max-width:100%; max-height:100%; }
.ascuns { display:none !important; }
.dublura { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid var(--line); }
.dublura img { width:56px; height:56px; object-fit:cover; border-radius:8px; }
.dublura .ce { flex:1; }
.contor { display:flex; align-items:center; gap:6px; }
.contor button { width:38px; min-height:38px; padding:0; }
.contor span { min-width:22px; text-align:center; font-weight:700; }
.set { border:2px solid var(--line); border-radius:12px; padding:12px; cursor:pointer; display:block; margin:8px 0; background:#fff; font-weight:400; }
.set.ales { border-color:var(--navy); background:var(--navy-soft); }
.set input { margin-right:8px; }
.set .pret { float:right; font-weight:800; font-size:1.1rem; }
.produse-mici { display:flex; gap:6px; margin-top:8px; }
.produse-mici img { width:60px; height:60px; object-fit:cover; border-radius:6px; }
.total { font-size:1.25rem; font-weight:800; }
@media (max-width:600px) { main { padding:10px; } .card { padding:12px; } .grila { grid-template-columns:repeat(2, 1fr); } }
