.standalone-checkout {
  max-width: 1100px;
  margin: auto;
}
.standalone-checkout h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}
.checkout-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
.checkout-card {
  background: #fff;
  border: 1px solid #d8d1ca;
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px);
  margin-bottom: 24px;
  min-width: 0;
}
.checkout-card label {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.checkout-card input,
.checkout-card textarea,
.checkout-card select {
  font: inherit;
  font-size: 16px;
  min-height: 48px;
  border: 1px solid #b8b5af;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: #28140f;
}
.checkout-card textarea {
  min-height: 100px;
}
.checkout-card .check-line {
  display: flex;
  align-items: start;
}
.checkout-card .check-line input {
  width: 24px;
  min-height: 24px;
  flex-shrink: 0;
}
.checkout-card p {
  margin: 18px 0;
  overflow-wrap: anywhere;
}
.checkout-card button {
  min-height: 48px;
  white-space: normal;
}
.checkout-card li {
  margin: 12px 0;
}
.checkout-card #checkout-error {
  color: #a82f20;
}
.delivery-calendar__day {
  min-height: 44px;
}
.checkout-card [hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .checkout-columns {
    grid-template-columns: 1fr;
  }
  .checkout-card {
    padding: 20px;
  }
  .standalone-checkout {
    padding: 24px 16px;
  }
  .checkout-card input,
  .checkout-card textarea {
    min-width: 0;
  }
  .checkout-card .button {
    width: 100%;
  }
}

.cart-summary [hidden] {
  display: none !important;
}
.checkout-discount > label {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 750;
}
.discount-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.65rem;
}
.discount-controls input {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  color: #28140f;
  background: #fff;
  border: 1px solid var(--rule, #d8d1ca);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  text-transform: uppercase;
  box-sizing: border-box;
}
.discount-controls input::placeholder {
  text-transform: none;
}
.discount-controls .button {
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 8px;
}
.discount-controls input:focus-visible,
.discount-remove:focus-visible {
  outline: 2px solid var(--green, #245436);
  outline-offset: 3px;
}
.discount-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-block-start: 0.75rem;
  color: #245436;
  font-size: 0.86rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.discount-remove {
  min-height: 44px;
  padding: 0.45rem 0.1rem;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.discount-status,
.checkout-card .discount-status {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
}
.discount-status[data-error="true"] {
  color: #a82f20;
}
.cart-summary__discount {
  color: #245436;
}
.cart-summary__discount dt span {
  display: inline-block;
  margin-inline-start: 0.25rem;
  font-size: 0.78em;
  overflow-wrap: anywhere;
}
.cart-summary__estimated-total {
  padding-block-start: 0.85rem;
  border-block-start: 1px solid var(--rule, #e2ddda);
  font-weight: 750;
}
.cart-summary__estimate-note {
  margin: 0.75rem 0 0;
  color: #635a52;
  font-size: 0.78rem;
  line-height: 1.55;
}
.checkout-discount {
  margin-block: 1.5rem;
}
.checkout-card .address-search-help,
.checkout-card .address-search-status {
  margin: 0.55rem 0;
  color: #635a52;
  font-size: 0.85rem;
  line-height: 1.55;
}
@media (max-width: 700px) {
  .checkout-card .discount-controls .button {
    width: auto;
  }
}

/* Checkout uses a quiet canvas and a compact, clearly grouped form. */
body.checkout-layout {
  background: var(--flour, #f5f3ef);
}
body.checkout-layout .standalone-checkout {
  width: min(1120px, calc(100% - 48px));
  max-width: 1120px;
  padding: 40px 0 64px;
  margin-inline: auto;
  color: #28140f;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
}
.checkout-page .checkout-heading h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.checkout-page .checkout-schedule {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block-end: 24px;
  margin-block-end: 28px;
  border-block-end: 1px solid #e2ddd6;
}
.checkout-page .checkout-schedule > div {
  display: grid;
  gap: 4px;
}
.checkout-page .checkout-schedule > div:last-child {
  text-align: end;
}
.checkout-page .checkout-schedule span {
  color: #6b625c;
  font-size: 12px;
}
.checkout-page .checkout-schedule strong {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.checkout-page .checkout-columns {
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 1fr);
  gap: 28px;
}
.checkout-page .checkout-card {
  min-width: 0;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #e2ddd6;
  border-radius: 12px;
}
.checkout-page .checkout-card h2 {
  margin: 0 0 20px;
  color: #28140f;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-wrap: initial;
}
.checkout-page .checkout-section,
.checkout-page .checkout-submit {
  padding: 26px;
}
.checkout-page .checkout-section + .checkout-section,
.checkout-page .checkout-submit {
  border-block-start: 1px solid #e2ddd6;
}
.checkout-page .checkout-fields,
.checkout-page .checkout-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
.checkout-page .checkout-field-wide {
  grid-column: 1 / -1;
}
.checkout-page .checkout-phone-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.checkout-page .checkout-phone-input {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px;
}
.checkout-phone-country {
  position: relative;
  display: block;
  min-width: 0;
  height: 48px;
  border: 1px solid #ccc6bd;
  border-radius: 6px;
  background: #fff;
}
.checkout-phone-country:focus-within {
  outline: 3px solid #245438;
  outline-offset: 3px;
}
.checkout-phone-country-display {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: #28140f;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
#phone-country-flag { font-size: 22px; }
.checkout-phone-country-display svg { width: 14px; height: 14px; flex: none; margin-inline-start: auto; }
.checkout-page .checkout-phone-country select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.checkout-page .checkout-phone-input :is(input, select) {
  direction: ltr;
  text-align: left;
}
.checkout-page .checkout-phone-help {
  margin: 0;
  color: #6b6259;
  font-size: 12px;
  line-height: 1.5;
}
.checkout-page .checkout-card label {
  min-width: 0;
  gap: 7px;
  margin: 0;
  color: #28140f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.checkout-page .checkout-card input,
.checkout-page .checkout-card textarea,
.checkout-page .checkout-card select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  color: #28140f;
  background: #fff;
  border: 1px solid #ccc6bd;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}
.checkout-page .checkout-card select {
  height: 48px;
  padding-block: 10px;
  appearance: auto;
}
.checkout-page .checkout-card textarea {
  min-height: 88px;
  resize: vertical;
}
.checkout-page .checkout-card input::placeholder,
.checkout-page .checkout-card textarea::placeholder {
  color: #82776f;
  opacity: 1;
}
.checkout-page .checkout-card :is(input, select, textarea):focus-visible {
  border-color: #244e32;
  outline: 2px solid #244e32;
  outline-offset: 2px;
  box-shadow: none;
}
.checkout-page .checkout-card p {
  margin: 12px 0 0;
  line-height: 1.55;
}
.checkout-page .checkout-method-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.checkout-page .checkout-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.checkout-page .checkout-card .checkout-address-field {
  position: relative;
  display: block;
}
.checkout-page .checkout-address-field > span {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 14px;
  max-width: calc(100% - 28px);
  color: #6b6259;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  pointer-events: none;
  z-index: 1;
}
.checkout-page .checkout-card .checkout-address-field :is(input, select) {
  height: 60px;
  min-height: 60px;
  padding: 25px 14px 8px;
  border-color: #d8d5d0;
  border-radius: 9px;
  line-height: 24px;
}
.checkout-page .checkout-card .checkout-address-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2328140f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  text-overflow: ellipsis;
}
[dir="rtl"] .checkout-page .checkout-card .checkout-address-field select {
  background-position: left 14px center;
}
.checkout-page .checkout-card .checkout-address-field input[readonly] {
  color: #28140f;
  cursor: default;
}
.checkout-page .checkout-card .checkout-address-field :is(input, select):focus-visible {
  border-color: #244e32;
  outline: 1px solid #244e32;
  outline-offset: 0;
}
.checkout-page .checkout-address-entry {
  position: relative;
  min-width: 0;
}
.checkout-page .checkout-area-entry { position: relative; min-width: 0; }
.checkout-page .checkout-area-menu { position: absolute; inset-inline: 0; inset-block-start: calc(100% + 5px); z-index: 31; border: 1px solid #d8d5d0; border-radius: 9px; background: #fff; box-shadow: 0 8px 24px rgb(40 20 15 / 12%); overflow: hidden; }
.checkout-page #delivery-area-options { max-height: 264px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.checkout-page .checkout-area-group { padding: 8px 12px; background: #f7f5f1; color: #6b6259; font-size: 12px; font-weight: 600; }
.checkout-page .checkout-area-option { min-height: 46px; padding: 9px 12px; cursor: pointer; color: #28140f; overflow-wrap: anywhere; }
.checkout-page .checkout-area-option:hover, .checkout-page .checkout-area-option[aria-selected="true"] { background: #edf5ee; }
.checkout-page .checkout-area-option span { display: block; font-size: 14px; line-height: 1.4; }
.checkout-page .checkout-area-option small { display: block; color: #6b6259; font-size: 11px; line-height: 1.4; margin-top: 2px; }
.checkout-page .checkout-area-empty { margin: 0; padding: 12px; color: #6b6259; font-size: 13px; line-height: 1.5; }
@media (max-width: 600px) {
  .checkout-page .checkout-area-entry, .checkout-page .checkout-emirate-field { grid-column: 1 / -1; }
}
.checkout-page .address-suggestions {
  position: absolute;
  inset-inline: 0;
  inset-block-start: calc(100% + 6px);
  z-index: 30;
  background: #fff;
  border: 1px solid #d8d5d0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(40 20 15 / 12%);
  overflow: hidden;
}
.checkout-page .address-suggestions[hidden] { display: none; }
.checkout-page .address-suggestion-list {
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.checkout-page .address-suggestion {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #28140f;
  font: inherit;
  text-align: start;
  line-height: 1.45;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.checkout-page .address-suggestion:hover,
.checkout-page .address-suggestion[aria-selected="true"] {
  background: #edf5ee;
}
.checkout-page .address-suggestion-main {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.checkout-page .address-suggestion-detail {
  display: block;
  margin-top: 3px;
  color: #6b6259;
  font-size: 12px;
}
.checkout-page .address-search-attribution {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid #eeeae5;
  color: #5f6368;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}
.checkout-page .address-search-attribution img {
  width: auto;
  height: 18px;
}
.checkout-page .checkout-card .address-search-help,
.checkout-page .checkout-card .address-search-status {
  margin: -8px 0 0;
  color: #6b625c;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.checkout-page .checkout-note {
  margin-block-start: 18px;
}
.checkout-page .checkout-note summary {
  display: list-item;
  width: fit-content;
  min-height: 44px;
  padding-block: 12px;
  color: #244e32;
  font-size: 13px;
  font-weight: 600;
}
.checkout-page .checkout-note[open] summary {
  margin-block-end: 8px;
}
.checkout-page .checkout-note textarea {
  min-height: 72px;
}
.checkout-page .checkout-payment-note,
.checkout-page .checkout-section > p {
  color: #6b625c;
  font-size: 13px;
  line-height: 1.6;
}
.checkout-page .checkout-card .check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #6b625c;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
.checkout-page .check-line input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  margin: 0;
  flex: 0 0 22px;
  accent-color: #244e32;
}
.checkout-page .check-line a {
  color: #244e32;
  text-decoration-thickness: 1px;
}
.checkout-page #checkout-error:empty {
  display: none;
}
.checkout-page #checkout-error {
  font-size: 13px;
}
.checkout-page #place-order {
  width: 100%;
  min-height: 50px;
  margin-block-start: 20px;
  padding: 13px 18px;
  border-radius: 6px;
  color: #fff;
  background: #244e32;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.checkout-page #place-order:hover:not(:disabled) {
  background: #1c3d27;
  transform: none;
}
.checkout-page .checkout-order {
  position: sticky;
  inset-block-start: 96px;
  padding: 24px;
}
.checkout-page .checkout-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 8px;
}
.checkout-page .checkout-order-header h2 {
  margin: 0;
  font-size: 18px;
}
.checkout-page .checkout-order-header a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex-shrink: 0;
  color: #244e32;
  font-size: 12px;
  font-weight: 600;
}
.checkout-page .checkout-items {
  padding: 0;
  margin: 0;
  list-style: none;
}
.checkout-page .checkout-card .checkout-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  max-width: none;
  margin: 0;
  padding-block: 16px;
}
.checkout-page .checkout-item + .checkout-item {
  border-block-start: 1px solid #e2ddd6;
}
.checkout-page .checkout-item-image {
  position: relative;
  width: 64px;
  height: 64px;
  background: #f5f3ef;
  border: 1px solid #e2ddd6;
  border-radius: 8px;
}
.checkout-page .checkout-item-image img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.checkout-page .checkout-item-quantity {
  position: absolute;
  inset-block-start: -7px;
  inset-inline-end: -7px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding-inline: 4px;
  place-items: center;
  color: #fff;
  background: #6b625c;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.checkout-page .checkout-item-info {
  min-width: 0;
  overflow-wrap: anywhere;
}
.checkout-page .checkout-item-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.checkout-page .checkout-item-info span {
  display: block;
  margin-block-start: 3px;
  color: #6b625c;
  font-size: 12px;
}
.checkout-page .checkout-item-price {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.checkout-page .checkout-discount {
  padding-block: 22px;
  margin-block: 6px 0;
  border-block: 1px solid #e2ddd6;
}
.checkout-page .checkout-discount > label {
  display: block;
  margin-block-end: 8px;
}
.checkout-page .discount-controls {
  gap: 8px;
}
.checkout-page .discount-controls .button {
  min-height: 48px;
  padding-inline: 15px;
  color: #244e32;
  border-color: #244e32;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.checkout-page .discount-controls .button:hover:not(:disabled) {
  color: #fff;
  transform: none;
}
.checkout-page .discount-applied,
.checkout-page .checkout-card .discount-status {
  font-size: 12px;
}
.checkout-page .checkout-totals {
  display: grid;
  gap: 12px;
  padding-block: 22px;
  margin: 0;
  color: #6b625c;
  font-size: 13px;
}
.checkout-page .checkout-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.checkout-page .checkout-totals dt {
  min-width: 0;
  overflow-wrap: anywhere;
}
.checkout-page .checkout-totals dd {
  margin: 0;
  color: #28140f;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.checkout-page .checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-block-start: 20px;
  border-block-start: 1px solid #e2ddd6;
}
.checkout-page .checkout-total > span {
  font-size: 16px;
  font-weight: 600;
}
.checkout-page .checkout-total strong {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.checkout-page [hidden] {
  display: none !important;
}
.checkout-page .checkout-unavailable {
  padding: 28px;
}
.checkout-page .checkout-unavailable h1 {
  margin: 0 0 14px;
  font-size: 34px;
}
.checkout-page .checkout-unavailable .button {
  margin-block-start: 20px;
}
.payment-page .checkout-heading h1 { margin-block-end: 8px; }
.payment-page .checkout-heading > p { margin: 0 0 28px; color: #686b61; }
.payment-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
  gap: 28px;
}
.payment-page .payment-card,
.payment-page .payment-summary { min-width: 0; padding: 28px; }
.payment-page .payment-summary { position: sticky; top: 24px; }
.payment-status-label { color: #245438; }
.payment-test-note {
  padding: 10px 12px;
  background: #fff4d8;
  color: #74531b;
  border-radius: 8px;
  font-size: 14px;
}
#payment-widget { max-width: 450px; margin: 20px auto 0; }
#payment-widget:empty { margin: 0; }
#ziina-checkout {
  display: block;
  width: 100%;
  max-width: 450px;
  height: 820px;
  border: 0;
  background: #fff;
  border-radius: 10px;
}
.payment-widget-status { color: #686b61; font-size: 13px; }
.payment-fallback { border-top: 1px solid #e4e7df; padding-top: 16px; }
.payment-fallback small { display: block; margin-top: 6px; color: #686b61; }
.payment-page .payment-launch {
  width: 100%;
  min-height: 60px;
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.payment-status-actions { margin-top: 20px; }
.payment-status-actions .button { width: 100%; }
.payment-order-details { margin: 0 0 22px; font-size: 14px; }
.payment-order-details > div { display: flex; justify-content: space-between; gap: 14px; margin: 12px 0; }
.payment-order-details dt { color: #686b61; }
.payment-order-details dd { margin: 0; text-align: end; font-weight: 600; }
.payment-page .payment-items { list-style: none; padding: 0; margin: 0; }
.payment-page .payment-items li { display: flex; gap: 18px; justify-content: space-between; padding: 14px 0; border-top: 1px solid #e4e7df; }
.payment-items li span { min-width: 0; overflow-wrap: anywhere; }
.payment-items li strong { white-space: nowrap; font-size: 14px; }
.payment-reservation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f2f6ee;
  color: #245438;
  font-size: 14px;
}
.payment-reservation time { font-weight: 600; }
.payment-reservation strong { font-variant-numeric: tabular-nums; }
.payment-summary-actions { margin-top: 24px; }
.payment-summary-actions .button { width: 100%; }
.payment-summary-actions [role="status"]:empty,
.payment-status-actions [role="status"]:empty { display: none; }
.payment-summary-actions .payment-cancel {
  color: #a12732;
  border-color: #d9b5b9;
  background: #fff;
}
.payment-summary-actions .payment-cancel:hover:not(:disabled) {
  background: #fff1f2;
  border-color: #a12732;
}
.payment-summary-actions .payment-cancel:disabled { opacity: .55; cursor: not-allowed; }
.payment-page--closed { max-width: 880px; margin-inline: auto; }
.payment-page--closed .payment-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.payment-page--closed .payment-summary { position: static; }
.payment-closed-message {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 22px 20px;
}
.payment-closed-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fbefec;
  color: #9a433a;
}
.payment-closed-icon svg { width: 26px; height: 26px; }
.payment-page .payment-closed-message p { margin: 0; font-size: 16px; }
.payment-page .payment-return {
  grid-column: 2;
  justify-self: start;
  min-width: 220px;
  min-height: 54px;
  padding: 16px 24px;
  font-size: 16px;
  text-decoration: none;
}
.payment-page--closed .payment-order-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.payment-page--closed .payment-order-details > div {
  display: grid;
  justify-content: start;
  gap: 4px;
  margin: 0;
}
.payment-page--closed .payment-order-details dd { text-align: start; }
.payment-page--closed .payment-items li { max-width: none; }
@media (max-width: 800px) {
  .payment-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .payment-page .payment-summary { position: static; }
  .payment-page .payment-card,
  .payment-page .payment-summary { padding: 20px; }
}
@media (max-width: 480px) {
  .checkout-page .checkout-phone-input { grid-template-columns: 120px minmax(0, 1fr); }
  .payment-closed-message { grid-template-columns: 40px minmax(0, 1fr); gap: 20px 14px; }
  .payment-closed-icon { width: 40px; height: 40px; }
  .payment-page .payment-return { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .payment-page--closed .payment-order-details { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) and (min-width: 801px) {
  .checkout-page .checkout-columns {
    gap: 22px;
  }
  .checkout-page .checkout-section,
  .checkout-page .checkout-submit,
  .checkout-page .checkout-order {
    padding: 22px;
  }
  .checkout-page .checkout-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .checkout-page .checkout-card .checkout-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .checkout-page .checkout-item-image {
    width: 56px;
    height: 56px;
  }
}
@media (max-width: 800px) {
  body.checkout-layout .standalone-checkout {
    width: min(600px, calc(100% - 32px));
    padding-block: 28px 40px;
  }
  .checkout-page .checkout-heading h1 {
    margin-block-end: 22px;
    font-size: 34px;
  }
  .checkout-page .checkout-schedule {
    margin-block-end: 22px;
    padding-block-end: 20px;
  }
  .checkout-page .checkout-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .checkout-page .checkout-order {
    position: static;
  }
}
@media (max-width: 480px) {
  .checkout-page .checkout-section,
  .checkout-page .checkout-submit,
  .checkout-page .checkout-order {
    padding: 20px;
  }
  .checkout-page .checkout-card h2 {
    margin-block-end: 18px;
    font-size: 19px;
  }
  .checkout-page .checkout-order-header h2 {
    margin: 0;
    font-size: 18px;
  }
  .checkout-page .checkout-fields,
  .checkout-page .checkout-delivery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
  .checkout-page .checkout-schedule {
    gap: 14px 16px;
  }
  .checkout-page .checkout-schedule strong {
    font-size: 13px;
  }
  .checkout-page .checkout-card .checkout-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .checkout-page .checkout-item-image {
    width: 56px;
    height: 56px;
  }
  .checkout-page .checkout-total strong {
    font-size: 24px;
  }
}

/* Policy pages share the storefront's bakery colours and readable text width. */
.policy-page {
  width: min(960px, calc(100% - 40px));
  padding-block: clamp(28px, 5vw, 60px) clamp(40px, 6vw, 80px);
  margin-inline: auto;
}
.policy-page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: 24px;
}
.policy-page__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #d8d1ca;
  border-radius: 999px;
  background: #fff;
  color: #244e32;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.policy-page__nav a[aria-current="page"] {
  color: #fff;
  background: #244e32;
  border-color: #244e32;
}
.policy-page__card {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid #d8d1ca;
  border-block-start: 5px solid #244e32;
  border-radius: 20px;
  background: #fff;
  color: #28140f;
  overflow-wrap: anywhere;
}
.policy-page__heading {
  padding-block-end: 28px;
  border-block-end: 1px solid #e7e1db;
  margin-block-end: 30px;
}
.policy-page .policy-page__brand {
  margin: 0 0 16px;
  color: #244e32;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.policy-page h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.policy-page .policy-page__intro {
  margin: 0 0 20px;
  color: #635c55;
  font-size: 18px;
  line-height: 1.7;
}
.policy-page .policy-page__date {
  margin: 0;
  color: #6d655e;
  font-size: 13px;
  line-height: 1.6;
}
.policy-page__body section + section { margin-block-start: 32px; }
.policy-page__body h2 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.4;
}
.policy-page__body p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.85;
  color: #514b45;
}
.policy-page__body p:last-child { margin-block-end: 0; }
.policy-page__contact {
  margin-block-start: 36px;
  padding-block-start: 24px;
  border-block-start: 1px solid #e7e1db;
}
.policy-page__contact a {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 44px;
  color: #244e32;
  font-weight: 700;
  text-underline-offset: 5px;
}
.policy-page a:focus-visible {
  outline: 3px solid #244e32;
  outline-offset: 4px;
}
@media (max-width: 480px) {
  .policy-page { width: calc(100% - 28px); }
  .policy-page__card { padding: 24px 20px; border-radius: 14px; }
  .policy-page__nav { gap: 6px; margin-block-end: 18px; }
  .policy-page__nav a { padding: 9px 12px; font-size: 13px; }
  .policy-page .policy-page__intro { font-size: 16px; }
  .policy-page__body h2 { font-size: 19px; }
}
