.h5-frame-confirm{display:none}
.h5-frame-resume{display:none}
.h5-frame-payment-note{display:none}
@media(max-width:850px){
  body.h5-frame-order{background:#f8f6f2}
  .h5-frame-order .app-shell{padding:0 16px 28px!important}
  .h5-frame-order .app-shell>.workspace,.h5-frame-order .h5-home,.h5-frame-order .h5-create-preview,.h5-frame-order .h5-nav,.h5-frame-order .creation-toolbar,.h5-frame-order .topbar,.h5-frame-order .preview-band,.h5-frame-order .editor,.h5-frame-order .ai-advisor-launcher{display:none!important}
  .h5-frame-order .h5-frame-confirm{display:block;color:#35271e;max-width:640px;margin:auto}
  .h5-frame-confirm>header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px}
  .h5-frame-confirm>header a,.h5-frame-confirm>header button{color:#735840;background:transparent;border:0;font-size:13px;min-height:44px;padding:8px 0;text-decoration:none}
  .h5-frame-confirm h1{font-size:22px;margin:4px 0 8px}
  .h5-frame-summary>p,.h5-frame-payment-note{font-size:13px;line-height:1.7;color:#806d5e}
  .h5-frame-summary,.h5-frame-confirm #orderPanel{padding:16px;border:1px solid #e9e1d6;border-radius:20px;background:#fffdf9;margin:0 0 16px;box-shadow:none;min-width:0;max-width:100%;box-sizing:border-box}
  .h5-frame-confirm .product-preview{display:block;width:100%;min-height:0;margin:0;background:transparent}
  .h5-frame-confirm .product-preview{height:auto!important;padding:0!important;border:0!important;box-shadow:none!important}
  .h5-frame-confirm .product-preview .preview-controls{display:flex!important;justify-content:center;flex-wrap:nowrap;gap:8px;background:transparent!important;border:0!important;box-shadow:none!important;padding:4px!important}
  .h5-frame-confirm .preview-controls button{font-size:12px;min-height:44px;padding:6px;flex:1;min-width:0;background:transparent!important;box-shadow:none!important;border:0!important}
  .h5-frame-confirm #homeSceneButton,.h5-frame-confirm #clearButton,.h5-frame-confirm .preview-caption{display:none!important}
  .h5-frame-login{min-height:44px;width:100%;margin-top:12px}
  .h5-frame-confirm #frameStage{height:300px!important;min-height:0!important;width:100%;overflow:hidden}
  .h5-frame-confirm #workbenchImageStatus{position:static;max-width:100%;width:auto;margin:12px 0;box-sizing:border-box}
  .h5-frame-confirm #orderPanel h2{font-size:18px;margin:0 0 16px}
  .h5-frame-confirm #orderPanel label{display:block;font-size:14px;margin:12px 0;min-width:0}
  .h5-frame-confirm #orderPanel input,.h5-frame-confirm #orderPanel select,.h5-frame-confirm #orderPanel textarea{width:100%;min-width:0;min-height:46px;font-size:16px;box-sizing:border-box;margin-top:6px}
  .h5-frame-confirm .address-region-fields{display:grid;grid-template-columns:1fr;gap:0}
  .h5-frame-confirm #submitOrder{position:static;width:100%;min-height:50px;margin-top:14px;background:#4d3627;color:white;border-radius:25px}
  .h5-frame-confirm #orderResult{line-height:1.6;overflow-wrap:anywhere}
  .h5-frame-resume{display:block;width:100%;min-height:48px;position:sticky;top:0;z-index:90}
  .h5-frame-order .h5-frame-payment-note{display:block;padding:0 8px}
  .payment-page{min-width:0;background:#f8f6f2}
  .payment-page .payment-shell{width:auto;max-width:640px;margin:auto;padding:12px 16px 28px;box-sizing:border-box}
  .payment-page .payment-topbar{gap:12px;flex-wrap:wrap;padding:0 0 12px}
  .payment-page .brand>div,.payment-page .top-actions>span,.payment-page .hero-copy p,.payment-page .trust-row,.payment-page .preview-labels,.payment-page .guarantee-card{display:none}
  .payment-page .checkout-layout,.payment-page .checkout-main,.payment-page .summary-panel,.payment-page .options-grid{display:block;min-width:0;width:100%;position:static}
  .payment-page .checkout-steps{display:block}.payment-page .checkout-steps ol{padding:12px 0;gap:12px;flex-wrap:wrap}
  .payment-page .hero-copy h1{font-size:22px;line-height:1.4}
  .payment-page .panel,.payment-page .summary-card{margin-bottom:14px;padding:16px;border-radius:18px;min-width:0;box-sizing:border-box}
  .payment-page .section-head{display:block}.payment-page #orderSummary{display:block;font-size:12px;overflow-wrap:anywhere}
  .payment-page .artwork-compare{height:300px;min-height:0;aspect-ratio:auto}
  .payment-page .artwork-compare img{object-fit:contain}
  .payment-page .preview-mode-tabs{display:flex;flex-wrap:wrap;gap:6px}
  .payment-page button,.payment-page select{min-height:44px;max-width:100%;white-space:normal}
  .payment-page select,.payment-page input{font-size:16px}
  .payment-page .option-grid{grid-template-columns:1fr}
  .payment-page .qr-box{display:block}.payment-page #paymentQrBox{display:grid;margin:0 auto 12px;max-width:100%}
  .payment-page .qr-box p,.payment-page .qr-box span{white-space:normal;line-height:1.7}
  .payment-page .pay-meta{overflow-wrap:anywhere}
  .payment-page .coupon-dialog-panel{max-height:85dvh;overflow:auto;max-width:calc(100vw - 24px);box-sizing:border-box}
}
