/* Confirmation page presentation only; receipt fields and tracking stay intact. */
@media (max-width:767px) {
  body:has(.thankyou-card) main .thankyou-card { box-sizing:border-box; width:auto; max-width:calc(100% - 24px); margin:12px auto 0; padding:18px 16px; }
  body:has(.thankyou-card) main .thankyou-card h1 { font-size:27px!important; margin:4px 0 14px; }
  body:has(.thankyou-card) .thankyou-intro { font-size:14px; line-height:1.5; }
  body:has(.thankyou-card) .thankyou-steps { grid-template-columns:repeat(2,minmax(0,1fr)); font-size:14px; gap:8px; margin:16px -16px; padding:12px 8px; }
  body:has(.thankyou-card) .thankyou-details { grid-template-columns:minmax(0,1fr); gap:12px; margin:16px 0; }
  body:has(.thankyou-card) .thankyou-details img { width:100%; height:140px; object-fit:contain; }
  body:has(.thankyou-card) .thankyou-details p { margin:0 0 12px; }
  body:has(.thankyou-card) .thankyou-details strong { font-size:19px; }
  body:has(.thankyou-card) .thankyou-details div { min-width:0; overflow-wrap:anywhere; }
  body:has(.thankyou-card) .thankyou-contact { display:none!important; }
  body:has(.thankyou-card) .thankyou-card>.button { display:flex; justify-content:center; align-items:center; min-height:48px; box-sizing:border-box; max-width:100%; margin:8px 0 0; padding:12px 16px; }
  body:has(.thankyou-card) footer.pad-100 { padding:20px 0 24px!important; margin:0!important; }
  body:has(.thankyou-card) footer .width-wrap { box-sizing:border-box; width:100%; max-width:100%; padding:0 20px; }
  body:has(.thankyou-card) footer .footer { display:block; margin:0; padding:0; }
  body:has(.thankyou-card) footer .footer--navigation,
  body:has(.thankyou-card) footer:has(.ar-mobile-contacts) .footer--contact { display:none!important; }
  body:has(.thankyou-card) footer .ar-mobile-contacts { display:flex!important; flex-direction:column; align-items:center; gap:2px; margin:0; padding:0; font-size:15px; text-align:center; }
  body:has(.thankyou-card) footer .ar-mobile-contacts a { display:flex; align-items:center; min-height:40px; max-width:100%; overflow-wrap:anywhere; color:#fff; }
  body:has(.thankyou-card) footer .ar-mobile-contacts a[href^="https://www.google.com/maps"] { display:none!important; }
  body:has(.thankyou-card) footer .copyright { margin:10px 0 0; padding:0; }
  body:has(.thankyou-card) footer .copyright--right { width:auto; float:none; font-size:12px; line-height:1.4; text-align:center; }
  body:has(.thankyou-card) footer .copyright--right p { margin:0; }
  body:has(.thankyou-card) footer .ar-footer-bottom { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:4px 12px; padding:12px 0 0; margin:0; font-size:12px; line-height:1.5; }
  body:has(.thankyou-card) footer .ar-footer-bottom>span { flex-basis:100%; text-align:center; }
  body:has(.thankyou-card) footer .ar-footer-bottom a,
  body:has(.thankyou-card) footer .ar-footer-bottom button { color:inherit; min-height:32px; display:inline-flex; align-items:center; }
}
/* Existing navigation switches to its mobile layout at 990px. */
@media (max-width:990px) {
  body .menu ul.AspNet-Menu>li.ar-mobile-services { padding:0!important; }
  body .menu ul.AspNet-Menu>li.ar-mobile-services>a { display:flex!important; align-items:center; justify-content:center; box-sizing:border-box; width:100%; min-height:48px; padding:8px 52px 8px 18px!important; margin:0!important; line-height:1.4; }
  body .menu ul.AspNet-Menu>li.ar-mobile-services>a::after { content:""; position:absolute; left:auto; bottom:auto; right:22px; top:17px; width:11px; height:11px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); background:none; }
  body .menu ul.AspNet-Menu>li.ar-mobile-services.ar-mobile-services-open>a { background:#222; }
  body .menu ul.AspNet-Menu>li.ar-mobile-services.ar-mobile-services-open>a::after { top:22px; transform:rotate(225deg); }
  body .menu ul.AspNet-Menu>li.ar-mobile-services>.menu-plus { display:none!important; }
  body .menu ul.AspNet-Menu>li.ar-mobile-services>ul { display:none!important; }
  body .menu ul.AspNet-Menu>li.ar-mobile-services.ar-mobile-services-open>ul { display:block!important; }
  body .menu ul.AspNet-Menu>li.ar-mobile-services>a:focus-visible { outline:2px solid #ed1c24; outline-offset:-2px; }
}
