/* Контактное окошко по образцу основного сайта Dream Print. */
.contact-widget{position:fixed;right:28px;bottom:28px;z-index:60;font-family:Onest,Arial,sans-serif;color:#111}.contact-toggle{display:flex;align-items:center;justify-content:center;width:66px;height:66px;border:2px solid #9843f4;border-radius:50%;background:#9843f4;color:#fff;box-shadow:0 6px 22px #55328b25;cursor:pointer;padding:12px;transition:background .18s,box-shadow .18s}.contact-toggle:hover{background:#8432dc;border-color:#8432dc;box-shadow:0 8px 26px #55328b38}.contact-toggle svg{display:block;width:36px;height:36px}.contact-toggle .contact-close-icon{display:none}.contact-widget.is-open .contact-toggle{background:#fff;color:#111}.contact-widget.is-open .contact-chat-icon{display:none}.contact-widget.is-open .contact-toggle .contact-close-icon{display:block;width:24px;height:24px}.contact-panel{position:absolute;right:0;bottom:82px;width:300px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 140px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #e9e9e9;border-radius:18px;background:#fff;box-shadow:0 16px 50px #00000020;padding:18px}.contact-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px}.contact-heading h2{font-family:Onest,Arial,sans-serif;font-size:19px;font-weight:700;letter-spacing:0;line-height:1.3;margin:2px 0 4px}.contact-heading p{font-size:12px;color:#666;margin:0;line-height:1.5}.contact-dismiss{width:36px;height:36px;flex:none;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;color:#555;background:#f5f5f5;padding:8px;cursor:pointer}.contact-dismiss:hover{background:#eaeaea;color:#111}.contact-dismiss svg{width:20px;height:20px}.contact-channels{display:grid;gap:6px}.contact-channel{display:flex;align-items:center;gap:13px;padding:9px 8px;border:1px solid transparent;border-radius:12px;text-decoration:none;color:#111;min-height:66px}.contact-channel:hover{background:#f7f7f8;color:#111;border-color:#ededed}.contact-channel.contact-max{background:#f6f0ff;border-color:#ede2ff}.contact-channel.contact-max:hover{background:#eee3ff}.contact-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:none;border-radius:50%;background:#2f3235;color:#fff}.contact-icon img,.contact-icon svg{width:24px;height:24px;display:block}.contact-channel strong{font-family:Onest,Arial,sans-serif;display:block;font-size:16px;font-weight:700;line-height:1.35}.contact-channel small{display:block;font-size:12px;color:#555;line-height:1.45;margin-top:3px}.contact-message{margin-top:12px;padding-top:5px;border-top:1px solid #eee}.contact-message summary{font-family:Onest,Arial,sans-serif;font-size:13px;min-height:44px;padding:12px 26px 10px 0;line-height:1.5;font-weight:600}.contact-message summary:after{top:8px;font-size:22px}.contact-message p{font-size:12px;color:#555;line-height:1.5;margin:0 0 10px}.contact-message-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.contact-message textarea{display:block;width:100%;min-height:92px;max-height:180px;resize:vertical;border:1px solid #ddd;border-radius:8px;padding:10px;font:12px/1.5 Onest,Arial,sans-serif;color:#333;background:#fafafa}.contact-copy{display:block;width:100%;margin-top:10px;padding:10px 12px;min-height:44px;border:1px solid #ddd;border-radius:8px;font:600 13px/1.5 Onest,Arial,sans-serif;background:white;color:#111;cursor:pointer}.contact-copy:hover{background:#ffde00;border-color:#ffde00}.contact-copy-status{font-size:12px;line-height:1.5;color:#435837;margin-top:10px}.contact-copy-status:empty{display:none}.contact-copy-inline{font:600 13px/1.5 Onest,Arial,sans-serif;border:0;padding:6px 0;margin:0 0 8px;text-decoration:underline;text-underline-offset:4px;background:none;color:#111;cursor:pointer;min-height:36px}.contact-copy-inline:hover{text-decoration-color:#9843f4}.contact-inline-status{font-size:12px;line-height:1.5;color:#435837;margin-bottom:14px}.contact-inline-status:empty{display:none}.contact-widget button:focus-visible,.contact-widget a:focus-visible,.contact-widget summary:focus-visible,.contact-widget textarea:focus-visible,.contact-copy-inline:focus-visible{outline:3px solid #005cbb;outline-offset:3px}
@media(max-width:760px){.contact-widget{right:16px;bottom:calc(76px + env(safe-area-inset-bottom))}.contact-toggle{width:56px;height:56px;padding:10px}.contact-toggle svg{width:30px;height:30px}.contact-panel{bottom:70px;width:292px;max-height:calc(100dvh - 175px - env(safe-area-inset-bottom));padding:16px}.contact-heading h2{font-size:18px}.contact-channel{padding:7px 6px;min-height:61px}.contact-icon{width:43px;height:43px}body:has(.mobile-request.obscured) .contact-widget,body:has(#main[data-category="konstruktor"]) .contact-widget{bottom:calc(16px + env(safe-area-inset-bottom))}body:has(.mobile-request.obscured) .contact-panel,body:has(#main[data-category="konstruktor"]) .contact-panel{max-height:calc(100dvh - 115px - env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.contact-toggle{transition:none}}
