/* =====================================================
   Mifta's — Order flow skin (RestroPress)
   Order Online, Checkout, Confirmation, Failed, Orders.
   Uses the V2 tokens from miftas.css (--mf-*), and maps them onto
   RestroPress's own CSS variables so its components follow along.
   ===================================================== */

/* ---- Page ---- */
body.mf-order-flow { --mf-of-w: 1200px; }
body.mf-order-flow.page-id-59 { --mf-of-w: 1320px; }
body.mf-order-flow {
  background: var(--mf-bg) !important;
  color: var(--mf-cream);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.mf-order-flow :focus-visible { outline: 2px solid var(--mf-gold); outline-offset: 2px; }
body.mf-order-flow ::selection { background: var(--mf-red); color: #fff; }

/* The block theme's header/footer are replaced by the landing page's own (functions.php). */
body.mf-order-flow header.wp-block-template-part,
body.mf-order-flow footer.wp-block-template-part { display: none !important; }
body.mf-order-flow main { margin-top: 0 !important; padding-top: 0 !important; }

/* ---- RestroPress variables → Mifta's palette ---- */
body.mf-order-flow,
body.mf-order-flow .rpress-wrap,
body.mf-order-flow .rpress-section,
body.mf-order-flow .rpress-sidebar-cart-wrap,
body.mf-order-flow .rpress-mobile-cart-icons,
body.mf-order-flow #rpressModal,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 {
  --rpress-theme-primary:          #C4252F !important;
  --rpress-theme-primary-rgb:      196, 37, 47 !important;
  --rpress-theme-primary-dark:     #A61B26 !important;
  --rpress-theme-primary-light:    rgba(196, 37, 47, .14) !important;
  --rpress-theme-primary-contrast: #FFFFFF !important;
  --rpress-theme-label:            #F5EFE6 !important;
  --rpress-theme-link:             #F9C65B !important;
  --rpress-theme-section-bg:       #1C1614 !important;
  --rpress-theme-section-bg-strong:#261E1B !important;
  --rpress-theme-section-bg-soft:  #261E1B !important;
  --rpress-theme-border-soft:      #3A2F2B !important;
  --rpress-theme-border:           #3A2F2B !important;
  --rpress-theme-focus:            #F9C65B !important;
  --rpress-default-control-radius: 4px !important;

  --rp-checkout-card:       #1C1614 !important;
  --rp-checkout-card-soft:  #261E1B !important;
  --rp-checkout-border:     #3A2F2B !important;
  --rp-checkout-ink:        #F5EFE6 !important;
  --rp-checkout-text:       #F5EFE6 !important;
  --rp-checkout-muted:      #B9ADA2 !important;
  --rp-checkout-brand:      #C4252F !important;
  --rp-checkout-brand-rgb:  196, 37, 47 !important;
  --rp-checkout-accent:     #C4252F !important;
  --rp-checkout-accent-rgb: 196, 37, 47 !important;
  --rp-checkout-shadow:     none !important;
  --rp-checkout-button-radius: 2px !important;

  --rpc-ink:            #F5EFE6 !important;
  --rpc-body:           #F5EFE6 !important;
  --rpc-muted:          #B9ADA2 !important;
  --rpc-gray-400:       #8A7E75 !important;
  --rpc-border-subtle:  #3A2F2B !important;
  --rpc-border-strong:  #54463F !important;
  --rpc-surface:        #1C1614 !important;
  --rpc-page:           #120E0D !important;
  --rpc-primary:        #C4252F !important;
  --rpc-primary-hover:  #A61B26 !important;
  --rpc-primary-press:  #8E1620 !important;
  --rpc-primary-tint:   rgba(196, 37, 47, .14) !important;
  --rpc-primary-tint-border: rgba(196, 37, 47, .6) !important;
  --rpc-primary-shadow: none !important;
  --rpc-success:        #6FCF97 !important;
  --rpc-success-bg:     rgba(111, 207, 151, .12) !important;
  --rpc-danger:         #F0525C !important;
  --rpc-danger-bg:      rgba(240, 82, 92, .12) !important;
  --rpc-card-shadow:    none !important;
  --rpc-font-head:      'Oswald', sans-serif !important;
  --rpc-font-display:   'Oswald', sans-serif !important;
  --rpc-font-body:      'Open Sans', sans-serif !important;
}

/* =====================================================
   ORDER SUB-BAR (under the site header, rendered by functions.php)
   Back link · progress steps · the page's main order action.
   ===================================================== */
.mf-of-sub {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--mf-header-h, 96px));
  z-index: 90;
  background: var(--mf-surface);
  border-bottom: 1px solid var(--mf-line);
}
.mf-of-sub__inner {
  max-width: calc(var(--mf-of-w) + 48px);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.mf-of-back,
.mf-of-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px;
  font: 500 13px/1 'Oswald', sans-serif !important;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 2px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.mf-of-back { justify-self: start; color: var(--mf-cream) !important; padding: 0 2px; }
.mf-of-back svg { color: var(--mf-gold); transition: transform .2s ease; }
.mf-of-back:hover { color: var(--mf-gold) !important; }
.mf-of-back:hover svg { transform: translateX(-3px); }
.mf-of-cta {
  justify-self: end;
  padding: 0 18px;
  background: var(--mf-red);
  border: 1px solid var(--mf-red);
  color: #fff !important;
}
.mf-of-cta:hover { background: var(--mf-red-hover); border-color: var(--mf-red-hover); }
.mf-of-cta-spacer { justify-self: end; }

.mf-of-steps { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mf-of-steps li {
  display: flex; align-items: center; gap: 8px;
  font: 500 13px/1 'Oswald', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mf-muted);
}
.mf-of-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--mf-line); margin-right: 2px; }
.mf-of-steps .mf-of-step__n {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid var(--mf-line); font-size: 12px; letter-spacing: 0;
}
.mf-of-steps a { color: inherit !important; text-decoration: none !important; display: flex; align-items: center; gap: 8px; }
.mf-of-steps a:hover { color: var(--mf-cream) !important; }
.mf-of-steps .is-done { color: var(--mf-cream); }
.mf-of-steps .is-done .mf-of-step__n { border-color: var(--mf-gold); color: var(--mf-gold); }
.mf-of-steps .is-current { color: var(--mf-cream); }
.mf-of-steps .is-current .mf-of-step__n { background: var(--mf-red); border-color: var(--mf-red); color: #fff; }

/* Tablet (iPad portrait/landscape): tighter padding, steps keep labels */
@media (max-width: 1024px) {
  .mf-of-steps li + li::before { width: 16px; }
}
/* Phones: back + CTA on one row, steps on their own row; not sticky */
@media (max-width: 767px) {
  .mf-of-sub { position: static; }
  .mf-of-sub__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "back cta" "steps steps";
    padding: 10px 16px; row-gap: 10px;
  }
  .mf-of-back { grid-area: back; }
  .mf-of-cta, .mf-of-cta-spacer { grid-area: cta; }
  .mf-of-cta { padding: 0 12px; min-height: 36px; }
  .mf-of-steps { grid-area: steps; justify-content: center; }
  .mf-of-steps li + li::before { width: 12px; }
  .mf-of-steps .mf-of-step__label { display: none; }
  .mf-of-steps .is-current .mf-of-step__label { display: inline; }
}

/* Shared landing header/footer: hide the home-only mobile bottom bar spacing */
body.mf-order-flow .mf-shared .mf-header {
  margin: 0 !important;
  position: sticky !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  z-index: 100 !important;
}
body.mf-order-flow .mf-shared .mf-offer-bar { position: relative; z-index: 101; }

/* The wrapper must not box in the sticky header: let its children join the body flow. */
.mf-shared { display: contents; }

/* =====================================================
   PAGE HEADING (eyebrow + Oswald title, as on the landing page)
   ===================================================== */
body.mf-order-flow main .wp-block-post-title {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 1.1 !important;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--mf-cream) !important;
  text-align: left !important;
  max-width: min(var(--mf-of-w), calc(100% - 48px)) !important;
  margin: 32px auto 24px !important;
  padding: 0 !important;
  box-sizing: border-box;
}
body.mf-order-flow main .wp-block-post-title::before {
  content: attr(data-mf-eyebrow);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
  font: 500 12px/1 'Oswald', sans-serif; letter-spacing: .18em;
  color: var(--mf-red-text);
}
body.mf-order-flow main .wp-block-post-title[data-mf-eyebrow]::before {
  background: linear-gradient(var(--mf-red-text), var(--mf-red-text)) left center / 24px 1px no-repeat;
  padding-left: 36px;
}
@media (max-width: 860px) {
  body.mf-order-flow main .wp-block-post-title { margin: 24px auto 16px !important; max-width: calc(100% - 32px) !important; }
}

/* Content width */
body.mf-order-flow .wp-block-post-content { padding-left: 24px !important; padding-right: 24px !important; }
body.page-id-55 #rpress_checkout_wrap,
body.page-id-56 .wp-block-post-content > *,
body.page-id-57 .wp-block-post-content > *,
body.page-id-58 .wp-block-post-content > * {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 860px) {
  body.mf-order-flow .wp-block-post-content { padding-left: 16px !important; padding-right: 16px !important; }
}

/* Generic text + links inside RestroPress */
body.mf-order-flow .rpress-section,
body.mf-order-flow .rpress-wrap { color: var(--mf-cream); }
body.mf-order-flow .rpress-section a:not(.button):not([class*=btn]):not(.rpress-submit) { color: var(--mf-gold); }

/* ---- Form controls (shared) ---- */
body.mf-order-flow input[type=text],
body.mf-order-flow input[type=email],
body.mf-order-flow input[type=tel],
body.mf-order-flow input[type=number],
body.mf-order-flow input[type=password],
body.mf-order-flow input[type=search],
body.mf-order-flow textarea,
body.mf-order-flow select,
body.mf-order-flow .chosen-container .chosen-single,
body.mf-order-flow .chosen-container .chosen-drop {
  background: var(--mf-surface2) !important;
  border: 1px solid var(--mf-line) !important;
  color: var(--mf-cream) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-family: 'Open Sans', sans-serif !important;
}
body.mf-order-flow input::placeholder,
body.mf-order-flow textarea::placeholder { color: #8A7E75 !important; opacity: 1; }
body.mf-order-flow input:focus,
body.mf-order-flow textarea:focus,
body.mf-order-flow select:focus {
  border-color: var(--mf-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(249, 198, 91, .18) !important;
}
body.mf-order-flow select option { background: var(--mf-surface); color: var(--mf-cream); }
body.mf-order-flow input[type=checkbox],
body.mf-order-flow input[type=radio] { accent-color: var(--mf-red); }
/* Browser autofill keeps the dark field */
body.mf-order-flow input:-webkit-autofill {
  -webkit-text-fill-color: var(--mf-cream) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--mf-surface2) inset !important;
  caret-color: var(--mf-cream);
}
body.mf-order-flow label,
body.mf-order-flow .rpress-label { color: var(--mf-cream) !important; }
body.mf-order-flow .rpress-description,
body.mf-order-flow .rpress-label small,
body.mf-order-flow .rpress-optional { color: var(--mf-muted) !important; }

/* Primary buttons */
body.mf-order-flow .rpress-submit,
body.mf-order-flow #rpress-purchase-button,
body.mf-order-flow .rpress-add-to-cart,
body.mf-order-flow .submit-fooditem-button,
body.mf-order-flow .cart_item.rpress_checkout a,
body.mf-order-flow .rpress-popup-actions .button,
body.mf-order-flow button.button-primary {
  background: var(--mf-red) !important;
  border: 1px solid var(--mf-red) !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  transition: background-color .2s ease, border-color .2s ease;
}
body.mf-order-flow .rpress-submit:hover,
body.mf-order-flow #rpress-purchase-button:hover,
body.mf-order-flow .rpress-add-to-cart:hover,
body.mf-order-flow .submit-fooditem-button:hover,
body.mf-order-flow .cart_item.rpress_checkout a:hover {
  background: var(--mf-red-hover) !important;
  border-color: var(--mf-red-hover) !important;
}

/* =====================================================
   CHECKOUT (page 55)
   RestroPress ships !important rules up to three IDs deep, so every rule
   here is scoped under html body.mf-order-flow + a tripled wrap ID.
   ===================================================== */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 32px !important;
  align-items: start;
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 > * {
  width: auto !important; max-width: none !important; float: none !important;
  padding-left: 0 !important; padding-right: 0 !important; margin: 0 !important; flex: none !important;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 > #rpress_checkout_form_wrap { grid-column: 1; grid-row: 1; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 > #rpress_checkout_cart_form { grid-column: 2; grid-row: 1; align-self: stretch; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart_form .rpressStickySidebar {
  position: sticky !important;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--mf-header-h, 96px) + 84px) !important;
  transform: none !important; width: auto !important;
}
@media (max-width: 1024px) {
  html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  /* Summary first on small screens so customers see what they are paying for. */
  html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 > #rpress_checkout_cart_form { grid-column: 1 !important; grid-row: 1 !important; }
  html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 > #rpress_checkout_form_wrap { grid-column: 1 !important; grid-row: 2 !important; }
  html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart_form .rpressStickySidebar { position: static !important; }
}

/* Section cards */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 fieldset,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_user_info,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_order_details,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_payment_mode_select,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart_wrap {
  background: var(--mf-surface) !important;
  background-color: var(--mf-surface) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 fieldset fieldset { background: transparent !important; border: 0 !important; }

/* Section titles */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 legend,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart_wrap h6,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .item-order h6 {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: var(--mf-cream) !important;
  background: transparent !important;
}

/* Text */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 label,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-label,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 p,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 strong { color: var(--mf-cream) !important; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 small,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-description,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 [class*=optional],
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 [class*=muted] { color: var(--mf-muted) !important; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 a:not(.nav-link) { color: var(--mf-gold) !important; }

/* Inputs */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input[type=text],
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input[type=email],
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input[type=tel],
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input[type=password],
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input.rpress-input,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 textarea,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 select {
  background-color: var(--mf-surface2) !important;
  border: 1px solid var(--mf-line) !important;
  color: var(--mf-cream) !important;
  -webkit-text-fill-color: var(--mf-cream) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  min-height: 48px;
  font-size: 15px !important;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input[type=text],
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input[type=email],
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input[type=tel],
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input[type=password],
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input.rpress-input,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 textarea { background-image: none !important; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%228%22 viewBox=%220 0 12 8%22%3E%3Cpath d=%22M1 1l5 5 5-5%22 fill=%22none%22 stroke=%22%23F9C65B%22 stroke-width=%221.6%22/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 38px !important;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input::placeholder,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 textarea::placeholder { color: #8A7E75 !important; -webkit-text-fill-color: #8A7E75 !important; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 input:focus,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 textarea:focus,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 select:focus {
  border-color: var(--mf-gold) !important;
  box-shadow: 0 0 0 3px rgba(249, 198, 91, .18) !important;
  outline: none !important;
}

/* Service tiles (Delivery / Pickup) and payment options */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rp-checkout-service-option,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .nav-link,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-gateway-option {
  background: var(--mf-surface2) !important;
  background-color: var(--mf-surface2) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 4px !important;
  color: var(--mf-cream) !important;
  box-shadow: none !important;
  transition: border-color .2s ease, background-color .2s ease;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rp-checkout-service-option:hover,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .nav-link:hover,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-gateway-option:hover { border-color: #54463F !important; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rp-checkout-service-option.active,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rp-checkout-service-option.is-selected,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rp-checkout-service-option:has(input:checked),
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .nav-link.active,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-gateway-option-selected,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-gateway-option:has(input:checked) {
  background: rgba(196, 37, 47, .12) !important;
  background-color: rgba(196, 37, 47, .12) !important;
  border-color: var(--mf-red) !important;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rp-checkout-service-option *,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .nav-link *,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-gateway-option .rpress-gw-title { color: var(--mf-cream) !important; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rp-checkout-service-option svg,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .nav-link svg,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-gateway-option svg { color: var(--mf-gold) !important; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-gateway-option small,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rpress-gateway-option .rpress-gw-desc,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .rp-checkout-service-option small { color: var(--mf-muted) !important; }

/* Order summary */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart tr,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart th,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart td {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--mf-cream) !important;
  border-color: var(--mf-line) !important;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart .rpress_cart_total,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart .rpress_cart_total * {
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart .rpress_cart_total .rpress_cart_amount,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_checkout_cart .rpress_cart_total strong { color: var(--mf-gold) !important; }

/* Final total + Place order */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_final_total_wrap {
  background: transparent !important;
  border: 0 !important;
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex !important; justify-content: space-between; align-items: baseline;
  padding: 12px 2px !important;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_final_total_wrap,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_final_total_wrap * { color: var(--mf-cream) !important; font-family: 'Oswald', sans-serif !important; }
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress-purchase-button {
  width: 100% !important;
  min-height: 56px !important;
  font-size: 17px !important;
  background: var(--mf-red) !important;
  border: 1px solid var(--mf-red) !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress-purchase-button:hover { background: var(--mf-red-hover) !important; border-color: var(--mf-red-hover) !important; }

/* Payment: the outer wrap is the card, the inner fieldset sits flat inside it */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_payment_mode_select_wrap {
  background: var(--mf-surface) !important;
  background-color: var(--mf-surface) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_payment_mode_select_wrap #rpress_payment_mode_select {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
/* Date/time label icons are dark background images: tint them gold */
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 .delivery-time-text::before,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 [class*=rpress-service-][class*=-label]::before {
  filter: invert(83%) sepia(38%) saturate(800%) hue-rotate(338deg) brightness(102%);
}
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_final_total_wrap .rpress_cart_amount,
html body.mf-order-flow #rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap#rpress_checkout_wrap.rpress-checkout-v2 #rpress_final_total_wrap strong + * { font-size: 22px !important; color: var(--mf-gold) !important; }

/* Mobile sticky "Place order" bar */
html body.mf-order-flow .rpress-checkout-sticky-bar.rpress-checkout-sticky-bar {
  background: rgba(18, 14, 13, .97) !important;
  border-top: 1px solid var(--mf-line) !important;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, .5) !important;
  backdrop-filter: blur(6px);
}
html body.mf-order-flow .rpress-checkout-sticky-bar.rpress-checkout-sticky-bar .rpress-sbar-total-label { color: var(--mf-muted) !important; font-family: 'Oswald', sans-serif !important; letter-spacing: .08em; text-transform: uppercase; }
html body.mf-order-flow .rpress-checkout-sticky-bar.rpress-checkout-sticky-bar .rpress-sbar-total { color: var(--mf-gold) !important; font-family: 'Oswald', sans-serif !important; }
html body.mf-order-flow .rpress-checkout-sticky-bar.rpress-checkout-sticky-bar .rpress-sbar-button {
  background: var(--mf-red) !important;
  border: 1px solid var(--mf-red) !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
html body.mf-order-flow .rpress-checkout-sticky-bar.rpress-checkout-sticky-bar .rpress-sbar-note { color: var(--mf-muted) !important; }

/* =====================================================
   ORDER ONLINE (page 59) — store card, tabs, item cards, cart
   Scoped under html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 so it beats RestroPress's modern pack (3-class !important).
   ===================================================== */

/* Cards and panels */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rp-mo-store,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem .rpress_fooditem_inner,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-main-wrap {
  background: var(--mf-surface) !important;
  background-color: var(--mf-surface) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap .rpress-sidebar-main-wrap { border: 0 !important; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem .rpress_fooditem_inner { transition: border-color .2s ease, transform .2s ease; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem .rpress_fooditem_inner:hover { border-color: #54463F !important; }

/* Category headings */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-category-title,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .menu-category-wrap > h2,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .menu-category-wrap > h3,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 h2.rpress-cat,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-element-title {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  color: var(--mf-cream) !important;
}

/* Item text */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .food-title { font-family: 'Oswald', sans-serif !important; font-weight: 500 !important; letter-spacing: .03em; color: var(--mf-cream) !important; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem .price { color: var(--mf-gold) !important; font-weight: 600 !important; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem p,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem .rpress-fooditem-desc,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem [class*=desc] { color: var(--mf-muted) !important; }

/* Add buttons on cards */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem .rpress-add-to-cart,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem [class*=add-to-cart] {
  background: transparent !important;
  border: 1px solid var(--mf-red) !important;
  color: var(--mf-red-text) !important;
  border-radius: 50% !important;
  font-family: inherit !important;
  letter-spacing: 0 !important;
}
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem:hover .rpress-add-to-cart,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem .rpress-add-to-cart:hover {
  background: var(--mf-red) !important;
  color: #fff !important;
}
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_fooditem .rpress-add-to-cart * { color: inherit !important; }

/* Store card */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rp-mo-store-name { font-family: 'Oswald', sans-serif !important; text-transform: uppercase; letter-spacing: .04em; color: var(--mf-cream) !important; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rp-mo-store li { background: var(--mf-surface2) !important; color: var(--mf-cream) !important; border-color: var(--mf-line) !important; }

/* Service tabs, schedule pill, search */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .nav-link {
  background: var(--mf-surface2) !important;
  color: var(--mf-muted) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 2px !important;
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: .06em; text-transform: uppercase;
}
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .nav-link.active { background: var(--mf-red) !important; border-color: var(--mf-red) !important; color: #fff !important; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_order-address-wrap {
  background: var(--mf-surface2) !important;
  border: 1px solid var(--mf-line) !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_order-address-wrap * { color: var(--mf-cream) !important; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress_order-address-wrap a { color: var(--mf-gold) !important; }
html body.mf-order-flow .rpress-menu-v2 .rpress-search-wrap #rpress-food-search#rpress-food-search {
  background-color: var(--mf-surface2) !important;
  border: 1px solid var(--mf-line) !important;
  color: var(--mf-cream) !important;
}

/* Cart */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap h4,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap .rpress-cart-item-title,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap .rpress-cart-item-price,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap .cart-total,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap .cart-subtotal,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap .rpress-cart-quantity { color: var(--mf-cream) !important; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap h4 { font-family: 'Oswald', sans-serif !important; text-transform: uppercase; letter-spacing: .06em; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-cart-summary-area,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-cart-total-wrap,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-qty-stepper {
  background: var(--mf-surface2) !important;
  background-color: var(--mf-surface2) !important;
  border-color: var(--mf-line) !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-cart-total-wrap .cart-total { color: var(--mf-gold) !important; font-family: 'Oswald', sans-serif !important; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-qty-stepper * { color: var(--mf-cream) !important; }

/* Sidebar checkout button */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap .cart_item.rpress_checkout a,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap a.rpress-checkout-button,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-sidebar-cart-wrap [class*=checkout] > a {
  background: var(--mf-red) !important;
  border: 1px solid var(--mf-red) !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

/* Modals (item options, delivery schedule) */
html body.mf-order-flow #rpressModal#rpressModal .modal__container,
html body.mf-order-flow #rpressModal#rpressModal .modal__header,
html body.mf-order-flow #rpressModal#rpressModal .modal__content,
html body.mf-order-flow #rpressModal#rpressModal .modal__footer {
  background: var(--mf-surface) !important;
  background-color: var(--mf-surface) !important;
  color: var(--mf-cream) !important;
  border-color: var(--mf-line) !important;
}
html body.mf-order-flow #rpressModal#rpressModal .modal__container { border: 1px solid var(--mf-line) !important; border-radius: 6px !important; box-shadow: 0 24px 60px rgba(0,0,0,.6) !important; }
html body.mf-order-flow #rpressModal#rpressModal .modal__header { border-bottom: 1px solid var(--mf-line) !important; }
html body.mf-order-flow #rpressModal#rpressModal .modal__footer { border-top: 1px solid var(--mf-line) !important; }
html body.mf-order-flow #rpressModal#rpressModal .modal__title,
html body.mf-order-flow #rpressModal#rpressModal .modal__header h2,
html body.mf-order-flow #rpressModal#rpressModal .modal__header h3 {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow #rpressModal#rpressModal .modal__close {
  background: var(--mf-surface2) !important;
  border: 1px solid var(--mf-line) !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow #rpressModal#rpressModal .modal__close:hover { border-color: var(--mf-gold) !important; color: var(--mf-gold) !important; }
html body.mf-order-flow #rpressModal#rpressModal label, html body.mf-order-flow #rpressModal#rpressModal p, html body.mf-order-flow #rpressModal#rpressModal h4, html body.mf-order-flow #rpressModal#rpressModal h5, html body.mf-order-flow #rpressModal#rpressModal h6 { color: var(--mf-cream) !important; }
html body.mf-order-flow #rpressModal#rpressModal small, html body.mf-order-flow #rpressModal#rpressModal .rp-muted, html body.mf-order-flow #rpressModal#rpressModal [class*=desc] { color: var(--mf-muted) !important; }
html body.mf-order-flow #rpressModal#rpressModal textarea, html body.mf-order-flow #rpressModal#rpressModal input[type=text], html body.mf-order-flow #rpressModal#rpressModal input[type=number], html body.mf-order-flow #rpressModal#rpressModal select {
  background-color: var(--mf-surface2) !important;
  border: 1px solid var(--mf-line) !important;
  color: var(--mf-cream) !important;
  border-radius: 4px !important;
}
html body.mf-order-flow #rpressModal#rpressModal .submit-fooditem-button,
html body.mf-order-flow #rpressModal#rpressModal .rpress-add-to-cart,
html body.mf-order-flow #rpressModal#rpressModal button[type=submit],
html body.mf-order-flow #rpressModal#rpressModal .modal__footer .button {
  background: var(--mf-red) !important;
  border: 1px solid var(--mf-red) !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
html body.mf-order-flow #rpressModal#rpressModal .submit-fooditem-button:hover,
html body.mf-order-flow #rpressModal#rpressModal .modal__footer .button:hover { background: var(--mf-red-hover) !important; }
html body.mf-order-flow #rpressModal#rpressModal .modal__footer .button.cancel,
html body.mf-order-flow #rpressModal#rpressModal .modal__footer [class*=cancel] {
  background: transparent !important;
  border-color: var(--mf-line) !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow #rpressModal#rpressModal .rpress-qty-stepper,
html body.mf-order-flow #rpressModal#rpressModal [class*=qty] { border-radius: 2px !important; }
html body.mf-order-flow #rpressModal#rpressModal input[type=radio], html body.mf-order-flow #rpressModal#rpressModal input[type=checkbox] { accent-color: var(--mf-red); }

/* Cart total label sits on the dark summary */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-cart-total-wrap,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-cart-total-wrap * { color: var(--mf-cream) !important; }
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rpress-cart-total-wrap .cart-total { color: var(--mf-gold) !important; }

/* Order Online: cart column sticks below the site header + sub-bar */
@media (min-width: 1025px) {
  body.mf-order-flow .rpress-menu-v2 > .rpress-sidebar-cart > .rpressStickySidebar {
    top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--mf-header-h, 96px) + 84px) !important;
    max-height: calc(100vh - var(--mf-header-h, 96px) - 108px);
  }
}

/* Store notices (closed / opening soon) on the dark card */
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rp-mo-closed,
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rp-mo-closed p {
  background: rgba(249, 198, 91, .08) !important;
  border-color: rgba(249, 198, 91, .35) !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .rp-mo-closed p { border: 0 !important; background: transparent !important; }

/* =====================================================
   RECEIPT / ORDER CONFIRMATION (page 56, [rpress_receipt] → .rp-track)
   ===================================================== */
html body.mf-order-flow .rp-track.rp-track-v1 {
  --rp-track-primary: #C4252F !important;
  --rp-track-primary-rgb: 196, 37, 47 !important;
  --rp-track-primary-tint: rgba(196, 37, 47, .14) !important;
  --rp-track-primary-tint-border: rgba(196, 37, 47, .55) !important;
  --rp-track-ink: #F5EFE6 !important;
  --rp-track-body: #E4DCD2 !important;
  --rp-track-muted: #B9ADA2 !important;
  --rp-track-border: #3A2F2B !important;
  --rp-track-border-strong: #54463F !important;
  --rp-track-track: #3A2F2B !important;
  --rp-track-gray-400: #8A7E75 !important;
  --rp-track-page: #120E0D !important;
  --rp-track-success: #6FCF97 !important;
  --rp-track-success-bg: rgba(111, 207, 151, .12) !important;
  --rp-track-danger: #F0525C !important;
  --rp-track-danger-bg: rgba(240, 82, 92, .12) !important;
  --rp-track-font-head: 'Oswald', sans-serif !important;
  --rp-track-font-body: 'Open Sans', sans-serif !important;
  --rp-track-card-shadow: none !important;
  background: transparent !important;
  max-width: 1200px;
  margin: 0 auto;
}
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-hero,
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-card {
  background: var(--mf-surface) !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-dp-icon,
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-dp-icon-neutral {
  background: var(--mf-surface2) !important;
  color: var(--mf-gold) !important;
  border-color: var(--mf-line) !important;
}
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-bar,
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-dot { background: var(--mf-line) !important; }
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-brand .rp-track-order {
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--mf-gold) !important;
}
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-headline,
html body.mf-order-flow .rp-track.rp-track-v1 [class*=rp-track-card-title],
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-card h2,
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-card h3 {
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: .03em;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-eyebrow {
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: .16em;
  color: var(--mf-red-text) !important;
}
html body.mf-order-flow .rp-track.rp-track-v1 [class*=total] strong,
html body.mf-order-flow .rp-track.rp-track-v1 [class*=grand],
html body.mf-order-flow .rp-track.rp-track-v1 [class*=total-amount] {
  font-family: 'Oswald', sans-serif !important;
  color: var(--mf-gold) !important;
}
html body.mf-order-flow .rp-track.rp-track-v1 a { color: var(--mf-gold) !important; }
html body.mf-order-flow .rp-track.rp-track-v1 a:hover { color: var(--mf-cream) !important; }

/* Printed receipt header/footer: rendered by functions.php, print only */
.mf-print-head, .mf-print-foot, .mf-print-inv { display: none; }

@page { size: A4; margin: 12mm; }
@media print {
  html, body.mf-order-flow { background: #fff !important; color: #111 !important; }
  body.mf-order-flow .mf-shared,
  body.mf-order-flow .mf-of-sub,
  body.mf-order-flow #wpadminbar,
  body.mf-order-flow main .wp-block-post-title,
  body.mf-order-flow .rp-track-topbar,
  body.mf-order-flow .rp-track-alerts,
  body.mf-order-flow .rp-track-updated,
  body.mf-order-flow .rp-track-dp-links,
  body.mf-order-flow .rp-track-cancel,
  body.mf-order-flow .rp-track-chev,
  body.mf-order-flow .rpress-mobile-cart-icons,
  body.mf-order-flow #wpfooter { display: none !important; }
  body.mf-order-flow main, body.mf-order-flow .wp-block-post-content { margin: 0 !important; padding: 0 !important; }

  /* Header: logo + restaurant details | receipt + order details */
  body.mf-order-flow .mf-print-head {
    display: flex !important; justify-content: space-between; align-items: flex-start; gap: 24px;
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 2px solid #C4252F;
    font: 11pt/1.4 'Open Sans', Arial, sans-serif; color: #111;
  }
  .mf-print-head p { margin: 0; }
  .mf-print-head__brand { display: flex; gap: 14px; align-items: center; }
  .mf-print-head__brand img { height: 64px; width: auto; max-width: 220px; object-fit: contain; }
  .mf-print-foot__thanks p, .mf-print-foot__text p { margin: 0 0 4px; }
  .mf-print-head__name { font: 600 18pt/1.1 'Oswald', Arial, sans-serif !important; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px !important; }
  .mf-print-head__meta { text-align: right; }
  .mf-print-head__title { font: 600 16pt/1 'Oswald', Arial, sans-serif !important; letter-spacing: .12em; text-transform: uppercase; color: #C4252F; margin-bottom: 6px !important; }

  /* Footer */
  body.mf-order-flow .mf-print-foot {
    display: block !important;
    margin-top: 16px; padding-top: 12px;
    border-top: 1px solid #bbb;
    font: 9.5pt/1.5 'Open Sans', Arial, sans-serif; color: #333; text-align: center;
  }
  .mf-print-foot p { margin: 0 0 4px; }
  .mf-print-foot__thanks { font: 600 12pt/1.3 'Oswald', Arial, sans-serif !important; letter-spacing: .04em; text-transform: uppercase; color: #111; margin-bottom: 6px !important; }

  /* A4 invoice: hide the live tracker UI, show the print-only invoice block */
  html body.mf-order-flow .rp-track.rp-track-v1 { max-width: none !important; background: #fff !important; padding: 0 !important; }
  html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-hero,
  html body.mf-order-flow .rp-track.rp-track-v1 .rp-track-grid { display: none !important; }
  body.mf-order-flow .mf-print-inv { display: block !important; font: 10.5pt/1.45 'Open Sans', Arial, sans-serif; color: #111; }
  .mf-print-inv p { margin: 0; color: #111 !important; }
  .mf-print-inv__info {
    display: flex; justify-content: space-between; gap: 32px;
    padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #bbb;
  }
  .mf-print-inv__info > div:last-child { text-align: right; }
  .mf-print-inv__label {
    font: 600 9pt/1.2 'Oswald', Arial, sans-serif !important;
    letter-spacing: .1em; text-transform: uppercase; color: #C4252F !important; margin-bottom: 3px !important;
  }
  .mf-print-inv__label--gap { margin-top: 8px !important; }
  .mf-print-inv table { width: 100%; border-collapse: collapse; }
  .mf-print-inv td, .mf-print-inv th { color: #111 !important; background: #fff !important; }
  .mf-print-inv__items th {
    font: 600 9pt/1.2 'Oswald', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase;
    text-align: left; padding: 6px 0; border-bottom: 2px solid #111;
  }
  .mf-print-inv__items td { padding: 7px 0; border-bottom: 1px solid #ddd; vertical-align: top; }
  .mf-print-inv__items tr { break-inside: avoid; }
  .mf-print-inv__items th:nth-child(2), .mf-print-inv__items td:nth-child(2) { width: 12%; text-align: center; }
  .mf-print-inv__items th:nth-child(3), .mf-print-inv__items td:nth-child(3) { width: 18%; text-align: right; white-space: nowrap; }
  .mf-print-inv__mod { display: block; font-size: 9pt; color: #555 !important; padding-left: 10px; }
  .mf-print-inv__totals { width: 46% !important; margin: 10px 0 0 auto; break-inside: avoid; }
  .mf-print-inv__totals td { padding: 3px 0; }
  .mf-print-inv__totals td:last-child { text-align: right; white-space: nowrap; }
  .mf-print-inv__grand td {
    padding-top: 8px !important; border-top: 2px solid #111;
    font: 600 13pt/1.2 'Oswald', Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  }
  .mf-print-inv__grand td:last-child { color: #C4252F !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* =====================================================
   TABLET / PHONE (iPad portrait 768–1024, phones below)
   ===================================================== */
/* Menu items: two columns on tablets instead of one long list */
@media (min-width: 600px) and (max-width: 1024px) {
  html body.mf-order-flow .wp-block-post-content .rpress-menu-v2 .food-group-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
/* RestroPress's bottom cart bar (below 1025px) */
html body.mf-order-flow .rpress-mobile-cart-icons.rpress-mobile-cart-icons,
html body.mf-order-flow .rpress-mobile-cart-icons .rp-cart-left-wrap {
  background: rgba(18, 14, 13, .97) !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow .rpress-mobile-cart-icons.rpress-mobile-cart-icons {
  border-top: 1px solid var(--mf-line) !important;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, .5) !important;
  backdrop-filter: blur(6px);
}
html body.mf-order-flow .rpress-mobile-cart-icons .rp-cart-left-wrap * { color: var(--mf-cream) !important; }
html body.mf-order-flow .rpress-mobile-cart-icons .rp-mb-price { color: var(--mf-gold) !important; font-family: 'Oswald', sans-serif !important; font-size: 18px; }
html body.mf-order-flow .rpress-mobile-cart-icons .rp-mb-quantity,
html body.mf-order-flow .rpress-mobile-cart-icons .rp-mb-quantity-label { color: var(--mf-muted) !important; }
html body.mf-order-flow .rpress-mobile-cart-icons .rp-cart-right-wrap {
  background: var(--mf-red) !important;
  border-radius: 2px !important;
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: .08em; text-transform: uppercase;
}
/* Keep the footer clear of the bottom bars */
@media (max-width: 1024px) {
  body.mf-order-flow.page-id-59 .mf-shared .elementor-element-2a45c2a,
  body.mf-order-flow.page-id-55 .mf-shared .elementor-element-2a45c2a { padding-bottom: 96px !important; }
}

/* Customer Print receipt button: off unless enabled in RestroPress → Settings → Printing */
body.mf-no-receipt-print .rp-track-print { display: none !important; }

/* =====================================================
   Delivery / pickup schedule popup (#rpressDateTime): area dropdown,
   postcode, date + time selects. Same dark skin as the item popup.
   ===================================================== */
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal__overlay { background: rgba(8, 6, 5, .78) !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal__container,
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal__header,
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal__content,
html body.mf-order-flow #rpressDateTime#rpressDateTime .bg-gray,
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-time-preference-wrap,
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-popup-service-content,
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal-footer {
  background: var(--mf-surface) !important;
  background-color: var(--mf-surface) !important;
  color: var(--mf-cream) !important;
  border-color: var(--mf-line) !important;
  box-shadow: none !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal__container {
  border: 1px solid var(--mf-line) !important; border-radius: 6px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6) !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-popup-header-copy { border-bottom: 1px solid var(--mf-line) !important; background: transparent !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime #rpressDateTime-title {
  font-family: 'Oswald', sans-serif !important; font-weight: 500 !important;
  text-transform: uppercase !important; letter-spacing: .05em !important;
  color: var(--mf-cream) !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-popup-subtext { color: var(--mf-muted) !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal__close {
  background-color: var(--mf-surface2) !important; border: 1px solid var(--mf-line) !important;
  color: var(--mf-cream) !important; box-shadow: none !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal__close::before,
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal__close::after { color: var(--mf-cream) !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal__close:hover { border-color: var(--mf-gold) !important; color: var(--mf-gold) !important; }

/* Field labels: area, date, time */
html body.mf-order-flow #rpressDateTime#rpressDateTime .mf-area__label,
html body.mf-order-flow #rpressDateTime#rpressDateTime .delivery-time-text,
html body.mf-order-flow #rpressDateTime#rpressDateTime .pickup-time-text {
  display: block !important; margin: 0 0 8px !important;
  font: 600 14px/1.3 'Open Sans', sans-serif !important;
  letter-spacing: 0 !important; text-transform: none !important;
  color: var(--mf-cream) !important; opacity: 1 !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime .mf-area__hint { color: var(--mf-muted) !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .mf-area__hint.is-warn { color: var(--mf-gold) !important; }

/* Dropdowns + postcode: one look, gold chevron like the area dropdown */
html body.mf-order-flow #rpressDateTime#rpressDateTime select,
html body.mf-order-flow #rpressDateTime#rpressDateTime input[type=text],
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-input {
  width: 100% !important; height: 48px !important; min-height: 48px !important;
  padding: 0 14px !important; margin: 0 !important;
  background-color: var(--mf-surface2) !important;
  border: 1px solid var(--mf-line) !important; border-radius: 4px !important;
  color: var(--mf-cream) !important; box-shadow: none !important;
  font: 400 15px/1.2 'Open Sans', sans-serif !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime select {
  padding-right: 40px !important; cursor: pointer;
  -webkit-appearance: none !important; appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%228%22 viewBox=%220 0 12 8%22%3E%3Cpath d=%22M1 1l5 5 5-5%22 fill=%22none%22 stroke=%22%23F9C65B%22 stroke-width=%221.6%22/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime select option { background: var(--mf-surface) !important; color: var(--mf-cream) !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime input::placeholder { color: var(--mf-muted) !important; opacity: 1 !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime select:focus,
html body.mf-order-flow #rpressDateTime#rpressDateTime input:focus {
  outline: none !important; border-color: var(--mf-gold) !important;
  box-shadow: 0 0 0 3px rgba(249, 198, 91, .18) !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-delivery-zone-wrapper { margin: 0 0 4px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-delivery-zone-wrapper::before,
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-delivery-zone-wrapper::after { display: none !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-service-date-row,
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-service-hours-row { margin: 0 0 16px !important; padding-left: 0 !important; padding-right: 0 !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-service-type-message { border-color: var(--mf-line) !important; }

/* Closed / notice message */
html body.mf-order-flow #rpressDateTime#rpressDateTime .alert,
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-service-closed-message {
  background: rgba(249, 198, 91, .08) !important; border: 1px solid rgba(249, 198, 91, .35) !important;
  border-radius: 4px !important; color: var(--mf-cream) !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime .alert * { color: var(--mf-cream) !important; }

/* Delivery / Pickup tabs (if shown) */
html body.mf-order-flow #rpressDateTime#rpressDateTime .nav-pills .nav-link {
  background: transparent !important; border: 1px solid var(--mf-line) !important; border-radius: 2px !important;
  color: var(--mf-muted) !important; font-family: 'Oswald', sans-serif !important; text-transform: uppercase !important; letter-spacing: .08em !important;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime .nav-pills .nav-link.active { background: var(--mf-red) !important; border-color: var(--mf-red) !important; color: #fff !important; }

/* Buttons */
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal-footer { border-top: 1px solid var(--mf-line) !important; display: flex !important; gap: 10px !important; justify-content: flex-end !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .modal-footer button {
  min-height: 48px !important; padding: 0 24px !important; border-radius: 2px !important;
  font: 500 15px/1 'Oswald', sans-serif !important; letter-spacing: .08em !important; text-transform: uppercase !important;
  box-shadow: none !important; cursor: pointer;
}
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-editaddress-cancel-btn { background: transparent !important; border: 1px solid var(--mf-line) !important; color: var(--mf-cream) !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-editaddress-cancel-btn:hover { border-color: var(--mf-gold) !important; color: var(--mf-gold) !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-editaddress-submit-btn { background: var(--mf-red) !important; border: 1px solid var(--mf-red) !important; color: #fff !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-editaddress-submit-btn:hover { background: var(--mf-red-hover) !important; border-color: var(--mf-red-hover) !important; }
html body.mf-order-flow #rpressDateTime#rpressDateTime .rpress-editaddress-submit-btn * { color: #fff !important; }

/* ======================================================================
   Order history ([rpress_receipt] history, /checkout/orders/) + order
   details popup. RestroPress ships these as light cards with dark text,
   which fade into our dark page. Reskin them dark with cream text (:not(#_x) outranks their #id !important rules).
   ==================================================================== */
body.mf-order-flow:not(#_x) .rpress-order-history,
body.mf-order-flow:not(#_x) .rpress-order-history-heading { color: var(--mf-cream) !important; }
body.mf-order-flow:not(#_x) .rpress-order-history-heading h2 { color: var(--mf-cream) !important; }
/* width:100% + padding overflowed the viewport by 24px on mobile/tablet */
body.mf-order-flow:not(#_x) .rpress-order-history { box-sizing: border-box !important; max-width: 100% !important; }
body.mf-order-flow:not(#_x) .rpress-order-history-eyebrow { color: var(--mf-red-text) !important; }
body.mf-order-flow:not(#_x) .rpress-order-history-count {
  color: var(--mf-cream) !important; background: var(--mf-surface2) !important; border: 1px solid var(--mf-line) !important;
}
body.mf-order-flow:not(#_x) .rpress-history-card {
  background: var(--mf-surface) !important; background-image: none !important;
  border: 1px solid var(--mf-line) !important; box-shadow: none !important; color: var(--mf-cream) !important;
}
body.mf-order-flow:not(#_x) .rpress-history-card h3,
body.mf-order-flow:not(#_x) .rpress-history-card strong,
body.mf-order-flow:not(#_x) .rpress-history-card p { color: var(--mf-cream) !important; }
body.mf-order-flow:not(#_x) .rpress-history-card .rpress-history-items p { color: var(--mf-muted) !important; }
body.mf-order-flow:not(#_x) .rpress-history-card-label,
body.mf-order-flow:not(#_x) .rpress-history-meta-item > span,
body.mf-order-flow:not(#_x) .rpress-history-items > span,
body.mf-order-flow:not(#_x) .rpress-history-total > span { color: var(--mf-gold) !important; }
body.mf-order-flow:not(#_x) .rpress-history-meta-item {
  background: var(--mf-surface2) !important; border-color: var(--mf-line) !important;
}
body.mf-order-flow:not(#_x) .rpress-history-card-footer { border-top-color: var(--mf-line) !important; }
body.mf-order-flow:not(#_x) .rpress-history-total strong { color: var(--mf-gold) !important; font-size: 18px; }
body.mf-order-flow:not(#_x) .rpress-history-card .rpress-status-badge {
  background: rgba(249, 198, 91, .12) !important; color: var(--mf-gold) !important; border: 1px solid rgba(249, 198, 91, .35) !important;
}
body.mf-order-flow:not(#_x) .rp-infi-load,
body.mf-order-flow:not(#_x) .rp-infi-loading { color: var(--mf-muted) !important; }

/* Order details popup */
body.mf-order-flow:not(#_x) .modal__container .rp-od-title,
body.mf-order-flow:not(#_x) .modal__container .rp-od-h,
body.mf-order-flow:not(#_x) .modal__container .rp-od-item-name,
body.mf-order-flow:not(#_x) .modal__container .rp-od-item-price,
body.mf-order-flow:not(#_x) .modal__container dd { color: var(--mf-cream) !important; }
body.mf-order-flow:not(#_x) .modal__container .rp-od-sub,
body.mf-order-flow:not(#_x) .modal__container .rp-od-qty,
body.mf-order-flow:not(#_x) .modal__container dt { color: var(--mf-muted) !important; }
body.mf-order-flow:not(#_x) .modal__container dl dt:last-of-type,
body.mf-order-flow:not(#_x) .modal__container dl dd:last-of-type { font-weight: 700; }
body.mf-order-flow:not(#_x) .modal__container dl:last-of-type dd:last-of-type { color: var(--mf-gold) !important; }
body.mf-order-flow:not(#_x) .modal__container .rp-od-status {
  background: rgba(249, 198, 91, .12) !important; color: var(--mf-gold) !important; border: 1px solid rgba(249, 198, 91, .35) !important;
}
body.mf-order-flow:not(#_x) .modal__container .rp-od-close {
  background: var(--mf-surface2) !important; color: var(--mf-cream) !important; border: 1px solid var(--mf-line) !important;
}
body.mf-order-flow:not(#_x) .modal__container .rp-od-actions {
  background: var(--mf-surface) !important; border-top: 1px solid var(--mf-line) !important;
}
body.mf-order-flow:not(#_x) .modal__container hr,
body.mf-order-flow:not(#_x) .modal__container [class*="rp-od-"] { border-color: var(--mf-line); }

/* Login / Register / Forgot password forms (RestroPress) on the dark account pages. */
body.mf-order-flow:not(#_x) .rpress-login-hd { color: var(--mf-cream) !important; }
body.mf-order-flow:not(#_x) .welcome-text-wrap { color: var(--mf-muted) !important; }
body.mf-order-flow:not(#_x) #rpress_login_form label,
body.mf-order-flow:not(#_x) #rpress_register_form label,
body.mf-order-flow:not(#_x) .rpress-login-form label,
body.mf-order-flow:not(#_x) .rpress-register-form label { color: var(--mf-cream) !important; }
body.mf-order-flow:not(#_x) .hr-lines { color: var(--mf-muted) !important; }
/* No social sign-in configured: drop the empty slot and its 'or ... with' divider. */
body.mf-order-flow:not(#_x) .gmail-login-link-wrap:not(:has(*)),
body.mf-order-flow:not(#_x) .gmail-login-link-wrap:not(:has(*)) + .hr-lines { display: none !important; }
body.mf-order-flow:not(#_x) .register-link-wrap { color: var(--mf-muted) !important; }
/* Forgot password ([custom_forgot_password]) */
body.page-id-62.mf-order-flow:not(#_x) .entry-content h2 { color: var(--mf-cream) !important; }
body.page-id-62.mf-order-flow:not(#_x) .entry-content p { color: var(--mf-muted) !important; }
body.page-id-62.mf-order-flow:not(#_x) .entry-content label { color: var(--mf-cream) !important; }
body.page-id-62.mf-order-flow:not(#_x) .reset-button { border-radius: 2px !important; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
body.page-id-62.mf-order-flow:not(#_x) .reset-button:hover { background: var(--mf-red-hover) !important; }
body.page-id-62.mf-order-flow:not(#_x) .login-link a { color: var(--mf-gold) !important; }
