.fh-promo-marquee {
  --fh-marquee-height: 40px;
  --fh-marquee-gap: 50px;
  height: var(--fh-marquee-height);
  min-height: var(--fh-marquee-height);
  max-height: var(--fh-marquee-height);
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.fh-promo-marquee__viewport {
  height: 100%;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.fh-promo-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--fh-marquee-gap);
  width: max-content;
  height: 100%;
  padding-right: var(--fh-marquee-gap);
  animation: fh-marquee-scroll var(--fh-marquee-duration, 70s) linear infinite;
}

.fh-promo-marquee:hover .fh-promo-marquee__track {
  animation-play-state: paused;
}

.fh-promo-marquee__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--fh-marquee-height);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.8rem;
  line-height: 1;
  box-sizing: border-box;
}

.fh-promo-marquee__item:hover {
  color: #f5f0e8;
}

.fh-promo-marquee__thumb {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.fh-promo-marquee__line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.fh-promo-marquee__hook {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
}

.fh-promo-marquee__sep {
  opacity: 0.45;
  font-size: 0.7rem;
  user-select: none;
  flex-shrink: 0;
}

.fh-promo-marquee__title {
  font-size: 0.84rem;
  font-weight: 700;
}

.fh-promo-marquee__price {
  font-size: 0.84rem;
  font-weight: 800;
  flex-shrink: 0;
}

.fh-promo-marquee__price-old {
  font-size: 0.74rem;
  opacity: 0.7;
  text-decoration: line-through;
  flex-shrink: 0;
}

.fh-promo-marquee__detail {
  font-size: 0.78rem;
  opacity: 0.88;
  flex-shrink: 0;
}

.fh-promo-marquee__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  flex-shrink: 0;
}

@keyframes fh-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - (var(--fh-marquee-gap) / 2))); }
}

@media (max-width: 767px) {
  .fh-promo-marquee {
    --fh-marquee-gap: 32px;
  }

  .fh-promo-marquee__item {
    font-size: 0.76rem;
  }

  .fh-promo-marquee__detail {
    display: none;
  }

  .fh-promo-marquee__hook {
    font-size: 0.66rem;
  }

  .fh-promo-marquee__title,
  .fh-promo-marquee__price {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fh-promo-marquee__track {
    animation: none;
    overflow-x: auto;
    max-width: 100%;
    padding: 0 16px;
  }

  .fh-promo-marquee__viewport {
    mask-image: none;
  }
}
