/* FOCUSMODE (Retail): Retail's own look for its focus-mode tasks (the order, sign-up, call-backs), on top of
   rmk_ui focus.css (the bar, the bottom Back / main action / More). Loaded only by templates/base_focus.html.
   Phones first: 360 px wide, nothing wider than the screen, big tap targets. */
.rmk-rfocus { background: var(--rmk-bg-page, #F5F7F9); color: var(--rmk-text, #0A0A0A); overflow-x: hidden; }
.rmk-rfocus__main { max-width: 640px; margin: 0 auto; padding: 16px 16px 112px; box-sizing: border-box; min-width: 0; }
.rmk-rfocus__main img, .rmk-rfocus__main table { max-width: 100%; }
.rmk-rfocus__h2 { font-size: var(--rmk-fs-md, 18px); font-weight: 700; margin: 24px 0 8px; }
.rmk-rfocus .rmk-roles { margin-bottom: 16px; }
.rmk-rfocus .rmk-form .form-control, .rmk-rfocus .rmk-form select { max-width: 100%; box-sizing: border-box; }

/* the cart (step 1 of "Your order") */
.rmk-rcart { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rmk-rcart__line { background: var(--rmk-bg-surface, #FFFFFF); border: 1px solid var(--rmk-border, #D0D7DE);
  border-radius: 14px; padding: 12px 14px; }
.rmk-rcart__line.is-unavailable { border-color: var(--rmk-warning, #9A6700); background: var(--rmk-warning-tint, #FFF8C5); }
.rmk-rcart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rmk-rcart__name { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.rmk-rcart__total { margin: 0; font-weight: 700; white-space: nowrap; }
.rmk-rcart__meta { margin: 2px 0 10px; color: var(--rmk-text-muted, #57606A); font-size: var(--rmk-fs-sm, 14px); }
.rmk-rcart__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.rmk-rcart__qty { display: flex; align-items: center; gap: 8px; margin: 0; }
.rmk-rcart__input { width: 5.5em; min-height: 44px; font-size: 17px; padding: 6px 8px; box-sizing: border-box;
  border: 1px solid var(--rmk-border, #D0D7DE); border-radius: 10px; }
.rmk-rcart__remove { min-height: 44px; color: var(--rmk-danger, #CF222E); }
.rmk-rcart__sum { display: flex; justify-content: space-between; gap: 12px; font-size: var(--rmk-fs-md, 18px); margin: 8px 0 16px; }

/* the order summary on the checkout step (folded) */
.rmk-rsummary { background: var(--rmk-bg-surface, #FFFFFF); border: 1px solid var(--rmk-border, #D0D7DE); border-radius: 14px;
  padding: 0 14px; margin: 0 0 16px; }
.rmk-rsummary > summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.rmk-rsummary__line { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.rmk-rsummary__line > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.rmk-rsummary__note { color: var(--rmk-text-muted, #57606A); font-size: var(--rmk-fs-sm, 14px); margin: 0 0 12px; }
