/* Product card hover: stronger shadow with a short premium shine. */
.jshop_list_product .block_product,
.jshop.list_category .jshop_categ,
.jshop_list_category .jshop_categ,
.sp-module.like .modopprod_item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.jshop_list_product .block_product::before,
.jshop.list_category .jshop_categ::before,
.jshop_list_category .jshop_categ::before,
.sp-module.like .modopprod_item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  animation: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) 28%, rgba(255,255,255,0.22) 42%, rgba(255,255,255,0.78) 50%, rgba(255,255,255,0.22) 58%, rgba(255,255,255,0) 72%);
  transform: translateX(-120%) skewX(-12deg);
}

.jshop_list_product .block_product::after,
.jshop.list_category .jshop_categ::after,
.jshop_list_category .jshop_categ::after,
.sp-module.like .modopprod_item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0);
  transition: box-shadow 0.24s ease;
}

.jshop_list_product .block_product:hover,
.jshop.list_category .jshop_categ:hover,
.jshop_list_category .jshop_categ:hover,
.sp-module.like .modopprod_item:hover {
  transform: scale(1.025);
  box-shadow: 0 18px 42px rgba(28,50,72,0.24), 0 6px 16px rgba(227,30,37,0.10);
}

.jshop_list_product .block_product:hover::before,
.jshop.list_category .jshop_categ:hover::before,
.jshop_list_category .jshop_categ:hover::before,
.sp-module.like .modopprod_item:hover::before {
  animation: alutron-card-hover-shine 0.9s ease forwards;
}

.jshop_list_product .block_product:hover::after,
.jshop.list_category .jshop_categ:hover::after,
.jshop_list_category .jshop_categ:hover::after,
.sp-module.like .modopprod_item:hover::after {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65), 0 0 22px rgba(28,50,72,0.10);
}

.jshop_list_product .block_product .jshop_img,
.jshop.list_category .jshop_categ img,
.jshop_list_category .jshop_categ img,
.sp-module.like .modopprod_item img {
  transition: transform 0.28s ease, filter 0.28s ease;
}

.jshop_list_product .block_product:hover .jshop_img,
.jshop.list_category .jshop_categ:hover img,
.jshop_list_category .jshop_categ:hover img,
.sp-module.like .modopprod_item:hover img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.03);
}

@keyframes alutron-card-hover-shine {
  0% {
    opacity: 0;
    transform: translateX(-120%) skewX(-12deg);
  }
  18% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateX(120%) skewX(-12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jshop_list_product .block_product,
  .jshop.list_category .jshop_categ,
  .jshop_list_category .jshop_categ,
  .sp-module.like .modopprod_item,
  .jshop_list_product .block_product .jshop_img,
  .jshop.list_category .jshop_categ img,
  .jshop_list_category .jshop_categ img,
  .sp-module.like .modopprod_item img {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .jshop_list_product .block_product:hover,
  .jshop.list_category .jshop_categ:hover,
  .jshop_list_category .jshop_categ:hover,
  .sp-module.like .modopprod_item:hover,
  .jshop_list_product .block_product:hover .jshop_img,
  .jshop.list_category .jshop_categ:hover img,
  .jshop_list_category .jshop_categ:hover img,
  .sp-module.like .modopprod_item:hover img {
    transform: none;
    filter: none;
  }

  .jshop_list_product .block_product:hover::before,
  .jshop.list_category .jshop_categ:hover::before,
  .jshop_list_category .jshop_categ:hover::before,
  .sp-module.like .modopprod_item:hover::before {
    animation: none;
  }
}
