/* Demit Gold v2.27 — fill category arches + elegant light sweep. */
/* The image frame stays fixed; the previous category 3D tilt can operate independently. */
body.demit-theme .v17-home .v17-categories .v17-cat-photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  padding:0;
  /* Images are visible on first paint, independent of hover/reveal effects. */
  opacity:1!important;
  visibility:visible!important;
}
/* Dedicated ::before, avoiding the ::after radial-glow from category-3d-v292.css. */
body.demit-theme .v17-home .v17-categories .v17-cat-photo.dg27-category-shine::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(108deg,
    transparent 24%,
    rgba(255,234,189,.03) 36%,
    rgba(252,226,174,.28) 45%,
    rgba(255,255,249,.73) 50%,
    rgba(255,230,184,.21) 57%,
    transparent 72%);
  transform:translate3d(135%,0,0);
  mix-blend-mode:screen;
  backface-visibility:hidden;
}
body.demit-theme .v17-home .v17-categories .v17-cat-photo.dg27-category-shine.dg27-shining::before {
  animation:dg27-cat-sweep 1050ms cubic-bezier(.16,.68,.22,1) both;
}
@keyframes dg27-cat-sweep {
  0%{transform:translate3d(135%,0,0);opacity:0}
  12%{opacity:.92}
  68%{opacity:.78}
  100%{transform:translate3d(-135%,0,0);opacity:0}
}
@media(prefers-reduced-motion:reduce) {
  body.demit-theme .v17-home .v17-categories .v17-cat-photo.dg27-category-shine::before {display:none!important;animation:none!important}
}
