/* Home › Repairs & Upgrades: transparent teardown film over the section background. */
.syi-home-repair__film {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100%, 440px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
  background: transparent;
}
.syi-home-repair__product img { transition: opacity .6s ease; }
/* Once the film is playing it replaces the photo and the static callouts,
   which point at fixed spots on the still image. */
.syi-home-repair__product--film .syi-home-repair__film { opacity: 1; }
.syi-home-repair__product--film img,
.syi-home-repair__product--film .syi-home-repair__callout { opacity: 0; visibility: hidden; }

/* Sound toggle: small frosted button at the bottom-right of the film, shown once it plays. */
.syi-home-repair__sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #1d1d1f;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, background .2s ease;
}
.syi-home-repair__sound:hover { background: rgba(255, 255, 255, .92); }
.syi-home-repair__sound:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
.syi-home-repair__sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.syi-home-repair__product--film .syi-home-repair__sound { opacity: 1; visibility: visible; }

@media (max-width: 767px) {
  /* Phone: the box shrinks to the film itself (the hidden photo no longer reserves its height),
     so the sound button sits right at the film's corner. */
  .syi-home-repair__product--film { min-height: 0; display: block; }
  .syi-home-repair__product--film img,
  .syi-home-repair__product--film .syi-home-repair__callout { display: none; }
  .syi-home-repair__product--film .syi-home-repair__film {
    position: relative; left: auto; top: auto; transform: none;
    display: block; width: min(100%, 380px); margin: 0 auto;
  }
  .syi-home-repair__film { width: min(100%, 380px); }
}
