:root[data-resolved-theme="light"]{
  color-scheme:light;
  /* Softer than pure white: grey page, off-white cards, so large areas don't glare. */
  --bg:#eceef1;
  --card:#f9fafb;
  --muted:#575e69;
  --line:#d2d6dc;
  --text:#1b1f25;
  --newsletter-bg:#f9fafb;
  --newsletter-border:#d2d6dc;
}

.theme-switcher{display:flex;border:1px solid var(--line);border-radius:5px;overflow:hidden;white-space:nowrap}
.theme-switcher button{border:0;border-right:1px solid var(--line);background:transparent;color:var(--muted);padding:8px 9px;font-size:11px}
.theme-switcher button:last-child{border-right:0}
.theme-switcher button[aria-pressed="true"]{background:var(--card);color:#fff}

:root[data-resolved-theme="light"] body,
:root[data-resolved-theme="light"] input,
:root[data-resolved-theme="light"] select,
:root[data-resolved-theme="light"] .ghost,
:root[data-resolved-theme="light"] .browse-category,
:root[data-resolved-theme="light"] .product,
:root[data-resolved-theme="light"] .country-button,
:root[data-resolved-theme="light"] dialog,
:root[data-resolved-theme="light"] .close,
:root[data-resolved-theme="light"] .category-match{color:var(--text)}

:root[data-resolved-theme="light"] .theme-switcher button[aria-pressed="true"]{color:var(--text);background:#eef0f3}
:root[data-resolved-theme="light"] .text-button:hover,
:root[data-resolved-theme="light"] summary,
:root[data-resolved-theme="light"] #category-sidebar .sidebar-overview,
:root[data-resolved-theme="light"] .category-path [aria-current]{color:var(--text)}
:root[data-resolved-theme="light"] .product:hover{background:#eef0f3}

@media(max-width:1000px){.theme-switcher{order:2}.theme-switcher button{padding:7px 8px}}
@media(max-width:700px){.theme-switcher{margin-left:auto}.theme-switcher button{font-size:10px;padding:7px}.header-inner #search-form{order:4}}

.plate-country{display:flex;align-items:stretch;justify-content:stretch;overflow:hidden;min-width:34px;width:34px;height:46px;padding:0;background:transparent;border:0;border-radius:3px;line-height:1}
.plate-country svg{display:block;width:100%;height:100%}
:root[data-resolved-theme="light"] .plate-country{background:transparent;border:0}


/* Registration inputs are rendered as plates: white by default, yellow in UK/NL. */
#plate{
  background:#fff;
  color:#111318;
  border-color:#b9bec6;
  font-weight:750;
  font-variant-numeric:tabular-nums;
}
#plate::placeholder{color:#59616c;opacity:1}
:root[data-market="uk"] #plate,
:root[data-market="nl"] #plate{
  background:#f4d42a;
  border-color:#c5a916;
  color:#111318;
}
:root[data-market="uk"] #plate::placeholder,
:root[data-market="nl"] #plate::placeholder{color:#4b4210}
#plate:focus{border-color:var(--red);box-shadow:0 0 0 3px color-mix(in srgb,var(--red) 24%,transparent)}

/* Keep the country strip physically attached to the registration plate. */
#plate-form .input-row{gap:0}
#plate-form .plate-country:not([hidden]){
  flex:0 0 34px;
  border-radius:4px 0 0 4px;
  border:1px solid #b9bec6;
  border-right:0;
}
#plate-form .plate-country:not([hidden]) + #plate{
  border-radius:0 4px 4px 0;
}
#plate-form .primary{margin-left:8px}
#plate-form .plate-country:not([hidden]) + #plate:focus{position:relative;z-index:1}


/* Light mode: text that the dark design hardcodes as white. Red buttons and badges keep white text. */
:root[data-resolved-theme="light"] .app-prompt,
:root[data-resolved-theme="light"] .app-prompt strong,
:root[data-resolved-theme="light"] .account-stats strong,
:root[data-resolved-theme="light"] .recent-searches button,
:root[data-resolved-theme="light"] .legal-nav a[aria-current="page"],
:root[data-resolved-theme="light"] .guide-topic-row a:hover,
:root[data-resolved-theme="light"] .guide-grid .text-link,
:root[data-resolved-theme="light"] .back-link:hover,
:root[data-resolved-theme="light"] .product-tabs button[aria-current="true"],
:root[data-resolved-theme="light"] .offer-filters button,
:root[data-resolved-theme="light"] .review-form textarea,
:root[data-resolved-theme="light"] .list-quantity b,
:root[data-resolved-theme="light"] .native-app #mobile-country-picker,
:root[data-resolved-theme="light"] .native-bottom-nav button span,
:root[data-resolved-theme="light"] .native-app #category-menu:after{color:var(--text)}
:root[data-resolved-theme="light"] .offer-filters button[aria-pressed="true"]{color:var(--red)}
:root[data-resolved-theme="light"] .native-bottom-nav button:active span{color:var(--red)}
