:root {
  --cream: #fbf4e6;
  --cream-deep: #f2e4ca;
  --card: #fffaf0;
  --brown: #4b2f22;
  --brown-soft: #7b5a43;
  --sage: #60745a;
  --sage-dark: #445a3f;
  --sage-pale: #dfe8d6;
  --gold: #c28a45;
  --rose: #a45f47;
  --line: rgba(75, 47, 34, 0.16);
  --shadow: 0 18px 45px rgba(75, 47, 34, 0.12);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 7.25rem;
  background:
    radial-gradient(circle at top, rgba(194, 138, 69, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--cream), #f7ecd7 42%, var(--cream));
  color: var(--brown);
  font-family: var(--sans);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(75, 47, 34, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 47, 34, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(251, 244, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 2.6rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid var(--sage);
  border-radius: 50%;
  background: var(--card);
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 5vw, 1.55rem);
  line-height: 1;
}

.brand small {
  display: none;
  color: var(--brown-soft);
  font-size: 0.76rem;
}

.header-action {
  flex: 0 0 auto;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  background: var(--sage);
  color: #fffaf0;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.section-band,
.section-pad {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  padding: 2.25rem 0 1.25rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow,
.section-kicker,
.chapter-badge,
.notice-label {
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 0.98;
}

h1 {
  max-width: 20ch;
  margin: 0 auto 0.85rem;
  font-size: clamp(2.35rem, 8.8vw, 4rem);
}

h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 9vw, 3rem);
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
}

.hero p,
.story p,
.notice p {
  color: var(--brown-soft);
  font-size: 1rem;
}

.book-page {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(1.1rem, 5vw, 3.5rem);
  border: 1px solid rgba(75, 47, 34, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.68), transparent 16rem),
    linear-gradient(90deg, rgba(75, 47, 34, 0.035), transparent 12%, transparent 88%, rgba(75, 47, 34, 0.035)),
    repeating-linear-gradient(0deg, rgba(75, 47, 34, 0.018) 0 1px, transparent 1px 9px),
    var(--card);
  box-shadow:
    0 28px 70px rgba(75, 47, 34, 0.16),
    inset 0 0 0 10px rgba(242, 228, 202, 0.42);
  text-align: center;
}

.tagline {
  max-width: none;
  margin: 0 auto 1.75rem;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: clamp(0.95rem, 4.6vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.story-text {
  max-width: 640px;
  margin: 0 auto;
}

.story-text p {
  margin-bottom: 1.05rem;
  color: var(--brown);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 4.5vw, 1.45rem);
  line-height: 1.72;
}

.story-text p:first-child::first-letter {
  float: left;
  padding: 0.08rem 0.45rem 0 0;
  color: var(--sage-dark);
  font-size: 3.35em;
  line-height: 0.82;
}

.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(360px, 76%);
  margin: 1.35rem auto 1.1rem;
  color: var(--gold);
}

.flourish::before,
.flourish::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: 0.75;
}

.flourish::after {
  background: linear-gradient(90deg, currentColor, transparent);
}

.flourish::before {
  box-shadow: 0 7px 0 rgba(194, 138, 69, 0.32);
}

.flourish::after {
  box-shadow: 0 7px 0 rgba(194, 138, 69, 0.32);
}

.flourish-bottom {
  margin-top: 1.2rem;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--sage);
  color: #fffaf0;
  box-shadow: 0 10px 22px rgba(68, 90, 63, 0.2);
}

.button-primary:hover {
  background: var(--sage-dark);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.button-secondary {
  background: var(--card);
  color: var(--brown);
  border: 1px solid var(--line);
}

.hero-image {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.7);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: var(--cream-deep);
}

.section-pad {
  padding: 3.75rem 0;
}

.notice-section {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.75rem 0;
}

.story {
  max-width: none;
}

.story h2 {
  max-width: 10ch;
}

.notice-card,
.form-card,
.menu-card,
.summary-inner,
.confirmation-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: var(--shadow);
}

.notice-card {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  max-width: 820px;
  margin-inline: auto;
  padding: 0.95rem;
  border-left: 0;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 10px 28px rgba(75, 47, 34, 0.08);
}

.notice-card h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.1rem, 5vw, 1.35rem);
  line-height: 1.15;
}

.notice-card p {
  margin-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(194, 138, 69, 0.16);
  color: var(--brown-soft);
  font-weight: 900;
}

.order-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
  max-width: 1120px;
  min-width: 0;
  padding-top: 1rem;
}

.order-main {
  display: grid;
  gap: 2.25rem;
  min-width: 0;
}

.form-card,
.menu-section {
  scroll-margin-top: 6rem;
}

.form-card,
.summary-inner {
  padding: 1rem;
}

.section-heading {
  margin-bottom: 1rem;
  width: 100%;
}

.section-heading h2,
.summary-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 9vw, 2.55rem);
}

.field-grid {
  display: grid;
  gap: 0.9rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 0.45rem;
  color: var(--brown);
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.item-select {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--brown);
  padding: 0.75rem 0.85rem;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.field-error {
  min-height: 1.1rem;
  color: #b42318;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.35;
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.field input[readonly] {
  cursor: pointer;
}

#pickupDate[readonly],
#summaryPickupDate[readonly],
#modalPickupDate[readonly] {
  color: #2f241d;
  -webkit-text-fill-color: #2f241d;
  background-color: #fffdf8;
  opacity: 1;
  cursor: pointer;
}

#pickupDate:disabled,
#summaryPickupDate:disabled,
#modalPickupDate:disabled {
  color: #8a817a;
  -webkit-text-fill-color: #8a817a;
  background-color: #eee9e2;
  opacity: 0.78;
  cursor: not-allowed;
}

.weekend-picker {
  position: fixed;
  z-index: 30;
  display: grid;
  gap: 0.75rem;
  width: min(21rem, calc(100vw - 1.5rem));
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(75, 47, 34, 0.2);
}

.weekend-picker-header {
  display: grid;
  grid-template-columns: 2.4rem 1fr 2.4rem;
  gap: 0.5rem;
  align-items: center;
}

.weekend-picker-title {
  color: var(--brown);
  font-weight: 900;
  text-align: center;
}

.weekend-picker-nav,
.weekend-picker-day {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  color: var(--brown);
  font-weight: 850;
}

.weekend-picker-nav {
  min-height: 2.4rem;
  cursor: pointer;
}

.weekend-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}

.weekend-picker-weekday {
  color: var(--brown-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.weekend-picker-day {
  min-height: 2.35rem;
  padding: 0;
  cursor: pointer;
}

.weekend-picker-day.is-disabled {
  cursor: not-allowed;
  opacity: 0.34;
  background: rgba(75, 47, 34, 0.07);
  color: rgba(75, 47, 34, 0.62);
}

.weekend-picker-day.is-selected {
  border-color: var(--sage-dark);
  background: var(--sage);
  color: #fffdf8;
}

.weekend-picker-day.is-empty {
  visibility: hidden;
}

.field small,
.form-message,
.submit-note,
.menu-card p,
.venmo-box p,
.flavor-note {
  color: var(--brown-soft);
  font-size: 0.88rem;
}

.form-message {
  min-height: 1.2rem;
  margin: 0.7rem 0 0;
  color: var(--rose);
  font-weight: 700;
}

.menu-grid {
  display: grid;
  gap: 0.95rem;
  width: 100%;
  min-width: 0;
  justify-items: center;
}

.menu-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  justify-self: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
}

.menu-card-body {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
  height: 100%;
  padding: 1rem;
}

.menu-card-header {
  display: grid;
  grid-template-rows: 1.2rem 5.1rem 5.3rem 2.7rem;
  gap: 0.45rem;
}

.chapter-number {
  display: block;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2rem;
  text-transform: uppercase;
}

.menu-card h3 {
  margin: 0;
  color: var(--brown);
  line-height: 1.08;
}

.menu-card p {
  margin-top: 0;
  margin-bottom: 0;
}

.product-description {
  align-self: start;
  line-height: 1.5;
}

.menu-card .price-note {
  align-self: start;
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.5;
}

.quantity-row {
  display: grid;
  gap: 0.75rem;
}

.item-options {
  display: grid;
  gap: 0;
}

.quantity-row {
  align-items: start;
}

.control-label {
  color: var(--brown);
  font-size: 0.92rem;
  font-weight: 800;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 2.8rem 3.2rem 2.8rem;
  align-items: center;
  width: max-content;
  height: 2.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
}

.quantity-control button {
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  background: transparent;
  color: var(--sage-dark);
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 900;
}

.quantity-control span {
  text-align: center;
  font-weight: 900;
}

.expanded-options {
  display: grid;
  gap: 0.85rem;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  border-top: 0 solid transparent;
  transition: max-height 220ms ease, opacity 180ms ease, margin-top 180ms ease, padding-top 180ms ease, border-color 180ms ease;
}

.expanded-options.is-open {
  max-height: none;
  margin-top: 0.85rem;
  opacity: 1;
  padding-top: 0.9rem;
  border-top-width: 1px;
  border-top-color: var(--line);
}

.multi-select {
  position: relative;
}

.multi-select-button {
  position: relative;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.75rem 2.5rem 0.75rem 0.85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--brown);
  cursor: pointer;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multi-select-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.95rem;
  width: 0.52rem;
  height: 0.52rem;
  border-right: 2px solid var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
  transform: translateY(-65%) rotate(45deg);
}

.multi-select.is-open .multi-select-button::after {
  transform: translateY(-35%) rotate(225deg);
}

.multi-select-panel {
  display: none;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 16px 32px rgba(75, 47, 34, 0.16);
}

.multi-select.is-open .multi-select-panel {
  display: grid;
}

.multi-select-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.8rem;
  padding: 0.62rem 0.65rem;
  border-radius: 10px;
  color: var(--brown);
  font-weight: 750;
}

.multi-select-option:hover {
  background: var(--cream);
}

.multi-select-option input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--sage);
}

.multi-select-option:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.52;
}

.checkbox-row,
.radio-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
  color: var(--brown);
  font-weight: 750;
}

.checkbox-row input,
.radio-card input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--sage);
}

.choice-group {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 0.6rem;
  color: var(--brown-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.venmo-box {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px dashed rgba(68, 90, 63, 0.45);
  border-radius: 16px;
  background: var(--sage-pale);
}

.venmo-instructions {
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px dashed rgba(68, 90, 63, 0.35);
  border-radius: 12px;
  background: var(--sage-pale);
  color: var(--brown-soft);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.venmo-instructions p {
  margin: 0;
}

.venmo-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.venmo-box p {
  margin: 0;
  text-align: center;
}

.venmo-pay-button {
  width: 100%;
  max-width: 18rem;
}

.venmo-return-note {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(68, 90, 63, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brown);
  font-size: clamp(1rem, 2.8vw, 1.1rem);
  font-weight: 600;
  line-height: 1.45;
}

.venmo-return-note strong {
  color: var(--sage-dark);
  font-weight: 800;
}

.venmo-confirmation {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  width: 100%;
  color: var(--brown);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.venmo-confirmation input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
  accent-color: var(--sage-dark);
}

.invoice-venmo-box {
  margin-top: 0;
}

.delivery-address-box {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}

.ordering-deadline-notice {
  margin: 0.7rem 0 0.55rem;
  padding: 0.65rem 0.75rem;
  border-left: 3px solid var(--sage-dark);
  border-radius: 0 10px 10px 0;
  background: rgba(223, 232, 214, 0.42);
  color: var(--brown-soft);
  font-size: 0.86rem;
  line-height: 1.42;
}

.ordering-deadline-notice strong { color: var(--sage-dark); }

.deadline-passed-message {
  margin: 0 0 0.55rem;
  color: var(--brown);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.cnm-delivery-box {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(223, 232, 214, 0.42);
}

.cnm-delivery-box > strong {
  color: var(--sage-dark);
  font-size: 0.9rem;
}

.cnm-delivery-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  color: var(--brown-soft);
  font-size: 0.85rem;
  line-height: 1.4;
}

.cnm-delivery-choice input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.08rem;
  accent-color: var(--sage-dark);
}

.cnm-delivery-confirmation {
  margin: 0;
  color: var(--sage-dark);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.4;
}

.pickup-reminder-box {
  margin-top: 0.65rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.72);
}

.pickup-reminder-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  color: var(--brown);
  font-size: 0.88rem;
  line-height: 1.35;
  cursor: pointer;
}

.pickup-reminder-choice input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.08rem;
  accent-color: var(--sage-dark);
}

.pickup-reminder-choice small {
  display: block;
  margin-top: 0.18rem;
  color: var(--brown-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

.delivery-guidance {
  margin: 0;
  color: var(--brown-soft);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.helper-link {
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.helper-link-button {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration-line: underline;
}

.delivery-fee-notice {
  margin: 0;
  color: var(--brown);
  font-weight: 850;
}

.empty-note {
  color: var(--brown-soft);
  font-style: italic;
}

#invoiceNotes {
  white-space: pre-wrap;
}

.summary-panel {
  display: none;
}

.summary-inner {
  background: rgba(255, 250, 240, 0.98);
}

.summary-heading {
  margin-bottom: 0.85rem;
}

.summary-items {
  display: grid;
  gap: 0.65rem;
  max-height: 16rem;
  overflow: auto;
  padding-right: 0.25rem;
}

.summary-line {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.summary-line strong {
  color: var(--brown);
  font-size: 0.96rem;
}

.summary-line span,
.empty-summary {
  color: var(--brown-soft);
  font-size: 0.88rem;
}

.summary-line .line-price {
  color: var(--brown);
  font-weight: 900;
}

.summary-meta {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.summary-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.summary-meta dt {
  color: var(--brown-soft);
  font-weight: 700;
}

.summary-meta dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.submit-button {
  width: 100%;
}

.submit-note {
  margin: 0.75rem 0 0;
  text-align: center;
}

.cash-reminder {
  margin: 1rem 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(194, 138, 69, 0.28);
  border-radius: 16px;
  background: rgba(242, 228, 202, 0.72);
  color: var(--brown);
  font-weight: 750;
  text-align: center;
}

.cash-reminder strong {
  color: var(--sage-dark);
}

.submission-debug {
  display: grid;
  gap: 0.75rem;
  margin: 0.25rem 0 0;
  padding: 0.9rem;
  border: 1px solid rgba(150, 62, 45, 0.28);
  border-radius: 12px;
  background: rgba(255, 244, 238, 0.92);
  color: var(--brown);
}

.submission-debug h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.submission-debug dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.submission-debug dt {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.submission-debug dd {
  margin: 0.2rem 0 0;
}

.submission-debug pre {
  overflow-x: auto;
  margin: 0;
  padding: 0.55rem;
  border-radius: 8px;
  background: rgba(75, 47, 34, 0.08);
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.82rem;
}

.invoice-review {
  scroll-margin-top: 5rem;
}

.order-access-control {
  display: grid;
  gap: 0.35rem;
  max-width: 22rem;
  margin-inline: auto;
}

.order-access-control label {
  color: var(--brown);
  font-weight: 850;
}

.order-access-control input {
  width: 100%;
  letter-spacing: 0.35em;
  text-align: center;
}

.order-access-control small {
  color: var(--brown-soft);
}

.order-access-control .field-error {
  min-height: 1.25em;
  margin: 0;
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.invoice-card {
  display: grid;
  gap: 1rem;
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: var(--shadow);
}

.invoice-header {
  text-align: center;
}

.invoice-header h2 {
  margin-bottom: 0;
}

.invoice-items {
  display: grid;
  gap: 0.65rem;
}

.invoice-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.invoice-line div {
  display: grid;
  gap: 0.2rem;
}

.invoice-line span {
  color: var(--brown-soft);
  font-size: 0.9rem;
}

.invoice-line > div:last-child {
  justify-items: end;
  text-align: right;
}

.invoice-total {
  margin-top: 0.25rem;
}

.invoice-actions {
  display: grid;
  gap: 0.75rem;
}

.summary-controls {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.choice-group.compact-choice-group {
  grid-template-columns: 1fr;
}

.mobile-order-bar {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 14px 36px rgba(75, 47, 34, 0.2);
  backdrop-filter: blur(12px);
}

.mobile-order-stats {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.mobile-order-stats strong {
  color: var(--brown);
  font-size: 0.96rem;
}

.mobile-order-stats span {
  color: var(--brown-soft);
  font-size: 0.78rem;
}

.mobile-order-stats b {
  color: var(--sage-dark);
}

.mobile-order-bar .button {
  min-height: 2.65rem;
  padding: 0.7rem 0.9rem;
  white-space: nowrap;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  padding: 1rem;
  background: rgba(75, 47, 34, 0.42);
}

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(75, 47, 34, 0.42);
}

.review-dialog {
  display: grid;
  gap: 0.9rem;
  width: min(100%, 42rem);
  max-height: min(88svh, 46rem);
  margin-inline: auto;
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 24px 60px rgba(75, 47, 34, 0.26);
}

.map-dialog {
  display: grid;
  gap: 0.9rem;
  width: min(100%, 56rem);
  max-height: 90svh;
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 24px 60px rgba(75, 47, 34, 0.26);
}

.map-dialog .review-dialog-header {
  position: sticky;
  z-index: 1;
  top: -1rem;
  margin: -1rem -1rem 0;
  padding: 1rem 1rem 0.75rem;
  background: var(--card);
}

.delivery-map-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.map-close-button {
  justify-self: end;
  min-width: 7rem;
}

.review-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.review-dialog-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 9vw, 2.5rem);
}

.close-button {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffdf8;
  color: var(--brown);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.confirmation {
  scroll-margin-top: 5rem;
}

.confirmation-card {
  display: grid;
  gap: 0.8rem;
  max-width: 760px;
  margin-inline: auto;
  padding: 1.2rem;
  text-align: center;
}

.confirmation-card h2 {
  margin-bottom: 0;
}

.confirmation-details {
  display: grid;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding: 1rem;
  border-radius: 16px;
  background: var(--cream);
  text-align: left;
}

.confirmation-details p {
  margin: 0;
  color: var(--brown-soft);
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 8rem;
  color: var(--brown-soft);
  font-size: 0.82rem;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 619px) {
  .section-band,
  .section-pad,
  .notice-section {
    width: calc(100% - 1.5rem);
  }

  .hero {
    padding-bottom: 0.4rem;
  }

  .section-pad {
    padding-block: 2rem;
  }

  .notice-section {
    padding-block: 0.35rem;
  }

  .order-layout {
    padding-top: 0.6rem;
  }

  .menu-section {
    width: 100%;
  }

  .menu-card-header {
    grid-template-rows: repeat(4, auto);
    gap: 0.35rem;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 11vw, 2.5rem);
  }
}

@media (min-width: 620px) {
  .brand small {
    display: block;
  }

  .field-grid,
  .choice-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-group legend {
    grid-column: 1 / -1;
  }

  .choice-group.compact-choice-group {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 2rem;
  }

  .hero {
    padding: 2.75rem 0 1rem;
  }

  .notice-section {
    padding: 0.5rem 0;
  }

  .order-layout {
    padding-top: 1.5rem;
  }

  .site-header {
    padding-inline: 2rem;
  }

  .order-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .summary-panel {
    position: sticky;
    z-index: 10;
    display: block;
    top: 5.6rem;
    bottom: auto;
    margin-inline: 0;
  }

  .summary-inner {
    border-radius: var(--radius);
  }

  .mobile-order-bar,
  .review-modal {
    display: none !important;
  }
}

@media (min-width: 1060px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
