/* Keep the established order payment panel; hide legacy channels only in a verified Mini Program. */
html[data-mini-app="1"] .h5-payment-order-actions { display: none !important; }

/* pay-flow-r6b: unmistakable cancel on unpaid orders */
.store-cancel-order{display:inline-block;padding:10px 16px;border-radius:999px;border:0;background:#c62828;color:#fff!important;font-size:15px;font-weight:600}
.store-cancel-order:disabled{opacity:.6}
.store-order-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}

.store-orders-filter{margin:8px 0 12px}
.store-orders-filter button{width:100%}

/* r17: separate H5 Alipay/Douyin tap targets */
#app .h5-payment-order-actions{
  display:flex !important;
  flex-direction:column !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  gap:18px !important;
}
#app .h5-payment-order-actions > button.h5-pay-channel-btn,
#app .h5-payment-order-actions > button[data-channel]{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  flex:0 0 auto !important;
  margin:0 !important;
  position:relative !important;
  z-index:1 !important;
  isolation:isolate;
  min-height:52px !important;
  box-sizing:border-box !important;
  touch-action:manipulation !important;
  -webkit-tap-highlight-color:transparent;
}
#app .h5-payment-order-actions > button.h5-pay-channel-btn.is-paying{
  outline:2px solid #172b39;
  outline-offset:2px;
}
#app .h5-payment-order-actions > button.h5-pay-channel-btn:disabled:not(.is-paying){
  opacity:0.45 !important;
}
#app .store-order-card .h5-payment-order-actions{
  display:flex !important;
  flex-direction:column !important;
}
