:root {
  --ink: #173f3c;
  --ink-soft: #315b56;
  --cream: #f5f0e7;
  --cream-deep: #ebe3d5;
  --paper: #fffdf8;
  --sand: #d5bd98;
  --sand-light: #f3e7d4;
  --muted: #6c7975;
  --line: #ddd9cf;
  --success: #28705b;
  --danger: #9a4037;
  --danger-bg: #fff1ed;
  --shadow: 0 18px 50px rgba(24, 53, 49, 0.09);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--cream); scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.85), transparent 34rem),
    linear-gradient(180deg, #f8f4ec 0, var(--cream) 36rem);
  color: var(--ink);
}
button, input, textarea { font: inherit; color: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.46; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #91b88d; outline-offset: 3px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(720px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.7px;
  text-decoration: none;
}
.brand img { display: block; }
.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-underline-offset: 4px;
}
.demo-banner {
  padding: 10px 20px;
  border-block: 1px solid #d4dfc4;
  background: #edf3e4;
  color: #4d6549;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.page-shell {
  width: min(720px, calc(100% - 32px));
  margin: 18px auto 110px;
}
.shop-card,
.step-panel,
.loading-card,
.state-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
}
.shop-card {
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 24px;
}
.shop-heading { display: flex; align-items: center; gap: 14px; }
.shop-monogram {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--ink);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
}
.shop-copy { min-width: 0; flex: 1; }
.shop-name-line { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.shop-name-line h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 6vw, 34px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.demo-badge {
  padding: 4px 7px;
  border: 1px solid #cbd6b6;
  border-radius: 999px;
  background: #eef4e5;
  color: #526747;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.shop-location,
.shop-description { color: var(--muted); }
.shop-location { margin: 4px 0 0; font-size: 13px; line-height: 1.45; }
.shop-description { margin: 17px 0 0; font-size: 13px; line-height: 1.65; }
.shop-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.open-status {
  position: relative;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.open-status::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9caaa5;
}
.open-status.is-open { color: var(--success); }
.open-status.is-open::before { background: var(--success); box-shadow: 0 0 0 4px rgba(40, 112, 91, 0.12); }
.hours-details { position: relative; flex: 0 0 auto; }
.hours-details summary {
  min-width: 68px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -8px 0;
  border-radius: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hours-details summary::-webkit-details-marker { display: none; }
.hours-list {
  position: absolute;
  z-index: 8;
  top: 42px;
  right: 0;
  width: 260px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(23, 63, 60, 0.16);
}
.hours-row {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}
.hours-row span { color: var(--muted); }
.hours-row.is-today { color: var(--ink); font-weight: 750; }

.progress-wrap { margin: 0 0 14px; }
.progress-list {
  margin: 0;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.74);
}
.progress-list button {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 8px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #89948f;
  font-size: 11px;
  font-weight: 650;
}
.progress-list button:disabled { opacity: 1; cursor: default; }
.progress-list button:not(:disabled):hover { background: #f0eee7; color: var(--ink); }
.progress-list button span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #cbd1cc;
  border-radius: 50%;
  font-size: 10px;
}
.progress-list button b { font: inherit; }
.progress-list li.is-current button { background: var(--ink); color: #fff; }
.progress-list li.is-current button span { border-color: rgba(255, 255, 255, 0.46); }
.progress-list li.is-complete button { color: var(--ink); }
.progress-list li.is-complete button span { border-color: #b7c9b7; background: #dce9d8; }

.notice {
  margin: 0 0 14px;
  padding: 13px 15px;
  border: 1px solid #e4b8b1;
  border-radius: 13px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 12px;
  line-height: 1.55;
}
.loading-card {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 24px;
  color: var(--muted);
  font-size: 13px;
}
.spinner {
  width: 19px;
  height: 19px;
  border: 2px solid #cfd7d2;
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.state-card { padding: 28px; border-radius: 24px; }
.state-card h1 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; }
.state-card p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }

.step-panel { padding: clamp(20px, 5vw, 34px); border-radius: 24px; }
.eyebrow {
  margin: 0 0 7px;
  color: #71837b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.section-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.section-heading.with-back { display: grid; grid-template-columns: auto 1fr; }
.section-heading h2,
.success-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.section-intro { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.selection-limit { margin: 6px 0 0; color: var(--muted); font-size: 11px; white-space: nowrap; }
.back-button {
  min-width: 52px;
  min-height: 44px;
  margin-left: -10px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.book-again {
  width: 100%;
  min-height: 74px;
  margin: 0 0 22px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  border: 1px solid #b9cabc;
  border-radius: 15px;
  background: #edf4eb;
  text-align: left;
}
.book-again-label { grid-column: 1 / -1; color: #57715f; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.book-again strong { align-self: end; font-size: 14px; }
.book-again-meta { align-self: end; color: var(--muted); font-size: 12px; }
.book-again:hover { border-color: var(--ink); }

.service-group + .service-group { margin-top: 25px; }
.service-group h3,
.addon-section h3,
.schedule-section h3,
.review-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}
.service-group-heading {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px 8px;
  border-bottom: 1px solid var(--line);
}
.service-group-heading span { color: var(--muted); font-size: 11px; }
.service-row {
  width: 100%;
  min-height: 76px;
  padding: 13px 2px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}
.service-row:hover { background: rgba(241, 235, 223, 0.42); }
.select-control {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1.5px solid #aab5b0;
  border-radius: 7px;
  background: #fff;
}
.select-control::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.service-row[aria-pressed="true"] .select-control { border-color: var(--ink); background: var(--ink); }
.service-row[aria-pressed="true"] .select-control::after { opacity: 1; }
.service-copy { min-width: 0; }
.service-name { display: block; font-size: 14px; font-weight: 750; line-height: 1.35; }
.service-description {
  margin-top: 4px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.service-requirement { display: block; margin-top: 4px; color: #7e6b4f; font-size: 10px; }
.service-meta { align-self: start; display: grid; justify-items: end; gap: 5px; text-align: right; }
.service-price { font-size: 13px; font-weight: 750; white-space: nowrap; }
.service-duration { color: var(--muted); font-size: 10px; white-space: nowrap; }
.addon-section {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #dfd1ba;
  border-radius: 16px;
  background: #fbf5eb;
}
.addon-heading { margin-bottom: 4px; }
.addon-heading p { margin: 4px 0 7px; color: var(--muted); font-size: 11px; }
.addon-section .service-row:last-child { border-bottom: 0; }
.inline-message { min-height: 18px; margin: 13px 0 0; color: var(--danger); font-size: 12px; line-height: 1.5; }

.schedule-section + .schedule-section { margin-top: 28px; }
.subheading-row {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.subheading-row p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.provider-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 3px 9px;
  margin: 0 -3px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.provider-card {
  min-width: 132px;
  min-height: 104px;
  padding: 13px;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  text-align: left;
  scroll-snap-align: start;
}
.provider-card:hover { border-color: #9eaaa5; }
.provider-card[aria-pressed="true"] { border-color: var(--ink); background: #eef4f1; box-shadow: 0 0 0 1px var(--ink); }
.provider-avatar {
  width: 38px;
  height: 38px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sand-light);
  color: #6b5336;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.provider-card:first-child .provider-avatar { background: var(--ink); color: #fff; }
.provider-name { align-self: end; font-size: 12px; font-weight: 800; line-height: 1.25; }
.provider-title { align-self: start; color: var(--muted); font-size: 10px; line-height: 1.25; }

.next-available {
  width: 100%;
  min-height: 74px;
  margin: 24px 0 0;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 12px;
  border: 1px solid #bdcdbf;
  border-radius: 15px;
  background: #edf4eb;
  text-align: left;
}
.next-available .next-label { grid-column: 1 / -1; color: #5e7762; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.next-available strong { font-size: 13px; line-height: 1.4; }
.next-available > span:last-child { color: var(--ink); font-size: 11px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.next-available:hover { border-color: var(--ink); }
.next-loading { margin: 18px 2px 0; color: var(--muted); font-size: 11px; }

.week-controls { display: flex; gap: 6px; }
.week-controls button {
  min-width: 52px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
}
.date-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(62px, 1fr));
  gap: 7px;
  overflow-x: auto;
  padding: 3px 3px 10px;
  margin: 0 -3px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.date-chip {
  min-width: 62px;
  min-height: 72px;
  padding: 9px 5px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-size: 10px;
  scroll-snap-align: start;
}
.date-chip strong { font-size: 17px; }
.date-chip .date-month { color: var(--muted); }
.date-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.date-chip[aria-pressed="true"] .date-month { color: rgba(255, 255, 255, 0.75); }
.date-chip:disabled { background: #f0eee8; color: #9ba39f; opacity: 1; text-decoration: line-through; }
.date-chip:disabled .date-month { color: #a5ada9; }
.small-loader { color: var(--muted); font-size: 10px; }
.time-groups { min-height: 80px; }
.time-group + .time-group { margin-top: 18px; }
.time-group h4 { margin: 0 0 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-chip {
  min-height: 48px;
  padding: 8px;
  border: 1px solid #cfd5d1;
  border-radius: 11px;
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}
.time-chip:hover { border-color: var(--ink); }
.time-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.empty-times {
  margin: 0;
  padding: 21px;
  border: 1px dashed #cbd2cd;
  border-radius: 14px;
  background: #faf8f2;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
}
.likely-provider { min-height: 18px; margin: 12px 2px 0; color: var(--success); font-size: 12px; font-weight: 700; }
.likely-provider small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; }
.empty-next-wrap { margin-top: 10px; text-align: center; }

.returning-customer {
  margin: -5px 0 18px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d9ddcf;
  border-radius: 12px;
  background: #f5f5eb;
  color: var(--muted);
  font-size: 11px;
}
.text-button {
  min-height: 44px;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.full-field { grid-column: 1 / -1; }
.field-group label { display: block; margin: 0 0 7px; font-size: 12px; font-weight: 750; }
.field-group label span { color: var(--muted); font-weight: 500; }
.field-group input,
.field-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cdd3cf;
  border-radius: 11px;
  background: #fff;
  font-size: 14px;
}
.field-group textarea { min-height: 105px; resize: vertical; line-height: 1.5; }
.field-group input:focus,
.field-group textarea:focus { border-color: var(--ink); outline: 2px solid rgba(23, 63, 60, 0.13); }
.field-group input:user-invalid,
.field-group textarea:user-invalid { border-color: var(--danger); }
.field-group small { display: block; margin: 6px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.review-card {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #faf8f2;
}
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-list { margin-top: 13px; border-top: 1px solid var(--line); }
.review-row {
  min-height: 38px;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.45;
}
.review-row span { color: var(--muted); }
.review-row strong { max-width: 67%; text-align: right; font-weight: 750; }
.policies { margin-top: 14px; padding-top: 2px; }
.policy-item { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.policy-item strong { color: var(--ink); }
.approval-note {
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 12px;
  background: var(--sand-light);
  color: #675338;
  font-size: 11px;
  line-height: 1.55;
}

.button {
  min-height: 48px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.button:not(:disabled):active { transform: translateY(1px); }
.button.primary { border-color: var(--ink); background: var(--ink); color: #fff; }
.button.primary:hover:not(:disabled) { background: #0e302e; }
.button.secondary { border-color: #c7ceca; background: #fff; color: var(--ink); }
.button.secondary:hover:not(:disabled) { border-color: var(--ink); }
.inline-actions { margin-top: 25px; display: flex; justify-content: flex-end; }
.inline-actions .button { min-width: 160px; }
.split-actions { justify-content: space-between; }

.success-panel { padding-block: 40px; text-align: center; }
.success-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  position: relative;
  border-radius: 50%;
  background: #dcebd9;
}
.success-mark::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 15px;
  width: 19px;
  height: 10px;
  border-left: 3px solid var(--success);
  border-bottom: 3px solid var(--success);
  transform: rotate(-45deg);
}
.success-message { max-width: 480px; margin: 10px auto 24px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.success-summary { max-width: 470px; margin: 0 auto; text-align: left; }
.success-summary .review-card { margin-top: 0; }
.demo-success { max-width: 470px; margin: 16px auto 0; padding: 12px; border-radius: 11px; background: #eef3e7; color: #5b6d53; font-size: 11px; }
.success-actions { max-width: 470px; margin: 22px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.success-actions .button.primary { grid-column: 1 / -1; }
.new-booking { margin-top: 13px; }

.mobile-bar { display: none; }
.mobile-total { min-width: 0; display: grid; gap: 3px; }
.mobile-total strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.mobile-total span { color: var(--muted); font-size: 10px; }

@media (max-width: 760px) {
  .site-header { width: min(100% - 24px, 720px); min-height: 62px; }
  .brand { font-size: 19px; }
  .page-shell { width: min(100% - 20px, 720px); margin-top: 10px; margin-bottom: 116px; }
  .shop-card { padding: 18px; border-radius: 20px; }
  .shop-description { margin-top: 14px; }
  .shop-meta { margin-top: 14px; padding-top: 13px; }
  .hours-list { position: fixed; top: auto; right: 12px; bottom: 88px; left: 12px; width: auto; }
  .progress-wrap { position: sticky; top: 6px; z-index: 6; }
  .progress-list { box-shadow: 0 8px 22px rgba(23, 63, 60, 0.08); }
  .progress-list button { gap: 5px; padding-inline: 3px; }
  .progress-list button b { display: none; }
  .progress-list li.is-current button b { display: inline; }
  .step-panel { padding: 20px 16px 24px; border-radius: 20px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading.with-back { grid-template-columns: auto minmax(0, 1fr); }
  .selection-limit { margin-top: 5px; }
  .service-row { grid-template-columns: 23px minmax(0, 1fr) auto; gap: 10px; }
  .addon-section { margin-inline: -3px; padding: 15px; }
  .provider-card { min-width: 126px; }
  .date-strip { grid-template-columns: repeat(7, 62px); }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .inline-actions { display: none; }
  .mobile-bar {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(76px + env(safe-area-inset-bottom));
    padding: 10px max(12px, calc((100vw - 720px) / 2)) calc(10px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.97);
    box-shadow: 0 -12px 30px rgba(23, 63, 60, 0.09);
    backdrop-filter: blur(12px);
  }
  .mobile-total { flex: 1; padding-left: 4px; }
  .mobile-bar .button { min-width: 132px; }
  .success-actions { grid-template-columns: 1fr; }
  .success-actions .button.primary { grid-column: auto; }
}

@media (max-width: 390px) {
  .shop-monogram { width: 43px; height: 43px; border-radius: 13px; }
  .shop-location { font-size: 12px; }
  .open-status { font-size: 11px; }
  .section-heading h2, .success-panel h2 { font-size: 29px; }
  .time-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .time-chip { padding-inline: 5px; }
  .mobile-bar .button { min-width: 118px; padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation: none; }
  .button { transition: none; }
}
