:root { --blue:#176ca6; --ink:#122238; --muted:#748091; --line:#e0e6ed; }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; color:var(--ink); background:#f5f7fa; font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
main { width:min(1320px,calc(100% - 48px)); min-height:100svh; margin:auto; padding:28px 0 56px; }
nav { min-height:54px; display:flex; align-items:center; justify-content:flex-end; }
.simon-logo { width:116px; height:auto; mix-blend-mode:multiply; }
header { margin:clamp(56px,9vh,104px) 0 clamp(34px,6vh,60px); }
.eyebrow { color:var(--blue); font-size:.76rem; font-weight:750; letter-spacing:.18em; }
h1 { margin:12px 0 0; font-size:clamp(2.5rem,5.6vw,5.2rem); line-height:.98; letter-spacing:-.055em; }
.categories { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,2vw,26px); }
.category { overflow:hidden; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:24px; text-decoration:none; box-shadow:0 14px 40px rgba(25,45,70,.06); transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease; }
.category:hover,.category:focus-visible { transform:translateY(-6px); border-color:#9dbbd0; box-shadow:0 22px 58px rgba(25,45,70,.13); outline:none; }
.photo { aspect-ratio:1; overflow:hidden; background:#d2d2d2; }
.photo img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .5s ease; }
.category:hover .photo img { transform:scale(1.025); }
.label { min-height:88px; padding:22px 24px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
h2 { margin:0; font-size:clamp(1rem,1.5vw,1.25rem); line-height:1.25; letter-spacing:-.018em; }
.label span { color:var(--blue); font-size:1.45rem; transition:transform .25s ease; }
.category:hover .label span { transform:translateX(4px); }
.notice { position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); padding:13px 20px; color:white; background:var(--ink); border-radius:999px; font-size:.9rem; opacity:0; pointer-events:none; transition:.25s ease; white-space:nowrap; }
.notice.show { opacity:1; transform:translate(-50%,0); }
@media (max-width:760px) {
  main { width:min(100% - 28px,560px); padding:18px 0 40px; }
  .simon-logo { width:96px; }
  header { margin:44px 0 28px; }
  .categories { grid-template-columns:1fr; }
  .category { display:grid; grid-template-columns:42% 58%; border-radius:20px; }
  .photo { aspect-ratio:1; }
  .label { min-height:100%; padding:18px 20px; }
  h2 { font-size:1.05rem; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition-duration:.01ms!important; } }

/* Match the visible M7 switch size to the Simpad category photo. */
.category[data-category="Switches & Sockets"] .photo{display:grid;place-items:center;background:#f5f5f4}
.category[data-category="Switches & Sockets"] .photo img{width:76%;height:76%;object-fit:contain}
