/* seo-024: scoped native quick enquiry; ordinary checkout and other popups unchanged. */
.popup_aclick { box-sizing:border-box; position:fixed!important; top:50%!important; left:50%!important; transform:translate(-50%,-50%); margin:0!important; width:440px!important; max-width:calc(100vw - 24px); max-height:calc(100vh - 32px); overflow-y:auto; overscroll-behavior:contain; padding:28px 22px 22px; }
.popup_aclick .popup__heading { margin:0 36px 20px 0; font-size:21px; line-height:1.3; text-align:left; }
.popup_aclick .popup__close { border:0; width:40px; height:40px; }
.popup_aclick .infofield { margin:12px 0 4px; font-size:14px; line-height:1.4; }
.popup_aclick input[type=text], .popup_aclick input[type=tel], .popup_aclick input[type=email] { box-sizing:border-box; width:100%; min-height:44px; margin:0 0 10px; }
.popup_aclick .popup__but { box-sizing:border-box; min-height:44px; width:auto; min-width:0; max-width:100%; padding:10px 16px; font-size:14px; line-height:20px; }
.popup_aclick .error, .popup_aclick .error_message { position:static!important; top:auto!important; left:auto!important; width:auto!important; max-width:100%; margin:8px 0 0; padding:8px 10px; box-sizing:border-box; box-shadow:none; font-size:14px; line-height:1.4; text-align:left; color:#a12b21; background:#fff1ee; }
.popup_aclick .error_message .success { color:#245c2d; background:#eef8ef; position:static; }
.popup_aclick .required_field { font-size:12px; line-height:1.4; margin-top:12px; }
.tov_id .btn.btn_one_click { display:block; box-sizing:border-box; float:none; min-height:44px; height:auto; margin:10px 0 0; padding:9px 12px; width:100%; font-size:14px; line-height:20px; }

/* Native quick popup must stay above the sticky header and obscure background text. */
.popup.popup_aclick { z-index:1000; background:#fff; }

/* seo-034: the mobile header (2000) otherwise covers the wrapper context (999).
   Only an actually open native quick enquiry lowers this header. */
@media (max-width: 1044px) {
  body.st-quick-order-open .header-new { z-index: 998; }
  .js_cart_one_click.popup.popup_aclick {
    max-height: calc(100dvh - 32px);
  }
  .js_cart_one_click.popup.popup_aclick > .popup__close {
    position: sticky;
    top: 0;
    right: auto;
    z-index: 1;
    display: block;
    width: 44px;
    height: 44px;
    margin: -20px -14px -24px auto;
    background-color: #fff;
  }
  .js_cart_one_click.popup.popup_aclick > .popup__close:focus-visible {
    outline: 2px solid #528e36;
    outline-offset: 2px;
  }
}
