/* Laurin Schnitzer */


/* === Grundlayout & Sticky Footer === */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--main-bg-color);
  color: var(--text-color);
}

main.wishlist-page {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.wishlist-page h1 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--headline-color);
}

/* === Wishlist Grid === */
.wishlist-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

/* === Einzelnes Card === */
.wishlist-card {
  background-color: var(--ci-white);
  border: 1px solid var(--product-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.wishlist-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-color: var(--product-border--hover);
}

.wishlist-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.wishlist-info {
  padding: 20px;
  flex-grow: 1;
}

.wishlist-info h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--text-color);
}

.wishlist-info .price {
  font-weight: bold;
  color: var(--ci-red);
}

/* === Entfernen-Button === */
.remove-from-wishlist-btn {
  margin: 10px 20px 20px;
  padding: 10px 15px;
  background-color: var(--ci-red);
  border: none;
  border-radius: 6px;
  color: var(--ci-white);
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.remove-from-wishlist-btn:hover {
  background-color: var(--ci-red-dark);
}

/* === Leerer Zustand === */
.empty-wishlist {
  text-align: center;
  color: var(--ci-grey);
  font-size: 1.2rem;
  margin: auto 0;
  padding: 60px 0;
}

/* === Responsive === */
@media (max-width: 768px) {
  .wishlist-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .wishlist-container {
    grid-template-columns: 1fr;
  }
}




 
/* =============== MELDUNGS BLOCK gleicher wie bei Login und Registration bei php anmeldung !! ============== */ 
.meldung-container { 
  max-width: 500px; 
  margin: 30px auto; 
  padding: 20px 25px; 
  border-radius: 16px; 
  background-color: var(--user-block-bg-color); 
  border: 2px solid var(--user-block-border); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
  font-size: 16px; font-weight: 500; 
  animation: slideFadeIn 0.5s ease-out; 
  transition: background-color 0.3s ease, border-color 0.3s ease; }

/* Erfolgreich */ 
.meldung-erfolg { 
  background-color: rgba(39, 141, 94, 0.12); 
  border-color: var(--ci-green); 
  color: var(--ci-green); }

/* Fehlermeldung */ 
.meldung-fehler { background-color: rgba(211, 30, 7, 0.12); 
  border-color: var(--ci-red); 
  color: var(--ci-red); }

/* Animation */ 
@keyframes slideFadeIn { 
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  } 
    to { 
      opacity: 1;
       transform: translateY(0); 
      } 
    }

/* Responsive Verhalten */ 
@media (max-width: 600px) { 
  .meldung-container { 
    width: 90%; font-size: 15px; 
    padding: 15px 20px; 
  } 
}

/* Laurin Schnitzer Ende */

