/* =====================================================================
   Product module - page-specific styles only — theme tokens come from
   design-system.css (mobile boundary: 900px — see --eralux-mobile-breakpoint)
   ===================================================================== */

:root {
  /* product module tokens - theme values alias design-system.css */
  --blue: var(--ews-accent);
  --blue-hover: var(--ews-accent-light);
  --ink: var(--ews-ink);
  --ink-soft: var(--ews-muted);
  /* muted */
  --grey: var(--ews-paper-2);
  /* warm grey panel */
  --grey-line: rgba(var(--ews-ink-rgb), 0.12);
  /* lighter hairline than --ews-line */
  --white: var(--ews-paper);
  /* paper */
  --container: 1520px;
  /* module-specific layout width */
  --prod-media-glow: var(--ews-glow);
}

.eralux-product * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.eralux-product {
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

.eralux-product ::selection {
  background: var(--blue);
  color: var(--ews-contrast-ink);
}

.eralux-product :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.eralux-product img {
  max-width: 100%;
  display: block;
}

.eralux-product a {
  color: inherit;
  text-decoration: none;
}

.eralux-product ul {
  list-style: none;
}

.eralux-product .container {
  /* full bleed - no max-width cap, sections span the viewport */
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--eralux-page-padding-horizontal);
}

.eralux-product .eyebrow {
  color: var(--blue);
}

/* ---------- reveal (GSAP) ---------- */
.eralux-product .reveal {
  opacity: 0;
  transform: translateY(28px);
}

@media (prefers-reduced-motion: reduce) {
  .eralux-product .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   PRODUCT HERO
   ============================================================ */
/*
 * The hero ends flush against the next section without this.
 *
 * .hero-grid centres its three columns, so the hero's height is whatever its
 * TALLEST column happens to be, and that column touches the section boundary at
 * both ends. Which column that is depends on the product: with popular finishes
 * the finish column wins and its swatch row sits on the boundary; without them
 * the copy column wins and the black Downloads button butts straight into the
 * grey Key Specifications band, which is where it was noticed.
 *
 * So the padding belongs to the hero itself rather than to any one column —
 * every column ends above the boundary whichever of them is tallest, and a
 * product that gains or loses its finishes does not change the spacing.
 */
.eralux-product .product-hero {
  padding: 0 0 clamp(48px, 5vw, 96px);
}

.eralux-product .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(24px, 2.8vw, 44px);
  align-items: center;
}

/* A product with no finishes renders no middle column, and three declared
   tracks then put the picture in the MIDDLE one — leaving the right third of
   the hero empty and the fixture stranded in the centre. Two tracks put it
   back on the right, where it keeps its bleed toward the viewport edge. */
.eralux-product .hero-grid.no-finish {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}

/* The hero title's size follows the length of the name.
   ews_heading_size_class() in PHP measures the title and adds one of these
   classes; CSS cannot measure text, and the design system's h1 size (up to
   88px) is right for MONTBLANC and absurd for a 62-character controller
   name, which filled the whole first screen with one product title. */
.eralux-product .product-title.is-long {
  font-size: clamp(32px, 4.2vw, 58px);
}

.eralux-product .product-title.is-longer {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.02;
}

.eralux-product .product-title.is-longest {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.eralux-product .breadcrumb {
  color: var(--blue);
  margin-bottom: 28px;
}

.eralux-product .breadcrumb a {
  color: var(--blue);
}

.eralux-product .breadcrumb a:hover {
  color: var(--ink);
}

.eralux-product .breadcrumb .separator {
  margin: 0 12px;
  color: var(--grey-line);
}

.eralux-product .order-code {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 26px;
  background: var(--ink);
  color: rgba(var(--ews-paper-rgb), 0.75);
  border-radius: var(--ews-radius-pill);
}

.eralux-product .product-desc {
  margin-top: 28px;
  color: var(--ink);
  max-width: 560px;
}

.eralux-product .btn-downloads {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 34px;
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: var(--ews-radius);
  cursor: pointer;
  transition: background 0.35s ease;
}

.eralux-product .btn-downloads:hover {
  background: var(--blue);
}

.eralux-product .btn-downloads .arrow {
  transition: transform 0.3s ease;
}

.eralux-product .btn-downloads:hover .arrow {
  transform: translateY(3px);
}

/* ---- hero middle: finish wheel ---- */

.eralux-product .finish-col {
  justify-self: center;
  text-align: center;
  min-width: 0;
  padding-bottom: 20px;
}

.eralux-product .finish-heading {
  display: block;
  color: var(--ink);
}

.eralux-product .finish-name {
  display: block;
  margin-top: 8px;
  min-height: 1.2em;
  color: var(--ink-soft);
}

.eralux-product .finish-wheel {
  position: relative;
  width: min(380px, 78vw);
  aspect-ratio: 1 / 1;
  margin: 26px auto 0;
  overflow: visible;
}

.eralux-product .finish-wheel svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.eralux-product .finish-wheel .segment {
  cursor: pointer;
  stroke: var(--white);
  stroke-width: 2;
  outline: none;
  transition:
    opacity 0.25s ease,
    filter 0.25s ease;
}

.eralux-product .finish-wheel .segment:hover {
  filter: brightness(0.94);
}

.eralux-product .finish-wheel .segment:focus,
.eralux-product .finish-wheel .category-ring:focus {
  outline: none;
}

.eralux-product .finish-wheel .segment:focus-visible,
.eralux-product .finish-wheel .category-ring:focus-visible {
  stroke: var(--blue);
  stroke-width: 3;
}

.eralux-product .finish-wheel .category-ring {
  fill: transparent;
  stroke: none;
  cursor: pointer;
  outline: none;
}

.eralux-product .finish-wheel .category-separator {
  stroke: rgba(var(--ews-ink-rgb), 0.34);
  stroke-width: 1.1;
  pointer-events: none;
}

.eralux-product .finish-wheel .level-separator {
  fill: none;
  stroke: rgba(var(--ews-ink-rgb), 0.34);
  stroke-width: 1.1;
  pointer-events: none;
}

.eralux-product .finish-wheel .ring-label-path {
  fill: none;
  stroke: none;
  pointer-events: none;
}

.eralux-product .finish-wheel .ring-label {
  pointer-events: none;
}

.eralux-product .wheel-center {
  position: absolute;
  inset: 30%;
  /* Not interactive, and its square box would otherwise catch clicks
     meant for the inner edge of the ring around it. */
  pointer-events: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 0 0 2px var(--white),
    0 10px 30px -14px rgba(var(--ews-ink-rgb), 0.28);
}

.eralux-product .wheel-center img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.eralux-product .wheel-center img.active {
  opacity: 1;
}

.eralux-product .standard-finishes[hidden] {
  display: none !important;
}

.eralux-product .standard-finishes {
  margin-top: 34px;
  overflow: visible;
}

.eralux-product .standard-finishes .standard-finishes-label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
}

.eralux-product .standard-finishes-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  overflow: visible;
}

.eralux-product .standard-finish-swatch {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 0;
  border: 1px solid var(--grey-line);
  border-radius: 50%;
  background-clip: padding-box;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.eralux-product .standard-finish-swatch:hover {
  transform: scale(1.08);
}

.eralux-product .standard-finish-swatch::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: border-color 0.25s ease;
}

.eralux-product .standard-finish-swatch.active::after {
  border-color: var(--blue);
}

/* ---- RGB finish: hue-gradient wheel section + tint layers ---- */
.eralux-product .finish-wheel .segment-rgb {
  cursor: crosshair;
  outline: none;
}

.eralux-product .finish-wheel .segment-rgb-slice,
.eralux-product .finish-wheel .segment-rgb-fill {
  stroke: none;
}

.eralux-product .finish-wheel .segment-rgb-outline {
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  pointer-events: none;
}

.eralux-product .finish-wheel .segment-rgb:focus-visible .segment-rgb-outline {
  stroke: var(--blue);
  stroke-width: 3;
}

.eralux-product .finish-wheel .segment-rgb-marker {
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  pointer-events: none;
  filter: drop-shadow(0 0 2px rgba(var(--ews-ink-rgb), 0.55));
}

.eralux-product .finish-wheel .segment.is-receding {
  pointer-events: none;
}

.eralux-product .finish-wheel .segment-rgb-gradient {
  pointer-events: none;
  overflow: hidden;
}

.eralux-product .finish-wheel .segment-rgb-gradient-fill {
  width: 100%;
  height: 100%;
}

.eralux-product .finish-wheel .segment-rgb-hit {
  fill: transparent;
  stroke: none;
}

/* The tint canvas redraws the image it sits on, coloured, cut to the
   image's own alpha. The glow makes it read as lit rather than painted. */
.eralux-product .ews-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.eralux-product .ews-tint.is-on {
  opacity: 1;
}

/* LED (RGB) colours glow; a painted case does not. */
.eralux-product .ews-tint.is-on.is-glow {
  filter: drop-shadow(0 0 18px var(--ews-tint, transparent));
}

.eralux-product .product-stage .ews-tint-stage {
  z-index: 2;
}

.eralux-product .wheel-center .ews-tint-wheel {
  inset: 12%; /* the centre image is padded 12% */
  width: 76%;
  height: 76%;
}

/* The custom wheel fades to white at its outer edge, so its outline
   needs a hint of ink to stay visible against the page. */
.eralux-product .finish-wheel .segment-picker-custom .segment-rgb-outline {
  stroke: rgba(var(--ews-ink-rgb), 0.22);
  stroke-width: 1.5;
}

.eralux-product .finish-wheel .segment-custom-marker {
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  pointer-events: none;
  filter: drop-shadow(0 0 2px rgba(var(--ews-ink-rgb), 0.7));
}

/* Touch: dragging on the wheel picks a colour, so the page must not
   scroll under the finger. */
.eralux-product .finish-wheel {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Saturation slider for the custom-colour finish */
.eralux-product .ews-saturation {
  position: relative;
  z-index: 3; /* above the hero image, which bleeds toward this column */
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(300px, 62vw); /* narrower than the wheel: clear of the stage */
  margin: 14px auto 0;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ews-muted-ink);
  cursor: pointer;
}

.eralux-product .ews-saturation[hidden] {
  display: none;
}

.eralux-product .ews-saturation input[type="range"] {
  flex: 1 1 auto;
  min-width: 0;
  accent-color: var(--ews-accent);
  cursor: pointer;
}

.eralux-product .standard-finish-swatch-custom {
  background:
    radial-gradient(circle at 50% 50%, #000 0, rgba(0, 0, 0, 0) 45%, #fff 100%),
    conic-gradient(
      from 0deg,
      hsl(0 100% 50%),
      hsl(60 100% 50%),
      hsl(120 100% 50%),
      hsl(180 100% 50%),
      hsl(240 100% 50%),
      hsl(300 100% 50%),
      hsl(360 100% 50%)
    );
}

.eralux-product .standard-finish-swatch-rgb {
  background: conic-gradient(
    from 0deg,
    hsl(0 100% 58%),
    hsl(60 100% 58%),
    hsl(120 100% 58%),
    hsl(180 100% 58%),
    hsl(240 100% 58%),
    hsl(300 100% 58%),
    hsl(360 100% 58%)
  );
}

/* ---- hero right: fixture image (the visual highlight) ---- */
.eralux-product .hero-visual {
  position: relative;
  display: grid;
  /* One row, the picture. The finish dots used to have a row of their own
     here; they are laid over the foot of the picture now, so the stage is
     the whole of this column again. */
  grid-template-rows: 1fr;
  align-self: stretch;
}

/* ============================================================
   FINISH PICTURE DOTS

   A finish can carry several photographs — the same fixture from another
   angle, or with an accessory fitted. One dot each, laid over the foot of
   the picture.

   The container is always in the markup and always empty until a finish
   with more than one picture is selected, so there is nothing to show or
   hide and no layout shift when the visitor moves between finishes that
   have one picture and finishes that have several. A single picture
   renders no dots at all: one dot says "there is more here" and then
   disappoints.

   They were under the picture until 0.89.0. The showcase slider owns that
   space now, and two rows of dots one above the other read as a single
   broken row — so these moved onto the image, where the pill keeps them
   legible over a photograph as well as over white.
   ============================================================ */
.eralux-product .finish-dots {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-height: 0;
}

/* The pill is the empty container's only visible trace, so it is drawn
   only when there is something in it — which, for most products, is
   never. :empty is exact here: product.js either fills the box or leaves
   it without a single child. */
.eralux-product .finish-dots:not(:empty) {
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(var(--ews-paper-rgb), 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.eralux-product .finish-dot {
  appearance: none;
  border: 0;
  background: none;
  /* 8px is the dot; 32px is the target. Phones cannot hit 8px, and the
     gap between two dots has to be a miss rather than the wrong one. */
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}

.eralux-product .finish-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--ews-ink-rgb), 0.22);
  /* Faster than the 0.45s image cross-fade above it, so the dot
     acknowledges the click before the picture starts changing. */
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.eralux-product .finish-dot:hover::after {
  background: rgba(var(--ews-ink-rgb), 0.45);
}

.eralux-product .finish-dot[aria-current="true"]::after {
  background: var(--ews-accent);
  transform: scale(1.25);
}

.eralux-product .finish-dot:focus-visible {
  outline: 2px solid var(--ews-accent);
  outline-offset: -4px;
}

@media (prefers-reduced-motion: reduce) {
  .eralux-product .finish-dot::after {
    transition: none;
  }
}

.eralux-product .product-stage {
  position: relative;
  /* Swiping the fixture moves between the pictures of one finish, so
     this surface claims the horizontal axis too — see the note on
     .ews-showcase-slides. */
  touch-action: pan-y;
  aspect-ratio: auto;
  max-height: none;
  width: calc(100% + clamp(32px, 5vw, 100px));
  margin-right: calc(-1 * clamp(32px, 5vw, 100px));
  /* bleed toward the viewport edge */
  overflow: visible;
}

.eralux-product .product-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.45s ease;
  filter: drop-shadow(0 24px 40px rgba(var(--ews-ink-rgb), 0.16));
}

.eralux-product .product-stage img.active {
  opacity: 1;
}

/* ============================================================
   THE SHOWCASE SLIDER

   The hero's right-hand side — the finish wheel and the fixture
   photograph — is slide 1 of a slider. Every slide after it is one
   showcase picture, centred.

   Two things decide the shape of this block.

   First, the height. Slide 1 must set it and keep it: the row of dots
   sits under the slider, and a taller or shorter picture further along
   the set would move the dots up and down as the visitor went through
   it. So slide 1 stays IN THE FLOW — only its opacity is turned off
   when it is not the one showing — and every other slide is laid over
   it, absolutely positioned. The box is therefore always exactly as
   tall as the wheel-and-fixture slide, whatever is in it, and nothing
   has to be measured in JavaScript or guessed at in a pixel value.

   Second, the columns. .hero-grid declares three tracks — copy, finish,
   picture — and the slider replaces the last two of them with a single
   child, so it spans them and repeats their proportions inside slide 1.
   A product with no showcase pictures renders no slider at all, so
   neither this block nor any part of it applies to it.
   ============================================================ */
.eralux-product .ews-showcase {
  position: relative;
  grid-column: 2 / -1;
  min-width: 0;
  align-self: stretch;
  display: grid;
  /* The slides, then the control row. `auto` for the controls: until
     product.js marks the slider ready that row is display: none and
     collapses to nothing, so a page without JavaScript keeps exactly
     the hero it had. */
  grid-template-rows: 1fr auto;
}

.eralux-product .ews-showcase-slides {
  position: relative;
  min-width: 0;
  /* The page owns the vertical axis, this slider owns the horizontal
     one. Without it the browser owns both: it takes a sideways drag
     for the start of a pan, ends the gesture with pointercancel and
     never sends the pointerup the swipe is read from — so swiping did
     nothing, or worked only where the browser happened to decide
     otherwise. */
  touch-action: pan-y;
}

.eralux-product .ews-showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* Out of the tab order as well as out of sight. opacity alone leaves
     the finish wheel's buttons reachable by keyboard from a slide the
     visitor cannot see. */
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s step-end;
}

/* Slide 1 is the one in the flow: it gives the slider its height and
   keeps it for every other slide. It is never taken out of the flow,
   only faded. */
.eralux-product .ews-showcase-slide--hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(24px, 2.8vw, 44px);
  align-items: center;
}

/* No finish wheel, no middle column: .hero-grid.no-finish drops to two
   tracks, and slide 1 is then the picture alone. */
.eralux-product .hero-grid.no-finish .ews-showcase-slide--hero {
  grid-template-columns: minmax(0, 1fr);
}

.eralux-product .ews-showcase-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.28s ease,
    visibility 0s;
}

/* The pictures after slide 1. Centred, and held inside the box slide 1
   established.

   The picture is laid over its slide and told to fit inside it, exactly
   the way the fixture photograph on slide 1 is — see .product-stage img
   above, which has worked on this page since the beginning.

   The obvious way to write this, `max-height: 100%` on a picture at its
   natural size, does NOT work here: the slide is absolutely positioned,
   so a percentage max-height on something inside it resolves to no
   limit at all, and the browser then draws the photograph at whatever
   size it happens to be. Which is what 0.89.0 shipped, and why a tall
   render covered the Key Specifications underneath it. */
.eralux-product .ews-showcase-figure {
  margin: 0;
  position: absolute;
  inset: 0;
}

.eralux-product .ews-showcase-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(var(--ews-ink-rgb), 0.16));
}

/* ---- the control row: an arrow, the dots, an arrow ----

   Hidden until product.js has filled the dots and marked the slider
   ready. A page served without JavaScript shows slide 1 honestly and
   offers no control it cannot honour. */
.eralux-product .ews-showcase-controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 0;
}

.eralux-product .ews-showcase.is-ready .ews-showcase-controls {
  display: flex;
}

.eralux-product .ews-showcase-arrow {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(var(--ews-ink-rgb), 0.42);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.eralux-product .ews-showcase-arrow:hover {
  color: var(--ews-ink);
  background: rgba(var(--ews-ink-rgb), 0.05);
}

.eralux-product .ews-showcase-arrow:focus-visible {
  outline: 2px solid var(--ews-accent);
  outline-offset: 1px;
}

.eralux-product .ews-showcase-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- the dots ----

   Up to seven of them, however many slides there are. Past seven the
   row shows the first slide, the last slide, and a window around the
   one being looked at; the slides between are still rendered, at width
   zero, so the row EASES from one state to the next instead of being
   rebuilt under the visitor's finger. product.js only ever changes
   data-z on a dot that already exists — that is what makes these
   transitions run at all.

   The first and the last dot are never reduced: they are the two ends
   of the set and they say how far it goes.

   The box is given a FIXED width by product.js — the widest this row
   can ever be for that many slides — and the dots centre inside it.
   Without it the row is as wide as the dots happen to be, which is not
   a constant: the current dot is a 40px slot where the others are 24,
   and past seven slides the ends carry one hint or two depending on
   where the visitor is. The row would then breathe between 184px and
   216px and walk the two arrows in and out with it. */
.eralux-product .ews-showcase-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.eralux-product .ews-showcase-dot {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  /* 24px wide by 30px tall is the touch target; the dot inside it is
     7px. The gap between two of them has to be a miss rather than the
     wrong one. */
  width: 24px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

.eralux-product .ews-showcase-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--ews-ink-rgb), 0.26);
  transition:
    width 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.34s ease,
    background 0.24s ease;
}

.eralux-product .ews-showcase-dot:hover::after {
  background: rgba(var(--ews-ink-rgb), 0.5);
}

/* The slide being looked at is a BAR, not a bigger dot. Its height is
   the same 7px as every other dot, so the row's line never thickens —
   only its length changes, which is what reads as "you are here"
   rather than "this one is larger". It needs a wider slot than a dot;
   the slot is part of what the fixed row width above accounts for. */
.eralux-product .ews-showcase-dot[data-z="cur"] {
  width: 40px;
}

.eralux-product .ews-showcase-dot[data-z="cur"]::after {
  width: 26px;
  height: 7px;
  border-radius: 999px;
  background: var(--ews-accent);
}

/* The remaining sizes, nearest to furthest: 7 / 5 / 3 and then
   nothing — close enough together to read as one row tapering off
   rather than as dots of unrelated sizes. */

.eralux-product .ews-showcase-dot[data-z="mid"]::after {
  width: 7px;
  height: 7px;
}

.eralux-product .ews-showcase-dot[data-z="edge"]::after {
  width: 5px;
  height: 5px;
  opacity: 0.6;
}

.eralux-product .ews-showcase-dot[data-z="rim"]::after {
  width: 3px;
  height: 3px;
  opacity: 0.3;
}

/* The rim dot is the row's way of saying "more this way". It is not a
   destination, so it narrows and stops taking clicks. */
.eralux-product .ews-showcase-dot[data-z="rim"] {
  width: 16px;
  pointer-events: none;
}

.eralux-product .ews-showcase-dot[data-z="off"] {
  width: 0;
  pointer-events: none;
}

.eralux-product .ews-showcase-dot[data-z="off"]::after {
  width: 0;
  height: 0;
  opacity: 0;
}

.eralux-product .ews-showcase-dot:focus-visible {
  outline: 2px solid var(--ews-accent);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .eralux-product .ews-showcase-slide,
  .eralux-product .ews-showcase-arrow,
  .eralux-product .ews-showcase-dot,
  .eralux-product .ews-showcase-dot::after {
    transition: none;
  }
}

/* ============================================================
   WHY SPECIFY - split product story (per approved mockups)
   image left / dark content panel right / footer strip
   ============================================================ */
.eralux-product .why-slider {
  position: relative;
  background: var(--ews-dark);
  color: var(--white);
}

.eralux-product .why-pin {
  position: relative;
  /* Exactly the viewport left under the site header. 84vh was an estimate
     that neither matched the viewport nor accounted for the header, so the
     pinned section always sat a little off. --ews-header-overlay is
     published by the header script and is the header's height when it is
     sticky, 0 when it is not. */
  height: calc(100vh - var(--ews-header-overlay, 0px));
  height: calc(100dvh - var(--ews-header-overlay, 0px));
  overflow: hidden;
}

.eralux-product .why-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
}

.eralux-product .why-slide.is-first {
  visibility: visible;
  opacity: 1;
}

/* ---- media: left ~64%, above the footer strip ---- */
.eralux-product .why-media {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 64%;
  overflow: hidden;
  background: radial-gradient(
    120% 90% at 42% 45%,
    var(--prod-media-glow) 0%,
    var(--ews-dark) 70%
  );
}

/* contain, not cover: the product photograph is shown whole rather than
   trimmed to fill the panel. It letterboxes against the radial gradient
   behind it, which is the dark surface this section already sits on.
   The resting scale is 1 so a no-JS or reduced-motion render — where the
   GSAP timeline never runs — is uncropped too. */
.eralux-product .why-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  will-change: transform;
}

/* soft blend into the right panel */
.eralux-product .why-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(var(--ews-dark-rgb), 0) 82%,
    rgba(var(--ews-dark-rgb), 0.85) 100%
  );
}

/* ---- right content panel ---- */
.eralux-product .why-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 3.5vw, 64px) 0 clamp(20px, 2vw, 36px);
}

.eralux-product .why-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
}

.eralux-product .why-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.eralux-product .why-scroll {
  margin-top: clamp(40px, 7vh, 84px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid var(--blue);
  color: rgba(var(--ews-paper-rgb), 0.85);
}

/* ---- panel header: label, counter, progress ---- */
.eralux-product .why-ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.eralux-product .why-head {
  position: absolute;
  top: clamp(40px, 9vh, 88px);
  right: clamp(28px, 3.5vw, 64px);
  left: calc(64% + clamp(20px, 2vw, 36px));
}

.eralux-product .why-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.eralux-product .why-head-row .label {
  color: rgba(var(--ews-paper-rgb), 0.9);
}

.eralux-product .why-counter .current {
  color: var(--blue);
}

.eralux-product .why-counter .separator {
  color: rgba(var(--ews-paper-rgb), 0.5);
  margin: 0 4px;
}

.eralux-product .why-counter .total {
  color: rgba(var(--ews-paper-rgb), 0.7);
}

.eralux-product .why-progress {
  margin-top: 16px;
  height: 2px;
  background: rgba(var(--ews-paper-rgb), 0.22);
  position: relative;
}

.eralux-product .why-progress .bar {
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ---- responsive: heading, then photo, then copy pinned to the bottom ----
   The panel is exactly the viewport under the header, and the three parts
   share it as a flex column: the heading keeps its band at the top, the copy
   takes only the height it needs at the bottom, and the photograph is given
   everything in between — which is how it ends up as wide as the panel
   allows. */
@media (max-width: 900px) {
  .eralux-product .why-head {
    left: 20px;
    right: 20px;
    top: 18px;
  }

  /* The slide drives the stack. Its children come out of the absolute
     positioning the desktop two-column layout needs. */
  .eralux-product .why-slide {
    display: flex;
    flex-direction: column;
  }

  .eralux-product .why-media {
    position: relative;
    inset: auto;
    width: 100%;
    /* clears the heading band above it */
    margin-top: 62px;
    /* takes whatever the copy does not */
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }

  .eralux-product .why-media::after {
    background: linear-gradient(
      to bottom,
      rgba(var(--ews-dark-rgb), 0) 70%,
      rgba(var(--ews-dark-rgb), 0.9) 100%
    );
  }

  .eralux-product .why-content {
    position: relative;
    inset: auto;
    width: 100%;
    flex: 0 0 auto;
    justify-content: flex-end;
    padding: 16px 20px clamp(24px, 5vh, 44px);
    /* .why-pin hides its overflow, so a long caption scrolls in place
       rather than being cut off at the bottom edge. */
    max-height: 60%;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .eralux-product .why-scroll {
    display: none;
  }

  /* No min-height. A floor of 560px contradicted the panel's own
     viewport-minus-header rule and broke landscape outright. */
}

/* ---- no-GSAP / reduced-motion fallback: simple stacked slides ---- */
.eralux-product .why-slider.why-static .why-pin {
  height: auto;
  min-height: 0;
  max-height: none;
}

.eralux-product .why-slider.why-static .why-slide {
  position: relative;
  visibility: visible;
  opacity: 1;
  height: 78vh;
  min-height: 540px;
}

.eralux-product .why-slider.why-static .why-media img {
  transform: none;
}

.eralux-product .why-slider.why-static .why-head {
  display: none;
}

/* ============================================================
   KEY SPECIFICATIONS
   ============================================================ */
.eralux-product .key-specs {
  background: var(--grey);
  padding: 110px 0;
}

.eralux-product .key-specs .section-title {
  margin-bottom: 64px;
}

.eralux-product .specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

/* The module reset strips every margin, so a group's heading sat directly
   on top of its first row with only that row's own 14px padding between
   them. Give the heading its own space. */
.eralux-product .spec-group > h4 {
  margin-bottom: 14px;
}

.eralux-product .spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-line);
}

.eralux-product .spec-row .spec-key {
  color: var(--ink-soft);
}

.eralux-product .spec-row .spec-value {
  text-align: right;
}

/* ============================================================
   APPLICATION HIGHLIGHT
   ============================================================ */
.eralux-product .application {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.eralux-product .application .bg {
  position: absolute;
  inset: 0;
}

.eralux-product .application .bg img {
  width: 100%;
  height: 115%;
  object-fit: cover;
}

.eralux-product .application::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--ews-ink-rgb), 0.35) 0%,
    rgba(var(--ews-ink-rgb), 0.1) 45%,
    rgba(var(--ews-ink-rgb), 0) 70%
  );
}

/* The colour, transparency and blur below are the defaults only. The
   template writes the product's own three values as an inline style
   (ews_glass_panel_style), which overrides them — these stay so the panel
   still looks right if it is ever rendered without that style. */
.eralux-product .application .application-panel {
  max-width: 680px;
  padding: clamp(26px, 3.5vw, 48px);
  border: 1px solid rgba(var(--ews-contrast-ink-rgb), 0.12);
  border-radius: 16px;
  background: rgba(var(--ews-ink-rgb), 0.45);
  -webkit-backdrop-filter: blur(14px) brightness(0.75);
  backdrop-filter: blur(14px) brightness(0.75);
}

.eralux-product .application .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 88px;
  color: var(--white);
}

/* The label sits on its own line with a gap before the heading (the
   module reset strips every margin, so there was none at all). Their
   optical left alignment is finished by product.js — see
   alignApplicationPanelText. */
.eralux-product .application .eyebrow {
  display: block;
  margin-bottom: clamp(10px, 1.1vw, 16px);
  color: var(--white);
  opacity: 0.85;
}

.eralux-product .application-tags {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.eralux-product .application-tags a {
  padding: 10px 18px;
  border: 1px solid rgba(var(--ews-paper-rgb), 0.35);
  border-radius: var(--ews-radius);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

/* Hover reads in the theme blue, the same accent the rest of the page
   uses for its indicators, rather than as a slightly brighter white. */
.eralux-product .application-tags a:hover,
.eralux-product .application-tags a:focus-visible {
  border-color: var(--blue);
  background: rgba(var(--ews-accent-rgb), 0.16);
  color: var(--blue);
}

/* ============================================================
   RESOURCES
   ============================================================ */
.eralux-product .resources {
  padding: 110px 0;
}

.eralux-product .resources .section-title {
  margin-bottom: 64px;
}

.eralux-product .resource-category {
  border-top: 1px solid var(--grey-line);
}

.eralux-product .resource-category:last-child {
  border-bottom: 1px solid var(--grey-line);
}

/* The category label is an <h4> so the accordion carries real document
   structure (matching the <h4> group titles in Key Specifications), with
   the <button> kept INSIDE the heading rather than around it — that is the
   accessible accordion pattern: the heading stays in the outline and the
   button remains the single focusable control.

   No type is set here: design-system.css sizes `body h4` and resets
   `button { font: inherit }`, so the button picks up the h4 scale on its
   own and desktop/mobile stay in step with the rest of the system. */
.eralux-product .resource-category-heading {
  margin: 0;
}

/* category header = accordion toggle (all collapsed by default) */
.eralux-product .resource-category-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  /* Ink at rest, blue on hover — the reverse of the original, so the row
     reads as body-weight structure until it is pointed at. */
  color: var(--ink);
  padding: 26px 0;
  transition: color 0.25s ease;
}

/* :focus-visible matched alongside :hover so keyboard users get the same
   affordance the mouse gets. */
.eralux-product .resource-category-label:hover,
.eralux-product .resource-category-label:focus-visible {
  color: var(--blue);
}

.eralux-product .resource-category-label .resource-toggle {
  flex: none;
  width: 14px;
  height: 14px;
  position: relative;
  color: var(--ink);
}

.eralux-product .resource-category-label .resource-toggle::before,
.eralux-product .resource-category-label .resource-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease;
}

.eralux-product .resource-category-label .resource-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.eralux-product
  .resource-category.open
  .resource-category-label
  .resource-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* collapsible body - grid-rows trick, no height measuring */
.eralux-product .resource-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}

.eralux-product .resource-category.open .resource-body {
  grid-template-rows: 1fr;
}

.eralux-product .resource-body-inner {
  overflow: hidden;
  min-height: 0;
}

.eralux-product .resource-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.eralux-product .resource-row + .resource-row {
  border-top: 1px solid var(--grey);
}

.eralux-product .resource-category .resource-row:last-child {
  padding-bottom: 30px;
}

.eralux-product .resource-actions {
  display: flex;
  gap: 8px;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.eralux-product .resource-actions a {
  transition: color 0.25s ease;
}

.eralux-product .resource-actions a:hover {
  color: var(--blue);
}

.eralux-product .resource-actions .dot {
  color: var(--grey-line);
}

/* ---- a video resource row ----------------------------------------------
   The row stacks instead of sitting on one line: a player next to a title
   on the same baseline would squeeze both. The title keeps its place, the
   player sits under it at the row's full width.

   Nothing here measures height, so the accordion's grid-template-rows
   animation (0fr -> 1fr, above) still works untouched. */
.eralux-product .resource-row--video {
  display: block;
  padding: 18px 0 24px;
}

.eralux-product .resource-row--video .resource-name {
  display: block;
  margin-bottom: 14px;
}

.eralux-product .resource-video {
  position: relative;
  width: 100%;
  max-width: 720px;
  /* Centred in the row. The auto margins only do anything once the frame is
     narrower than the row — below 720px it is full width and they are inert,
     so this needs no media query. */
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  background: var(--ews-dark, #0a0908);
  border-radius: 2px;
  overflow: hidden;
}

/* aspect-ratio is in every browser we support, but a padding-top fallback
   costs two rules and keeps the box from collapsing to nothing if it is
   ever missing. */
@supports not (aspect-ratio: 16 / 9) {
  .eralux-product .resource-video::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
}

/* The facade: a real link (so it works without JavaScript) painted to look
   like a poster frame. product.js swaps it for a <video> on click. */
.eralux-product .resource-video__start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ews-dark, #0a0908);
  cursor: pointer;
  transition: background 0.25s ease;
}

.eralux-product .resource-video__start:hover,
.eralux-product .resource-video__start:focus-visible {
  background: #14120f;
}

/* The play glyph: a circle with a triangle, both drawn in CSS so the row
   needs no image and no stored poster. */
.eralux-product .resource-video__play {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--ews-contrast-ink-rgb, 255, 255, 255), 0.92);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.eralux-product .resource-video__start:hover .resource-video__play,
.eralux-product .resource-video__start:focus-visible .resource-video__play {
  transform: scale(1.08);
  background: var(--blue);
}

.eralux-product .resource-video__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  /* Optically centred: a triangle's visual centre sits left of its bounding
     box, so it is nudged right rather than translated to dead centre. */
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ews-dark, #0a0908);
}

.eralux-product .resource-video__start:hover .resource-video__play::after,
.eralux-product
  .resource-video__start:focus-visible
  .resource-video__play::after {
  border-left-color: #ffffff;
}

/* The inserted player fills the same box the facade did. */
.eralux-product .resource-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--ews-dark, #0a0908);
}

@media (prefers-reduced-motion: reduce) {
  .eralux-product .resource-video__start,
  .eralux-product .resource-video__play {
    transition: none;
  }

  .eralux-product .resource-video__start:hover .resource-video__play,
  .eralux-product .resource-video__start:focus-visible .resource-video__play {
    transform: none;
  }
}

/* ============================================================
   YOU MAY ALSO LIKE
   ============================================================ */
/* ============================================================
   TRACK SYSTEM
   The markup has always emitted .track-system / .track-grid /
   .track-card and its three children, but the stylesheet only ever
   carried three rules for them, all inside the 900px block. With no base
   layout the section rendered as bare headings and paragraphs at every
   width above that. These are the missing base styles, built from the
   same pieces as .also-card just below so the two read as one page.
   ============================================================ */
.eralux-product .track-system {
  padding: 110px 0;
}

.eralux-product .track-system .section-title {
  margin-bottom: 64px;
}

/* Up to five across, collapsing on its own rather than through a stack of
   breakpoints.

   auto-FILL with a bounded track, not auto-fit with 1fr: auto-fit drops the
   empty tracks and hands their width to the cards that are there, so a
   product with two accessories showed two cards half a screen wide each.
   The tracks are laid out as if the row were full, and a card is never
   wider than 280px however few of them there are. */
.eralux-product .track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  gap: 28px;
}

.eralux-product .track-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--ews-radius);
  overflow: hidden;
}

/* The whole card is the control that opens the pop-up. A <button> resets
   hard so it inherits the card rather than the browser's button skin. */
.eralux-product .track-card__trigger {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  /* No font reset here on purpose: design-system.css owns type, `button`
     included, and the only text inside is the <h5> title, which carries
     its own scale from there. */
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.eralux-product .track-card__trigger:hover,
.eralux-product .track-card__trigger:focus-visible {
  outline: 0;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(var(--ews-ink-rgb), 0.1);
}

.eralux-product .track-card__trigger:focus-visible .track-card__title {
  text-decoration: underline;
}

.eralux-product .track-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--grey);
}

.eralux-product .track-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  transition: transform 0.35s ease;
}

.eralux-product .track-card__trigger:hover .track-card__media img {
  transform: scale(1.04);
}

.eralux-product .track-card__body {
  display: block;
  flex: 1 1 auto;
  padding: 20px 22px 24px;
}

.eralux-product .track-card__title {
  margin: 0;
}

/* ============================================================
   TRACK ACCESSORIES POP-UP
   Same shape as the projects and news-and-events pop-ups: fixed
   overlay, scrolling panel, expand + close in a sticky control
   cluster. Title, then image, then description.
   ============================================================ */
.track-modal[hidden] {
  display: none;
}

.track-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 76px);
}

.track-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--ews-ink-rgb), 0.72);
}

.track-modal__panel {
  position: relative;
  width: min(86vw, 900px);
  max-height: calc(100vh - clamp(48px, 10vw, 152px));
  max-height: calc(100dvh - clamp(48px, 10vw, 152px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--ews-ink-rgb), 0.52) transparent;
  background: var(--white);
}

.track-modal__panel::-webkit-scrollbar {
  width: 9px;
}

.track-modal__panel::-webkit-scrollbar-track {
  background: transparent;
}

.track-modal__panel::-webkit-scrollbar-thumb {
  background: rgba(var(--ews-ink-rgb), 0.48);
  border: 2px solid var(--white);
  border-radius: var(--ews-radius-pill);
}

.track-modal__panel::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--ews-ink-rgb), 0.72);
}

/* Sticky so both controls stay reachable while the panel scrolls. The
   negative bottom margin keeps them out of the body's flow, exactly as
   the projects pop-up does it. */
.track-modal__controls {
  position: sticky;
  z-index: 4;
  top: 18px;
  float: right;
  display: flex;
  gap: 10px;
  margin: 18px 18px -62px 0;
}

.track-modal__expand,
.track-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--grey-line);
  border-radius: 50%;
  background: rgba(var(--ews-paper-rgb), 0.96);
  box-shadow: 0 4px 18px rgba(var(--ews-ink-rgb), 0.1);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.track-modal__expand svg {
  width: 18px;
  height: 18px;
}

.track-modal__expand:hover,
.track-modal__expand:focus-visible,
.track-modal__close:hover,
.track-modal__close:focus-visible {
  outline: 0;
  background: var(--ink);
  color: var(--white);
}

/* Expanded: nearly the whole viewport, with the same gap on every edge. */
.track-modal.is-expanded {
  padding: 20px;
}

.track-modal.is-expanded .track-modal__panel {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100%;
}

/* The whole pop-up is budgeted to fit the panel without scrolling: the
   finish swatches must be on screen the moment it opens, or the visitor
   never learns the picture can be changed. Padding, gaps, the heading and
   the picture are all sized with that budget in mind; the expand button is
   there for anyone who wants the picture large. */
.track-modal__body {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(24px, 3vw, 44px);
}

.track-modal__heading {
  /* room for the control cluster floating at the top right */
  padding-right: 108px;
}

.track-modal__heading h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.12;
}

.track-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.6vw, 20px);
  background: var(--grey);
  border-radius: var(--ews-radius);
}

/* Finish variants share one grid cell, which keeps the media block stable
   while allowing a true crossfade instead of a flash between image sources. */
.track-modal__frames {
  display: grid;
  width: 100%;
}

/* Bounded by height so the picture cannot push the swatches below the fold;
   object-fit keeps the aspect ratio. */
.track-modal__media img {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  max-height: min(38vh, 340px);
  object-fit: contain;
}

/* Expanded, the panel owns the viewport, so the picture takes the room the
   swatches and text do not need. */
.track-modal.is-expanded .track-modal__media img {
  max-height: min(64vh, 720px);
}

.track-modal__frame {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.track-modal__frame.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.track-modal__frame.has-error {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .track-modal__frame {
    transition: none;
  }
}

/* ---- finish picker ----
   A row of round swatches under the picture, matching the hero's Popular
   Finishes so the two read as the same control. */
.track-modal__finishes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.track-swatch {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.track-swatch[hidden] {
  display: none;
}

.track-swatch:hover {
  transform: scale(1.08);
}

.track-swatch__dot {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--grey-line);
  border-radius: 50%;
  background-clip: padding-box;
}

/* The swatch is a colour, so its name is carried for assistive technology
   only. Own class rather than the theme's .screen-reader-text: the pop-up
   cannot rely on a theme it does not ship with. */
.track-swatch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.track-swatch.is-rgb .track-swatch__dot {
  background: conic-gradient(
    from 0deg,
    hsl(0 100% 58%),
    hsl(60 100% 58%),
    hsl(120 100% 58%),
    hsl(180 100% 58%),
    hsl(240 100% 58%),
    hsl(300 100% 58%),
    hsl(360 100% 58%)
  );
}

/* The selected ring sits outside the dot, so selecting a finish never
   nudges the row. */
.track-swatch::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: border-color 0.25s ease;
}

.track-swatch.is-active::after {
  border-color: var(--blue);
}

.track-swatch:focus-visible {
  outline: none;
}

.track-swatch:focus-visible::after {
  border-color: var(--blue);
}

.track-modal__finish-name {
  margin: 10px 0 0;
  text-align: center;
  color: var(--ink-soft);
}

.track-modal__text p {
  margin: 0;
  color: var(--ink-soft);
}

/* The pop-up owns the scroll while it is open. */
body.eralux-track-modal-open {
  overflow: hidden;
}

.eralux-product .also-like {
  background: var(--grey);
  padding: 110px 0;
}

.eralux-product .also-like .section-title {
  margin-bottom: 64px;
}

.eralux-product .also-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* The wrapper is the grid item and the card fills it, so four cards in a row
   are one height whatever their names do. Before this the card was a plain
   block sized by its own content: a two-line name made a taller card, and the
   white panels, the SKUs and the "View product" links all sat at four
   different heights across the row. */
.eralux-product .also-card-wrap {
  display: flex;
}

.eralux-product .also-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  border-radius: var(--ews-radius);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.eralux-product .also-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(var(--ews-ink-rgb), 0.25);
}

.eralux-product .also-card .thumb {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white);
}

.eralux-product .also-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  transition: transform 0.5s ease;
}

.eralux-product .also-card:hover .thumb img {
  transform: scale(1.05);
}

.eralux-product .also-card .meta {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 24px 26px;
  border-top: 1px solid var(--grey);
}

.eralux-product .also-card .sku {
  color: var(--ink-soft);
}

/* Pushed to the bottom, so the link sits on one line across the row however
   many lines the name above it takes. */
.eralux-product .also-card .view {
  margin-top: auto;
  padding-top: 10px;
  color: var(--blue);
}

/* ============================================================
   FOOTER
   ============================================================ */
.eralux-product .site-footer {
  background: var(--ink);
  color: rgba(var(--ews-paper-rgb), 0.7);
  padding: 88px 0 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .eralux-product .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .eralux-product .hero-visual {
    grid-column: 1 / -1;
  }

  .eralux-product .product-stage {
    width: 100%;
    margin-right: 0;
  }

  .eralux-product .finish-col {
    justify-self: center;
    margin-right: 0;
  }

  .eralux-product .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eralux-product .also-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .eralux-product .hero-grid {
    grid-template-columns: 1fr;
  }

  .eralux-product .hero-visual {
    grid-column: auto;
    order: -1;
  }

  .eralux-product .finish-col {
    margin-top: 8px;
  }

  /* ---- the showcase slider on a phone ----

     One column, and the picture above the wheel inside slide 1 — the
     order a product without showcase pictures has always had further
     down this file: the name and the description, then the fixture,
     then the finish wheel.

     The slider stands where the picture alone used to stand. Its
     order is the picture's order, 2, between the copy at 1 and
     anything after it — the finish column is inside the slider now,
     so the 3 it carries lower down no longer places anything.

     The slides after slide 1 are CENTRED in the box, here as
     everywhere else. Slide 1 is tall on a phone -- picture, then
     wheel, then the popular finishes -- and the box is as tall as
     slide 1 by design, so that the row of dots never moves. A
     showcase picture pinned to the top of that box, which is what
     0.89.0 did to keep it where the fixture is, left the whole of
     that height as one gap between the picture and the dots. Centred,
     the same spare height is split above and below and reads as a
     frame around the picture instead of a hole under it. */
  .eralux-product .ews-showcase {
    order: 2;
  }

  .eralux-product .ews-showcase-slide--hero {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
  }

  .eralux-product .ews-showcase-slide--hero .hero-visual {
    order: -1;
  }

  /* The .why-content padding and the .why-progress / .why-counter offsets
     that used to sit here belonged to an older layout: .why-progress is
     position: relative, so `left: 32px` shifted the bar sideways out of its
     own heading row, and `right` on the static counter did nothing at all.
     The block above owns the mobile Why Specify layout now. */

  .eralux-product .key-specs,
  .eralux-product .resources,
  .eralux-product .also-like {
    padding: 72px 0;
  }
}

/* ============================================================
   PRODUCT PAGE RESPONSIVE POLISH - v0.1.32
   Keeps the custom fixed header clear without leaving the large
   empty band used by the previous desktop/tablet/mobile values.
   ============================================================ */
@media (max-width: 900px) {
  body.eralux-product-active .eralux-product .hero-grid {
    align-items: stretch;
  }

  body.eralux-product-active .eralux-product .hero-visual {
    width: 100%;
  }

  body.eralux-product-active .eralux-product .hero-info {
    width: 100%;
  }

  body.eralux-product-active .eralux-product .product-desc {
    max-width: 680px;
  }

  body.eralux-product-active .eralux-product .finish-col {
    width: 100%;
    margin-top: 0;
  }
}

/* ============================================================
   FLUID SCREEN ADAPTATION - v0.1.33
   The hero needs to leave its three-column layout before any
   column becomes too narrow. All descendants are also constrained
   to the available viewport width to prevent mobile overflow.
   ============================================================ */
@media (max-width: 1380px) {
  body.eralux-product-active .eralux-product .hero-grid {
    grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1fr);
    column-gap: clamp(32px, 5vw, 72px);
    row-gap: 38px;
    align-items: center;
  }

  body.eralux-product-active .eralux-product .hero-info {
    min-width: 0;
  }

  body.eralux-product-active .eralux-product .finish-col {
    width: 100%;
    max-width: 430px;
    justify-self: center;
  }

  body.eralux-product-active .eralux-product .finish-wheel {
    width: min(360px, 100%);
  }

  body.eralux-product-active .eralux-product .hero-visual {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.eralux-product-active .eralux-product .product-stage {
    width: min(100%, 1040px);
    min-height: clamp(260px, 35vw, 440px);
    margin: 0 auto;
  }

  /* A product WITH showcase pictures cannot follow the two rules above:
     the finish column and the picture are one grid child here — the
     slider — so they cannot be split across the two rows this
     breakpoint gives them. The hero becomes a single column instead,
     the copy first and the slider across the full width underneath,
     with the wheel still beside the picture inside slide 1. The reading
     order is the one it always was; only the wheel's neighbour
     changes. */
  body.eralux-product-active .eralux-product .hero-grid.has-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  body.eralux-product-active .eralux-product .ews-showcase {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* ============================================================
   MOBILE - consolidated section (single boundary: 900px — see
   --eralux-mobile-breakpoint). Merges the former 640 / 600 / 820
   breakpoints, preserving the original rule order.
   ============================================================ */
@media (max-width: 900px) {
  /* -- finish wheel (formerly 640) -- */
  .eralux-product .finish-wheel {
    width: min(350px, 88vw);
  }

  /* -- layout collapse (formerly 600) -- */
  .eralux-product .specs-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .eralux-product .also-grid {
    grid-template-columns: 1fr;
  }

  .eralux-product .resource-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  body.eralux-product-active .eralux-product main,
  body.eralux-product-active .eralux-product section,
  body.eralux-product-active .eralux-product .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.eralux-product-active .eralux-product .hero-info,
  body.eralux-product-active .eralux-product .hero-visual,
  body.eralux-product-active .eralux-product .finish-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.eralux-product-active .eralux-product .product-stage {
    height: auto;
    margin: 0 !important;
  }

  body.eralux-product-active .eralux-product .finish-wheel {
    max-width: 100%;
  }

  body.eralux-product-active .eralux-product img,
  body.eralux-product-active .eralux-product svg,
  body.eralux-product-active .eralux-product video,
  body.eralux-product-active .eralux-product iframe {
    max-width: 100%;
  }

  body.eralux-product-active .eralux-product .spec-row .spec-key,
  body.eralux-product-active .eralux-product .spec-row .spec-value {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.eralux-product-active .eralux-product .spec-row {
    gap: 18px;
    align-items: flex-start;
  }

  body.eralux-product-active .eralux-product .spec-row .spec-key {
    flex: 0 0 42%;
  }

  body.eralux-product-active .eralux-product .spec-row .spec-value {
    flex: 1 1 auto;
    text-align: right;
  }

  body.eralux-product-active .eralux-product .breadcrumb {
    margin-bottom: 18px;
  }

  body.eralux-product-active .eralux-product .breadcrumb .separator {
    margin: 0 7px;
  }

  body.eralux-product-active .eralux-product .product-title {
    overflow-wrap: anywhere;
  }

  body.eralux-product-active .eralux-product .order-code {
    max-width: 100%;
    margin-top: 18px;
    padding: 10px 18px;
    flex-wrap: wrap;
  }

  body.eralux-product-active .eralux-product .product-desc {
    margin-top: 20px;
  }

  body.eralux-product-active .eralux-product .btn-downloads {
    width: 100%;
    min-height: var(--ews-control-height);
    margin-top: 28px;
    justify-content: center;
    padding: 14px 20px;
  }

  body.eralux-product-active .eralux-product .product-stage {
    width: 100% !important;
  }

  body.eralux-product-active .eralux-product .finish-col {
    padding: 10px 0 18px;
  }

  body.eralux-product-active .eralux-product .finish-wheel {
    margin-top: 20px;
  }

  body.eralux-product-active .eralux-product .standard-finishes {
    margin-top: 26px;
  }

  body.eralux-product-active .eralux-product .standard-finishes-row {
    gap: 14px;
  }

  body.eralux-product-active .eralux-product .section-title {
    overflow-wrap: anywhere;
  }

  body.eralux-product-active .eralux-product .key-specs,
  body.eralux-product-active .eralux-product .resources,
  body.eralux-product-active .eralux-product .also-like,
  body.eralux-product-active .eralux-product .track-system {
    padding: 56px 0;
  }

  body.eralux-product-active .eralux-product .track-system .section-title {
    margin-bottom: 32px;
  }

  body.eralux-product-active .eralux-product .track-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* ---- Track Accessories pop-up on a phone -------------------------- */
  /* Not prefixed with body.eralux-product-active: the pop-up is a fixed
     overlay on <body>, and the desktop rules above are unprefixed too, so
     prefixing only here would raise specificity on half the pair and let
     the desktop values win at this width. */
  .track-modal {
    align-items: end;
    padding: 8px;
  }

  .track-modal__panel {
    width: 100%;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .track-modal__panel::-webkit-scrollbar {
    width: 6px;
  }

  .track-modal__controls {
    top: 10px;
    margin: 10px 10px -54px 0;
  }

  .track-modal__close {
    width: 40px;
    height: 40px;
  }

  /* The panel already fills the screen here, so expanding is a no-op —
     hide the control rather than offer a button that does nothing. This
     is what the projects pop-up does at the same width. */
  .track-modal__expand {
    display: none;
  }

  .track-modal__body {
    gap: 14px;
    padding: 24px 16px 28px;
  }

  .track-modal__heading {
    /* one control left, so less room to reserve */
    padding-right: 52px;
  }

  /* The swatches have to be reachable without scrolling here too, and the
     panel is the whole screen, so the picture gets what is left. */
  .track-modal__media img {
    max-height: 34vh;
  }

  .track-swatch {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  /* -- Application Space: panel BELOW the picture on a phone --

     On a wide screen the panel is a glass card sitting on the bottom of a
     full-bleed photograph: the section is a flex box aligned to flex-end, the
     picture is an absolutely positioned background filling it, and the panel
     floats over the picture in white text on a blurred, semi-transparent
     tint.

     None of that survives a phone. The panel is full-width there, so it
     covers most of the picture it is supposed to be sitting on — the very
     application space the section exists to show. And a blurred translucent
     tint over an arbitrary product photograph is a gamble on contrast that a
     ~390px column cannot afford: the tint is an editable per-product setting,
     so the panel can be configured light enough to lose white text entirely.

     So the two are unstacked: the panel becomes an ordinary opaque block of
     page with ink text, and the picture gets a band of its own beneath it.
     Nothing here is per-product — it applies whatever colour, opacity and
     blur the product carries. */
  body.eralux-product-active .eralux-product .application {
    /* The base rule already makes this a flex box (for the desktop overlay);
       turning its axis vertical is what lets the two children be ordered
       independently of the source. align-items has to come back to stretch,
       though: the base sets flex-end, which on a column axis is a HORIZONTAL
       alignment and would shrink both children to their content width and
       push them against the right edge. */
    flex-direction: column;
    align-items: stretch;
    /* Back to content height. The base rule sets 82vh to give the picture a
       full-bleed stage; with the panel unstacked from it that would only add
       empty page under a short panel — one with no description and no
       application tags is a product away. */
    min-height: 0;
    /* The section no longer has to clip: .bg does its own clipping below. */
    overflow: visible;
  }

  /* In flow and moved to second, so the panel reads as ordinary page and the
     picture takes a band underneath it.

     order, not source order: the markup puts the picture first because on
     desktop it is the background the panel sits on, and that is the right
     source order — it is what a page with no CSS reads as, and it is what the
     desktop layout needs. Only the picture is given an order; the container
     keeps the default 0 and so precedes it.

     It keeps overflow:hidden of its own because product.js parallaxes the
     image inside it (yPercent -12 on scroll, against a 115%-tall image). That
     overshoot was clipped by the section; with the section no longer clipping,
     the image would otherwise slide out of its band and across the panel. */
  body.eralux-product-active .eralux-product .application .bg {
    order: 2;
    position: static;
    height: clamp(260px, 46svh, 420px);
    overflow: hidden;
  }

  /* The dark gradient existed only to hold white text legible against the
     picture. There is no text on the picture any more. */
  body.eralux-product-active .eralux-product .application::after {
    content: none;
  }

  body.eralux-product-active .eralux-product .application .container {
    padding-top: clamp(28px, 7vw, 40px);
    padding-bottom: clamp(34px, 9vw, 52px);
    color: var(--ink);
  }

  /* !important on these three, which is not the habit of this file: the
     template writes the product's own colour, opacity and blur into a style
     ATTRIBUTE (ews_glass_panel_style), and an inline declaration outranks any
     selector. They are the three properties that attribute sets, and they are
     exactly the three the phone layout has to take back.

     No padding: the panel is no longer a card floating inside the section, so
     its text should line up on the same gutter as every other section on the
     page — which .container already supplies. */
  body.eralux-product-active .eralux-product .application .application-panel {
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--white) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* The eyebrow was white at 85% against the picture; on paper it takes the
     muted ink the rest of the page uses for the same role. */
  body.eralux-product-active .eralux-product .application .eyebrow {
    color: var(--ink-soft);
    opacity: 1;
  }

  /* The tag outline was a translucent paper edge, meant to read against a
     photograph. On paper it becomes the page's own hairline. */
  body.eralux-product-active .eralux-product .application-tags a {
    border-color: var(--grey-line);
  }

  body.eralux-product-active .eralux-product .resource-row {
    padding: 16px 0;
  }

  body.eralux-product-active .eralux-product .resource-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  /* The rule above sets padding on every .resource-row and outranks the
     video row's own padding, which would leave the player sitting on the
     divider. Restored here, and the play button shrinks so it does not
     dominate a phone-width frame. */
  body.eralux-product-active .eralux-product .resource-row--video {
    padding: 16px 0 22px;
  }

  body.eralux-product-active .eralux-product .resource-video__play {
    width: 52px;
    height: 52px;
  }

  /* -- v0.1.33 final narrow-screen precedence (kept last, formerly 600) -- */
  body.eralux-product-active .eralux-product {
    width: 100%;
    max-width: 100%;
    padding-top: 24px;
    overflow-x: clip;
  }

  body.eralux-product-active .eralux-product .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  body.eralux-product-active .eralux-product .hero-info {
    order: 1;
  }

  body.eralux-product-active .eralux-product .hero-visual {
    order: 2;
  }

  body.eralux-product-active .eralux-product .finish-col {
    order: 3;
  }

  body.eralux-product-active .eralux-product .product-stage {
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 2;
  }

  body.eralux-product-active .eralux-product .product-stage img {
    filter: drop-shadow(0 14px 24px rgba(var(--ews-ink-rgb), 0.14));
    transform: scale(min(var(--ews-hero-scale, 1.35), 1.08));
  }

  body.eralux-product-active .eralux-product .product-stage .ews-tint-stage {
    transform: scale(min(var(--ews-hero-scale, 1.35), 1.08));
  }

  body.eralux-product-active .eralux-product .finish-wheel {
    width: min(320px, calc(100vw - 32px));
  }
}

/* =====================================================================
   MARKETING VIDEO
   Full-bleed, exactly the height of what is left of the viewport under the
   header, and it snaps into place as you approach it.

   --ews-content-viewport-height is the design system's existing
   "viewport minus whatever the header is currently overlaying" value, which
   the header publishes at runtime. Using it rather than a bare 100vh is what
   keeps the video from sitting half-under a sticky header, and its mobile
   definition already uses 100svh so the video does not jump when a phone's
   address bar collapses.

   The snap is done in JavaScript, not with CSS scroll-snap: product pages run
   Lenis, which drives the scroll position itself frame by frame, and the
   browser's snap engine fights it for control — the result is a section that
   judders or refuses to settle. See product.js.
   ===================================================================== */

.eralux-product .product-video {
  position: relative;
  width: 100%;
  height: var(--ews-content-viewport-height, 100vh);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--ews-ink, #0d0d0c);
  /* Black, not paper: this IS the letterbox. Whenever the section's aspect
     ratio differs from the video's — which is most viewports, most of the
     time — this colour is what fills the bars above and below, or left and
     right, of the frame. */
}

.eralux-product .product-video-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* contain, NOT cover. cover fills the section by cropping whatever does not
     fit, which on a wide desktop viewport threw away the top and bottom of the
     frame and left a marketing video showing a close-up of its own middle.
     contain fits the whole frame inside the section at its true aspect ratio;
     the leftover area is the section's own black showing through, which is
     why the parent is painted --ews-ink rather than paper. */
  object-position: center;
  background: var(--ews-ink, #0d0d0c);
  transition: opacity 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .eralux-product .product-video-media {
    transition: none;
  }
}

/* A video that has not been asked to load yet is invisible rather than a
   flash of the browser's empty-media box as it scrolls into view. */
.eralux-product .product-video:not(.is-loaded) .product-video-media {
  opacity: 0;
}

/* ---- Phones and small tablets ----
   The section stops being a full screen tall and becomes exactly as tall as
   the video is wide.

   A screen-height section is right on a landscape desktop, where a 16:9 video
   fills most of it. On a portrait phone the same rule puts a 16:9 frame inside
   a 9:16 box: the video occupies under a third of the height and the rest is
   black, which reads as an empty section rather than a video — the section
   looks missing even though it is there and playing.

   aspect-ratio 16/9 as the default shape, replaced at runtime by the video's
   real ratio once the browser knows it (see product.js), so a square or
   vertical film is not letterboxed into a widescreen box. */
@media (max-width: 900px) {
  .eralux-product .product-video {
    height: auto;
    aspect-ratio: var(--ews-video-ratio, 16 / 9);
  }
}

/* ---- Sound button (only rendered when "Play with sound" is on) ---- */

.eralux-product .product-video-sound {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(var(--ews-paper-rgb), 0.35);
  border-radius: 999px;
  background: rgba(var(--ews-ink-rgb), 0.55);
  /* Sits over the video itself, so it carries its own contrast rather than
     trusting whatever frame happens to be behind it. */
  backdrop-filter: blur(10px);
  color: var(--ews-paper);
  font-size: 12px;
  font-weight: var(--ews-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.eralux-product .product-video-sound:hover,
.eralux-product .product-video-sound:focus-visible {
  border-color: var(--ews-paper);
  background: rgba(var(--ews-ink-rgb), 0.75);
  outline: none;
}

.eralux-product .product-video-sound svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eralux-product .product-video-sound-icon {
  display: inline-flex;
}

/* One icon at a time, chosen by the button's own pressed state so the label
   and the picture can never disagree about whether sound is on. */
.eralux-product .product-video-sound .icon-loud,
.eralux-product .product-video-sound[aria-pressed="true"] .icon-muted {
  display: none;
}

.eralux-product .product-video-sound[aria-pressed="true"] .icon-loud {
  display: block;
}

@media (max-width: 600px) {
  .eralux-product .product-video-sound-label {
    /* On a phone the icon carries it; the label is what pushes the button
       wide enough to sit over the middle of the frame. */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .eralux-product .product-video-sound {
    padding: 12px;
  }
}
