html:has(.hardware) { background: #111827; }
.hardware {
  --ink: #f2f5fb;
  --muted: #b9c5d9;
  --paper: #111827;
  --line: #8daaf04d;
  --blue: #2d56e7;
  --blue-dark: #2449ce;
  --hardware-panel: linear-gradient(155deg, #344767be, #1a2539db 72%);
  --hardware-image: #090d17;
  --hardware-accent: #afc4ff;
  --hardware-edge: inset 0 1px 0 #b6cbff28, 0 9px 29px #080f232b;
  --hardware-glow: inset 0 1px 0 #b5caff55, 0 0 26px #4777f645;
  color: var(--ink);
  color-scheme: dark;
  background:
    radial-gradient(ellipse 68rem 47rem at 84% 15rem, #3760ba38, transparent 76%),
    radial-gradient(ellipse 62rem 55rem at 8% 63rem, #375eab32, transparent 74%),
    linear-gradient(155deg, #1b273c, #111827 61%, #17243a);
}
.hardware .top { background: #121b2bd4; }
.hardware .header, .hardware .store-nav { background: #182338de; border-color: var(--line); color: var(--ink); }
.hardware .store-nav a { color: #b0bace; }
.hardware .store-nav a[aria-current], .hardware .store-nav a:hover { color: var(--hardware-accent); }
.hardware :is(.text-btn, .division-back) { color: var(--hardware-accent); }
.hardware .secondary { color: #e1e9ff; background: #233152; }
.hardware .secondary:hover { background: #344674; }
.hardware .departments :is(a, button):hover { background: #202d49; color: #fff; }
.hardware .departments :is(svg, i) { color: var(--hardware-accent); }
.hardware dialog, .hardware .dialog-heading { color: var(--ink); background: #151a25; }
.hardware :is(.icon-button, .thumbnail) { color: var(--ink); background: #121926; }
.hardware .icon-button:hover, .hardware .icon-button[aria-pressed="true"] { color: #c8d7ff; border-color: #6e91ff; background: #233152; }
.hardware dialog :is(input, textarea, select) { color: var(--ink); background: #0c1019; }

.hardware .division-hero {
  background: radial-gradient(ellipse at 74% 44%, #2c52a873, transparent 68%), linear-gradient(135deg, #222f46a6, #10192980);
  border-bottom: 1px solid var(--line);
}
.hardware .division-photo { background: var(--hardware-image); border: 1px solid var(--line); border-radius: 20px; object-fit: cover; box-shadow: 0 0 38px #4374ef35; }
.hardware .division-grid article { background: var(--hardware-panel); border-color: var(--line); border-radius: 18px; box-shadow: var(--hardware-edge); }
.hardware .division-grid p, .hardware .division-steps p, .hardware .request-layout > div p { color: var(--muted); }
.hardware .division-steps, .hardware .division-steps li { border-color: var(--line); }
.hardware .division-steps li::before, .hardware .request-actions a { color: var(--hardware-accent); }
.hardware .division-request { background: linear-gradient(135deg, #24375797, #141e30aa); border-top: 1px solid var(--line); }
.hardware .division-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--hardware-panel);
  box-shadow: var(--hardware-edge);
  padding: clamp(16px, 2.5vw, 32px);
}
.hardware .division-form :is(input, select, textarea) { background: #0c1019; color: var(--ink); border-color: #47516a; }
.hardware footer { border-top: 1px solid var(--line); }

/* Use the same motion and focus treatment across the catalog and service pages. */
.hardware :is(.btn, .category, .product, .division-grid article, .store-divisions-grid a, .repair-device) {
  transition: background-color .22s ease, border-color .22s ease, color .22s ease,
    box-shadow .26s ease, translate .26s cubic-bezier(.2,.65,.25,1);
}
.hardware :is(.store-nav a, .repair-local-nav a, .chip, .repair-controls button, .pc-showcase-options button) {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hardware .store-nav a[aria-current] { background: linear-gradient(0deg, #5d85ff22, transparent 78%); }
.hardware :is(.chip, .pc-showcase-options button)[aria-pressed="true"] { box-shadow: 0 0 13px #5785ff42; }
.hardware :is(.chip, .repair-controls button, .pc-showcase-options button):focus-visible {
  outline: 2px solid #b8cbff;
  outline-offset: 3px;
}
.hardware .repair-device { padding: 0 0 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--hardware-panel); overflow: hidden; }
.hardware .repair-device img { border: 0; border-radius: 0; transition: scale .3s cubic-bezier(.2,.65,.25,1), filter .24s ease; }
.hardware .repair-device span { padding-left: 15px; }
.hardware .repair-device > svg { margin-right: 15px; }
.hardware :is(.repair-issue, .repair-faq summary):hover { color: var(--hardware-accent); }
.hardware .repair-service-list li { transition: background-color .2s ease; }
.hardware .repair-service-list li:focus-within { background: #527bfb18; }

@media (hover: hover) and (pointer: fine) {
  .hardware :is(.category, .product, .division-grid article, .store-divisions-grid a, .repair-device):hover {
    translate: 0 -4px;
    border-color: #82a1ff;
    box-shadow: var(--hardware-glow);
  }
  .hardware .category img { transition: scale .3s cubic-bezier(.2,.65,.25,1), filter .24s ease; }
  .hardware .category:hover img { scale: 1.065; filter: brightness(1.12); }
  .hardware .product:hover .product-visual img { transform: scale(1.06); }
  .hardware .repair-device:hover img { scale: 1.04; filter: brightness(1.08); }
  .hardware .btn:hover { translate: 0 -2px; }
  .hardware :is(.chip, .repair-controls button, .pc-showcase-options button):hover {
    border-color: #8da9ff;
    box-shadow: 0 0 16px #537df64f;
  }
  .hardware .repair-service-list li:hover { background: #527bfb18; }
}
.hardware :is(.btn, .chip, .repair-controls button, .pc-showcase-options button):active { translate: 0 1px; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hardware :is(.product, .store-divisions-grid a, .division-grid article, .repair-device):not(:focus-within) {
      animation: hardware-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    @keyframes hardware-enter {
      from { opacity: .66; transform: translateY(14px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hardware :is(.btn, .category, .product, .division-grid article, .store-divisions-grid a, .repair-device):is(:hover, :active) { translate: none; }
  .hardware :is(.category, .repair-device):hover img { scale: none; }
  .hardware .product:hover .product-visual img, .hardware .store-divisions-grid a:hover img { transform: none; }
}
