/* Развёрнутый мастер изготовления. Стили ограничены страницей и мастером. */
#production-page .production-hero{grid-template-columns:1fr}
.production-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0 36px}
.production-facts article{border:1px solid var(--line);border-top:3px solid var(--orange);border-radius:7px;padding:26px;background:var(--surface)}
.production-facts strong{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:48px;line-height:1.1;letter-spacing:-1px;color:var(--orange-dark)}
.production-facts strong small{font-size:19px;letter-spacing:0;color:var(--ink)}
#production-page .production-facts h2{font-size:18px;margin:14px 0 8px}
.production-facts p{font-size:var(--text-note);line-height:1.5;color:var(--muted);margin:0}
.pw{margin-top:var(--space-5);padding:28px 30px;border:var(--border-divider);border-radius:var(--radius-panel);background:white;scroll-margin-top:var(--space-5)}
.pw [hidden]{display:none!important}
.pw-heading{margin-bottom:26px}
.pw-heading h2{font-size:30px;line-height:1.2;margin:var(--space-2) 0 var(--space-3);letter-spacing:-.4px}
.pw-heading p{font-size:var(--text-note);color:var(--muted);line-height:1.5}
.pw h3{font-size:21px;margin:0 0 18px;display:flex;align-items:center;gap:10px}
.pw-number{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--orange);color:var(--surface);font-size:var(--text-note);flex-shrink:0}
.pw fieldset{min-width:0;border:0;padding:0;margin:0}
.pw h3[tabindex]:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.pw h3[tabindex]{scroll-margin-top:24px}
.pw-type-bar{padding:18px 0 20px;border-bottom:1px solid var(--line)}
.pw-types{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.pw-types label{position:relative;cursor:pointer;min-width:0}
.pw-types input,.pw-choice input{position:absolute;opacity:0;width:1px;height:1px}
.pw-types label>span{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:123px;text-align:center;border:var(--border-divider);border-radius:7px;padding:15px 9px;background:var(--surface);transition:background .15s,border-color .15s}
.pw-types svg{width:43px;height:43px;stroke:var(--muted);stroke-width:1.35;fill:none}
.pw-types strong{font-size:var(--text-note);line-height:1.25;font-weight:400}
.pw-types i{display:none;position:absolute;top:7px;right:9px;font-size:13px;font-style:normal;color:var(--orange-dark)}
.pw-types input:checked+span,.pw-choice input:checked+span{background:var(--soft);border-color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange)}
.pw-types input:checked+span strong{font-weight:700}
.pw-types input:checked+span i{display:block}
.pw-types input:focus-visible+span,.pw-choice input:focus-visible+span{outline:3px solid var(--orange-dark);outline-offset:3px}
.pw-types label:hover>span,.pw-choice:hover>span{border-color:var(--orange-hover)}
.pw-section-title{padding-top:30px}
.pw .pw-option-section,.pw .pw-size-section{margin:26px 0}
.pw legend{font-size:16px;font-weight:700;margin-bottom:var(--space-3)}
.pw-choice-grid{display:flex;flex-wrap:wrap;gap:10px}
.pw-choice{position:relative;cursor:pointer;min-width:0}
.pw-choice>span{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:8px 12px;min-height:44px;border:var(--border-field);border-radius:var(--radius-small);background:var(--surface);font-size:var(--text-note);text-align:center}
.pw-choice strong{font-weight:400;font-size:16px;white-space:nowrap}
#pw-sizes{display:flex;flex-wrap:wrap;gap:8px}
#pw-sizes .pw-choice{min-width:132px;max-width:100%}
#pw-sizes .pw-choice>span{min-height:44px;height:100%}
.pw-field-hint{font-size:13px;color:var(--muted);line-height:1.5;margin:0 0 14px}
#pw-size-status{min-height:20px;margin:12px 0}
.pw-custom{background:var(--paper);border-radius:7px;padding:20px var(--space-5)}
.pw-custom h4{font-size:16px;margin:0 0 var(--space-2)}
.pw-dimension-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4);max-width:760px}
.pw-field{display:flex;flex-direction:column;gap:7px;font-size:var(--text-note)}
.pw input:not([type=radio]):not([type=checkbox]),.pw select,.pw textarea{min-width:0;min-height:var(--tap-target);color:var(--ink);scroll-margin-top:84px}
.pw input:focus-visible,.pw select:focus-visible,.pw textarea:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.pw textarea{resize:vertical}
.pw small{font-size:var(--text-small);color:var(--muted);font-weight:400}
.pw-layer-options{display:flex;flex-wrap:wrap;gap:15px var(--space-5);margin-top:18px}
.pw-layer-options label{font-size:var(--text-note);display:flex;align-items:center;gap:var(--space-2)}
.pw input[type=checkbox]{accent-color:var(--orange);width:17px;height:17px}
.pw .pw-extra{display:flex;flex-wrap:wrap;gap:20px;align-items:start;background:var(--paper);border-radius:var(--radius-small);margin:18px 0;padding:20px}
.pw-extra .pw-field:first-of-type{width:230px}
.pw-file{flex:1}
.pw-file input{padding:7px!important}
.pw-quantity-row{display:flex;gap:20px;align-items:end;margin-top:26px}
.pw-quantity-row>.pw-field{width:225px;flex-shrink:0}
.pw-quantity-row p{max-width:420px;margin:0 0 var(--space-2)}
.pw-comment{margin-top:var(--space-5)}
.pw-comment-help{margin:var(--space-2) 0 0}
#pw-step-3{border-top:1px solid var(--line);margin-top:30px}
.pw-request{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.pw-summary{background:var(--paper);border-radius:7px;padding:var(--space-5)}
.pw-summary dl{margin:0;display:grid;gap:11px;font-size:var(--text-note)}
.pw-summary dl>div{display:grid;grid-template-columns:135px 1fr;gap:14px}
.pw-summary dt{color:var(--muted)}
.pw-summary dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.pw-summary p{font-size:13px;line-height:1.5;color:var(--muted);border-top:1px solid var(--line);padding-top:15px;margin:var(--space-4) 0 5px}
.pw-back{font-size:var(--text-note);color:var(--orange-dark);padding:0;min-height:44px;display:inline-flex;align-items:center;text-align:left}
.pw-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4)}
.pw-contact-fields>label:last-child{grid-column:1/-1}
.pw-demo{font-size:var(--text-small);color:var(--muted);line-height:1.5;margin:18px 0}
#pw-result{padding:14px 16px;background:var(--success-soft);border:1px solid var(--green);border-radius:6px;font-size:var(--text-note);margin-top:16px}
#pw-result b{display:block;margin-bottom:4px}
@media(max-width:1100px){.pw{padding:var(--space-5)}.pw-types{grid-template-columns:repeat(3,minmax(0,1fr))}.pw-request{grid-template-columns:1fr}.production-facts strong{font-size:38px}.production-facts article{padding:20px}}
@media(max-width:600px){.production-facts{grid-template-columns:1fr}.pw{padding:20px 14px}.pw-heading h2{font-size:25px}.pw-types{grid-template-columns:repeat(2,minmax(0,1fr))}#pw-sizes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#pw-sizes .pw-choice{min-width:0}#pw-sizes .pw-choice>span{padding:8px 4px}.pw-choice>span{padding:8px 10px}.pw-choice strong{font-size:var(--text-note)}.pw-dimension-inputs{grid-template-columns:1fr}.pw-custom{padding:var(--space-4)}.pw-quantity-row{align-items:stretch;flex-direction:column}.pw-quantity-row>.pw-field{width:auto}.pw-contact-fields{grid-template-columns:1fr}.pw-summary{padding:18px}.pw-summary dl>div{grid-template-columns:1fr;gap:var(--space-1)}}

.pw.km-shell{margin:24px 0 40px}.pw label{font-weight:400}.pw.km-shell h2{margin-bottom:12px}.pw.km-shell h3{margin-bottom:18px}.pw.km-shell p{margin:12px 0}.pw .pw-layer-options input{appearance:auto;width:18px;height:18px;accent-color:var(--orange)}.pw .pw-layer-options label{display:flex;gap:8px;align-items:center;min-height:44px}
