/* Approved ordering design: one visual system for information, meals and review. */
body[data-page="online"] {
  --line: #DFDFDF;
  background: #F5F5F4;
}

body[data-page="online"] .order-main {
  width: min(1200px, calc(100% - 64px));
  padding: 24px 0 32px;
}

body[data-page="online"][data-order-step="2"] .order-main {
  width: calc(100% - 48px);
  max-width: none;
}

body[data-page="online"] .surface,
body[data-page="online"] .order-guide {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #FFF;
  box-shadow: 0 1px 3px #00000003;
}

.order-main .btn {
  min-height: 46px;
  border-radius: 4px;
  font-size: 16px;
  letter-spacing: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.order-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}

.order-intro {
  min-width: 0;
}

.order-page-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .02em;
}

.order-page-title:before {
  content: '';
  width: 3px;
  height: 30px;
  flex: none;
  background: var(--wine);
}

.order-intro>p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 6px;
}

.order-topbar .order-steps {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
  gap: 20px;
  flex-shrink: 0;
}

.order-steps li {
  display: block;
  flex: none;
}

.order-steps li:not(:last-child) {
  margin-right: 28px;
}

.order-steps li:not(:last-child):after {
  width: 24px;
  right: -36px;
  top: 18px;
}

.order-steps li>button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  color: inherit;
}

.order-steps .step-copy {
  display: block;
}

.order-steps li strong {
  font-size: 14px;
  font-weight: 500;
}

.order-steps li small {
  display: none;
}

.order-steps li.active strong {
  font-weight: 700;
}

.order-steps li>button>span:first-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid #D5D5D5;
  border-radius: 50%;
  font-size: 14px;
}

.order-steps li.active>button>span:first-child {
  color: #FFF;
  background: var(--ink);
  border-color: var(--ink);
}

.order-steps li.completed>button>span:first-child {
  color: var(--gold);
  background: transparent;
  border-color: #B8862A80;
}

.order-steps li>button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

.order-steps li>button:hover:not(:disabled) strong {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.order-steps li>button:disabled {
  cursor: default;
}

/* Focused form and the matching three review categories. */
body[data-page="online"] .order-form-layout,
body[data-page="online"] .confirmation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}

body[data-page="online"] .order-form-layout {
  align-items: stretch;
}

#order-form {
  padding: 0;
  overflow: hidden;
}

#order-fields {
  display: block;
}

#order-fields fieldset {
  display: flow-root;
  margin: 0 24px;
  padding: 18px 0;
  border: 0;
  min-width: 0;
}

#order-fields fieldset+fieldset {
  border-top: 1px solid var(--line);
}

#order-fields legend {
  float: left;
  width: 100px;
  padding: 2px 0 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0;
}

#order-fields legend>span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gold);
  margin: 0 0 8px;
  font-weight: 500;
}

#order-fields .form-grid {
  clear: none;
  margin-left: 124px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

#order-fields .address-fields {
  grid-template-columns: 110px 110px minmax(0, 1fr);
  gap: 12px;
}

#order-fields .field {
  gap: 6px;
}

#order-fields .field.wide {
  grid-column: 1 / -1;
}

#order-fields .field>span {
  font-size: 14px;
  line-height: 1.5;
}

#order-fields input,
#order-fields select,
#order-fields .select-trigger {
  height: 40px;
  min-height: 40px;
  padding: 7px 10px;
  border-color: #D8D8D8;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
}

#order-fields input::placeholder {
  color: #909090;
}

#order-form .form-bottom {
  padding: 10px 24px;
  margin: 0;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  background: #FCFCFC;
}

#order-form .form-bottom .muted,
#order-form .order-note-hint {
  font-size: 14px;
  line-height: 1.6;
  color: #888;
}

#order-form #save-profile-label {
  margin: 0;
  font-size: 14px;
}

#order-form .form-bottom:has(#save-profile-label:not([hidden])) .order-note-hint {
  display: none;
}

body[data-page="online"] .order-guide {
  display: flex;
  flex-direction: column;
  padding: 22px;
  margin: 0;
}

body[data-page="online"] .order-guide>h3 {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 22px;
  letter-spacing: 0;
}

body[data-page="online"] .order-guide>div:not(.order-guide-contact) {
  display: block;
  padding: 0;
  margin-bottom: 22px;
  border: 0;
}

body[data-page="online"] .order-guide>div>span {
  display: none;
}

body[data-page="online"] .order-guide p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

body[data-page="online"] .order-guide p strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 8px;
}

body[data-page="online"] .order-guide p strong:before {
  content: '';
  display: block;
  width: 3px;
  height: 14px;
  flex: none;
  background: #B8862AAA;
}

body[data-page="online"] .order-guide>.order-guide-contact {
  display: block;
  padding: 14px 0 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.order-guide-contact>p {
  margin-bottom: 6px;
}

.order-guide-contact>.text-link {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  color: #555;
  gap: 8px;
}

.order-guide-contact .material-symbols-outlined {
  width: 18px;
  height: 18px;
 font-size: 18px; }

#order-next {
  margin-top: 18px;
  min-height: 48px;
  padding: 10px 14px;
  justify-content: space-between;
  gap: 10px;
  font-weight: 500;
}

.confirmation-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.confirmation-details {
  padding: 0;
}

body[data-page="online"] .confirm-header {
  justify-content: space-between;
  align-items: center;
  margin: 0 28px;
  padding: 22px 0 18px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}

.confirm-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0;
}

.confirm-header h2:before {
  content: '';
  width: 3px;
  height: 24px;
  flex: none;
  background: var(--wine);
}

.confirm-header .text-button {
  font-size: 14px;
  padding: 0;
}

.confirm-group {
  display: block;
  margin: 0 28px;
  padding: 24px 0;
}

.confirm-group+.confirm-group {
  border-top: 1px solid var(--line);
}

.confirm-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 14px;
  font-weight: 700;
}

.confirm-group h3>span {
  font-size: 16px;
  line-height: 1.5;
  color: var(--gold);
  font-weight: 600;
}

.confirm-group .detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  min-width: 0;
}

.confirm-group .detail-grid>div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 12px;
  padding: 2px 0;
  min-width: 0;
}

.confirm-group .detail-grid small {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.confirm-group .detail-grid p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}

.confirm-group .detail-grid p.is-empty {
  color: #767676;
}

.confirm-group .delivery-details>.detail-address {
  grid-column: 1/-1;
}

.confirm-group .confirm-notes {
  border: 0;
  padding: 0;
  margin: 18px 0 0;
  min-width: 0;
}

.confirm-notes .field {
  gap: 8px;
}

.confirm-notes .field>span {
  font-size: 14px;
  line-height: 1.6;
}

.confirm-notes textarea {
  height: 82px;
  min-height: 82px;
  padding: 12px;
  font-size: 16px;
  line-height: 1.6;
  border-radius: 4px;
}

.confirmation-items {
  min-width: 0;
  padding: 0 0 18px;
}

.confirm-food-list {
  margin: 0 28px;
  padding: 0;
  list-style: none;
}

.confirm-food-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: start;
  gap: 10px 12px;
  padding: 18px 0;
}

.confirm-food-row+.confirm-food-row {
  border-top: 1px solid var(--line);
}

.confirm-food-row:last-child {
  padding-bottom: 0;
}

.confirm-food-image {
  grid-row: 1 / span 2;
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
  background: #F4F4F3;
}

.confirm-food-info {
  min-width: 0;
}

.confirm-food-info>strong {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.confirm-food-info>small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.confirm-food-bottom {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  line-height: 1.6;
}

.confirm-food-quantity {
  color: var(--muted);
  white-space: nowrap;
}

.confirm-food-quantity>b {
  margin-inline: 4px;
  color: var(--ink);
  font-weight: 500;
}

.confirm-food-subtotal {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

body[data-page="online"] .confirm-summary {
  padding: 22px;
  top: 24px;
}

.confirm-summary>h3 {
  font-size: 22px;
  margin-bottom: 0;
}

.cart-meta {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 8px 0 16px;
}

.confirm-summary .cart-total {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 0;
  padding-top: 18px;
}

.confirm-summary .cart-total>span {
  font-size: 14px;
}

.confirm-summary .cart-total strong {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.confirm-summary .cart-note,
.confirm-summary .soft-note,
.confirm-summary .checkbox-row {
  font-size: 14px;
  line-height: 1.8;
}

.confirm-summary .cart-note {
  margin: 16px 0 20px;
}

.confirm-summary .soft-note {
  padding: 12px;
  border-radius: 4px;
  background: #F5F5F4;
}

.confirm-summary .checkbox-row {
  margin: 20px 0;
}

.confirm-summary .summary-back {
  margin-top: 12px;
  font-size: 14px;
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 4px;
}

#order-status:empty {
  display: none;
}

body[data-page="online"] dialog.select-dialog {
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 48px #00000020;
}

body[data-page="online"] .select-search {
  border-radius: 4px;
}

/* Meal browser and selected order. Photos always keep their original aspect ratio. */
.menu-browser .menu-tools {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.menu-context {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-width: 0;
  margin-right: auto;
}

.menu-context h2 {
  font-size: 18px;
  line-height: 1.4;
  white-space: nowrap;
}

.menu-context>span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
}

.menu-browser .search-field {
  flex: 0 0 260px;
  width: 260px;
  max-width: none;
  border-radius: 4px;
  padding: 8px 12px;
}

.menu-browser .search-field input {
  font-size: 16px;
  line-height: 1.5;
}

.menu-expand {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #FFF;
  color: var(--ink);
}

.menu-expand .material-symbols-outlined {
  width: 22px;
  height: 22px;
 font-size: 22px; }

.menu-expand:hover {
  border-color: var(--ink);
}

.menu-expand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.menu-expand[aria-pressed="true"] {
  background: var(--ink);
  color: #FFF;
  border-color: var(--ink);
}

.menu-expand .collapse-icon,
.menu-expand[aria-pressed="true"] .expand-icon {
  display: none;
}

.menu-expand[aria-pressed="true"] .collapse-icon {
  display: block;
}

#mobile-menu-tools-slot,
.mobile-category-toggle {
  display: none;
}

.menu-categories {
  min-width: 0;
  min-height: 0;
}

.menu-categories h2 {
  display: none;
  font-size: 18px;
  font-weight: 700;
}

#menu-categories-scroll {
  position: relative;
  height: 54px;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  outline: none;
}

#menu-categories-scroll:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

#menu-categories-scroll>.scrollbar-track-x {
  height: 3px;
  background: #1A1A1A08;
}

.menu-category-list {
  display: flex;
  gap: 8px;
  width: max-content;
  padding-bottom: 8px;
}

.menu-category-list button {
  position: relative;
  flex: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #FFF;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  text-align: left;
}

.menu-category-list button:hover {
  color: var(--wine);
  background: #FCF7F7;
}

.menu-category-list button.active {
  background: #FFF0F2;
  border-color: #F4D5DA;
  color: var(--wine);
  font-weight: 600;
}

.menu-category-list button.active:before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  background: var(--wine);
  border-radius: 2px;
}

.menu-category-list button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}

.menu-products-scroll,
.cart-items-scroll {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  outline: none;
}

.cart-items-scroll {
  max-height: min(360px, 45svh);
}

.menu-products-scroll:focus-visible,
.cart-items-scroll:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

[data-order-scroll].order-panel-ready {
  overflow: hidden;
}

[data-order-scroll]>.scrollbar-track-y {
  width: 8px;
  background: #1A1A1A0D;
}

[data-order-scroll]>.scrollbar-track-y>.scrollbar-thumb-y {
  width: 8px;
}

[data-order-scroll]:not([data-order-scroll="categories"])>.scrollbar-track-x {
  display: none !important;
}

.cart-items-scroll>.scroll-content {
  padding-right: 8px;
}

body[data-page="online"] .menu-grid {
  align-items: start;
  gap: 14px;
  padding-bottom: 1px;
}

.menu-grid:has(>.empty-state) {
  display: block;
}

.menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #FFF;
  transition: border-color .18s ease;
}

.menu-item.is-selected {
  border-color: var(--wine);
}

.menu-browser .menu-item-photo {
  flex: none;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
}

.menu-browser .menu-item-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}

.menu-item-photo>.small-badge.vegetarian {
  top: 10px;
  left: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  color: #FFF;
  background: #315B2C;
  font-size: 14px;
  font-weight: 500;
}

.selection-indicator {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 28px;
  place-items: center;
  padding-left: 6px;
  color: #FFF;
  background: var(--wine);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%);
  pointer-events: none;
}

.selection-indicator .material-symbols-outlined {
  width: 18px;
  height: 18px;
 font-size: 18px; }

.is-selected>.selection-indicator {
  display: grid;
}

.menu-item-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.menu-item h3 {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  min-height: 48px;
}

.menu-item-price {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--wine);
}

.menu-item-price>small {
  margin-left: 3px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.quantity-control {
  display: flex;
  align-items: center;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.quantity-control input {
  appearance: textfield;
  -moz-appearance: textfield;
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 3px;
  border: 0;
  background: #FFF;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

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

.quantity-control input:focus {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.quantity-control button {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 34px;
  padding: 0;
  color: var(--wine);
}

.quantity-control button:disabled {
  color: #C8C8C8;
}

body[data-page="online"] #cart {
  padding: 20px;
  top: 24px;
}

#cart>.cart-title {
  margin-bottom: 0;
}

#cart .cart-title h3 {
  font-size: 22px;
}

#cart .cart-title>span {
  width: 24px;
  height: 24px;
}

#cart>.cart-meta {
  margin-bottom: 14px;
}

#cart-items .cart-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  align-items: start;
  gap: 10px;
  padding: 16px 0;
}

.cart-food-image {
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 4px;
  background: #F4F4F3;
}

#cart-items .cart-row strong {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

#cart-items .cart-row small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
}

#cart-items .cart-row>button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 36px;
  border-radius: 4px;
}

#cart-items .cart-row>button:hover {
  color: var(--wine);
  background: #FFF0F2;
}

.cart-row-info {
  grid-column: 2;
}

.cart-row-bottom {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-quantity {
  flex: 0 0 116px;
  width: 116px;
}

.cart-row-subtotal {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

#cart>.cart-total {
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 18px;
  gap: 6px 10px;
}

#cart>.cart-total>span {
  font-size: 14px;
}

#cart>.cart-total strong {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
}

#cart>.cart-note {
  margin: 12px 0 18px;
  font-size: 14px;
  line-height: 1.7;
}

#cart>.btn {
  padding: 10px 8px;
  font-size: 16px;
  letter-spacing: 0;
}

#cart>.text-button {
  margin-top: 8px;
  font-size: 14px;
  color: var(--wine);
}

@media(min-width:761px) {
  body[data-page="online"][data-order-step="2"] #main {
    height: calc(100svh - var(--scroll-header-height));
  }

  body[data-page="online"][data-order-step="2"] .order-main {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  body[data-order-step="2"] .order-topbar {
    flex: none;
  }

  #order-step-2 {
    flex: 1 1 0;
    min-height: 0;
  }

  body[data-page="online"] .menu-layout {
    height: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
    padding-bottom: 0;
  }

  .menu-browser {
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    grid-template-rows: 44px minmax(0, 1fr);
    gap: 18px 24px;
    min-width: 0;
    min-height: 0;
  }

  .menu-browser .menu-tools {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .menu-categories {
    grid-column: 1;
    grid-row: 1/-1;
    display: flex;
    flex-direction: column;
    padding: 18px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #FFF;
  }

  .menu-categories h2 {
    display: block;
    flex: none;
    margin: 0 4px 18px;
    font-size: 18px;
    line-height: 1.5;
  }

  #menu-categories-scroll {
    flex: 1 1 0;
    height: auto;
  }

  .menu-category-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0 4px 1px 0;
  }

  .menu-category-list button {
    width: 100%;
    padding: 14px 12px;
    border-width: 0 0 1px;
    border-radius: 0;
    font-size: 16px;
  }

  .menu-category-list button.active {
    border-color: transparent;
  }

  .menu-products-scroll {
    grid-column: 2;
    grid-row: 2;
  }

  .menu-products-scroll>.scroll-content,
  .menu-products-scroll:not(.order-panel-ready)>.menu-grid {
    padding-right: 10px;
  }

  body[data-page="online"] .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  body[data-page="online"] #cart {
    position: static;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    transform: none !important;
  }

  #cart>.cart-title,
  #cart>.cart-meta,
  #cart>.cart-total,
  #cart>.cart-note,
  #cart>.btn,
  #cart>.text-button {
    flex: none;
  }

  #cart-items-scroll {
    flex: 1 1 0;
    max-height: none;
  }
}

@media(min-width:1000px) and (max-width:1399px) {
  body[data-page="online"] .menu-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
  }

  .menu-browser {
    grid-template-columns: 152px minmax(0, 1fr);
    column-gap: 18px;
  }

  body[data-page="online"] .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-browser .search-field {
    flex-basis: 220px;
    width: 220px;
  }

  .menu-context {
    flex-direction: column;
    gap: 2px;
  }
}

@media(min-width:1800px) {
  body[data-page="online"] .menu-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media(min-width:761px) and (max-width:999px) {

  body[data-page="online"] .order-main,
  body[data-page="online"][data-order-step="2"] .order-main {
    width: calc(100% - 40px);
  }

  .order-topbar {
    flex-wrap: wrap;
    gap: 16px;
  }

  .order-topbar .order-steps {
    margin-left: auto;
  }

  body[data-page="online"] .order-form-layout,
  body[data-page="online"] .confirmation-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
  }

  #order-fields fieldset {
    margin-inline: 18px;
  }

  #order-fields legend {
    float: none;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0;
    margin-bottom: 14px;
  }

  #order-fields legend>span {
    margin: 0;
  }

  #order-fields .form-grid {
    clear: both;
    margin-left: 0;
  }

  #order-fields .address-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #order-fields .address-street {
    grid-column: 1/-1;
  }

  .confirm-group {
    margin-inline: 22px;
  }

  .confirm-group .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="online"] .menu-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
  }

  .menu-browser {
    grid-template-columns: 128px minmax(0, 1fr);
    column-gap: 14px;
  }

  body[data-page="online"] .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-browser .search-field {
    flex-basis: 160px;
    width: 160px;
  }

  .menu-context {
    flex-direction: column;
    gap: 2px;
  }

  .menu-context h2 {
    font-size: 16px;
  }

  .menu-context>span {
    display: none;
  }

  .menu-categories {
    padding: 16px 10px;
  }

  .menu-category-list button {
    font-size: 14px;
    padding: 12px 4px;
  }

  .menu-item-content {
    padding: 10px;
  }

  .menu-item h3 {
    font-size: 14px;
    min-height: 42px;
  }

  .menu-item-price {
    font-size: 16px;
  }

  #cart-items .cart-row {
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    gap: 8px;
  }

  .cart-food-image {
    width: 56px;
    height: 56px;
  }
}

@media(max-width:760px) {

  body[data-page="online"] .order-main,
  body[data-page="online"][data-order-step="2"] .order-main {
    width: calc(100% - 32px);
    padding: 18px 0 28px;
  }

  .order-topbar {
    display: none;
  }

  .order-page-title {
    font-size: 24px;
    gap: 12px;
  }

  .order-page-title:before {
    height: 26px;
  }

  .order-intro>p {
    margin-top: 8px;
  }

  .order-topbar .order-steps {
    width: 100%;
    gap: 8px;
    justify-content: space-between;
    flex-shrink: 1;
  }

  .order-steps li:not(:last-child) {
    margin: 0;
  }

  .order-steps li:not(:last-child):after {
    display: none;
  }

  .order-steps li>button {
    gap: 6px;
  }

  .order-steps li>button>span:first-child {
    width: 30px;
    height: 30px;
  }

  body[data-page="online"] .order-form-layout,
  body[data-page="online"] .confirmation-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  #order-fields fieldset {
    margin-inline: 18px;
    padding-block: 20px;
  }

  #order-fields legend {
    float: left;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0;
    margin-bottom: 16px;
  }

  #order-fields legend>span {
    margin: 0;
  }

  #order-fields .form-grid {
    clear: both;
    margin-left: 0;
    gap: 14px 12px;
  }

  #order-fields fieldset:first-child .form-grid>.field:first-child,
  #order-fields fieldset:first-child .form-grid>.field:last-child {
    grid-column: 1/-1;
  }

  #order-fields .address-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  #order-fields .address-street {
    grid-column: 1/-1;
  }

  #order-fields input,
  #order-fields select,
  #order-fields .select-trigger {
    height: 44px;
    min-height: 44px;
    font-size: 16px;
  }

  #order-form .form-bottom {
    padding: 12px 18px;
  }

  #order-form #save-profile-label {
    width: 100%;
  }

  body[data-page="online"] .order-guide {
    padding: 20px;
  }

  .confirm-group {
    margin-inline: 20px;
    padding-block: 22px;
  }

  .confirm-group .detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .confirm-group .detail-grid>div {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  body[data-page="online"] .confirm-header {
    margin-inline: 20px;
    padding: 18px 0;
  }

  .confirm-header h2 {
    font-size: 20px;
  }

  .confirm-food-list {
    margin-inline: 20px;
  }

  .confirm-food-row {
    column-gap: 10px;
  }

  body[data-page="online"] .confirm-summary {
    position: static;
  }

  .menu-context,
  .menu-expand {
    display: none;
  }

  .menu-browser>.menu-categories,
  .menu-layout>#cart {
    display: none;
  }

  .menu-browser .search-field {
    width: 100%;
    max-width: none;
    padding: 9px 12px;
  }

  body[data-page="online"] .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .menu-item-content {
    padding: 12px;
  }

  .menu-item h3 {
    font-size: 16px;
  }

  body[data-page="online"] .menu-layout {
    padding-bottom: 84px;
  }

  body[data-page="online"] #cart {
    margin-top: 20px;
    padding: 18px;
  }

  .menu-item-price {
    font-size: 18px;
  }

  #cart-items .cart-row {
    grid-template-columns: 80px minmax(0, 1fr) 28px;
  }

  .cart-food-image {
    width: 80px;
    height: 80px;
  }

  #cart-items .cart-row>button {
    height: 44px;
  }

  .cart-quantity {
    height: 44px;
    flex-basis: 124px;
    width: 124px;
  }

  .cart-quantity button {
    width: 36px;
    height: 42px;
  }

  .cart-quantity input {
    height: 42px;
  }
}

@media(max-width:380px) {

  #order-fields .form-grid,
  #order-fields .address-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-steps li>button {
    gap: 4px;
  }

  .order-steps li>button>span:first-child {
    width: 26px;
    height: 26px;
  }

  .confirm-group .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Fit the complete first step on standard laptop-height desktop viewports. */
@media(min-width:1000px) and (max-height:820px) {
  body[data-page="online"] .order-main {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .order-topbar {
    margin-bottom: 14px;
  }

  .order-page-title {
    font-size: 24px;
  }

  .order-page-title:before {
    height: 25px;
  }

  .order-intro>p {
    margin-top: 4px;
  }

  #order-fields fieldset {
    padding-block: 10px;
    margin-inline: 20px;
  }

  #order-fields legend {
    width: 94px;
  }

  #order-fields .form-grid {
    margin-left: 110px;
    gap: 10px 14px;
  }

  #order-fields .field {
    gap: 5px;
  }

  #order-fields input,
  #order-fields select,
  #order-fields .select-trigger {
    height: 36px;
    min-height: 36px;
    padding: 6px 10px;
    font-size: 14px;
  }

  #order-form .form-bottom {
    padding: 7px 20px;
  }

  body[data-page="online"] .order-guide {
    padding: 18px;
  }

  body[data-page="online"] .order-guide>h3 {
    font-size: 20px;
    margin-bottom: 14px;
  }

  body[data-page="online"] .order-guide>div:not(.order-guide-contact) {
    margin-bottom: 14px;
  }

  body[data-page="online"] .order-guide p {
    line-height: 1.7;
  }

  body[data-page="online"] .order-guide p strong {
    font-size: 14px;
    margin-bottom: 6px;
  }

  body[data-page="online"] .order-guide>.order-guide-contact {
    padding-top: 10px;
  }

  #order-next {
    margin-top: 12px;
    min-height: 46px;
  }
}

/* Full-window selection uses the same state and controls without recreating the grid. */
body[data-page="online"].menu-expanded #site-header,
body[data-page="online"].menu-expanded .order-topbar {
  display: none;
}

body[data-page="online"].menu-expanded #main {
  height: 100svh;
}

body[data-page="online"].menu-expanded .order-main {
  width: calc(100% - 32px);
  max-width: none;
  height: 100%;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}

body.menu-expanded #order-step-2 {
  flex: 1 1 0;
  min-height: 0;
}

@media(max-width:760px) {

  /* This slot is outside the transformed page frame, directly below the header. */
  body[data-order-step="2"] #mobile-menu-tools-slot {
    display: block;
    flex: none;
    position: relative;
    z-index: 40;
    width: 100%;
    border-bottom: 1px solid var(--line);
    background: #FFF;
  }

  #mobile-menu-tools-slot .menu-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 16px;
  }

  #mobile-menu-tools-slot .search-field {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 4px;
  }

  #mobile-menu-tools-slot .search-field input {
    font-size: 16px;
    line-height: 1.5;
  }

  .mobile-category-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #FFF;
    color: var(--ink);
  }

  .mobile-category-toggle>span {
    display: grid;
    place-items: center;
  }

  .mobile-category-toggle .material-symbols-outlined {
    width: 24px;
    height: 24px;
   font-size: 24px; }

  .mobile-category-toggle[aria-expanded="true"] {
    background: #FFF0F2;
    color: var(--wine);
    border-color: #F4D5DA;
  }

  .mobile-category-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
}

/* Native modal top layer keeps the drawer and full-window cart above all scrolling frames. */
body[data-page="online"] dialog.order-mobile-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #FFF;
  box-shadow: none;
}

body[data-page="online"] dialog.order-mobile-dialog[open] {
  display: flex;
  flex-direction: column;
}

.order-mobile-dialog::backdrop {
  background: #0007;
}

body[data-page="online"] dialog.order-categories-dialog {
  right: auto;
  width: min(320px, 88vw);
  transform: translateX(-102%);
  transition: transform .24s ease;
  box-shadow: 8px 0 32px #0002;
}

body[data-page="online"] dialog.order-categories-dialog.is-open {
  transform: translateX(0);
}

.mobile-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  padding: max(12px, env(safe-area-inset-top)) 16px 12px;
  border-bottom: 1px solid var(--line);
}

.mobile-dialog-heading h2 {
  font-size: 20px;
  line-height: 1.5;
}

.mobile-dialog-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  color: var(--ink);
}

.mobile-dialog-close:hover {
  background: #F5F5F4;
}

.mobile-dialog-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.mobile-dialog-close>span {
  display: grid;
  place-items: center;
}

.mobile-dialog-close .material-symbols-outlined {
  width: 22px;
  height: 22px;
 font-size: 22px; }

.mobile-category-host,
.mobile-cart-host {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
}

.mobile-category-host {
  display: flex;
  padding: 12px 12px max(16px, env(safe-area-inset-bottom));
}

.mobile-category-host .menu-categories {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  border: 0;
  padding: 0;
  background: #FFF;
}

.mobile-category-host .menu-categories>h2 {
  display: none;
}

.mobile-category-host #menu-categories-scroll {
  flex: 1 1 0;
  height: auto;
  min-height: 0;
}

.mobile-category-host .menu-category-list {
  flex-direction: column;
  width: 100%;
  gap: 0;
  padding: 0 6px 0 0;
}

.mobile-category-host .menu-category-list button {
  width: 100%;
  padding: 14px 16px;
  border-width: 0 0 1px;
  border-radius: 0;
  font-size: 16px;
}

.mobile-cart-host {
  display: flex;
  padding: 16px 18px max(16px, env(safe-area-inset-bottom));
}

body[data-page="online"] .mobile-cart-host #cart {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  position: static;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  transform: none !important;
}

.mobile-cart-host #cart>.cart-title {
  display: none;
}

.mobile-cart-host #cart>.cart-back {
  display: none;
}

.mobile-cart-host #cart>.cart-meta {
  flex: none;
  margin: 0 0 14px;
}

.mobile-cart-host #cart-items-scroll {
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
}

.mobile-cart-host #cart>.cart-total,
.mobile-cart-host #cart>.cart-note,
.mobile-cart-host #cart>.btn,
.mobile-cart-host #cart>.text-button {
  flex: none;
}

.mobile-cart-host #cart>.btn {
  min-height: 48px;
  border-radius: 4px;
  font-size: 16px;
}

#cart>.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

body[data-page="online"] dialog.cart-remove-dialog {
  width: min(400px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #FFF;
}

.cart-remove-dialog::backdrop {
  background: #0007;
  backdrop-filter: blur(3px);
}

.cart-remove-dialog h2 {
  font-size: 20px;
  line-height: 1.5;
}

#remove-cart-name {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  overflow-wrap: anywhere;
}

#remove-cart-description {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.cart-remove-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.cart-remove-actions .btn {
  min-width: 0;
  min-height: 44px;
  padding: 10px;
  font-size: 16px;
  letter-spacing: 0;
  border-radius: 4px;
}

@media(prefers-reduced-motion:reduce) {
  body[data-page="online"] dialog.order-categories-dialog {
    transition: none;
  }
}

/* Approved first-step layout; later steps retain their existing layout. */
.step1-brand-visual {
  display: none;
}

.step1-form-pane {
  display: contents;
}

body[data-page="online"][data-order-step="1"] {
  background: #FFF;
}

body[data-page="online"][data-order-step="1"] .order-main {
  display: grid;
  grid-template-columns: minmax(0, .32fr) minmax(0, .68fr);
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 100px);
  padding: 0;
}

body[data-order-step="1"] .step1-brand-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 100%;
  padding: 48px 40px;
  overflow: hidden;
  color: #FFF;
}

.step1-brand-visual>img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% center;
}

.step1-brand-visual:after {
  position: absolute;
  content: "";
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #0000 25%, #000B 100%);
}

.step1-brand-visual .eyebrow {
  color: #E4C38B;
  font-size: 14px;
}

.step1-brand-visual h2 {
  margin-top: 16px;
  color: #FFF;
  font-size: 36px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .03em;
}

.step1-brand-visual p {
  margin-top: 12px;
  color: #FFFFFFD9;
  font-size: 16px;
  line-height: 1.8;
}

body[data-order-step="1"] .step1-form-pane {
  display: block;
  min-width: 0;
  padding: 28px clamp(24px, 2.5vw, 52px) 30px;
}

body[data-order-step="1"] .order-topbar,
body[data-order-step="1"] #order-step-1 {
  max-width: 940px;
  margin-inline: auto;
}

body[data-order-step="1"] .order-topbar {
  margin-bottom: 20px;
  gap: 20px;
}

body[data-order-step="1"] .order-page-title {
  font-size: 28px;
}

body[data-order-step="1"] .order-topbar .order-steps {
  gap: 10px;
}

body[data-order-step="1"] .order-steps li:not(:last-child) {
  margin-right: 20px;
}

body[data-order-step="1"] .order-steps li:not(:last-child):after {
  width: 18px;
  right: -24px;
}

body[data-order-step="1"] .order-steps li>button {
  gap: 8px;
}

body[data-page="online"][data-order-step="1"] .order-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: stretch;
  gap: 24px;
}

body[data-order-step="1"] #order-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body[data-order-step="1"] #order-fields fieldset {
  margin: 0;
  padding: 16px 0;
}

body[data-order-step="1"] #order-fields fieldset+fieldset {
  margin-top: 12px;
  border-top: 0;
}

body[data-order-step="1"] #order-fields fieldset:not(:last-child) {
  margin-bottom: 20px;
}

body[data-order-step="1"] #order-fields legend {
  float: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

body[data-order-step="1"] #order-fields legend>span {
  display: inline;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

body[data-order-step="1"] #order-fields .form-grid {
  clear: both;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}

body[data-order-step="1"] #order-fields fieldset:last-child .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-order-step="1"] #order-fields .field {
  gap: 6px;
}

body[data-order-step="1"] #order-fields .address-fields {
  grid-template-columns: 128px 128px minmax(0, 1fr);
  gap: 14px;
}

body[data-order-step="1"] #order-fields input,
body[data-order-step="1"] #order-fields select,
body[data-order-step="1"] #order-fields .select-trigger {
  height: 36px;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 14px;
}

body[data-order-step="1"] #order-form .form-bottom {
  margin: 0;
  padding: 8px 0 0;
  background: none;
  border: 0;
  gap: 10px 16px;
}

body[data-page="online"][data-order-step="1"] .order-guide {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 22px 20px;
  border: 0;
  border-radius: 0;
  background: #F5F5F4;
  box-shadow: none;
}

body[data-order-step="1"] .order-guide>h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.5;
}

body[data-order-step="1"] .order-guide>h3>.material-symbols-outlined {
  width: 18px;
  height: 18px;
  color: var(--wine);
 font-size: 18px; }

body[data-order-step="1"] .order-guide>div:not(.order-guide-contact) {
  margin: 0 0 20px;
  padding: 0;
}

body[data-order-step="1"] .order-guide p {
  font-size: 14px;
  line-height: 1.8;
}

body[data-order-step="1"] .order-guide p strong {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

body[data-order-step="1"] .order-guide p strong:before {
  display: none;
}

body[data-order-step="1"] .order-guide>.order-guide-contact {
  padding: 16px 0 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

body[data-order-step="1"] .order-guide-contact>p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

body[data-order-step="1"] .order-guide-contact>a {
  font-size: 16px;
  line-height: 1.6;
}

body[data-order-step="1"] #order-next {
  width: 100%;
  min-height: 48px;
  margin: 18px 0 0;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 16px;
}

@media(min-width:1000px) and (max-height:950px) {
  body[data-order-step="1"] .step1-form-pane {
    padding-block: 18px;
  }

  body[data-order-step="1"] #order-fields fieldset {
    padding-block: 12px;
  }

  body[data-page="online"][data-order-step="1"] .order-guide {
    padding: 18px;
  }
}

@media(min-width:761px) and (max-width:1150px) {
  body[data-page="online"][data-order-step="1"] .order-main {
    grid-template-columns: 28% minmax(0, 1fr);
  }

  .step1-brand-visual h2 {
    font-size: 28px;
  }

  body[data-order-step="1"] .step1-brand-visual {
    padding: 32px 24px;
  }

  body[data-order-step="1"] .order-topbar {
    flex-wrap: wrap;
  }

  body[data-order-step="1"] #order-fields .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="online"][data-order-step="1"] .order-form-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
  }

  body[data-order-step="1"] #order-fields .address-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-order-step="1"] #order-fields .address-street {
    grid-column: 1/-1;
  }
}

@media(max-width:760px) {
  body[data-page="online"][data-order-step="1"] .order-main {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  body[data-order-step="1"] .step1-brand-visual {
    min-height: 280px;
    padding: 30px 24px;
  }

  .step1-brand-visual h2 {
    font-size: 30px;
    margin-top: 12px;
  }

  .step1-brand-visual p {
    margin-top: 8px;
    font-size: 14px;
  }

  body[data-order-step="1"] .step1-form-pane {
    padding: 16px 24px 32px;
  }

  body[data-order-step="1"] .order-topbar {
    display: none;
  }

  body[data-order-step="1"] #order-fields fieldset {
    padding-block: 24px;
  }

  body[data-order-step="1"] #order-fields legend {
    font-size: 18px;
    margin-bottom: 20px;
  }

  body[data-order-step="1"] #order-fields .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  body[data-order-step="1"] #order-fields .address-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  body[data-order-step="1"] #order-fields .address-street {
    grid-column: 1/-1;
  }

  body[data-order-step="1"] #order-fields input,
  body[data-order-step="1"] #order-fields select,
  body[data-order-step="1"] #order-fields .select-trigger {
    height: 44px;
    min-height: 44px;
    font-size: 16px;
  }

  body[data-page="online"][data-order-step="1"] .order-form-layout {
    display: block;
  }

  body[data-page="online"][data-order-step="1"] .order-guide {
    display: block;
    margin-top: 24px;
    padding: 18px;
  }

  body[data-order-step="1"] .order-guide p strong {
    font-size: 16px;
  }

  body[data-order-step="1"] #order-next {
    width: 100%;
  }
}
/* Final order submission and image verification. */
.order-captcha-block{margin:18px 0;font-size:14px}
.order-captcha-block>label{display:block;margin-bottom:6px}
.order-captcha-row{display:grid;grid-template-columns:minmax(64px,1fr) minmax(80px,110px) 34px;align-items:center;gap:6px}
.order-captcha-row input{width:100%;min-width:0;height:42px;padding:8px;border:1px solid var(--line);border-radius:4px;font:16px var(--sans)}
.order-captcha-row img{width:100%;height:auto;max-width:100%}
.order-captcha-row button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:42px;padding:0;border:1px solid var(--line);border-radius:4px;background:var(--cream);color:var(--wine);cursor:pointer}
.order-captcha-row button>.material-symbols-outlined{font-size:22px}
.order-captcha-block .order-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.order-privacy-trigger{margin-left:4px;padding:0;border:0;background:none;color:var(--wine);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.order-privacy{width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:24px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);overflow:auto;overscroll-behavior:contain}
.order-privacy::backdrop{background:#0007}
.order-privacy-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.order-privacy h2{font-size:20px}
.order-privacy-heading button{flex:none;width:40px;height:40px;border:0;background:none;font-size:28px;color:inherit;cursor:pointer}
.order-privacy p{margin-top:14px;font-size:14px;line-height:1.9;color:var(--muted)}
#submit-order:disabled,#order-captcha-refresh:disabled{opacity:.55;cursor:wait}
.delivery-breakdown { flex: none; margin-top: 14px; font-size: 14px; line-height: 1.6; }
.delivery-breakdown>div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.delivery-breakdown small, .delivery-preview small { display: block; margin-top: 6px; color: var(--red, #c90025); overflow-wrap: anywhere; }
.delivery-breakdown [hidden], .delivery-preview [hidden] { display: none; }
.delivery-preview { margin-bottom: 14px; font-size: 14px; }
.order-guide .delivery-preview>p { margin: 4px 0; }
.mobile-cart-bar a { flex-wrap: wrap; }
.mobile-cart-bar [data-mobile-shipping-note] { font-size: 11px; color: #666; }
