/* VICEGRIP — mobile gallery: a tap changes the PHOTO, not the button.
   iOS Safari can retain :hover/:focus after taps. Neutralise every visual
   press state, without disturbing real mouse hover or keyboard focus-visible. */
:where(
 body.product-page .product-carousel .photo-arrows button,
 body.product-page .product-carousel .photo-expand,
 body.product-page .product-carousel .splide__pagination__page,
 body.product-page .product-purchase .buy-row .button,
 body.product-page .product-purchase .quantity button,
 body.product-page .vg-gallery-dialog button,
 body.rg-page .vg-gallery-nav button,
 body.rg-page .rg-thumbs button,
 body.vg-dualsense-detail .vg-photo-zoom,
 body.vg-ps-product-page .vg-photo-zoom,
 body.boutique-front .boutique-product-actions :is(a,button)
) {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
/* Separate the pointer's modality from the browser's sticky pseudo-classes.
   Chrome / desktop still retain the original subtle mouse hover effects. */
@media (hover:none), (pointer:coarse) {
  body.product-page .product-carousel .photo-arrows:not([hidden]) button,
  body.rg-page .vg-gallery-nav button {
    background:transparent!important;
    color:#fff8fd!important;
    box-shadow:none!important;
    filter:none!important;
    scale:1!important;
    transform:none!important;
    transition:color .22s ease!important;
  }
  body.product-page .product-carousel .photo-expand,
  body.vg-dualsense-detail .vg-photo-zoom,
  body.vg-ps-product-page .vg-photo-zoom{
    background:rgba(35,25,45,.9)!important;
    filter:none!important;
    scale:1!important;
    transform:none!important;
    transition:opacity .22s ease!important;
  }
  body.product-page .product-carousel.rockstar-thumb-ready .splide__pagination__page {
    scale:1!important;
    transform:none!important;
    filter:none!important;
    transition:border-color .28s ease,opacity .28s ease!important;
  }
  body.product-page .product-purchase .buy-row > .button-primary{
    background:#fff6fb!important;
    border-color:#fff6fb!important;
    color:#1a181d!important;
    filter:none!important;
    scale:1!important;
    transform:none!important;
  }
  body.product-page .product-purchase .buy-row > .button-secondary {
    background:transparent!important;
    border-color:rgba(255,250,255,.58)!important;
    color:#f8f2f8!important;
    filter:none!important;
    scale:1!important;
    transform:none!important;
  }
}
/* iPads can emulate :hover even while they are being touched. The JS remembers
   only the input type; it never adds a pressed class or any decorative pulse. */
html.vg-touch-input body.product-page .product-carousel .photo-arrows:not([hidden]) button,
html.vg-touch-input body.rg-page .vg-gallery-nav button{
  background:transparent!important;
  color:#fff8fd!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
  scale:1!important;
  transform:none!important;
}
html.vg-touch-input body.product-page .product-carousel .photo-expand,
html.vg-touch-input body.vg-dualsense-detail .vg-photo-zoom,
html.vg-touch-input body.vg-ps-product-page .vg-photo-zoom{
  background:rgba(35,25,45,.9)!important;
  filter:none!important;
  box-shadow:0 5px 15px rgba(18,12,29,.16)!important;
  scale:1!important;
  transform:none!important;
}
html.vg-touch-input body.product-page .product-carousel.rockstar-thumb-ready .splide__pagination__page{
  scale:1!important;
  transform:none!important;
  filter:none!important;
}
html.vg-touch-input body.product-page .product-purchase .buy-row > .button-primary{
  background:#fff6fb!important;
  border-color:#fff6fb!important;
  color:#1a181d!important;
  filter:none!important;
  scale:1!important;
  transform:none!important;
}
html.vg-touch-input body.product-page .product-purchase .buy-row > .button-secondary{
  background:transparent!important;
  border-color:rgba(255,250,255,.58)!important;
  color:#f8f2f8!important;
  filter:none!important;
  scale:1!important;
  transform:none!important;
}
/* Splide's actual image switches are 380ms ease-out crossfades.
   The selected thumbnail remains selected — never confused with press feedback. */
body.product-page .product-carousel.rockstar-thumb-ready .splide__pagination__page.is-active{
  opacity:1;
}
/* Keyboard users should still see focus; touch taps must not leave a bubble. */
:where(
 body.product-page .product-carousel .photo-arrows button,
 body.product-page .product-carousel .photo-expand,
 body.rg-page .vg-gallery-nav button
):focus-visible{
  outline:2px solid #f5d4e7;
  outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
  body.product-page .product-carousel .photo-arrows button,
  body.product-page .product-carousel .photo-expand,
  body.product-page .product-carousel.rockstar-thumb-ready .splide__pagination__page {
    transition:none!important;
    animation:none!important;
  }
}
@media(forced-colors:active){
  body.product-page .product-carousel .photo-arrows button,
  body.product-page .product-carousel .photo-expand {
    background:ButtonFace!important;
    color:ButtonText!important;
    outline-color:Highlight;
    box-shadow:none!important;
  }
}
