.order-page {
  min-height: 100vh;
  background: #fff9fa;
  color: #30282a;
}

.order-topbar {
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #f1d5db;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.order-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.order-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fce4ec;
  color: #ad1457;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
}

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

.order-brand strong {
  color: #ad1457;
  font-size: .98rem;
  line-height: 1.25;
}

.order-brand small {
  color: #786b6f;
  font-size: .76rem;
  margin-top: 2px;
}

.order-back-link {
  color: #6c5e62;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

.order-back-link:hover {
  color: #ad1457;
}

.order-main {
  width: min(calc(100% - 34px), 1240px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 0 90px;
}

.order-address-stage {
  max-width: 900px;
  margin: 0 auto;
}

.order-intro {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.order-kicker {
  display: inline-block;
  color: #ad1457;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 800;
}

.order-intro h1,
.order-menu-header h1,
.order-modal h2,
.tracking-card h1 {
  margin: 8px 0 12px;
  color: #2f282a;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.order-intro p,
.order-menu-header p,
.order-modal-intro {
  margin: 0;
  color: #74686b;
}

.order-address-card {
  background: #fff;
  border: 1px solid #f1d5db;
  border-radius: 26px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 22px 60px rgba(121, 72, 84, .1);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
}

.order-step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ad1457;
  color: white;
  font-weight: 800;
}

.order-address-form,
.checkout-form,
.pass-form {
  display: grid;
  gap: 16px;
}

.order-address-form label,
.checkout-form label,
.pass-form label,
.builder-group {
  display: grid;
  gap: 7px;
}

.order-address-form label > span,
.checkout-form label > span,
.pass-form label > span,
.builder-label {
  font-size: .88rem;
  font-weight: 800;
  color: #3b3235;
}

.order-address-form input,
.checkout-form input,
.checkout-form textarea,
.pass-form input {
  width: 100%;
  border: 1px solid #e9ccd4;
  background: #fffdfd;
  color: #30282a;
  border-radius: 13px;
  padding: 13px 14px;
  outline: 0;
}

.order-address-form input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.pass-form input:focus {
  border-color: #d77e99;
  box-shadow: 0 0 0 4px rgba(215, 126, 153, .14);
}

.order-primary-button,
.order-secondary-button {
  min-height: 46px;
  border-radius: 13px;
  padding: 11px 18px;
  font-weight: 800;
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-primary-button {
  background: #ad1457;
  color: white;
  box-shadow: 0 10px 24px rgba(173, 20, 87, .18);
}

.order-primary-button:hover:not(:disabled) {
  background: #95114b;
}

.order-primary-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.order-secondary-button {
  background: white;
  border: 1px solid #e9ccd4;
  color: #5c4d52;
}

.order-form-message {
  min-height: 22px;
  margin: 0;
  font-size: .9rem;
  color: #74686b;
}

.order-form-message.error {
  color: #b42318;
}

.order-form-message.success {
  color: #147d55;
}

.order-info-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.order-info-strip > div {
  background: rgba(255, 255, 255, .7);
  border: 1px solid #f1d5db;
  border-radius: 16px;
  padding: 15px;
}

.order-info-strip strong,
.order-info-strip span {
  display: block;
}

.order-info-strip strong {
  color: #ad1457;
  font-size: .88rem;
}

.order-info-strip span {
  color: #74686b;
  font-size: .8rem;
  margin-top: 3px;
}

.order-menu-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.order-menu-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  gap: 26px;
  align-items: start;
}

.order-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.order-category-tab {
  border: 1px solid #ead0d7;
  background: white;
  color: #5d4f53;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 800;
}

.order-category-tab.active {
  color: white;
  border-color: #ad1457;
  background: #ad1457;
}

.order-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-product-card {
  background: white;
  border: 1px solid #f0d6dd;
  border-radius: 19px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  box-shadow: 0 10px 28px rgba(121, 72, 84, .06);
}

.order-product-card.builder {
  background: linear-gradient(145deg, #fff, #fff4f7);
  border-color: #e9b9c8;
}

.order-product-card h3 {
  margin: 0 0 7px;
  font-size: 1.08rem;
  color: #30282a;
}

.order-product-card p {
  margin: 0 0 18px;
  color: #776a6e;
  font-size: .88rem;
  line-height: 1.55;
}

.order-product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-product-price {
  color: #ad1457;
  font-weight: 800;
}

.order-add-button {
  border: 0;
  border-radius: 11px;
  padding: 9px 13px;
  background: #fce4ec;
  color: #ad1457;
  font-weight: 800;
}

.basket-panel {
  position: sticky;
  top: 98px;
  background: white;
  border: 1px solid #f0d6dd;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 48px rgba(121, 72, 84, .09);
}

.basket-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f2dfe4;
}

.basket-heading h2 {
  margin: 4px 0 0;
  font-size: 1.3rem;
}

.basket-count {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fce4ec;
  color: #ad1457;
  font-weight: 800;
}

.basket-items {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  max-height: 390px;
  overflow: auto;
}

.basket-empty {
  color: #897b80;
  text-align: center;
  padding: 22px 8px;
  font-size: .9rem;
}

.basket-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-bottom: 1px solid #f3e4e8;
  padding-bottom: 12px;
}

.basket-item:last-child {
  border-bottom: 0;
}

.basket-item-name {
  font-weight: 800;
  font-size: .9rem;
}

.basket-item-options {
  display: block;
  margin-top: 3px;
  color: #817378;
  font-size: .76rem;
  line-height: 1.4;
}

.basket-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.basket-item-controls button {
  width: 28px;
  height: 28px;
  border: 1px solid #ebd2d9;
  border-radius: 8px;
  background: white;
  color: #5f5155;
  font-weight: 800;
}

.basket-item-remove {
  border: 0 !important;
  width: auto !important;
  padding: 0 4px !important;
  color: #a73838 !important;
}

.basket-item-price {
  color: #ad1457;
  font-weight: 800;
  font-size: .88rem;
  white-space: nowrap;
}

.basket-totals {
  border-top: 1px solid #f2dfe4;
  padding-top: 14px;
  display: grid;
  gap: 9px;
}

.basket-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #6d6064;
  font-size: .88rem;
}

.basket-total-row {
  padding-top: 8px;
  border-top: 1px dashed #e9ccd4;
  color: #30282a !important;
  font-size: 1rem !important;
}

.basket-total-row strong {
  color: #ad1457;
  font-size: 1.15rem;
}

.basket-checkout {
  width: 100%;
  margin-top: 16px;
}

.basket-cash-note {
  margin: 9px 0 0;
  text-align: center;
  color: #87797e;
  font-size: .76rem;
}

.mobile-basket-button {
  display: none;
}

.order-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(36, 21, 26, .64);
  padding: 22px;
  overflow: auto;
}

.order-modal-backdrop:not([hidden]) {
  display: grid;
  place-items: center;
}

.order-modal {
  position: relative;
  width: min(100%, 560px);
  background: white;
  border-radius: 24px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .28);
}

.order-modal h2 {
  font-size: 2rem;
}

.order-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f8eef1;
  color: #6e5f64;
  font-size: 1.4rem;
}


.builder-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ebd1d9;
  border-radius: 11px;
  padding: 10px 12px;
  background: #fffdfd;
  color: #5e5054;
  font: inherit;
  font-weight: 700;
}

.builder-select:focus {
  outline: 2px solid rgba(173, 20, 87, .22);
  border-color: #ad1457;
}

.builder-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.builder-choice {
  position: relative;
}

.builder-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.builder-choice span {
  display: block;
  border: 1px solid #ebd1d9;
  border-radius: 11px;
  padding: 9px 12px;
  background: #fffdfd;
  color: #5e5054;
  font-size: .84rem;
  font-weight: 700;
}

.builder-choice input:checked + span {
  background: #ad1457;
  color: white;
  border-color: #ad1457;
}

.builder-form-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.builder-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1dce2;
  padding-top: 16px;
}

.builder-price-row strong {
  color: #ad1457;
  font-size: 1.25rem;
}

.checkout-address-box,
.checkout-cash-box {
  background: #fff5f8;
  border: 1px solid #efd2da;
  border-radius: 15px;
  padding: 14px;
  margin: 16px 0;
}

.checkout-address-box strong,
.checkout-address-box span,
.checkout-cash-box span,
.checkout-cash-box strong,
.checkout-cash-box small {
  display: block;
}

.checkout-address-box span,
.checkout-cash-box span,
.checkout-cash-box small {
  color: #75686c;
  font-size: .8rem;
}

.checkout-cash-box strong {
  margin: 3px 0;
  color: #ad1457;
  font-size: 1.6rem;
}

.pass-modal {
  text-align: center;
}

.pass-lock {
  font-size: 2rem;
  margin-bottom: 8px;
}

.pass-form {
  text-align: left;
  margin-top: 22px;
}

.tracking-main {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 48px 18px 72px;
}

.tracking-card {
  width: min(100%, 660px);
  background: white;
  border: 1px solid #f0d6dd;
  border-radius: 26px;
  padding: clamp(24px, 5vw, 42px);
  box-shadow: 0 24px 70px rgba(121, 72, 84, .11);
}

.tracking-card h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.tracking-order-id {
  color: #ad1457;
  font-weight: 800;
  margin: 0 0 24px;
}

.tracking-progress {
  display: grid;
  gap: 0;
  margin: 26px 0;
}

.tracking-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  min-height: 74px;
  opacity: .38;
}

.tracking-step::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 20px;
  width: 2px;
  height: 34px;
  background: #ead4da;
}

.tracking-step:last-child::after {
  display: none;
}

.tracking-step > span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3e3e8;
  color: #8d727a;
  font-weight: 800;
}

.tracking-step strong,
.tracking-step small {
  display: block;
}

.tracking-step small {
  color: #7f7176;
  margin-top: 2px;
}

.tracking-step.complete,
.tracking-step.current {
  opacity: 1;
}

.tracking-step.complete > span,
.tracking-step.current > span {
  background: #ad1457;
  color: white;
}

.tracking-step.complete::after {
  background: #ad1457;
}

.tracking-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border-radius: 15px;
  background: #fff5f8;
  border: 1px solid #efd2da;
}

.tracking-total strong {
  color: #ad1457;
  font-size: 1.3rem;
}

.tracking-home {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .basket-panel {
    position: static;
  }

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

  .mobile-basket-button:not([hidden]) {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 45;
    min-height: 54px;
    border: 0;
    border-radius: 15px;
    background: #ad1457;
    color: white;
    padding: 13px 18px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 16px 38px rgba(173, 20, 87, .3);
    font-weight: 800;
  }
}

@media (max-width: 650px) {
  .order-topbar {
    min-height: 68px;
    padding: 10px 15px;
  }

  .order-brand-mark {
    width: 40px;
    height: 40px;
  }

  .order-brand small {
    display: none;
  }

  .order-back-link {
    font-size: .78rem;
  }

  .order-main {
    width: min(calc(100% - 28px), 1240px);
    padding-top: 40px;
  }

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

  .order-step-number {
    width: 36px;
    height: 36px;
  }

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

  .order-menu-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .order-product-card {
    min-height: 0;
  }

  .order-modal-backdrop {
    padding: 10px;
    align-items: end;
  }

  .order-modal {
    border-radius: 22px 22px 10px 10px;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
}

/* v3: customer substitution approval */
.tracking-approval {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #dccbef;
  border-radius: 18px;
  background: #fbf8ff;
}

.tracking-approval h2 {
  margin: 7px 0 8px;
  font-size: 1.35rem;
  letter-spacing: -.03em;
}

.tracking-approval > p {
  margin: 0;
  color: #74697a;
  line-height: 1.5;
}

.tracking-change-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.tracking-change {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 13px;
  background: white;
  border: 1px solid #e8def1;
  font-size: .84rem;
}

.tracking-change > span {
  color: #8a7d90;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tracking-change > i {
  font-style: normal;
  color: #9a89aa;
}

.tracking-change.removed {
  grid-template-columns: auto minmax(0, 1fr);
}

.tracking-change.removed small {
  grid-column: 1 / -1;
  color: #8a7d90;
}

.tracking-change-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e3d7ed;
}

.tracking-change-total span {
  color: #716576;
  font-weight: 700;
}

.tracking-change-total strong {
  color: #6d3aa1;
  font-size: 1.35rem;
}

.tracking-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.tracking-cancel-button {
  border: 1px solid #efc4c0;
  border-radius: 14px;
  background: #fff3f1;
  color: #b42318;
  font-weight: 800;
  padding: 12px 16px;
}

.tracking-cancel-area {
  margin-top: 14px;
  text-align: center;
}

.tracking-cancel-link {
  border: 0;
  background: transparent;
  color: #a63b31;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tracking-cancel-area small {
  display: block;
  margin-top: 5px;
  color: #8b7d82;
}

@media (max-width: 600px) {
  .tracking-change {
    grid-template-columns: 1fr;
  }

  .tracking-change > i {
    transform: rotate(90deg);
    width: max-content;
  }

  .tracking-change.removed {
    grid-template-columns: 1fr;
  }

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

/* v4: customer approval is a full-screen decision */
body.approval-open {
  overflow: hidden;
}

.tracking-approval {
  position: fixed;
  inset: 0;
  z-index: 200;
  margin: 0;
  padding: max(22px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(38, 27, 31, .78);
  backdrop-filter: blur(10px);
  border: 0;
  border-radius: 0;
}

.tracking-approval-panel {
  width: min(100%, 680px);
  background: #fff;
  border: 1px solid #eadde8;
  border-radius: 26px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 34px 100px rgba(23, 15, 19, .32);
}

.tracking-approval-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #f2eaf9;
  color: #6d3aa1;
  font-size: 1.65rem;
  font-weight: 900;
}

.tracking-approval h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.tracking-approval > p,
.tracking-approval-panel > p {
  margin: 0;
  color: #74697a;
  line-height: 1.55;
}

.tracking-change-list {
  max-height: min(38vh, 360px);
  overflow-y: auto;
  padding-right: 3px;
}

.tracking-change strong small {
  display: block;
  margin-top: 4px;
  color: #837787;
  font-weight: 600;
  line-height: 1.35;
}

.tracking-change.modified {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

.tracking-change.modified .tracking-change-detail {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #eee6f2;
}

.tracking-change.modified .tracking-change-detail small {
  color: #74697a;
  line-height: 1.4;
}

.tracking-change.note-only {
  grid-template-columns: 1fr;
}

.tracking-approval-hint {
  display: block;
  margin-top: 14px;
  color: #8b7f8f;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .tracking-approval {
    padding: 10px;
    align-items: end;
  }

  .tracking-approval-panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    border-radius: 24px 24px 12px 12px;
    padding: 22px 18px max(20px, env(safe-area-inset-bottom));
  }

  .tracking-change-list {
    max-height: 34vh;
  }

  .tracking-change.modified {
    grid-template-columns: 1fr;
  }
}

.tracking-approval[hidden] {
  display: none !important;
}


/* v5: order recovery */
.order-topbar-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.order-existing-link {
  margin: 20px 0 0;
  text-align: center;
  color: #74697a;
}

.order-existing-link a {
  color: #ad1457;
  font-weight: 800;
}

.track-search-main {
  min-height: calc(100vh - 86px);
  padding: 56px 22px;
  display: grid;
  place-items: start center;
  background: linear-gradient(180deg, #fff8fa 0%, #fffdfd 100%);
}

.track-search-card {
  width: min(760px, 100%);
  background: #fff;
  border: 1px solid #f0dfe5;
  border-radius: 28px;
  box-shadow: 0 22px 65px rgba(104, 64, 76, .12);
  padding: 34px;
}

.track-search-card > h1 {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.track-search-card > p {
  margin: 0;
  color: #74697a;
  line-height: 1.6;
}

.track-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 28px;
}

.track-search-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.track-search-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #e7d8de;
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  color: #312c32;
  font: inherit;
  text-transform: uppercase;
}

.track-search-form .order-form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.track-search-results {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #f0e4e8;
}

.track-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.track-results-head h2 {
  margin: 3px 0 0;
}

.track-results-head > span {
  color: #867985;
  font-weight: 800;
}

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

.track-result-card {
  display: block;
  text-decoration: none;
  color: #312c32;
  border: 1px solid #eadde2;
  border-radius: 18px;
  padding: 17px;
  background: #fffafb;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.track-result-card:hover {
  transform: translateY(-2px);
  border-color: #e7a6b8;
  box-shadow: 0 10px 30px rgba(104, 64, 76, .09);
}

.track-result-top,
.track-result-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.track-result-top > div {
  display: grid;
  gap: 2px;
}

.track-result-top > div > strong {
  font-size: 1.05rem;
}

.track-result-top > div > span,
.track-result-bottom > span {
  color: #7a6f79;
  font-size: .9rem;
}

.track-result-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #eadde2;
}

.track-result-status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f4edf0;
  color: #654e58;
  font-size: .78rem;
  font-weight: 900;
}

.track-result-status.status-dispatched,
.track-result-status.status-delivered,
.track-result-status.status-collected {
  background: #e8f6ee;
  color: #227044;
}

.track-result-status.status-cancelled,
.track-result-status.status-rejected {
  background: #fff0f0;
  color: #a13c3c;
}

.track-no-results {
  text-align: center;
  padding: 28px 18px;
  border-radius: 18px;
  background: #fffafb;
  color: #74697a;
}

.track-no-results strong {
  display: block;
  color: #312c32;
  margin-bottom: 4px;
}

.track-no-results p {
  margin: 0;
}

.track-search-note {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #faf5f7;
  color: #74697a;
}

.track-search-note strong {
  color: #493d44;
}

.track-search-note p {
  margin: 4px 0 0;
  line-height: 1.5;
}

.tracking-footer-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 650px) {
  .order-topbar-links {
    gap: 5px;
  }

  .order-topbar-links .order-back-link {
    padding-inline: 8px;
    font-size: .82rem;
  }

  .track-search-main {
    padding: 22px 12px;
  }

  .track-search-card {
    border-radius: 22px;
    padding: 22px 17px;
  }

  .track-search-form {
    grid-template-columns: 1fr;
  }

  .track-search-form .order-primary-button,
  .track-search-form .order-form-message {
    grid-column: 1;
  }

  .track-result-top {
    align-items: flex-start;
  }

  .track-result-status {
    max-width: 46%;
    text-align: center;
  }
}


/* v6: delivered confirmation and order reviews */
.tracking-review {
  margin-top: 18px;
  border: 1px solid #edcbd5;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffafd, #fff3f7);
  padding: clamp(20px, 4vw, 28px);
}

.tracking-review h2 {
  margin: 6px 0 8px;
  color: #30282a;
  font-size: 1.4rem;
  letter-spacing: -.03em;
}

.tracking-review p {
  color: #74686b;
  line-height: 1.55;
}

.tracking-arrival-question > .order-primary-button {
  width: 100%;
  margin-top: 8px;
}

.tracking-review-form {
  display: grid;
  gap: 16px;
}

.tracking-review-form > p {
  margin: 0;
}

.review-rating-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.review-rating-field legend,
.tracking-review-comment > span {
  display: block;
  margin-bottom: 7px;
  color: #3b3235;
  font-size: .88rem;
  font-weight: 800;
}

.review-star-picker {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.review-star-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-star-picker label {
  color: #dacbd0;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: color .15s ease, transform .15s ease;
}

.review-star-picker label:hover,
.review-star-picker label:hover ~ label,
.review-star-picker input:checked ~ label {
  color: #d78a1f;
}

.review-star-picker label:hover {
  transform: translateY(-1px);
}

.review-star-picker input:focus-visible + label {
  outline: 3px solid rgba(173, 20, 87, .22);
  outline-offset: 3px;
  border-radius: 4px;
}

.tracking-review-comment {
  display: grid;
}

.tracking-review-comment textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  border: 1px solid #e9ccd4;
  background: #fff;
  color: #30282a;
  border-radius: 13px;
  padding: 13px 14px;
  font: inherit;
  outline: 0;
}

.tracking-review-comment textarea:focus {
  border-color: #d77e99;
  box-shadow: 0 0 0 4px rgba(215, 126, 153, .14);
}

.tracking-review-thanks {
  text-align: center;
}

.tracking-review-check {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f7ef;
  color: #147d55;
  font-size: 1.4rem;
  font-weight: 900;
}

.tracking-review-result-stars {
  margin: 12px 0 8px;
  color: #d78a1f;
  font-size: 1.35rem;
  letter-spacing: .08em;
}

.tracking-review-thanks > p {
  margin: 0 0 16px;
  color: #5f5457;
}


/* ===== v7 ordering readability + brand weight ===== */
.order-page,
.order-page button,
.order-page input,
.order-page textarea,
.order-page select {
  font-family: 'Atkinson Hyperlegible', Arial, Helvetica, sans-serif;
}

.order-brand-mark {
  font-family: 'Atkinson Hyperlegible', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: #951347;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #951347, 0 8px 18px rgba(149, 19, 71, .2);
}

.order-brand strong {
  font-family: 'Atkinson Hyperlegible', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #8f113f;
  font-size: 1.16rem;
}

.order-intro h1,
.order-menu-header h1,
.order-modal h2,
.tracking-card h1,
.track-search-card h1,
.track-results-head h2,
.tracking-review h2 {
  font-family: 'Atkinson Hyperlegible', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -.035em;
}

.order-primary-button {
  background: #951347;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(149, 19, 71, .22);
}

.order-secondary-button,
.order-back-link,
.order-kicker,
.order-address-form label > span,
.checkout-form label > span,
.builder-label {
  font-weight: 700;
}

/* ===== v8.1 ordering closed state ===== */
.ordering-closed-overlay[hidden] {
  display: none !important;
}

.ordering-closed-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(253, 249, 248, .9);
  backdrop-filter: blur(8px);
}

.ordering-closed-card {
  width: min(100%, 580px);
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(28px, 6vw, 46px);
  text-align: center;
  box-shadow: 0 28px 80px rgba(91, 49, 62, .18);
}

.ordering-closed-card h2 {
  margin: 8px 0 12px;
  color: var(--brand-deep);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.ordering-closed-card p {
  margin: 0 auto;
  max-width: 460px;
  color: var(--muted);
  line-height: 1.6;
}

.ordering-closed-card .order-kicker,
.static-closed-card .order-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--order-pink-strong) !important;
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 900 !important;
  letter-spacing: .02em;
}

.ordering-closed-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.ordering-closed-actions a {
  text-decoration: none;
}


/* v8.2: out-of-range dialog and receipt preference */
.checkout-checkbox {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px !important;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid #e9ccd4;
  border-radius: 13px;
  background: #fff8fa;
  cursor: pointer;
}
.checkout-checkbox input {
  width: 20px !important;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #ad1457;
}
.checkout-checkbox > span {
  display: grid;
  gap: 2px;
}
.checkout-checkbox strong {
  color: #3b3235;
  font-size: .9rem;
}
.checkout-checkbox small {
  color: #74686b;
  font-size: .78rem;
  line-height: 1.4;
}
.range-modal {
  width: min(100%, 520px);
  text-align: center;
}
.range-modal-button {
  margin-top: 22px;
  width: 100%;
}


/* v8.3: allergen callout, minimum order and previous-order search */
.order-allergen-notice {
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(173, 20, 87, .22);
  border-left: 5px solid var(--brand-deep, #ad1457);
  border-radius: 16px;
  background: rgba(255, 247, 249, .92);
}

.order-allergen-notice strong {
  display: block;
  margin-bottom: 3px;
  color: var(--brand-deep, #ad1457);
  font-weight: 800;
}

.order-allergen-notice p {
  margin: 0;
  color: var(--muted, #725c63);
  line-height: 1.5;
}

.order-allergen-notice a {
  color: var(--brand-deep, #ad1457);
  font-weight: 800;
}

.basket-minimum-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff3cd;
  border: 1px solid #f1d78b;
  color: #6b5100;
  font-size: .9rem;
  font-weight: 700;
}

.track-result-items {
  margin: 10px 0 2px;
  color: var(--muted, #725c63);
  font-size: .88rem;
  line-height: 1.45;
}

body.dark .order-allergen-notice {
  background: rgba(173, 20, 87, .09);
}


.order-empty-category {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 26px;
  border: 1px dashed var(--order-border);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  text-align: center;
  color: var(--order-muted);
}
.order-empty-category strong { color: var(--order-text); }


.checkout-privacy-note {
  margin: 4px 0 0;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--order-muted, #6d6265);
}
.checkout-privacy-note a { color: #951347; font-weight: 700; }

.builder-quantity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.builder-quantity-choice { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem; border: 1px solid rgba(127,127,127,.22); border-radius: 12px; }
.builder-quantity-choice select { min-width: 72px; }
.builder-label small { display: block; margin-top: .2rem; font-weight: 500; opacity: .72; }
@media (max-width: 620px) { .builder-quantity-grid { grid-template-columns: 1fr; } }


/* ===== v9.3 brand refresh ===== */

.order-page {
  background:
    radial-gradient(circle at top left, rgba(233, 207, 190, 0.18), transparent 34%),
    #fcf7f2;
  color: #382f2e;
}

.order-topbar {
  background: rgba(255, 250, 247, .96);
  border-bottom-color: #ead7d0;
}

.order-brand-mark {
  background: transparent;
  color: transparent;
  font-size: 0;
  box-shadow: 0 10px 24px rgba(183, 70, 97, 0.14);
}

.order-brand strong {
  color: #b74661;
}

.order-brand small,
.order-back-link,
.order-intro p,
.order-menu-header p,
.order-modal-intro,
.order-form-message,
.order-info-strip span {
  color: #766967;
}

.order-back-link:hover {
  color: #b74661;
}

.order-kicker,
.order-info-strip strong,
.builder-label,
.order-address-form label > span,
.checkout-form label > span,
.pass-form label > span {
  color: #8f4055;
}

.order-intro h1,
.order-menu-header h1,
.order-modal h2,
.tracking-card h1 {
  color: #8f4055;
}

.order-address-card,
.order-basket-card,
.order-section-card,
.order-cart-panel,
.checkout-summary,
.tracking-card,
.order-status-shell,
.order-summary-card,
.order-review-panel,
.order-modal {
  border-color: rgba(210, 176, 157, 0.34);
  box-shadow: 0 18px 40px rgba(122, 82, 86, 0.08);
}

.order-step-number,
.order-primary-button,
.status-badge.is-ready,
.status-badge.is-with-driver,
.review-submit-button {
  background: linear-gradient(135deg, #d66a83, #be4b64);
}

.order-primary-button:hover:not(:disabled),
.review-submit-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #cb5e79, #ac425b);
}

.order-secondary-button {
  border-color: #ead7d0;
  color: #5f5251;
}

.order-address-form input,
.checkout-form input,
.checkout-form textarea,
.pass-form input,
.builder-select,
.builder-checkbox-card,
.builder-quantity-input {
  border-color: #e6d2cb;
  background: #fffdfa;
}

.order-address-form input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.pass-form input:focus,
.builder-select:focus,
.builder-quantity-input:focus {
  border-color: #d48097;
  box-shadow: 0 0 0 4px rgba(212, 128, 151, .14);
}

.status-progress-step.is-active .status-progress-dot,
.status-progress-step.is-complete .status-progress-dot {
  background: #b74661;
  border-color: #b74661;
}

/* ===== v10.5 delivery / collection + readability ===== */
.order-page,
.order-page button,
.order-page input,
.order-page textarea,
.order-page select {
  font-family: 'Atkinson Hyperlegible', Arial, Helvetica, sans-serif !important;
  font-weight: 700;
}

.order-brand,
.order-brand > span {
  gap: 0;
}

.order-brand strong {
  font-size: 1.08rem;
  font-weight: 700;
}

.order-intro h1,
.order-menu-header h1,
.order-modal h2,
.tracking-card h1,
.order-address-card h2,
.ordering-closed-card h1,
.ordering-closed-card h2 {
  font-family: 'Atkinson Hyperlegible', Arial, Helvetica, sans-serif !important;
  font-weight: 700;
}

.fulfilment-choice,
.checkout-fulfilment-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 24px;
}

.fulfilment-choice {
  max-width: 900px;
}

.fulfilment-option,
.checkout-fulfilment-choice button {
  border: 2px solid #ead7d0;
  background: #fff;
  color: #342b2c;
  border-radius: 20px;
  padding: 20px;
  text-align: left;
  display: grid;
  gap: 5px;
  box-shadow: 0 12px 30px rgba(121,72,84,.07);
}

.fulfilment-option strong,
.checkout-fulfilment-choice button strong {
  color: #9f3550;
  font-size: 1.2rem;
}

.fulfilment-option span,
.checkout-fulfilment-choice button span {
  color: #6f6265;
  font-size: .9rem;
}

.fulfilment-option.active,
.checkout-fulfilment-choice button.active {
  border-color: #c7546e;
  background: #fff0f3;
  box-shadow: 0 14px 34px rgba(183,70,97,.14);
}

.order-address-card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.order-panel-copy {
  margin: 0 0 18px;
  color: #6f6265;
}

.collection-start-card .order-primary-button {
  margin-top: 8px;
}

.checkout-fulfilment-choice {
  margin: 4px 0 16px;
}

.checkout-fulfilment-choice button {
  padding: 14px 16px;
  border-radius: 15px;
}

.checkout-fulfilment-choice button strong {
  font-size: 1rem;
}

.order-closed-main {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.static-closed-card {
  position: static;
  width: min(100%, 650px);
  margin: 0;
}

@media (max-width: 640px) {
  .fulfilment-choice,
  .checkout-fulfilment-choice {
    grid-template-columns: 1fr;
  }

  .fulfilment-option {
    padding: 17px;
  }
}

.order-page :where(p, a, span, small, label, li, button, input, textarea, select, strong, em, b, h1, h2, h3, h4) {
  font-weight: 700 !important;
}


/* ===== v10.7 one-decision-at-a-time fulfilment flow ===== */
.fulfilment-stage {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
  padding: 28px 0 60px;
}

.fulfilment-stage-card {
  width: min(100%, 820px);
  text-align: center;
}

.fulfilment-stage-card h1 {
  margin: 10px auto 12px;
  max-width: 760px;
  color: #2f282a;
  font-size: clamp(2.15rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.fulfilment-stage-card > p {
  margin: 0 auto 30px;
  color: #74686b;
  font-size: 1.05rem;
}

.fulfilment-choice-primary {
  max-width: 760px;
  margin: 0 auto;
  gap: 18px;
}

.fulfilment-option-primary {
  min-height: 180px;
  align-content: center;
  text-align: center;
  padding: 30px 26px;
  border-radius: 24px;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.fulfilment-option-primary:hover,
.fulfilment-option-primary:focus-visible {
  transform: translateY(-3px);
  border-color: #c7546e;
  box-shadow: 0 20px 42px rgba(183, 70, 97, .16);
  outline: none;
}

.fulfilment-option-primary strong {
  display: block;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  margin-bottom: 6px;
}

.fulfilment-option-primary span {
  font-size: .98rem;
  line-height: 1.45;
}

.delivery-check-stage {
  max-width: 760px;
}

.delivery-check-back-row {
  margin-bottom: 24px;
}

.delivery-back-button {
  width: auto;
}

.delivery-check-intro {
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .fulfilment-stage {
    min-height: calc(100svh - 120px);
    padding: 18px 0 36px;
  }

  .fulfilment-stage-card h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .fulfilment-choice-primary {
    gap: 12px;
  }

  .fulfilment-option-primary {
    min-height: 135px;
    padding: 22px 18px;
  }

  .delivery-check-back-row {
    margin-bottom: 18px;
  }

  .delivery-back-button {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  .fulfilment-stage-card h1 {
    color: #fff7f3;
  }

  .fulfilment-stage-card > p {
    color: #d3c4c3;
  }

  .fulfilment-option-primary {
    background: #765861;
    border-color: #9a737f;
    color: #fffaf8;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
  }

  .fulfilment-option-primary strong {
    color: #fff7f4;
  }

  .fulfilment-option-primary span {
    color: #f5e8e9;
  }

  .fulfilment-option-primary:hover,
  .fulfilment-option-primary:focus-visible {
    background: #86656f;
    border-color: #d494a5;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
  }
}

/* ===== v10.8 dedicated order flow redesign ===== */
body[data-order-flow] [data-fulfilment-stage] {
  display: none !important;
}

body[data-order-flow] .checkout-fulfilment-choice {
  display: none !important;
}

.fulfilment-landing-stage {
  min-height: calc(100vh - 150px);
  padding: 40px 0 72px;
}

.fulfilment-stage-card-landing {
  max-width: 860px;
  background: linear-gradient(180deg, #fff8fb 0%, #fff1f6 100%);
  border: 2px solid #ffd0e0;
  border-radius: 36px;
  padding: 42px 28px 32px;
  box-shadow: 0 24px 56px rgba(231, 84, 128, 0.16);
}

.fulfilment-brand-lockup {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.fulfilment-brand-subtitle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffdceb;
  color: #d93f74;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fulfilment-brand-title,
.fulfilment-stage-card-landing h1.fulfilment-brand-title {
  margin: 0;
  color: #df4d83;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.fulfilment-stage-intro {
  margin: 0 auto 26px;
  max-width: 640px;
  color: #6a4f58;
  font-size: 1.08rem;
}

.fulfilment-choice-primary {
  max-width: 760px;
  margin: 0 auto;
  gap: 16px;
}

.fulfilment-link-card,
.fulfilment-option-primary {
  min-height: 188px;
  padding: 28px 26px;
  border-radius: 28px;
  border: 2px solid #ffb8d0;
  background: linear-gradient(180deg, #ff77a7 0%, #e94f86 100%);
  color: #ffffff !important;
  box-shadow: 0 20px 38px rgba(231, 84, 128, 0.22);
  text-decoration: none;
  text-align: center;
  display: grid;
  align-content: center;
  gap: 10px;
}

.fulfilment-link-card strong,
.fulfilment-option-primary strong {
  color: #ffffff !important;
  font-size: clamp(1.6rem, 4vw, 2rem);
}

.fulfilment-link-card span,
.fulfilment-option-primary span {
  color: #fff3f8 !important;
  font-size: 1rem;
  line-height: 1.45;
}

.fulfilment-link-card:hover,
.fulfilment-link-card:focus-visible,
.fulfilment-option-primary:hover,
.fulfilment-option-primary:focus-visible {
  transform: translateY(-4px);
  border-color: #ff8db6;
  background: linear-gradient(180deg, #ff84b0 0%, #f5578f 100%);
  box-shadow: 0 24px 44px rgba(231, 84, 128, 0.28);
  outline: none;
}

.order-address-stage .order-intro h1,
.order-menu-header h1,
.checkout-modal h2,
.range-modal h2 {
  color: #df4d83;
}

.order-kicker {
  color: #d93f74;
}

.order-page :where(p, a, span, small, label, li, button, input, textarea, select, strong, em, b, h1, h2, h3, h4) {
  font-weight: 700 !important;
}

@media (max-width: 700px) {
  .fulfilment-landing-stage {
    padding: 24px 0 40px;
  }

  .fulfilment-stage-card-landing {
    padding: 28px 18px 20px;
    border-radius: 28px;
  }

  .fulfilment-brand-title,
  .fulfilment-stage-card-landing h1.fulfilment-brand-title {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .fulfilment-stage-intro {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .fulfilment-choice-primary {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fulfilment-link-card,
  .fulfilment-option-primary {
    min-height: 148px;
    padding: 22px 16px;
  }
}

@media (prefers-color-scheme: dark) {
  .fulfilment-stage-card-landing {
    background: linear-gradient(180deg, #fff8fb 0%, #fff1f6 100%);
    border-color: #ffd0e0;
  }

  .fulfilment-brand-title,
  .fulfilment-stage-card-landing h1.fulfilment-brand-title,
  .order-address-stage .order-intro h1,
  .order-menu-header h1,
  .checkout-modal h2,
  .range-modal h2 {
    color: #df4d83;
  }

  .fulfilment-stage-intro,
  .fulfilment-stage-card > p {
    color: #6a4f58;
  }

  .fulfilment-link-card,
  .fulfilment-option-primary {
    background: linear-gradient(180deg, #ff77a7 0%, #e94f86 100%);
    border-color: #ffb8d0;
    color: #ffffff !important;
    box-shadow: 0 20px 38px rgba(231, 84, 128, 0.22);
  }

  .fulfilment-link-card strong,
  .fulfilment-option-primary strong,
  .fulfilment-link-card span,
  .fulfilment-option-primary span {
    color: #ffffff !important;
  }

  .fulfilment-link-card:hover,
  .fulfilment-link-card:focus-visible,
  .fulfilment-option-primary:hover,
  .fulfilment-option-primary:focus-visible {
    background: linear-gradient(180deg, #ff84b0 0%, #f5578f 100%);
    border-color: #ff8db6;
    box-shadow: 0 24px 44px rgba(231, 84, 128, 0.28);
  }
}

/* ===== v10.8 dedicated order selection and brighter fulfilment pages ===== */
.order-choice-page {
  background:
    radial-gradient(circle at top left, rgba(255, 105, 180, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 182, 193, 0.22), transparent 30%),
    linear-gradient(180deg, #fff8fb 0%, #ffeef6 100%);
}

.order-choice-main {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.choice-hero {
  background: linear-gradient(180deg, #ffffff 0%, #fff4f8 100%);
  border: 2px solid #ffc0d6;
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(173, 20, 87, 0.12);
  padding: 36px 26px;
  text-align: center;
}

.choice-brand-mark {
  display: inline-block;
  margin-bottom: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ad1457;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.choice-hero h1 {
  margin: 0 0 10px;
  color: #7f0e40;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
}

.choice-hero > p {
  max-width: 620px;
  margin: 0 auto;
  color: #6f4255;
  font-size: 1.05rem;
  font-weight: 700;
}

.choice-card-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(173, 20, 87, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.choice-card:hover,
.choice-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(173, 20, 87, 0.22);
}

.choice-card strong {
  font-size: 1.7rem;
  line-height: 1.1;
  font-weight: 900;
}

.choice-card span,
.choice-card small {
  font-weight: 700;
  line-height: 1.5;
}

.choice-card small {
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.choice-card-collection {
  background: linear-gradient(135deg, #ff5c98 0%, #f5357a 100%);
}

.choice-card-delivery {
  background: linear-gradient(135deg, #ff80b0 0%, #ff4f95 100%);
}

.delivery-check-stage {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 28px 20px 54px;
}

.delivery-check-back-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.delivery-back-button {
  font-weight: 800;
}

.delivery-check-intro,
.order-menu-header {
  background: linear-gradient(180deg, #ffffff 0%, #fff3f8 100%);
  border: 2px solid #ffc0d6;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(173, 20, 87, 0.08);
}

.delivery-check-intro h1,
.order-menu-header h1 {
  color: #7f0e40;
  font-weight: 900;
}

.delivery-check-intro p,
.order-menu-header p {
  color: #70485a;
  font-weight: 700;
}

.order-address-card {
  margin-top: 18px;
  border: 2px solid #ffc0d6;
  background: #ffffff;
}

.order-address-card h2,
.order-modal h2,
.checkout-modal h2,
.basket-heading h2 {
  font-weight: 900;
}

.checkout-fulfilment-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff3f8;
  border: 1px solid #ffc0d6;
}

.checkout-fulfilment-summary strong {
  color: #7f0e40;
  font-weight: 900;
}

.checkout-fulfilment-summary span {
  color: #70485a;
  font-weight: 700;
}

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

  .choice-hero {
    padding: 28px 18px;
    border-radius: 24px;
  }

  .choice-card {
    min-height: 0;
  }

  .delivery-check-stage {
    padding: 20px 14px 46px;
  }
}

@media (prefers-color-scheme: dark) {
  .order-choice-page,
  .order-page {
    background:
      radial-gradient(circle at top left, rgba(255, 105, 180, 0.18), transparent 28%),
      linear-gradient(180deg, #2e1321 0%, #3b192a 100%);
  }

  .choice-hero,
  .delivery-check-intro,
  .order-menu-header,
  .order-address-card,
  .checkout-fulfilment-summary {
    background: linear-gradient(180deg, rgba(255, 239, 246, 0.96) 0%, rgba(255, 230, 240, 0.94) 100%);
    color: #4d2030;
  }

  .choice-hero h1,
  .delivery-check-intro h1,
  .order-menu-header h1,
  .choice-hero > p,
  .delivery-check-intro p,
  .order-menu-header p,
  .checkout-fulfilment-summary strong,
  .checkout-fulfilment-summary span {
    color: #4d2030;
  }
}

/* ===== v10.9 ordering experience ===== */
.order-page,
.order-page.order-choice-page,
.order-page.order-flow-page {
  --order-pink: #f04483;
  --order-pink-strong: #d92d6d;
  --order-pink-soft: #fff0f6;
  --order-pink-wash: #fff8fb;
  --order-ink: #292226;
  --order-muted: #766a70;
  --order-line: #eadde2;
  --order-card: #ffffff;
  --order-shadow: 0 14px 40px rgba(66, 38, 48, .08);
  background: #fffafb !important;
  color: var(--order-ink) !important;
  color-scheme: light;
}

.order-page :where(p, a, span, small, label, li, button, input, textarea, select, strong, em, b, h1, h2, h3, h4) {
  font-weight: inherit !important;
}

.order-topbar {
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid var(--order-line);
  box-shadow: 0 1px 0 rgba(40, 20, 28, .02);
}

.order-brand-wordmark strong {
  display: block;
  color: var(--order-pink-strong) !important;
  font-size: 1.06rem;
  font-weight: 800 !important;
  letter-spacing: -.02em;
}

.order-brand-wordmark small {
  display: block;
  margin-top: 1px;
  color: var(--order-muted) !important;
  font-size: .73rem;
  font-weight: 600 !important;
  letter-spacing: .01em;
}

.order-topbar-links { gap: 18px; }
.order-back-link {
  color: #5f555a !important;
  font-size: .86rem;
  font-weight: 700 !important;
}
.order-back-link:hover { color: var(--order-pink-strong) !important; }

/* Landing */
.order-choice-main {
  width: min(calc(100% - 32px), 1040px);
  min-height: calc(100vh - 73px);
  margin: 0 auto;
  padding: clamp(42px, 8vw, 88px) 0 72px;
  display: grid;
  align-items: center;
}

.choice-shell { width: 100%; }
.choice-copy { max-width: 720px; }
.choice-eyebrow,
.order-mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--order-pink-soft);
  color: var(--order-pink-strong) !important;
  font-size: .73rem;
  font-weight: 800 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.choice-cafe-name {
  margin: 14px 0 2px;
  color: var(--order-pink-strong) !important;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900 !important;
  line-height: 1;
  letter-spacing: -.055em;
}
.choice-copy h1 {
  margin: 10px 0 12px;
  color: var(--order-ink) !important;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800 !important;
  line-height: 1.05;
  letter-spacing: -.05em;
}
.choice-intro {
  max-width: 630px;
  margin: 0;
  color: var(--order-muted) !important;
  font-size: 1.04rem;
  font-weight: 500 !important;
  line-height: 1.55;
}

.choice-card-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.choice-card {
  position: relative;
  min-height: 198px;
  padding: 24px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  column-gap: 16px;
  row-gap: 18px;
  align-items: start;
  background: #fff !important;
  color: var(--order-ink) !important;
  border: 1px solid var(--order-line);
  border-radius: 18px;
  box-shadow: var(--order-shadow);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.choice-card:hover,
.choice-card:focus-visible {
  transform: translateY(-3px);
  border-color: #f4a5c3;
  box-shadow: 0 22px 52px rgba(66, 38, 48, .12);
  outline: none;
}
.choice-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--order-pink-soft);
  color: var(--order-pink-strong) !important;
}
.choice-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.choice-card-copy { display: block; }
.choice-card-copy strong {
  display: block;
  margin: 1px 0 6px;
  color: var(--order-ink) !important;
  font-size: 1.45rem;
  font-weight: 800 !important;
  letter-spacing: -.025em;
}
.choice-card-copy > span {
  color: var(--order-muted) !important;
  font-size: .94rem;
  font-weight: 500 !important;
  line-height: 1.45;
}
.choice-meta {
  grid-column: 2 / 3;
  align-self: end;
  justify-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.choice-meta b,
.choice-meta small { display: block; }
.choice-meta b {
  color: var(--order-pink-strong) !important;
  font-size: 1rem;
  font-weight: 800 !important;
}
.choice-meta small {
  margin-top: 1px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #8a7e84 !important;
  font-size: .75rem;
  font-weight: 600 !important;
}
.choice-arrow {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  color: var(--order-pink-strong) !important;
  font-size: 1.45rem;
  font-weight: 500 !important;
}
.choice-footer-note {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  color: #8a7e84;
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
}
.choice-footer-note span { white-space: nowrap; }
.choice-footer-note span:not(:last-child)::after { content: '·'; margin-left: 18px; color: #cabdc3; }

/* Ordering flow */
.order-main {
  width: min(calc(100% - 34px), 1220px);
  padding: 42px 0 84px;
}
.order-flow-page .order-main { padding-top: 34px; }
.order-text-link {
  color: #70636a;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700 !important;
}
.order-text-link:hover { color: var(--order-pink-strong); }

.delivery-check-stage {
  width: min(100%, 920px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
}
.delivery-check-back-row { margin: 0 0 24px; }
.delivery-check-intro {
  max-width: 670px;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.delivery-check-intro h1,
.order-menu-header h1 {
  margin: 13px 0 9px;
  color: var(--order-ink) !important;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.05em;
  font-weight: 800 !important;
}
.delivery-check-intro p,
.order-menu-header p {
  margin: 0;
  color: var(--order-muted) !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.order-address-card {
  margin-top: 0;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 18px;
  padding: clamp(22px, 4vw, 32px);
  background: #fff !important;
  border: 1px solid var(--order-line) !important;
  border-radius: 18px;
  box-shadow: var(--order-shadow);
}
.order-address-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--order-pink-soft);
  color: var(--order-pink-strong);
  font-size: 1.5rem;
  font-weight: 800;
}
.order-address-card h2 {
  margin: 1px 0 18px;
  color: var(--order-ink);
  font-size: 1.35rem;
  font-weight: 800 !important;
  letter-spacing: -.025em;
}
.order-address-form { gap: 14px; }
.order-address-form label > span,
.checkout-form label > span,
.builder-label {
  color: #4b4246 !important;
  font-size: .83rem;
  font-weight: 700 !important;
}
.order-address-form input,
.checkout-form input,
.checkout-form textarea,
.builder-select {
  border: 1px solid #ded2d7 !important;
  background: #fff !important;
  color: var(--order-ink) !important;
  border-radius: 11px !important;
  padding: 12px 13px;
  font-weight: 500 !important;
}
.order-address-form input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.builder-select:focus {
  border-color: #ef8fb3 !important;
  box-shadow: 0 0 0 4px rgba(240,68,131,.11) !important;
}

.order-primary-button {
  min-height: 46px;
  background: var(--order-pink) !important;
  color: #fff !important;
  border-radius: 11px;
  box-shadow: none;
  font-weight: 800 !important;
}
.order-primary-button:hover:not(:disabled) { background: var(--order-pink-strong) !important; }
.order-secondary-button {
  min-height: 43px;
  background: #fff !important;
  border: 1px solid #ded2d7 !important;
  border-radius: 11px;
  color: #5f555a !important;
  font-weight: 700 !important;
}
.order-secondary-button:hover { border-color: #efabc5 !important; color: var(--order-pink-strong) !important; }

.order-menu-header {
  margin-bottom: 26px;
  padding: 0 0 22px;
  display: flex;
  align-items: flex-end;
  border: 0 !important;
  border-bottom: 1px solid var(--order-line) !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.order-menu-heading-copy { max-width: 780px; }
.order-menu-header h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); }

.order-layout { grid-template-columns: minmax(0,1fr) 350px; gap: 24px; }
.order-allergen-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #fff9ed !important;
  border: 1px solid #f1dfb7 !important;
  border-radius: 12px;
  color: #5a4b2f !important;
}
.order-allergen-notice strong { font-weight: 800 !important; }
.order-allergen-notice p { margin: 3px 0 0; color: #756343 !important; font-weight: 500 !important; font-size: .84rem; }
.order-allergen-notice a { color: #755a1c !important; font-weight: 700 !important; }

.order-category-scroller {
  position: sticky;
  top: 72px;
  z-index: 20;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  padding: 8px 0;
  background: rgba(255,250,251,.96);
  backdrop-filter: blur(12px);
}
.order-category-scroller::before,
.order-category-scroller::after {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  z-index: 2;
  width: 30px;
  pointer-events: none;
  opacity: 1;
  transition: opacity .18s ease;
}
.order-category-scroller::before {
  left: 42px;
  background: linear-gradient(90deg, #fffafb 12%, rgba(255,250,251,0));
}
.order-category-scroller::after {
  right: 42px;
  background: linear-gradient(270deg, #fffafb 12%, rgba(255,250,251,0));
}
.order-category-scroller.at-start::before,
.order-category-scroller.at-end::after { opacity: 0; }
.order-category-tabs {
  position: static;
  z-index: 1;
  margin: 0;
  padding: 2px 4px;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.order-category-tabs::-webkit-scrollbar { display: none; }
.order-category-scroll-button {
  position: relative;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #e2d4da;
  border-radius: 999px;
  background: #fff !important;
  color: var(--order-pink-strong) !important;
  box-shadow: 0 5px 15px rgba(57,35,43,.08);
  font-size: 1.55rem;
  font-weight: 700 !important;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity .16s ease, transform .16s ease, border-color .16s ease;
}
.order-category-scroll-button:not(:disabled):active { transform: scale(.94); }
.order-category-scroll-button:disabled { opacity: .25; cursor: default; }
.order-category-scroller:not(.can-scroll) .order-category-scroll-button { visibility: hidden; }
.order-category-tab {
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  flex: 0 0 auto;
  border: 1px solid #ded2d7;
  background: #fff !important;
  color: #61575c !important;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .82rem;
  font-weight: 700 !important;
}
.order-category-tab.active {
  background: var(--order-pink) !important;
  border-color: var(--order-pink) !important;
  color: #fff !important;
}

.order-product-grid { gap: 12px; }
.order-product-card,
.order-product-card.builder {
  min-height: 174px;
  padding: 18px;
  background: #fff !important;
  border: 1px solid var(--order-line) !important;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(57,35,43,.045);
}
.order-product-card.builder { border-left: 3px solid #f29abd !important; }
.order-product-card h3 {
  color: var(--order-ink) !important;
  font-size: 1.03rem;
  font-weight: 800 !important;
  letter-spacing: -.015em;
}
.order-product-card p { color: var(--order-muted) !important; font-size: .83rem; font-weight: 500 !important; }
.order-product-price { color: var(--order-pink-strong) !important; font-weight: 800 !important; }
.order-add-button {
  background: var(--order-pink-soft) !important;
  color: var(--order-pink-strong) !important;
  border-radius: 9px;
  padding: 8px 11px;
  font-weight: 800 !important;
}
.order-add-button:hover { background: #ffe2ee !important; }

.basket-panel {
  top: 94px;
  padding: 20px;
  background: #fff !important;
  border: 1px solid var(--order-line) !important;
  border-radius: 16px;
  box-shadow: var(--order-shadow);
}
.basket-heading { border-color: var(--order-line); }
.basket-heading h2 { color: var(--order-ink) !important; font-size: 1.2rem; font-weight: 800 !important; }
.basket-count { background: var(--order-pink-soft); color: var(--order-pink-strong); }
.basket-empty,
.basket-item-options,
.basket-cash-note { color: var(--order-muted) !important; font-weight: 500 !important; }
.basket-item-name { color: var(--order-ink); font-weight: 700 !important; }
.basket-item-price,
.basket-total-row strong { color: var(--order-pink-strong) !important; font-weight: 800 !important; }
.basket-item-controls button { background: #fff !important; border-color: #ded2d7 !important; color: #4e4549 !important; }
.basket-totals > div { color: #695e63 !important; font-weight: 500 !important; }

.order-modal-backdrop { background: rgba(31, 22, 26, .52); backdrop-filter: blur(3px); }
.order-modal {
  background: #fff !important;
  color: var(--order-ink) !important;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  box-shadow: 0 30px 100px rgba(24,14,18,.28);
}
.order-modal h2 { color: var(--order-ink) !important; font-weight: 800 !important; letter-spacing: -.035em; }
.order-modal-intro { color: var(--order-muted) !important; font-weight: 500 !important; }
.order-modal-close { background: #f5eff2 !important; color: #64585e !important; }
.builder-choice span,
.builder-quantity-choice {
  background: #fff !important;
  color: #51474c !important;
  border-color: #ded2d7 !important;
  font-weight: 600 !important;
}
.builder-choice input:checked + span { background: var(--order-pink) !important; border-color: var(--order-pink) !important; color: #fff !important; }
.builder-price-row strong { color: var(--order-pink-strong) !important; }
.checkout-address-box,
.checkout-cash-box,
.checkout-fulfilment-summary {
  background: var(--order-pink-wash) !important;
  border: 1px solid #f2cfdd !important;
  border-radius: 12px;
}
.checkout-address-box span,
.checkout-cash-box span,
.checkout-cash-box small,
.checkout-fulfilment-summary span { color: var(--order-muted) !important; font-weight: 500 !important; }
.checkout-address-box strong,
.checkout-cash-box strong,
.checkout-fulfilment-summary strong { color: var(--order-ink) !important; font-weight: 800 !important; }
.checkout-cash-box strong { color: var(--order-pink-strong) !important; }

@media (max-width: 900px) {
  .order-layout { grid-template-columns: 1fr; }
  .basket-panel { position: static; }
}

@media (max-width: 720px) {
  .order-topbar { min-height: 64px; padding: 10px 14px; }
  .order-brand-wordmark small { display: none; }
  .order-topbar-links { gap: 10px; }
  .order-topbar-links .order-back-link:first-child { display: none; }
  .order-choice-main { width: min(calc(100% - 28px), 1040px); min-height: auto; padding: 38px 0 54px; }
  .choice-card-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .choice-card { min-height: 164px; padding: 20px; grid-template-columns: 46px minmax(0,1fr) auto; }
  .choice-icon { width: 46px; height: 46px; border-radius: 12px; }
  .choice-cafe-name { font-size: clamp(2.25rem, 12vw, 3rem); }
  .choice-copy h1 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .choice-footer-note {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px 14px;
    font-size: .72rem;
  }
  .choice-footer-note span::after { display: inline; margin-left: 14px; }
  .order-main, .order-flow-page .order-main { width: min(calc(100% - 28px), 1220px); padding-top: 28px; }
  .delivery-check-intro h1, .order-menu-header h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .order-address-card { grid-template-columns: 1fr; }
  .order-address-icon { width: 42px; height: 42px; }
  .order-menu-header { align-items: flex-start; flex-direction: column; gap: 16px; }
  .order-menu-header .order-secondary-button { width: 100%; }
  .order-product-grid { grid-template-columns: 1fr; }
  .order-category-scroller { top: 64px; }
  .mobile-basket-button:not([hidden]) {
    background: var(--order-pink) !important;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(217,45,109,.26);
  }
}

/* Never let OS dark mode turn the ordering journey into a dark theme. */
@media (prefers-color-scheme: dark) {
  .order-page,
  .order-page.order-choice-page,
  .order-page.order-flow-page { background: #fffafb !important; color: var(--order-ink) !important; }
  .order-topbar,
  .choice-card,
  .order-address-card,
  .order-product-card,
  .order-product-card.builder,
  .basket-panel,
  .order-modal { background: #fff !important; color: var(--order-ink) !important; }
  .delivery-check-intro,
  .order-menu-header { background: transparent !important; }
}

/* Customer tracking and closed-state polish */
.order-page [hidden] { display: none !important; }

.track-search-main,
.tracking-main {
  background: #fffafb !important;
}

.track-search-card,
.tracking-card,
.ordering-closed-card,
.static-closed-card {
  background: #fff !important;
  border: 1px solid var(--order-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--order-shadow) !important;
  color: var(--order-ink) !important;
}

.track-search-card > h1,
.tracking-card h1,
.ordering-closed-card h2,
.static-closed-card h2 {
  color: var(--order-ink) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em;
}

.track-search-card > p,
.tracking-step small,
.tracking-review p,
.tracking-cancel-area small {
  color: var(--order-muted) !important;
  font-weight: 500 !important;
}

.tracking-order-id { color: var(--order-pink-strong) !important; font-weight: 800 !important; }
.tracking-step { opacity: .34; }
.tracking-step > span {
  background: #f4edf0 !important;
  color: #81747a !important;
  font-weight: 800 !important;
}
.tracking-step.complete > span,
.tracking-step.current > span {
  background: var(--order-pink) !important;
  color: #fff !important;
}
.tracking-step.complete::after { background: var(--order-pink) !important; }
.tracking-step::after { background: #eadde2; }
.tracking-step strong { color: var(--order-ink) !important; font-weight: 700 !important; }
.tracking-total {
  background: var(--order-pink-wash) !important;
  border: 1px solid #f2cfdd !important;
  border-radius: 12px;
}
.tracking-total strong { color: var(--order-pink-strong) !important; font-weight: 800 !important; }

@media (prefers-color-scheme: dark) {
  .track-search-main,
  .tracking-main { background: #fffafb !important; }
  .track-search-card,
  .tracking-card,
  .ordering-closed-card,
  .static-closed-card { background: #fff !important; color: var(--order-ink) !important; }
}


/* ===== v10.24 mobile viewport hardening ===== */
html:has(.order-page),
body.order-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.order-page a,
.order-page button,
.order-page input,
.order-page textarea,
.order-page select,
.order-page label,
.order-page [role="button"] {
  touch-action: manipulation;
}

.order-page *,
.order-page *::before,
.order-page *::after {
  min-width: 0;
}

.order-page img,
.order-page svg,
.order-page input,
.order-page textarea,
.order-page select,
.order-page button {
  max-width: 100%;
}

.order-page :where(p, h1, h2, h3, span, strong, small, a, label) {
  overflow-wrap: break-word;
}


@media (max-width: 1024px) {
  .order-page input,
  .order-page textarea,
  .order-page select,
  .order-address-form input,
  .checkout-form input,
  .checkout-form textarea,
  .pass-form input,
  .builder-select,
  .builder-quantity-input,
  .track-search-form input,
  .tracking-review-comment textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 720px) {
  .order-topbar {
    width: 100%;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .order-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .order-brand-wordmark {
    min-width: 0;
  }

  .order-brand-wordmark strong {
    font-size: .98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* The flow pages already include their own back/change links below the header.
     Hiding the desktop nav here prevents narrow phones from being wider than the viewport. */
  .order-flow-page .order-topbar-links {
    display: none;
  }

  .order-choice-page .order-topbar-links {
    flex: 0 0 auto;
  }

  .order-choice-page .order-topbar-links .order-back-link:first-child {
    display: none;
  }

  .order-choice-page .order-back-link {
    white-space: nowrap;
    font-size: .76rem;
  }

  .order-choice-main,
  .order-main,
  .order-flow-page .order-main {
    width: auto;
    max-width: none;
    margin-left: max(14px, env(safe-area-inset-left));
    margin-right: max(14px, env(safe-area-inset-right));
  }

  .order-choice-main {
    padding-bottom: max(54px, calc(34px + env(safe-area-inset-bottom)));
  }

  .order-main,
  .order-flow-page .order-main {
    padding-bottom: max(100px, calc(80px + env(safe-area-inset-bottom)));
  }

  .choice-card {
    width: 100%;
    padding: 18px;
    column-gap: 13px;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
  }

  .choice-icon {
    width: 44px;
    height: 44px;
  }

  .choice-card-copy strong {
    font-size: 1.3rem;
  }

  .choice-meta,
  .choice-card-copy {
    min-width: 0;
  }

  .choice-meta {
    justify-self: stretch;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .choice-arrow {
    justify-self: end;
  }

  .order-category-scroller {
    width: auto;
    max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 5px;
  }

  .order-category-scroll-button {
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
  }

  .order-category-scroller::before { left: 37px; }
  .order-category-scroller::after { right: 37px; }

  .order-category-tabs {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2px 3px;
  }

  .order-product-card,
  .basket-panel,
  .order-address-card,
  .order-menu-header,
  .checkout-fulfilment-summary,
  .checkout-address-box,
  .checkout-cash-box {
    max-width: 100%;
  }

  .order-address-form input,
  .checkout-form input,
  .checkout-form textarea,
  .builder-select {
    font-size: 16px !important;
  }

  .mobile-basket-button:not([hidden]) {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
  }

  .order-modal-backdrop {
    width: 100%;
    max-width: 100vw;
    padding: 10px max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    overflow-x: hidden;
  }

  .order-modal {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - max(20px, env(safe-area-inset-top)) - max(10px, env(safe-area-inset-bottom)));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .checkout-checkbox {
    grid-template-columns: auto minmax(0, 1fr);
  }
}


/* v10.24: keep touch scrolling inside ordering popups. */
body.order-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

.order-modal-backdrop {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: pan-y;
}

.order-modal {
  max-height: calc(100dvh - 44px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-gutter: stable;
}

.order-modal :where(input, select, textarea, label) {
  touch-action: pan-y;
}

.order-modal button {
  touch-action: manipulation;
}

@media (max-width: 390px) {
  .order-topbar {
    padding-left: max(11px, env(safe-area-inset-left));
    padding-right: max(11px, env(safe-area-inset-right));
  }

  .order-choice-main,
  .order-main,
  .order-flow-page .order-main {
    margin-left: max(11px, env(safe-area-inset-left));
    margin-right: max(11px, env(safe-area-inset-right));
  }

  .choice-card {
    padding: 16px;
    column-gap: 11px;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
  }

  .choice-icon {
    width: 42px;
    height: 42px;
  }

  .choice-copy h1 {
    font-size: clamp(1.8rem, 9vw, 2.15rem);
  }

  .choice-cafe-name {
    font-size: clamp(2rem, 11vw, 2.55rem);
  }

  .choice-footer-note {
    font-size: .68rem;
    gap: 4px 10px;
  }

  .choice-footer-note span::after {
    margin-left: 10px;
  }
}


/* v10.24 product badges */
.order-product-labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.order-product-badge.halal {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e7f7ef;
  color: #147a4b !important;
  border: 1px solid #bfe8d2;
  font-size: .7rem;
  font-weight: 800 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.builder-modal-badge {
  margin-bottom: 8px;
}

/* v10.36 service availability and mobile category handoff */
.choice-card.is-unavailable {
  cursor: not-allowed;
  background: #f8f5f6 !important;
  border-color: #e5dde0 !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: .74;
}
.choice-card.is-unavailable .choice-icon {
  background: #eee8ea !important;
  color: #9d9196 !important;
}
.choice-card.is-unavailable .choice-card-copy strong,
.choice-card.is-unavailable .choice-meta b,
.choice-card.is-unavailable .choice-arrow {
  color: #847a7f !important;
}
.choice-card.is-unavailable .choice-arrow { display: none; }
.choice-availability {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eee8ea;
  color: #746a6e !important;
  font-size: .69rem;
  font-weight: 800 !important;
  letter-spacing: .02em;
}
.order-next-category-wrap {
  display: none;
  grid-column: 1 / -1;
}
.order-next-category {
  width: 100%;
  border: 1px solid var(--order-line);
  border-radius: 16px;
  background: #fff;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  text-align: left;
  box-shadow: 0 10px 26px rgba(66,38,48,.07);
  color: var(--order-ink);
}
.order-next-category span {
  grid-column: 1;
  color: var(--order-muted);
  font-size: .72rem;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.order-next-category strong {
  grid-column: 1;
  font-size: 1.08rem;
  font-weight: 800 !important;
}
.order-next-category i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--order-pink-strong);
  font-size: 1.45rem;
  font-style: normal;
}

.check-page {
  min-height: 100vh;
  background: #fffafb;
}
.check-main {
  width: min(calc(100% - 32px), 760px);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(38px, 7vw, 76px) 0 64px;
  display: grid;
  align-content: center;
}
.check-shell { width: 100%; }
.check-copy { margin-bottom: 24px; }
.check-copy h1 {
  margin: 10px 0 10px;
  color: var(--order-ink);
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -.05em;
}
.check-copy p { margin: 0; color: var(--order-muted); line-height: 1.55; }
.check-card {
  background: #fff;
  border: 1px solid var(--order-line);
  border-radius: 18px;
  padding: clamp(20px, 5vw, 32px);
  box-shadow: var(--order-shadow);
}
.check-form { display: grid; gap: 16px; }
.check-form label { display: grid; gap: 7px; }
.check-form label > span { font-size: .82rem; font-weight: 800 !important; color: var(--order-ink); }
.check-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #ded3d7;
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: var(--order-ink);
}
.check-result {
  margin-top: 18px;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid transparent;
}
.check-result[hidden] { display: none !important; }
.check-result.good { background: #f0faf4; border-color: #c7ead4; color: #225f39; }
.check-result.bad { background: #fff5f6; border-color: #f1cdd4; color: #8f3042; }
.check-result strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.check-result p { margin: 0; line-height: 1.45; }
.check-note { margin: 16px 0 0; color: #8a7e84; font-size: .78rem; line-height: 1.45; }

@media (max-width: 720px) {
  .order-next-category-wrap { display: block; margin-top: 4px; }
  .check-main {
    width: auto;
    min-height: auto;
    margin-left: max(14px, env(safe-area-inset-left));
    margin-right: max(14px, env(safe-area-inset-right));
    padding-top: 36px;
    padding-bottom: max(50px, calc(32px + env(safe-area-inset-bottom)));
  }
}


/* v10.36 quantity cards */
.builder-quantity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.builder-quantity-choice {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid #e4d7dc !important;
  border-radius: 14px;
  background: #fff !important;
  color: var(--order-ink) !important;
  box-shadow: 0 4px 14px rgba(66,38,48,.035);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.builder-quantity-choice.selected {
  border-color: #ef7daa !important;
  background: #fff4f8 !important;
  box-shadow: 0 0 0 3px rgba(231,37,112,.08);
}
.builder-quantity-copy { min-width: 0; display: grid; gap: 2px; }
.builder-quantity-copy strong { color: var(--order-ink) !important; font: inherit; font-size: .92rem; font-weight: 800 !important; line-height: 1.25; }
.builder-quantity-copy span { color: var(--order-muted) !important; font: inherit; font-size: .76rem; font-weight: 600 !important; }
.builder-quantity-stepper { flex: 0 0 auto; display: grid; grid-template-columns: 34px 28px 34px; align-items: center; justify-items: center; gap: 3px; }
.builder-quantity-stepper button {
  width: 34px; height: 34px; padding: 0; display: grid; place-items: center;
  border: 1px solid #e1d4da; border-radius: 10px; background: #fff !important;
  color: var(--order-pink-strong) !important; font: inherit; font-size: 1.12rem; font-weight: 800 !important;
  cursor: pointer; touch-action: manipulation;
}
.builder-quantity-stepper button:disabled { opacity: .32; cursor: default; }
.builder-quantity-stepper strong { color: var(--order-ink) !important; font: inherit; font-size: .9rem; font-weight: 900 !important; }
.builder-quantity-choice.selected .builder-quantity-stepper button:not(:disabled) { border-color: #f0b2c9; }
@media (max-width: 620px) {
  .builder-quantity-grid { grid-template-columns: 1fr; }
  .builder-quantity-choice { padding: 13px; }
}

/* v10.36 classic cold sandwich note field */
.order-product-note {
  display: block;
  margin-top: 14px;
}
.order-product-note > span {
  display: block;
  margin-bottom: 6px;
  color: var(--order-muted) !important;
  font-size: .74rem;
  font-weight: 700 !important;
}
.order-product-note input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--order-line);
  border-radius: 10px;
  background: #fff !important;
  color: var(--order-ink) !important;
  font: inherit;
  font-size: .9rem;
  outline: none;
}
.order-product-note input:focus {
  border-color: #e98caf;
  box-shadow: 0 0 0 3px rgba(217,63,116,.09);
}
.order-product-note input::placeholder { color: #a89da2; }


/* v10.45 account-free returning customer recognition */
.checkout-returning-customer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #f0c9d8;
  border-radius: 14px;
  background: #fff7fa;
  color: #5f4650;
}
.checkout-returning-customer[hidden] { display: none !important; }
.checkout-returning-customer strong { color: var(--order-pink-strong); white-space: nowrap; }
.checkout-returning-customer span { font-size: .88rem; }
@media (max-width: 520px) {
  .checkout-returning-customer { align-items: flex-start; flex-direction: column; gap: 2px; }
}
