.category-page { background: #fff; }

.category-page .kitchen-logo {
  max-width: min(190px, 100%);
  max-height: 75px;
}

.category-page :is(#morassutti, #santalucia, #spinelli, #sovet) .kitchen-logo {
  max-width: min(220px, 100%);
  max-height: 100px;
}

.category-page :is(#connubia, #miniforms, #franco-ferri, #bodema, #elli) .kitchen-logo { filter: brightness(0); }

.category-brand-name {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.category-page .kitchen-photo :is(img, video) { object-position: var(--photo-position, center); }

@media (min-width: 1000px) {
  .kitchen-brand--wide-photo .kitchen-photo,
  .kitchen-brand--wide-photo .kitchen-photo img { height: auto; }
  .kitchen-brand--wide-photo:nth-of-type(odd) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .kitchen-brand--wide-photo:nth-of-type(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}

.category-page .kitchen-photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-page .kitchen-photo:has(.category-video-play, iframe) { position: relative; }

.category-motion-photo { position: relative; }

.category-motion-photo video {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.category-motion-photo.is-playing video { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .category-motion-photo video { display: none; }
}

.category-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 78%);
  color: #fff;
  cursor: pointer;
  transition: background .25s ease;
}

.category-video-play[hidden] { display: none; }

.category-video-play::before {
  content: "";
  margin-left: 4px;
  border-block: 9px solid transparent;
  border-left: 14px solid currentColor;
}

.category-video-play:is(:hover, :focus-visible) { background: #000; }

.category-page .kitchen-photo iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
