/* Xeus POS v3.7.3.220 · Asistente de compras: un paso visible a la vez. */
.purchase-flow{display:block!important;max-width:1180px;margin-right:auto;margin-left:auto}
.purchase-flow-section{display:none!important;min-height:360px;animation:xeusPurchaseStepIn .22s ease}
.purchase-flow-section.is-current{display:block!important}
.purchase-wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #edf0f4}
.purchase-wizard-actions-bordered{margin:0;padding:1rem 1.15rem;border-top:1px solid #e4e7ec;background:#fafbfc}
.purchase-wizard-hint{color:#667085;font-size:.78rem}
.purchase-wizard-actions .btn{min-width:170px}
.purchase-stepper-item:not(.is-ready):not(.is-active){cursor:not-allowed;opacity:.62}
.purchase-stepper-item.is-active{border-color:#6b5ce7!important;background:linear-gradient(135deg,rgba(88,86,214,.11),rgba(116,71,232,.07))!important;box-shadow:inset 0 0 0 1px rgba(88,86,214,.08)}
@keyframes xeusPurchaseStepIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

@media(min-width:768px) and (max-width:1999.98px){
  #purchase-cart-container>.table-responsive{overflow:visible!important}
  .purchase-table,.purchase-table tbody{display:block!important;width:100%!important;min-width:0!important}.purchase-table thead,.purchase-table tfoot{display:none!important}
  .purchase-table tbody tr{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1rem;padding:1rem;border:1px solid #dfe3eb;border-radius:14px;background:#fff;box-shadow:0 5px 14px rgba(15,23,42,.05)}
  .purchase-table tbody td{display:block!important;width:auto!important;min-width:0!important;padding:0!important;border:0!important;text-align:left!important}
  .purchase-table tbody td[data-label]::before{display:block;margin-bottom:.25rem;color:#667085;font-size:.64rem;font-weight:800;text-transform:uppercase;content:attr(data-label)}
  .purchase-table .purchase-cell-product{grid-column:1/-1;padding-right:44px!important;padding-bottom:.75rem!important;border-bottom:1px solid #edf0f4!important}.purchase-table .purchase-cell-product select{max-width:380px}
  .purchase-table .purchase-cell-margin{grid-column:1/3}.purchase-table .purchase-cell-subtotal{grid-column:3/5}.purchase-table .purchase-cell-remove{position:absolute;top:1rem;right:1rem}.purchase-table .purchase-cell-remove .btn{width:38px;height:38px;padding:0}.purchase-stock-values{display:flex;flex-direction:column;gap:.1rem}
  .purchase-table .purchase-cart-input,.purchase-table .purchase-cart-money{width:100%!important;min-width:0!important}.purchase-table input,.purchase-table select{min-height:42px}
}

@media(min-width:992px){
  .purchase-flow-section.is-current{min-height:430px}
  #purchase-details-section.is-current .purchase-flow-body{padding:1.25rem 1.35rem}
}

@media(max-width:767.98px){
  .purchase-flow-section{min-height:calc(100dvh - 255px)}
  .purchase-stepper{position:relative!important;top:auto!important}
  .purchase-wizard-actions{display:grid;grid-template-columns:1fr;margin-top:.8rem;padding-top:.8rem}
  .purchase-wizard-actions .purchase-wizard-hint{text-align:center}
  .purchase-wizard-actions .btn{width:100%;min-width:0;min-height:44px}
  .purchase-wizard-actions-bordered{grid-template-columns:1fr 1fr;margin:0;padding:.75rem}
  .purchase-confirm-note>div{display:grid!important;grid-template-columns:1fr!important;width:100%}
  .purchase-mobile-dock{transition:opacity .18s ease,transform .18s ease}
  body:has(#purchase-details-section.is-current) .purchase-mobile-dock{opacity:0;pointer-events:none;transform:translateY(120%)}
}

@media(max-width:379.98px){.purchase-wizard-actions-bordered{grid-template-columns:1fr}}
