/* A shop's ordering pages (templates/tagiora/orders/shop/), over tagiora.css and
   ui-catalogue.css. Phone first: one column, big buttons, the total always in view. */
.sh-page { max-width: 760px; margin: 0 auto; padding: 0 16px 96px; }
.sh-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #e6e3ef; }
.sh-name { font-weight: 600; font-size: 18px; color: inherit; text-decoration: none; }
.sh-nav { display: flex; gap: 16px; font-size: 15px; }
.sh-main { padding: 16px 0 0; }
.sh-h1 { font-size: 22px; font-weight: 600; margin: 4px 0 12px; }
.sh-h2 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
.sh-muted { color: #5b5870; }
.sh-small { font-size: 13px; }
.sh-card { border: 1px solid #e6e3ef; border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; background: #fff; }
.sh-alert { border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; background: #fff4e5; color: #6b4300; }
.sh-alert.is-ok { background: #e8f6ee; color: #1f5f3c; }
.sh-alert.is-bad { background: #fdecec; color: #8a2c2c; }
.sh-lines { list-style: none; padding: 0; margin: 0; }
.sh-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid #f0eef6; }
.sh-line:last-child { border-bottom: 0; }
.sh-line .sh-what { min-width: 0; }
.sh-line .sh-amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 10px 0 0; font-variant-numeric: tabular-nums; }
.sh-sum dt { font-weight: 400; color: #5b5870; }
.sh-sum dd { margin: 0; text-align: right; }
.sh-sum .is-total { font-weight: 600; font-size: 18px; color: #1c1a29; }
.sh-choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #e6e3ef; border-radius: 12px; margin: 0 0 8px; cursor: pointer; }
.sh-choice:has(input:checked) { border-color: #5b3fd6; background: #f5f3fb; }
.sh-choice input { margin-top: 4px; }
.sh-field { margin: 0 0 10px; }
.sh-field label { display: block; font-size: 14px; margin: 0 0 4px; color: #3d3a4f; }
.sh-field .errorlist { list-style: none; padding: 0; margin: 4px 0 0; color: #a03f3f; font-size: 13px; }
.sh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.sh-btn { display: block; width: 100%; padding: 14px; font-size: 17px; border-radius: 12px; }
.sh-linkbtn { background: none; border: 0; padding: 0; color: #5b3fd6; text-decoration: underline; font: inherit; }
.sh-row { display: flex; gap: 10px; align-items: center; }
.sh-row > .form-control { flex: 1; }
.sh-steps { display: flex; gap: 6px; margin: 14px 0 6px; }
.sh-step { flex: 1; text-align: center; font-size: 12px; color: #8a8799; }
.sh-step::before { content: ""; display: block; height: 6px; border-radius: 3px; background: #e6e3ef; margin: 0 0 6px; }
.sh-step.is-done { color: #1f5f3c; }
.sh-step.is-done::before { background: #2f8a5a; }
.sh-step.is-now { font-weight: 600; }
.sh-status { font-size: 20px; font-weight: 600; margin: 0; }
.sh-trail { list-style: none; padding: 0; margin: 0; font-size: 14px; color: #5b5870; }
.sh-trail li { padding: 4px 0; }
.sh-order-row { display: flex; justify-content: space-between; gap: 12px; text-decoration: none; color: inherit; }
.sh-pill { display: inline-block; font-size: 12px; border-radius: 999px; padding: 2px 10px; background: #f0eef6; color: #3d3a4f; }
.sh-pill.is-new { background: #efe9ff; color: #4a32b5; }
.sh-pill.is-done { background: #e8f6ee; color: #1f5f3c; }
.sh-pill.is-off { background: #f3f2f6; color: #8a8799; }
.sh-code { letter-spacing: .3em; font-size: 22px; text-align: center; }
.sh-item-photo { width: 100%; max-height: 360px; object-fit: contain; border-radius: 14px; background: #f0eef6; }
/* "Are you sure?" (app.js), as on the app: a title, a line under it, Cancel and Confirm. */
.ui-ask { border: 0; border-radius: 20px; padding: 22px; width: 100%; max-width: min(420px, calc(100vw - 32px)); background: #fff; color: #1c1a29; box-shadow: 0 12px 40px rgba(28, 26, 41, .28); }
.ui-ask[open] { display: flex; flex-direction: column; gap: 12px; }
.ui-ask::backdrop { background: rgba(28, 26, 41, .42); }
.ui-ask h2 { font-size: 19px; font-weight: 600; margin: 0; }
.ui-ask p { margin: 0; color: #5b5870; }
.ui-ask .ui-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.ui-ask .btn { min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 600; }
.ui-ask .tg-btn-text { background: transparent; border: 1px solid transparent; color: #5b3fd6; }
.ui-ask .tg-btn-text:hover { background: #f5f3fb; }
.ui-ask .tg-btn-danger { background: #b42318; border-color: #b42318; color: #fff; }

/* The shop's coupons, under the coupon box at checkout and on the shop's page. */
.sh-coupons-h { font-size: 14px; font-weight: 600; margin: 14px 0 6px; color: #3d3a4f; }
.sh-coupons { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sh-coupon { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border: 1px dashed #b9aef0; border-radius: 12px; background: #faf8ff; }
.sh-coupon-code { flex: none; font: 600 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; color: #4a32b5; }
.sh-coupon-words { flex: 1; min-width: 0; font-size: 13px; color: #5b5870; }
.sh-coupon-use { flex: none; min-height: 40px; padding: 0 14px; color: #5b3fd6; font-weight: 600; border-radius: 10px; }
.sh-coupon-use:hover { background: #efe9ff; color: #4a32b5; }
.sh-coupon-on { flex: none; padding: 0 10px; font-size: 13px; font-weight: 600; color: #1f5f3c; }
.sh-policies h2 { font-size: 17px; margin: 18px 0 6px; }
.sh-policies p, .sh-policies li { color: #3d3a4f; }

/* The shop page's own bits for ordering (public/catalogue.html). */
.ct-size { margin: 4px 0 0; max-width: 220px; padding: 4px 8px; font-size: 14px; border-radius: 8px; border: 1px solid #cfcbe0; background: #fff; }
.ct-closed { border-radius: 12px; padding: 10px 14px; background: #fff4e5; color: #6b4300; margin: 0 0 12px; }
.ct-account { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; margin: 6px 0 0; }
.ct-name { color: inherit; text-decoration: none; }
.ct-coupons { margin: 10px 0 0; }
.ct-coupons-say { margin: 4px 0 0; }

/* The payment link the shop sends on WhatsApp (orders/shop/upi.html): the amount big,
   one button to the UPI app, then a QR and the UPI ID for a computer or an iPhone. */
.sh-upi { max-width: 440px; margin: 0 auto; }
.sh-upi-top { margin: 0; }
.sh-upi .sh-h1 { margin: 4px 0 0; }
.sh-upi-amt { font-size: 40px; font-weight: 600; margin: 4px 0 16px; font-variant-numeric: tabular-nums; color: #1c1a29; }
.sh-upi-say { margin: 8px 0 16px; }
.sh-upi-alt .sh-h2 { margin-top: 0; }
.sh-upi-qr { width: 200px; max-width: 100%; margin: 0 auto; padding: 8px; background: #fff; border: 1px solid #e6e3ef; border-radius: 12px; }
.sh-upi-qr svg { display: block; width: 100%; height: auto; }
.sh-upi-scan { text-align: center; margin: 6px 0 12px; }
.sh-upi-id { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f5f3fb; }
.sh-upi-id span { min-width: 0; overflow-wrap: anywhere; font-size: 13px; color: #5b5870; }
.sh-upi-id strong { font-size: 16px; color: #1c1a29; }
.sh-upi-id .btn { flex: none; min-height: 44px; padding: 0 16px; border-radius: 10px; }
.sh-upi-exact { margin: 8px 0 0; }
.sh-upi-back { margin: 16px 0 0; }
