/* Basis-Styling für Produktkarten */
.product-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.fox-hover-container {
  position: relative;
}

.fox-hover-effect {
  position: absolute;
  top: 2%;
  left: 15%;
  rotate: -30deg;
  transform: translate(-50%, -50%) scale(0);
  font-size: 3rem;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 10;
  pointer-events: none;
}

.product-card:hover .fox-hover-effect {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Stil für den Button-Container */
.product-footer {
  text-align: center;
  margin: 40px 0;
  padding: 20px;
}

/* Basis-Styling für den Button */
.fox-action-button {
  position: relative;
  background-color: #ff4c05;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

/* Text und Fuchs-Icon */
.button-text {
  display: inline-block;
  transition: all 0.3s ease;
}

.fox-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.5s ease;
  pointer-events: none;
}

/* Hover-Effekte */
.fox-action-button:hover {
  background-color: var(--shop-second-btn-hover);
  padding-right: 60px;
  padding-left: 20px;
}

.fox-action-button:hover .button-text {
  transform: translateX(-10px);
}

.fox-action-button:hover .fox-icon {
  transform: translate(20px, -50%) scale(1);
  opacity: 1;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .fox-hover-effect {
    font-size: 2rem; /* Kleinere Größe für mobile */
    left: 20%; /* Position anpassen */
  }
  
  .product-footer {
    margin: 20px 0;
    padding: 10px;
  }
  
  .fox-action-button {
    padding: 12px 30px; /* Kleinere Padding für mobile */
    font-size: 1rem; /* Kleinere Schriftgröße */
  }
  
  .fox-icon {
    width: 30px; /* Kleinere Icon-Größe */
    height: 30px;
  }
  
  /* Anpassung der Hover-Effekte für Touch-Geräte */
  .fox-action-button:active {
    background-color: var(--shop-second-btn-hover);
    padding-right: 50px;
    padding-left: 15px;
  }
  
  .fox-action-button:active .button-text {
    transform: translateX(-8px);
  }
  
  .fox-action-button:active .fox-icon {
    transform: translate(15px, -50%) scale(1);
    opacity: 1;
  }
}

/* Noch kleinere Anpassungen für sehr kleine Geräte */
@media (max-width: 480px) {
  .fox-hover-effect {
    font-size: 1.5rem;
    top: 5%;
  }
  
  .fox-action-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .fox-icon {
    width: 25px;
    height: 25px;
  }
}