.order-page {
  background: #eee7dc;
}

.order-page [hidden] { display: none !important; }

.order-unavailable {
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: clamp(96px, 14vw, 170px);
  background: var(--charcoal);
  color: var(--cream);
}
.order-unavailable h1 { max-width: 780px; margin: 0; font-family: var(--serif); font-size: clamp(3.8rem, 10vw, 8rem); font-weight: 500; line-height: 0.86; }
.order-unavailable h1 em { color: var(--copper-light); font-weight: 400; }
.order-unavailable > p:not(.eyebrow) { max-width: 620px; margin: 30px 0 0; color: rgba(243, 238, 228, 0.7); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.75; }
.order-unavailable-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.order-page .site-header {
  background: rgba(16, 17, 15, 0.97);
}

.order-page .main-nav {
  gap: 24px;
}

.order-page .main-nav a[aria-current="page"] {
  color: var(--copper-light);
}

.order-hero {
  padding: 158px 0 70px;
  color: var(--cream);
  background: var(--charcoal);
  border-bottom: 1px solid rgba(223, 177, 142, 0.28);
}

.order-hero-inner {
  display: block;
}

.order-preorder-notice {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px 20px;
  margin: 0 0 38px;
  padding: 16px 18px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(223, 177, 142, 0.32);
}

.order-preorder-notice span {
  color: var(--copper-light);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-preorder-notice strong {
  padding-left: 20px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  border-left: 1px solid rgba(223, 177, 142, 0.3);
}

.order-preorder-notice p {
  margin: 0;
  color: rgba(243, 238, 228, 0.68);
  font-size: 0.78rem;
  text-align: right;
}

.order-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 6.8vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.85;
}

.order-hero h1 em {
  color: var(--copper-light);
  font-weight: 500;
}

.order-hero-copy {
  max-width: 640px;
  margin: 30px 0 0;
  color: rgba(243, 238, 228, 0.72);
  font-size: 0.96rem;
}

.order-shell {
  padding-block: 76px 120px;
}

.order-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}

.order-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.order-heading-side {
  display: grid;
  gap: 14px;
}

.order-heading-side > p {
  margin: 0;
  color: #6e6961;
  font-size: 0.86rem;
}

.order-tools {
  position: sticky;
  z-index: 12;
  top: 70px;
  margin-bottom: 44px;
  background: #eee7dc;
  border-block: 1px solid var(--line);
}

.order-search {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
}

.order-search svg {
  width: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 1.6;
}

.order-search input {
  width: 100%;
  padding: 16px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.order-categories {
  display: flex;
  gap: 8px;
  padding: 13px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.order-filter {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
  color: #6b665f;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.order-filter:hover {
  color: var(--ink);
  border-color: rgba(21, 22, 20, 0.22);
}

.order-filter.is-active {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
}

.order-category + .order-category {
  margin-top: 66px;
}

.order-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--copper);
}

.order-category-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.order-category-head span {
  color: #807970;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-category-note {
  margin: 0 0 12px;
  padding: 12px 0;
  color: #6f6961;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.order-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 20px 10px;
  margin-inline: -10px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background var(--ease);
}

.order-item:hover {
  background: rgba(255, 255, 255, 0.46);
}

.order-item:hover .order-add {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
}

.order-item:hover .order-add small {
  color: var(--copper-light);
}

.order-item-sizes {
  color: var(--copper) !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.order-item-number {
  padding-top: 4px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.order-item-copy h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.1;
}

.order-item-copy p {
  margin: 6px 0 0;
  color: #777168;
  font-size: 0.78rem;
  line-height: 1.5;
}

.order-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.order-add {
  min-width: 94px;
  min-height: 45px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 13px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(21, 22, 20, 0.3);
  cursor: pointer;
  transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease);
}

.order-add:hover {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.order-add > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.15;
}

.order-add small {
  color: #827a70;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-add:hover small {
  color: var(--copper-light);
}

.order-add svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* "18+" on alcoholic drinks (order list, category note, cart). */
.age-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 3px 6px 2px;
  color: var(--cream);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  vertical-align: 0.3em;
}

.no-wrap {
  white-space: nowrap;
}

.order-category-note.is-age-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.order-category-note.is-age-note .age-badge {
  flex: none;
  margin: 1px 0 0;
  vertical-align: baseline;
}

/* Drinks while "Lieferung" is chosen: they are only sold for pickup. */
.order-item.is-unavailable {
  cursor: default;
  opacity: 0.5;
}

.order-item.is-unavailable:hover {
  background: transparent;
}

.order-item.is-unavailable .order-add,
.order-item.is-unavailable:hover .order-add {
  color: var(--ink);
  background: transparent;
  border-color: rgba(21, 22, 20, 0.3);
  cursor: default;
  transform: none;
}

.order-empty-result {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.order-empty-result strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 2rem;
}


/* ---------------------------------------------------------------------------
   Header cart button, segmented switch, toast, mobile bar
   --------------------------------------------------------------------------- */
.order-page .site-header {
  grid-template-columns: 1fr auto auto auto;
  gap: 24px;
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px 8px 16px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(223, 177, 142, 0.5);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background var(--ease), border-color var(--ease);
}

.header-cart:hover {
  background: rgba(223, 177, 142, 0.14);
  border-color: var(--copper-light);
}

.header-cart svg,
.mobile-cart svg {
  width: 19px;
  fill: none;
  stroke: var(--copper-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.header-cart strong {
  min-width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  padding-inline: 6px;
  color: var(--charcoal);
  background: var(--copper-light);
  border-radius: 13px;
  font-size: 0.74rem;
}

.fulfillment-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(21, 22, 20, 0.3);
}

.fulfillment-switch button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color var(--ease), background var(--ease);
}

.fulfillment-switch button + button {
  border-left: 1px solid rgba(21, 22, 20, 0.3);
}

.fulfillment-switch button:hover {
  background: rgba(21, 22, 20, 0.06);
}

.fulfillment-switch button.active {
  color: var(--cream);
  background: var(--ink);
}

.fulfillment-switch svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.toast {
  position: fixed;
  z-index: 400;
  bottom: calc(26px + env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 20px;
  color: var(--cream);
  background: var(--charcoal);
  border: 1px solid rgba(223, 177, 142, 0.46);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
  font-size: 0.82rem;
  transform: translateX(-50%);
  animation: toast-in 0.24s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.toast button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--copper-light);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast button:hover {
  color: #fff;
}

.mobile-cart {
  display: none;
}

body.dialog-open {
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
   Dialogs: the choices for a dish (centred, bottom sheet on the phone) and the cart (side sheet)
   --------------------------------------------------------------------------- */
.config-dialog,
.cart-drawer {
  padding: 0;
  color: var(--ink);
  background: var(--cream);
  border: 0;
  overflow: hidden;
}

.config-dialog::backdrop,
.cart-drawer::backdrop {
  background: rgba(9, 10, 8, 0.66);
  backdrop-filter: blur(4px);
  animation: fade-in 0.2s ease;
}

.config-dialog {
  width: min(580px, calc(100% - 32px));
  max-height: min(90dvh, 860px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.config-dialog[open] {
  display: block;
  animation: dialog-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer {
  height: 100dvh;
  max-height: none;
  max-width: none;
  width: min(500px, 100%);
  margin: 0 0 0 auto;
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.34);
}

.cart-drawer[open] {
  display: flex;
  flex-direction: column;
  animation: slide-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background var(--ease);
}

.dialog-close:hover {
  background: #e7dccd;
}

.dialog-close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

/* The body scrolls inside a fixed maximum height (the dialog minus the bar at the bottom). No flex sizing here:
   Safari collapsed a flex child with "flex: 1" inside a dialog whose height is not fixed. */
.config-body {
  padding: 34px 30px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  max-height: calc(min(90vh, 860px) - 104px);
  max-height: calc(min(90dvh, 860px) - 104px);
}

.config-body h2,
.drawer-head h2 {
  margin: 4px 44px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.config-desc {
  margin: 12px 0 0;
  color: #6e6961;
  font-size: 0.88rem;
}

.option-group {
  margin: 26px 0 0;
  padding: 0;
  border: 0;
}

.option-group legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.option-group legend small {
  display: block;
  margin-top: 3px;
  color: #79736b;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0;
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(21, 22, 20, 0.3);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: color var(--ease), background var(--ease), border-color var(--ease), transform 120ms ease;
}

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

.chip:active {
  transform: scale(0.95);
}

.chip svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.chip small {
  color: #8a8379;
  font-size: 0.68rem;
  font-weight: 700;
}

.chip.selected {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
}

.chip.selected small {
  color: var(--copper-light);
}

.field-label,
.cart-drawer .form-field > label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
}

.cart-drawer .form-field > label {
  margin-bottom: 0;
}

.field-label {
  margin-top: 26px;
}

.field-label textarea {
  display: block;
  margin-top: 7px;
}

.field-label span,
.cart-drawer label span {
  color: #79736b;
  font-weight: 400;
}

.config-note-hint {
  margin: 8px 0 0;
  color: #79736b;
  font-size: 0.64rem;
}

.config-bottom {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px calc(16px + env(safe-area-inset-bottom));
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.config-add {
  flex: 1;
  min-height: 54px;
}

.config-add:disabled,
.drawer-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.config-add:disabled:hover,
.drawer-primary:disabled:hover {
  transform: none;
}

.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(21, 22, 20, 0.3);
}

.quantity button {
  width: 44px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.quantity button:hover:not(:disabled) {
  background: rgba(21, 22, 20, 0.07);
}

.quantity button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quantity svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.9;
}

.quantity span {
  min-width: 38px;
  text-align: center;
  font-weight: 700;
}

/* ---- cart drawer */
.drawer-head {
  position: relative;
  padding: 30px 30px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-head > p:last-of-type {
  margin: 10px 0 0;
  color: #6e6961;
  font-size: 0.8rem;
}

.drawer-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 30px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.empty-cart,
.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 12px 24px;
  text-align: center;
}

.empty-cart > svg {
  width: 46px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--copper);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.empty-cart h3,
.success-state h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.empty-cart p,
.success-state p {
  max-width: 340px;
  margin: 12px 0 24px;
  color: #6e6961;
  font-size: 0.84rem;
}

.success-state > strong {
  margin-top: 12px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.success-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--charcoal);
  background: var(--copper-light);
  border-radius: 50%;
  animation: pop-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.success-icon svg {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  animation: item-in 0.28s ease;
}

.cart-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
}

.cart-item h3 small {
  margin-left: 8px;
  color: var(--copper);
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-item p {
  margin: 6px 0 0;
  color: #6f6961;
  font-size: 0.76rem;
}

.cart-item .cart-item-note {
  color: #8f2e24;
  font-style: italic;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.cart-item-actions strong {
  margin-left: auto;
  font-size: 0.92rem;
}

.cart-item-actions .quantity button {
  width: 38px;
  height: 38px;
}

.cart-item-actions .quantity span {
  min-width: 32px;
  font-size: 0.86rem;
}

.remove-item {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #77716a;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color var(--ease);
}

.remove-item:hover {
  color: #8f2e24;
}

.remove-item svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.order-options {
  margin-top: 28px;
}

.order-options h3,
.form-title {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-title {
  margin-top: 28px;
}

.order-options .fulfillment-switch {
  margin-bottom: 4px;
}

.cart-drawer .form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
}

.cart-drawer input[type="text"],
.cart-drawer input[type="tel"],
.cart-drawer input[type="email"],
.cart-drawer select,
.cart-drawer textarea,
.config-dialog textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #faf7f1;
  border: 1px solid var(--line);
  border-bottom-color: #817c72;
  border-radius: 0;
  font: inherit;
}

.cart-drawer textarea,
.config-dialog textarea {
  resize: vertical;
}

.cart-drawer select {
  appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.cart-drawer [aria-invalid="true"] {
  border-color: #9c3529;
}

.cart-drawer .field-error {
  color: #8f2e24;
  font-size: 0.64rem;
}

.cart-drawer .field-error:empty {
  display: none;
}

.field-hint {
  margin: 10px 0 0;
  color: #746e66;
  font-size: 0.66rem;
  line-height: 1.5;
}

.field-hint:empty {
  display: none;
}

.field-hint.is-warning {
  color: #8f2e24;
  font-weight: 700;
}

.zone-pickup-button {
  margin-left: 0.35rem;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.zone-pickup-button:hover,
.zone-pickup-button:focus-visible {
  color: var(--copper-dark, #8f5534);
}

.when-pickers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.when-closed-state {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 13px 0;
  border-block: 1px solid var(--line);
}

.when-closed-state span {
  color: #8f2e24;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.when-closed-state strong {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  text-align: right;
}

.delivery-fields {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0 14px;
}

.delivery-fields .field-plz,
.delivery-fields .field-house {
  grid-column: span 2;
}

.delivery-fields .field-city,
.delivery-fields .field-street {
  grid-column: span 4;
}

.delivery-fields .field-floor,
.delivery-fields .field-zone {
  grid-column: 1 / -1;
}

.street-autocomplete {
  position: relative;
}

.street-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  max-height: 230px;
  margin: 0;
  padding: 5px 0;
  overflow-y: auto;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid #817c72;
  box-shadow: 0 14px 30px rgba(21, 22, 20, 0.16);
  list-style: none;
}

.street-suggestions li {
  padding: 11px 13px;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.35;
}

.street-suggestions li + li {
  border-top: 1px solid var(--line);
}

.street-suggestions li:hover,
.street-suggestions li[aria-selected="true"] {
  background: #e7dccd;
}

.street-status {
  min-height: 1em;
  color: #746e66;
  font-size: 0.64rem;
  line-height: 1.4;
}

.street-status:empty {
  display: none;
}

.street-attribution a {
  color: inherit;
  text-underline-offset: 2px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 8px 12px 8px 4px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
}

.back-link svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.payment-options {
  display: grid;
  gap: 8px;
}

.payment-options label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background var(--ease), border-color var(--ease);
}

.payment-options label.selected {
  background: #e7dccd;
  border-color: var(--ink);
}

.payment-options input {
  position: absolute;
  opacity: 0;
}

.payment-options label:focus-within {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.payment-options svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.form-field-notes {
  margin-top: 24px;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin-top: 24px;
  color: #625c55;
  font-size: 0.66rem;
  line-height: 1.55;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.consent a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.drawer-bottom {
  padding: 18px 30px calc(18px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.totals {
  margin: 0 0 14px;
}

.totals > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  color: #5f5a53;
  font-size: 0.82rem;
}

.totals dd,
.totals dt {
  margin: 0;
}

.totals .total {
  margin-top: 8px;
  padding-top: 12px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}

.checkout-status {
  min-height: 0;
  margin: 0 0 12px;
  padding-left: 12px;
  color: #625c55;
  border-left: 2px solid var(--copper);
  font-size: 0.74rem;
}

.checkout-status:empty {
  display: none;
}

.checkout-status.is-error {
  color: #8f2e24;
  border-color: #b75a4b;
}

.drawer-primary {
  width: 100%;
}

.secure-note {
  margin: 12px 0 0;
  color: #79736b;
  font-size: 0.62rem;
  text-align: center;
}

.form-trap {
  position: absolute;
  left: -9999px;
}

/* ---- animation, as on the reference page: the choices fade up, the cart slides in from the right */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes item-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: none; } }

.order-footer {
  padding-bottom: 82px;
}

@media (max-width: 820px) {
  .order-preorder-notice {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 30px;
    padding: 15px 16px;
  }

  .order-preorder-notice strong {
    padding-left: 0;
    border-left: 0;
  }

  .order-preorder-notice p {
    text-align: left;
  }

  .order-shell {
    padding-bottom: 110px;
  }

  .mobile-cart {
    position: fixed;
    z-index: 200;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 14px;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--cream);
    background: var(--charcoal);
    border: 1px solid rgba(223, 177, 142, 0.46);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    font-size: 0.78rem;
    animation: toast-in 0.3s ease;
    transform: none;
  }

  .mobile-cart > span {
    flex: 1;
    text-align: left;
  }

  .mobile-cart > strong:last-child {
    color: var(--copper-light);
  }

  .toast {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 760px) {
  .order-page .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .header-cart {
    grid-column: 2;
    grid-row: 1;
    padding-left: 12px;
  }

  .header-cart span {
    display: none;
  }

  .order-page .nav-toggle {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .order-hero {
    padding: 124px 0 52px;
  }

  .order-hero h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .order-hero-copy {
    font-size: 0.84rem;
  }

  .order-shell {
    padding-top: 56px;
  }

  .order-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .order-heading h2 {
    font-size: 3.15rem;
  }

  .order-tools {
    top: 68px;
    margin-right: -16px;
    margin-left: -16px;
    padding-inline: 16px;
  }

  .order-category + .order-category {
    margin-top: 52px;
  }

  .order-item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
  }

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

  .config-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    margin: auto 0 0;
  }

  .config-body {
    max-height: calc(92vh - 104px - env(safe-area-inset-bottom));
    max-height: calc(92dvh - 104px - env(safe-area-inset-bottom));
  }

  .config-dialog[open] {
    animation: sheet-up 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .config-body {
    padding: 30px 20px 12px;
  }

  .config-bottom {
    padding-inline: 20px;
  }

  .drawer-head {
    padding: 24px 20px 16px;
  }

  .drawer-scroll {
    padding-inline: 20px;
  }

  .drawer-bottom {
    padding-inline: 20px;
  }

  .cart-drawer {
    width: 100%;
  }

  .when-closed-state {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .when-closed-state strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .config-dialog[open],
  .cart-drawer[open],
  .config-dialog::backdrop,
  .cart-drawer::backdrop,
  .toast,
  .mobile-cart,
  .cart-item,
  .success-icon {
    animation: none;
  }

  .order-add,
  .chip {
    transition: none;
  }
}
