/* Shared public theme: compact header control and distinct graphite surfaces. */
.storefront { color-scheme: light; }
.storefront .home-header-contact { display: flex; flex-direction: column; align-items: flex-start; padding-right: 16px; }
.storefront .home-header-contact .city { padding-right: 0; font-size: 11px; }
.storefront .home-header-contact .city svg { width: 15px; height: 15px; }
.storefront .home-header-phone { display: inline-flex; align-items: center; min-height: 28px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.storefront .home-header-phone svg { display: none; }
.storefront .home-header-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .storefront .home-header-contact { padding-right: 0; }
  .storefront .home-header-phone { justify-content: center; width: 34px; min-height: 44px; }
  .storefront .home-header-phone svg { display: block; }
  .storefront .home-header-phone span { display: none; }
}
.storefront .home-theme-toggle {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 66px; min-height: 44px; padding: 6px 0; margin-right: 12px;
  border: 0; background: transparent; color: #566575; border-radius: 6px;
}
.storefront .home-theme-track {
  display: flex; align-items: center; justify-content: space-between; position: relative;
  width: 64px; height: 32px; padding: 5px 6px; border: 1px solid #9aa7b4;
  border-radius: 18px; background: #e9edf2; pointer-events: none;
}
.storefront .home-theme-track::before {
  content: ""; position: absolute; width: 26px; height: 26px; left: 2px; top: 2px;
  border-radius: 50%; background: #fff; transform: translateX(0);
  transition: transform 190ms cubic-bezier(0.23, 1, 0.32, 1);
}
.storefront .home-theme-track svg { position: relative; width: 18px; height: 18px; }
.storefront .home-theme-sun { color: #18232f; }
.storefront .home-theme-toggle:hover .home-theme-track { border-color: #344c65; }
.storefront .home-theme-toggle:focus-visible { outline: 3px solid #194a73; outline-offset: 3px; }
html[data-home-theme="dark"] .storefront {
  --home-bg: #24272c; --home-surface: #333d49; --home-subtle: #414c5b;
  --home-ink: #f6f8fb; --home-link: #b7d8ff;
  --amtor-muted: #d4dfeb; --amtor-line: #758396;
  color-scheme: dark; color: var(--home-ink); background: var(--home-bg);
  scrollbar-color: #a7b4c5 var(--home-bg);
}
html[data-home-theme="dark"] .storefront .hero { background: var(--home-surface); border-color: #758396; }
html[data-home-theme="dark"] .storefront .franchise { background: #303843; border-color: #758396; }
html[data-home-theme="dark"] .storefront :is(.article-help p, .outline-button, .skip-link) { color: var(--home-ink); background: var(--home-subtle); border-color: #a6b6c8; }
html[data-home-theme="dark"] .storefront :is(.eyebrow, .hero-lead, .delivery-note, .search-foot, .info-top, .diagonal, .info-label, .footer-brand span, .copyright, .amtor-footer nav) { color: var(--amtor-muted); }
html[data-home-theme="dark"] .storefront .part-search { color: #172431; background: #f7f9fc; border-color: #f7f9fc; }
html[data-home-theme="dark"] .storefront .part-search input { color: #172431; }
html[data-home-theme="dark"] .storefront .part-search input::placeholder { color: #526478; }
html[data-home-theme="dark"] .storefront :is(.delivery-accent, .step-index, .search-error, .info-item:hover h3, .info-item:hover .diagonal, .amtor-footer a:hover) { color: #ffb8c8; }
html[data-home-theme="dark"] .storefront .text-link { color: var(--home-link)!important; }
html[data-home-theme="dark"] .storefront :is(a, button, summary, input):focus-visible,
html[data-home-theme="dark"] .storefront .part-search:focus-within { outline-color: var(--home-link); }
html[data-home-theme="dark"] .storefront .outline-button:hover { background: #536478; border-color: #e1ebf5; }
/* The help panel is a pale inset, rather than another nearly identical dark box. */
html[data-home-theme="dark"] .storefront .fitment-card { color: #18232f; background: #e1e9f2; border-color: #e1e9f2; }
html[data-home-theme="dark"] .storefront .fitment-card :is(p, small, .help-symbol) { color: #3b4f64; }
html[data-home-theme="dark"] .storefront .fitment-card .outline-button { color: #fff; background: #293e55; border-color: #293e55; }
html[data-home-theme="dark"] .storefront .fitment-card .outline-button:hover { background: #3b536d; }
html[data-home-theme="dark"] .storefront .fitment-card a:focus-visible { outline-color: #194a73; }
html[data-home-theme="dark"] .storefront .header-stage::before,
html[data-home-theme="dark"] .storefront .header-stage.is-scrolled::before { background: #24272c; }
html[data-home-theme="dark"] .storefront .header-stage .mobile-nav { background: #333d49; }
html[data-home-theme="dark"] .storefront .header-stage :is(.desktop-nav a:hover, .home-menu[open] > summary, .header-tools .icon-link:hover) { color: #ffb8c8; }
html[data-home-theme="dark"] .storefront .header-tools .icon-link:hover { background: #414c5b; }
html[data-home-theme="dark"] .storefront :is(.brand img, .footer-brand img) { filter: brightness(0) invert(1); }
html[data-home-theme="dark"] .storefront .franchise-image { background: #292e35; border-color: #758396; }
/* Blend the paper illustration into graphite without changing the light asset. */
html[data-home-theme="dark"] .storefront.home-page .franchise-image img {
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
}
/* Warm ceiling lights follow the illustration coordinates, without intercepting input. */
html[data-home-theme="dark"] .storefront.home-page .franchise-image { position: relative; }
html[data-home-theme="dark"] .storefront.home-page .franchise-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%202161%20728%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22halo%22%3E%3Cstop%20stop-color%3D%22%23ffe3a0%22%20stop-opacity%3D%22.38%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffe3a0%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22beam%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23ffdc91%22%20stop-opacity%3D%22.18%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffdc91%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D%22soft%22%20x%3D%22-.5%22%20y%3D%22-.2%22%20width%3D%222%22%20height%3D%221.4%22%3E%3CfeGaussianBlur%20stdDeviation%3D%228%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate%28628%2062%29%20rotate%2828%29%22%3E%3Cpath%20d%3D%22M-3%201%203%201%2092%20330%20Q0%20370-92%20330Z%22%20fill%3D%22url%28%23beam%29%22%20filter%3D%22url%28%23soft%29%22%2F%3E%3Cellipse%20cy%3D%225%22%20rx%3D%2234%22%20ry%3D%2224%22%20fill%3D%22url%28%23halo%29%22%2F%3E%3Cellipse%20rx%3D%224.5%22%20ry%3D%222.2%22%20fill%3D%22%23fff4cc%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28665%20100%29%20rotate%2828%29%22%3E%3Cpath%20d%3D%22M-3%201%203%201%2092%20330%20Q0%20370-92%20330Z%22%20fill%3D%22url%28%23beam%29%22%20filter%3D%22url%28%23soft%29%22%2F%3E%3Cellipse%20cy%3D%225%22%20rx%3D%2234%22%20ry%3D%2224%22%20fill%3D%22url%28%23halo%29%22%2F%3E%3Cellipse%20rx%3D%224.5%22%20ry%3D%222.2%22%20fill%3D%22%23fff4cc%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28715%20131%29%20rotate%280%29%22%3E%3Cpath%20d%3D%22M-3%201%203%201%2092%20330%20Q0%20370-92%20330Z%22%20fill%3D%22url%28%23beam%29%22%20filter%3D%22url%28%23soft%29%22%2F%3E%3Cellipse%20cy%3D%225%22%20rx%3D%2234%22%20ry%3D%2224%22%20fill%3D%22url%28%23halo%29%22%2F%3E%3Cellipse%20rx%3D%224.5%22%20ry%3D%222.2%22%20fill%3D%22%23fff4cc%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281021%20131%29%20rotate%280%29%22%3E%3Cpath%20d%3D%22M-3%201%203%201%2092%20330%20Q0%20370-92%20330Z%22%20fill%3D%22url%28%23beam%29%22%20filter%3D%22url%28%23soft%29%22%2F%3E%3Cellipse%20cy%3D%225%22%20rx%3D%2234%22%20ry%3D%2224%22%20fill%3D%22url%28%23halo%29%22%2F%3E%3Cellipse%20rx%3D%224.5%22%20ry%3D%222.2%22%20fill%3D%22%23fff4cc%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281230%20124%29%20rotate%280%29%22%3E%3Cpath%20d%3D%22M-3%201%203%201%2092%20330%20Q0%20370-92%20330Z%22%20fill%3D%22url%28%23beam%29%22%20filter%3D%22url%28%23soft%29%22%2F%3E%3Cellipse%20cy%3D%225%22%20rx%3D%2234%22%20ry%3D%2224%22%20fill%3D%22url%28%23halo%29%22%2F%3E%3Cellipse%20rx%3D%224.5%22%20ry%3D%222.2%22%20fill%3D%22%23fff4cc%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281525%20124%29%20rotate%280%29%22%3E%3Cpath%20d%3D%22M-3%201%203%201%2092%20330%20Q0%20370-92%20330Z%22%20fill%3D%22url%28%23beam%29%22%20filter%3D%22url%28%23soft%29%22%2F%3E%3Cellipse%20cy%3D%225%22%20rx%3D%2234%22%20ry%3D%2224%22%20fill%3D%22url%28%23halo%29%22%2F%3E%3Cellipse%20rx%3D%224.5%22%20ry%3D%222.2%22%20fill%3D%22%23fff4cc%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281669%20124%29%20rotate%28-18%29%22%3E%3Cpath%20d%3D%22M-3%201%203%201%2092%20330%20Q0%20370-92%20330Z%22%20fill%3D%22url%28%23beam%29%22%20filter%3D%22url%28%23soft%29%22%2F%3E%3Cellipse%20cy%3D%225%22%20rx%3D%2234%22%20ry%3D%2224%22%20fill%3D%22url%28%23halo%29%22%2F%3E%3Cellipse%20rx%3D%224.5%22%20ry%3D%222.2%22%20fill%3D%22%23fff4cc%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%281762%2057%29%20rotate%28-18%29%22%3E%3Cpath%20d%3D%22M-3%201%203%201%2092%20330%20Q0%20370-92%20330Z%22%20fill%3D%22url%28%23beam%29%22%20filter%3D%22url%28%23soft%29%22%2F%3E%3Cellipse%20cy%3D%225%22%20rx%3D%2234%22%20ry%3D%2224%22%20fill%3D%22url%28%23halo%29%22%2F%3E%3Cellipse%20rx%3D%224.5%22%20ry%3D%222.2%22%20fill%3D%22%23fff4cc%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  mix-blend-mode: screen;
}
@media (forced-colors: active) {
  html[data-home-theme="dark"] .storefront.home-page .franchise-image::after { content: none; }
}
html[data-home-theme="dark"] .storefront .home-theme-track { background: #414c5b; border-color: #a6b6c8; color: #d4dfeb; }
html[data-home-theme="dark"] .storefront .home-theme-track::before { transform: translateX(32px); background: #e1e9f2; }
html[data-home-theme="dark"] .storefront .home-theme-sun { color: #d4dfeb; }
html[data-home-theme="dark"] .storefront .home-theme-moon { color: #18232f; }
html[data-home-theme="dark"] .storefront .home-theme-toggle:hover .home-theme-track { border-color: #f6f8fb; }
html[data-home-theme="dark"] .storefront .home-theme-toggle:focus-visible { outline-color: var(--home-link); }
/* Consent choices keep their original behavior, and remain distinct from content. */
html[data-home-theme="dark"] .storefront #privacy-dock { color: #18232f; background: #e1e9f2; border-color: #a6b6c8; }
html[data-home-theme="dark"] .storefront #privacy-dock :is(p, nav a) { color: #3b4f64; }
html[data-home-theme="dark"] .storefront #privacy-dock form button { color: #18232f; background: #fff; border-color: #62758b; }
html[data-home-theme="dark"] .storefront #privacy-dock form .primary-button { color: #fff; background: #293e55; border-color: #293e55; }
html[data-home-theme="dark"] .storefront #privacy-dock form button:hover { color: #18232f; background: #c6d3e1; }
html[data-home-theme="dark"] .storefront #privacy-dock :is(button, a):focus-visible { outline-color: #194a73; }
html[data-home-theme="dark"] .storefront #privacy-dock form [data-choice-error] { color: #a30020; }
@media (max-width: 640px) {
  .storefront .home-theme-toggle { width: 50px; margin-right: 4px; }
  .storefront .home-theme-track { width: 48px; height: 28px; padding: 4px; }
  .storefront .home-theme-track::before { width: 22px; height: 22px; }
  .storefront .home-theme-track svg { width: 16px; height: 16px; }
  html[data-home-theme="dark"] .storefront .home-theme-track::before { transform: translateX(20px); }
  .storefront .header-tools .city { display: none; }
}
@media (forced-colors: active) {
  .storefront .home-theme-track { border-color: ButtonText; }
  .storefront .home-theme-track::before { background: Highlight; }
  .storefront .home-theme-toggle[aria-checked="true"] { outline: 2px solid Highlight; }
  html[data-home-theme="dark"] .storefront :is(.brand img, .footer-brand img) { filter: none; }
}

.storefront .home-theme-toggle[hidden] { display: none !important; }

/* Keep keyboard changes immediate and respect the system motion preference. */
.storefront .home-theme-toggle:focus-visible .home-theme-track::before { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .storefront .home-theme-track::before { transition: none; }
}
