/* Shared storefront dialogs: presentation only; native form behavior is retained. */
body .login-form-all-wrapper {background:rgba(27,38,31,.55);backdrop-filter:blur(4px);padding:16px;z-index:1100;box-sizing:border-box;}
body .login-form-all-inner {min-height:0;}
body .login-form-all-inner>form {box-sizing:border-box;width:520px!important;max-width:100%;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:36px!important;margin:0!important;background:#fafaf7!important;color:#28382e!important;border:1px solid #deded4;border-radius:18px!important;box-shadow:0 24px 80px #15251b33!important;font-family:Arial,sans-serif;scrollbar-width:thin;}
body .login-form-all-wrapper .form-wrapper {width:100%;}
body .login-form-all-wrapper .class_h2 {font-family:Arial,sans-serif!important;font-weight:400!important;font-size:28px!important;line-height:1.2!important;letter-spacing:-.6px;color:#28382e!important;margin:0 28px 16px 0;}
body .login-form-all-wrapper .form-title>div:not(.class_h2) {font-size:13px!important;line-height:1.55;color:#69756c;margin-bottom:20px;}
body .login-form-all-wrapper .form-title-password {margin-bottom:24px;gap:12px;}
body .login-form-all-wrapper .form-title-password .class_h2 {margin-bottom:0;}
body .login-form-all-wrapper .form-control {box-sizing:border-box;width:100%;min-height:48px;border:1px solid #d8dcd3!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;color:#28382e!important;padding:12px 42px 12px 14px!important;font:400 16px/1.4 Arial,sans-serif!important;}
body .login-form-all-wrapper .form-control::placeholder {color:#81897f;opacity:1;}
body .login-form-all-wrapper .form-control:focus {outline:0;border-color:#a94f3f!important;box-shadow:0 0 0 3px #a94f3f1a!important;}
body .login-form-all-wrapper .form-check-input {accent-color:#ae503e;border-color:#bcc4b8!important;box-shadow:none!important;}
body .login-form-all-wrapper .form-check-input:checked {background-color:#ae503e!important;}
body .login-form-all-wrapper .form-check-label,body .login-form-all-wrapper .form-register-pol a {font:400 12px/1.55 Arial,sans-serif!important;color:#657064!important;}
body .login-form-all-wrapper .form-register-pol {margin-top:20px;}
body .login-form-all-wrapper a {color:#a94f3f;}
body .login-form-all-wrapper .btn {min-height:46px;border:1px solid transparent!important;border-radius:9px!important;padding:12px 18px!important;font:500 15px/1.4 Arial,sans-serif!important;white-space:normal;box-shadow:none!important;}
body .login-form-all-wrapper .form-get-code {background:#ae503e!important;color:#fff!important;}
body .login-form-all-wrapper .form-get-code:hover {background:#934333!important;}
body .login-form-all-wrapper .form-login-btn {background:#edf0e7!important;border-color:#d8dcd3!important;color:#314437!important;width:100%;}
body .login-form-all-wrapper .form-login-pass {border-top:1px solid #deded4;margin-top:22px;padding-top:20px;}
body .login-form-all-wrapper .form-login-pass p {font:400 13px/1.5 Arial,sans-serif;color:#69756c;margin:0 0 10px;}
body .login-form-all-wrapper .form-close {top:12px;right:12px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:8px;border:1px solid #deded4;background:#fff;border-radius:50%;z-index:2;}
body .login-form-all-wrapper .form-close img {width:14px;height:14px;}
body .login-form-all-wrapper .send-ok,body .login-form-all-wrapper .notinstock-ok {background:#edf0e7;color:#314437;padding:20px;border-radius:10px;font:400 16px/1.6 Arial,sans-serif;}
body .login-form-all-wrapper .err-login-text {color:#a43730;font-size:13px;line-height:1.5;}
body .login-form-all-wrapper :is(button,a,input):focus-visible {outline:2px solid #ae503e;outline-offset:3px;}
body [data-slot="dialog-overlay"] {background:rgba(27,38,31,.55);backdrop-filter:blur(4px);}
body :is(.contact-dialog,.chat-dialog,.sketch-order-dialog)[data-slot="dialog-content"] {background:#fafaf7;color:#28382e;border:1px solid #deded4;border-radius:18px;box-shadow:0 24px 80px #15251b33;max-height:calc(100dvh - 32px);overflow-y:auto;}
@media(max-width:600px){body .login-form-all-inner>form{padding:30px 20px 24px!important;border-radius:14px!important;}body .login-form-all-wrapper .class_h2{font-size:24px!important;}body .login-form-all-wrapper .form-title>div:not(.class_h2){font-size:12px!important;}}

/* Native Bitrix storefront basket/compare confirmation, not administrative popups. */
body .popup-window[id^="CatalogSectionBasket_"],body .popup-window[id^="CatalogElementBasket_"] {box-sizing:border-box!important;width:460px!important;max-width:calc(100vw - 32px)!important;border:1px solid #deded4!important;border-radius:18px!important;padding:28px!important;background:#fafaf7!important;box-shadow:0 24px 80px #15251b33!important;color:#28382e!important;}
body .popup-window[id^="Catalog"] .popup-window-titlebar {height:auto!important;min-height:36px;padding-right:28px;}
body .popup-window[id^="Catalog"] .popup-window-titlebar-text {padding:0!important;font:400 23px/1.3 Arial,sans-serif!important;white-space:normal;color:#28382e!important;}
body .popup-window[id^="Catalog"] .popup-window-content {background:transparent!important;max-width:100%;font:400 15px/1.5 Arial,sans-serif!important;color:#28382e!important;}
body .popup-window[id^="Catalog"] .popup-window-content>div {width:auto!important;max-width:100%!important;}
body .popup-window[id^="Catalog"] .popup-window-content img {max-width:100%;object-fit:contain;}
body .popup-window[id^="Catalog"] .popup-window-buttons {padding:16px 0 0!important;}
body .popup-window[id^="Catalog"] .popup-window-buttons .btn {display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px!important;border-radius:9px!important;background:#ae503e!important;color:#fff!important;border:0!important;font:500 15px/1.4 Arial,sans-serif!important;white-space:normal!important;}
body .popup-window[id^="Catalog"] .popup-window-close-icon {top:12px!important;right:12px!important;border:1px solid #deded4;border-radius:50%;background-color:#fff;width:30px;height:30px;}
@media(max-width:600px){body .popup-window[id^="CatalogSectionBasket_"],body .popup-window[id^="CatalogElementBasket_"]{left:16px!important;padding:24px 20px!important;}body .popup-window[id^="Catalog"] .popup-window-titlebar-text{font-size:21px!important;}}

body :is(.contact-dialog,.chat-dialog)[data-slot="dialog-content"] :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select) {border:1px solid #d8dcd3;border-radius:9px;background:#fff;color:#28382e;box-shadow:none;font-size:16px;}
body :is(.contact-dialog,.chat-dialog)[data-slot="dialog-content"] :is(input,textarea,select):focus {border-color:#ae503e;outline:0;box-shadow:0 0 0 3px #a94f3f1a;}
body .popup-window-overlay[id*="CatalogSectionBasket_"],body .popup-window-overlay[id*="CatalogElementBasket_"] {max-width:100vw!important;background:#1b261f!important;}
