/* SM SALT House of Mineral Art — desktop layout fixes (owner brief 2026-11-14). Presentation only. */

/* 1. Sinks & vanities / bathtubs / editorial rows: the slow "showroom motion" zoom (WAAPI transform on
      .showroom-moving-image) painted outside its figure — over the neighbouring section and past the right
      edge (horizontal scrollbar at every width). Each figure now clips its own image. */
.editorial { overflow: hidden; }
.editorial figure,
.editorial figure > a { overflow: hidden; contain: paint; }
.editorial figure { isolation: isolate; }

/* Belt and braces: nothing on these pages may create a sideways page scroll. */
html, body { overflow-x: clip; }

/* Reduced motion: the drift animation is not shown at all. */
@media (prefers-reduced-motion: reduce) {
  .showroom-moving-image { transform: none !important; animation: none !important; transition: none !important; }
}

/* 2. Illuminated sections (light wall, tables, lighting, chairs, lamps, mirrors, beds): the Light ON/OFF
      switch sat under the photo and dropped below the fold on laptop screens. On desktop it now sits on the
      photo itself (top-right), the photo is sized to the screen, and the variant buttons follow directly. */
@media (min-width: 1024px) {
  .lume-section { align-items: center; }
  .lume-visual { position: relative; }
  .lume-frame { max-height: calc(100vh - 250px); min-height: 340px; }
  .lume-visual .image-controls { padding-top: 0; }
  .lume-visual .lume-control {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    margin: 0;
    padding: 6px 6px 6px 16px;
    gap: 12px;
    flex-wrap: nowrap;
    border: 1px solid rgba(204, 180, 135, .45);
    border-radius: 999px;
    background: rgba(13, 16, 12, .82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    width: auto;
  }
  .lume-visual .lume-control > span { font-size: 11px; white-space: nowrap; }
  /* Status line stays available to screen readers; the switch label already shows ON / OFF. */
  .lume-visual .lume-control small {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .lume-visual .lume-choices { margin-top: 14px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .lume-section { padding-top: 44px; padding-bottom: 52px; }
}

/* 3. The fixed "Showroom motion" control covered the first lines of copy at the lower left on laptop
      screens; its label is hidden on short screens so the pill takes less room (button text unchanged). */
@media (min-width: 1024px) and (max-height: 900px) {
  .display-motion-panel { padding: 6px; bottom: 14px; left: 14px; }
  .display-motion-panel > span { display: none; }
}

/* 4. Hero film button sat under the fixed "My selection" dock (bottom right). On desktop it moves above it. */
@media (min-width: 1024px) {
  .hero #play { bottom: auto; top: 110px; }
}
