
/* =========================================================
   Tam Jai Studio V2.1 — Product Card Stability Guard
   Keeps the customized V2 theme and all features.
   Only stabilizes product-card compositor layers.
   ========================================================= */

/* Product grids: AOS may still exist elsewhere, but product cards stay stable. */
body.page-home .card-body.border-glowing,
body.page-app .card-body.border-glowing,
body.page-product .card-body.border-glowing,
body.page-apps .class-menu {
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  will-change:auto!important;
  backface-visibility:visible!important;
  -webkit-backface-visibility:visible!important;
}

/* Do not allow product cards/images to jump/scale/blur under the pointer. */
body.page-home .card-body.border-glowing:hover,
body.page-app .card-body.border-glowing:hover,
body.page-product .card-body.border-glowing:hover,
body.page-apps .class-menu:hover {
  transform:none!important;
  filter:none!important;
}

body.page-home .card-body.border-glowing:hover img,
body.page-app .card-body.border-glowing:hover img,
body.page-product .card-body.border-glowing:hover img,
body.page-apps .class-menu:hover img {
  transform:none!important;
  filter:none!important;
}

/* AOS stays available for the rest of the site, but not on product-card columns. */
body.page-home [data-aos].col-6,
body.page-app [data-aos].col-12,
body.page-app [data-aos].col-md-4,
body.page-apps [data-aos].col-6,
body.page-product [data-aos].col-6 {
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}

/* Purchase controls always receive the click. */
body.tamjai-v2 .buyproduct-btn,
body.tamjai-v2 .submit_buyproduct_app,
body.tamjai-v2 .submit_buyproduct,
body.tamjai-v2 button[data-bs-toggle="modal"] {
  position:relative!important;
  z-index:30!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation;
}

body.tamjai-v2 .buyproduct-btn *,
body.tamjai-v2 .submit_buyproduct_app *,
body.tamjai-v2 .submit_buyproduct *,
body.tamjai-v2 button[data-bs-toggle="modal"] * {
  pointer-events:none!important;
}
