.shop-section {
  background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
  padding: 60px 5%;
}

.shop-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  color: #222;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 220px; /* feste Höhe für gleichmäßige Karten */
  object-fit:scale-down; /* schneidet Bild gleichmäßig, ohne zu verzerren */
  border-bottom: 1px solid #eee;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-top: 15px;
  color: #222;
}

.price {
  color: #2e7d32;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn-buy {
  background: #ff9800;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  margin-bottom: 15px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-buy:hover {
  background: #e68900;
  transform: scale(1.05);
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  border: 2px solid #ff9800;
  background: transparent;
  color: #ff9800;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #ff9800;
  color: white;
}

@media (min-width: 1400px) {
  .shop-grid {
    max-width: 1200px;
  }
}








/* Suchleiste */
.shop-search {
  text-align: center;
  margin-bottom: 40px;
}
.shop-search input {
  width: 60%;
  max-width: 400px;
  padding: 12px 15px;
  border-radius: 25px;
  border: 1px solid #000000;
  font-size: 1rem;
}



.btn-details {
  background: transparent;
  border: 2px solid #4caf50;
  color: #4caf50;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-details:hover {
  background: #4caf50;
  color: white;
}

/* Modal Fenster */
.modal {
  display: none; 
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-content img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

.modal-btn {
  display: inline-block;
  background: #ff9800;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.3s;
}

.modal-btn:hover {
  background: #e68900;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


.modal-slider {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
}

.modal-slider img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  transition: opacity 0.3s ease;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 24px;
  padding: 6px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.6);
}

.slider-btn.left {
  left: 10px;
}

.slider-btn.right {
  right: 10px;
}

.product-card h3 {
  color: #222;       /* Schriftfarbe */
  font-size: 20px;   /* Größe */
  font-weight: 600;  /* Dicke */
  margin: 10px 0;    /* Abstand */
  
}

.product-card .price {
  color: #1a7f1a;    /* Grün z. B. */
  font-size: 18px;
  font-weight: bold;
}

.product-card p {
  color: #444;
  font-size: 14px;
  line-height: 1.4;
}

.product-buttons a.btn-buy,
.product-buttons button.btn-details {
    font-size: 16px;        /* gleiche Schriftgröße */
    padding: 10px 20px;     /* gleiche Polsterung */
    display: inline-block;  /* gleiche Anzeige */
    box-sizing: border-box; /* konsistente Box-Größe */
    margin: 0 5px;          /* Abstand zwischen Buttons */
}