/**
 * The home sections' inline `{% style %}` blocks, de-scoped.
 *
 * WHY a separate file: on the live site these rules are emitted INSIDE each
 * section, prefixed with `#shopify-section-{{ section.id }}` so one section's
 * CSS can't leak into another instance of the same section. The standalone
 * home renders each section exactly once, so the prefix has no job to do and
 * would only require inventing fake section ids in the markup. Dropping it is
 * the transformation docs/phase2-storefront-spec.md §3.1 prescribes.
 *
 * Everything structural for these sections already lives in printbere.css
 * (.pb-hero, .pb-trust, .pb-cats, .pb-how, .pb-design-cta) — this file is only
 * the per-section overrides that Liquid kept inline.
 *
 * Sources, in render order:
 *   sections/pb-hero.liquid        {% style %}   (mascot frame reset + float)
 *   sections/pb-categories.liquid  {%- style -%} (card photo + veil)
 *   sections/pb-design-cta.liquid  <style>       (secondary link)
 * pb-trust-bar.liquid and pb-how.liquid carry no inline CSS.
 */

/* ── pb-hero ────────────────────────────────────────────────────────────
   The old placeholder bear lived in a dark, dashed "design-area" frame.
   Strip that container styling so the real Benny floats freely. */
.pb-hero__mascot {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}
.pb-hero__mascot::before,
.pb-hero__mascot::after {
  display: none !important;
  content: none !important;
}
.pb-hero__benny {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.18));
  animation: pb-benny-float 4.5s ease-in-out infinite;
}
@keyframes pb-benny-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pb-hero__benny {
    animation: none;
  }
}

/* ── pb-categories ──────────────────────────────────────────────────── */
.pb-cat {
  position: relative;
  overflow: hidden;
  display: block;
}
.pb-cat__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Preserve the cap's white headroom instead of center-cropping it away. */
.pb-cat[href="/collections/hats"] .pb-cat__img {
  object-position: center top;
}
.pb-cat:hover .pb-cat__img {
  transform: scale(1.06);
}
.pb-cat__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(22, 17, 12, 0.6) 0%,
    rgba(22, 17, 12, 0.12) 44%,
    rgba(22, 17, 12, 0) 70%
  );
}
.pb-cat__label {
  position: relative;
  z-index: 2;
}

/* ── pb-design-cta ──────────────────────────────────────────────────── */
.pb-design-cta__secondary {
  display: inline-block;
  margin-left: 18px;
  color: #f37520;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.5rem;
}
.pb-design-cta__secondary:hover {
  text-decoration: underline;
}
