html[data-store-brand] {--shop-panel:color-mix(in srgb,var(--shop-background) 86%,var(--shop-panel-tone));--background:var(--shop-background);--foreground:var(--shop-foreground);--primary:var(--shop-button);--primary-foreground:var(--shop-buttonText);background:var(--shop-background)!important;color:var(--shop-foreground)}
html[data-store-brand] :is(body,main,.page-shell,[class*="vault-shell"],[class*="legacy-home"],[class*="account-home-shell"]) {background:var(--shop-background)!important;color:var(--shop-foreground)!important}
html[data-store-brand] :is([role="dialog"],dialog,nav:not([data-shared-bottom-nav]),header:not(.top-app-bar),[aria-modal="true"],.language-menu):not(:where([data-draw-original], [data-draw-original] *, [data-store-category-tabs], [data-store-category-tabs] *)) {background:var(--shop-panel)!important;color:var(--shop-foreground)!important}
html[data-store-brand] :is(button,[role="button"],input[type="submit"],a[class*="rounded"][class*="bg-"]):not(:where(.account-copy-id, .top-search-shell *, .top-translate-shell, .top-translate-shell *, [data-quick-entry-url], [data-quick-entry-url] *)):not(:where([data-draw-original], [data-draw-original] *, [data-store-category-tabs], [data-store-category-tabs] *)) {background:var(--shop-button)!important;color:var(--shop-buttonText)!important;border-color:var(--shop-foreground)}
html[data-store-brand] :is(button,[role="button"]) :is(span,svg,i):not(:where(.top-search-shell *, .top-translate-shell, .top-translate-shell *, [data-quick-entry-url], [data-quick-entry-url] *)):not(:where([data-draw-original], [data-draw-original] *, [data-store-category-tabs], [data-store-category-tabs] *)) {color:inherit!important}
html[data-store-brand] :is(button:disabled,[aria-disabled="true"]) {background:#dedede!important;color:#454545!important}
html[data-store-brand] :is(.elaris-brand__name,[data-storefront-brand]) {color:var(--shop-foreground)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
html[data-store-brand] :is([class*="bg-surface-container"],[class*="bg-[#120a24]"],[class*="bg-[#1a0b2e]"],[class*="bg-[#32084b]"],section.bg-white,article.bg-white,.box-item,.glass-panel):not(:where([data-draw-original], [data-draw-original] *, [data-store-category-tabs], [data-store-category-tabs] *)) {background-color:var(--shop-panel)!important;color:var(--shop-foreground)!important}
html[data-store-brand] [data-storefront-atmosphere] {background:linear-gradient(var(--shop-panel),var(--shop-background))!important}
/* Opaque so the merchant background cannot tint the two homepage entrances. */
html[data-store-brand] button[data-quick-entry-url] {background-color:#1c1a1c}
html[data-store-brand] :is(.min-h-screen,[data-storefront-atmosphere]) {color:var(--shop-foreground)!important}
html[data-store-brand] :is(.fixed.inset-0.z-0,[role="dialog"]>section,.fixed.bottom-0.bg-white:not([data-shared-bottom-nav]),.rounded-xl.bg-white,.rounded-lg.bg-white) {background:var(--shop-panel)!important}
html[data-store-brand] :is(main,.min-h-screen) {background-color:var(--shop-background)!important}
html[data-store-brand] :is(.text-white,.text-stone-900,.text-slate-900,.text-on-surface,[class*="text-[#eddcff]"],[class*="text-[#f2e8ff]"]):not(:where(.top-search-shell *, .top-translate-shell, .top-translate-shell *, [data-quick-entry-url], [data-quick-entry-url] *)):not(:where([data-draw-original], [data-draw-original] *, [data-store-category-tabs], [data-store-category-tabs] *)) {color:inherit!important}
html[data-store-brand] :is(button,[role="button"],a[class*="rounded"][class*="bg-"]):not(:where(.account-copy-id, .top-search-shell *, .top-translate-shell, .top-translate-shell *, [data-quick-entry-url], [data-quick-entry-url] *)):not(:where([data-draw-original], [data-draw-original] *, [data-store-category-tabs], [data-store-category-tabs] *)) {outline:1px solid color-mix(in srgb,var(--shop-foreground) 48%,transparent);outline-offset:-1px}
html[data-store-brand] :focus-visible:not([data-shared-bottom-nav] *):not(:where(.top-search-shell *, .top-translate-shell, .top-translate-shell *, [data-quick-entry-url], [data-quick-entry-url] *)) {outline:2px solid var(--shop-foreground)!important;outline-offset:2px}
html[data-store-brand] .page-shell::before {background-image:none!important}
/* Shared card and sheet surfaces used by the customer catalogue, Draw and account. */
html[data-store-brand] :where([class*="bg-[#322346]"],[class*="bg-[#27183b]"],[class*="bg-[#1c1a2e]" i],[class*="bg-[#150629]"],[class*="bg-[#3d2e52]"],[class*="bg-[#231437]"],[class*="bg-[#2f2046]"],[class*="bg-[#28133d]"],[class*="bg-[#f1eff3]"]:not(:is(.draw-activities-shell header, [data-member-search-pinned]) label:has(> input[type="search"])),[class*="bg-[#f4f4f4]"],[class*="bg-[#eee9f1]"]) {
  background-color:var(--shop-panel)!important;
  color:var(--shop-foreground)!important;
}
html[data-store-brand] :where([class*="text-[#d0c6ab]"],[class*="text-[#fff3d4]"],[class*="text-[#a89bb6]"],[class*="text-[#231b00]"],[class*="text-[#1a1c1c]"],[class*="text-[#f7efff]"]):not(:where(.account-copy-id, [data-draw-original], [data-draw-original] *, [data-store-category-tabs], [data-store-category-tabs] *)) {color:inherit!important}
html[data-store-brand] :is(button.fixed.inset-0,[role="dialog"].fixed.inset-0) {background:rgb(0 0 0 / 45%)!important;outline:none}
html[data-store-brand] :is(.fixed.bottom-0,.fixed.top-0):not([data-shared-bottom-nav]):not(button):not([role="button"]):not(:where([data-draw-original], [data-draw-original] *, [data-store-category-tabs], [data-store-category-tabs] *)) {color:var(--shop-foreground)}
html[data-store-brand] :is(nav:not([data-shared-bottom-nav]) a[aria-current="page"],[role="tab"][aria-selected="true"],button[aria-pressed="true"]):not(:where([data-draw-original], [data-draw-original] *, [data-store-category-tabs], [data-store-category-tabs] *)) {
  box-shadow:inset 0 -3px 0 var(--shop-buttonText);
  background:var(--shop-button)!important;color:var(--shop-buttonText)!important;
}

/* The fixed customer header uses its original controls in both scroll states. */
html[data-store-brand] .top-app-bar .elaris-brand__name {
  --brand-ink:color-mix(in srgb,var(--shop-background) 40%,white);
  color:var(--brand-ink)!important;
}
html[data-store-brand] .top-app-bar.scrolled .elaris-brand__name {
  --brand-ink:color-mix(in srgb,var(--shop-background) 48%,black);
}
html[data-store-brand] .top-app-bar .elaris-brand__name::after {
  background:linear-gradient(90deg,transparent,var(--brand-ink),transparent);
}
html[data-store-brand] #topAppBar {color:#1a1c1c}

/* Discovery tabs reveal the shop-colored header at its original opacity. */
html[data-store-brand] [data-store-category-tabs],
html[data-store-brand] .draw-activities-shell > header[data-draw-original] {
  background-color:color-mix(in srgb, var(--shop-background) 95%, transparent);
}

html[data-store-brand] .draw-status-tabs > div {
  background-color:color-mix(in srgb, color-mix(in srgb, var(--shop-background) 94%, white) 40%, transparent);
}

html[data-store-brand] [data-store-category-tabs] button[aria-pressed="true"],
html[data-store-brand] .draw-activities-shell header[data-draw-original] nav button[aria-pressed="true"],
html[data-store-brand] .draw-status-tabs [role="tab"][aria-selected="true"] {
  color:var(--shop-tab-ink,var(--shop-button));
}
html[data-store-brand] [data-store-category-tabs] button[aria-pressed="true"] > span[aria-hidden],
html[data-store-brand] .draw-activities-shell header[data-draw-original] nav button[aria-pressed="true"] > span[aria-hidden] {
  background-color:var(--shop-button);
}
html[data-store-brand] .draw-status-tabs [role="tab"][aria-selected="true"] {
  border-bottom-color:var(--shop-button);
}

html[data-store-brand] [data-store-category-tabs] button[aria-pressed="false"],
html[data-store-brand] .draw-activities-shell header[data-draw-original] nav button[aria-pressed="false"],
html[data-store-brand] .draw-status-tabs [role="tab"][aria-selected="false"] {
  color:var(--shop-foreground);
}

/* One account canvas under both the grid and the centered content column. */
html[data-store-brand] .account-home-shell > [class*="bg-[linear-gradient"],
html[data-store-brand] .account-home-shell > [class*="bg-[radial-gradient"] {
  background-image:none;
}
html[data-store-brand] .account-home-shell > main {
  background:transparent!important;
}
html[data-store-brand] .account-home-shell [class*="bg-[rgba(39,24,59,0.4)]"] {
  background-color:var(--shop-account-card);
}
html[data-store-brand] .account-home-shell .account-card-accent {
  color:var(--shop-button);
}
html[data-store-brand] .account-home-shell .account-avatar-frame {
  border-color:var(--shop-button);
}
html[data-store-brand] .account-home-shell .account-wallet-balance {
  color:var(--shop-balance-ink);
}

/* Customer login welcome screen. */
html[data-store-brand] .login-intro a.login-close {
  background: transparent !important;
  color: var(--shop-foreground) !important;
}
html[data-store-brand] .login-intro button.login-google:enabled {
  background: white !important;
  color: #111111 !important;
}
html[data-store-brand] .login-intro a.login-register {
  background: rgb(255 255 255 / 8%) !important;
  border-color: rgb(255 255 255 / 12%);
  color: var(--shop-login-register-ink, var(--shop-foreground)) !important;
}
html[data-store-brand] .login-intro a.login-register:hover {
  background: rgb(255 255 255 / 10%) !important;
  color: var(--shop-login-register-hover-ink, var(--shop-foreground)) !important;
}
html[data-store-brand] .login-intro :is(.login-google, .login-register):not(:focus-visible) {
  outline: none;
}
html[data-store-brand] .login-intro .login-agreement {
  color: var(--shop-foreground);
}

html[data-store-brand] [data-shared-bottom-nav] a[aria-current="page"] {
  color: var(--shop-button) !important;
}

html[data-store-brand] #languageMenu {
  background:var(--shop-background)!important;
  color:var(--shop-foreground)!important;
}
html[data-store-brand] #languageMenu .language-menu__item {
  background:transparent!important;
  color:inherit!important;
}
html[data-store-brand] #languageMenu .language-menu__item:not(:focus-visible) {
  outline:none;
}
html[data-store-brand] #languageMenu .language-menu__item:is(.is-active,:hover) {
  text-decoration:underline;
}
html[data-store-brand] [data-quick-entry-url] .material-symbols-outlined {
  color:var(--shop-button);
}

/* Wallet roles mirror the original translucent cards, outlined presets and solid primary action. */
html[data-store-brand] .merchant-wallet {
  --wallet-line:color-mix(in srgb,var(--shop-foreground) 22%,transparent);
}
html[data-store-brand] .merchant-wallet main > section {
  background:var(--shop-account-card);
  border-color:var(--wallet-line);
}
html[data-store-brand] .merchant-wallet .pointer-events-none.fixed {
  background:color-mix(in srgb,var(--shop-button) 5%,transparent);
}
html[data-store-brand] .merchant-wallet .bg-gradient-to-br {
  background:linear-gradient(to bottom right,color-mix(in srgb,var(--shop-button) 6%,transparent),transparent);
}
html[data-store-brand] .merchant-wallet section [class~="text-[#ffd300]"] {
  color:var(--shop-wallet-ink);
}
html[data-store-brand] .merchant-wallet button:is([data-wallet-preset],[data-wallet-mode],[data-wallet-filter]) {
  background:transparent!important;
  color:var(--shop-foreground)!important;
  border-color:var(--wallet-line);
  outline:none;
}
html[data-store-brand] .merchant-wallet button[data-wallet-preset] > p {color:inherit!important}
html[data-store-brand] .merchant-wallet button[data-wallet-preset][aria-pressed="true"] {
  background:color-mix(in srgb,var(--shop-button) 10%,transparent)!important;
  color:var(--shop-wallet-selected-ink)!important;
  border-color:var(--shop-wallet-ink);
}
html[data-store-brand] .merchant-wallet button[data-wallet-mode] {
  border-color:var(--shop-wallet-ink);
  color:var(--shop-wallet-ink)!important;
}
html[data-store-brand] .merchant-wallet button[data-wallet-filter][aria-pressed="true"] {
  background:var(--shop-button)!important;
  color:var(--shop-buttonText)!important;
  border-color:var(--shop-button);
}
html[data-store-brand] .merchant-wallet input {
  background:color-mix(in srgb,var(--shop-button) 5%,transparent);
  border-color:var(--wallet-line);
  color:var(--shop-foreground);
}
html[data-store-brand] .merchant-wallet input:focus,
html[data-store-brand] .merchant-wallet button:is([data-wallet-preset],[data-wallet-filter],[data-wallet-mode]):enabled:hover {
  border-color:var(--shop-wallet-ink);
}
