/* Final responsive and media refinements. Loaded after the core design system. */
[data-background-video] {
  opacity: 0;
  transform: scale(1.025) translateZ(0);
  transition: opacity 700ms ease, transform 1400ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.hero-media [data-background-video] {
  opacity: 1;
}

.hero-media.is-video-ready [data-background-video],
.video-panel.is-video-ready [data-background-video] {
  opacity: 1;
  transform: scale(1.01) translateZ(0);
}

.reference-hero .hero-media {
  background: #0c1e18;
}

.menu-price-banner p b {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.menu-price-banner p b span {
  color: var(--orange);
  font-weight: 900;
}

.menu-choice-card > .eyebrow b {
  color: inherit;
}

/* Logo presentation: the logo artwork stands on its own, with no extra frame. */
.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.brand-name {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand-name strong {
  font-weight: 850;
}

.footer-wordmark .brand-logo {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .brand-wordmark,
  .footer-wordmark,
  .footer-col a,
  .cookie-settings-link,
  .chat-close,
  .chat-quick button,
  .lang-menu button {
    min-height: 44px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .chat-close {
    min-width: 44px;
  }

  .chat-quick button {
    padding-inline: 14px;
  }

  .footer-col a {
    display: flex;
    align-items: center;
  }

  .menu-price-banner p {
    text-align: start;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero-actions .btn,
  .menu-action {
    width: 100%;
  }

  .menu-choice-close {
    width: 44px;
    height: 44px;
  }

  .menu-choice-card {
    padding: 22px 16px 18px;
  }

  .menu-choice-card h2 {
    margin-top: 8px;
    font-size: clamp(28px, 9vw, 36px);
  }

  .menu-choice-card > p {
    margin-bottom: 12px;
  }

  .menu-choice-action,
  .menu-choice-action.self-featured,
  .menu-choice-action.managed-option {
    min-height: 0;
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-background-video] {
    display: none;
  }
}
