/* ── Emma Internazionale — Featured Products Section ─────── */

/* ═══════════════════════════════════════════════════════════
   SECTION: FEATURED PRODUCTS
═══════════════════════════════════════════════════════════ */
#featured-products {
  --car-entry-darkness: 0;
  --fp-surface-detail: 1;
  position: relative;
  z-index: auto;
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.fp-catalog-panel {
  position: relative;
  z-index: 2;
  padding-top: clamp(78px, 9vw, 126px);
  padding-bottom: clamp(86px, 9vw, 128px);
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / calc(var(--fp-surface-detail) * .995)),
      rgb(247 247 247 / calc(var(--fp-surface-detail) * .995))
    ),
    #fff;
}

/* Landing runway for the hero's interactive stand. The original image moves
   here as one continuous element, keeping every product hotspot aligned. */
.fp-stand-landing {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  border-top: 1px solid
    rgb(21 23 25 / calc(var(--fp-surface-detail) * .11));
  background: transparent;
  box-shadow:
    0 -28px 74px
    rgb(21 23 25 / calc(var(--fp-surface-detail) * .11));
  pointer-events: none;
}

.fp-stand-lock {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  overflow: visible;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 50% 48%,
      rgb(232 5 5 / calc(var(--fp-surface-detail) * .07)),
      transparent 38%
    ),
    transparent;
  will-change: transform, clip-path;
}

.fp-stand-decor {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  display: block;
  width: min(88vw, 1280px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  filter: saturate(1.3) contrast(1.12);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.94);
  transform-origin: center;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 var(--fp-ring-fade-start, 72%),
    transparent var(--fp-ring-fade-end, 84%)
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 var(--fp-ring-fade-start, 72%),
    transparent var(--fp-ring-fade-end, 84%)
  );
  pointer-events: none;
  will-change: opacity, transform;
}

.fp-stand-decor .hero-arc-svg {
  top: 50%;
  left: 50%;
  width: 100%;
  opacity: 1;
}

.fp-stand-decor .arc-ripple {
  stroke: #e80505;
  stroke-width: 1.45;
}

.fp-stand-decor .arc-fade {
  display: none;
}

.fp-stand-decor .hero-motion-lines {
  display: none;
}

.fp-stand-static {
  display: none;
}

.fp-stand-static-platform {
  position: absolute;
  z-index: 1;
  top: 65%;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translateX(-50%) scaleX(1.2);
}

.fp-stand-static-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 44px rgba(21,23,25,.12));
}

/* Scroll-revealed portfolio stands. The original stand remains centered while
   two fully interactive copies unfold into a dimensional triptych. */
.fp-stand-echoes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.fp-stand-echo {
  position: absolute;
  top: 250px;
  left: 50%;
  width: min(38vw, 620px);
  margin: 0;
  padding-bottom: min(5.2vw, 82px);
  visibility: hidden;
  line-height: 0;
  transform: translate3d(-50%, 0, 0) scale(.84);
  transform-origin: 50% 0;
  filter: none;
  will-change: transform;
  pointer-events: none;
  isolation: isolate;
}

.fp-stand-echo::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 2%;
  width: 72%;
  height: 12%;
  border-radius: 50%;
  background: rgba(232, 5, 5,.18);
  filter: blur(26px);
  transform: translateX(-50%);
}

.fp-stand-echo-platform {
  position: absolute;
  z-index: 1;
  top: 65%;
  left: 50%;
  width: 100%;
  height: auto;
  display: block;
  transform: translateX(-50%) scaleX(1.2);
  transform-origin: center top;
  user-select: none;
}

.fp-stand-echo-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  filter:
    drop-shadow(0 24px 44px rgba(21, 23, 25,.13))
    drop-shadow(0 8px 26px rgba(232, 5, 5,.09));
}

.fp-stand-echo--left {
  z-index: 1;
}

.fp-stand-echo--right {
  z-index: 2;
}

.fp-stand-intro {
  position: absolute;
  z-index: 4;
  top: clamp(92px, 10vh, 118px);
  left: 50%;
  width: min(1240px, 92vw);
  text-align: center;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(-50%, 38px, 0) scale(.975);
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

.fp-stand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--emma-red);
  font: 700 10px/1 var(--font-display);
  letter-spacing: .28em;
  text-transform: uppercase;
}

.fp-stand-kicker::before,
.fp-stand-kicker::after {
  content: '';
  width: 38px;
  height: 1px;
  background: currentColor;
}

.fp-stand-title {
  margin-top: 13px;
  color: #111;
  font: 900 clamp(42px, 5.4vw, 92px)/.86 var(--font-display);
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fp-stand-title span { display: inline; }

.fp-stand-title .fp-stand-title-logo {
  display: inline-flex;
  align-items: center;
  margin-right: -.04em;
  vertical-align: middle;
}

.fp-stand-title-logo img {
  display: block;
  width: auto;
  height: 1.35em;
}

.fp-stand-title em {
  color: #111;
  font-style: normal;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .fp-stand-decor,
  .fp-stand-echoes {
    display: none;
  }
}

/* Top radial red accent glow */
#featured-products::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle at 100% 0%, rgba(232, 5, 5,0.14) 0%, transparent 65%);
  pointer-events: none;
}

/* Bottom-left ghost glow */
#featured-products::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 360px; height: 360px;
  background: radial-gradient(circle at 0% 100%, rgba(65, 64, 66,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.fp-car-entry-dimmer {
  position: absolute;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  background: #000;
  opacity: var(--car-entry-darkness);
  will-change: opacity;
}

.hero-nav.is-car-entry-dimming {
  --hero-nav-fg: rgb(var(--car-nav-foreground-rgb));
  --hero-nav-muted: rgb(var(--car-nav-foreground-rgb) / .72);
  --hero-nav-hover: #fff;
  --hero-nav-logo-filter:
    brightness(0) invert(var(--car-nav-logo-invert));
  background: rgb(var(--car-nav-background-rgb)) !important;
  border-bottom-color: rgb(255 255 255 / .12);
  transition:
    backdrop-filter .42s cubic-bezier(.22,1,.36,1),
    -webkit-backdrop-filter .42s cubic-bezier(.22,1,.36,1),
    box-shadow .42s cubic-bezier(.22,1,.36,1),
    padding .42s cubic-bezier(.22,1,.36,1);
}

.hero-nav.is-car-whiteout {
  --hero-nav-fg: #151719;
  --hero-nav-muted: rgba(21, 23, 25, .58);
  --hero-nav-hover: #151719;
  --hero-nav-logo-filter: none;
  --hero-nav-border: rgba(21, 23, 25, .16);
  background: rgba(255, 255, 255, .97) !important;
  border-bottom-color: rgba(21, 23, 25, .12);
  box-shadow:
    0 1px 0 rgba(21, 23, 25, .08),
    0 10px 34px rgba(21, 23, 25, .055);
}

@media (prefers-reduced-motion: reduce) {
  #featured-products {
    --car-entry-darkness: 0;
  }
}

/* Temporary cue-only state: catalog and stand markup remain commented in the
   page source so the section can be restored without rebuilding it. */
#featured-products.fp-cue-only {
  position: relative;
  display: block;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.fp-cue-only-strip {
  position: relative;
  z-index: 2;
  min-height: clamp(220px, 32svh, 360px);
  display: grid;
  align-items: start;
  justify-items: center;
  padding: clamp(36px, 6svh, 64px) 20px 72px;
  background: transparent;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--emma-green), #fff 50%, var(--emma-red)) 1;
}

.fp-cue-only-strip .fp-scroll-cue {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 600px) {
  .fp-cue-only-strip {
    min-height: clamp(180px, 26svh, 240px);
    padding: clamp(30px, 5svh, 48px) 18px 64px;
  }

  .fp-cue-only-strip .fp-scroll-cue {
    font-size: 8px;
  }

  .fp-cue-only-strip .fp-scroll-cue::after {
    height: 32px;
    margin-top: 13px;
  }
}

/* ── Inner container ──────────────────────────────────────── */
.fp-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 52px;
}

/* ── Section header ───────────────────────────────────────── */
.fp-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.fp-header-left {
  flex: 1;
  min-width: 260px;
}

.fp-heading {
  font-size: clamp(36px, 5vw, 68px);
  margin-top: 8px;
  margin-bottom: 0;
  color: #151719;
}

.fp-sub {
  font-size: clamp(12px, 1.2vw, 15px);
  margin-top: 12px;
  color: rgba(23,23,23,0.64);
}

.fp-filters {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 4px 0 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,5,5,.4) rgba(21,23,25,.06);
}

.fp-filter {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-height: 46px;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: rgba(21,23,25,.62);
  background: #fff;
  border: 1px solid rgba(21,23,25,.12);
  cursor: pointer;
  transition:
    color .24s ease,
    background .24s ease,
    border-color .24s ease,
    transform .24s ease;
}

.fp-filter:hover {
  color: var(--emma-red);
  border-color: rgba(232,5,5,.46);
  transform: translateY(-2px);
}

.fp-filter.is-active {
  color: #fff;
  background: #151719;
  border-color: #151719;
}

.fp-filter--all {
  grid-template-columns: minmax(0, 1fr);
}

.fp-filter-number {
  color: var(--emma-red);
  font: 600 9px/1 var(--font-display);
  letter-spacing: .12em;
}

.fp-filter-name {
  max-width: none;
  overflow: visible;
  font: 500 9px/1.2 var(--font-display);
  letter-spacing: .11em;
  text-overflow: clip;
  text-transform: uppercase;
  white-space: nowrap;
}

.fp-filter-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 22px;
  color: rgba(21,23,25,.46);
  font: 500 9px/1 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fp-filter-status::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--emma-red);
}

.fp-filter-status em {
  color: var(--emma-red);
  font-style: normal;
  font-weight: 700;
}

.fp-filter-status i {
  color: rgba(21,23,25,.28);
  font-style: normal;
}

/* ── Product Grid ─────────────────────────────────────────── */
.fp-grid-window {
  max-height: var(--fp-grid-peek-height, 650px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - 130px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - 130px),
    transparent 100%
  );
}

.fp-grid-window.is-filtered {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.fp-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
  column-gap: 20px;
  row-gap: 52px;
  overflow: visible;
  padding: 64px 2px 22px;
}

.fp-card {
  scroll-snap-align: start;
}

.fp-grid:not(.is-filtered) .fp-card:nth-child(n + 6) {
  filter: opacity(.72) saturate(.82);
}

.fp-grid:not(.is-filtered) .fp-card:nth-child(n + 6) .fp-card-image {
  transform: translateY(4px) scale(1.02);
}

.fp-grid:not(.is-filtered) .fp-card:nth-child(n + 6):hover .fp-card-image {
  transform: translateY(0) scale(1.06);
}

.fp-card[hidden] {
  display: none;
}

.fp-card-ribbon {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  width: 116px;
  height: 116px;
  overflow: visible;
  filter: drop-shadow(0 8px 11px rgba(179,0,18,.28));
  pointer-events: none;
}

.fp-card-ribbon-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fp-card-ribbon-label {
  position: absolute;
  top: 28px;
  left: -43px;
  width: 172px;
  padding: 8px 0 7px;
  color: #fff;
  background:
    linear-gradient(110deg, transparent 24%, rgba(255,255,255,.28) 42%, transparent 60%) -190px 0 / 190px 100% no-repeat,
    var(--emma-red);
  font: 800 9px/1 var(--font-display);
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-45deg);
  transform-origin: center;
  animation:
    fp-popular-ribbon-enter .7s cubic-bezier(.22, 1, .36, 1) both,
    fp-popular-ribbon-sheen 2.6s ease-in-out 1.1s infinite;
}

.fp-card-ribbon--new {
  filter: drop-shadow(0 8px 11px rgba(21,23,25,.3));
}

.fp-card-ribbon--new .fp-card-ribbon-label {
  background:
    linear-gradient(110deg, transparent 24%, rgba(255,255,255,.28) 42%, transparent 60%) -190px 0 / 190px 100% no-repeat,
    var(--color-brand-black, #151719);
}

.fp-card:nth-child(2) .fp-card-ribbon-label {
  animation-delay: .12s, 1.35s;
}

@keyframes fp-popular-ribbon-enter {
  from {
    opacity: 0;
    transform: translate3d(-24px, -18px, 0) rotate(-45deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-45deg);
  }
}

@keyframes fp-popular-ribbon-sheen {
  0%, 38% { background-position: -190px 0, 0 0; }
  72%, 100% { background-position: 190px 0, 0 0; }
}

/* ── Product Card ─────────────────────────────────────────── */
.fp-card {
  position: relative;
  height: 100%;
  background: #fff;
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  /* Initial GSAP state — animated in by featured-products.js */
  opacity: 0;
  transform: translateY(40px);
}

.fp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(23,23,23,0.14), 0 0 0 0 transparent;
}

.fp-grid:not(.is-filtered) .fp-card:nth-child(n + 6):hover {
  filter: opacity(.9) saturate(.94);
}

/* Red bottom-line slide-in on hover */
.fp-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--emma-red), var(--emma-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-card:hover::after {
  transform: scaleX(1);
}

/* ── Card Visual (image placeholder) ──────────────────────── */
.fp-card-visual {
  position: relative;
  width: 100%;
  height: 200px;
  background: #fff;
  overflow: visible;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fading frame lets the transparent product appear to break out of the card. */
.fp-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(23,23,23,.12) 0%,
      rgba(23,23,23,.12) 25%,
      transparent 44%,
      transparent 56%,
      rgba(23,23,23,.12) 75%,
      rgba(23,23,23,.12) 100%
    ) top / 100% 1px no-repeat,
    linear-gradient(
      180deg,
      rgba(23,23,23,.12) 0%,
      rgba(23,23,23,.07) 42%,
      transparent 100%
    ) left / 1px 100% no-repeat,
    linear-gradient(
      180deg,
      rgba(23,23,23,.12) 0%,
      rgba(23,23,23,.07) 42%,
      transparent 100%
    ) right / 1px 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}

.fp-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0 30px 6px;
  z-index: 2;
  filter:
    drop-shadow(0 20px 15px rgba(21,23,25,.2))
    drop-shadow(0 3px 2px rgba(255,255,255,.8));
  transform: translateY(-30px) scale(1.1);
  transition: transform 0.45s ease;
}

.fp-card:hover .fp-card-image {
  transform: translateY(-36px) scale(1.14);
}

/* Large ghost category number */
.fp-card-cat-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 900;
  line-height: 1;
  color: rgba(232, 5, 5,0.09);
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 2;
}

.fp-card:hover .fp-card-cat-number {
  color: rgba(232, 5, 5,0.15);
}

/* Gradient vignette bottom edge */
.fp-card-visual::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
  z-index: 3;
  display: none;
}

/* ── Card Body ────────────────────────────────────────────── */
.fp-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  border-right: 1px solid rgba(23,23,23,.1);
  border-bottom: 1px solid rgba(23,23,23,.1);
  border-left: 1px solid rgba(23,23,23,.1);
  background: #fff;
}

.fp-card-category {
  align-self: flex-start;
  max-width: 100%;
  margin-bottom: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(232,5,5,.72);
  color: var(--emma-red);
  background: rgba(232,5,5,.025);
  font: 700 7.5px/1.25 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fp-grid.is-filtered .fp-card-category {
  display: none;
}

/* Product name */
.fp-card-name {
  font-family: var(--font-display);
  height: 2.3em;
  min-height: 2.3em;
  flex: 0 0 2.3em;
  overflow: hidden;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 700;
  color: #151719;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fp-card-description {
  margin-top: 8px;
  height: 4.65em;
  min-height: 4.65em;
  flex: 0 0 4.65em;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(23,23,23,0.62);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Alt language names */
.fp-card-alt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.fp-card-alt-name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  color: rgba(23,23,23,0.58);
  line-height: 1.4;
}

/* Arabic alt name */
.fp-card-alt-name--ar {
  direction: rtl;
  text-align: right;
  font-size: 12px;
}

/* Footer row */
.fp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 29px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(23,23,23,0.09);
}

/* View details link */
.fp-card-cta {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--emma-red);
  text-decoration: none;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.fp-card-cta:hover {
  opacity: 0.8;
}

.fp-card-cta svg {
  flex-shrink: 0;
}

/* ── Footer: View All button ──────────────────────────────── */
.fp-footer {
  position: relative;
  z-index: 3;
  flex: 1 0 clamp(260px, 28vh, 360px);
  min-height: clamp(260px, 28vh, 360px);
  gap: clamp(28px, 3vh, 40px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fp-scroll-cue {
  --fp-cue-muted-channel: calc(119 + 136 * var(--car-entry-darkness));
  --fp-cue-red-r: calc(232 + 23 * var(--car-entry-darkness));
  --fp-cue-red-gb: calc(5 + 250 * var(--car-entry-darkness));
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1;
  text-transform: uppercase;
}

.fp-scroll-cue-text {
  display: inline-block;
  color: transparent;
  background: linear-gradient(
    90deg,
    rgb(
      var(--fp-cue-muted-channel)
      var(--fp-cue-muted-channel)
      var(--fp-cue-muted-channel)
    ) 20%,
    rgb(
      var(--fp-cue-red-r)
      var(--fp-cue-red-gb)
      var(--fp-cue-red-gb)
    ) 50%,
    rgb(
      var(--fp-cue-muted-channel)
      var(--fp-cue-muted-channel)
      var(--fp-cue-muted-channel)
    ) 80%
  );
  background-size: 220% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: fp-scroll-cue-text 2.8s ease-in-out infinite;
}

.fp-scroll-cue-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

.fp-scroll-cue-logo {
  display: block;
  width: 54px;
  height: auto;
  flex: 0 0 auto;
  animation: fp-scroll-cue-text 2.8s ease-in-out infinite;
}

.fp-scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 42px;
  margin-top: 18px;
  background: linear-gradient(
    180deg,
    rgb(var(--fp-cue-red-r) var(--fp-cue-red-gb) var(--fp-cue-red-gb)),
    transparent
  );
  transform-origin: top;
  animation: fp-scroll-cue-line 2.8s ease-in-out infinite;
}

.fp-scroll-cue-overlay {
  position: fixed;
  z-index: 21;
  display: grid;
  justify-items: center;
  margin: 0;
  opacity: var(--car-entry-darkness);
  visibility: hidden;
  pointer-events: none;
  will-change: top, left, opacity;
}

.fp-scroll-cue--dark {
  --fp-cue-muted-channel: 255;
  --fp-cue-red-r: 255;
  --fp-cue-red-gb: 255;
  margin-top: 0;
}

.fp-scroll-cue--dark::after {
  background: linear-gradient(180deg, #fff, transparent);
}

@keyframes fp-scroll-cue-text {
  0%, 100% {
    background-position: 100% 50%;
    opacity: .48;
    transform: translateY(0);
  }
  50% {
    background-position: 0 50%;
    opacity: 1;
    transform: translateY(9px);
  }
}

@keyframes fp-scroll-cue-line {
  0%, 100% {
    opacity: .3;
    transform: scaleY(.55);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.fp-footer .fp-view-all {
  --fp-view-muted-channel: calc(119 + 136 * var(--car-entry-darkness));
  --fp-view-red-r: calc(232 + 23 * var(--car-entry-darkness));
  --fp-view-red-gb: calc(5 + 250 * var(--car-entry-darkness));
  --fp-view-highlight-gb: calc(52 + 203 * var(--car-entry-darkness));
  --fp-view-deep-r: calc(148 + 107 * var(--car-entry-darkness));
  order: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 14px;
  overflow: hidden;
  border: 1px solid rgba(21,23,25,.12);
  border-radius: 0;
  color: rgba(21,23,25,.62);
  background: #fff;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  box-shadow: none;
  transition: none;
}

.fp-footer .fp-view-all span {
  display: inline-block;
  color: inherit;
  background: none;
  animation: none;
  filter: none;
  transform: none;
}

.fp-footer .fp-view-all i {
  color: rgb(var(--fp-view-red-r) var(--fp-view-red-gb) var(--fp-view-red-gb));
  font: normal 300 18px/1 sans-serif;
  letter-spacing: 0;
  animation: fp-view-all-arrow 1.65s ease-in-out infinite;
  transition: transform .25s ease;
}

.fp-footer .fp-view-all:hover,
.fp-footer .fp-view-all:focus-visible {
  color: var(--emma-red);
  border-color: var(--emma-red);
  background: #fff;
  transform: none;
}

.fp-footer .fp-view-all:focus-visible {
  outline: 1px solid var(--emma-red);
  outline-offset: 8px;
}

.fp-footer .fp-scroll-cue {
  order: 1;
}

@keyframes fp-view-all-text {
  0%, 100% {
    background-position: 115% 50%;
    opacity: .8;
    filter: drop-shadow(0 0 2px rgba(232,5,5,.16));
    transform: translateX(-6px);
  }
  50% {
    background-position: -15% 50%;
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(232,5,5,.5));
    transform: translateX(6px);
  }
}

@keyframes fp-view-all-arrow {
  0%, 100% { opacity: .68; transform: translateX(-3px); }
  50% { opacity: 1; transform: translateX(12px); }
}

/* ── Divider below section ────────────────────────────────── */
.fp-divider {
  position: relative;
  height: 1px;
  margin: 0;
  background: transparent;
}

.fp-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(232, 5, 5,0.3) 20%, rgba(65, 64, 66,0.2) 50%, rgba(232, 5, 5,0.3) 80%, transparent);
}

/* ── Reduced-motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fp-inner { margin: 0 auto; }
  .fp-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .fp-card::after { transition: none !important; }
  .fp-card-ribbon-label { animation: none !important; }
  .fp-view-all { transition: none !important; }
  .fp-view-all span,
  .fp-view-all i { animation: none !important; }
  .fp-scroll-cue-text,
  .fp-scroll-cue-logo,
  .fp-scroll-cue::after { animation: none !important; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  #featured-products { padding: 0; }
  .fp-inner { margin: 0 auto; padding: 80px 28px 90px; }
  .fp-header { margin-bottom: 40px; }
  .fp-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 76vw);
    gap: 16px;
  }
  .fp-stand-landing {
    display: block;
    height: 100svh;
    min-height: 640px;
  }
  .fp-stand-static {
    position: absolute;
    z-index: 3;
    top: clamp(210px, 26vh, 270px);
    left: 50%;
    display: block;
    width: min(112vw, 720px);
    margin: 0;
    padding-bottom: min(14vw, 94px);
    line-height: 0;
    transform: translateX(-50%);
  }
  .fp-stand-static-platform {
    position: absolute;
    z-index: 1;
    top: 65%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translateX(-50%) scaleX(1.2);
  }
  .fp-stand-static-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 22px 44px rgba(21,23,25,.12));
  }
  .fp-stand-intro {
    top: clamp(74px, 9vh, 96px);
    opacity: 1;
    filter: none;
    transform: translate3d(-50%, 0, 0);
  }
  .fp-stand-title {
    font-size: clamp(36px, 9vw, 66px);
    white-space: normal;
  }
}


/* Keep the catalog visible at the hero handoff, then let it settle below the
   stand as the showcase takes over the viewport. */
#featured-products {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.fp-catalog-panel {
  position: relative;
  z-index: 8;
  display: flex;
  flex-direction: column;
  order: 2;
  inset: auto;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 100dvh;
  margin: 0 auto;
  padding:
    clamp(20px, 2.5vh, 30px)
    clamp(32px, 2.5vw, 48px)
    clamp(64px, 7vh, 88px);
  overflow: visible;
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / calc(var(--fp-surface-detail) * .995)),
      rgb(247 247 247 / calc(var(--fp-surface-detail) * .995))
    ),
    #fff;
  box-shadow:
    0 26px 80px
    rgb(21 23 25 / calc(var(--fp-surface-detail) * .13));
  opacity: 1;
  transform: translate3d(0, -100dvh, 0);
  will-change: transform;
}

.fp-catalog-panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emma-green), #fff 50%, var(--emma-red));
}

.fp-catalog-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 14px;
}

.fp-catalog-topline .fp-filter-status {
  margin: 0;
}

.fp-stand-landing {
  position: relative;
  z-index: 9;
  order: 1;
  height: 100dvh;
  min-height: 680px;
}

.fp-divider {
  order: 3;
}

@media (max-height: 760px) and (min-width: 901px) {
  .fp-catalog-panel {
    padding-top: 20px;
    padding-bottom: 52px;
  }

  .fp-card-visual {
    height: 158px;
  }

  .fp-card-body {
    padding: 16px 20px 18px;
  }

  .fp-card-description {
    height: 3.1em;
    min-height: 3.1em;
    flex-basis: 3.1em;
    -webkit-line-clamp: 2;
  }

  .fp-footer {
    min-height: 220px;
    margin: 0;
  }
}

@media (max-width: 900px) {
  #featured-products { height: auto; min-height: 0; }
  .fp-stand-landing { height: 100svh; min-height: 640px; }

  .fp-catalog-panel {
    min-height: 100svh;
    padding: 26px 32px 68px;
    transform: translate3d(0, -100svh, 0);
  }

  .fp-catalog-topline {
    align-items: flex-start;
  }

  .fp-grid {
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 42vw);
    overflow-x: auto;
    scroll-padding-inline: 2px;
    scroll-snap-type: inline mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(232,5,5,.46) rgba(21,23,25,.07);
  }

  .fp-grid:not(.is-filtered) .fp-card:nth-child(n + 6) {
    filter: none;
  }

  .fp-grid:not(.is-filtered) .fp-card:nth-child(n + 6) .fp-card-image {
    transform: translateY(-30px) scale(1.1);
  }

  .fp-grid:not(.is-filtered) .fp-card:nth-child(n + 6):hover .fp-card-image {
    transform: translateY(-36px) scale(1.14);
  }

  .fp-grid:not(.is-filtered) .fp-card:nth-child(even) {
    filter: opacity(.72) saturate(.82);
  }

  .fp-grid:not(.is-filtered) .fp-card:nth-child(even) .fp-card-image {
    transform: translateY(4px) scale(1.02);
  }

  .fp-grid:not(.is-filtered) .fp-card:nth-child(even):hover {
    filter: opacity(.9) saturate(.94);
  }

  .fp-grid:not(.is-filtered) .fp-card:nth-child(even):hover .fp-card-image {
    transform: translateY(0) scale(1.06);
  }
}

@media (max-width: 600px) {
  .fp-catalog-panel {
    padding: 22px 20px 54px;
  }

  .fp-catalog-topline {
    gap: 10px;
  }

  .fp-filter-status {
    font-size: 8px;
    letter-spacing: .1em;
  }

  .fp-filter-status::before {
    display: none;
  }

  .fp-filters {
    margin-bottom: 8px;
  }

  .fp-grid {
    padding: 56px 2px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #featured-products {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .fp-catalog-panel {
    position: relative;
    inset: auto;
    display: block;
    height: auto;
    min-height: 0;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  #featured-products { padding: 0; }
  .fp-inner { padding: 68px 20px 78px; }
  .fp-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fp-grid {
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(254px, 86vw);
  }
  .fp-filter,
  .fp-footer .fp-view-all {
    min-height: 42px;
    padding: 8px 11px;
  }
  .fp-filter-name {
    max-width: none;
  }
  .fp-card-visual { height: 160px; }
  .fp-footer {
    min-height: 220px;
    margin: 0;
  }
  .fp-stand-static {
    top: clamp(190px, 25vh, 238px);
    width: 128vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-stand-landing {
    display: block;
    min-height: 640px;
  }
  .fp-stand-static {
    position: absolute;
    z-index: 3;
    top: clamp(210px, 26vh, 270px);
    left: 50%;
    display: block;
    width: min(112vw, 720px);
    margin: 0;
    padding-bottom: min(14vw, 94px);
    line-height: 0;
    transform: translateX(-50%);
  }
  .fp-stand-intro {
    opacity: 1;
    filter: none;
    transform: translate3d(-50%, 0, 0);
  }
}
