@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400-7.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-600-7.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/outfit-800-2.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg-primary: #ffffff;
  --bg-light: #fdfcfa;
  --bg-dark-purple: #35154c;
  --bg-dark-purple-hover: #260e37;
  --text-dark: #331855;
  --text-muted: #786b88;
  --text-light: #ffffff;
  --color-green: #3fb058;
  --color-yellow: #faa51a;
  --color-yellow-light: #fff6e5;
  --font-title: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --shadow-md: 0 8px 24px rgba(51, 24, 85, .08);
  --shadow-lg: 0 16px 48px rgba(51, 24, 85, .12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.global-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(51, 24, 85, .06);
  box-shadow: 0 4px 20px rgba(51, 24, 85, .05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 6px;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: rgba(51, 24, 85, .06);
  color: var(--color-green);
}

.nav-logo {
  flex: 0 0 auto;
}

.nav-logo img {
  width: auto;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(13%) sepia(50%) saturate(3015%) hue-rotate(253deg) brightness(91%) contrast(105%);
}

.cart-link {
  padding: 8px;
}

.cart-icon-wrapper {
  position: relative;
}

.cart-icon {
  width: 24px;
  height: 24px;
  stroke: var(--text-dark);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--text-dark);
  font-size: 10px;
  font-weight: 800;
}

.recipe-hero {
  background:
    radial-gradient(circle at 75% 18%, rgba(250, 165, 26, .24), transparent 28%),
    linear-gradient(135deg, var(--bg-dark-purple), var(--bg-dark-purple-hover));
  color: var(--text-light);
}

.recipe-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 42px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 20px 34px;
}

.recipe-eyebrow {
  margin: 0 0 14px;
  color: var(--color-yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.recipe-hero h1 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(42px, 7vw, 76px);
  line-height: .95;
}

.recipe-hero p {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
}

.hero-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.hero-card--video {
  width: 100%;
  max-width: 520px;
  justify-self: stretch;
  background: #12081e;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 64% center;
}

.recipe-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #12081e;
}

.recipe-video-frame iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.recipe-video-caption {
  margin: 0;
  padding: 12px 16px 14px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.hero-card__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
  color: var(--text-dark);
}

.recipe-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100% - 40px, 520px);
  max-width: 520px;
  margin: 0 auto;
  padding: 0 0 52px;
}

.recipe-stat {
  padding: 10px;
  border-radius: 8px;
  background: var(--color-yellow-light);
  text-align: center;
}

.recipe-hero__stats .recipe-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--text-dark);
  min-height: 36px;
  min-width: 0;
  padding: 7px 8px;
}

.recipe-stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 22px;
}

.recipe-hero__stats .recipe-stat strong {
  display: inline;
  color: var(--bg-dark-purple);
  font-size: 18px;
}

.recipe-stat span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.recipe-hero__stats .recipe-stat span {
  color: var(--text-muted);
  font-size: 10px;
}

.recipes-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 20px 84px;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(51, 24, 85, .06);
}

.recipe-card__image-link {
  display: block;
  overflow: hidden;
}

.recipe-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 64% center;
  transition: transform .22s ease;
}

.recipe-card__image-link:hover img,
.recipe-card__image-link:focus-visible img {
  transform: scale(1.03);
}

.recipe-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.recipe-card h2,
.recipe-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.1;
}

.recipe-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.recipe-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--color-yellow-light);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 800;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--bg-dark-purple);
  color: #fff;
  font-weight: 800;
}

.recipe-card .button-link {
  margin-top: auto;
}

.button-link:hover {
  background: var(--color-green);
}

.recipe-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 34px;
}

.recipe-panel {
  align-self: start;
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(51, 24, 85, .06);
}

.recipe-panel h2,
.recipe-content h2 {
  margin: 0 0 18px;
  font-family: var(--font-title);
  color: var(--bg-dark-purple);
  font-size: 28px;
  line-height: 1.1;
}

.recipe-panel ul,
.recipe-content ol {
  margin: 0;
  padding-left: 20px;
}

.recipe-panel li,
.recipe-content li {
  margin-bottom: 12px;
}

.recipe-content {
  border-radius: 8px;
  background: #fff;
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(51, 24, 85, .06);
}

.recipe-note {
  margin-top: 28px;
  padding: 18px;
  border-radius: 8px;
  background: var(--color-yellow-light);
  color: var(--text-dark);
  font-weight: 800;
}

.recipes-footer-cta {
  margin-top: 42px;
  padding: 28px;
  border-radius: 8px;
  background: var(--bg-dark-purple);
  color: #fff;
  text-align: center;
}

.recipes-footer-cta h2 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 30px;
}

.recipes-footer-cta p {
  max-width: 640px;
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 860px) {
  .recipe-hero__inner,
  .recipe-layout,
  .recipes-grid {
    grid-template-columns: 1fr;
  }

  .recipe-hero__inner {
    padding: 54px 18px 24px;
  }

  .recipe-hero__stats {
    width: min(100% - 36px, 520px);
    padding: 0 0 42px;
  }

  .hero-card--video {
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .nav-container {
    gap: 8px;
    padding: 10px 12px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-link {
    min-height: 32px;
    padding: 6px 6px;
    font-size: 11px;
  }

  .nav-logo img {
    height: 38px;
  }

  .cart-icon {
    width: 20px;
    height: 20px;
  }

  .recipes-main {
    padding: 36px 14px 64px;
  }

  .recipe-video-frame {
    aspect-ratio: 9 / 16;
  }

  .recipe-content,
  .recipe-panel {
    padding: 22px;
  }

  .hero-card__body {
    grid-template-columns: 1fr;
  }

  .recipe-hero__stats {
    gap: 6px;
  }

  .recipe-hero__stats .recipe-stat {
    padding-inline: 4px;
  }

  .recipe-hero__stats .recipe-stat strong {
    font-size: 16px;
  }

  .recipe-hero__stats .recipe-stat span {
    font-size: 9px;
  }
}
