/* 🍓 strawberry-wild.css — Babyz info styling for the Fruit Shelf */

/* 📦 Flex container for image + info */
.infoflex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 auto;
  max-width: max-content;
  align-items: flex-start;
}

/* 🍥 Manual flip class */
.infoflex.flip {
  flex-direction: row-reverse;
}

/* 💖 Whimsical heart background container */
.heartframe {
  background: url('https://zavieracomplains.neocities.org/strawberryshelf/graphics/faeheartbckgnd.png') no-repeat center;
  background-size: contain;
  min-width: 180px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.heartframe img {
  max-width: 80%;
  height: auto;
  border-radius: 12px;
}

/* 🍬 Rounded pastel info box */
.infobox {
  background-color: #fff7d1;
  border: 2px dotted #f4a6c9;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  color: #4b2e10;
  box-shadow: 4px 4px 0 #fce4ec;
  max-width: 250px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #f4a6c9 #fff7d1;
}

/* 🍭 Scrollbar styling for WebKit */
.infobox::-webkit-scrollbar {
  width: 6px;
}
.infobox::-webkit-scrollbar-track {
  background: #fff7d1;
}
.infobox::-webkit-scrollbar-thumb {
  background-color: #f4a6c9;
  border-radius: 3px;
  border: 1px solid #fff7d1;
}

/* 🧃 Pet name styling */
.petname {
  font-size: 1.5rem;
  color: #d86c9b;
  margin-top: 0rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px #fff;
}

/* 🥭 Pet info list with mango pixel bullets */
.petinfo {
  list-style: none;
  padding-left: 1rem;
  color: #5c4b51;
  font-size: 0.95rem;
}

.petinfo li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
}

/* 🍓 Strawberry for odd items */
.petinfo li:nth-child(odd)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 16px;
  height: 16px;
  background: url('https://zavieracomplains.neocities.org/strawberryshelf/graphics/strawberrybig.png') no-repeat center;
  background-size: contain;
}

/* 🥭 Mango for even items */
.petinfo li:nth-child(even)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 16px;
  height: 16px;
  background: url('https://zavieracomplains.neocities.org/strawberryshelf/graphics/tinymangopixel.png') no-repeat center;
  background-size: contain;
}

/* 🍓 Toggle button styling */
.toggle-button {
  background-color: #ff89a9;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  border: 2px solid #f4a6c9;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  box-shadow: 2px 2px 0 #ffcce5;
  transition: background-color 0.3s ease;
}

.toggle-button:hover {
  background-color: #ff5678;
}

/* 🍬 Extra info section */
.extra-info {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 🍭 Dotted ribbon divider */
.babyz-divider {
  display: block;
  width: 95%;
  height: 60px;
  background: url('https://zavieracomplains.neocities.org/strawberryshelf/graphics/faegeartbackgroundfull.png') repeat-x center,
              #ff89a9;
  background-size: auto 100%;
  margin: 2rem auto;
  max-width: 600px;
}

/* 🍓 Baby gallery styling */
.baby-gallery {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem auto;
  padding: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 248, 200, 0.25), rgba(255, 200, 230, 0.25));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 2px dashed var(--fruit-accent, #ffb3c6);
  border-radius: 16px;
  box-shadow: 0 0 6px rgba(255, 182, 193, 0.4);
  max-width: 90%;
  transition: background 0.3s ease;
}


.baby-gallery img {
  width: 80px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.4s ease-out;
  will-change: transform, box-shadow;
}

.baby-gallery img:hover {
  transform: scale(1.08);
}

