.sz-departments, .sz-collection {
  background: #141416;
  color: #fff;
  scroll-margin-top: 70px;
}
.sz-departments { padding: clamp(22px, 3.6vw, 54px) 0 clamp(28px, 4vw, 65px); }
.sz-departments .shell, .sz-collection .shell { max-width: 1536px; width: min(94%, 1536px); }
.sz-departments-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(16px, 2.2vw, 34px);
}
#sz-departments-title, .sz-collection h1, .sz-card-caption h2 {
  color: #fff;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.055em;
  text-transform: none;
  margin: 0;
}
#sz-departments-title { font-size: clamp(2.1rem, 4.6vw, 4.65rem); }
#sz-departments-title span, .sz-collection h1 span { color: #ff3c48; }
.sz-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #87878a;
  border-radius: 30px;
  color: #fff;
  font: 600 .94rem/1.2 "Segoe UI", Arial, sans-serif;
  white-space: nowrap;
}
.sz-all:hover { background: white; color: #161618; }
.sz-department-grid {
  display: grid;
  grid-template-columns: 1.58fr 1fr 1fr;
  grid-auto-rows: clamp(195px, 16vw, 270px);
  gap: clamp(8px, .9vw, 16px);
}
.sz-department-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background: #27272b;
  border-radius: 7px;
  color: #fff;
}
.sz-department-card.sz-lead { grid-row: span 2; }
.sz-department-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transition: transform .55s ease;
}
.sz-department-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0a0a0ced, #0a0a0c8c 24%, transparent 62%);
  pointer-events: none;
}
.sz-card-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(13px, 1.45vw, 25px); }
.sz-card-caption h2 { font-size: clamp(1.55rem, 2.3vw, 2.6rem); }
.sz-lead .sz-card-caption { padding: clamp(19px, 2.3vw, 38px); }
.sz-lead h2 { font-size: clamp(2.4rem, 4.1vw, 4.6rem); }
.sz-card-caption p { color: #fff; margin: 6px 0 0; font: 500 clamp(.88rem, 1.06vw, 1rem)/1.3 "Segoe UI", Arial, sans-serif; }
.sz-departments a:focus-visible, .sz-collection a:focus-visible { outline: 3px solid white; outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sz-department-card:hover img { transform: scale(1.045); }
}
.sz-collection { --tint: #44151e; background: linear-gradient(110deg, #171719 9%, var(--tint)); }
.sz-used-pcs { --tint: #39322a; }
.sz-cctv-cameras { --tint: #214257; }
.sz-computers { --tint: #18404a; }
.sz-games { --tint: #361947; }
.sz-collection-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4%; padding-block: clamp(20px, 3vw, 44px); }
.sz-collection-copy { padding-left: clamp(0px, 3vw, 48px); }
.sz-crumbs { display: flex; align-items: center; gap: 10px; font-size: .93rem; }
.sz-crumbs a { color: #e9e6e7; text-decoration: underline; text-underline-offset: 3px; }
.sz-collection h1 { font-size: clamp(2.8rem, 6vw, 6.6rem); margin: .35em 0 .2em; }
.sz-collection-copy p { color: #eae5e6; margin: 0 0 1.4rem; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.sz-collection-photo { width: 100%; height: clamp(230px, 25vw, 390px); object-fit: cover; object-position: 50% 45%; border-radius: 6px; }
.sz-switcher { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 1.5rem; border-top: 1px solid #ffffff36; }
.sz-switcher a { display: flex; align-items: center; min-height: 46px; color: #e5e1e2; font-size: .96rem; border-bottom: 3px solid transparent; }
.sz-switcher a[aria-current=page], .sz-switcher a:hover { color: white; border-color: #ff3946; }
@media(max-width: 850px) {
  .sz-department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .sz-department-card { height: clamp(185px, 27vw, 235px); }
  .sz-department-card.sz-lead { grid-column: 1/-1; grid-row: auto; height: clamp(260px, 42vw, 375px); background: #480508; }
  .sz-lead img { width: 65%; margin-left: auto; object-position: 50% 50%; }
  .sz-lead::after { background: linear-gradient(90deg, #390204 8%, #480508 35%, transparent 62%), linear-gradient(0deg, #27030473, transparent 42%); }
  .sz-lead .sz-card-caption { max-width: 52%; }
}
@media(max-width: 580px) {
  .sz-departments .shell, .sz-collection .shell { width: calc(100% - 24px); }
  .sz-departments-heading { gap: 6px; }
  #sz-departments-title { font-size: clamp(1.7rem, 7.1vw, 2.3rem); }
  .sz-all { padding-inline: 12px; font-size: .88rem; }
  .sz-department-card { height: auto; aspect-ratio: .91; }
  .sz-department-card.sz-lead { height: auto; aspect-ratio: 1.47; }
  .sz-lead img { width: 73%; }
  .sz-lead::after { background: linear-gradient(90deg, #420305, #480508 25%, transparent 64%), linear-gradient(0deg, #26020399, transparent 65%); }
  .sz-lead .sz-card-caption { padding: 16px; max-width: 55%; }
  .sz-lead h2 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .sz-card-caption { padding: 11px; }
  .sz-card-caption h2 { font-size: clamp(1.2rem, 5.5vw, 1.8rem); }
  .sz-card-caption p { font-size: .88rem; }
  .sz-lead .sz-card-caption h2 { font-size: clamp(2rem, 8vw, 2.9rem); }
  .sz-collection-inner { grid-template-columns: 1fr; gap: 18px; }
  .sz-collection-photo { height: auto; aspect-ratio: 1.68; }
  .sz-collection-copy { padding: 0; }
  .sz-switcher { gap: 0 1rem; }
}
