/* Sales-entry refinements based on the updated order-entry flow. */
.full-order-surface .order-form-grid{gap:7px 10px;padding:9px 13px 0}
.full-order-surface .order-form-grid label{margin-bottom:7px}
.full-order-surface .order-form-grid input,.full-order-surface .order-form-grid select{min-height:34px}
.full-order-surface .draft-section-title{padding:9px 13px}
.full-order-surface .shipping-draft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;padding:10px 13px 2px}
.full-order-surface .shipping-draft-grid label{margin-bottom:7px}
.full-order-surface .draft-sheet{min-width:1200px}
.full-order-surface .draft-sheet-head,.full-order-surface .draft-sheet-row{grid-template-columns:40px 56px 105px minmax(145px,1.3fr) 100px 100px 62px 78px 70px 90px minmax(140px,1fr) 66px!important}

@media(max-width:1000px){
  .full-order-surface .shipping-draft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .full-order-surface .shipping-draft-grid{grid-template-columns:1fr}
  .full-order-surface .draft-sheet{min-width:0}
  .full-order-surface .draft-sheet-head{display:none!important}
  .full-order-surface .draft-sheet-scroll{border:0;background:transparent;overflow:visible}
  .full-order-surface .draft-sheet-row{grid-template-columns:32px 58px minmax(0,1fr) 56px!important;gap:7px!important;padding:9px!important;margin-bottom:8px!important;border:1px solid #e1e9e5!important;border-radius:8px!important;background:#fff!important}
  .full-order-surface .draft-sheet-row .draft-photo-wrap{width:56px;height:56px}
  .full-order-surface .draft-sheet-row .draft-photo{width:56px;height:56px}
  .full-order-surface .draft-sheet-row .draft-item-fields{display:grid!important;grid-column:3;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}
  .full-order-surface .draft-sheet-row .draft-item-fields label{font-size:10px!important;padding:0}
  .full-order-surface .draft-sheet-row .draft-item-fields label:nth-child(2),.full-order-surface .draft-sheet-row .draft-item-fields label:nth-child(9){grid-column:1/-1}
  .full-order-surface .draft-sheet-row .draft-line-total{justify-content:flex-start;grid-column:1/-1;font-weight:700}
  .full-order-surface .draft-sheet-row .draft-row-actions{grid-column:4;grid-row:1;flex-direction:column}
  .full-order-surface .draft-sheet-row .draft-item-index{align-self:start;margin-top:12px}
  .full-order-surface .product-draft-section .draft-items{padding:0!important}
}
