:root {
  --pink:   #ff7eb6;
  --pink-d: #e85ca0;
  --cream:  #fff8f3;
  --ink:    #4a3f4d;
  --soft:   #fdeef4;
  --shadow: 0 8px 24px rgba(232, 92, 160, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(var(--soft) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.heart { color: var(--pink-d); }

/* ---------- Header ---------- */
.site-header {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
}
.logo {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin: 0;
  color: var(--pink-d);
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 rgba(232, 92, 160, 0.15);
}
.tagline {
  font-size: clamp(1rem, 3vw, 1.3rem);
  margin: 0.5rem 0 0;
  font-weight: 600;
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0 1rem 1.5rem;
}
.chip {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--pink);
  background: #fff;
  color: var(--pink-d);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip.active { background: var(--pink); color: #fff; }

/* ---------- Gallery ---------- */
.gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-4px); }
.card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
  cursor: zoom-in;
  display: block;
}
.card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.card-title { font-family: "Baloo 2", cursive; font-weight: 600; font-size: 1.25rem; margin: 0 0 0.15rem; }
.card-meta { font-size: 0.9rem; font-weight: 700; color: var(--pink-d); margin: 0 0 0.4rem; }
.card-note { font-size: 0.95rem; margin: 0 0 1rem; color: #6b5f6e; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.price { font-family: "Baloo 2", cursive; font-weight: 800; font-size: 1.3rem; }
.buy-btn {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  background: var(--pink);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.buy-btn:hover { background: var(--pink-d); }

.empty { text-align: center; font-size: 1.2rem; padding: 2rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  font-weight: 600;
}
.site-footer a { color: var(--pink-d); }

/* ---------- Lightbox ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(74, 63, 77, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  z-index: 50;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-caption { color: #fff; font-weight: 600; margin: 0; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-size: 2.5rem;
  line-height: 1;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
