.product-qr { color:var(--ink,#242423); min-width:0; }
.product-qr summary {
  cursor:pointer;
  width:fit-content;
  min-height:44px;
  align-content:center;
  font-weight:600;
}
.product-qr figure { margin:0 0 .7rem; width:min(100%,17rem); }
.product-qr svg { display:block; width:100%; height:auto; background:#fff; }
.product-qr figcaption { margin-top:.3rem; font-size:.9rem; line-height:1.4; overflow-wrap:anywhere; }

.studio.shopping .order-handoff {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.4rem .55rem;
}
#save-order-image { min-height:44px; justify-content:center; white-space:normal; }
#save-order-image:disabled { opacity:.48; cursor:default; }
.order-handoff #order-status:empty { display:none; }
.order-handoff #order-status:not(:empty) { flex-basis:100%; }

.order-image-dialog {
  position:fixed; inset:0; margin:auto; box-sizing:border-box;
  width:min(31rem,calc(100% - 24px)); max-height:90dvh; overflow:auto;
  padding:clamp(.85rem,3vw,1.5rem); border:1px solid #d3cdc1; border-radius:16px;
  color:#192b30; background:#fcfaf7;
}
.order-image-dialog::backdrop { background:#10222dc9; }
.order-image-dialog header { display:flex; align-items:center; justify-content:space-between; gap:.8rem; }
.order-image-dialog h2 { margin:0; font-size:clamp(1.07rem,3.8vw,1.45rem); line-height:1.3; }
.order-image-dialog .circle { width:44px; height:44px; }
.order-image-message { margin:.45rem 0; color:#424c4c; font-size:.9rem; line-height:1.5; }
.order-image-actions { display:flex; gap:.5rem; flex-wrap:wrap; }
.order-image-actions :is(a,button) { display:inline-flex; justify-content:center; min-height:44px; text-decoration:none; margin:0; }
.order-image-preview { display:block; width:auto; max-width:100%; max-height:58dvh; margin:.8rem auto 0; border:1px solid #d4cfc4; -webkit-touch-callout:default; }
.order-image-dialog [hidden] { display:none; }
@media(max-width:660px) {
  .studio.shopping .order-checkout { display:grid; grid-template-columns:minmax(0,1fr); gap:.35rem; }
  .studio.shopping .order-amount { display:flex; align-items:center; gap:.15rem .45rem; flex-wrap:wrap; }
  .studio.shopping .order-amount small { margin-inline-start:auto; }
  .studio.shopping .order-handoff { max-width:none; display:grid; align-items:stretch; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .studio.shopping .order-handoff :is(#copy-order,#save-order-image) { width:100%; padding:.38rem .35rem; font-size:.86rem; line-height:1.25; }
  .studio.shopping .order-handoff #order-status { grid-column:1 / -1; }
}
