/* Fotografias reales en tarjetas compactas */

.home-shortcuts .shortcut {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.home-shortcuts .shortcut::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 53%;
  height: 100%;
  z-index: -1;
  opacity: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.home-shortcuts .products-shortcut {
  background: #f50943;
}
.home-shortcuts .products-shortcut::after {
  background-image:
    linear-gradient(90deg,#f50943 0%,#f5094300 90%),
    url("assets/tarjeta-productos.jpg");
}

.home-shortcuts .services-shortcut {
  background: #075cf2;
}
.home-shortcuts .services-shortcut::after {
  background-image:
    linear-gradient(90deg,#075cf2 0%,#075cf200 90%),
    url("assets/tarjeta-servicios.jpg");
}

.home-shortcuts .stores-shortcut {
  background: #00966b;
}
.home-shortcuts .stores-shortcut::after {
  background-image:
    linear-gradient(90deg,#00966b 0%,#00966b00 90%),
    url("assets/tarjeta-comercios.jpg");
}

.home-shortcuts .classifieds-shortcut {
  background: #7928ee;
}
.home-shortcuts .classifieds-shortcut::after {
  background-image:
    linear-gradient(90deg,#7928ee 0%,#7928ee00 90%),
    url("assets/tarjeta-clasificados.jpg");
}

.home-shortcuts .shortcut > span,
.home-shortcuts .shortcut > b {
  position: relative;
  z-index: 1;
}

.home-shortcuts .shortcut > b {
  position: absolute;
  right: 8px;
  bottom: 8px;
}

@media (max-width: 700px) {
  .home-shortcuts .shortcut::after {
    width: 48%;
    opacity: .8;
  }
}
