.wc-price-compare {
  --wc-yellow: #FFE046;
  --wc-green: #18B35A;
  --wc-blue: #00BAE9;
  --wc-orange: #FF6A00;
  --wc-ink: #0F0F0D;
  --wc-cream: #FFFDF4;
  --wc-line: #DDD9CB;
  max-width: 820px;
  margin: 30px auto;
  font-family: Nunito, Arial, sans-serif;
  color: var(--wc-ink);
  overflow: visible !important;
}
.wc-price-compare * { box-sizing: border-box; }
.wc-price-compare [hidden] { display: none !important; }

/* Customer-choice statement above the existing calculator. */
.wc-price-compare__choice {
  padding: 0 20px 20px;
  text-align: center;
}
.wc-price-compare__choice h2 {
  margin: 0 0 8px;
  color: #0F0F0D;
  font: 900 30px/38px Nunito, Arial, sans-serif;
}
.wc-price-compare__choice p {
  margin: 0;
  color: #0F0F0D;
  font: 900 17px/25px Nunito, Arial, sans-serif;
}
.wc-price-compare__choice-heading-line,
.wc-price-compare__choice-copy-part {
  display: inline;
}
.wc-price-compare__choice-mobile-word { display: none; }
@media (max-width: 700px) and (orientation: portrait) {
  .wc-price-compare__choice-desktop-word { display: none; }
  .wc-price-compare__choice-mobile-word { display: inline; }
}
.wc-price-compare__choice-line,
.wc-price-compare__choice-brand {
  display: block;
  text-transform: uppercase;
}
.wc-price-compare__choice-line {
  font-size: 17px;
  line-height: 25px;
}
.wc-price-compare__choice-brand {
  font-size: 28px;
  line-height: 32px;
  font-weight: 900;
  margin-top: 2px;
}
@media (max-width: 700px) {
  .wc-price-compare__choice h2 { font-size: 25px; line-height: 32px; }
  .wc-price-compare__choice p { font-size: 16px; line-height: 24px; }
  .wc-price-compare__choice-heading-line,
  .wc-price-compare__choice-copy-part { display: block; }
  .wc-price-compare__choice-line { font-size: 16px; line-height: 24px; }
  .wc-price-compare__choice-brand { font-size: 24px; line-height: 28px; }
}

.wc-price-compare__intro {
  margin-bottom: 16px;
  padding: 24px 26px;
  border: 1px solid var(--wc-line);
  border-radius: 20px;
  background: var(--wc-cream);
  box-shadow: 0 8px 22px rgba(15,15,13,.07);
}
.wc-price-compare__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 17px;
  font-weight: 900;
  letter-spacing: 1.4px;
}
.wc-price-compare__intro h2 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 38px;
  font-weight: 900;
}
.wc-price-compare__intro p:last-child {
  margin: 0;
  max-width: 650px;
  font-size: 16px;
  line-height: 24px;
  color: #4B4B46;
}

.wc-price-compare__progress {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}
.wc-price-compare__progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 9px 12px 9px 14px;
  border: 1px solid var(--wc-line);
  border-radius: 14px;
  background: #FFFFFF;
}
.wc-price-compare__progress-copy {
  min-width: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.wc-price-compare__progress-copy::before {
  content: "✓ ";
  color: var(--wc-green);
}
.wc-price-compare__change {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 5px 11px;
  border: 1px solid var(--wc-ink);
  border-radius: 999px;
  background: var(--wc-cream);
  color: var(--wc-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.wc-price-compare__form {
  position: relative;
  display: grid;
  gap: 14px;
  transition-property: height;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}
.wc-price-compare__form.is-wc-stage-transitioning {
  overflow: hidden;
}

.wc-price-compare__section {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--wc-line);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 8px 22px rgba(15,15,13,.06);
}
.wc-price-compare__question {
  width: 100%;
  margin: 6px 0 18px;
  padding: 0;
  color: var(--wc-ink);
  font-size: 19px;
  line-height: 25px;
  font-weight: 900;
  text-align: center;
}
.wc-price-compare__hint {
  margin: 0 0 13px;
  color: #595952;
  font-size: 14px;
  line-height: 21px;
}
.wc-price-compare__providers,
.wc-price-compare__meal-size {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wc-price-compare__provider,
.wc-price-compare__meal-choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 150px;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid #BDB9AC;
  border-radius: 14px;
  background: var(--wc-cream);
  color: var(--wc-ink);
  cursor: pointer;
  font-weight: 900;
}
.wc-price-compare__provider input,
.wc-price-compare__meal-choice input {
  width: 19px;
  height: 19px;
  accent-color: var(--wc-green);
}
.wc-price-compare__provider:has(input:checked),
.wc-price-compare__meal-choice:has(input:checked) {
  border-color: var(--wc-ink);
  background: var(--wc-yellow);
  box-shadow: inset 0 0 0 1px var(--wc-ink);
}
.wc-price-compare__provider.is-disabled { opacity: .38; cursor: not-allowed; }
.wc-price-compare__provider.is-unavailable { border-style: dashed; opacity: .68; }
.wc-price-compare__provider.is-unavailable::after {
  content: "Needs price data";
  font-size: 10px;
  font-weight: 900;
  color: #6B6254;
}

.wc-price-compare__restaurant-search { position: relative; max-width: 600px; }
.wc-price-compare__restaurant-search label,
.wc-price-compare__meal-grid label,
.wc-price-compare__postcode {
  display: grid;
  gap: 7px;
  font-weight: 900;
}
.wc-price-compare input[type="search"],
.wc-price-compare input[type="text"],
.wc-price-compare select {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #A9A69C;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--wc-ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.wc-price-compare input[type="search"]:focus,
.wc-price-compare input[type="text"]:focus,
.wc-price-compare select:focus {
  border-color: var(--wc-ink);
  box-shadow: 0 0 0 3px rgba(255,224,70,.42);
}
.wc-price-compare__suggestions {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: 78px;
  max-height: 420px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #A9A69C;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(15,15,13,.13);
}
.wc-price-compare__suggestion,
.wc-price-compare__suggestion-empty {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #E5E2D8;
  background: #FFFFFF;
  color: var(--wc-ink);
  text-align: left;
  font: inherit;
}
.wc-price-compare__suggestion { cursor: pointer; font-weight: 800; }
.wc-price-compare__suggestion:hover { background: var(--wc-cream); }
.wc-price-compare__status { margin: 10px 0 0; color: #595952; font-size: 14px; }

.wc-price-compare__meal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}
.wc-price-compare__postcode { max-width: 340px; }
.wc-price-compare__continue,
.wc-price-compare__submit {
  min-height: 52px;
  margin-top: 18px;
  padding: 11px 20px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}
.wc-price-compare__continue {
  min-width: 180px;
  background: var(--wc-yellow);
  color: var(--wc-ink);
  border: 1px solid var(--wc-ink);
}
.wc-price-compare__submit {
  width: 100%;
  background: var(--wc-green);
  color: #FFFFFF;
}
.wc-price-compare__submit:disabled { opacity: .55; cursor: wait; }
.wc-price-compare__error {
  padding: 12px 14px;
  border: 1px solid #C43D32;
  border-radius: 12px;
  background: #FFF0EF;
  color: #7B241D;
  font-weight: 900;
}
.wc-price-compare__error.is-out-of-range {
  border-color: var(--wc-orange);
  background: var(--wc-cream);
  color: var(--wc-ink);
  font-size: 16px;
  line-height: 23px;
}

.wc-price-compare__results { margin-top: 24px; scroll-margin-top: 20px; }
.wc-price-compare__results-title { margin: 0 0 14px; font-size: 26px; line-height: 32px; }
.wc-price-compare__result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 14px;
}
.wc-price-compare__card {
  padding: 20px;
  border: 1px solid #CFCBBE;
  border-radius: 18px;
  background: #FFFFFF;
  color: var(--wc-ink);
}
.wc-price-compare__card--wc {
  border: 2px solid var(--wc-green);
  background: var(--wc-cream);
}
.wc-price-compare__card--provider { background: #FFFFFF; }
.wc-price-compare__card-label { margin-bottom: 6px; font-size: 12px; font-weight: 900; letter-spacing: 1px; }
.wc-price-compare__total { font-size: 34px; line-height: 40px; font-weight: 900; }
.wc-price-compare__delivered { margin: 2px 0 14px; font-weight: 800; }
.wc-price-compare__breakdown { padding-top: 10px; border-top: 1px solid #DEDED8; }
.wc-price-compare__breakdown-row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.wc-price-compare__saving { margin-top: 14px; padding: 11px 12px; border-radius: 10px; font-weight: 900; }
.wc-price-compare__saving.is-saving { background: #E8F8EE; color: #116B38; }
.wc-price-compare__saving.is-platform-cheaper { background: #FFF5D6; color: #6C4C00; }
.wc-price-compare__saving.is-same-price { background: #F1F1ED; color: #33332F; }
.wc-price-compare__promo { display: grid; gap: 4px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--wc-yellow); }
.wc-price-compare__promo span { font-size: 13px; }
.wc-price-compare__checked { margin: 10px 0 0; font-size: 12px; color: #66665F; }
.wc-price-compare__card.is-incomplete { border-style: dashed; }
.wc-price-compare__incomplete-title { font-weight: 900; color: #8D4100; }
.wc-price-compare__missing { font-size: 14px; }
.wc-price-compare__order-summary { margin-top: 14px; padding: 18px; border-radius: 14px; background: #F5F5F1; }
.wc-price-compare__order-summary h4 { margin: 0 0 8px; }
.wc-price-compare__breakdown--fees { margin-top: 12px; }
.wc-price-compare__fee-note,
.wc-price-compare__disclosure { font-size: 14px; line-height: 20px; color: #55554F; }
.wc-price-compare__platform-link { display: inline-block; margin-top: 8px; font-weight: 900; color: var(--wc-ink); }
.wc-price-compare__disclosure { margin: 10px 2px 0; }
.wc-price-compare__estimate-details { margin-top: 10px; font-size: 14px; line-height: 20px; }
.wc-price-compare__estimate-details summary { cursor: pointer; font-weight: 900; }
.wc-price-compare__estimate-details p { margin: 8px 0 0; color: #55554F; }

.wc-price-compare__direct-rewards {
  position: relative;
  margin-top: 26px;
  padding: 20px 20px 18px;
  border: 2px solid #0F0F0D;
  border-radius: 20px;
  background: #FF5C9A;
  color: #0F0F0D;
  font-family: Nunito, Arial, sans-serif;
  box-shadow: 5px 5px 0 #0F0F0D;
}
.wc-price-compare__direct-rewards::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 34px;
  width: 22px;
  height: 22px;
  background: #FF5C9A;
  border-top: 2px solid #0F0F0D;
  border-left: 2px solid #0F0F0D;
  transform: rotate(45deg);
}
.wc-price-compare__direct-rewards-title {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 19px;
  line-height: 25px;
  font-weight: 900;
}
.wc-price-compare__direct-rewards-copy {
  position: relative;
  z-index: 1;
  margin: 7px 0 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 800;
}
.wc-price-compare__direct-rewards-group-title {
  margin: 17px 0 7px;
  font-size: 15px;
  line-height: 21px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .45px;
}
.wc-price-compare__direct-rewards-group-title.is-context {
  padding-top: 14px;
  border-top: 2px solid rgba(15,15,13,.32);
}
.wc-price-compare__direct-rewards-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wc-price-compare__direct-rewards-item {
  margin: 0 0 10px;
  padding: 12px 13px;
  border: 1px solid rgba(15,15,13,.45);
  border-radius: 12px;
  background: rgba(255,253,244,.46);
}
.wc-price-compare__direct-rewards-item:last-child { margin-bottom: 0; }
.wc-price-compare__direct-rewards-offer-name,
.wc-price-compare__direct-rewards-offer-benefit,
.wc-price-compare__direct-rewards-offer-eligibility,
.wc-price-compare__direct-rewards-offer-conditions,
.wc-price-compare__direct-rewards-offer-channel,
.wc-price-compare__direct-rewards-offer-validity,
.wc-price-compare__direct-rewards-source {
  display: block;
  color: #0F0F0D;
}
.wc-price-compare__direct-rewards-offer-name { font-size: 15px; line-height: 21px; font-weight: 900; }
.wc-price-compare__direct-rewards-offer-benefit { margin-top: 2px; font-size: 15px; line-height: 21px; font-weight: 900; }
.wc-price-compare__direct-rewards-offer-eligibility,
.wc-price-compare__direct-rewards-offer-conditions,
.wc-price-compare__direct-rewards-offer-channel,
.wc-price-compare__direct-rewards-offer-validity {
  margin-top: 3px;
  font-size: 12px;
  line-height: 17px;
  font-weight: 700;
}
.wc-price-compare__direct-rewards-source {
  width: fit-content;
  margin-top: 7px;
  font-size: 12px;
  line-height: 17px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wc-price-compare__direct-rewards-disclaimer {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 17px;
  font-weight: 800;
}

@media (max-width: 700px) {
  .wc-price-compare { margin: 18px 12px; }
  .wc-price-compare__intro { padding: 20px; }
  .wc-price-compare__intro h2 { font-size: 26px; line-height: 32px; }
  .wc-price-compare__section { padding: 24px 18px 18px; }
  .wc-price-compare__question {
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-size: 18px;
    line-height: 24px;
  }
  .wc-price-compare__meal-grid,
  .wc-price-compare__result-grid { grid-template-columns: 1fr; }
  .wc-price-compare__provider,
  .wc-price-compare__meal-choice { min-width: 0; flex: 1 1 140px; }
  .wc-price-compare__progress-row { align-items: flex-start; }
  .wc-price-compare__breakdown-row { gap: 10px; }
}

/* =========================================================
   ELEMENTOR CTA-WIDTH + HOMEPAGE PRESENTATION — 1.0.101
   Width now follows the Price Comparison shortcode itself,
   rather than relying on WordPress body.home. This keeps the
   staging/homepage presentation consistent and removes the need
   for a separate homepage CSS override.
========================================================= */
.elementor .e-con-boxed:has(.wc-price-compare) > .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.elementor .elementor-widget-shortcode:has(.wc-price-compare),
.elementor .elementor-widget-shortcode:has(.wc-price-compare) > .elementor-widget-container,
.elementor .elementor-widget-shortcode:has(.wc-price-compare) .elementor-shortcode {
  width: 100% !important;
  max-width: none !important;
}

.elementor .wc-price-compare {
  width: 100% !important;
  max-width: none !important;
  margin: 14px 0 !important;
  padding: 28px 16px !important;
  background: linear-gradient(180deg, #FFE225 0%, #FFD83D 100%) !important;
  border-radius: 30px !important;
  overflow: visible !important;
}

@media (max-width: 1024px) {
  .elementor .e-con-boxed:has(.wc-price-compare) > .e-con-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 767px) {

  .elementor .wc-price-compare {
    margin: 8px 0 !important;
    padding: 22px 10px !important;
    border-radius: 24px !important;
  }
}

/* =========================================================
   CENTRED WIZARD CONTENT — 1.0.88
   Keep the full-width CTA-aligned calculator, but centre the
   intro and every wizard stage consistently.
========================================================= */
.wc-price-compare__intro {
  text-align: center;
}

.wc-price-compare__intro p:last-child {
  margin-left: auto;
  margin-right: auto;
}

.wc-price-compare__section {
  text-align: center;
}

.wc-price-compare__question {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 8px 0 18px !important;
  padding: 0 !important;
  text-align: center !important;
}

.wc-price-compare__hint,
.wc-price-compare__status {
  text-align: center;
}

.wc-price-compare__providers,
.wc-price-compare__meal-size {
  justify-content: center;
}

.wc-price-compare__restaurant-search {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.wc-price-compare__postcode {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wc-price-compare__postcode input[type="text"] {
  text-align: center;
}

.wc-price-compare__meal-grid {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.wc-price-compare__continue {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wc-price-compare__error {
  text-align: center;
}

/* =========================================================
   SOFT WIZARD HANDOFFS — 1.0.97
   Visual transitions only. Wizard logic, data and stage order
   remain unchanged.
========================================================= */
.wc-price-compare__section.is-wc-stage-leaving,
.wc-price-compare__section.is-wc-stage-entering {
  will-change: opacity, transform;
}

.wc-price-compare__section.is-wc-stage-leaving {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 120ms cubic-bezier(.4, 0, .2, 1),
    transform 120ms cubic-bezier(.4, 0, .2, 1);
}

.wc-price-compare__section.is-wc-stage-entering {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 120ms cubic-bezier(.22, 1, .36, 1),
    transform 120ms cubic-bezier(.22, 1, .36, 1);
}

.wc-price-compare__section.is-wc-stage-entering.is-wc-stage-entering-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wc-price-compare__progress {
  transition: height 120ms cubic-bezier(.22, 1, .36, 1);
}

.wc-price-compare__progress-row.is-wc-progress-row-new {
  animation: wc-price-progress-soft-in 120ms cubic-bezier(.22, 1, .36, 1) both;
}

.wc-price-compare__results.is-wc-results-entering {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 120ms cubic-bezier(.22, 1, .36, 1),
    transform 120ms cubic-bezier(.22, 1, .36, 1);
}

.wc-price-compare__results.is-wc-results-entering.is-wc-results-visible {
  opacity: 1;
  transform: translateY(0);
}

.wc-price-compare__results.is-wc-results-leaving {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 120ms cubic-bezier(.4, 0, .2, 1),
    transform 120ms cubic-bezier(.4, 0, .2, 1);
}

.wc-price-compare--soft-ready .wc-price-compare__intro {
  animation: wc-price-intro-soft-in 120ms cubic-bezier(.22, 1, .36, 1) both;
}

.wc-price-compare--soft-ready [data-wc-step="1"]:not([hidden]) {
  animation: wc-price-stage-first-soft-in 120ms cubic-bezier(.22, 1, .36, 1) 0ms both;
}

@keyframes wc-price-progress-soft-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wc-price-intro-soft-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wc-price-stage-first-soft-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wc-price-compare__form,
  .wc-price-compare__progress,
  .wc-price-compare__section,
  .wc-price-compare__results,
  .wc-price-compare__progress-row,
  .wc-price-compare__intro {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}


/* =========================================================
   RESTAURANT DROPDOWN STACKING FIX — 1.0.98
   Do not create a permanent transform stacking context on
   settled wizard stages. Keep the active search above later
   homepage CTA/card content.
========================================================= */
.wc-price-compare__restaurant-search {
  z-index: 10000;
}

.wc-price-compare__suggestions {
  z-index: 10001;
}

/* =========================================================
   UNIFORM MOTION SYSTEM — 1.0.99
   Every wizard handoff now uses the same choreography:
   120ms soft close -> 80ms quiet pause -> 120ms soft open.
========================================================= */


/* =========================================================
   PROVIDER BRAND COLOURS — 1.0.102
   Visual-only treatment for Step 1 provider choices and the
   completed provider progress row. The Change button keeps
   its existing WE-COLLECT styling.
========================================================= */
.wc-price-compare__provider:has(input[value="deliveroo"]) {
  background: #00CCBC;
  color: var(--wc-ink);
}

.wc-price-compare__provider:has(input[value="uber_eats"]) {
  background: #06C167;
  color: var(--wc-ink);
}

.wc-price-compare__provider:has(input[value="just_eat"]) {
  background: #FF8000;
  color: var(--wc-ink);
}

.wc-price-compare__provider:has(input[value="deliveroo"]:checked),
.wc-price-compare__provider:has(input[value="uber_eats"]:checked),
.wc-price-compare__provider:has(input[value="just_eat"]:checked) {
  border-color: var(--wc-ink);
  box-shadow: inset 0 0 0 1px var(--wc-ink);
}

.wc-price-compare__provider:has(input[value="deliveroo"]) input,
.wc-price-compare__provider:has(input[value="uber_eats"]) input,
.wc-price-compare__provider:has(input[value="just_eat"]) input {
  accent-color: var(--wc-ink);
}

.wc-price-compare__progress-row--deliveroo {
  background: #00CCBC;
  color: var(--wc-ink);
  border-color: #00AFA1;
}

.wc-price-compare__progress-row--uber-eats {
  background: #06C167;
  color: var(--wc-ink);
  border-color: #049C53;
}

.wc-price-compare__progress-row--just-eat {
  background: #FF8000;
  color: var(--wc-ink);
  border-color: #D96D00;
}

.wc-price-compare__progress-row--deliveroo .wc-price-compare__progress-copy::before,
.wc-price-compare__progress-row--uber-eats .wc-price-compare__progress-copy::before,
.wc-price-compare__progress-row--just-eat .wc-price-compare__progress-copy::before {
  color: var(--wc-ink);
}

.wc-price-compare__progress-row--deliveroo .wc-price-compare__change,
.wc-price-compare__progress-row--uber-eats .wc-price-compare__change,
.wc-price-compare__progress-row--just-eat .wc-price-compare__change {
  background: var(--wc-cream);
  color: var(--wc-ink);
  border-color: var(--wc-ink);
}


/* =========================================================
   PROVIDER LOGO BUTTONS + COMPACT SELECTED STRIP — 1.0.103
   The radio remains the actual customer control. Provider
   names are represented by the supplied WordPress logo images.
========================================================= */
.wc-price-compare__provider {
  justify-content: flex-start;
  min-width: 188px;
  min-height: 54px;
  padding: 6px 10px;
  overflow: hidden;
}

.wc-price-compare__provider input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid var(--wc-ink);
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.45);
  position: relative;
}

.wc-price-compare__provider input[type="radio"]::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--wc-ink);
  transform: scale(0);
  transition: transform 0.18s ease;
}

.wc-price-compare__provider input[type="radio"]:checked::after {
  transform: scale(1);
}

.wc-price-compare__provider-logo {
  display: block;
  width: 132px;
  max-width: calc(100% - 28px);
  height: 40px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 10px;
}


/* =========================================================
   PROVIDER BUTTON FULL BRAND BACKGROUNDS — 1.0.104
   Step 1 provider buttons now carry the same brand colour as
   the logo panel itself, while the radio stays white.
========================================================= */
.wc-price-compare__provider:has(input[value="deliveroo"]) {
  background: #00CCBC;
  border-color: #00AFA1;
}

.wc-price-compare__provider:has(input[value="uber_eats"]) {
  background: #06C167;
  border-color: #049C53;
}

.wc-price-compare__provider:has(input[value="just_eat"]) {
  background: #FF8000;
  border-color: #D96D00;
}

.wc-price-compare__provider:has(input:checked) {
  box-shadow: inset 0 0 0 1px var(--wc-ink);
}

.wc-price-compare__progress-row--provider {
  width: max-content;
  max-width: 100%;
  min-height: 50px;
  margin-left: auto;
  margin-right: auto;
  padding: 6px 8px 6px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.wc-price-compare__progress-copy--provider {
  display: flex;
  align-items: center;
  min-width: 0;
}

.wc-price-compare__progress-copy--provider::before {
  content: none !important;
}

.wc-price-compare__selected-provider-logo {
  display: block;
  width: 120px;
  max-width: 42vw;
  height: 36px;
  object-fit: contain;
  border: 0;
}

@media (max-width: 700px) {
  .wc-price-compare__provider {
    min-width: 170px;
    flex: 1 1 170px;
    padding: 6px 9px;
  }

  .wc-price-compare__provider-logo {
    width: 118px;
    height: 36px;
  }

  .wc-price-compare__progress-row--provider {
    align-items: center;
  }
}


/* =========================================================
   MOBILE PORTRAIT PROVIDER BUTTON CONTENT-HUG — 1.0.105
   Keep provider choices compact: radio + logo only, centred.
========================================================= */
@media (max-width: 767px) and (orientation: portrait) {
  .wc-price-compare__providers {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .wc-price-compare__provider {
    flex: 0 0 auto;
    width: max-content;
    max-width: calc(100% - 24px);
    min-width: 0;
    padding: 6px 10px;
  }

  .wc-price-compare__provider-logo {
    width: 128px;
    max-width: 128px;
    height: 38px;
  }
}

/* Vendor-retention information: final customer results only. */


/* 1.0.114: compact, progressively disclosed comparison results. */
.wc-price-compare__results {scroll-margin-top: 80px; margin-top: 12px;}
.wc-price-compare__results-title {font-size: clamp(17px, 3vw, 22px); line-height: 1.25; margin-bottom: 10px;}
.wc-price-compare__result-grid {gap: 10px;}
.wc-price-compare__result-grid .wc-price-compare__card {padding: 13px 14px; border-radius: 14px;}
.wc-price-compare__result-grid .wc-price-compare__total {font-size: clamp(26px, 5vw, 34px); line-height: 1.12;}
.wc-price-compare__result-grid .wc-price-compare__delivered {margin: 2px 0 5px; font-size: 12px;}
.wc-price-compare__result-grid .wc-price-compare__saving {margin-top: 7px; padding: 7px 9px; font-size: 13px;}
.wc-price-compare__compact-details {margin-top: 8px; font-size: 13px;}
.wc-price-compare__compact-details > summary {cursor:pointer; list-style:none; padding: 9px 11px; border: 1px solid #D5D5CC; border-radius: 10px; background: #F5F5F1; color:#0F0F0D; font-weight: 800;}
.wc-price-compare__compact-details > summary::-webkit-details-marker {display:none;}
.wc-price-compare__compact-details > summary::after {content:'+'; float:right; font-weight:900; font-size:18px; line-height:15px;}
.wc-price-compare__compact-details[open] > summary::after {content:'−';}
.wc-price-compare__compact-details > :not(summary) {margin-top: 8px;}
.wc-price-compare__direct-rewards {margin-top: 10px; padding: 13px; box-shadow:none;}
.wc-price-compare__direct-rewards::before {display:none;}
.wc-price-compare__order-summary {margin-top:0; padding: 10px;}
@media(max-width: 600px) {
 .wc-price-compare__results-title {font-size: 17px;}
 .wc-price-compare__result-grid .wc-price-compare__card {padding: 11px 12px;}
}

/* 1.0.115: mobile menu stage only. Preserve six slots, optional choices and wizard behaviour. */
@media (max-width: 700px) {
  .wc-price-compare__section[data-wc-step="4"] { padding: 12px 14px 13px; border-radius: 16px; }
  .wc-price-compare__section[data-wc-step="4"] .wc-price-compare__question {
    margin: 0 0 9px !important; font-size: 20px; line-height: 24px; letter-spacing: 0;
  }
  .wc-price-compare__section[data-wc-step="4"] .wc-price-compare__meal-grid { gap: 7px; }
  .wc-price-compare__section[data-wc-step="4"] .wc-price-compare__meal-grid label {
    gap: 2px; font-size: 13px; line-height: 17px; font-weight: 850;
  }
  .wc-price-compare__section[data-wc-step="4"] select {
    min-height: 42px; height: 42px; padding: 6px 12px; border-radius: 11px;
    font-size: 16px; line-height: 22px;
  }
  .wc-price-compare__section[data-wc-step="4"] .wc-price-compare__continue {
    width: 100%; min-height: 44px; margin-top: 10px; padding: 8px 14px;
    border-radius: 11px; font-size: 16px;
  }
}

/* 1.0.116: preserve external restaurant explanation in a closed disclosure. */
.wc-price-compare__external-payout-details{margin:12px 0;border:1px solid #d7d4ca;border-radius:12px;background:#f5f5f3;overflow:hidden}
.wc-price-compare__external-payout-details>summary{display:list-item;cursor:pointer;padding:12px 16px;font:800 16px/1.35 Nunito,sans-serif;color:#0f0f0d;list-style-position:inside}
.wc-price-compare__external-payout-details:not([open])>summary::marker{content:"+  "}
.wc-price-compare__external-payout-details[open]>summary::marker{content:"−  "}
.wc-price-compare__external-payout-details[open]>.elementor-widget-container,.wc-price-compare__external-payout-details[open]>p{margin:0;padding:12px 16px}

/* Keep the Compare control single-layered. */
[data-wc-price-compare] [data-wc-step="5"] [data-wc-price-submit] { position: relative !important; display: block !important; inset: auto !important; transform: none !important; z-index: 1 !important; pointer-events: auto !important; }
[data-wc-price-compare] [data-wc-step="5"] [data-wc-price-submit]::before, [data-wc-price-compare] [data-wc-step="5"] [data-wc-price-submit]::after { content: none !important; display: none !important; }


/* Delivery scope remains visible beside each customer amount. */
[data-wcupc] [data-wc-price-results] .wc-price-compare__card .wc-price-compare__delivered {
  display: block !important;
  color: #0F0F0D;
  font-size: 14px;
  line-height: 1.4;
  margin: 6px 0;
  text-align: center;
}

/* Customer comparison now precedes this panel; the old scroll prompt is obsolete. */
[data-wcupc] [data-wcupc-business-result] .wcupc-scroll-prompt {
  display: none !important;
}

/* Provider switch: follows the existing restaurant search without changing wizard layout. */
.wc-price-compare__provider-switch {
  box-sizing: border-box;
  max-width: 600px;
  margin: 12px auto 0;
  padding: 14px;
  border: 1px solid #20201c;
  border-radius: 12px;
  background: #fff6c3;
  color: #20201c;
  text-align: center;
}
.wc-price-compare__provider-switch[hidden] { display: none !important; }
.wc-price-compare__provider-switch-message { margin: 0 0 10px; font-weight: 800; }
.wc-price-compare__provider-switch-message:last-child { margin-bottom: 0; }
.wc-price-compare__provider-switch-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wc-price-compare__provider-switch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 54px;
  padding: 6px 10px;
  border: 1px solid var(--wc-ink);
  border-radius: 14px;
  background: var(--wc-cream);
  color: var(--wc-ink);
  cursor: pointer;
  overflow: hidden;
}
.wc-price-compare__provider-switch-button--deliveroo {
  background: #00CCBC;
  border-color: #00AFA1;
}
.wc-price-compare__provider-switch-button--uber-eats {
  background: #06C167;
  border-color: #049C53;
}
.wc-price-compare__provider-switch-button--just-eat {
  background: #FF8000;
  border-color: #D96D00;
}
.wc-price-compare__provider-switch-logo {
  display: block;
  width: 132px;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 10px;
}
.wc-price-compare__provider-switch-text {
  display: block;
  width: 100%;
  text-align: center;
  font: inherit;
  font-weight: 900;
}
.wc-price-compare__provider-switch-button:focus-visible { outline: 3px solid #20201c; outline-offset: 2px; }
