:root {
  color-scheme: light;
  --red: #a93122;
  --ink: #202124;
  --muted: #667085;
  --line: #e7e2dc;
  --bg: #fbfaf7;
  --panel: #ffffff;
  --gold: #c79638;
  --green: #18805d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

button,
input,
textarea,
select {
  font: inherit;
}

.top {
  background: linear-gradient(135deg, #8f241b, #c64d2d 58%, #d7a748);
  color: #fff;
  padding: 22px 18px 28px;
}

.brand {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  overflow: hidden;
  flex: none;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo span {
  font-size: 24px;
  font-weight: 800;
}

.brand small {
  opacity: .9;
}

.brand h1 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.wrap {
  max-width: 980px;
  margin: -16px auto 32px;
  padding: 0 14px;
}

.grid {
  display: grid;
  gap: 14px;
}

.cols {
  grid-template-columns: 1.2fr .8fr;
}

.panel,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(38, 21, 10, .06);
}

.panel {
  padding: 16px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 8px;
  padding: 10px;
}

.tab.active {
  border-color: var(--red);
  color: var(--red);
  background: #fff7f4;
  font-weight: 700;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 6px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  outline: none;
}

input[type="date"].date-empty {
  color: transparent;
}

input[type="date"].date-empty::-webkit-datetime-edit {
  color: transparent;
}

input[type="date"].date-empty::-webkit-calendar-picker-indicator {
  color: #111;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199,150,56,.16);
}

.btn {
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: white;
  padding: 11px 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn.secondary {
  background: #2f3a45;
}

.btn.ghost {
  color: var(--ink);
  background: #f3f0eb;
}

.btn.danger {
  background: #8b1d1d;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.notice {
  white-space: pre-wrap;
  line-height: 1.7;
  color: #4a3429;
}

.specs {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.spec {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffdfb;
}

.spec strong {
  color: var(--red);
}

.result {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f5f7f6;
  border: 1px solid #dfe7e2;
  display: none;
  line-height: 1.7;
}

.result.show {
  display: block;
}

.result.result-blink {
  animation: resultBlink .65s ease-in-out 2;
}

@keyframes resultBlink {
  0%, 100% {
    border-color: #f1c7c7;
    box-shadow: none;
  }
  50% {
    border-color: #b32020;
    box-shadow: 0 0 0 3px rgba(179, 32, 32, .18);
  }
}

.flash-toast {
  position: fixed;
  top: 168px;
  left: 50%;
  z-index: 200;
  min-width: 220px;
  max-width: min(420px, calc(100vw - 32px));
  transform: translate(-50%, -16px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px 18px;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
  transition: opacity .2s ease, transform .2s ease;
}

.flash-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.flash-toast.ok {
  color: #0f684b;
  background: #f3fbf7;
  border-color: #cfeadd;
}

.flash-toast.bad {
  color: #8b1d1d;
  background: #fff3f3;
  border-color: #f1c7c7;
}

.flash-toast.blink {
  animation: toastBlink .72s ease-in-out 2;
}

@keyframes toastBlink {
  0%, 100% {
    transform: translate(-50%, 0) scale(1);
  }
  50% {
    transform: translate(-50%, 0) scale(1.04);
    box-shadow: 0 0 0 4px rgba(139, 29, 29, .14), 0 12px 32px rgba(0, 0, 0, .15);
  }
}

.muted {
  color: var(--muted);
}

.field-help {
  display: block;
  margin-top: 4px;
  color: #8a7b70;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.admin-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-head-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.nav button {
  white-space: nowrap;
}

.section {
  display: none;
}

.section.active {
  display: block;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pager {
  margin: 12px 0 8px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.pager-info {
  white-space: nowrap;
}

.pager-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pager-controls select {
  width: auto;
  min-width: 96px;
  padding: 7px 8px;
}

.pager-link {
  border: 0;
  background: transparent;
  color: #2b3a46;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 2px;
}

.pager-link:disabled {
  color: #b8b0a8;
  cursor: not-allowed;
}

.pager-current {
  color: #2b3a46;
  min-width: 52px;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 980px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  background: #faf7f2;
  color: #594438;
}

.editing-row td {
  background: #fffdf8;
}

.date-range-edit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 260px;
}

.date-range-edit label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.date-range-edit input {
  margin-top: 5px;
}

.spec-actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 170px;
}

.spec-actions.edit-actions {
  gap: 10px;
}

.danger-separated {
  margin-left: 18px;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  background: #eee;
}

.badge.ok {
  color: #0f684b;
  background: #e5f6ef;
}

.badge.warn {
  color: #9a650e;
  background: #fff4d8;
}

.badge.bad {
  color: #8b1d1d;
  background: #fde7e7;
}

.voucher-tools {
  margin-top: 18px;
  padding: 12px;
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.voucher-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  gap: 12px 14px;
  align-items: end;
}

.voucher-filter-grid label {
  margin: 0;
  color: #53627a;
  font-size: 13px;
}

.voucher-filter-grid input,
.voucher-filter-grid select {
  margin-top: 6px;
}

.filter-actions {
  display: flex;
  gap: 8px;
  align-items: end;
}

.date-filter-inline {
  grid-column: span 2;
}

.range-control {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.range-control b {
  color: var(--ink);
  font-weight: 400;
}

.quick-range {
  display: flex;
  gap: 6px;
  align-items: end;
}

.voucher-status-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.voucher-status-shortcuts .btn.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.quick-range .btn {
  min-width: 54px;
  padding-left: 10px;
  padding-right: 10px;
}

.order-tools {
  margin: 12px 0;
  padding: 12px;
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.password-form {
  margin-top: 10px;
}

.password-form h3 {
  margin: 0;
}

.order-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  gap: 12px 14px;
  align-items: end;
}

.order-filter-grid label {
  margin: 0;
  color: #53627a;
  font-size: 13px;
}

.order-filter-grid input,
.order-filter-grid select {
  margin-top: 6px;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.dashboard-card {
  min-height: 86px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  text-align: center;
  padding: 16px 18px;
  cursor: pointer;
  box-shadow: none;
}

.dashboard-card:last-child {
  border-right: 0;
}

.dashboard-card span {
  display: block;
  color: #667085;
  font-size: 16px;
}

.dashboard-card strong {
  display: block;
  margin-top: 10px;
  color: #2a211d;
  font-size: 30px;
  line-height: 1;
}

.compact-date-row {
  margin-top: 10px;
}

.order-status-select {
  width: 100%;
  min-width: 0;
}

.express-company-select {
  width: 100%;
  min-width: 0;
}

.tracking-input {
  text-transform: uppercase;
}

#orderTable {
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: #faf7f2;
}

#orderTable th:nth-child(1),
#orderTable td:nth-child(1) {
  width: 34px;
  text-align: center;
}

#orderTable th:nth-child(2) {
  width: 21%;
}

#orderTable th:nth-child(3) {
  width: 28%;
}

#orderTable th:nth-child(4) {
  width: 10%;
}

#orderTable th:nth-child(5) {
  width: 11%;
}

#orderTable th:nth-child(6) {
  width: 20%;
}

#orderTable th:nth-child(7) {
  width: 10%;
}

.tool-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto minmax(120px, 1fr) auto minmax(160px, 1.2fr);
  gap: 8px;
  align-items: center;
}

.tool-row label {
  margin: 0;
}

#voucherTable {
  min-width: 0;
  table-layout: fixed;
}

#voucherTable th,
#voucherTable td {
  padding: 9px 8px;
}

#voucherTable th:nth-child(1),
#voucherTable td:nth-child(1) {
  width: 38px;
  text-align: center;
}

#voucherTable th:nth-child(2) {
  width: 13%;
}

#voucherTable th:nth-child(3) {
  width: 11%;
}

#voucherTable th:nth-child(4) {
  width: 15%;
}

#voucherTable th:nth-child(5) {
  width: 10%;
}

#voucherTable th:nth-child(6) {
  width: 25%;
}

#voucherTable th:nth-child(7) {
  width: 10%;
}

#voucherTable th:nth-child(8) {
  width: 17%;
}

.voucher-card-info,
.voucher-spec-full,
.voucher-time-stack {
  display: grid;
  gap: 4px;
  line-height: 1.45;
}

.voucher-plain-code {
  font-weight: 400;
  overflow-wrap: anywhere;
}

.voucher-card-info strong,
.voucher-spec-full strong {
  display: inline-block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.voucher-card-info span,
.voucher-spec-full span,
.voucher-time-stack span {
  overflow-wrap: anywhere;
}

.voucher-spec-note {
  display: block;
  width: 5em;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}

.voucher-batch {
  color: #53627a;
}

.voucher-remark {
  width: 108px;
  max-width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 8px;
  font-size: 13px;
}

#voucherTable .badge {
  position: relative;
  left: -6px;
  font-size: 14px;
  padding: 5px 10px;
}

.voucher-row-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
  min-width: 0;
}

.voucher-row-actions .btn {
  min-height: 36px;
  padding: 8px 6px;
}

.voucher-action-placeholder {
  min-width: 0;
}

.voucher-row-actions .muted {
  font-size: 12px;
  line-height: 1.4;
}

.order-meta-row td {
  background: #fffdfb;
  border-top: 8px solid #faf7f2;
  border-bottom: 1px solid #eadfd7;
  box-shadow: inset 0 1px 0 #decfc2;
  color: #4a3429;
  padding-top: 12px;
  padding-bottom: 12px;
}

.order-meta-row td:first-child {
  border-left: 1px solid #decfc2;
  border-radius: 8px 0 0 0;
}

.order-meta-row td:last-child {
  border-right: 1px solid #decfc2;
  border-radius: 0 8px 0 0;
}

.order-meta-row span {
  display: inline-block;
  margin-right: 18px;
  margin-bottom: 4px;
  white-space: normal;
}

.order-detail-row td {
  vertical-align: middle;
  padding-top: 14px;
  padding-bottom: 14px;
  background: #fff;
  border-bottom: 1px solid #decfc2;
  border-right: 1px solid #eadfd7;
}

.order-detail-row td:first-child {
  border-left: 1px solid #decfc2;
  border-radius: 0 0 0 8px;
}

.order-detail-row td:last-child {
  border-right: 1px solid #decfc2;
  border-radius: 0 0 8px 0;
}

.order-meta-row.order-shipped td {
  background: #f6f8f5;
  color: #4f604d;
}

.order-detail-row.order-shipped td {
  background: #fbfcfa;
}

.order-spec {
  width: 100%;
  display: grid;
  gap: 6px;
  line-height: 1.35;
}

.order-spec strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #2f241e;
  font-size: 15px;
}

.order-package-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #6b5b52;
  font-size: 14px;
}

.order-recipient {
  width: 100%;
  display: grid;
  gap: 5px;
  line-height: 1.35;
  user-select: text;
}

.order-recipient strong,
.order-recipient span,
.order-recipient em,
.order-recipient small {
  display: block;
  color: #2f241e;
  font-style: normal;
}

.order-recipient em {
  white-space: normal;
  overflow-wrap: break-word;
  color: #5b5b5b;
}

.order-recipient small {
  color: #8a5a28;
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: break-word;
}

.order-row-actions {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.order-row-actions .btn {
  min-height: 34px;
  padding: 8px 9px;
}

.order-row-actions .shipped-button {
  background: #8f9790;
  color: #fff;
}

#orderTable input[id^="track-"] {
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding-left: 8px;
  padding-right: 8px;
}

.sort-link {
  border: 0;
  background: transparent;
  color: #4a3429;
  font-weight: 800;
  padding: 0;
  cursor: pointer;
}

.plain-export-link {
  align-self: center;
  color: #2d3a45;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 8px;
  background: #f3f0eb;
}

.plain-export-link:hover {
  background: #e9e4dc;
}

.login {
  max-width: 420px;
  margin: 70px auto;
  padding: 0 14px;
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, .34);
  padding: 18px;
}

#noticeMask {
  background: rgba(0, 0, 0, .48);
  backdrop-filter: none;
}

.modal-mask.show {
  display: grid;
}

.modal-card {
  width: min(620px, 100%);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.calendar-card {
  width: min(360px, calc(100vw - 42px));
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

.calendar-head {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #f0ece7;
}

.calendar-head strong {
  text-align: center;
  font-size: 18px;
  color: #1f252b;
}

.calendar-head button {
  height: 58px;
  border: 0;
  background: transparent;
  color: #9f261f;
  font-size: 30px;
  cursor: pointer;
}

.calendar-head button:disabled {
  color: #d7d1cc;
  cursor: not-allowed;
}

.calendar-week,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-week {
  padding: 12px 16px 4px;
  color: #9a9088;
  font-size: 13px;
  text-align: center;
}

.calendar-days {
  gap: 5px;
  padding: 8px 16px 18px;
}

.calendar-days button,
.calendar-empty {
  height: 38px;
  border-radius: 999px;
}

.calendar-days button {
  border: 0;
  background: #fff;
  color: #29231f;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.calendar-days button.today {
  box-shadow: inset 0 0 0 1px #d7b6aa;
}

.calendar-days button.selected {
  background: #a83226;
  color: #fff;
}

.calendar-days button:disabled {
  background: #f4f2f0;
  color: #c8c1bb;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-cancel {
  width: 100%;
  height: 52px;
  border: 0;
  border-top: 1px solid #f0ece7;
  background: #fff;
  color: #6a635e;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.modal-head,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  margin: 0;
}

.plain-close {
  border: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 28px;
  cursor: pointer;
}

.modal-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 34px 70px;
  align-items: center;
}

.modal-body .muted {
  grid-column: 2;
  margin: 0;
}

.required {
  color: var(--red);
}

.modal-actions {
  justify-content: center;
  gap: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

@media (max-width: 760px) {
  .cols {
    grid-template-columns: 1fr;
  }

  .brand h1 {
    font-size: 19px;
  }

  .admin-head {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    min-height: 42px;
  }

  .tool-row {
    grid-template-columns: 1fr;
  }

  .voucher-filter-grid {
    grid-template-columns: 1fr;
  }

  .order-filter-grid {
    grid-template-columns: 1fr;
  }

  .date-filter-inline {
    grid-column: auto;
  }

  .filter-actions,
  .quick-range {
    flex-wrap: wrap;
  }

  .date-range-edit {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .spec-actions {
    display: grid;
    min-width: 0;
  }

  .danger-separated {
    margin-top: 10px;
    margin-left: 0;
  }

  .modal-body {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .modal-body .muted {
    grid-column: 1;
  }

  .modal-actions {
    gap: 12px;
  }
}

.front-page {
  background: #eeeeee;
  padding-bottom: 57px;
}

.front-page.front-flow-mode {
  background: #fff;
  padding-bottom: 0;
}

.red-rule {
  height: 9px;
  background: #c50018;
}

.site-head {
  height: 72px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffdf9;
  border-bottom: 1px solid #eadfce;
}

.site-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.22), transparent 28%),
    linear-gradient(135deg, #2d1710, #8d241d 58%, #c4963d);
  color: #f8e5b8;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 900;
  overflow: hidden;
  flex: none;
  border: 1px solid rgba(156, 104, 37, .38);
  box-shadow: 0 7px 18px rgba(88, 43, 19, .16);
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-title {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.site-title strong {
  display: block;
  color: #33221a;
  font-size: 19px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-title span {
  display: block;
  color: #8b8b8b;
  font-size: 12px;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.front-main {
  max-width: 720px;
  margin: 0 auto;
  background: #eeeeee;
}

.front-flow-mode .front-main {
  background: #fff;
}

.step-details-mode .red-rule,
.step-details-mode .site-head,
.step-details-mode .hero-banner,
.step-details-mode .promise-strip,
.step-details-mode .notice-panel,
.step-details-mode .front-footer,
.step-details-mode .bottom-nav {
  display: none;
}

.front-flow-mode .exchange-box {
  background: #fff;
}

.step-details-mode .exchange-box {
  min-height: 100vh;
  padding: 0 18px 24px;
}

.step-product-mode .exchange-box {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: #f4f1ed;
}

.front-flow-mode .front-tabs {
  display: none;
}

.front-flow-mode .stacked-form {
  gap: 18px;
}

.step-product-mode .redeem-step[data-step="product"].active {
  width: min(720px, 100%);
  align-content: start;
  gap: 14px;
  padding: 0 24px 24px;
  position: relative;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 30px rgba(0,0,0,.14);
  max-height: 92vh;
  overflow: auto;
}

.step-details-mode .redeem-step[data-step="details"].active {
  min-height: 100vh;
  align-content: start;
  gap: 18px;
  padding: 0 0 88px;
}

.hero-banner {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  background: #21150f;
}

.hero-banner img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center 72%;
  display: block;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.18) 45%, rgba(0,0,0,.05));
}

.hero-copy,
.flow {
  position: absolute;
  z-index: 1;
}

.hero-copy {
  left: 24px;
  top: 26px;
  color: #ffd84b;
  text-shadow: 0 2px 10px rgba(0,0,0,.38);
}

.hero-copy span {
  display: inline-block;
  background: #c50018;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 8px 0 4px;
  font-size: 52px;
  line-height: .95;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 0;
  color: #fff3cf;
  font-weight: 700;
}

.flow {
  left: 18px;
  right: 18px;
  bottom: 15px;
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  gap: 7px;
  align-items: center;
}

.flow b {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  width: 38px;
}

.flow span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 6px;
  border-radius: 6px;
  background: rgba(255,255,255,.86);
  color: #4d4038;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.exchange-box {
  background: #c8c8c8;
  padding: 20px 18px 24px;
}

.redeem-step {
  display: none;
  gap: 14px;
}

.redeem-step.active {
  display: grid;
}

.announcement {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  background: #fff7f2;
  border-top: 1px solid #f1d6c9;
  border-bottom: 1px solid #f1d6c9;
  padding: 12px 18px;
  color: #7a3b28;
  line-height: 1.55;
}

.announcement strong {
  color: #c50018;
}

.announcement span {
  white-space: pre-wrap;
}

.front-tabs {
  gap: 0;
  border-top: 3px solid #fff;
  margin-bottom: 18px;
}

.front-tabs .tab {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  position: relative;
}

.front-tabs .tab.active {
  color: #c50018;
  background: transparent;
}

.front-tabs .tab.active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -3px;
  height: 3px;
  background: #c50018;
}

.stacked-form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 54px;
}

.field-icon {
  display: grid;
  place-items: center;
  background: #ababab;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  position: relative;
}

.card-mini-icon,
.key-mini-icon,
.phone-mini-icon,
.handset-mini-icon {
  font-size: 0;
}

.card-mini-icon::before,
.key-mini-icon::before,
.key-mini-icon::after,
.phone-mini-icon::before,
.phone-mini-icon::after,
.handset-mini-icon::before,
.handset-mini-icon::after {
  content: "";
  position: absolute;
}

.card-mini-icon::before {
  width: 23px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow: inset 0 -6px 0 rgba(255,255,255,.28);
}

.card-mini-icon::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 17px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 15px 0 0 rgba(255,255,255,.7);
}

.key-mini-icon::before {
  width: 13px;
  height: 13px;
  left: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.key-mini-icon::after {
  width: 24px;
  height: 4px;
  left: 25px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 9px 0 0 -1px #fff, 15px 0 0 -1px #fff;
}

#redeemForm .card-mini-icon,
#redeemForm .key-mini-icon {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px 34px;
}

#redeemForm .card-mini-icon {
  background-image: url("/assets/male-crab-logo-large.png");
}

#redeemForm .key-mini-icon {
  background-image: url("/assets/female-crab-logo-large.png");
}

#redeemForm .card-mini-icon::before,
#redeemForm .card-mini-icon::after,
#redeemForm .key-mini-icon::before,
#redeemForm .key-mini-icon::after {
  display: none;
}

.phone-mini-icon::before {
  width: 24px;
  height: 30px;
  border: 3px solid #fff;
  border-radius: 8px 8px 10px 10px;
  transform: rotate(-12deg);
}

.phone-mini-icon::after {
  width: 5px;
  height: 5px;
  bottom: 14px;
  border-radius: 50%;
  background: #fff;
}

.handset-mini-icon::before {
  content: "☎";
  position: static;
  font-size: 27px;
  line-height: 1;
  color: #fff;
}

.handset-mini-icon::after {
  display: none;
}

#queryForm .card-mini-icon,
#queryForm .handset-mini-icon {
  background: #ababab;
  border: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px 34px;
}

#queryForm .card-mini-icon {
  background-image: url("/assets/male-crab-logo.png");
}

#queryForm .handset-mini-icon {
  background-image: url("/assets/female-crab-logo.png");
}

#queryForm .card-mini-icon::before {
  display: none;
}

#queryForm .card-mini-icon::after {
  display: none;
}

#queryForm .handset-mini-icon::before {
  display: none;
}

#queryForm .handset-mini-icon::after {
  display: none;
}

.field-row input,
.field-row textarea {
  border-radius: 0;
  border: 0;
  min-height: 54px;
  padding: 0 16px;
  font-size: 17px;
}

.date-control {
  position: relative;
  min-height: 74px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-left: 0;
  cursor: pointer;
}

.order-date-control {
  min-height: 58px;
  grid-template-columns: 1fr auto;
  align-items: center;
  align-content: center;
  gap: 5px;
  padding: 9px 16px;
}

.order-date-control small {
  color: #9aa0a6;
  font-size: 13px;
  line-height: 1.25;
}

.order-date-control .date-input-wrap {
  grid-template-columns: 1fr auto;
}

.order-date-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.date-display {
  color: #333;
  font-size: 17px;
  font-weight: 500;
  pointer-events: none;
}

.date-display.has-value {
  font-weight: 800;
}

.date-chevron {
  color: #c9c9c9;
  font-size: 34px;
  line-height: 1;
  pointer-events: none;
}

.date-control label {
  margin: 0;
  color: #666;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  pointer-events: none;
}

.date-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
}

.date-control input {
  min-height: 38px;
  padding: 0;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calendar-icon {
  width: 40px;
  height: 40px;
  justify-self: center;
  align-self: center;
  border: 2px solid #777;
  border-radius: 8px;
  background:
    linear-gradient(#777, #777) 0 11px / 100% 2px no-repeat,
    radial-gradient(circle, #777 2.5px, transparent 3px) 10px 22px / 10px 10px no-repeat,
    radial-gradient(circle, #777 2.5px, transparent 3px) 23px 22px / 10px 10px no-repeat,
    #fff;
  position: relative;
  pointer-events: none;
}

.calendar-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: -6px;
  height: 10px;
  border-left: 2px solid #777;
  border-right: 2px solid #777;
}

.date-control input:invalid {
  color: #999;
}

.field-row textarea {
  padding-top: 16px;
  min-height: 78px;
}

.front-submit {
  min-height: 62px;
  margin-top: 4px;
  border-radius: 6px;
  background: #c50018;
  font-size: 20px;
  font-weight: 800;
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #fff;
  padding: 28px 10px;
  text-align: center;
}

.promise-image {
  display: none;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.promise-strip.promise-image-mode {
  display: block;
  padding: 0;
  background: #fff;
}

.promise-strip.promise-image-mode .promise-image {
  display: block;
}

.promise-strip.promise-image-mode div {
  display: none;
}

.promise-strip div {
  display: grid;
  gap: 10px;
  justify-items: center;
  color: #c50018;
}

.promise-icon {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #b21e1e;
  position: relative;
  box-shadow: 0 8px 18px rgba(178, 30, 30, .18);
}

.promise-icon::before,
.promise-icon::after {
  content: "";
  position: absolute;
}

.seal-icon::before {
  width: 29px;
  height: 34px;
  border-radius: 16px 16px 9px 9px;
  background: #fff;
}

.seal-icon::after {
  width: 14px;
  height: 8px;
  border-left: 4px solid #b21e1e;
  border-bottom: 4px solid #b21e1e;
  transform: rotate(-45deg) translate(0, -2px);
}

.fresh-icon::before {
  width: 35px;
  height: 24px;
  background: #fff;
  border-radius: 30px 7px 30px 7px;
  transform: rotate(-28deg);
}

.fresh-icon::after {
  width: 25px;
  height: 4px;
  background: #b21e1e;
  border-radius: 999px;
  transform: rotate(-28deg);
  box-shadow: 8px -9px 0 -1px #b21e1e;
}

.cold-icon::before {
  width: 39px;
  height: 22px;
  background: #fff;
  border-radius: 6px 14px 6px 6px;
  transform: translate(0, -3px);
  clip-path: polygon(0 0, 61% 0, 73% 8%, 86% 10%, 99% 43%, 100% 100%, 0 100%);
}

.cold-icon::after {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-12px, 10px);
  box-shadow: 24px 0 0 #fff;
}

.care-icon::before {
  width: 35px;
  height: 27px;
  border: 4px solid #fff;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  transform: translateY(-4px);
}

.care-icon::after {
  width: 8px;
  height: 15px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 25px 0 0 #fff, 17px 13px 0 -3px #fff;
  transform: translate(-12px, 4px);
}

.promise-strip strong {
  color: #151515;
  font-size: 15px;
}

.notice-panel {
  background: #f2f2f2;
  padding: 28px 18px;
  color: #5d5d5d;
}

.notice-panel h2 {
  margin: 0 0 18px;
  color: #555;
  font-size: 24px;
  letter-spacing: 0;
}

.notice-list p {
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px;
  font-size: 18px;
  line-height: 1.65;
}

.notice-list span {
  color: #686868;
}

.specs-panel {
  background: #fff;
}

.front-footer {
  background: #262626;
  color: #f7f7f7;
  min-height: 96px;
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.front-footer strong {
  font-size: 18px;
}

.footer-icp {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.4;
}

.phone-popover {
  position: fixed;
  right: 12px;
  bottom: 70px;
  z-index: 30;
  width: 190px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  display: none;
  padding: 14px;
  text-align: center;
}

.phone-popover.show {
  display: block;
}

.phone-popover::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  transform: rotate(45deg);
}

.phone-popover strong,
.phone-popover a {
  display: block;
}

.phone-popover strong {
  color: #666;
  font-size: 16px;
  margin-bottom: 8px;
}

.phone-popover a {
  width: 100%;
  line-height: 1.5;
  color: #c50018;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  min-height: 56px;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f8f8f8;
  border-top: 1px solid #d7d7d7;
  box-shadow: 0 -4px 18px rgba(0,0,0,.08);
}

.bottom-nav button {
  border: 0;
  border-right: 1px solid #e4e4e4;
  background: transparent;
  color: #686868;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-top: 4px;
}

.bottom-nav span {
  font-size: 15px;
}

.front-page .result {
  margin-top: 0;
  background: #fff;
}

.selected-product {
  background: #fff;
  border-left: 4px solid #c50018;
  padding: 12px 14px;
  color: #333;
  line-height: 1.55;
  font-size: 15px;
}

.selected-product strong {
  color: #c50018;
}

.selected-product span {
  color: #666;
}

.booking-tip {
  color: #7a3b28;
  background: #fff7f2;
  border: 1px solid #f1d6c9;
  padding: 10px 12px;
  line-height: 1.5;
}

.step-details-mode .booking-tip {
  display: none;
}

.confirm-product-card {
  background: #fff;
  display: block;
  padding: 0 0 8px;
}

.confirm-product-card img {
  width: calc(100% + 48px);
  height: auto;
  max-height: 48vh;
  margin: 0 -24px 14px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border: 0;
  display: block;
  background: #f4f1ed;
}

.confirm-product-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-right: 44px;
}

.confirm-product-copy span {
  color: #9a9a9a;
  font-size: 15px;
}

.confirm-product-copy strong {
  color: #151515;
  font-size: 24px;
  line-height: 1.25;
}

.sheet-close.product-step-close {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 2;
}

.product-step-label {
  margin: 10px 0 0;
  color: #111;
  font-size: 24px;
}

.fixed-quantity {
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 16px 0 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 0;
}

.fixed-quantity strong {
  font-size: 21px;
}

.fixed-quantity span {
  color: #999;
}

.fixed-quantity b {
  color: #111;
  font-size: 24px;
  word-spacing: 22px;
  background: transparent;
  white-space: nowrap;
}

.step-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.step-actions .front-submit {
  width: min(72%, 420px);
  justify-self: center;
  background: #5b66e8;
  border-radius: 7px;
  min-height: 48px;
}

.mobile-step-head {
  height: 54px;
  margin: 0 -18px 12px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  background: #fff;
}

.mobile-step-head button {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 42px;
  line-height: 1;
  text-align: left;
}

.mobile-step-head strong {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
}

.order-section {
  background: #fff;
  padding: 0 10px 18px;
  border-bottom: 8px solid #fafafa;
}

.order-section h3 {
  margin: 0 0 18px;
  color: #202124;
  font-size: 18px;
  line-height: 1.35;
}

.order-section h3 span,
.order-section h3 em {
  color: #e25265;
}

.order-section h3 em {
  margin-left: 6px;
  font-size: 15px;
  font-style: normal;
}

.order-section > small {
  display: block;
  margin-bottom: 14px;
  color: #9aa0a6;
  font-size: 14px;
}

.order-product-row {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 14px;
  align-items: center;
}

.order-product-row img {
  width: 132px;
  height: 104px;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 8px;
}

.order-product-row strong {
  display: block;
  margin-bottom: 10px;
  color: #202124;
  font-size: 18px;
  line-height: 1.35;
}

.order-product-row p {
  display: inline-block;
  margin: 0;
  padding: 9px 12px;
  border-radius: 5px;
  background: #f1f1f1;
  color: #8b8e95;
  font-size: 15px;
  line-height: 1.5;
}

.order-product-row b {
  color: #202124;
  font-size: 20px;
  font-weight: 500;
}

.clean-inputs {
  padding: 10px 0 0;
  min-height: 210px;
}

.clean-inputs input,
.clean-inputs textarea,
.clean-note {
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 8px;
  background: #fff;
  color: #111;
  font-size: 17px;
}

.clean-inputs input {
  min-height: 54px;
}

.clean-inputs textarea {
  min-height: 64px;
  padding-top: 10px;
}

.clean-note {
  min-height: 54px;
  padding: 14px 12px;
  color: #333;
  background: #fff;
  border: 1px solid #f6f6f6;
  font-size: 16px;
}

.order-submit-fixed {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 25;
  width: min(360px, calc(100vw - 132px));
  transform: translateX(-50%);
  background: #5b66e8;
  border-radius: 6px;
  min-height: 46px;
  font-size: 17px;
  box-shadow: 0 8px 18px rgba(91,102,232,.28);
}

.notice-modal-body {
  display: block;
  padding: 18px 32px 30px;
  max-height: 46vh;
  overflow-y: auto;
}

.notice-modal-body p {
  margin: 0;
  color: #5d5d5d;
  font-size: 17px;
  line-height: 1.58;
  white-space: normal;
}

.notice-modal {
  width: min(560px, calc(100vw - 68px));
  border-radius: 12px;
  max-height: 82vh;
}

.notice-modal h3 {
  margin: 0;
  padding: 24px 24px 8px;
  color: #111;
  font-size: 23px;
  text-align: center;
}

.notice-modal .modal-actions {
  padding: 10px 22px 12px;
  border-top: 1px solid #f0f0f0;
}

.notice-modal .modal-actions .btn {
  width: 100%;
  color: #59637a;
  background: #fff;
  padding: 8px 12px;
  font-size: 18px;
}

.front-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,.68);
  display: none;
  align-items: flex-end;
}

.sheet-mask.show {
  display: flex;
}

.product-sheet {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 18px 18px 26px;
  position: relative;
  box-shadow: 0 -10px 30px rgba(0,0,0,.18);
}

.sheet-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid #cfd3da;
  border-radius: 50%;
  background: #fff;
  color: #9aa1ad;
  font-size: 28px;
  line-height: 28px;
}

.product-head {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding-right: 42px;
}

.product-head img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
  object-position: 72% center;
  border: 1px solid #e6e6e6;
}

.product-head span {
  display: block;
  color: #999;
  margin-bottom: 8px;
}

.product-head strong {
  display: block;
  color: #151515;
  font-size: 22px;
}

.product-sheet h3 {
  margin: 26px 0 14px;
  font-size: 22px;
}

.package-tag {
  display: inline-block;
  border: 1px solid #6576e8;
  background: #f1f3ff;
  color: #5360c9;
  border-radius: 7px;
  padding: 11px 14px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.order-success-card {
  max-width: 560px;
  max-height: calc(100dvh - 54px);
  display: flex;
  flex-direction: column;
}

.front-error-card {
  width: min(520px, calc(100vw - 84px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.front-error-head {
  background: #c50018;
  color: #fff;
  padding: 15px 22px;
  font-size: 18px;
  font-weight: 800;
}

.front-error-body {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 22px 24px;
  color: #666;
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
}

.front-error-ok {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  color: #c50018;
  font-size: 18px;
  font-weight: 800;
}

.order-success-body {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 22px 14px;
}

.order-success-card .modal-head,
.order-success-card .modal-actions {
  flex: 0 0 auto;
}

.order-success-card .modal-actions {
  padding: 12px 18px 14px;
  border-top: 1px solid #eeeeee;
}

.order-success-card .modal-actions .btn {
  width: 100%;
  min-height: 44px;
}

.success-mark {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f6ef;
  color: #0f684b;
  font-size: 25px;
  font-weight: 900;
}

.confirm-list dl {
  margin: 0;
}

.confirm-list dt {
  margin-top: 9px;
  color: #8a6f62;
  font-size: 13px;
}

.confirm-list dd {
  margin: 3px 0 0;
  color: #2a211d;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.card-save-tip {
  display: block;
  max-width: 100%;
  margin-top: 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #4f7fb7;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quantity-row {
  border-top: 1px solid #eeeeee;
  margin-top: 26px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.quantity-row strong {
  font-size: 20px;
}

.quantity-row span {
  color: #999;
}

.quantity-row b {
  color: #111;
  font-size: 21px;
  word-spacing: 18px;
}

.sheet-confirm {
  display: block;
  width: min(78%, 460px);
  margin: 28px auto 0;
  min-height: 56px;
  background: #5a68e8;
  font-size: 20px;
}

@media (min-width: 760px) {
  .front-page {
    background: #dcdcdc;
  }

  .site-head {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .bottom-nav {
    max-width: 720px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 720px;
  }

  .phone-popover {
    right: calc(50% - 348px);
  }
}

@media (max-width: 430px) {
  .hero-banner {
    min-height: 270px;
  }

  .hero-banner img {
    height: 270px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .flow {
    gap: 5px;
  }

  .flow span {
    font-size: 11px;
    padding: 4px;
  }

  .promise-strip {
    padding-left: 4px;
    padding-right: 4px;
  }

  .promise-icon {
    width: 50px;
    height: 50px;
  }

  .promise-strip strong,
  .bottom-nav span {
    font-size: 14px;
  }
}
