/* Leave the first photograph in place while its alternate loads. */
.tasting-motion .wine-media .bottle-scene:not([data-scene-ready]) { visibility: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .tasting-motion .wine-picture > .bottle-scene {
    clip-path: polygon(0 0, 0 0, -12% 100%, 0 100%);
    transition: clip-path var(--mm-t-panel) var(--mm-ease-move), opacity var(--mm-t-leave) var(--mm-ease-out) var(--mm-t-hover);
  }

  /* vague 2b : la photo n'est plus dans l'ordre de tabulation (UX V5) ; au clavier, le nom de la cuvée fait le même geste */
  .tasting-motion .wine-card:has(.catalogue-card-title a:focus-visible) .bottle-scene[data-scene-ready] {
    clip-path: polygon(0 0, 112% 0, 100% 100%, 0 100%);
    transition-delay: 0s;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tasting-motion .wine-media:hover .bottle-scene[data-scene-ready] {
    clip-path: polygon(0 0, 112% 0, 100% 100%, 0 100%);
    transition-delay: 0s;
  }
}
