/* Day uses the original storefront grading. Other palettes color the shared surfaces. */
html[data-nitro-theme]:not([data-nitro-theme="day"]) {
  color-scheme: var(--nitro-scheme);
  --background: var(--nitro-bg);
  --raised: var(--nitro-surface);
  --text: var(--nitro-text);
  --soft: var(--nitro-muted);
  --line: var(--nitro-line);
  --lime: var(--nitro-accent);
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) body {background: var(--nitro-bg); color: var(--nitro-text);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.site-header, .site-footer) {
  --bar-ink: var(--nitro-text);
  --bar-muted: var(--nitro-muted);
  --bar-seam: var(--nitro-line);
  color: var(--nitro-text);
  background: var(--nitro-surface);
  border-color: var(--nitro-line);
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .site-header #cart-count {
  color: var(--nitro-on-accent);
  background: var(--nitro-accent);
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.site-header .primary-nav a,.site-footer .footer-link,.site-header .account-glyph) {color: var(--nitro-muted);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.site-header .primary-nav a,.site-footer .footer-link):hover {color: var(--nitro-accent);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .site-header :is(.account-entry,.cart-trigger,.mobile-menu > summary,.tools-panel) {
  color: var(--nitro-text);
  background: var(--nitro-layer);
  border-color: var(--nitro-line);
  box-shadow: none;
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .site-header :is(.account-entry,.cart-trigger,summary):hover {border-color: var(--nitro-accent);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .tools-panel :is(.menu-language, .menu-language button, .menu-language span) {color: var(--nitro-text);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .tools-panel .menu-language:focus-within {background: var(--nitro-surface);}

html[data-nitro-theme]:not([data-nitro-theme="day"]) .hero {
  --studio-ink: var(--nitro-text);
  --studio-muted: var(--nitro-muted);
  --studio-teal: var(--nitro-accent);
  --studio-seam: var(--nitro-line);
  color-scheme: var(--nitro-scheme);
  background: var(--nitro-bg);
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .studio-environment {
  background: radial-gradient(ellipse at 13% 8%, var(--nitro-glow), transparent 52%),
    radial-gradient(ellipse at 88% 36%, color-mix(in srgb, var(--nitro-glow) 60%, var(--nitro-surface)), transparent 57%),
    var(--nitro-bg);
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .hero :is(.viewer-dock,.flavor-rail button:hover,.flavor-rail button[aria-pressed="true"]) {background: var(--nitro-layer);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .hero .flavor-rail button {color: var(--nitro-text);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .hero .flavor-rail button[aria-pressed="true"] {border-color: var(--nitro-accent);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .hero .flavor-rail button[aria-pressed="true"]::after {background: var(--nitro-accent);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .hero :is(.orbit-disk,.orbit-disc,.studio-floor) {filter: contrast(.87);}

html[data-nitro-theme]:not([data-nitro-theme="day"]) .collection {
  --shop-ink: var(--nitro-text);
  --shop-muted: var(--nitro-muted);
  --shop-focus: var(--nitro-accent);
  color: var(--nitro-text);
  background: linear-gradient(155deg, var(--nitro-bg), var(--nitro-layer));
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .collection :is(.gallery-switch,.retail-choice-panel,.retail-choice,.product-card,.inspect-hint,.inspect-buttons,.retail-media,.retail-side,.retail-composition) {
  color: var(--nitro-text);
  background: var(--nitro-surface);
  border-color: var(--nitro-line);
  box-shadow: none;
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .collection :is(.gallery-switch button,.retail-choice,.retail-photo-link,.gallery-tools a,.inspect-buttons :is(a,button),.media-switch button) {color: var(--nitro-text);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .collection :is(.retail-family,.retail-choice-price,.shop-price small,.side-credit,.card-info p,.gallery-count) {color: var(--nitro-muted);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .collection :is(.section-header h2,.retail-choice-heading,.card-info h3,.shop-price strong) {color: var(--nitro-text);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .collection :is(.retail-choice:hover,.retail-choice[aria-pressed="true"],.inspect-buttons :is(a,button):hover,.media-switch button:hover) {
  color: var(--nitro-text);
  background: var(--nitro-layer);
  border-color: var(--nitro-accent);
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .collection .card-art {
  background: radial-gradient(ellipse at 45% 45%, color-mix(in srgb, var(--card-light, var(--nitro-accent)) 25%, var(--nitro-layer)), var(--nitro-surface) 75%);
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.hero,.collection) .shop-buy,
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.gallery-switch button[aria-pressed="true"],.cart-checkout,.film-contact .button-primary,.finale-shop) {
  color: var(--nitro-on-accent);
  background: var(--nitro-accent);
  border-color: var(--nitro-accent);
  box-shadow: none;
}

html[data-nitro-theme]:not([data-nitro-theme="day"]) .flavor-film {background: var(--nitro-bg);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.film-questions,.film-contact) {
  color: var(--nitro-text);
  background: linear-gradient(125deg, var(--nitro-layer), var(--nitro-bg));
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.film-faq-title,.film-contact-title,.film-questions summary,.range-links a,.range-disc b) {color: var(--nitro-text);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.film-contact-note,.film-contact .film-phone,.film-questions details p,.range-disc span) {color: var(--nitro-muted);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.film-questions details,.film-questions details[open]) {
  color: var(--nitro-text);
  background: var(--nitro-surface);
  border-color: var(--nitro-line);
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .range-disc::before {background: var(--nitro-surface); box-shadow: none;}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.film-questions summary:hover,.film-faq-title .ending-language > span:last-child,.range-links a:hover) {color: var(--nitro-accent);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .film-finale {
  color: var(--nitro-text);
  background: radial-gradient(ellipse at 50% 60%, var(--nitro-glow), var(--nitro-bg) 70%);
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .film-finale :is(h2,.finale-replay) {color: var(--nitro-text); text-shadow: none;}
html[data-nitro-theme]:not([data-nitro-theme="day"]) .finale-return {background: var(--nitro-surface); color: var(--nitro-text); border-color: var(--nitro-line);}

html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.cart-dialog,.side-dialog,.cart-head,.cart-body,.cart-footer,.cart-item,.cart-stepper,.side-dialog-content .retail-composition) {
  color: var(--nitro-text);
  background: var(--nitro-surface);
  border-color: var(--nitro-line);
  box-shadow: none;
}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.cart-dialog,.side-dialog) :is(h2,h4,p,small,strong,label,button,.side-credit a) {color: var(--nitro-text);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.cart-dialog,.side-dialog) button {background: var(--nitro-layer); border-color: var(--nitro-line);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.cart-dialog,.side-dialog) button[aria-pressed="true"] {background: var(--nitro-accent); color: var(--nitro-on-accent);}
html[data-nitro-theme]:not([data-nitro-theme="day"]) :is(.hero,.collection,.site-header,.film-questions,.site-footer,.cart-dialog,.side-dialog) :focus-visible {outline-color: var(--nitro-accent);}

/* The photo catalog retains the real package colors. */
html[data-nitro-album][lang="ps"] body {font-family: var(--font-ps, system-ui), system-ui, sans-serif;}
html[data-nitro-album][lang="en"] body {font-family: var(--font-en, system-ui), system-ui, sans-serif;}
html[data-nitro-album][data-nitro-theme]:not([data-nitro-theme="day"]) :is(header,.tile,.product figure,.product .ingredients,#album-language) {
  color: var(--nitro-text);
  background: var(--nitro-surface);
  border-color: var(--nitro-line);
}
html[data-nitro-album][data-nitro-theme]:not([data-nitro-theme="day"]) :is(header a,figcaption,.tile > span,.product .ingredients small) {color: var(--nitro-muted);}
html[data-nitro-album][data-nitro-theme]:not([data-nitro-theme="day"]) :is(header a:hover,.tile:hover,#album-language:hover) {color: var(--nitro-accent);}
