/* Dialog surfaces use one palette, including native fields and placeholders. */
:root{--request-surface:#fff;--request-field:#f5f7fa;--request-text:#17212b;--request-muted:#566473;--request-border:#aab6c3;--request-link:#a83b15;--request-error:#b42318;--request-success-bg:#eef7f2;--request-success-text:#25634a}
html[data-theme=dark]{--request-surface:#1c232b;--request-field:#26323e;--request-text:#f1f5f9;--request-muted:#bcc8d4;--request-border:#6d7e90;--request-link:#ffac87;--request-error:#ffafa5;--request-success-bg:#203c30;--request-success-text:#c1eed4}
html .product-request-dialog{background:var(--request-surface);color:var(--request-text);max-height:92dvh}
.product-request-head{padding-right:65px}.product-request-close{width:44px;height:44px;top:8px;right:8px;border-radius:10px;background:#ffffff12;color:#fff}
.product-request-form{color:var(--request-text)}
.product-request-form :is(input,select,textarea){background:var(--request-field);color:var(--request-text);border-color:var(--request-border)}
.product-request-form :is(input,textarea)::placeholder{color:var(--request-muted);opacity:1}
.product-request-form select option{background:var(--request-field);color:var(--request-text)}
.product-request-form small,#product-request-account:not(.product-request-account){color:var(--request-muted)}
#product-request-account{margin-bottom:18px;font-size:13px;line-height:1.6}
.product-request-account{background:var(--request-success-bg);color:var(--request-success-text)}
.product-request-message{color:var(--request-error);margin-top:12px}
.product-request-actions a{color:var(--request-link);text-underline-offset:3px}
.product-request-form .checkout-consent{display:flex;align-items:flex-start;gap:10px;margin-top:20px;line-height:1.6;font-weight:500}
.product-request-form .checkout-consent input{width:18px;height:18px;flex:0 0 18px;padding:0;margin:3px 0 0;accent-color:#c94312}
.product-request-success p{line-height:1.7;margin:10px 0;color:var(--request-text)}
.product-request-success button{margin-top:15px;min-height:44px}
.product-request-actions button,.product-request-banner button{background:#c9400c;color:#fff}
.product-request-dialog :is(button,input,select,textarea,a):focus-visible{outline:3px solid var(--request-link);outline-offset:3px}
.product-request-dialog button:disabled{opacity:.65;cursor:wait}
/* Shared dialog links, field hints, cart actions and nearby-master labels. */
html:not([data-theme=dark]){--muted:#606b78}
html[data-theme=dark] :is(.cart-remove,#checkout-error){color:#ffafa5}
html[data-theme=dark] :is(.checkout-actions a,#checkout-success a){color:#ffac87}
html[data-theme=dark] .master-distance{color:#8fe0ba}
.product-request-close,.order-preview-close{background:#304454}
dialog :is(.primary-button,.button-orange),.qa-account .qa-primary,.order-manage-primary{background:#c9400c;color:#fff;border-color:#c9400c}
.qa-account .qa-text-button{color:var(--request-link)!important}
html:not([data-theme=dark]) .qa-theme-picker input:checked+span{color:#973707}
.checkout-actions a,#checkout-success a,.contact-branches a{color:var(--request-link)}
html[data-theme=dark] .qa-account :is(.qa-form-message,.qa-inline-error),html[data-theme=dark] .qa-menu-footer>button{color:#ffb8ae}
html[data-theme=dark] .qa-account .qa-form-message.success{color:#a5d8b8}
.enlarge-hint{background:var(--request-surface);color:var(--request-text);border:1px solid var(--request-border)}
.gallery-caption button{background:var(--request-field);color:var(--request-text);border:1px solid var(--request-border)}
@media(max-width:650px){.product-request-head{padding:22px 55px 22px 20px}.product-request-head h2{font-size:24px}.product-request-dialog{max-height:94dvh}.product-request-actions a{min-height:44px;display:flex;align-items:center;justify-content:center}}
