/* Soft pastel background gradient */
body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(to bottom, #fff0f6, #fefcff);
  color: #4b2e2e;
  margin: 0;
  padding: 0;
}

/* Glittering background (subtle sparkle image idea!) */
body::before {
  content: "";
  background: url('../images/sparkles.gif'); /* Use a tiny subtle sparkle pattern! */
  opacity: 0.2;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Logo */
.logo {
  height: 80px;
  display: block;
  margin: 0 auto;
  padding: 1em 0;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
nav ul li {
  display: inline-block;
  margin: 0 1em;
}
nav ul li a {
  color: #fc80a4;
  font-weight: bold;
  text-decoration: none;
}
nav ul li a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #febebe;
  color: #fff;
  padding: 0.75em 1.5em;
  margin-top: 1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 15px;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 8px #ffebf5;
  cursor: url('../images/wand.cur'), pointer; /* Add your sparkle wand cursor! */
}
.btn:hover {
  transform: scale(1.05);
  background: #fca5c7;
}

/* Product Detail Layout */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3em;
  padding: 3em 1em;
}

.gallery img {
  max-width: 200px;
  border-radius: 10px;
  margin-bottom: 1em;
  box-shadow: 0 0 12px #ffe3ef;
}

.product-info {
  max-width: 400px;
}

.details {
  padding-left: 1em;
  list-style-type: '✨ ';
}

footer {
  text-align: center;
  background: #fff0f5;
  padding: 2em 1em;
  font-size: 0.9em;
  border-top: 2px dashed #febebe;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
  max-width: 600px;
}

.gallery img {
  width: 100%;
  max-width: 180px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 182, 193, 0.4);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.product-detail {
  max-width: 1000px;
  margin: auto;
}
.gallery-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.sparkle:hover {
  filter: brightness(1.1) drop-shadow(0 0 8px #ffc0cb);
}
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(255, 240, 245, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 1em;
  box-shadow: 0 0 30px #febebe;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}
.gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem auto;
  max-width: 900px;
}

.gallery img {
  max-width: 250px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 182, 193, 0.6);
}
button, .btn, a.button {
  cursor: url('images/sparkle-cursor.png'), auto;
}
.product-card {
  max-width: 250px; /* smaller than before */
  background: #fff0f5;
  border: 2px dashed #fbbac8;
  border-radius: 16px;
  padding: 1rem;
  margin: 1rem auto;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 182, 193, 0.4);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

/* 🌸 Make it even more comfy on tiny screens */
@media screen and (max-width: 480px) {
  .product-card {
    max-width: 90%;
    padding: 0.75rem;
  }

  .product-card img {
    border-radius: 10px;
  }
}

#main-image {
  max-width: 100%;
  max-height: 400px;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(255, 182, 193, 0.4);
}

.thumbnail-gallery {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.thumbnail-gallery img {
  width: 80px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumbnail-gallery img:hover {
  transform: scale(1.1);
}
