/* Scoped styles. Reuse the live QS palette; do not change other site elements. */
/* Quick-Step Center — подбор из каталога: qsf-category-help. */
#content .qsf-category-help{display:flex;align-items:center;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid #dce7f1;border-radius:14px;background:#f4f8fc;color:#213344;box-sizing:border-box}
#content .qsf-category-help-copy{flex:1;min-width:0}
#content .qsf-category-help-title{display:block;margin:0 0 5px;color:#003b7a;font-size:16px;line-height:1.35;font-weight:700}
#content .qsf-category-help-note{margin:0;color:#647382;font-size:13px;line-height:1.5}
#content .qsf-category-help-button{display:flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:46px;margin:0;padding:11px 18px;border:1px solid #004fa3;border-radius:11px;background:#004fa3;color:#fff;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;text-align:center;cursor:pointer;box-shadow:none;box-sizing:border-box}
#content .qsf-category-help-button:hover{background:#003b7a;border-color:#003b7a}
#content .qsf-category-help-button:focus-visible{outline:3px solid #d42f7b;outline-offset:3px}
@media(max-width:767px){#content .qsf-category-help{flex-direction:column;align-items:stretch;gap:12px;padding:15px}#content .qsf-category-help-button{width:100%}}
/* Quick-Step Center — расчёт с главной: qsf-home-plan. */
.qs-direct-hero-001__actions.qsf-home-plan-actions,.qs-home-pick-003__actions.qsf-home-plan-actions{flex-wrap:wrap}
.qsf-home-plan-actions .qsf-home-plan{width:100%;max-width:100%;min-height:48px;flex:1 1 100%;font-family:inherit;white-space:normal;cursor:pointer;box-sizing:border-box}
.qsf-home-plan-actions .qsf-home-plan:focus-visible{outline:3px solid #d42f7b;outline-offset:3px}
/* Quick-Step Center — кнопка расчёта товара: qsf-product-quote. */
#product .qsf-product-action{display:block;width:100%;min-width:0;box-sizing:border-box}
.qs-product-001 .qs-product-001__actions.qsf-has-quote>.qs-product-001__visualizer-action{grid-column:1/-1}
#product .qsf-product-quote{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;margin:0;padding:12px 16px;border:1px solid #004fa3;border-radius:11px;background:#fff;color:#004fa3;font-family:inherit;font-size:15px;line-height:1.4;font-weight:700;text-align:center;cursor:pointer;box-sizing:border-box;box-shadow:none}
#product .qsf-product-quote:hover{background:#edf5fb;border-color:#003b7a;color:#003b7a}
#product .qsf-product-quote:focus-visible{outline:3px solid #d42f7b;outline-offset:3px}
#product .qsf-product-quote svg{flex:0 0 20px}
#product .qsf-product-quote-note{display:block;margin:6px 0 0;color:#647382;font-family:inherit;font-size:11px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
.qsf-desktop-launcher,.qsf-desktop-launcher[hidden]{display:none!important}
@media(min-width:992px){
  .qsf-desktop-launcher:not([hidden]){position:fixed;right:24px;bottom:var(--qsf-launcher-bottom,var(--qsf-launcher-base));z-index:9998;display:flex!important;align-items:center;justify-content:center;gap:11px;max-width:calc(100vw - 48px);padding:13px 19px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:#004fa3;background:var(--qs-primary,#004fa3);color:#fff;font-family:inherit;font-size:14px;font-weight:700;line-height:1.35;text-align:left;cursor:pointer;box-shadow:0 8px 24px rgba(0,51,102,.2);box-sizing:border-box}
  .qsf-desktop-launcher:hover{background:#003b7a}
  .qsf-desktop-launcher svg{flex-shrink:0}
  .qsf-desktop-launcher small{display:block;margin-top:3px;font-size:11px;font-weight:400;line-height:1.3;color:#fff;opacity:.9}
  .qsf-desktop-launcher:focus-visible{outline:3px solid #d42f7b;outline-offset:3px}
}
.qs-sticky a.qsf-trigger{background:#004fa3!important;background:var(--qs-primary,#004fa3)!important;color:#fff!important;display:flex;align-items:center;justify-content:center;gap:5px;padding:12px 4px;min-width:0;font-size:12.5px}
.qsf-trigger svg{flex-shrink:0;width:16px;height:16px}
.qsf-overlay[hidden],.qsf-overlay [hidden]{display:none!important}
.qsf-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(10,30,48,.52);display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;font-family:inherit;font-size:14px;line-height:1.45;color:#213344;box-sizing:border-box}
.qsf-overlay *{box-sizing:border-box}
.qsf-dialog{position:relative;width:100%;max-width:570px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e6e9ee;border-radius:22px;padding:28px;box-shadow:0 20px 80px rgba(0,0,0,.2);margin:auto;outline:none}
.qsf-overlay .qsf-close{position:absolute;right:12px;top:10px;width:40px;height:40px;background:#f3f5f7;border:0;border-radius:50%;color:#004fa3;font-size:28px;line-height:1;cursor:pointer;font-family:inherit}
.qsf-eyebrow{color:#004fa3;font-size:11px;letter-spacing:.07em;text-transform:uppercase;padding-right:30px;font-weight:700}
.qsf-overlay h2{font-family:inherit;font-size:26px;font-weight:700;line-height:1.2;color:#003b7a;margin:10px 30px 8px 0}
.qsf-overlay h3{font-size:22px;color:#003b7a;margin:10px 0}
.qsf-intro{font-size:14px;color:#647382;margin:0 0 20px}
.qsf-fields{display:grid;grid-template-columns:1fr 1.15fr;gap:14px}
.qsf-field{margin-bottom:14px}
.qsf-field label{display:block;font-size:13px;font-weight:600;color:#213344;margin:0 0 6px}
.qsf-field label span{color:#d42f7b}
.qsf-field input,.qsf-field textarea{width:100%;border:1px solid #d6dfe7;border-radius:10px;background:#fff;color:#213344;padding:11px 12px;line-height:1.4;font-size:16px;font-family:inherit;box-shadow:none}
.qsf-field textarea{resize:vertical;min-height:92px;max-height:240px}
.qsf-quote-mode #qsf-question{min-height:150px}
.qsf-field input:focus,.qsf-field textarea:focus{outline:2px solid #004fa3;outline-offset:1px;border-color:#004fa3}
.qsf-field [aria-invalid="true"]{border-color:#b52251}
.qsf-field-error{display:block;font-size:12px;color:#a31d45;margin-top:4px}
.qsf-field-error:empty{display:none}
.qsf-attachment{border:1px dashed #b9cbdc;border-radius:12px;background:#f7f9fc;padding:12px 14px;margin:0 0 16px}
.qsf-file-label{display:flex;align-items:center;gap:7px;color:#004fa3;font-size:14px;font-weight:600;cursor:pointer;margin:0 0 6px}
.qsf-file-label span{margin-left:auto;font-size:12px;font-weight:400;color:#647382;white-space:nowrap}
.qsf-attachment input[type=file]{position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0;overflow:hidden}
.qsf-attachment:focus-within{outline:2px solid #004fa3;outline-offset:2px}
.qsf-attachment small{display:block;color:#647382;font-size:12px}
.qsf-file-row{display:flex;align-items:center;gap:8px;margin:8px 0;color:#213344;font-size:12px}
#qsf-file-name{overflow-wrap:anywhere;flex:1}
#qsf-file-remove{border:0;background:transparent;color:#004fa3;text-decoration:underline;padding:5px;cursor:pointer}
.qsf-consent{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.5;font-weight:400;color:#647382;margin:0}
.qsf-consent input{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:2px 0 0;accent-color:#004fa3;appearance:auto;-webkit-appearance:checkbox}
.qsf-consent a,.qsf-footnote a{color:#004fa3;text-decoration:underline}
.qsf-overlay .qsf-submit{display:block;width:100%;border:0;border-radius:11px;padding:14px 16px;margin-top:16px;background:#004fa3;background:var(--qs-primary,#004fa3);color:#fff;font-size:15px;font-family:inherit;font-weight:700;cursor:pointer;text-align:center;line-height:1.4;box-shadow:none}
.qsf-submit:hover{background:#003b7a}
.qsf-submit:disabled{opacity:.55;cursor:wait}
.qsf-overlay button:focus-visible,.qsf-overlay a:focus-visible,.qsf-trigger:focus-visible{outline:3px solid #d42f7b;outline-offset:3px}
.qsf-footnote{font-size:11px;color:#647382;text-align:center;margin:10px 0 0;line-height:1.5}
.qsf-status{font-size:13px;color:#a31d45;margin-top:10px;overflow-wrap:anywhere}
.qsf-status:empty{display:none}
.qsf-progress{margin-top:14px;color:#647382;font-size:12px}
.qsf-progress progress{width:100%;height:7px;display:block;margin-bottom:5px;accent-color:#004fa3}
.qsf-trap{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
#qsf-success{text-align:center;padding:24px 0 10px;outline:none}
.qsf-success-icon{width:58px;height:58px;margin:auto;background:#edf5fb;color:#004fa3;border-radius:50%;font-size:35px;line-height:58px}
#qsf-ticket{font-size:13px;color:#647382}
@media(max-width:600px){.qsf-overlay{padding:10px;align-items:center}.qsf-dialog{padding:22px 18px 18px;border-radius:18px;max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}.qsf-overlay h2{font-size:23px}.qsf-intro{font-size:13px;margin-bottom:16px}.qsf-fields{grid-template-columns:1fr;gap:0}.qsf-field{margin-bottom:12px}.qsf-attachment{padding:10px 12px}.qsf-eyebrow{font-size:10px}.qsf-file-label{font-size:13px}}
@media(prefers-reduced-motion:reduce){.qsf-overlay *{scroll-behavior:auto!important}}

/* These storefronts have no Moscow sticky bar. The launcher also serves mobile. */
@media(max-width:991px){
  .qsf-desktop-launcher:not([hidden]){position:fixed;right:14px;bottom:var(--qsf-launcher-bottom,var(--qsf-launcher-base));z-index:9998;display:flex!important;align-items:center;gap:8px;max-width:calc(100vw - 28px);min-height:44px;padding:10px 14px;border:0;border-radius:12px;background:#004fa3;color:#fff;font-family:inherit;font-size:13px;font-weight:600;line-height:1.35;cursor:pointer;box-shadow:0 6px 20px #00336633;box-sizing:border-box}
  .qsf-desktop-launcher small{display:none}
  .qsf-desktop-launcher svg{flex-shrink:0}
}
.qsf-file-row{min-width:0}
#qsf-file-name{min-width:0}
.qsf-eyebrow{overflow-wrap:anywhere}

/* Native scroll-to-top space plus a 14px gap, including its hidden state. */
.qsf-desktop-launcher{--qsf-launcher-base:150px}
@media(max-width:900px){.qsf-desktop-launcher{--qsf-launcher-base:180px}}
