/* /order pickup flow (2026-09-10). Scoped to .of-* so nothing here reaches the
   catering studio or any other page that shares styles.css. Brand tokens
   (--palm, --cream, --display, ...) come from styles.css :root. */

/* Tokens live on :root because the bar, toast, sheet and confirmation sit
   outside .of-shell. This stylesheet only loads on /order. */
:root {
  --of-bg: #1d0e07;
  --of-card: #28160c;
  --of-card-2: #331d10;
  --of-line: rgba(255, 242, 220, .12);
  --of-muted: rgba(255, 242, 220, .68);
  --of-hot: var(--palm, #f6a719);
  --of-ink: #1b0d07;
  --of-err: #ff8a6b;
  --of-ok: #4fc26a;
  --of-header: 66px;
  --of-chips: 56px;
}

/* This page toggles visibility with the hidden attribute throughout; make it
   win over every display rule below. */
[hidden] { display: none !important; }

.of-shell {
  /* Positioned so it paints above body::before's grid texture, but with NO
     z-index: a stacking context here would trap the phone order panel
     (z 70) underneath the fixed site header (z 40). */
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: calc(var(--of-header) + 14px) 16px 120px;
  font-family: var(--body);
}

@media (min-width: 761px) {
  :root { --of-header: 76px; }
}

body.of-locked { overflow: hidden; }

/* ------------------------------------------------------------ intro */
.of-pos-banner {
  position: sticky;
  top: var(--of-header);
  z-index: 31;
  margin: 0 -16px 12px;
  padding: 10px 16px;
  background: var(--of-hot);
  color: var(--of-ink);
  font-weight: 900;
  text-align: center;
}

.of-intro {
  display: grid;
  gap: 10px;
  padding: 8px 0 14px;
}

.of-intro h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 7vw, 52px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: 0;
}

.of-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0;
  color: var(--of-muted);
  font-size: 15px;
}

.of-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 242, 220, .08);
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
}

.of-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9794f;
}

.of-status.is-open::before { background: var(--of-ok); }

.of-intro-alt {
  margin: 0;
  color: var(--of-muted);
  font-size: 14px;
}

.of-intro-alt a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------- layout */
.of-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

@media (min-width: 980px) {
  .of-layout { grid-template-columns: minmax(0, 1fr) 380px; }
}

/* ---------------------------------------------------------- chips */
.of-chips {
  position: sticky;
  top: var(--of-header);
  z-index: 30;
  display: flex;
  gap: 8px;
  margin: 0 -16px;
  padding: 10px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--of-bg);
  border-bottom: 1px solid var(--of-line);
}

.of-chips::-webkit-scrollbar { display: none; }

.of-pos .of-chips { top: calc(var(--of-header) + 40px); }

.of-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--of-line);
  border-radius: 999px;
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.of-chip.is-active {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--of-ink);
}

/* ----------------------------------------------------------- menu */
.of-section {
  padding-top: 22px;
  scroll-margin-top: calc(var(--of-header) + var(--of-chips) + 8px);
}

.of-section h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.of-items {
  display: grid;
  gap: 10px;
}

@media (min-width: 700px) {
  .of-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.of-item {
  position: relative;
  border: 1px solid var(--of-line);
  border-radius: 14px;
  background: var(--of-card);
  transition: border-color .15s ease;
}

.of-item.in-order { border-color: rgba(246, 167, 25, .55); }

.of-item-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px;
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 14px;
}

.of-item-main:focus-visible,
.of-add:focus-visible,
.of-chip:focus-visible,
.of-cta:focus-visible {
  outline: 3px solid var(--of-hot);
  outline-offset: 2px;
}

.of-item-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.of-item-name {
  font-weight: 900;
  font-size: 17px;
  line-height: 1.2;
}

.of-item-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--of-muted);
  font-size: 14px;
  line-height: 1.4;
}

.of-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-top: auto;
}

.of-item-price {
  font-weight: 900;
  font-size: 16px;
}

.of-item-flag {
  color: var(--of-hot);
  font-size: 12px;
  font-weight: 700;
}

.of-item-media {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--of-card-2);
}

.of-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.of-add {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--of-ink);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
  cursor: pointer;
}

.of-add.has-count {
  background: var(--of-hot);
}

.of-add.has-count .of-add-plus { display: none; }

.of-add-count { font-size: 17px; }

.of-add:active { transform: scale(.94); }

.of-menu-error {
  padding: 28px 18px;
  border: 1px solid var(--of-line);
  border-radius: 14px;
  background: var(--of-card);
}

.of-menu-error a { color: var(--of-hot); }

/* ------------------------------------------------------ view order bar */
.of-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--of-hot);
  color: var(--of-ink);
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  cursor: pointer;
}

.of-bar-count {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--of-ink);
  color: var(--of-hot);
  font-size: 15px;
}

.of-bar-label { flex: 1; text-align: left; }

.of-bar.is-bump { animation: of-bump .35s ease; }

@keyframes of-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@media (min-width: 980px) {
  .of-bar { display: none !important; }
}

body.of-panel-open .of-bar { display: none; }

/* ---------------------------------------------------------- toast */
.of-toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--of-ink);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.of-toast::before { content: "✓  "; color: var(--of-ok); }

.of-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 980px) {
  .of-toast { bottom: 28px; }
}

/* ----------------------------------------------------- order panel */
.of-panel {
  display: flex;
  flex-direction: column;
  background: var(--of-card);
  border: 1px solid var(--of-line);
  border-radius: 16px;
}

@media (min-width: 980px) {
  .of-panel {
    position: sticky;
    top: calc(var(--of-header) + 14px);
    max-height: calc(100vh - var(--of-header) - 28px);
  }
}

@media (max-width: 979px) {
  .of-panel {
    position: fixed;
    inset: 0;
    z-index: 70;
    border: 0;
    border-radius: 0;
    background: var(--of-bg);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform .28s ease, visibility 0s linear .28s;
  }

  .of-panel.is-open {
    transform: none;
    visibility: visible;
    transition: transform .28s ease;
  }
}

.of-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--of-line);
}

.of-panel-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.of-panel-count {
  color: var(--of-muted);
  font-weight: 700;
  font-size: 14px;
}

.of-panel-close {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--of-line);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 979px) {
  .of-panel-close { display: inline-grid; place-items: center; }
}

.of-panel-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 18px 18px;
}

.of-empty {
  padding: 30px 4px;
  color: var(--of-muted);
  text-align: center;
}

.of-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cream);
  font-size: 17px;
}

.of-link-btn {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--of-hot);
  font-weight: 800;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (min-width: 980px) {
  .of-empty .of-link-btn { display: none; }
}

.of-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.of-line {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--of-line);
}

.of-line-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.of-line-name { font-weight: 800; font-size: 16px; }

.of-line-detail { color: var(--of-muted); font-size: 13px; }

.of-line-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

.of-line-price { font-weight: 800; }

/* stepper */
.of-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--of-line);
  border-radius: 999px;
  background: var(--of-card-2);
}

.of-stepper button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--cream);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.of-stepper button:disabled { opacity: .3; cursor: default; }

.of-stepper output {
  min-width: 24px;
  text-align: center;
  font-weight: 900;
  font-size: 16px;
}

.of-stepper-sm button { width: 36px; height: 36px; font-size: 19px; }

/* checkout sections */
.of-block {
  margin-top: 20px;
}

.of-block > h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--of-muted);
}

.of-segs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.of-seg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1.5px solid var(--of-line);
  border-radius: 12px;
  background: var(--of-card-2);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}

.of-seg strong { font-size: 16px; }

.of-seg span { color: var(--of-muted); font-size: 13px; }

.of-seg.is-on {
  border-color: var(--of-hot);
  background: rgba(246, 167, 25, .1);
}

.of-seg.is-off { opacity: .5; cursor: default; }

.of-seg:disabled { opacity: .5; cursor: default; }

.of-later {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.of-later[hidden] { display: none; }

.of-select,
.of-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--of-muted);
}

.of-select select,
.of-field input,
.of-note input,
.of-tip-custom input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1.5px solid var(--of-line);
  border-radius: 10px;
  background: var(--of-card-2);
  color: var(--cream);
  font-size: 16px; /* 16px stops iOS zooming the page on focus */
  font-weight: 500;
}

.of-select select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.of-field input:focus,
.of-select select:focus,
.of-note input:focus,
.of-tip-custom input:focus {
  outline: none;
  border-color: var(--of-hot);
}

.of-field em,
.of-note em { font-style: normal; font-weight: 500; opacity: .8; }

.of-fields {
  display: grid;
  gap: 12px;
}

.of-field.has-err input { border-color: var(--of-err); }

.of-field-err {
  margin: 4px 0 0;
  color: var(--of-err);
  font-size: 13px;
  font-weight: 700;
}

.of-tips {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.of-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  padding: 6px 2px;
  border: 1.5px solid var(--of-line);
  border-radius: 10px;
  background: var(--of-card-2);
  color: var(--cream);
  cursor: pointer;
}

.of-tip strong { font-size: 14px; }

.of-tip span { color: var(--of-muted); font-size: 12px; }

.of-tip.is-on {
  border-color: var(--of-hot);
  background: rgba(246, 167, 25, .1);
}

.of-tip-custom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.of-tip-custom[hidden] { display: none; }

.of-checks {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.of-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--of-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.of-check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--of-hot);
}

.of-check strong { color: var(--cream); font-size: 14px; }

.of-check a { color: var(--cream); text-decoration: underline; }

.of-where {
  margin: 0;
  color: var(--of-muted);
  font-size: 14px;
  line-height: 1.5;
}

.of-where strong { color: var(--cream); }

.of-sums {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--of-line);
  font-size: 15px;
}

.of-sums div {
  display: flex;
  justify-content: space-between;
  color: var(--of-muted);
}

.of-sums .of-sum-total {
  margin-top: 4px;
  color: var(--cream);
  font-weight: 900;
  font-size: 19px;
}

/* sticky pay footer */
.of-panel-foot {
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--of-line);
  background: inherit;
  border-radius: 0 0 16px 16px;
}

.of-panel-foot[hidden] { display: none; }

.of-error {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 138, 107, .12);
  border: 1px solid rgba(255, 138, 107, .45);
  color: #ffd2c4;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.of-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--of-hot);
  color: var(--of-ink);
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
}

.of-cta:disabled { opacity: .55; cursor: default; }

.of-pay-note {
  margin: 8px 0 0;
  color: var(--of-muted);
  font-size: 12.5px;
  text-align: center;
}

.of-spin {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(27, 13, 7, .3);
  border-top-color: var(--of-ink);
  border-radius: 50%;
  animation: of-spin .8s linear infinite;
}

@keyframes of-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------- item sheet */
.of-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .72);
}

.of-sheet[hidden] { display: none; }

.of-sheet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: 92vh;
  max-height: 92dvh;
  border-radius: 18px 18px 0 0;
  background: var(--of-bg);
  overflow: hidden;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.of-sheet.is-in .of-sheet-card { transform: none; opacity: 1; }

@media (min-width: 700px) {
  .of-sheet { align-items: center; }
  .of-sheet-card { border-radius: 18px; max-height: 88vh; }
}

.of-sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 9, 5, .8);
  color: var(--cream);
  font-size: 22px;
  cursor: pointer;
}

.of-sheet-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.of-sheet-media {
  flex: 0 0 auto;
  height: 190px;
  background: var(--of-card-2);
}

.of-sheet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.of-sheet-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
}

.of-sheet-title {
  margin: 0 44px 6px 0;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.of-sheet-desc {
  margin: 0 0 8px;
  color: var(--of-muted);
  font-size: 15px;
  line-height: 1.45;
}

.of-sheet-price {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 18px;
}

.of-group {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.of-group legend {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 900;
  font-size: 17px;
}

.of-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 242, 220, .1);
  color: var(--of-muted);
  font-size: 12px;
  font-weight: 700;
}

.of-tag.is-req { background: rgba(246, 167, 25, .18); color: var(--of-hot); }

.of-opt {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--of-line);
  cursor: pointer;
}

.of-opt input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--of-hot);
}

.of-opt-label { font-size: 16px; }

.of-opt-price { color: var(--of-muted); font-size: 15px; font-weight: 700; }

.of-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  font-weight: 800;
  font-size: 15px;
}

.of-sheet-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--of-line);
  background: var(--of-bg);
}

.of-sheet-foot .of-cta { flex: 1; }

/* ------------------------------------------------------ confirmation */
.of-done {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  background: var(--of-bg);
}

.of-done[hidden] { display: none; }

.of-done-card {
  width: min(520px, 100%);
  margin: auto 0;
  padding: 28px 22px;
  border: 1px solid var(--of-line);
  border-radius: 18px;
  background: var(--of-card);
  text-align: center;
}

.of-done-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--of-ok);
  color: #06210c;
  font-size: 34px;
  font-weight: 900;
}

.of-done-card h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(26px, 7vw, 36px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.of-done-lead { margin: 0 0 10px; color: var(--of-muted); font-size: 16px; line-height: 1.45; }

.of-done-ref { margin: 0 0 16px; font-size: 16px; }

.of-done-grid {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  text-align: left;
}

.of-done-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--of-card-2);
}

.of-done-grid span { color: var(--of-muted); font-size: 12px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.of-done-grid strong { font-size: 17px; }

.of-done-grid a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.of-done-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.of-done-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--of-line);
  font-size: 15px;
}

.of-done-lines em { display: block; color: var(--of-muted); font-style: normal; font-size: 13px; }

.of-done-total {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 16px;
  font-size: 17px;
}

.of-done-small { margin: 0 0 18px; color: var(--of-muted); font-size: 14px; line-height: 1.5; }

.of-done-small a { color: var(--cream); }

/* ------------------------------------------------------ in-person QR */
.of-qr {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 9, 5, .97);
  text-align: center;
}

.of-qr-card { width: min(420px, 100%); }

.of-qr-card h2 { margin: 0 0 8px; font-family: var(--display); font-size: 30px; text-transform: uppercase; }

.of-qr-card p { color: var(--of-muted); }

.of-qr-code {
  display: inline-block;
  margin: 10px 0;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
}

.of-qr-code a { color: #140806; }

.of-qr-amount { margin: 8px 0; color: var(--of-hot) !important; font-size: 30px; font-weight: 900; }

.of-qr-note { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .of-panel,
  .of-sheet-card,
  .of-toast { transition: none; }
  .of-bar.is-bump { animation: none; }
}

.of-footnote {
  margin-top: 36px;
  color: var(--of-muted);
  font-size: 14px;
  line-height: 1.6;
}

.of-footnote a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.of-sheet-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.of-loading {
  padding: 40px 0;
  color: var(--of-muted);
  text-align: center;
}
