/* 上から引いて戻る・横スワイプの案内（js/utils/swipe-nav.js・2026-11-22）。引いて戻るページ（商品・お店・比べる）で読む。
   ブラウザの「引っぱって再読み込み」は止めない（ヘッダーとサブバー＝[data-swipe-top] から引いたときは再読み込み・
   それより下は JS が最初のひと動きで止めて、戻る操作にする） */
.swipe-back-hint {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 0; overflow: hidden; opacity: 0;
    background: #f3f4f6; color: #4b5563;
    font-size: 0.82rem; font-weight: 600;
    transition: height 280ms ease, opacity 280ms ease;
}
.swipe-back-hint.is-open { height: 40px; opacity: 1; }
.swipe-back-hint i { font-size: 0.8rem; animation: swipe-back-nudge 1.2s ease-in-out infinite; }
@keyframes swipe-back-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
/* 横の案内（写真のすぐ下）: 矢印が左右に揺れる */
.swipe-back-hint--side.is-open { margin: 8px 0; border-radius: 8px; }
.swipe-back-hint--side i { animation-name: swipe-side-nudge; }
@keyframes swipe-side-nudge { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) {
    .swipe-back-hint { transition: none; }
    .swipe-back-hint i { animation: none; }
}
