.store-nav > .shell { align-items: center; gap: 12px; overflow: visible; }
.store-nav-links { display: flex; flex: 1; gap: clamp(12px, 3vw, 40px); min-width: 0; overflow-x: auto; }
.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--hardware-panel);
  color: var(--hardware-accent);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle:hover { border-color: currentColor; box-shadow: var(--hardware-glow); }
.theme-toggle .theme-moon, [data-theme="light"] .theme-toggle .theme-sun { display: none; }
[data-theme="light"] .theme-toggle .theme-moon { display: block; }

html[data-theme="light"] { background: #f2f5fa; }
[data-theme="light"] .hardware {
  --ink: #111828;
  --muted: #526078;
  --paper: #f2f5fa;
  --line: #dce4f1;
  --blue: #2456eb;
  --blue-dark: #163fca;
  --hardware-panel: linear-gradient(150deg, #ffffff, #f7faffed);
  --hardware-accent: #1742cb;
  --hardware-edge: inset 0 1px 0 #fff, 0 7px 24px #26488c14;
  --hardware-glow: inset 0 1px 0 #fff, 0 0 24px #4c7bff36;
  color-scheme: light;
  background: radial-gradient(ellipse 68rem 47rem at 92% 14rem, #d6e5ff70, transparent 76%),
    radial-gradient(ellipse 62rem 55rem at 0% 53rem, #dde9ff80, transparent 74%), #f2f5fa;
}
[data-theme="light"] .hardware :is(.top, .header, .store-nav, .repair-header, footer) { color: var(--ink); background: #fffffff2; border-color: var(--line); }
[data-theme="light"] .hardware :is(.top svg, .top button:hover, .top a:hover, footer button:hover, footer a:hover) { color: var(--hardware-accent); }
[data-theme="light"] .hardware :is(.store-nav a, footer p) { color: var(--muted); }
[data-theme="light"] .hardware .store-nav a[aria-current] { color: var(--hardware-accent); border-color: #4e75e8; background: linear-gradient(0deg, #5382ff25, transparent 78%); }
[data-theme="light"] .hardware :is(.search, .sort select, dialog, .dialog-heading, .icon-button, .thumbnail) { color: var(--ink); background: #ffffff; }
[data-theme="light"] .hardware .product-actions .icon-button { background: #f8faffe8; }
[data-theme="light"] .hardware :is(.search button, .secondary, .icon-button[aria-pressed="true"], .icon-button:hover) { color: #1742cb; background: #edf3ff; border-color: #bdcef7; }
[data-theme="light"] .hardware :is(.search button:hover, .secondary:hover, .departments a:hover, .departments button:hover) { color: #163fca; background: #e3edff; }
[data-theme="light"] .hardware .chip { color: var(--ink); background: #ffffff; }
[data-theme="light"] .hardware :is(.chip, .pc-showcase-options button)[aria-pressed="true"] { color: #163fca; background: #e8efff; border-color: #7897ee; box-shadow: 0 0 12px #4d7bfb32; }
[data-theme="light"] .hardware :is(.category, .product, .repair-device, .store-divisions-grid a):is(:hover, :focus-visible, :focus-within) { border-color: #9eb3f6; box-shadow: var(--hardware-glow); }
[data-theme="light"] .hardware .category:is(:hover, :focus-visible) { background: #f8faff; }
[data-theme="light"] .hardware .product-visual::after { background: radial-gradient(ellipse at 8% 3%, #649bff39, transparent 62%); }
[data-theme="light"] .hardware :is(.buy .primary, .repair-page .btn.primary) { box-shadow: 0 0 17px #4976ff38; }
[data-theme="light"] .hardware .hero { border-color: #9eb3f6; box-shadow: 0 0 34px #426dec35; }
[data-theme="light"] .hardware .hero :is(.hero-catalog, .kicker) { color: #e0eaff; }
[data-theme="light"] .hardware .hero[data-cover] .kicker { color: #fff; background: #1743b8; }
[data-theme="light"] .hardware .store-slides button:is(.active, :hover)::after { background: #5d83ff; }
[data-theme="light"] .hardware .division-hero { color: var(--ink); background: radial-gradient(ellipse at 73% 40%, #d3e4ffa0, transparent 69%), #f7faff; }
[data-theme="light"] .hardware .division-hero p { color: var(--muted); }
[data-theme="light"] .hardware .division-photo { box-shadow: 0 0 35px #5480d740; }
[data-theme="light"] .hardware .division-request, [data-theme="light"] .repair-process { background: #e8f0ffaf; }
[data-theme="light"] .hardware :is(.division-form, dialog) :is(input, select, textarea) { background: #ffffff; color: var(--ink); border-color: #a4b8de; }
[data-theme="light"] .repair-page { --repair-surface: #f7faffa8; }
[data-theme="light"] .repair-page .repair-visual::before { background: radial-gradient(ellipse at center, #bdd5ffbd, #d2e3ff62 42%, transparent 74%); }
[data-theme="light"] .repair-page :is(.repair-visual figcaption, .repair-controls button, .repair-outline) { background: #f8faffee; color: var(--ink); border-color: var(--line); }
[data-theme="light"] .repair-page .repair-controls button[aria-pressed="true"] { background: #2456eb; color: white; border-color: #2456eb; box-shadow: 0 0 15px #4d7bfb45; }
[data-theme="light"] .repair-page .repair-outline:hover { background: #e8efff; border-color: #7897ee; }
[data-theme="light"] .hardware :focus-visible { outline-color: #2456eb; }
@media (max-width: 520px) {
  .store-nav > .shell { gap: 7px; }
  .store-nav-links { gap: 12px; }
  .theme-toggle { width: 32px; height: 32px; }
}
[data-theme="light"] .hardware .phone-choices button:is(:hover, [aria-pressed="true"]) { background: #284ca6; border-color: #9ebaff; box-shadow: 0 0 15px #578aff5f; }
[data-theme="light"] .hardware .hero[data-theme="phone"][data-phone-priority] .hero-frame { --phone-tint: #4387ff38; }

@media (max-width: 520px) {
  .store-nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
  .store-nav .store-nav-links a { min-height: 44px; font-size: clamp(11px, 2.6vw, 13px); white-space: normal; }
  .store-nav .theme-toggle { width: 44px; height: 44px; }
}
