/* Order-only extras; keep original checkboxes and payment form. */
form.orderform .mm-order-extras { display:grid !important; grid-template-columns:minmax(0,1fr); gap:12px; min-width:0; width:100%; }
form.orderform .mm-order-extras.mm-order-extras-pair { grid-template-columns:minmax(0, .93fr) minmax(0,1.07fr); }
form.orderform .mm-order-extras > .form-item { box-sizing:border-box; min-width:0; width:100% !important; margin:0 !important; }
form.orderform.mm-order-ui .mm-order-extras-pair > .form-item { gap:8px; padding:10px !important; }
form.orderform.mm-order-ui .mm-order-extras > .form-item > label { min-width:0; overflow-wrap:break-word; }
form.orderform .mm-order-extras .mm-order-cosplay-preview { display:inline-flex !important; align-items:center; justify-content:center; flex:0 0 32px; width:32px !important; min-width:32px; height:32px; min-height:32px; max-width:32px; padding:0 !important; margin:0 !important; background:transparent !important; color:inherit; border:0 !important; border-radius:7px; box-shadow:none !important; cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
form.orderform .mm-order-cosplay-preview .sx-photo-tile { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; width:29px; height:29px; flex:none; border:1px solid #e8c35a; border-radius:6px; background:#fff1c1; color:#866000; }
form.orderform .mm-order-cosplay-preview .sx-photo-tile svg { display:block; flex:none; }
form.orderform .mm-order-cosplay-preview:hover .sx-photo-tile, form.orderform .mm-order-cosplay-preview[aria-expanded=true] .sx-photo-tile { background:#ffdf75; }
form.orderform .mm-order-cosplay-preview:focus-visible { outline:2px solid #69a399; outline-offset:2px; }
@media (max-width:768px) {
  form.orderform .mm-order-extras {gap:8px;}
  form.orderform .mm-order-extras .mm-order-cosplay-preview {flex-basis:44px;width:44px !important;min-width:44px;max-width:44px;height:44px;min-height:44px;}
  form.orderform .mm-order-extras .mm-order-cosplay-preview .sx-photo-tile {width:32px;height:32px;}
}
/* Two options sit side by side where there is room; no squeezed labels on small phones. */
@media (max-width:440px) {form.orderform .mm-order-extras.mm-order-extras-pair {grid-template-columns:minmax(0,1fr);}}
