:root{--brand:#c63a33;--brand-dark:#9f2e29;--accent:#199fe3;--ink:#2c3440;--muted:#6b7280;--bg:#f5f7fb;--card:#fff;--border:#e5e7eb;--radius:16px}*{box-sizing:border-box}body,html{height:100%}body{margin:0;font:15.5px/1.6 Manrope,Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg);font-weight:400}.header{gap:16px;background:var(--card);border:1px solid var(--border);box-shadow:0 8px 24px rgba(0,0,0,.06);border-radius:20px;padding:12px 16px;position:-webkit-sticky;position:sticky;top:12px;z-index:20}.header,.header .logo{display:flex;align-items:center}.header .logo{gap:10px}.header .logo img{height:63px}.header .brand{font-weight:700;letter-spacing:.2px}.header .spacer{flex:1 1}.header .lang{display:flex;gap:10px;align-items:center;color:var(--muted);font-weight:600}.header .lang a{color:var(--muted);text-decoration:none;padding:4px 6px;border-radius:8px}.header .lang a.active{color:var(--ink);background:#eef2ff}.header .admin{background:linear-gradient(180deg,#23b2ff,#0fa0ea);color:#fff;padding:10px 14px;border-radius:999px;border:0;box-shadow:0 10px 24px rgba(32,164,235,.2)}.header .admin,.header .help{text-decoration:none;font-weight:700}.header .help{background:#fff;border:1px solid var(--border);color:#1f2937;padding:8px 12px;border-radius:999px}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#1f3b87;border:1px solid #dbe3ff;font-size:12px;font-weight:700}.badge.muted{background:#f3f4f6;color:#4b5563;border-color:#e5e7eb}.product .meta{display:flex;align-items:center;gap:8px;margin-top:6px}.cat-badge{position:absolute;top:8px;left:8px;background:#fff;color:#111827;font-weight:800;font-size:11px;padding:4px 8px;border-radius:999px;box-shadow:0 6px 16px rgba(0,0,0,.2);opacity:.96}.container{max-width:1200px;margin:22px auto;padding:0 18px}.grid{display:grid;grid-gap:14px;gap:14px}.grid.products{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}@media (min-width:1200px){.grid.products{grid-template-columns:repeat(4,1fr)}}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 8px 24px rgba(0,0,0,.06)}.section{padding:14px}.sidebar{position:-webkit-sticky;position:sticky;top:92px}h1,h2,h3{margin:0 0 10px}h2{font-size:26px;letter-spacing:.1px}h2,h3{font-weight:700}.subtle{color:var(--muted)}.product{flex-direction:column}.product,.product .imgwrap{overflow:visible;display:flex;position:relative}.product .imgwrap{height:140px;align-items:center;justify-content:center;background:#fafbff;border-bottom:1px solid var(--border)}.product img{max-width:100%;max-height:130px}.product .title{font-weight:700;margin-top:8px}.product .price{color:#374151;font-weight:600}.tooltip{position:absolute;left:12px;right:12px;top:-8px;background:#111827;color:#fff;padding:10px;border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.25);font-size:13px;line-height:1.4;display:none;z-index:50;white-space:normal}.product.show-desc .tooltip,.product:hover .tooltip{display:block}@media (hover:none){.product:hover .tooltip{display:none}}input,select,textarea{background:#fff;color:var(--ink);border:1px solid var(--border);border-radius:12px;padding:10px 12px;outline:none;width:100%;font-weight:500}.controls{gap:10px;margin-top:10px}.controls,.qty{display:flex;align-items:center}.qty{border:1.5px solid #cbd5e1;border-radius:12px;background:#fff;overflow:hidden}.qty input{width:56px;text-align:center;border:0;padding:10px 8px;outline:none;font-weight:700;color:#0f172a}.qty button{width:36px;height:36px;background:#f8fafc;color:#111827;border:0;box-shadow:none;font-weight:800;cursor:pointer}.qty button:active{transform:translateY(1px)}button{background:linear-gradient(180deg,var(--brand),var(--brand-dark));color:#fff;border:0;padding:10px 14px;border-radius:999px;font-weight:700;cursor:pointer;box-shadow:0 10px 24px rgba(198,58,51,.18)}button.ghost{background:#eef2ff;color:#1f3b87;border:1px solid #dbe3ff;box-shadow:none}button.link{background:transparent;color:#199fe3;padding:0;box-shadow:none}.filters{display:flex;flex-wrap:wrap;margin:8px 0 14px}.filters,.filters .chip{gap:8px;align-items:center}.filters .chip{display:inline-flex;padding:8px 10px;border-radius:999px;border:1px solid var(--border);background:#fff;font-weight:600;cursor:pointer}.filters .chip input{width:auto}.filters .chip.all{background:#fff7f6;border-color:#ffd5d2}.filters .clear-filter{margin-left:auto;font-weight:700;color:#9f2e29;background:#ffe9e7;border:1px solid #ffd0cc}.sidebar .section{padding:16px 16px 20px}.sidebar table{width:100%;font-size:14px;border-collapse:separate;border-spacing:0}.sidebar thead th{color:#64748b;font-weight:800;padding:8px 6px;border-bottom:1px solid var(--border)}.sidebar tbody td{padding:8px 6px;border-bottom:1px dashed var(--border)}.sidebar tfoot td{padding:8px 6px;font-weight:800}.sidebar td:nth-child(2),.sidebar td:nth-child(3),.sidebar td:nth-child(4){text-align:right;white-space:nowrap}.sidebar td:first-child{width:55%}.actions{display:flex;gap:12px;margin-top:14px;flex-wrap:wrap}.btn{padding:10px 14px;border-radius:999px;font-weight:700;border:0;cursor:pointer}.btn-primary{background:linear-gradient(180deg,var(--brand),var(--brand-dark));color:#fff;box-shadow:0 10px 24px rgba(198,58,51,.18)}.btn-secondary{background:#eef2ff;color:#1f3b87;border:1px solid #dbe3ff}.modal-backdrop{position:fixed;inset:0;background:rgba(17,24,39,.55);display:flex;align-items:center;justify-content:center;z-index:30}.modal{width:min(820px,calc(100% - 28px));background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 25px 60px rgba(0,0,0,.35);overflow:hidden}.modal header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--border)}.modal .content{padding:16px}.modal .content h4{margin:12px 0 6px}.modal .content ul{margin:6px 0 14px 18px}.modal .content li{margin:4px 0}.modal .close{background:#f3f4f6;color:#111827;box-shadow:none}.print-header{display:none;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:12px;border-bottom:2px solid var(--border)}.print-header img{height:36px}.print-meta{font-size:13px;color:#475569}.print-title{font-size:22px;font-weight:800;letter-spacing:.2px}.estimate-doc{display:none}:root{--est-ink:#1f2937;--est-muted:#6b7280;--est-accent:var(--brand);--est-border:#e5e7eb;--est-bg:#fff}@media print{@page{size:A4;margin:12mm}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}.actions,.admin,.catalog,.container>.grid,.filters,.header,.lang,.no-print,.sidebar,[role=button],button{display:none!important}body{background:#fff;color:var(--est-ink);font-family:Manrope,Inter,Arial,sans-serif;font-size:12px;margin:0}.estimate-doc{display:block}.est-wrap{background:var(--est-bg);color:var(--est-ink)}.est-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:8px}.est-brand{display:flex;align-items:center;gap:10px}.est-brand img{height:64px}.est-title{font-weight:800;letter-spacing:4px;color:var(--est-accent);font-size:22px}.est-grid{display:grid;grid-template-columns:1.3fr 1fr;grid-gap:14px;gap:14px;margin-bottom:10px}.est-card{border:1px solid var(--est-border);border-radius:12px;padding:10px;background:#fff}.est-label{font-size:11px;color:var(--est-muted);font-weight:700;text-transform:uppercase}.est-h1{font-size:15px;font-weight:800;margin:4px 0 2px}.est-table{width:100%;border-collapse:separate;border-spacing:0;margin-top:4px}.est-head th{background:var(--est-accent);color:#fff;text-align:left;padding:6px 8px;font-weight:800}.est-head th:first-child{border-top-left-radius:10px}.est-head th:last-child{border-top-right-radius:10px}.est-body td{padding:6px 8px;border-bottom:1px solid var(--est-border);vertical-align:top}.est-right{text-align:right}.est-totals{margin-top:8px;display:grid;grid-template-columns:1fr 240px;grid-gap:10px;gap:10px;align-items:start}.est-tbox{border:1px solid var(--est-border);border-radius:12px;padding:8px;background:#fff}.est-trow{display:flex;justify-content:space-between;padding:3px 0}.est-trow.est-grand{border-top:1px solid var(--est-border);margin-top:6px;padding-top:6px;font-weight:900}.est-terms{margin-top:10px}.est-terms .est-label{margin-bottom:3px}.est-wrap{zoom:.98}}@media (max-width:900px){.two-col{grid-template-columns:1fr!important}.grid.products{grid-template-columns:repeat(2,minmax(160px,1fr))}.product .imgwrap{height:150px}.sidebar{position:static}.container{padding:0 12px}.grid{gap:12px}.filters{position:-webkit-sticky;position:sticky;top:8px;z-index:10;background:var(--bg);padding:6px 0}}@media (max-width:480px){.grid.products{grid-template-columns:1fr}}