#homepage-sections { display: flex; flex-direction: column; }

/* The real sizing/fit rules for .hero__media / .hero__media img live in
   css/layout.css and are driven per-hero by js/hero-render.js. This used
   to duplicate .hero__media/.hero__media img with hardcoded 60%-size
   object-fit:contain — identical specificity to layout.css's rule, loaded
   after it, so it silently won and force-shrank every uploaded banner to
   60% size regardless of content. Only the empty-state placeholder (no
   image configured at all) gets a distinct decorative treatment here. */
.hero__media--empty {
  background:
    radial-gradient(circle at 30% 30%, rgba(242, 183, 5, 0.12), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(232, 56, 13, 0.10), transparent 55%),
    var(--color-grey-100);
}

[data-categories-grid] p,
[data-bestsellers-grid] p,
[data-newarrivals-grid] p {
  grid-column: 1 / -1;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

/* ---------- Scroll-reveal entrance animation ---------- */
/* Applied by js/home.js via IntersectionObserver to #homepage-sections > section
   and .hero — fades/slides each section up the first time it enters view.
   base.css's global prefers-reduced-motion rule already neutralizes this. */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- "We're Exclusively Available On" marketplace strip ---------- */
.marketplace-strip {
  background: linear-gradient(180deg, var(--color-grey-100), var(--color-white));
  padding: var(--space-8) 0;
  text-align: center;
}
.marketplace-strip__heading {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--fs-lg);
  margin-bottom: var(--space-6);
}
.marketplace-strip__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.marketplace-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  animation: marketplace-float 3.2s ease-in-out infinite;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.marketplace-logo:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-md);
}
/* Offsets the two logos so they don't bob in lockstep */
.marketplace-logo--flipkart { animation-delay: 0.6s; }
.marketplace-logo__mark { height: 32px; width: auto; display: block; }

.marketplace-strip__disclaimer {
  margin: var(--space-5) auto 0;
  max-width: 520px;
  font-size: var(--fs-xs);
  color: var(--color-grey-500);
  line-height: 1.5;
}

@keyframes marketplace-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 480px) {
  .marketplace-strip__logos { gap: var(--space-5); }
  .marketplace-logo { padding: var(--space-3) var(--space-4); }
  .marketplace-logo__mark { height: 26px; }
}
