:root{
  --bg:#FFFDFD;
  --text:#344054;
  --muted:#7b8794;
  --card:#FFFDFD;

  /* BabyKiste24 Farben */
  --primary:#F08A8D;
  --primary-dark:#d96f72;
  --accent:#F7C6C7;
  --blue:#8EC6D1;
  --blue-soft:#DFF1F4;
  --yellow:#F6C667;

  --danger:#ef4444;
  --border:#F7C6C7;
  --header-bg:linear-gradient(135deg,#FFFDFD 0%, #DFF1F4 55%, #F7C6C7 100%);
  --header-shadow:0 6px 18px rgba(240, 138, 141, 0.16);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{
  color:var(--text);
  text-decoration:none;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:1rem;
}

/* =========================
   HEADER BABYKISTE24-STYLE
   ========================= */
.site-header{
  background:var(--header-bg);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:10;
  box-shadow:var(--header-shadow);
  backdrop-filter:blur(8px);
}

.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

.site-header .brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  font-weight:700;
  font-size:1.2rem;
  color:var(--primary);
}

.site-header .brand img{
  height:54px;
  width:auto;
  display:block;
}

.site-header .search{
  display:flex;
  gap:.5rem;
  align-items:center;
  flex:1;
  justify-content:center;
  min-width:260px;
}

.site-header input,
.site-header select{
  padding:.6rem .75rem;
  border:1px solid var(--accent);
  border-radius:.75rem;
  background:#FFFDFD;
  color:var(--text);
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.site-header input:focus,
.site-header select:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(240,138,141,.18);
}

.site-header button{
  padding:.6rem 1rem;
  border:0;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:white;
  border-radius:.75rem;
  cursor:pointer;
  font-weight:600;
  box-shadow:0 4px 10px rgba(240,138,141,.24);
  transition:transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

.site-header button:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 16px rgba(240,138,141,.32);
}

nav{
  display:flex;
  align-items:center;
  gap:.25rem;
  flex-wrap:wrap;
}

nav a{
  margin-left:0;
  padding:.55rem .8rem;
  border-radius:.7rem;
  color:var(--text);
  font-weight:500;
  transition:background .2s ease, color .2s ease;
}

nav a:hover{
  background:rgba(247,198,199,.45);
  color:var(--primary);
}

/* =========================
   BASIS-STYLES
   ========================= */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}

.card{
  background:var(--card);
  border:1px solid var(--accent);
  border-radius:1rem;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.card img{
  width:100%;
  height:200px;
  object-fit:cover;
  background:var(--blue-soft);
}

.card .p{padding:.75rem}

.badge{
  display:inline-block;
  background:var(--blue-soft);
  color:#4f7f88;
  border-radius:999px;
  padding:.15rem .5rem;
  font-size:.8rem;
  margin-right:.25rem;
}

.price{font-weight:700}

.btn{
  display:inline-block;
  padding:.6rem .9rem;
  border-radius:.6rem;
  border:1px solid var(--accent);
  background:#FFFDFD;
  cursor:pointer;
}

.btn.primary{
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  border-color:var(--primary);
  color:#fff;
}

.btn.danger{
  background:var(--danger);
  border-color:var(--danger);
  color:#fff;
}

.form{display:grid;gap:.75rem;max-width:650px}

.form input,.form select,.form textarea{
  padding:.7rem;
  border:1px solid var(--accent);
  border-radius:.5rem;
}

.form label{font-size:.9rem;color:var(--muted)}

.flash{
  padding:.6rem .8rem;
  border-radius:.5rem;
  margin:.75rem 0;
}

.flash.success{
  background:var(--blue-soft);
  border:1px solid var(--blue);
  color:var(--text);
}

.flash.error{
  background:#fee2e2;
  border:1px solid #fecaca;
}

.site-footer{
  margin-top:2rem;
  border-top:1px solid var(--border);
  background:#FFFDFD;
}

.table{width:100%;border-collapse:collapse}
.table th,.table td{border-bottom:1px solid var(--border);padding:.6rem;text-align:left}
.empty{color:var(--muted);padding:1rem 0}

/* Carousel */
.carousel{
  background:#FFFDFD;
  border:1px solid var(--border);
  border-radius:1rem;
  overflow:hidden;
}

.carousel-viewport{position:relative;overflow:hidden}
.carousel-track{display:flex;transition:transform .3s ease}
.carousel-slide{min-width:100%}

.carousel-slide img{
  width:100%;
  height:auto;
  display:block;
  max-height:520px;
  object-fit:contain;
  background:#FFFDFD;
}

.carousel-controls{
  display:flex;
  justify-content:space-between;
  gap:.5rem;
  padding:.5rem;
}

.carousel-prev,.carousel-next{
  border:1px solid var(--accent);
  background:#FFFDFD;
  border-radius:.5rem;
  padding:.4rem .7rem;
  cursor:pointer;
}

.carousel-prev[disabled],.carousel-next[disabled]{opacity:.4;cursor:not-allowed}

.carousel-dots{
  display:flex;
  gap:.4rem;
  justify-content:center;
  padding:.5rem 0;
}

.carousel-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid var(--blue);
  background:#FFFDFD;
  cursor:pointer;
}

.carousel-dot.active{background:var(--primary)}

.carousel-thumbs{
  display:flex;
  gap:.5rem;
  overflow:auto;
  padding:.5rem;
  background:var(--blue-soft);
  border-top:1px solid var(--border);
}

.carousel-thumb{
  border:2px solid transparent;
  border-radius:.5rem;
  cursor:pointer;
  flex:0 0 auto;
}

.carousel-thumb img{
  width:70px;
  height:70px;
  object-fit:cover;
  display:block;
  border-radius:.4rem;
  background:var(--blue-soft);
}

.carousel-thumb.active{border-color:var(--primary)}

/* Responsive */
@media (max-width: 900px){
  .site-header .container{
    flex-direction:column;
    align-items:stretch;
  }

  .site-header .brand{
    justify-content:center;
  }

  .site-header .search{
    width:100%;
  }

  nav{
    justify-content:center;
  }
}