.card {
  width: 100% !important;
}
.card .card-body {
  cursor: pointer;
}
.card .card-placeholder {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #dee6f0;
}

a.card {
  text-decoration: none !important;
}

.card-banner {
  position: relative;
  min-height: 210px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 90px; /* 40px (card-body sporge) + 50px (spazio desiderato) */
}
.card-banner::after {
  border-radius: 8px;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(56, 70, 85, 0) 50%, black 90%, black 100%);
  z-index: 1;
  /* assicurati che sia sopra l'immagine di sfondo ma sotto il contenuto del testo */
}
.card-banner .card-body {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px;
  background-color: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), inset 0px 1px 0px #ECECEC;
  border-radius: 8px;
  position: absolute;
  width: 92%;
  left: 4%;
  bottom: -40px;
  min-height: 80px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}
.card-banner .card-body:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.15);
}
.card-banner .card-body:hover .card-banner-chevron::before {
  opacity: 1;
  background-size: 300% 300%;
}
.card-banner .card-body h5 {
  margin-bottom: 0;
  width: 80%;
  transition: color 0.4s ease;
}
.card-banner .card-body p {
  margin-bottom: 0;
  width: 70%;
  transition: color 0.4s ease;
}
.card-banner .card-body .card-banner-chevron {
  position: absolute;
  right: 0;
  background-color: var(--bs-primary);
  color: white;
  padding: 4px;
  border-radius: 0 8px 8px 0;
  height: 100%;
  width: 30%;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-banner .card-body .card-banner-chevron::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 100%, var(--bs-secondary) 0%, var(--bs-primary) 50%);
  background-size: 0% 0%;
  background-position: 0% 100%;
  background-repeat: no-repeat;
  opacity: 0;
  border-radius: 0 8px 8px 0;
  transition: opacity 0.4s ease, background-size 0.9s ease;
}
.card-banner .card-body .card-banner-chevron i {
  position: static;
  font-size: 18px;
  margin: 0;
  -webkit-text-stroke: 1px white;
  z-index: 1;
  margin-left: 30%;
}

.debug-card-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 10px rgba(18, 28, 42, 0.22);
  backdrop-filter: blur(4px);
}
.debug-card-icons i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 6px;
  color: #1c2430 !important;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.debug-card-icons i:hover {
  background: #eef1f5;
  color: var(--bs-primary, #0d6efd) !important;
}
.debug-card-icons i.bi-trash:hover {
  color: #dc3545 !important;
  background: #fde8ea;
}

.card-product {
  position: relative;
  text-decoration: none !important;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), inset 0px 1px 0px #ECECEC;
  gap: 0 !important;
}
.card-product:hover,
.card-product > img:hover {
  cursor: pointer;
}
.card-product .card-img-top {
  position: relative;
  border-radius: 8px 8px 0 0;
  z-index: 1;
}
.card-product .card-body {
  width: 100%;
  position: relative;
  border-radius: 8px;
  margin-top: -8px;
  z-index: 2;
  background-color: white;
  padding: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}
.card-product .card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 100%, var(--bs-secondary) 0%, var(--bs-primary) 20%, white 40%);
  background-size: 0% 0%;
  background-position: 0% 100%;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease, background-size 0.9s ease;
}
.card-product .card-body:hover {
  transform: scale(1.03);
  box-shadow: 0px 9px 15px rgba(0, 0, 0, 0.25);
}
.card-product .card-body:hover::before {
  opacity: 1;
  background-size: 400% 400%;
}
.card-product .card-body:hover .card-title,
.card-product .card-body:hover .card-text,
.card-product .card-body:hover .card-price {
  color: white;
  position: relative;
  z-index: 1;
}
.card-product .card-body:hover .card-price i {
  color: white;
  -webkit-text-stroke: 0.5px white;
  right: 3px;
}
.card-product .card-body:hover hr {
  border-color: rgba(255, 255, 255, 0.3) !important;
}
.card-product .card-body .card-text {
  margin-bottom: 6px;
  transition: color 0.4s ease;
}
.card-product .card-body .card-text i {
  color: var(--bs-secondary);
  font-size: 80%;
  margin-right: 5px;
  transition: color 0.4s ease;
}
.card-product .card-body .card-title {
  margin-bottom: 0;
  transition: color 0.4s ease;
}
.card-product .card-body hr {
  color: rgba(0, 0, 0, 0.3);
  transition: border-color 0.4s ease;
}
.card-product .card-body .card-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 90%;
  padding: 8px 0;
  transition: color 0.4s ease;
}
.card-product .card-body .card-price h5 {
  font-size: 110%;
  transition: color 0.4s ease;
}
.card-product .card-body .card-price i {
  position: absolute;
  right: 18px;
  font-size: 18px;
  font-weight: bold;
  color: var(--bs-primary);
  -webkit-text-stroke: 0.5px var(--bs-primary);
  transition: color 0.4s ease, -webkit-text-stroke 0.4s ease;
}

.col:has(.card-banner) {
  margin-bottom: 40px;
}

/*# sourceMappingURL=cards.css-orWSzMG.map */
