:root {
  --ink: #1d1a16;
  --ink-soft: #494139;
  --paper: #f7f2e9;
  --paper-deep: #eee4d5;
  --card: #fffdf9;
  --crab: #d94b2b;
  --crab-dark: #9d2c17;
  --gold: #c89843;
  --gold-pale: #f1dfb8;
  --green: #137b57;
  --line: rgba(48, 38, 27, 0.13);
  --danger: #b42318;
  --shadow-sm: 0 8px 30px rgba(51, 37, 23, 0.08);
  --shadow-lg: 0 24px 70px rgba(27, 20, 13, 0.16);
  --radius: 18px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 28%, rgba(200, 152, 67, 0.09), transparent 22rem),
    var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(217, 75, 43, 0.42);
  outline-offset: 3px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(840px, 100svh);
  overflow: hidden;
  color: #fffaf2;
  background: #231d19;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-image:
    linear-gradient(125deg, rgba(35, 29, 25, 0.28), rgba(35, 29, 25, 0.05)),
    url("images/hero.jpg");
  background-position: 58% center;
  background-size: cover;
  transform: scale(1.01);
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.72) 0%, transparent 24%, transparent 52%, rgba(20, 17, 14, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 17, 14, 0.72), rgba(20, 17, 14, 0.08) 75%);
}

.topbar {
  position: relative;
  z-index: 2;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.wordmark__mark,
.footer-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff5e8;
  background: var(--crab);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50% 50% 48% 52%;
  font-family: "Songti SC", "STSong", serif;
  font-weight: 700;
}

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

.topbar__order,
.topbar__query {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(20, 17, 14, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.topbar__query {
  border-color: transparent;
}

.hero__content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-pale);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--crab-dark);
}

.eyebrow--gold {
  color: var(--gold);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(46px, 12vw, 86px);
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.2);
}

.hero__lead {
  margin: 18px 0 0;
  color: rgba(255, 250, 242, 0.88);
  font-size: clamp(14px, 2.7vw, 18px);
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: var(--crab);
  box-shadow: 0 10px 25px rgba(136, 35, 17, 0.3);
}

.button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}

.button--dark {
  color: #fff;
  background: var(--ink);
}

.button--wide {
  width: 100%;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 520px;
  margin: 40px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero__facts li {
  display: grid;
  gap: 1px;
  padding-right: 12px;
}

.hero__facts strong {
  font-family: ui-serif, Georgia, serif;
  font-size: 19px;
}

.hero__facts span {
  color: rgba(255, 250, 242, 0.66);
  font-size: 11px;
}

.section {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(32px, 8vw, 54px);
}

.section-heading > p:last-child {
  max-width: 580px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}

.photo-card {
  position: relative;
  min-height: 410px;
  margin: 0;
  overflow: hidden;
  background: #d8c8b1;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-sm);
}

.photo-card--large {
  min-height: 540px;
}

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

.photo-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 15px;
  color: #fff;
  background: rgba(28, 24, 19, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  font-size: 13px;
  backdrop-filter: blur(12px);
}

.order-shell {
  width: min(800px, calc(100% - 24px));
  padding-top: 38px;
}

.section-heading--order {
  padding: 0 8px;
}

.section-heading--order h2 {
  font-size: clamp(30px, 7vw, 44px);
}

.notice {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 18px;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notice--error {
  justify-content: space-between;
  color: #6e2418;
  background: #fff5f2;
  border-color: rgba(180, 35, 24, 0.25);
}

.notice--error p {
  margin: 3px 0 0;
  color: #8f4c43;
  font-size: 13px;
}

.notice--compact {
  min-height: auto;
  margin-top: 14px;
  justify-content: flex-start;
}

.notice--store {
  justify-content: space-between;
  color: #674815;
  background: #fff5db;
  border-color: rgba(157, 105, 16, 0.24);
}

.notice--store p {
  margin: 3px 0 0;
  color: #846532;
  font-size: 13px;
}

.spinner {
  width: 21px;
  height: 21px;
  flex: none;
  border: 2px solid rgba(217, 75, 43, 0.2);
  border-top-color: var(--crab);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.spinner--dark {
  border-color: rgba(29, 26, 22, 0.15);
  border-top-color: var(--ink);
}

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

.text-button {
  flex: none;
  padding: 8px 12px;
  color: var(--crab-dark);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

#checkout-form {
  display: grid;
  gap: 16px;
}

.form-section,
.order-summary {
  padding: clamp(20px, 5vw, 34px);
  background: var(--card);
  border: 1px solid rgba(54, 42, 29, 0.09);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm);
}

.form-section__heading {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.form-section__heading h3,
.order-summary h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 23px;
  line-height: 1.25;
}

.form-section__heading p {
  margin: 4px 0 0;
  color: #877a6b;
  font-size: 12px;
}

.step-number {
  display: grid;
  width: 31px;
  height: 31px;
  flex: none;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 9px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
}

.date-availability {
  display: grid;
  gap: 10px;
  margin-top: 15px;
  padding: 14px;
  background: #f8f3e9;
  border: 1px solid rgba(97, 75, 45, 0.1);
  border-radius: 13px;
}

.date-availability > p {
  margin: 0;
  color: #69583f;
  font-size: 12px;
  font-weight: 700;
}

.date-availability > p.is-closed {
  color: var(--danger);
}

.date-inventory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.date-inventory span {
  display: grid;
  gap: 1px;
  min-height: 54px;
  padding: 8px 9px;
  align-content: center;
  color: #756957;
  background: #fff;
  border-radius: 10px;
  font-size: 10px;
}

.date-inventory b {
  color: #3d352b;
  font-size: 11px;
}

.date-inventory .is-sold-out {
  color: #9c675f;
  background: #fff1ee;
}

.product-list {
  display: grid;
  gap: 10px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  align-items: stretch;
  padding: 17px;
  background: #fcf8f1;
  border: 1px solid transparent;
  border-radius: 15px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.product-card.is-selected {
  background: #fff8ef;
  border-color: rgba(217, 75, 43, 0.35);
}

.product-card__meta {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.product-card__status {
  display: grid;
  flex: none;
  justify-items: end;
}

.inventory-badge {
  display: inline-flex;
  min-height: 24px;
  margin-top: 5px;
  padding: 3px 8px;
  align-items: center;
  color: #706250;
  background: #eee7dc;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
}

.inventory-badge.is-sold-out {
  color: #9b3728;
  background: #fee8e3;
}

.product-card.is-over-stock {
  border-color: rgba(180, 35, 24, 0.48);
}

.product-card__title {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}

.product-card__title strong {
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
}

.product-card__title span {
  color: #877a6b;
  font-size: 11px;
}

.product-card__price {
  margin: 3px 0 0;
  color: var(--crab-dark);
  font-family: ui-serif, Georgia, serif;
  font-size: 18px;
  font-weight: 750;
}

.product-card__price small {
  color: #8b7d6d;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
}

.purchase-list {
  display: grid;
  gap: 7px;
}

.purchase-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(90px, auto) auto;
  gap: 12px;
  min-height: 62px;
  padding: 8px 10px 8px 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(48, 38, 27, 0.09);
  border-radius: 12px;
}

.purchase-row__meta {
  display: grid;
  min-width: 0;
}

.purchase-row__meta strong {
  color: #3f372f;
  font-size: 13px;
}

.purchase-row__meta small {
  color: #8a7d70;
  font-size: 9px;
}

.purchase-row__price {
  color: var(--crab-dark);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.purchase-row.is-unpriced,
.purchase-row.is-unavailable {
  background: rgba(244, 240, 234, 0.68);
}

.purchase-row.is-unpriced .purchase-row__price {
  color: #9b9187;
}

.purchase-row.is-over-stock {
  border-color: var(--danger);
}

.package-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.package-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.package-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.package-option span {
  display: grid;
  min-height: 58px;
  place-content: center;
  padding: 8px 6px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.package-option b {
  font-size: 12px;
  line-height: 1.35;
}

.package-option small {
  margin-top: 2px;
  color: #8b7d6d;
  font-size: 10px;
  line-height: 1.35;
}

.package-option input:checked + span {
  color: var(--crab-dark);
  background: #fff4e9;
  border-color: rgba(217, 75, 43, 0.55);
  box-shadow: inset 0 0 0 1px rgba(217, 75, 43, 0.08);
}

.package-option input:focus-visible + span {
  outline: 3px solid rgba(217, 75, 43, 0.42);
  outline-offset: 2px;
}

.product-card__quantity {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 1px;
}

.quantity-copy {
  display: grid;
  min-width: 0;
}

.quantity-copy strong {
  color: #3e3730;
  font-size: 12px;
}

.quantity-copy small {
  color: #877a6b;
  font-size: 10px;
}

.quantity-entry {
  display: flex;
  flex: none;
  gap: 7px;
  align-items: center;
}

.quantity-unit {
  min-width: 20px;
  color: #74685c;
  font-size: 11px;
  font-weight: 700;
}

.quantity-control {
  display: grid;
  grid-template-columns: 44px 62px 44px;
  height: 44px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-control button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 20px;
  line-height: 1;
}

.quantity-control button:disabled {
  color: #c9c1b8;
  cursor: not-allowed;
}

.quantity-control input {
  min-width: 0;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.field,
.address-panel {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.field:first-of-type {
  margin-top: 0;
}

.field__label,
.choice-group legend,
.address-panel legend {
  color: #3e3730;
  font-size: 13px;
  font-weight: 750;
}

.field__label em,
.choice-group em {
  color: var(--crab);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.field input,
.field select,
.field textarea,
.secure-link input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9d1c7;
  border-radius: 11px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #aaa096;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--crab);
  box-shadow: 0 0 0 3px rgba(217, 75, 43, 0.1);
  outline: 0;
}

.field input[readonly] {
  color: #74695e;
  background: #f4f0e9;
}

.field small,
.rate-note,
.payment-hint {
  color: #877c70;
  font-size: 11px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  content: "";
  border-right: 2px solid #776b5f;
  border-bottom: 2px solid #776b5f;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select-wrap select {
  padding-right: 42px;
  appearance: none;
}

.field-error {
  margin: 5px 0 0;
  color: var(--danger);
  font-size: 11px;
  font-weight: 650;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--danger);
}

.choice-group,
.payment-group,
.address-panel {
  padding: 0;
  border: 0;
}

.choice-group {
  margin: 22px 0 0;
}

.choice-group legend {
  margin-bottom: 8px;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-card,
.payment-option {
  position: relative;
  cursor: pointer;
}

.choice-card input,
.payment-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card__body {
  display: grid;
  min-height: 130px;
  padding: 16px;
  align-content: start;
  background: #f8f4ed;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: all 160ms ease;
}

.choice-card input:checked + .choice-card__body {
  background: #fff8ee;
  border-color: rgba(217, 75, 43, 0.45);
  box-shadow: inset 0 0 0 1px rgba(217, 75, 43, 0.05);
}

.choice-card input:focus-visible + .choice-card__body,
.payment-option input:focus-visible ~ * {
  outline: 3px solid rgba(217, 75, 43, 0.3);
  outline-offset: 2px;
}

.choice-card__icon {
  display: grid;
  width: 31px;
  height: 31px;
  margin-bottom: 12px;
  place-items: center;
  color: #fff;
  background: var(--crab);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.choice-card strong {
  font-size: 15px;
}

.choice-card small {
  margin-top: 4px;
  color: #827567;
  font-size: 10px;
  line-height: 1.5;
}

.pickup-note {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 13px;
  color: #5e4d36;
  background: #f5ead6;
  border-radius: 12px;
  font-size: 12px;
}

.pickup-note > span {
  display: grid;
  width: 19px;
  height: 19px;
  flex: none;
  place-items: center;
  color: #fff;
  background: var(--gold);
  border-radius: 50%;
  font-family: serif;
  font-weight: 700;
}

.pickup-note p {
  margin: 0;
}

.merchant-wechat {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 7px !important;
  color: #72522c;
}

.merchant-wechat b {
  font-family: ui-monospace, monospace;
}

.merchant-wechat button {
  padding: 2px 8px;
  color: #72522c;
  background: transparent;
  border: 1px solid rgba(114, 82, 44, 0.35);
  border-radius: 999px;
  font-size: 10px;
}

.address-panel {
  margin: 18px 0 0;
  padding: 18px;
  background: #f6f2eb;
  border-radius: 14px;
}

.address-panel__lead {
  margin: 1px 0 3px;
  color: #75695e;
  font-size: 11px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.field-row .field {
  margin-top: 11px;
}

.field-row--street {
  grid-template-columns: minmax(0, 2fr) minmax(90px, 0.7fr);
}

.phone-input,
.code-input {
  display: flex;
  align-items: stretch;
}

.phone-prefix {
  display: grid;
  min-width: 59px;
  padding: 0 11px;
  place-items: center;
  color: #51483f;
  background: #f0ebe4;
  border: 1px solid #d9d1c7;
  border-right: 0;
  border-radius: 11px 0 0 11px;
  font-size: 13px;
  font-weight: 750;
}

.phone-input input {
  border-radius: 0 11px 11px 0;
}

.code-input input {
  min-width: 0;
  border-radius: 11px 0 0 11px;
}

.code-input button {
  min-width: 106px;
  padding: 0 12px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 0 11px 11px 0;
  font-size: 12px;
  font-weight: 750;
}

.code-input button:disabled {
  color: #8e847a;
  background: #e5dfd7;
  cursor: not-allowed;
}

.inline-status {
  min-height: 18px;
  margin-top: 7px;
  color: var(--green);
  font-size: 11px;
}

.inline-status.is-error {
  color: var(--danger);
}

.waitlist-dialog form {
  display: grid;
}

.waitlist-dialog .notice--compact {
  margin: 2px 0 13px;
}

.waitlist-dialog .input-suffix {
  position: relative;
  display: block;
}

.waitlist-dialog .input-suffix input {
  padding-right: 45px;
}

.waitlist-dialog .input-suffix > span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #766b60;
  font-size: 12px;
  font-weight: 750;
  transform: translateY(-50%);
  pointer-events: none;
}

.waitlist-privacy {
  display: block;
  margin-top: 11px;
  color: #8a7f74;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}

.waitlist-result {
  min-height: 360px;
}

.waitlist-result h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 29px;
}

.waitlist-result > p:not(.eyebrow) {
  margin: 9px 0 22px;
}

.payment-group {
  display: grid;
  gap: 9px;
  margin: 0;
}

.payment-option {
  display: grid;
  grid-template-columns: 38px 1fr 19px;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px 14px;
  background: #f8f4ee;
  border: 1px solid transparent;
  border-radius: 13px;
}

.payment-option:has(input:checked) {
  background: #fff9f0;
  border-color: rgba(217, 75, 43, 0.4);
}

.payment-option__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
}

.payment-option__mark--cash { background: #7c6040; }
.payment-option__mark--wechat { background: #20a866; }
.payment-option__mark--alipay { background: #1677ff; }
.payment-option__mark--bizum { background: #05aaa5; }
.payment-option__mark--bank { background: #344c66; }

.payment-option > span:nth-of-type(2) {
  display: grid;
}

.payment-option strong {
  font-size: 14px;
}

.payment-option small {
  color: #84786c;
  font-size: 10px;
}

.payment-option i {
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid #b7aea4;
  border-radius: 50%;
}

.payment-option input:checked ~ i {
  background: radial-gradient(circle, var(--crab) 0 42%, transparent 45%);
  border-color: var(--crab);
}

.payment-hint {
  margin: 12px 2px 0;
}

.order-summary {
  color: #f7efe4;
  background:
    radial-gradient(circle at 90% 0, rgba(200, 152, 67, 0.19), transparent 15rem),
    var(--ink);
}

.order-summary__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.order-summary__heading h3 {
  color: #fff;
}

.order-summary__heading > span {
  padding: 5px 10px;
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.summary-items {
  display: grid;
  gap: 8px;
  padding: 17px 0;
}

.summary-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.summary-item span:first-child {
  min-width: 0;
  padding-right: 12px;
}

.summary-item span:last-child {
  color: #fff;
  font-weight: 700;
}

.summary-totals {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-totals > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.summary-totals dt,
.summary-totals dd {
  margin: 0;
  font-size: 12px;
}

.summary-totals dt {
  color: rgba(255, 255, 255, 0.62);
}

.summary-totals__grand {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.summary-totals__grand dd {
  display: grid;
  text-align: right;
}

.summary-totals__grand strong {
  color: #fff;
  font-family: ui-serif, Georgia, serif;
  font-size: 27px;
  line-height: 1.1;
}

.summary-totals__grand span {
  margin-top: 3px;
  color: var(--gold-pale);
  font-size: 11px;
}

.rate-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.4);
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 3px 7px;
  color: #63584d;
  cursor: pointer;
  font-size: 12px;
}

.consent input {
  width: 17px;
  height: 17px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--crab);
}

.consent-error {
  margin: -9px 7px 0;
}

.submit-button {
  display: grid;
  min-height: 68px;
  padding: 11px 20px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #e15734, #bd341e);
  border: 0;
  border-radius: 15px;
  box-shadow: 0 14px 30px rgba(160, 49, 25, 0.22);
  transition: transform 160ms ease, opacity 160ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
}

.submit-button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.submit-button span {
  font-size: 16px;
  font-weight: 800;
}

.submit-button small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 172px;
  padding: 20px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.process-list > li > span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--crab);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
}

.process-list strong {
  font-size: 14px;
}

.process-list p {
  margin: 5px 0 0;
  color: #817468;
  font-size: 11px;
}

footer {
  display: grid;
  min-height: 260px;
  padding: 55px 20px calc(55px + var(--safe-bottom));
  place-items: center;
  align-content: center;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  background: #171411;
}

footer p {
  margin: 10px 0 0;
  font-size: 11px;
}

footer p + p {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.36);
}

.footer-mark {
  margin-bottom: 5px;
}

.mobile-cart {
  position: fixed;
  right: 12px;
  bottom: calc(12px + var(--safe-bottom));
  left: 12px;
  z-index: 30;
  display: flex;
  min-height: 62px;
  padding: 8px 8px 8px 17px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: rgba(26, 22, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.mobile-cart > div {
  display: grid;
}

.mobile-cart span {
  color: rgba(255, 255, 255, 0.57);
  font-size: 10px;
}

.mobile-cart strong {
  font-family: ui-serif, Georgia, serif;
  font-size: 18px;
}

.mobile-cart button {
  min-height: 45px;
  padding: 0 18px;
  color: #fff;
  background: var(--crab);
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
}

.order-dialog {
  width: min(540px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: clamp(24px, 6vw, 38px);
  overflow: auto;
  color: var(--ink);
  background: var(--card);
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.order-dialog::backdrop {
  background: rgba(19, 15, 12, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: #665b50;
  background: #f2ede6;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.result-state {
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.result-state p {
  color: #766a5e;
}

.result-state--error h2 {
  margin-bottom: 0;
}

.result-icon,
.result-success {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 17px;
  place-items: center;
  color: #fff;
  background: var(--crab);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(176, 48, 25, 0.2);
  font-size: 26px;
  font-weight: 800;
}

.result-success.is-confirmed {
  background: var(--green);
}

#result-content > .eyebrow,
#result-content > h2,
.result-lead {
  text-align: center;
}

#result-content > h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 29px;
}

.result-lead {
  margin: 8px auto 22px;
  color: #766a5f;
  font-size: 12px;
}

.result-order-no {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  background: #f4efe8;
  border-radius: 12px;
  font-size: 12px;
}

.result-order-no span {
  color: #7d7165;
}

.result-order-no strong {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.03em;
}

.result-details {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 0 3px;
}

.result-details > div {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12px;
}

.result-details dt {
  flex: none;
  color: #82766b;
}

.result-details dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.qr-panel,
.pickup-result,
.secure-link {
  margin-top: 17px;
  padding: 18px;
  text-align: center;
  background: #f7f2eb;
  border-radius: 15px;
}

.qr-panel__label {
  margin: 0;
  color: #786b60;
  font-size: 11px;
}

.qr-panel > strong {
  display: block;
  margin-top: 2px;
  color: var(--crab-dark);
  font-family: ui-serif, Georgia, serif;
  font-size: 28px;
}

.qr-panel img {
  width: min(230px, 80%);
  aspect-ratio: 1;
  margin: 14px auto;
  object-fit: contain;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 10px;
}

.qr-panel > p:last-child,
.pickup-result p,
.secure-link p,
.secure-link small {
  margin: 0;
  color: #7c7065;
  font-size: 10px;
}

.pickup-result {
  color: #604727;
  background: #f6ead4;
}

.pickup-result p {
  margin-top: 5px;
}

.pickup-code {
  display: grid;
  gap: 2px;
  margin-top: 14px;
  padding: 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 12px;
}

.pickup-code > span,
.pickup-code > small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
}

.pickup-code > strong {
  color: #fff;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 30px;
  letter-spacing: 0.22em;
  line-height: 1.25;
}

.secure-link {
  text-align: left;
}

.secure-link > div {
  display: flex;
  margin: 8px 0 4px;
}

.secure-link input {
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 9px 0 0 9px;
  font-size: 10px;
}

.secure-link button {
  flex: none;
  padding: 0 13px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 0 9px 9px 0;
  font-size: 11px;
}

.secure-link + .button {
  margin-top: 16px;
}

.payment-account-panel,
.shipment-panel {
  margin-top: 17px;
  padding: 18px;
  border-radius: 15px;
}

.payment-account-panel {
  color: #fff;
  background: var(--ink);
}

.payment-account-panel__head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.payment-account-panel__head > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.payment-account-panel__head p,
.payment-account-panel__head strong {
  display: block;
  margin: 0;
}

.payment-account-panel__head p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.payment-account-panel__head strong {
  font-family: ui-serif, Georgia, serif;
  font-size: 24px;
}

.payment-account-panel dl {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
}

.payment-account-panel dl > div {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.payment-account-panel dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.payment-account-panel dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 750;
}

.payment-account-panel > p {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

.shipment-panel {
  background: #f5f0e8;
  border: 1px solid rgba(48, 38, 27, 0.1);
}

.shipment-panel__head strong,
.shipment-panel__head small {
  display: block;
}

.shipment-panel__head small {
  margin-top: 2px;
  color: #7a6e62;
  font-size: 9px;
}

.shipment-card {
  margin-top: 11px;
  padding: 12px;
  background: #fff;
  border-radius: 11px;
}

.shipment-card__head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.shipment-card__head strong { font-size: 11px; }

.shipment-card__head span {
  flex: none;
  padding: 3px 7px;
  color: var(--green);
  background: #e4f2eb;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
}

.shipment-card p {
  margin: 7px 0 0;
  color: #7a6e62;
  font-size: 9px;
}

.shipment-tracking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.shipment-tracking code {
  min-width: 0;
  padding: 7px 8px;
  overflow-wrap: anywhere;
  background: #f2ede6;
  border-radius: 8px;
  font-size: 10px;
}

.shipment-tracking a {
  color: var(--crab-dark);
  font-size: 9px;
  font-weight: 800;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}

.button--outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(48, 38, 27, 0.32);
}

.query-order__actions {
  display: flex;
  gap: 6px;
}

.query-order__actions button:first-child {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(48, 38, 27, 0.28);
}

.proof-panel {
  margin-top: 17px;
  padding: 18px;
  background: #f5f0e8;
  border: 1px solid rgba(48, 38, 27, 0.1);
  border-radius: 15px;
}

.proof-panel__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.proof-panel__head strong {
  font-size: 14px;
}

.proof-panel__head p {
  margin: 3px 0 0;
  color: #7a6e62;
  font-size: 10px;
}

.proof-panel__head > span {
  flex: none;
  padding: 4px 8px;
  color: #725d3d;
  background: #e9ddca;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.proof-panel__head > span[data-status="pending"],
.proof-panel__head > span[data-status="submitted"],
.proof-panel__head > span[data-status="uploaded"] {
  color: #855d16;
  background: #fff0bf;
}

.proof-panel__head > span[data-status="approved"],
.proof-panel__head > span[data-status="verified"] {
  color: #0b6b49;
  background: #dff5eb;
}

.proof-panel__head > span[data-status="rejected"] {
  color: var(--danger);
  background: #fee6e2;
}

#proof-upload-fields {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.proof-file {
  display: grid;
  gap: 7px;
  color: #4f453b;
  font-size: 11px;
  font-weight: 700;
}

.proof-file input {
  min-height: 48px;
  padding: 8px;
  background: #fff;
  border: 1px solid #d8d0c5;
  border-radius: 10px;
  font-size: 11px;
}

#payment-proof-preview {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
}

#proof-upload-fields > small {
  color: #877b70;
  font-size: 9px;
  text-align: center;
}

.query-dialog > h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 29px;
}

.query-lead {
  margin: 6px 0 20px;
  color: #766a5f;
  font-size: 12px;
}

.query-dialog form {
  display: grid;
}

.query-results {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.query-results > h3 {
  margin: 0 0 2px;
  font-size: 14px;
}

.query-empty {
  margin: 0;
  padding: 20px;
  color: #7c7064;
  text-align: center;
  background: #f6f1ea;
  border-radius: 12px;
  font-size: 12px;
}

.query-order {
  padding: 14px;
  background: #f7f2eb;
  border: 1px solid rgba(48, 38, 27, 0.08);
  border-radius: 13px;
}

.query-order__head,
.query-order__foot {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.query-order__head strong {
  font-family: ui-monospace, monospace;
  font-size: 11px;
}

.query-order__head span {
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
}

.query-order > p {
  margin: 8px 0 12px;
  color: #766a5e;
  font-size: 10px;
}

.query-order__foot b {
  color: var(--crab-dark);
  font-family: ui-serif, Georgia, serif;
  font-size: 16px;
}

.query-order__foot button {
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.toast {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 100;
  max-width: calc(100% - 36px);
  padding: 10px 16px;
  color: #fff;
  text-align: center;
  background: rgba(29, 26, 22, 0.95);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  transform: translateX(-50%);
}

@media (max-width: 720px) {
  .hero {
    min-height: 780px;
  }

  .hero__image {
    background-position: 61% center;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .photo-card,
  .photo-card--large {
    min-height: 380px;
    aspect-ratio: 0.82;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list li {
    min-height: 145px;
    padding: 17px;
  }

  .process-list > li > span {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: max(700px, 100svh);
  }

  .hero__content {
    padding-bottom: 24px;
  }

  .hero__actions .button {
    flex: 1;
    padding-right: 14px;
    padding-left: 14px;
  }

  .section {
    padding: 62px 0;
  }

  .product-card {
    padding: 15px 13px;
  }

  .product-card__title strong {
    font-size: 18px;
  }

  .product-card__meta {
    gap: 8px;
  }

  .product-card__status {
    max-width: 118px;
  }

  .product-card__price {
    font-size: 15px;
  }

  .purchase-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding: 10px;
  }

  .purchase-row__price {
    text-align: right;
  }

  .purchase-row .quantity-entry {
    grid-column: 1 / -1;
  }

  .package-picker {
    gap: 6px;
  }

  .package-option span {
    min-height: 60px;
    padding-right: 3px;
    padding-left: 3px;
  }

  .package-option b {
    font-size: 11px;
  }

  .package-option small {
    font-size: 9px;
  }

  .product-card__quantity {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .quantity-entry {
    width: 100%;
  }

  .quantity-control {
    grid-template-columns: 44px minmax(68px, 1fr) 44px;
    flex: 1;
  }

  .date-inventory {
    grid-template-columns: 1fr;
  }

  .date-inventory span {
    min-height: 46px;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field-row--street {
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 10px;
  }

  .choice-card__body {
    min-height: 139px;
    padding: 14px;
  }

  .process-list {
    gap: 8px;
  }

  .mobile-cart:not([hidden]) {
    display: flex;
  }

  footer {
    padding-bottom: calc(105px + var(--safe-bottom));
  }

  .order-dialog {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
    padding: 24px 18px;
    border-radius: 22px;
  }
}

@media (max-width: 390px) {
  .topbar {
    width: calc(100% - 24px);
  }

  .wordmark > span:last-child {
    display: none;
  }

  .topbar__order,
  .topbar__query {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 12px;
  }

  .topbar__order {
    display: none;
  }

  .waitlist-product-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (min-width: 481px) {
  .mobile-cart {
    display: none !important;
  }
}

@media (min-width: 900px) {
  .hero__content {
    padding-bottom: 54px;
  }

  .hero__facts {
    max-width: 580px;
  }

  .story {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 55px;
    align-items: start;
  }

  .story .section-heading {
    position: sticky;
    top: 36px;
    margin-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
