/* Individual translate preserves the product scale/position already set by the site. */
@media (prefers-reduced-motion: no-preference) {
  .deal-motion .promotion-saving,
  .deal-motion .whirlpool-promo-badge { overflow: hidden; }
  .deal-arrived .promotion-saving::after,
  .deal-arrived .whirlpool-promo-badge::after {
    content: ''; position: absolute; inset: -50% -80%; pointer-events: none;
    background: linear-gradient(110deg, transparent 40%, #ffffff50 50%, transparent 60%);
    animation: deal-light-pass 1.3s .45s ease-out both;
  }
  .deal-motion .promotion-photo img,
  .deal-motion .whirlpool-photo img,
  .deal-motion .hp-appliance img,
  .deal-motion .hp-gift-image img { transition: translate .8s cubic-bezier(.16,1,.3,1); }
  .deal-motion .promotion-card-bottom svg,
  .deal-motion .whirlpool-link svg,
  .deal-motion .hp-button svg,
  .deal-motion .hp-gift-link svg { transition: translate .35s ease; }
  .deal-arrived .promotion-price-panel,
  .deal-arrived .whirlpool-price,
  .deal-arrived .hp-price { animation: deal-price-enter .9s .18s cubic-bezier(.16,1,.3,1) backwards; }
  @media (hover: hover) and (pointer: fine) {
    .deal-motion:is(:hover, :focus-within) .promotion-photo img,
    .deal-motion:is(:hover, :focus-within) .whirlpool-photo img { translate: 0 -8px; }
    .deal-motion:is(:hover, :focus-within) .hp-appliance img { translate: 0 -5px; }
    .deal-motion:is(:hover, :focus-within) .hp-gift-image img { translate: 0 -7px; }
    .deal-motion:is(:hover, :focus-within) .promotion-card-bottom svg,
    .deal-motion:is(:hover, :focus-within) .whirlpool-link svg,
    .deal-motion:is(:hover, :focus-within) .hp-button svg,
    .deal-motion:is(:hover, :focus-within) .hp-gift-link svg { translate: 4px 0; }
  }
}
@keyframes deal-light-pass { from { translate: -40% 0; } to { translate: 40% 0; } }
@keyframes deal-price-enter { from { opacity: .3; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

.selection-motion .product-media { border: 1px solid #e8e8e4; border-radius: 24px; transition: box-shadow .5s ease, background .5s ease; }
.selection-motion .product-meta { padding: 22px 4px 0; }
.selection-motion .detail-link { min-height: 36px; display: inline-flex; align-items: center; gap: 18px; }
.selection-motion-toggle { display: block; margin: -16px 0 22px auto; padding: 6px 0; border: 0; border-bottom: 1px solid #d7d7d2; background: transparent; color: #73736e; font: inherit; font-size: 10px; cursor: pointer; }
.selection-motion-toggle:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .selection-motion .product-media img { animation: selection-drift 7s ease-in-out infinite; animation-play-state: paused; }
  .selection-motion .product-card:nth-child(2) img { animation-delay: -2.3s; }
  .selection-motion .product-card:nth-child(3) img { animation-delay: -4.6s; }
  .selection-motion.motion-in-view:not(.motion-paused) .product-media img { animation-play-state: running; }
  @media (hover: hover) and (pointer: fine) {
    .selection-motion .product-card:is(:hover, :focus-within) .product-media { background: #efefec; box-shadow: 0 18px 35px -25px #1114; }
    .selection-motion .product-card:is(:hover, :focus-within) img { animation-play-state: paused !important; }
  }
}
@keyframes selection-drift { 0%, 100% { translate: 0 3px; } 50% { translate: 0 -5px; } }
@media (max-width: 600px) {
  .selection-motion .product-media { border-radius: 20px; }
  .selection-motion-toggle { margin: -8px 0 20px; font-size: 11px; }
}
