/* Container */
.sc-store-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

/* Grid layout */
.sc-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* Individual item */
.sc-store-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sc-store-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Image wrapper */
.image-wrapper {
  position: relative;   /* crucial for badge overlay */
  display: inline-block;
}

/* Product images */
.image-wrapper img:first-child {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;  /* ensures the badge overlays, not inline */
  border-radius: 8px; /* optional */
}

/* Mr. Fuzz badge (hidden by default) */
.fuzz-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 32px;
  height: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Show badge on hover */
.sc-store-item:hover .fuzz-badge {
  opacity: 1;
}

/* Titles */
.sc-store-title {
  margin-top: 8px;
  font-weight: bold;
  color: #333;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sc-store-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
  .image-wrapper img:first-child {
    max-width: 150px;
  }
}
.intro-module {
    background-color: #E6E6FA !important; /* light purple */
    color: #800080 !important;            /* purple text */
    padding: 30px 20px;
    border-radius: 8px;
    box-sizing: border-box;
    display: block;
}

/* Make sure parent container doesn’t hide background */
#main, #content {
    background-color: transparent !important;
}

.featured-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* adjusts to screen size */
  gap: 20px; /* space between books */
  justify-items: center; /* center each book item */
}

.book-item img {
  width: 100%;       /* makes image fill the container width */
  height: 200px;     /* fixed height for uniformity */
  object-fit: cover; /* crops if image aspect ratio differs */
  display: block;    /* removes small gaps under images */
}

.book-item {
  text-align: center;
}

.tiny-bitey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  justify-items: center;
  padding: 15px;
}

.tiny-bitey-grid img {
  width: 100%;
  max-width: 120px;  /* force uniform size */
  height: auto;
  display: block;
}

.avia-books-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centers all books horizontally */
    gap: 15px; /* spacing between books */
}

.avia-books-wrapper .book-item {
    flex: 0 0 auto; /* keeps each book at its natural width */
    text-align: center;
}

.avia-books-wrapper .book-item img {
    height: 160px; /* all images same height */
    width: auto;   /* maintains aspect ratio */
    display: block;
}
.blooddoll-books-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centers books horizontally */
    gap: 15px; /* spacing between books */
}

.blooddoll-books-wrapper .book-item img {
    height: 160px; /* same height as other sections */
    width: auto;   /* keep aspect ratio */
    display: block;
}





