/* LED card styles: linked directly after styles.css by all homepage entries. */
.store-platform-showcase .platform-led-card--interactive {
  min-height: 280px; /* Was 230px: a little more room around the existing content. */
  scroll-margin-block: 90px;
}
/* These declarations override icon SVG defaults and the PNG's old intrinsic height.
   Scaling, centering, and shadows apply to the whole SVG, never to either layer. */
.store-platform-showcase .platform-led-photo {
  display: block;
  height: auto;
  aspect-ratio: 1;
  fill: none;
  stroke: none;
  color: var(--panel-color);
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--panel-color) 23%, transparent));
  transition: color var(--motion-medium) ease, filter var(--motion-medium) ease;
}
.store-platform-showcase .platform-led-palette--interactive {
  min-width: 0;
  gap: 0;
  margin: 8px 0 0 -7px;
  padding: 0;
  border: 0;
}
.led-overlay-swatch {
  position: relative;
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 44px;
  place-items: center;
  cursor: pointer;
}
.led-overlay-swatch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.led-overlay-swatch span {
  display: block;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--swatch-color);
  box-shadow: 0 0 0 3px #0b121d, 0 0 0 4px #ffffff29, 0 0 18px -2px var(--swatch-color);
  transition: box-shadow var(--motion-fast) ease;
  pointer-events: none;
}
.led-overlay-swatch input:checked + span { box-shadow: 0 0 0 3px #0b121d, 0 0 0 4.5px #f0f5ff, 0 0 19px -2px var(--swatch-color); }
.led-overlay-swatch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 6px; }
.led-overlay-selection { flex: 0 0 100%; margin: 6px 0 0 7px; color: #94a1b3; font-size: .72rem; line-height: 1.5; }
@media (max-width: 1100px) and (min-width: 721px) {
  .store-platform-showcase .platform-led-card--interactive { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); column-gap: 18px; }
  .led-overlay-swatch { flex-basis: 32px; width: 32px; }
}
@media (max-width: 720px) {
  .store-platform-showcase .platform-led-card--interactive { min-height: 0; padding-block: 38px 36px; }
  .store-platform-showcase .platform-led-card--interactive .platform-led-photo { width: min(90%, 330px); margin-block: -12px -24px; }
  .store-platform-showcase .platform-led-palette--interactive { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-platform-showcase .platform-led-photo, .led-overlay-swatch span { transition: none; }
}
