.ecm{--ink:#173e34;--soft:#66746b;--hair:#dbe3da;--leaf:#164f3c;color:var(--ink);max-width:1300px;margin:0 auto;line-height:1.5}
.ecm *{box-sizing:border-box}
.ecm h1,.ecm h2,.ecm h3,.ecm p,.ecm dl,.ecm dd{margin:0}
.ecm h1,.ecm h2,.ecm h3{color:var(--ink);letter-spacing:-.035em}
.ecm h1{font-size:clamp(2.15rem,5vw,4.1rem);line-height:1.05}
.ecm h2{font-size:clamp(1.3rem,2.2vw,1.8rem);line-height:1.18}
.ecm h3{font-size:1.18rem;line-height:1.28}
.ecm button,.ecm input,.ecm textarea{font:inherit}
.ecm button{cursor:pointer;line-height:1.3}
.ecm button:disabled{opacity:.45;cursor:not-allowed}
.ecm button:focus-visible,.ecm input:focus-visible,.ecm textarea:focus-visible{outline:3px solid #cb912e;outline-offset:3px}
.ecm-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:6px 0 24px}
.ecm-kicker{display:block;letter-spacing:.1em;font-size:.75rem;font-weight:750;margin-bottom:8px;color:#50705b}
.ecm-budget{display:grid;background:#e8efe4;border:1px solid #d5e0cd;border-radius:14px;padding:10px 16px;color:#516456;font-size:.88rem;white-space:nowrap}
.ecm-budget b{color:var(--ink);font-size:1.25rem}
.ecm-scenario{border:1px solid #ccd9ba;background:#e9efdd;border-radius:16px;padding:clamp(18px,3vw,32px);margin-bottom:30px}
.ecm-scenario h2{margin-bottom:8px}.ecm-scenario p{max-width:80ch;color:#415447}
.ecm-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,28%);gap:clamp(14px,2.2vw,28px);align-items:start}
.ecm-catalogtitle{margin-bottom:16px!important}
.ecm-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ecm-card{background:#fff;border:1px solid var(--hair);border-radius:14px;overflow:hidden;display:flex;flex-flow:column;min-width:0}
.ecm-art{display:block;width:100%;height:auto;object-fit:cover}
.ecm-cardbody{padding:14px;display:flex;flex-flow:column;align-items:start;flex:1}
.ecm-unit{color:var(--soft);font-size:.86rem}.ecm-card h3{margin-top:3px}.ecm-price{margin:8px 0 16px}
.ecm-actions{display:flex;justify-content:space-between;gap:6px;align-items:center;width:100%;margin-top:auto;flex-wrap:wrap}
.ecm-actions button,.ecm-counter button,.ecm-modaltop button{background:transparent;border:1px solid var(--hair);color:var(--ink);border-radius:7px;padding:8px}
.ecm-actions button{font-size:.88rem;font-weight:650}
.ecm-actions .ecm-add{background:#edf3e9;border-color:#ccdeca}
.ecm aside{position:sticky;top:18px}
.ecm-basket{border:1px solid #d5ddcf;background:#f5f7ee;padding:20px;border-radius:15px}
.ecm-basket h2{margin-bottom:18px}
.ecm-empty{color:var(--soft);padding:0 0 12px}
.ecm-row{padding:12px 0;border-top:1px solid var(--hair);display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:600}
.ecm-row small{display:block;color:var(--soft);font-size:.84rem;font-weight:400}
.ecm-counter{display:flex;gap:5px;align-items:center}.ecm-counter b{min-width:1ch;text-align:center}.ecm-counter button{padding:4px 7px;background:white}
.ecm dl{border-top:1px solid var(--hair);padding:8px 0}.ecm dl div{display:flex;justify-content:space-between;gap:12px;padding:5px 0}
.ecm dt{color:var(--soft)}.ecm dd{font-weight:700;text-align:right}
.ecm .ecm-primary,.ecm-bot button{background:var(--leaf);color:white;border:0;border-radius:9px;min-height:42px;padding:10px 15px;font-weight:650}
.ecm .ecm-primary{width:100%;margin-top:8px}
.ecm-modal{color:var(--ink);border:1px solid var(--hair);padding:22px;border-radius:18px;width:min(510px,calc(100vw - 24px));max-height:85dvh;overflow:auto;background:white;box-shadow:0 20px 80px #112d2955}
.ecm-modal:not([open]){display:none}
.ecm-modal::backdrop{background:#10282099}
.ecm-modaltop{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.ecm-modaltop button{font-size:1.4rem;padding:2px 10px}.ecm-modal .ecm-art{max-height:180px;object-fit:contain;background:#f4f3eb;border-radius:10px}
.ecm-modal p{margin:12px 0}.ecm-modal fieldset{border:0;padding:0;margin:16px 0}.ecm-modal legend,.ecm-field,.ecm-bot label{font-weight:650}
.ecm-choices{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.ecm-choice{display:flex;align-items:center;gap:6px;border:1px solid var(--hair);border-radius:8px;padding:6px 10px;font-size:.94rem}.ecm-choice input{width:16px;height:16px;accent-color:var(--leaf)}
.ecm-field{display:block;margin:16px 0}.ecm-field textarea,.ecm-bot input{display:block;width:100%;background:white;color:var(--ink);border:1px solid #aebeb0;border-radius:8px;padding:9px;margin-top:6px;min-width:0}
.ecm-field textarea{min-height:74px;resize:vertical}.ecm-err{color:#9c392c}
.ecm-bot{margin:28px 0;background:#edf2ef;border:1px solid #d3dfd5;border-radius:16px;padding:clamp(16px,3vw,28px)}
.ecm-bot h2{margin-bottom:8px}.ecm-bot p{max-width:72ch}.ecm-bot form{max-width:740px;margin-top:16px}.ecm-bot form>div{display:flex;align-items:stretch;gap:8px}.ecm-bot input{margin:0;flex:1}.ecm-bot label{display:block;margin-bottom:5px}.ecm-bot form span{display:block;margin-top:7px}
.ecm-chat{max-height:290px;overflow:auto}.ecm-chat p{background:white;border:1px solid var(--hair);margin-top:7px;border-radius:9px;padding:10px 12px}.ecm-chat b{display:block;font-size:.86rem;color:var(--soft)}
@media(max-width:1050px){.ecm-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:730px){.ecm-layout{grid-template-columns:1fr}.ecm aside{position:static}.ecm-products{gap:9px}.ecm-cardbody{padding:12px}.ecm-basket{padding:16px}.ecm-head{align-items:center}.ecm-budget{padding:8px 10px}.ecm-head h1{font-size:clamp(1.8rem,6vw,2.4rem)}}
@media(max-width:370px){.ecm-actions{flex-direction:column;align-items:stretch}.ecm-head{flex-wrap:wrap}}
