/* Brand logo system, generated by _tools/site/logos_2026_10_21.py. Do not edit by hand. */
/* Optical sizing: every logo covers about the same area. --lh is the height at scale 1. */
img[src*="/assets/brands/anker.svg"]{--lh:30px}
img[src*="/assets/brands/bissell.svg"]{--lh:26.5px}
img[src*="/assets/brands/choetech.svg"]{--lh:26px}
img[src*="/assets/brands/cisco.svg"]{--lh:44px}
img[src*="/assets/brands/dell.svg"]{--lh:44px}
img[src*="/assets/brands/eufy.svg"]{--lh:42px}
img[src*="/assets/brands/hp.svg"]{--lh:44px}
img[src*="/assets/brands/krups.svg"]{--lh:29px}
img[src*="/assets/brands/lenovo.svg"]{--lh:28.5px}
img[src*="/assets/brands/moulinex.svg"]{--lh:26px}
img[src*="/assets/brands/norvis.svg"]{--lh:31.5px}
img[src*="/assets/brands/philips.svg"]{--lh:27px}
img[src*="/assets/brands/schneider.svg"]{--lh:33.5px}
img[src*="/assets/brands/smeg.svg"]{--lh:27.5px}
img[src*="/assets/brands/spectre.svg"]{--lh:31.5px}
img[src*="/assets/brands/tefal.svg"]{--lh:28px}
img[src*="/assets/brands/tplink.svg"]{--lh:44px}
img[src*="/assets/brands/siemens.svg"]{--lh:25px}
img[src*="/assets/brands/abb.svg"]{--lh:37.5px}
img[src*="/assets/brands/honeywell.svg"]{--lh:26.5px}
img[src*="/assets/brands/johnsoncontrols.svg"]{--lh:40px}

/* Every strip: true brand colours, no greyscale, consistent size and motion. */
.hb-logos img, .brandstrip .logos img, .bcard .logo-wrap img {
  height: calc(var(--lh, 30px) * var(--logo-scale, 1)) !important; width: auto !important;
  max-width: none !important; max-height: none !important; object-fit: contain;
  filter: none !important; opacity: 1 !important; display: block; transition: transform .2s ease; }
.hb-logos, .brandstrip .logos { --logo-scale: 1; }
.bcard .logo-wrap { --logo-scale: .9; height: 44px !important; display: flex; align-items: center; }
.bcard.is-soon img { filter: none !important; opacity: 1 !important; }

/* Layout. Every strip wraps in centred rows of equal cells, so a shorter last row stays centred
   (the homepage holds 21 logos: wall 7 + 7 + 7 on desktop, hero strip 11 + 10; 3 per row on phones). */
.hb-logos > a, .brandstrip .logos > a, .logo-cell { display: flex; align-items: center; justify-content: center; }
.hb-logos a.brandlink, .brandstrip .logos a.brandlink { line-height: 0; border-radius: 6px; padding: 4px; }
.hb-logos a.brandlink:hover img, .brandstrip .logos a.brandlink:hover img { transform: translateY(-2px); }
.hb-logos a.brandlink:focus-visible, .brandstrip .logos a.brandlink:focus-visible { outline: 2px solid #0D9184; outline-offset: 3px; }
.brandstrip .logos { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 20px !important; }
.brandstrip .logos > * { flex: 0 0 150px; height: 52px; display: flex; align-items: center; justify-content: center; }
.hb-logos > img, .brandstrip .logos > img { object-fit: contain; object-position: center; }
#brands .logos img, .hb-logos img { max-width: 100% !important; }

/* Homepage mid strip: label and button on one row, the logo wall below. */
#brands .brandstrip-inner { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px 32px; }
#brands .brandstrip-inner > .logos { grid-column: 1 / -1; grid-row: 2; }
#brands .brandstrip-inner .lbl { max-width: none; }
#brands .logos { gap: 26px 18px !important; --logo-scale: 1; }
#brands .logos > * { flex: 0 0 calc((100% - 6 * 18px) / 7); }
/* Hero strip: label and button on one row, the logos below at full width in rows of eleven. */
.herobrands-inner { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 30px !important; }
.herobrands-inner > .hb-logos { grid-column: 1 / -1; grid-row: 2; }
.herobrands-inner .hb-cta { margin: 0 !important; }
.hb-logos { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 8px !important; --logo-scale: .64;
  min-width: 0; }
.hb-logos > * { flex: 0 0 calc((100% - 10 * 8px) / 11); height: 32px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1180px) {
  .hb-logos > * { flex-basis: calc((100% - 6 * 8px) / 7); }
  #brands .logos { --logo-scale: .86; }
  #brands .logos > * { flex-basis: calc((100% - 6 * 18px) / 7); }
}
@media (max-width: 760px) {
  /* Phones: the hero strip becomes one swipeable row; the logo wall shows three per row. */
  .hb-logos { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; gap: 22px !important;
    padding: 4px 2px 8px; flex-basis: 100%; scrollbar-width: none; --logo-scale: .66; }
  .hb-logos::-webkit-scrollbar { display: none; }
  .hb-logos { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
  [dir=rtl] .hb-logos { -webkit-mask-image: linear-gradient(270deg, #000 78%, transparent); mask-image: linear-gradient(270deg, #000 78%, transparent); }
  .hb-logos > * { flex: 0 0 auto; height: auto; scroll-snap-align: start; }
  #brands .brandstrip-inner, .herobrands-inner { grid-template-columns: minmax(0, 1fr); }
  #brands .logos { gap: 22px 10px !important; --logo-scale: .8; }
  #brands .logos > * { flex-basis: calc((100% - 2 * 10px) / 3); height: 44px; }
  .brandstrip .logos > * { flex-basis: 120px; }
}
@media (prefers-reduced-motion: reduce) { .hb-logos img, .brandstrip .logos img { transition: none; } }
