/* Immersive, image-led collection banners. Scoped to six Fika category pages. */
body.fika-discovery .fd-collection-hero.fd-image-hero {
  --fd-hero-color: #29332c;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 500px;
  padding: 0;
  background: var(--fd-hero-color);
  color: #fffaf2;
}
body.fika-discovery .fd-image-hero--coffee-makers { --fd-hero-color: #281d18; }
body.fika-discovery .fd-image-hero--coffee-grinders { --fd-hero-color: #2c2019; }
body.fika-discovery .fd-image-hero--coffee-beans { --fd-hero-color: #2b1c17; }
body.fika-discovery .fd-image-hero--espresso { --fd-hero-color: #211714; }
body.fika-discovery .fd-image-hero--pour-over { --fd-hero-color: #291d18; }
body.fika-discovery .fd-image-hero--budget-coffee { --fd-hero-color: #30221b; }
body.fika-discovery .fd-image-hero-art { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
body.fika-discovery .fd-image-hero-art img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: 72% 52%;
  filter: saturate(.90) contrast(1.045);
}
body.fika-discovery .fd-image-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg,
    var(--fd-hero-color) 0%,
    color-mix(in srgb, var(--fd-hero-color) 98%, transparent) 25%,
    color-mix(in srgb, var(--fd-hero-color) 93%, transparent) 37%,
    color-mix(in srgb, var(--fd-hero-color) 77%, transparent) 52%,
    color-mix(in srgb, var(--fd-hero-color) 35%, transparent) 77%,
    color-mix(in srgb, var(--fd-hero-color) 15%, transparent) 100%),
    linear-gradient(0deg,#211d1880,transparent 32%,transparent 78%,#211d1861);
}
body.fika-discovery .fd-image-hero .fd-image-hero-inner {
  display: flex; flex-direction: column; min-height: 500px; padding-block: 23px 28px;
}
body.fika-discovery .fd-image-hero .fd-breadcrumb { color: #f3dfc8; font-size: 13px; }
body.fika-discovery .fd-image-hero .fd-breadcrumb a:hover { color: #fff; }
body.fika-discovery .fd-image-hero-copy {
  display: flex; flex: 1; flex-direction: column; justify-content: center;
  max-width: 720px; padding-block: 35px 29px;
}
body.fika-discovery .fd-image-hero .fd-eyebrow { color: #efd1a6; font-size: 12px; letter-spacing: .16em; }
body.fika-discovery .fd-image-hero h1 {
  max-width: 13ch; margin-block: 16px 20px; font-size: clamp(56px,6vw,91px);
  line-height: 1; letter-spacing: -.041em; color: #fffbf4;
  text-shadow: 0 3px 26px #211a192c;
}
body.fika-discovery .fd-image-hero h1 em { display: block; margin-top: 3px; color: #f0cda4; }
body.fika-discovery .fd-image-hero .fd-deck {
  max-width: 49ch; font-size: clamp(16px,1.35vw,18px); line-height: 1.65;
  color: #f5e8d7; text-shadow: 0 1px 15px #211a1948;
}
body.fika-discovery .fd-image-hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 23px; margin-top: 26px;
}
body.fika-discovery .fd-image-hero-actions .fd-button { margin-top: 0; gap: 27px; min-height: 50px; }
body.fika-discovery .fd-image-hero-meta { font: 500 12px/1.6 'Outfit',Arial,sans-serif; color: #f0d9c1; letter-spacing: .04em; }
body.fika-discovery .fd-image-hero-credit {
  align-self: flex-end; padding: 5px 10px; background: #1e1b18ad;
  font: 400 11px/1.5 'Outfit',Arial,sans-serif; color: #f5e7d4;
}
@media (max-width: 900px) {
  body.fika-discovery .fd-image-hero .fd-image-hero-inner { min-height: 480px; }
  body.fika-discovery .fd-image-hero h1 { font-size: clamp(50px,7.6vw,73px); }
  body.fika-discovery .fd-image-hero::after {
    background: linear-gradient(90deg, var(--fd-hero-color) 0%,
      color-mix(in srgb,var(--fd-hero-color) 96%,transparent) 35%,
      color-mix(in srgb,var(--fd-hero-color) 55%,transparent) 100%);
  }
}
@media (max-width: 600px) {
  body.fika-discovery .fd-collection-hero.fd-image-hero { min-height: 0; }
  body.fika-discovery .fd-image-hero .fd-image-hero-inner { min-height: 500px; padding-block: 13px 24px; }
  body.fika-discovery .fd-image-hero-art img { object-position: 78% 47%; opacity: 1; filter: saturate(.97) contrast(1.06); }
  body.fika-discovery .fd-image-hero::after {
    background: linear-gradient(90deg,
      color-mix(in srgb,var(--fd-hero-color) 93%,transparent) 0%,
      color-mix(in srgb,var(--fd-hero-color) 78%,transparent) 58%,
      color-mix(in srgb,var(--fd-hero-color) 47%,transparent) 100%),
      linear-gradient(0deg,color-mix(in srgb,var(--fd-hero-color) 70%,transparent),transparent 60%);
  }
  body.fika-discovery .fd-image-hero-copy { padding-block: 37px 24px; }
  body.fika-discovery .fd-image-hero h1 { max-width: 14ch; font-size: clamp(43px,10.5vw,61px); margin-block: 15px 19px; }
  body.fika-discovery .fd-image-hero .fd-deck { font-size: 16px; max-width: 43ch; }
  body.fika-discovery .fd-image-hero-actions { flex-direction: column; align-items: stretch; gap: 11px; }
  body.fika-discovery .fd-image-hero-actions .fd-button { width: 100%; justify-content: space-between; }
  body.fika-discovery .fd-image-hero-credit { align-self: flex-start; }
  body.fika-discovery .fd-image-hero :is(h1,.fd-deck) { text-shadow: 0 2px 16px #16100f99; }
}
@media (prefers-reduced-motion: reduce) {
  body.fika-discovery .fd-image-hero * { animation: none !important; transition: none !important; }
}
