/* CA051 shopping package. Uses the host's existing classes (card, actions, primary, muted, empty) and only adds what the cart and order screens need. */
.shop{overflow-wrap:anywhere}
.shop h2:focus{outline:none}
.shop-steps{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;margin:0 0 12px;padding:0;font-size:14px;color:#4b5f6c}
.shop-steps [aria-current=step]{font-weight:700;color:#12655e}
.shop-banner{background:#fff6dd;border:1px solid #e3c779;border-radius:8px;padding:10px 12px;margin:0 0 12px;font-size:14px}
.shop-banner:empty{display:none}
.shop-status:empty,.shop-alert:empty{display:none}
.shop-alert,.shop-error{color:#9b1c1c}
.shop-alert{background:#fdecec;border:1px solid #e6a5a5;border-radius:8px;padding:10px 12px}
.shop-lines{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.shop-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px 12px;align-items:center;border:1px solid #d5dddd;border-radius:10px;padding:12px}
.shop-line>div{grid-column:1/-1}
.shop-line input{width:5.5em;min-height:44px}
.shop-line .shop-error{grid-column:1/-1;margin:0}
.shop-form,.shop-group{display:grid;gap:12px}
.shop-group{min-width:0;border:1px solid #d5dddd;border-radius:10px;padding:12px}
.shop-field{display:grid;gap:4px}
.shop-field input,.shop-field select{width:100%;box-sizing:border-box;min-height:44px}
.shop-error{margin:0;font-size:14px}
.shop-table{width:100%;border-collapse:collapse;table-layout:fixed}
.shop-table th,.shop-table td{padding:8px 6px;border-bottom:1px solid #e3eaea;text-align:left;overflow-wrap:anywhere;word-break:break-word}
.shop-table td:nth-child(n+2),.shop-table th:nth-child(n+2){text-align:right}
.shop-table caption{text-align:left;font-weight:700;padding-bottom:6px}
.shop-totals{display:grid;gap:6px;margin:12px 0}
.shop-total{display:grid;grid-template-columns:minmax(0,10em) minmax(0,1fr);gap:2px 12px}
.shop-total dt{font-weight:700}.shop-total dd{margin:0}.shop-total dd.muted{grid-column:2}
.shop-ack{display:flex;gap:10px;align-items:flex-start;margin:12px 0}
.shop-ack input{flex:0 0 auto;width:22px;height:22px}
.shop-attempt{border:1px solid #e6a5a5;border-radius:10px;padding:12px;margin-top:12px}
@media(max-width:480px){.shop-line{grid-template-columns:minmax(0,1fr) auto}.shop-line label{grid-column:1}.shop-line input{grid-column:2;justify-self:end}.shop-total{grid-template-columns:minmax(0,1fr)}.shop-total dd.muted{grid-column:1}.shop-table th,.shop-table td{font-size:14px;padding:6px 4px}}
.shop button[aria-disabled=true]{opacity:.55;cursor:progress}
