/* Atelier Storefront v3.8.3 — Full-bleed images in Browse by device type cards.
   Real uploaded/category product images cover the whole card; copy stays readable on top.
   Cards using the built-in device illustration keep their existing layout. */
.vpe-categories .vpe-category-card.vpe-category-has-image {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #17232d !important;
}
.vpe-categories .vpe-category-card.vpe-category-has-image .vpe-category-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.vpe-categories .vpe-category-card.vpe-category-has-image .vpe-category-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 15, 25, .58) 0%, rgba(8, 15, 25, .12) 43%, rgba(8, 15, 25, .20) 63%, rgba(8, 15, 25, .68) 100%);
}
.vpe-categories .vpe-category-card.vpe-category-has-image .vpe-category-photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0;
  padding: 0;
  object-fit: cover !important;
  object-position: center center;
  filter: none !important;
  transform: none;
  transition: transform .45s ease;
}
.vpe-categories .vpe-category-card.vpe-category-has-image:hover .vpe-category-photo > img {
  transform: scale(1.045);
}
.vpe-categories .vpe-category-card.vpe-category-has-image .vpe-category-card-top,
.vpe-categories .vpe-category-card.vpe-category-has-image h3,
.vpe-categories .vpe-category-card.vpe-category-has-image .vpe-category-footer {
  position: relative;
  z-index: 2;
  color: #fff !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .22);
}
.vpe-categories .vpe-category-card.vpe-category-has-image .vpe-category-footer {
  border-top-color: rgba(255, 255, 255, .42) !important;
  margin-top: auto;
}
.vpe-categories .vpe-category-card.vpe-category-has-image .vpe-category-footer b {
  color: #fff !important;
}
@media (prefers-reduced-motion: reduce) {
  .vpe-categories .vpe-category-card.vpe-category-has-image .vpe-category-photo > img {
    transition: none !important;
  }
}
