/*
 * 1pMobile / 1pRewards theme (on top of theme-brand.css), taken from 1pmobile.com:
 *  - Roboto (bundled, OFL), body copy weight 300, text #404040, green headings #73b62a (a darker
 *    #3f850a is used for small green text so it passes contrast), black pill buttons (25px radius, bold)
 *  - its header green gradient, 90deg #53960a > #73b62a > #73b62a > #53960a, on every green area (header, bands,
 *    banners, footer, calculator) with white light-weight text on it, exactly as on the main site (header nav included)
 * Berlin Sans FB, the main-heading font on 1pmobile.com, is loaded from the same font host that site uses
 * (see header.php); Roboto is the fallback.
 */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Variable.woff2?v=1") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
.wl-theme-onepmobile {
  --wl-grad-header: linear-gradient(90deg, #53960a 0%, #73b62a 25%, #73b62a 75%, #53960a 100%);
  --wl-grad-band: var(--wl-grad-header);
  --wl-grad-footer: var(--wl-grad-header);
}

/* Type: body copy light like the main site; headings keep their weight. */
.wl-theme-onepmobile p, .wl-theme-onepmobile li { font-weight: 300; }
.wl-theme-onepmobile :is(h1, h2) { font-weight: 300; letter-spacing: 0; }
.wl-theme-onepmobile :is(h3, h4, .wl-h3, .wl-h4) { font-weight: 500; letter-spacing: 0; }
.wl-theme-onepmobile main :is(h2, .wl-h3) { color: #73b62a; } /* 1pmobile.com's green headings (rgb 115,182,42) */
.wl-theme-onepmobile :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section, footer) :is(h1, h2, h3, p, li, span, a) { color: inherit; }

/* Green gradients in every coloured area. */
.wl-theme-onepmobile header#header { background: var(--wl-grad-header); }
.wl-theme-onepmobile :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner) { background: var(--wl-grad-band); color: var(--color-header-text); }
.wl-theme-onepmobile footer#footer { background: var(--wl-grad-footer); color: var(--color-header-text); }
.wl-theme-onepmobile footer#footer :is(a, ul a, div, span, p) { color: var(--color-header-text); }
.wl-theme-onepmobile footer#footer ul a:before { filter: brightness(0) invert(1); }
.wl-theme-onepmobile .wl-logo { height: 44px; width: auto; }
.wl-theme-onepmobile footer .wl-logo { max-height: 44px; }

/* Text on the green gradient is white and light weight, exactly as on 1pmobile.com (nav, hero, bands, footer). */
.wl-theme-onepmobile :is(header#header, footer#footer, .wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner, .cashback-estimator__summary) { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28); }
.wl-theme-onepmobile :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section) :is(.btn, button, .wl-welcome-card, .wl-welcome-search, input, .wl-bp-buy, .wl-buy-bar) { text-shadow: none; }
.wl-theme-onepmobile header#header :is(a, .wl-account-name, .wl-account-balance) { font-weight: 300; }
.wl-theme-onepmobile header#header .wl-nav-search input { text-shadow: none; }
.wl-theme-onepmobile header#header { color: var(--color-header-text); }
.wl-theme-onepmobile header#header :is(a:not(.menu-btn), .wl-account-name, .wl-account-balance, .menu-toggle, .wl-back-bar a) { color: var(--color-header-text); }
.wl-theme-onepmobile header#header .wl-nav-search { background: rgba(255, 255, 255, 0.4); border-color: rgba(255, 255, 255, 0.75); }
.wl-theme-onepmobile .wl-demo-badge { color: #4a1006; }

/* Buttons: green gradient with white bold text, as on 1pmobile.com (a deeper green on the green bands so they stand out). */
.wl-theme-onepmobile :is(.btn, .dark-green-btn, .voucher-continue-btn, .wl-buy-bar-btn, .btn-custom-yellow, .header-search-form button, .wl-welcome-search button, .wl-balance-save),
.wl-theme-onepmobile .wl-v2 .modal :is(.btn-custom-yellow, .submit_button, .payBankForm, .pay_by_bank) {
  background: var(--wl-grad-header) !important; color: #fff !important; border-radius: 20px !important; font-weight: 700; border: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}
.wl-theme-onepmobile :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner, header#header, footer#footer) :is(.btn, .dark-green-btn, .header-search-form button, .wl-welcome-search button):not(.wl-welcome-card *):not(.wl-bp-buy *) { background: linear-gradient(90deg, #1a4f07 0%, #23660a 50%, #1a4f07 100%) !important; }
.wl-theme-onepmobile :is(.btn, .dark-green-btn, .voucher-continue-btn, .wl-buy-bar-btn, .header-search-form button, .wl-welcome-search button):hover { filter: brightness(1.12); }
.wl-theme-onepmobile .wl-video-btn.is-light { border-radius: 25px; }
/* Text inside the buttons (theme-brand sets span colours for accent buttons). */
.wl-theme-onepmobile :is(.btn, .header-search-form button, .wl-welcome-search button, .voucher-continue-btn, .wl-buy-bar-btn) :is(span, svg, .wl-icon) { color: #fff !important; }
.wl-theme-onepmobile .cashback-estimator__summary { background: var(--wl-grad-band); }
.wl-theme-onepmobile .wl-starters-label { color: #595959; opacity: 1; }

/* Main headings: Berlin Sans FB, as on 1pmobile.com */
.wl-theme-onepmobile h1 { font-family: "Berlin Sans FB", Roboto, "Arial Black", Arial, sans-serif !important; font-weight: 400; letter-spacing: 0.01em; }

/* 1pmobile.com sets everything in Roboto Light (300): headings, nav, footer and body. Only the H1/hero
   display text is Berlin Sans FB, and the black pill buttons are bold. */
.wl-theme-onepmobile :is(h2, h3, h4, h5, h6, .wl-h3, .wl-h4, summary, .wl-welcome-card-title, .wl-again-title) { font-weight: 300 !important; }
.wl-theme-onepmobile h1 { font-weight: 500 !important; }
.wl-theme-onepmobile :is(header#header, footer#footer) :is(a, li, span, p):not(.wl-account-avatar):not(.wl-account-balance):not(.wl-demo-pill):not(.wl-demo-badge):not(.btn) { font-weight: 300; }
.wl-theme-onepmobile .gradient-text { font-family: "Berlin Sans FB", Roboto, "Arial Black", Arial, sans-serif !important; font-weight: 400 !important; }
.wl-theme-onepmobile :is(.wl-welcome-intro, .wl-bp-rate, .wl-stat-source, label, small, td, th, dd, dt) { font-weight: 300; }
/* Text at full strength: 1pmobile.com's #404040 body copy and white text on green are never faded. */
.wl-theme-onepmobile :is([class*="o-"], .wl-tag, .wl-welcome :is(span, small, p), .cashback-estimator__summary *, .wl-calc-intro) { opacity: 1; }

/* The "Back to ..." bar above the header is light, so it keeps dark text. */
.wl-theme-onepmobile header#header .wl-back-bar, .wl-theme-onepmobile header#header .wl-back-bar a { color: #1a1a1a; text-shadow: none; font-weight: 400; }

/* Brand-page savings panel: the same green gradient, white text. */
.wl-theme-onepmobile .wl-bp-calc-result { background: var(--wl-grad-band); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28); }
.wl-theme-onepmobile .wl-bp-calc-total { color: #fff; }
.wl-theme-onepmobile .wl-bp-calc-result :is(.wl-bp-calc-label, .wl-bp-calc-sum) { opacity: 1; }

/* Type scale from 1pmobile.com: body copy 18.7px, section headings 28px, sub-headings 23.3px. */
.wl-theme-onepmobile main :is(h2:not([class]), h2.text-center) { font-size: 28px !important; }
.wl-theme-onepmobile main h3.ft-24 { font-size: 23.3px; }
.wl-theme-onepmobile main :is(p, li):not([class*="wl-card"]):not([class*="wl-gc"]):not(.wl-voucher-status):not([class*="wl-bp-"]):not(.wl-tag):not(.wl-stat-source):not(.wl-starters-label):not(.wl-welcome-intro) { font-size: 18.7px; }

/* Demo bar: the same green gradient as the header, with white text. */
.wl-theme-onepmobile .wl-demo-bar { background: var(--wl-grad-header); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28); }
.wl-theme-onepmobile .wl-demo-bar a { color: #fff; }

/* "Top tip" popup: white card with a green-gradient header strip, light Roboto text and a black pill button, like 1pmobile.com. */
.wl-theme-onepmobile #ss-rewards-tip.wl-tip {
  --tip-bg: #fff; --tip-ink: #404040; --tip-muted: #404040; --tip-line: #e3e3e3; --tip-accent: #53960a; --tip-on-accent: #fff;
  border-radius: 20px; border: 0; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), 0 3px 10px rgba(0, 0, 0, 0.12); overflow: hidden;
}
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__content { padding: 0 20px 18px; }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__top { margin: 0 -20px; padding: 6px 12px 6px 20px; background: var(--wl-grad-header); color: #fff; }
.wl-theme-onepmobile #ss-rewards-tip .wl-tip-eyebrow { color: #fff; font-weight: 400; letter-spacing: 0.08em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28); }
.wl-theme-onepmobile #ss-rewards-tip .wl-tip-eyebrow .wl-icon, .wl-theme-onepmobile #ss-rewards-tip .ss-tip__close { color: #fff; }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__benefit { margin-top: 16px; background: var(--wl-grad-band); color: #fff; font-weight: 500; }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__title { font-weight: 300; font-size: 23.3px; letter-spacing: 0; color: #3f850a; }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__body { font-weight: 300; font-size: 16px; }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__brand { background: #fff; border: 1px solid #e3e3e3; }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__cta { background: var(--wl-grad-header); border-radius: 20px; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28); }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__cta:hover { color: #fff; filter: brightness(1.12); }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__footer { background: #f5f5f5; border-top-color: #e3e3e3; }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__footer button { color: #404040; font-weight: 400; }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__footer button:hover { color: #000; }
.wl-theme-onepmobile #ss-rewards-tip :is(a, button):focus-visible { outline-color: #000 !important; }
.wl-theme-onepmobile #ss-rewards-tip .ss-tip__top :is(button):focus-visible { outline-color: #fff !important; }

/* "Buy again" chips are white pills: dark text. */
.wl-theme-onepmobile :is(.wl-again-chip-name, .wl-again-chip-cta) { color: #404040 !important; }
.wl-theme-onepmobile .wl-again-chip-cta { color: #73b62a !important; font-weight: 500; }
.wl-theme-onepmobile .wl-gc .wl-gc-name { color: #404040; font-weight: 400 !important; }

/* ---- Checkout modals (amount, payment method, card, bank) — 1pmobile look ---- */
.wl-theme-onepmobile :is(#otherAmountModal, #paymentMethodModal, #cardPaymentModal, #BankModal) {
  --checkout-ink: #404040; --checkout-muted: #6b6b6b; --checkout-tint: #f1f7e8; --checkout-accent: #53960a;
  --cb-green: #73b62a; --cb-green-dark: #73b62a; --cb-green-light: #f1f7e8; --cb-green-border: #c5dea0;
}
.wl-theme-onepmobile :is(#otherAmountModal, #paymentMethodModal, #cardPaymentModal, #BankModal) :is(.modal-content, .modal-body, h5, h6, p, span, label, small, input, button, .btn) { font-family: Roboto, Arial, sans-serif; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) .payment-method-heading { font-weight: 300 !important; color: #404040; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) :is(.paying-amount-text, .bank-list-subtext, .bank-list-label, .payment-divider span, .best-rate-detail, .payment-card-reward, .payment-fee-note span:not(.payment-fee-icon)) { font-weight: 300; color: #5f5f5f; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) .checkout-voucher-summary { font-weight: 400; color: #404040; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) .best-rate-option { background: #f1f7e8 !important; border-color: #c5dea0 !important; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) .best-rate-badge { background: var(--wl-grad-header) !important; color: #fff !important; font-weight: 700; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) :is(.best-rate-icon) { color: #73b62a !important; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) :is(.best-rate-label, .best-rate-percent, .payment-option-title) { color: #73b62a !important; font-weight: 400 !important; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) :is(.best-rate-percent) { font-weight: 700 !important; }
.wl-theme-onepmobile #paymentMethodModal .payment-option-title { color: #404040 !important; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) .payment-option-card { border-color: #d9e6c3; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) .payment-option-card:hover { border-color: #53960a; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) .payment-fee-note { background: #f6f9ef; border-color: #dfe9cb; }
/* Buttons: green gradient, white text, rounded like the main site */
.wl-theme-onepmobile :is(#otherAmountModal, #paymentMethodModal, #cardPaymentModal, #BankModal) :is(.pay_by_bank, .btn-custom-yellow, .voucher-continue-btn, .btn-buy-now, .btn-primary, button[type="submit"]):not(.btn-close) {
  background: var(--wl-grad-header) !important; color: #fff !important; border: 0 !important; border-radius: 20px !important; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.wl-theme-onepmobile :is(#otherAmountModal, #paymentMethodModal, #cardPaymentModal, #BankModal) :is(.pay_by_bank, .btn-custom-yellow, .voucher-continue-btn, .btn-buy-now):hover { filter: brightness(1.1); }
.wl-theme-onepmobile :is(#otherAmountModal, #paymentMethodModal, #cardPaymentModal, #BankModal) .form-control:focus { border-color: #53960a; box-shadow: 0 0 0 3px rgba(83, 150, 10, 0.18); }
/* The theme's 18.7px body size must not leak into the modals' small print. */
.wl-theme-onepmobile #BankModal :is(.bank-list-subtext, .bank-list-label) { font-size: 13px !important; line-height: 1.4; }
.wl-theme-onepmobile #BankModal .bank-list-heading { font-size: 16px !important; font-weight: 400; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) :is(.paying-amount-text, .payment-divider span, .payment-fee-note span, .best-rate-detail, .payment-card-reward) { font-size: 13px; }
.wl-theme-onepmobile :is(#paymentMethodModal, #cardPaymentModal, #BankModal) .payment-fee-icon { color: #fff; background: #53960a; }
.wl-theme-onepmobile .wl-welcome-back { text-transform: uppercase; }
/* Brand hero on green: the saving figure and the trust line read in white. */
.wl-theme-onepmobile .wl-bp-lead strong,
.wl-theme-onepmobile .wl-bp-yearly strong,
.wl-theme-onepmobile :is(.wl-bp-trust, .wl-bp-trust *) { color: #fff !important; opacity: 1; }

/* Header account chip: solid deep-green pill, white text (was pale translucent white on green). */
.wl-theme-onepmobile header#header .wl-account-chip { background: linear-gradient(90deg, #1a4f07, #23660a 50%, #1a4f07); border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
.wl-theme-onepmobile header#header .wl-account-chip:hover, .wl-theme-onepmobile header#header .wl-account-chip[aria-current="page"] { background: linear-gradient(90deg, #23660a, #2d7a0f 50%, #23660a); border-color: #fff; }
.wl-theme-onepmobile header#header .wl-account-chip .wl-account-balance { color: #fff; font-weight: 700; font-size: 16px; text-shadow: none; }
.wl-theme-onepmobile header#header .wl-account-chip .wl-account-name { color: #e6f3d3; opacity: 1; font-weight: 400; text-shadow: none; }
.wl-theme-onepmobile header#header .wl-account-chip .wl-account-avatar { background: #fff; color: #1a4f07; }

/* Headings: all H1s upper case, all H2s bold. */
.wl-theme-onepmobile h1 { text-transform: uppercase; }
.wl-theme-onepmobile.wl-theme-onepmobile :is(h2, main h2) { font-weight: 700 !important; }

/* Header search focus: one clean white ring on the pill (no dark outline, no square corner). */
.wl-theme-onepmobile header#header :is(.header-search-form, .wl-nav-search):has(input:focus-visible) { outline: none !important; }
.wl-theme-onepmobile header#header .wl-nav-search:has(input:focus) { background: #fff; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55); }

/* Green text everywhere uses the site's light green (#73b62a), not the deep brand green. */
.wl-theme-onepmobile :is(a.link, .wl-head-link, .wl-card-pct, .wl-card-pct strong, .wl-bp-more, .wl-bp-step-link, .wl-voucher-again, .wl-gc-value, .wl-voucher-status.is-added, .wl-bp-faq summary, details summary, main a:not(.btn):not([class*="btn"]):not(.wl-account-chip)),
.wl-theme-onepmobile main :is(.wl-card-pct, .wl-bp-calc-sum strong, .wl-stat strong) { color: #73b62a; }
.wl-theme-onepmobile .wl-voucher-status.is-added { color: #5f9a1c; }
.wl-theme-onepmobile :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner, header#header, footer#footer) a:not(.btn):not([class*="btn"]) { color: inherit; }
.wl-theme-onepmobile .modal :is(p, h6).mb-0, .wl-theme-onepmobile .modal h6.mb-1 { color: #73b62a; }
.wl-theme-onepmobile .card_bottom :is(p, h6) { color: #73b62a; }
/* "Buy your usual £X again": same green gradient as the other buttons, white text. */
.wl-theme-onepmobile .wl-usual-btn { background: var(--wl-grad-header) !important; color: #fff !important; border: 0 !important; border-radius: 20px !important; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.wl-theme-onepmobile .wl-usual-btn:hover { filter: brightness(1.1); }
.wl-theme-onepmobile header#header :is(.wl-nav-search, .header-search-form) input:is(:focus, :focus-visible) { outline: none !important; border: 0 !important; box-shadow: none !important; border-radius: 999px; background: transparent !important; }
.wl-theme-onepmobile header#header .wl-nav-search:has(input:focus) { border-color: #fff; }

/* Account hero stat tiles: white text (the light-green text rule must not reach the green hero). */
.wl-theme-onepmobile .wl-stat :is(strong, span, em) { color: #fff !important; }
.wl-theme-onepmobile .wl-stat span { opacity: 0.9; }
.wl-theme-onepmobile .wl-stat, .wl-theme-onepmobile .wl-stat * { text-shadow: none !important; }
/* "Buy again" chips: no text shadow (they are white pills inside the shadowed hero band). */
.wl-theme-onepmobile .wl-again-strip :is(.wl-again-chip, .wl-again-chip *) { text-shadow: none !important; }
/* Brand cards: the offer line under the brand name ("Get 7% off") is black. */
.wl-theme-onepmobile :is(.wl-card, [class*="wl-card"]) .gradient-text, .wl-theme-onepmobile .wl-card-rate, .wl-theme-onepmobile .wl-card-rate.gradient-text, .wl-theme-onepmobile .wl-card-pct-sub { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; font-weight: 400 !important; }

/* Type scale matched to 1pmobile.com (measured live): hero H1 56px / 500 / +0.01em, nav links 18.7px light,
   buttons 14px. The weight of buttons stays at 500 so white-on-green text remains legible. */
@media (min-width: 992px) {
  .wl-theme-onepmobile .wl-welcome h1 { font-size: clamp(40px, 4.4vw, 56px); letter-spacing: 0.01em !important; }
  .wl-theme-onepmobile header#header .right-menu nav > ul > li > a:not(.menu-btn):not(.wl-account-chip) { font-size: 16px; font-weight: 300; }
}
@media (min-width: 1200px) {
  .wl-theme-onepmobile header#header .right-menu nav > ul > li > a:not(.menu-btn):not(.wl-account-chip) { font-size: 18.67px; }
}
.wl-theme-onepmobile :is(.wl-welcome-search button, .wl-welcome .btn, header#header .menu-btn) { font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0; }

/* "Recently viewed" tiles: the offer line ("Get 8% off") is black, not pale green. */
.wl-theme-onepmobile .wl-recent-item small { color: #000 !important; opacity: 1; }

/* Green border around every brand tile (brand cards and the quick-pick tiles in the search card). */
.wl-theme-onepmobile .card-box,
.wl-theme-onepmobile .wl-starters a { border: 2px solid #73b62a; }

/* Wavy edges on the green areas, copied from 1pmobile.com (.wave-clip-bottom / .wave-clip / .wave-clip-top: the same
   clip-path polygons, measured live). Heroes get the wave along the bottom, the CTA band both edges, the footer the top. */
.wl-theme-onepmobile {
  --wl-wave-bottom: polygon(-1px -1px, 100% -1px, 100% calc(100% - 22px), 98% calc(100% - 21px), 96% calc(100% - 19px), 94% calc(100% - 17px), 92% calc(100% - 15px), 90% calc(100% - 14px), 88% calc(100% - 12px), 86% calc(100% - 10px), 84% calc(100% - 8px), 82% calc(100% - 6px), 80% calc(100% - 5px), 78% calc(100% - 3px), 76% calc(100% - 2px), 74% calc(100% - 1px), 72% 100%, 62% calc(100% - 1px), 58% calc(100% - 2px), 56% calc(100% - 4px), 54% calc(100% - 5px), 52% calc(100% - 7px), 50% calc(100% - 9px), 48% calc(100% - 11px), 46% calc(100% - 13px), 44% calc(100% - 14px), 42% calc(100% - 16px), 40% calc(100% - 18px), 38% calc(100% - 20px), 36% calc(100% - 22px), 34% calc(100% - 23px), 32% calc(100% - 25px), 30% calc(100% - 26px), 26% calc(100% - 27px), 16% calc(100% - 26px), 14% calc(100% - 25px), 12% calc(100% - 24px), 10% calc(100% - 22px), 8% calc(100% - 21px), 6% calc(100% - 19px), 4% calc(100% - 17px), 2% calc(100% - 15px), -1px calc(100% - 14px));
  --wl-wave-top: polygon(-1px 15px, 2% 12px, 4% 10px, 6% 8px, 8% 6px, 10% 5px, 12% 3px, 14% 2px, 16% 1px, 18% 0px, 28% 1px, 32% 2px, 34% 4px, 36% 5px, 38% 7px, 40% 9px, 42% 11px, 44% 13px, 46% 14px, 48% 16px, 50% 18px, 52% 20px, 54% 22px, 56% 23px, 58% 25px, 60% 26px, 64% 27px, 74% 26px, 76% 25px, 78% 24px, 80% 22px, 82% 21px, 84% 19px, 86% 17px, 88% 15px, 90% 14px, 92% 12px, 94% 10px, 96% 8px, 98% 6px, 100% 5px, 100% 101%, -1px 101%);
  --wl-wave-both: polygon(0% 15px, 2% 12px, 4% 10px, 6% 8px, 8% 6px, 10% 5px, 12% 3px, 14% 2px, 16% 1px, 18% 0px, 28% 1px, 32% 2px, 34% 4px, 36% 5px, 38% 7px, 40% 9px, 42% 11px, 44% 13px, 46% 14px, 48% 16px, 50% 18px, 52% 20px, 54% 22px, 56% 23px, 58% 25px, 60% 26px, 64% 27px, 74% 26px, 76% 25px, 78% 24px, 80% 22px, 82% 21px, 84% 19px, 86% 17px, 88% 15px, 90% 14px, 92% 12px, 94% 10px, 96% 8px, 98% 6px, 100% 5px, 100% calc(100% - 22px), 98% calc(100% - 21px), 96% calc(100% - 19px), 94% calc(100% - 17px), 92% calc(100% - 15px), 90% calc(100% - 14px), 88% calc(100% - 12px), 86% calc(100% - 10px), 84% calc(100% - 8px), 82% calc(100% - 6px), 80% calc(100% - 5px), 78% calc(100% - 3px), 76% calc(100% - 2px), 74% calc(100% - 1px), 72% 100%, 62% calc(100% - 1px), 58% calc(100% - 2px), 56% calc(100% - 4px), 54% calc(100% - 5px), 52% calc(100% - 7px), 50% calc(100% - 9px), 48% calc(100% - 11px), 46% calc(100% - 13px), 44% calc(100% - 14px), 42% calc(100% - 16px), 40% calc(100% - 18px), 38% calc(100% - 20px), 36% calc(100% - 22px), 34% calc(100% - 23px), 32% calc(100% - 25px), 30% calc(100% - 26px), 26% calc(100% - 27px), 16% calc(100% - 26px), 14% calc(100% - 25px), 12% calc(100% - 24px), 10% calc(100% - 22px), 8% calc(100% - 21px), 6% calc(100% - 19px), 4% calc(100% - 17px), 2% calc(100% - 15px), -1px calc(100% - 14px));
}
.wl-theme-onepmobile :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner) { clip-path: var(--wl-wave-bottom); padding-bottom: max(var(--wl-wave-pad, 0px), 44px); }
.wl-theme-onepmobile .cta-section { clip-path: var(--wl-wave-both); padding-top: 44px; padding-bottom: 44px; }
.wl-theme-onepmobile footer#footer { clip-path: var(--wl-wave-top); padding-top: 28px; }

/* Hero stat numbers match the plan sizes on 1pmobile.com (measured live): Roboto 28px, bold, white, line-height 1.1.
   Phones keep a smaller size so three tiles still fit side by side. */
.wl-theme-onepmobile .wl-stat strong { font-size: 28px; font-weight: 700 !important; line-height: 1.1; }
@media (max-width: 575.98px) { .wl-theme-onepmobile .wl-stat strong { font-size: 18px; } }

/* The wave clipped off the bottom of a hero showed the white page underneath, so a grey section below (e.g. the
   gift card strip) had a white band above it. The next section now tucks up under the wave, so its own background
   fills the gap (a transparent top border of the wave's depth, painted with the section's background). */
.wl-theme-onepmobile main :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner) { position: relative; z-index: 1; }
.wl-theme-onepmobile main :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner) + :is(section, div) { margin-top: -28px; border-top: 28px solid transparent; background-clip: border-box; }

/* Header "Log in / Sign up" button: white text and arrow. */
.wl-theme-onepmobile header#header .menu-btn, .wl-theme-onepmobile header#header .menu-btn :is(span, svg, .wl-icon) { color: #fff; }
/* Readability: #73b62a on white is only 2.5:1, and on the green legal tab bar it vanished completely.
   Text links use a deeper green of the same hue; headings (large text) a slightly deeper one; tab links are dark on the green bar. */
.wl-theme-onepmobile :is(a.link, .wl-head-link, .wl-bp-more, .wl-bp-step-link, .wl-voucher-again, .wl-bp-faq summary, details summary, main a:not(.btn):not([class*="btn"]):not(.wl-account-chip)),
.wl-theme-onepmobile .modal :is(p, h6).mb-0, .wl-theme-onepmobile .modal h6.mb-1, .wl-theme-onepmobile .card_bottom :is(p, h6) { color: #3f850a; }
.wl-theme-onepmobile main :is(h2, .wl-h3) { color: #5a9a14; }
.wl-theme-onepmobile :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner, header#header, footer#footer) a:not(.btn):not([class*="btn"]) { color: inherit; }
body.wl-theme-onepmobile .legal-nav a, body.wl-theme-onepmobile main .legal-nav a { color: #0b1a04; border-bottom-color: rgba(11, 26, 4, 0.2); }
body.wl-theme-onepmobile .legal-nav a:is(:hover, .active, [aria-current]) { color: #fff; }

/* Headings on the green bands (call to action, hero, page banners) are white; the deeper-green heading rule is for headings on white. */
body.wl-theme-onepmobile :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner, .wl-feat-band, footer#footer) :is(h1, h2, h3, h4, .wl-h3, .wl-h4) { color: #fff; }
/* The white card inside the green hero ("Start with your weekly shop" on the signed-in all-brands page) keeps its heading green: the white-heading rule above
   reaches it too, which made the title white on white. !important because that rule's footer#footer selector outranks any class-based one. */
body.wl-theme-onepmobile :is(.wl-welcome, .wl-bp) .wl-welcome-card :is(h1, h2, h3, h4) { color: #5a9a14 !important; }

/* Legal page side links: white on the green panel (the active link keeps its underline). */
body.wl-theme-onepmobile .legal-nav a, body.wl-theme-onepmobile main .legal-nav a, body.wl-theme-onepmobile .legal-nav a:is(:hover, .active, [aria-current]) { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.35); }

/* Savings calculator, right-hand panel: smaller icon and figures, tighter spacing, no text shadow, so it reads as a summary not a poster. */
.wl-theme-onepmobile .cashback-estimator__summary { padding: 28px 32px; justify-content: center; }
.wl-theme-onepmobile .cashback-estimator__summary * { text-shadow: none; }
.wl-theme-onepmobile .cashback-estimator__icon { width: 56px; height: 56px; margin: 0 0 14px; border-radius: 16px; }
.wl-theme-onepmobile .cashback-estimator__icon svg { width: 34px; max-width: 70%; }
.wl-theme-onepmobile .cashback-estimator__summary-caption { font-size: 14px; font-weight: 500; margin: 0 0 4px; }
.wl-theme-onepmobile .cashback-estimator__total { font-size: clamp(30px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; }
.wl-theme-onepmobile .cashback-estimator__summary-divider { margin-bottom: 12px; }
.wl-theme-onepmobile .cashback-estimator__summary-line { font-size: 13px; font-weight: 400; margin-bottom: 8px; }
.wl-theme-onepmobile .cashback-estimator__summary-line :is(span, small) { font-size: 13px; font-weight: 400; }
.wl-theme-onepmobile .cashback-estimator__summary-line strong { font-size: 14px; font-weight: 700; }
.wl-theme-onepmobile .cashback-estimator__summary-panel { margin-top: 6px; padding: 12px 14px; border-radius: 14px; }
.wl-theme-onepmobile .cashback-estimator__summary-panel-title { font-size: 12px; font-weight: 700; margin: 0 0 6px; }
.wl-theme-onepmobile .cashback-estimator__summary-list { font-size: 12px; line-height: 1.5; padding-left: 16px; }
.wl-theme-onepmobile .cashback-estimator__summary-list li + li { margin-top: 3px; }
.wl-theme-onepmobile .cashback-estimator__caveat { font-size: 11px; line-height: 1.5; margin: 12px 0 0; opacity: 0.85; }
body.wl-theme-onepmobile .cashback-estimator__summary .cashback-estimator__summary-caption { font-size: 14px !important; font-weight: 500 !important; }
body.wl-theme-onepmobile .cashback-estimator__summary .cashback-estimator__summary-panel-title { font-size: 12px !important; font-weight: 700 !important; }

/* Legal side links: the generic green link rule is more specific than the earlier white rule, so force white. */
body.wl-theme-onepmobile .legal-nav a, body.wl-theme-onepmobile .legal-nav a:is(:hover, :focus-visible, .active, [aria-current]) { color: #fff !important; border-bottom-color: rgba(255, 255, 255, 0.4) !important; }

/* "Your first gift card" tile: white text (on-accent colour was dark on the green). */
body.wl-theme-onepmobile .wl-bp .wl-bp-first :is(strong, span, p, a) { color: #fff !important; opacity: 1; }

/* Phone menu icon: dark green on the green header was hard to see; white, like the rest of the header text. */
.wl-theme-onepmobile header#header .menu-toggle img { filter: brightness(0) invert(1); }
