/* Shared feedback only: retain card dimensions, transforms, content and links. */
@media (hover: hover) and (pointer: fine) {
  :is(a.kce-category, .kce-catalog-card, a.kce-sold-card,
      .kce-recent-grid > a, .product-grid-item .product-wrapper,
      .product-category, .product_list_widget > li):has(a[href]):hover,
  :is(a.kce-category, a.kce-sold-card, .kce-recent-grid > a):hover {
    outline: 1px solid #d0021b;
    outline-offset: -1px;
    box-shadow: 0 5px 16px rgb(25 25 25 / 12%);
  }
}
/* Keyboard focus follows the actual link/button; no extra tab stops. */
:is(.kce-category, .kce-catalog-card, .kce-sold-card,
    .kce-recent-grid > a, .product-grid-item .product-wrapper,
    .product-category, .product_list_widget > li):has(:focus-visible),
:is(a.kce-category, a.kce-sold-card, .kce-recent-grid > a):focus-visible {
  outline: 2px solid #d0021b;
  outline-offset: -2px;
  box-shadow: 0 5px 16px rgb(25 25 25 / 12%);
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  :is(a.kce-category, .kce-catalog-card, a.kce-sold-card,
      .kce-recent-grid > a, .product-grid-item .product-wrapper,
      .product-category, .product_list_widget > li) {
    transition: box-shadow 160ms ease, outline-color 160ms ease;
  }
}
