/* Vantage Rewards Club theme (ShopOnTV's members' club, on top of theme-brand.css), from the Vantage brand guide: white header, navy #292564 bands and footer,
   pink #de0062 pill buttons, the five-colour brand gradient as a thin line, Lato headings and Open Sans body. ShopOnTV's own logo sits beside the Vantage logo
   in the header and footer, because the club is new to members. Colours live in functionality_helper.php (wl_v2_brand_tokens 'shopontv'). */
@font-face { font-family: "Open Sans"; src: url("../fonts/OpenSans-Variable.woff2?v=1") format("woff2-variations"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-700.woff2?v=1") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

.wl-theme-shopontv { --wl-grad-band: #292564; --wl-brand-line: linear-gradient(90deg, #e60016 0%, #de0062 25%, #970075 50%, #292564 75%, #00a8e0 100%); }
.wl-theme-shopontv :is(h1, h2, h3, .wl-h3, .wl-h4) { font-family: "Lato", "Open Sans", system-ui, sans-serif; font-weight: 700; letter-spacing: 0; }
.wl-theme-shopontv :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner, .support-panel) { background: var(--wl-grad-band); color: #fff; }

/* Pill buttons, as in the brand guide. */
.wl-theme-shopontv :is(.btn, .dark-green-btn, .light-green-btn, .white-btn, .voucher-continue-btn, .wl-buy-bar-btn, .wl-balance-save) { border-radius: 999px !important; font-weight: 700; }

/* Primary buttons sitting on the navy bands are pink, not navy (navy on navy made "Choose your first brand" invisible). Buttons inside white cards keep the navy. */
body.wl-theme-shopontv :is(.wl-first, .wl-welcome, .page-hero, .cta-section) .dark-green-btn:not(:is(.wl-welcome-card, .modal, .wl-amount-panel) *) { background: var(--color-accent) !important; color: var(--color-on-accent) !important; }
body.wl-theme-shopontv :is(.wl-first, .wl-welcome, .page-hero, .cta-section) .dark-green-btn:not(:is(.wl-welcome-card, .modal, .wl-amount-panel) *):hover { background: var(--color-accent-strong) !important; }

/* Pink text on the navy bands was hard to read (#de0062 on #292564 is about 2.5:1): use the light pink from the theme tokens (--wl-hl-on-dark, #ff8fb8, about 7:1) for every highlighted word, rate, link and icon sitting on navy. */
body.wl-theme-shopontv :is(.wl-welcome, .wl-bp, .page-hero, .voucher-intro, .cta-section, .brand-detail-banner, .brand-listing-banner, .subpage-brand-banner, .support-panel, .wl-feat-band, .wl-bp-calc-result, .cashback-estimator__summary, footer#footer)
  :is(.gradient-text, .wl-stat-extra, .wl-stat-link, .wl-bp-rate, .wl-bp-last a, .wl-bp-lead strong, .wl-bp-yearly-line strong, .wl-bp-calc-total, .wl-spot-kicker, .wl-spot-rate strong, em) { color: var(--wl-hl-on-dark) !important; -webkit-text-fill-color: var(--wl-hl-on-dark) !important; }
body.wl-theme-shopontv :is(.wl-bp-yearly .wl-icon, .wl-feat-eyebrow .wl-icon, .wl-proof.is-dark .wl-icon) { color: var(--wl-hl-on-dark); }
body.wl-theme-shopontv .wl-bp-proof::before { color: var(--wl-hl-on-dark); }

/* Header: white, with the brand gradient as a thin line underneath. It stays sticky like every other site's header (it was
   position: relative here, which let the header and its "Back to ShopOnTV" bar scroll away and left a gap above the All brands search bar).
   Sticky still positions the ::after line. */
.wl-theme-shopontv header#header { position: sticky; top: 0; z-index: 999; }
.wl-theme-shopontv header#header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--wl-brand-line); }
.wl-theme-shopontv header#header :is(a:not(.menu-btn), .wl-account-balance, .wl-account-name, .menu-toggle) { color: #292564; }
.wl-theme-shopontv header#header .header-logo { display: flex; align-items: center; gap: 20px; max-width: none; flex: 0 0 auto; }
/* The base header caps the logo block at 220px and lets logos shrink to fit, which made both logos tiny: let them keep their size. */
.wl-theme-shopontv header#header .header-logo > a { flex: 0 0 auto; }
.wl-theme-shopontv header#header :is(.wl-logo, .wl-parent-logo img) { max-width: none; flex: 0 0 auto; }
.wl-theme-shopontv header#header .wl-logo { height: 46px; width: auto; max-height: none; }
/* The Vantage logo stands alone in the header (ShopOnTV's logo stays in the footer), with room around it. */
.wl-theme-shopontv header#header .wl-logo { margin: 10px 20px 10px 0; }
/* First-visit intro line: same size and weight as the other pages' intro (.wl-welcome-intro) so it doesn't compete with the heading. */
.wl-theme-shopontv .wl-first-lead { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); opacity: 1; max-width: 560px; margin-bottom: 28px; }

/* ShopOnTV logo beside the Vantage logo (header on white, footer on navy), set off by a thin divider. */
.wl-theme-shopontv :is(header#header, footer#footer) .wl-parent-logo { display: inline-flex; align-items: center; }
.wl-theme-shopontv :is(header#header, footer#footer) .wl-parent-logo img { height: 64px; width: auto; display: block; }
.wl-theme-shopontv header#header .wl-parent-logo { padding-right: 20px; border-right: 1px solid #e4e2ef; }
.wl-theme-shopontv footer#footer .footer-logo { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.wl-theme-shopontv footer#footer .wl-parent-logo { order: 2; padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .28); }
.wl-theme-shopontv footer#footer .wl-logo { height: 64px; width: auto; max-width: none; }
@media (max-width: 1199px) {
  .wl-theme-shopontv :is(header#header, footer#footer) .wl-parent-logo img { height: 48px; }
  .wl-theme-shopontv footer#footer .wl-logo { height: 48px; }
  .wl-theme-shopontv header#header .wl-logo { height: 38px; }
}
@media (max-width: 575px) {
  .wl-theme-shopontv header#header .header-logo { gap: 10px; }
  .wl-theme-shopontv header#header .wl-parent-logo { padding-right: 10px; }
  .wl-theme-shopontv :is(header#header, footer#footer) .wl-parent-logo img { height: 36px; }
  .wl-theme-shopontv header#header .wl-logo { height: 26px; margin: 6px 8px 6px 0; }
  .wl-theme-shopontv footer#footer .wl-parent-logo { padding-left: 14px; }
}

/* Footer: navy with the brand gradient line on top. */
.wl-theme-shopontv footer#footer { background: #292564; color: #fff; position: relative; }
.wl-theme-shopontv footer#footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--wl-brand-line); }
.wl-theme-shopontv footer#footer :is(a, .o-75) { color: #fff; }
.wl-theme-shopontv footer#footer a { text-decoration-color: rgba(255, 255, 255, .5); }

.wl-theme-shopontv .slick-slide .link, .wl-theme-shopontv .wl-first-faq-more a { color: #c4005a; }
/* Amount hint was #777 on white, just under the contrast minimum. */
.wl-theme-shopontv .min-max-text { color: #595959; opacity: 1; }
/* Narrowest phones (320px): a smaller brand logo so the brand heading fits without poking past the edge. */
@media (max-width: 360px) { .wl-theme-shopontv .wl-bp-logo { width: 72px; height: 72px; } }
.wl-theme-shopontv .wl-bp-calc-result, .wl-theme-shopontv .cashback-estimator__summary { background: var(--wl-grad-band); }
/* The legal side menu is navy like the other bands. */
.wl-theme-shopontv .legal-nav { background: #292564; }

/* Small white ShopOnTV logo above the hero heading (homepage and All brands), on the navy band. */
.wl-theme-shopontv .wl-hero-parent-logo { display: block; height: 56px; width: auto; margin: 0 0 16px; }

/* Phone menu: the links were navy on the navy panel (invisible) and the Search arrow was black on pink. */
.wl-theme-shopontv header#header .mobile-menu nav a:not(.menu-btn) { color: #fff; }
.wl-theme-shopontv header#header .mobile-menu form.header-search-form button, .wl-theme-shopontv header#header .mobile-menu form.header-search-form button :is(svg, span) { color: #fff; }

/* Header Log in / My digital cards buttons (pink): white arrow, like the text */
.wl-theme-shopontv header#header .menu-btn :is(svg, .wl-icon) { color: #fff; }

/* "Back to ShopOnTV" bar across the top of the sticky header, in the club's navy. */
.wl-theme-shopontv header#header .wl-back-bar { background: #292564; border-bottom: 0; }
.wl-theme-shopontv header#header .wl-back-bar a { color: #fff; }

/* ShopOnTV logo above the heading on the brand page and the account pages: a little smaller there. */
.wl-theme-shopontv :is(.wl-bp-intro, .wl-acct-top) .wl-hero-parent-logo { height: 40px; margin-bottom: 12px; }
@media (max-width: 575px) { .wl-theme-shopontv .wl-hero-parent-logo { height: 40px; margin-bottom: 12px; } }

/* "A typical household could save £X+ a year" (i) note on the signed-out homepage: it opened downwards and was cut off by the section below,
   so it opens upwards, over the buttons, and sits above everything else in the hero. */
.wl-theme-shopontv .wl-hero-value { z-index: 30; }
.wl-theme-shopontv .wl-hero-pop { top: auto; bottom: calc(100% + 10px); z-index: 40; }
.wl-theme-shopontv .wl-hero-pop::before { top: auto; bottom: -6px; }

/* Centred banners (My digital cards, Help, Legal, 404): the ShopOnTV logo sits centred above the heading like the rest of the text. */
.wl-theme-shopontv .centered-brand-banner .wl-hero-parent-logo { margin-left: auto; margin-right: auto; }
