:is(.catalog-results, .mobile-recommendations) [data-gallery-stage] > .atlas-gallery-crossfade-frame {
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 767px) {
  .catalog-results .product-card-gallery--catalog.has-mobile-gallery-hint::after {
    position: absolute;
    bottom: 12px;
    left: 50%;
    z-index: 5;
    padding: 5px 9px;
    border: 1px solid rgba(227, 6, 19, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
    color: #5f6979;
    content: attr(data-gallery-hint);
    font-size: .62rem;
    font-weight: 650;
    line-height: 1;
    pointer-events: none;
    transform: translateX(-50%);
    animation: atlas-catalog-gallery-hint 2.6s ease both;
    white-space: nowrap;
  }
}

@keyframes atlas-catalog-gallery-hint {
  0%, 100% { opacity: 0; transform: translate(-50%, 5px); }
  14%, 78% { opacity: 1; transform: translate(-50%, 0); }
}

@media (hover: hover) and (pointer: fine) {
  .product-card-gallery:focus-within:not(:hover) .product-card-gallery__arrow {
    opacity: 0;
    pointer-events: none;
  }

  .product-card-gallery:focus-within:not(:hover) .product-card-gallery__counter {
    opacity: 0;
  }

  .product-card-gallery:has(.product-card-gallery__arrow:focus-visible) .product-card-gallery__arrow {
    opacity: 1;
    pointer-events: auto;
  }

  .product-card-gallery:has(.product-card-gallery__arrow:focus-visible) .product-card-gallery__counter {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.catalog-results, .mobile-recommendations) [data-gallery-stage] > .atlas-gallery-crossfade-frame {
    display: none;
  }

  .catalog-results .product-card-gallery--catalog.has-mobile-gallery-hint::after {
    display: none;
    animation: none;
  }
}
