/* The source RGB logo is used only as a luminance mask: no tracing or replacement artwork. */
.review-logo {
  display: block;
  width: 100%;
  aspect-ratio: 2172 / 724;
  background: #fff;
  -webkit-mask-image: url('/customer-assets/assets/supermatik-logo.png');
  mask-image: url('/customer-assets/assets/supermatik-logo.png');
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}
.light .review-logo { background: #121728; }
.review-hub-logo { width: 178px; }

body[data-brand] .header {
  transition: transform .22s ease;
  will-change: transform;
}
body[data-brand] .header.review-header-hidden {
  transform: translateY(calc(-100% - 3px));
  pointer-events: none;
}
.review-language { position: relative; flex: none; }
.review-language summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 11px;
  border: 1px solid #ffffff60;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  list-style: none;
}
.review-language summary::-webkit-details-marker { display: none; }
.review-language summary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.review-language-options {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 138px;
  padding: 5px;
  border: 1px solid #ffffff45;
  border-radius: 12px;
  background: #171d32;
  box-shadow: 0 12px 32px #0008;
}
.review-language-options button {
  display: block;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #f7f8ff;
  text-align: left;
  font-size: 13px;
}
.review-language-options button:hover,
.review-language-options button[aria-pressed="true"] { background: #ffffff20; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body[data-brand] .footer-brand > div { align-items: center; flex-wrap: wrap; gap: 12px 20px; }
body[data-brand] .footer-brand > div :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  font: inherit;
  line-height: 1.5;
  vertical-align: middle;
}
body[data-brand] .footer-inner .footer-legal { display: block; }
body[data-brand] .footer-legal p:first-child { white-space: nowrap; }
body[data-brand] .footer-legal .registration-number { white-space: nowrap; }

@media (max-width: 760px) {
  .review-language summary { min-height: 36px; padding: 5px 8px; font-size: 12px; }
  body[data-brand] .footer-legal p:first-child { font-size: 10px; letter-spacing: -.02em; }
}
@media (max-width: 420px) {
  /* The shared logo, language switch and menu take priority on narrow phones. */
  body[data-brand] .header .header-actions > .button.small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-brand] .header { transition: none; }
}
