/* Site overrides layered on top of the HotFlix theme. Loaded after main.css so
   these rules win. Keep brand and affiliate-specific styling here rather than
   editing the vendored theme CSS, so the theme can be updated in place. */

:root {
  --hn-accent: #f9ab00;
}

/* Text wordmark in place of the theme's image logo. */
.header__logo--text,
.footer__logo--text {
  display: inline-flex;
  align-items: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.header__logo--text span,
.footer__logo--text span {
  color: var(--hn-accent);
}

/* Buy box: replaces the theme's video player on the details page. The list of
   format offers (4K, Blu-ray, DVD) lives where the player was. */
.buybox {
  background-color: #222028;
  border-radius: 16px;
  padding: 24px;
}

.buybox__title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.buybox__offers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.buybox__offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background-color: #1a191f;
  border-radius: 12px;
}

.buybox__format {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
}

.buybox__price {
  color: #c0c0c0;
}

.buybox__buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: var(--hn-accent);
  color: #100f14;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.buybox__buy:hover {
  filter: brightness(1.05);
}

.buybox__note {
  margin-top: 16px;
  font-size: 13px;
  color: #c0c0c0;
}

/* Search-offer view: format chips above a full-width buy button. */
.buybox__formats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.buybox__chip {
  flex: 1 1 0;
  min-width: 84px;
  text-align: center;
  padding: 10px 8px;
  background-color: #1a191f;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.buybox__buy--wide {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 14px 18px;
}

/* Details: franchise eyebrow above the metadata. */
.item__franchise {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--hn-accent);
  margin: 0 0 12px;
}

/* Details: the "why own it" note beneath the buy box. */
.ownnote {
  margin-top: 24px;
  color: #c0c0c0;
}

.ownnote__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.ownnote p {
  margin: 0 0 12px;
}

/* Long-form copy on the static pages. */
.prose {
  color: #c0c0c0;
  max-width: 720px;
}

.prose p {
  margin: 0 0 16px;
}

/* Details poster fills its frame. */
.item--details .item__cover img {
  width: 100%;
  border-radius: 12px;
}

/* Browse pagination. */
.paginator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.paginator__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background-color: #222028;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.paginator__link:hover {
  background-color: var(--hn-accent);
  color: #100f14;
}

.paginator__link--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.paginator__status {
  color: #c0c0c0;
  font-size: 14px;
}

/* Genre and franchise directory cards. */
.termcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px 18px;
  background-color: #222028;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
}

.termcard:hover {
  background-color: #2b2933;
}

.termcard__name {
  font-weight: 600;
}

.termcard__count {
  color: var(--hn-accent);
  font-weight: 600;
  font-size: 14px;
}

/* Franchise eyebrow link inherits the accent and drops link underline. */
.item__franchise a {
  color: inherit;
  text-decoration: none;
}

.item__franchise a:hover {
  text-decoration: underline;
}
