/* Wooden staircase extension v1 */
.stair-wood-badge{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 13px;margin-bottom:12px;border:1px solid #ead7bd;border-radius:14px;background:linear-gradient(135deg,#fffaf3,#f7efe3);color:#684a2c}.stair-wood-badge b{font-size:13px}.stair-wood-badge span{max-width:58%;font-size:11px;line-height:1.4;color:#866b50;text-align:right}
.stair-dual-unit{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;align-items:center;gap:5px;border:1px solid #d7e0da;background:#fff;border-radius:11px;min-height:44px;overflow:hidden}.stair-dual-unit input{width:100%;min-width:0;border:0!important;box-shadow:none!important;background:transparent!important;padding:10px 8px!important;font-size:15px!important}.stair-dual-unit i{font-style:normal;color:#9b7a57;font-weight:900}.stair-dual-unit b{padding-right:9px;font-size:11px;color:#76827b;white-space:nowrap}
.stair-wood-extra{margin-top:12px;border:1px solid #e2e8e4;border-radius:14px;background:#fafcfb;overflow:hidden}.stair-wood-extra summary{cursor:pointer;padding:13px 14px;font-size:12px;font-weight:850;color:#40564c;list-style:none}.stair-wood-extra summary::-webkit-details-marker{display:none}.stair-wood-extra summary:after{content:'+';float:right;font-size:17px;color:#98704a}.stair-wood-extra[open] summary:after{content:'−'}.stair-wood-extra[open] summary{border-bottom:1px solid #e5ebe7;background:#fff}.stair-wood-extra .stair-subgroup{margin:0;padding:14px;border:0}
.stair-metric.wood{background:linear-gradient(145deg,#fffaf3,#ffffff)}.stair-metric.wood span{color:#8a6848}.stair-metric.wood strong{color:#5d4028}
.stair-wood-panel{border-color:#e6d6c3}.stair-wood-panel .stair-panel-head{background:linear-gradient(135deg,#fffaf2,#f8f4ed)}.stair-wood-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#7b5737;color:#fff;font-size:11px;font-weight:850;white-space:nowrap}.stair-wood-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px}.stair-wood-summary>div{min-width:0;padding:12px;border:1px solid #eee2d3;border-radius:14px;background:#fff}.stair-wood-summary span,.stair-wood-summary small{display:block;color:#827364;font-size:10px;line-height:1.35}.stair-wood-summary strong{display:block;margin:3px 0;color:#553a25;font-size:17px;line-height:1.15;overflow-wrap:anywhere}.stair-wood-table{min-width:820px}.stair-wood-table th,.stair-wood-table td{white-space:normal;vertical-align:top}.stair-wood-table td:nth-child(1){min-width:190px}.stair-wood-table td:nth-child(2){min-width:150px}
.stair-axo-v2 .step-top{stroke:#825d39}.stair-axo-v2 .step-side{stroke:#755034}.stair-axo-v2 .stair-support{fill:#704a2d;stroke:#3e281a;opacity:.98}.stair-axo-v2 .stair-support-edge{stroke:#a87848}.stair-axo-v2 .stair-support-stringer{fill:#66452e}.stair-axo-v2 .stair-support-edge-stringer{stroke:#9c714d}.stair-axo-v2 .stair-turn-frame-wood{fill:rgba(113,74,43,.28);stroke:#664328;stroke-width:5;stroke-dasharray:none}.stair-riser-wood{fill:#c79a68;stroke:#7b5432;stroke-width:1.5;vector-effect:non-scaling-stroke}.stair-railing-post{stroke:#744a2c;stroke-width:6;stroke-linecap:round;vector-effect:non-scaling-stroke}.stair-handrail{fill:none;stroke:#5c3821;stroke-width:9;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.side-riser-wood{stroke:#a16d3e;stroke-width:2;vector-effect:non-scaling-stroke}.side-support-wood{stroke:#70472b;stroke-width:7;stroke-linecap:round;opacity:.85;vector-effect:non-scaling-stroke}
@media(max-width:820px){.stair-wood-summary{grid-template-columns:1fr 1fr}.stair-wood-badge{flex-direction:column}.stair-wood-badge span{max-width:none;text-align:left}.stair-mobile-chip:nth-child(7),.stair-mobile-chip:nth-child(8){grid-column:auto}}
@media(max-width:520px){.stair-wood-summary{grid-template-columns:1fr}.stair-wood-chip{align-self:flex-start}.stair-wood-table{min-width:0}.stair-wood-table thead{display:none}.stair-wood-table,.stair-wood-table tbody,.stair-wood-table tr,.stair-wood-table td{display:block;width:100%}.stair-wood-table tr{margin:10px 12px;padding:10px 12px;width:auto;border:1px solid #e8ded2;border-radius:14px;background:#fff}.stair-wood-table td{display:grid;grid-template-columns:42% minmax(0,1fr);gap:8px;min-width:0!important;padding:6px 0!important;border:0!important;white-space:normal}.stair-wood-table td:before{color:#867564;font-size:10px;font-weight:800}.stair-wood-table td:nth-child(1):before{content:'Элемент'}.stair-wood-table td:nth-child(2):before{content:'Сечение'}.stair-wood-table td:nth-child(3):before{content:'Количество'}.stair-wood-table td:nth-child(4):before{content:'Длина / площадь'}.stair-wood-table td:nth-child(5):before{content:'Чистый объём'}.stair-wood-table td:nth-child(6):before{content:'К заказу'}}
@media print{.stair-wood-extra{display:none}.stair-wood-table{min-width:0!important}.stair-wood-summary{grid-template-columns:repeat(3,1fr)!important}}

.stair-wood-subhead{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 15px 8px;border-top:1px solid #eee5da}.stair-wood-subhead b{font-size:13px;color:#5e4937}.stair-wood-subhead small{font-size:10px;color:#897a6c}.stair-wood-support-table{min-width:760px}.stair-wood-support-table td:first-child{min-width:180px}.stair-wood-support-table td:first-child small{display:block;margin-top:3px;color:#8c7d70;font-size:10px;line-height:1.35}@media(max-width:520px){.stair-wood-subhead{align-items:flex-start;flex-direction:column}.stair-wood-support-table{min-width:720px}}

/* Visible alternative staircase calculator link v2 */
.stair-hero-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}.stair-hero-actions>.btn{display:inline-flex;align-items:center;justify-content:center;min-height:58px}.stair-alt-calculator{display:grid;grid-template-columns:38px minmax(0,1fr) 22px;align-items:center;gap:10px;min-width:min(100%,330px);min-height:58px;padding:9px 12px;border:1px solid rgba(88,101,94,.24);border-radius:14px;background:rgba(255,255,255,.88);box-shadow:0 8px 24px rgba(44,54,48,.07);color:#33463d;text-decoration:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}.stair-alt-calculator:hover{border-color:#9d7852;background:#fff;box-shadow:0 12px 30px rgba(74,55,37,.12);transform:translateY(-1px)}.stair-alt-calculator:focus-visible{outline:3px solid rgba(31,107,87,.22);outline-offset:3px}.stair-alt-calculator__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#33463d;color:#fff;font-size:18px;font-weight:900}.stair-alt-calculator__copy{display:block;min-width:0}.stair-alt-calculator__copy small,.stair-alt-calculator__copy b,.stair-alt-calculator__copy em{display:block}.stair-alt-calculator__copy small{margin-bottom:1px;color:#7f8b84;font-size:9px;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.stair-alt-calculator__copy b{color:#35473e;font-size:14px;line-height:1.2}.stair-alt-calculator__copy em{margin-top:2px;color:#748079;font-size:10px;font-style:normal;line-height:1.25}.stair-alt-calculator__arrow{color:#8a6745;font-size:19px;font-weight:900;transition:transform .18s ease}.stair-alt-calculator:hover .stair-alt-calculator__arrow{transform:translateX(3px)}
@media(max-width:820px){.stair-hero-actions{align-items:stretch}.stair-alt-calculator{min-width:min(100%,360px)}}
@media(max-width:520px){.stair-hero-actions{display:grid;grid-template-columns:1fr;gap:9px}.stair-hero-actions>.btn{width:100%;min-height:50px}.stair-alt-calculator{width:100%;min-width:0;min-height:56px;padding:8px 10px}.stair-alt-calculator__copy em{font-size:9px}}
@media print{.stair-alt-calculator{display:none!important}}
