.mealz-planner-entry__content {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  padding: 24px 80px 0;
}

@media (max-width: 1025px) {
  .mealz-planner-entry__content {
    position: relative;
    padding: 24px 24px 0;
  }
}

@media (max-width: 700px) {
  .mealz-planner-entry__content {
    padding: 24px 16px 0;
  }
}

.mealz-planner-entry__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  width: 100%;
}

.mealz-planner-entry__header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mealz-planner-entry__title {
  margin: 0 12px 0 0;
}

.mealz-planner-entry__stepper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mealz-planner-entry__stepper-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--mealz-ds-color-primary, #24748f);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--mealz-ds-color-neutral-black, #0f191f);
  transition: all 0.2s ease;
}

.mealz-planner-entry__stepper-button:hover:not(:disabled) {
  background: rgba(36, 116, 143, 0.1);
}

.mealz-planner-entry__stepper-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mealz-planner-entry__stepper-button--plus {
  background: var(--mealz-ds-color-primary, #24748f);
  border-color: var(--mealz-ds-color-primary, #24748f);
  color: white;
}

.mealz-planner-entry__stepper-button--plus:hover:not(:disabled) {
  background: var(--mealz-ds-color-primary-700, #1b596e);
  border-color: var(--mealz-ds-color-primary-700, #1b596e);
}

.mealz-planner-entry__stepper-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}

.mealz-planner-entry__stepper-value picture,
.mealz-planner-entry__stepper-value img {
  display: block;
  width: 16px;
  height: 16px;
}

.mealz-planner-entry__help-link {
  white-space: nowrap;
}

.mealz-planner-entry__hero {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #c8e5f0;
  box-shadow: 0px 4px 12px 0px rgba(3, 24, 32, 0.12);
  padding: 24px;
  display: flex;
  justify-content: center;
}

.mealz-planner-entry__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://storage.googleapis.com/assets.miam.tech/generic/meals-planner/meals-planner-home-entry-background-v2.png');
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.mealz-planner-entry__hero-overlays {
  position: absolute;
  inset: 0;
  pointer-events: none;

  .mealz-planner-entry__hero-overlay-1 {
    position: absolute;
    bottom: 0;
    right: 0;
    filter: drop-shadow(-3px 6px 10px rgba(3, 24, 32, 0.18))
      drop-shadow(0 14px 22px rgba(3, 24, 32, 0.08));
  }

  /* under 1300px, overlay-1 goes over CTA */
  @media (max-width: 1300px) {
    .mealz-planner-entry__hero-overlay-1 {
      display: none;
    }
  }

  .mealz-planner-entry__hero-overlay-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    filter: drop-shadow(3px 6px 10px rgba(3, 24, 32, 0.18))
      drop-shadow(0 14px 22px rgba(3, 24, 32, 0.08));
  }

  .mealz-planner-entry__hero-overlay-3 {
    position: absolute;
    top: 0;
    left: 300px;
    filter: drop-shadow(0 8px 14px rgba(3, 24, 32, 0.16))
      drop-shadow(0 18px 28px rgba(3, 24, 32, 0.07));
  }
}

.mealz-planner-entry__hero-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 0 24px;
  border-radius: 12px;
  gap: 32px;
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
  background: var(--mealz-ds-color-neutral-white, #fff);
}

.mealz-planner-entry__hero-left {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mealz-planner-entry__hero-badge {
}

.mealz-planner-entry__hero-badge img,
.mealz-planner-entry__hero-title img {
  display: block;
  width: 100%;
  height: auto;
}

.mealz-planner-entry__hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  .mealz-planner-entry__hero-title-desktop {
    display: block;
  }
  .mealz-planner-entry__hero-title-mobile {
    display: none;
  }
  @media (max-width: 700px) {
    .mealz-planner-entry__hero-title-desktop {
      display: none;
    }
    .mealz-planner-entry__hero-title-mobile {
      display: block;
    }
  }
}

.mealz-planner-entry__hero-title-line,
.mealz-planner-entry__hero-title-main,
.mealz-planner-entry__hero-title-accent {
  display: block;
  color: var(--mealz-ds-color-neutral-black, #0f191f);
  text-transform: uppercase;
}

.mealz-planner-entry__hero-title-line {
  font-family: 'Satoshi', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
}

.mealz-planner-entry__hero-title-main {
  font-family: 'Satoshi', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 50px;
}

.mealz-planner-entry__hero-title-accent {
  font-family: 'Fraiche', 'Satoshi', sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 44px;
  color: var(--mealz-ds-color-primary, #24748f);
  text-transform: none;
}

.mealz-planner-entry__hero-right {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 16px;
}

.mealz-planner-entry__hero-description {
  text-align: center;
}

.mealz-planner-entry__hero-description strong {
  font-weight: 800;
}

.mealz-planner-entry__hero-avatars-wrapper {
  display: flex;
  justify-content: center;
}

.mealz-planner-entry__hero-avatars {
  justify-content: center;
}

.mealz-planner-entry__hero-avatars .mealz-planner-menu-option__recipe-avatar {
  width: 80px;
  height: 80px;
  border: 2px solid var(--mealz-ds-color-neutral-white, #fff);
}

.mealz-planner-entry__hero-avatars
  .mealz-planner-menu-option__recipe-avatar:not(:first-child) {
  margin-left: -16px;
}

.mealz-planner-entry__hero-avatars
  .mealz-planner-menu-option__recipe-avatar-overflow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--miam-color-neutral-100, #f7f8f9);
}

.mealz-planner-entry__hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mealz-planner-entry__hero-actions .mealz-planner-entry__stepper {
  margin-right: 12px;
}

.mealz-planner-entry__hero-option {
  display: block;
}

.mealz-planner-entry__hero-cta {
  min-height: 40px;
  white-space: nowrap;
}

.mealz-planner-entry__banner {
  position: relative;
  background: white;
  border: 1px solid var(--mealz-ds-color-border, #d9dde1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 16px;
  overflow: hidden;
  box-shadow: 0px 4px 12px 0px rgba(3, 24, 32, 0.12);
}

/* Circle background */
.mealz-planner-entry__banner::before {
  content: '';
  position: absolute;
  bottom: -176px;
  left: 50%;
  transform: translateX(-50%);
  width: 1531px;
  height: 282px;
  background: rgba(228, 237, 241, 1);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Background image - WebP with JPG fallback */
.mealz-planner-entry__banner::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image: url('https://storage.googleapis.com/assets.miam.tech/generic/meals-planner/meals-planner-home-entry-background.webp');
  background-size: cover;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.mealz-planner-entry__options {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  width: 100%;
}

.mealz-planner-entry__options .mealz-planner-menu-option {
  height: 100%;
}

.mealz-planner-entry__options > * {
  flex: 1 0 0;
}

@media (max-width: 1025px) {
  .mealz-planner-entry__hero {
    padding: 16px;
  }

  .mealz-planner-entry__hero::before {
    background-image: url('https://storage.googleapis.com/assets.miam.tech/generic/meals-planner/meals-planner-home-entry-background-v2-mobile.png');
    background-position: left center;
  }

  .mealz-planner-entry__hero-overlays {
    .mealz-planner-entry__hero-overlay-1 {
      display: none;
    }
    .mealz-planner-entry__hero-overlay-2 {
      display: none;
    }
    .mealz-planner-entry__hero-overlay-3 {
      display: none;
    }
  }

  .mealz-planner-entry__hero-card {
    padding: 20px;
  }

  .mealz-planner-entry__hero-title-line {
    font-size: 20px;
    line-height: 20px;
  }

  .mealz-planner-entry__hero-title-main {
    font-size: 44px;
    line-height: 40px;
  }

  .mealz-planner-entry__hero-title-accent {
    font-size: 34px;
    line-height: 36px;
  }

  .mealz-planner-entry__hero-right {
    margin-left: 24px;
  }

  .mealz-planner-entry__banner {
    padding: 16px 0 48px 0;
    margin: 0 -16px;
    border-radius: 0;
  }
  .mealz-planner-entry__banner:after {
    background-position: left center;
    background-image: url('https://storage.googleapis.com/assets.miam.tech/generic/meals-planner/meals-planner-home-entry-background-mobile.webp');
  }

  .mealz-planner-entry__help-link {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
  }

  .mealz-planner-entry__options {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 16px;
    align-items: stretch;
    overflow-x: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    width: 100%;
  }

  .mealz-planner-menu-option .mealz-planner-menu-option__container {
    padding: 12px;
  }
  .mealz-planner-menu-option
    .mealz-planner-menu-option__container
    .mealz-planner-menu-option__redirect {
    position: static;
    width: 40px;
    height: 40px;
    padding: 0 0 0 8px;
  }

  .mealz-planner-entry__options::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
}

@media (max-width: 900px) {
  .mealz-planner-entry__hero {
    padding: 28px 24px 20px;
  }

  .mealz-planner-entry__hero-card {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 560px;
    padding: 44px 24px 24px;
  }

  .mealz-planner-entry__hero-left {
    position: relative;
    width: 100%;
    align-items: center;
    gap: 0;
  }

  .mealz-planner-entry__hero-badge {
    position: absolute;
    top: -56px;
  }

  .mealz-planner-entry__hero-title {
    width: 242px;
    align-items: center;
  }

  .mealz-planner-entry__hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-left: 0;
  }

  .mealz-planner-entry__hero-description {
    margin-bottom: 16px;
    text-align: center;
  }

  .mealz-planner-entry__hero-avatars-wrapper {
    margin-bottom: 16px;
  }

  .mealz-planner-entry__hero-actions {
    gap: 12px;
  }

  .mealz-planner-entry__hero-actions .mealz-planner-entry__stepper {
    margin-right: 0;
  }
}

@media (max-width: 607px) {
  .mealz-planner-entry__content--variant-1 {
    padding-top: 0;
  }

  .mealz-planner-entry__hero {
    margin: 0 -20px;
    box-shadow: none;
    padding: 24px 12px 12px 12px;
    border-radius: 0;
    box-sizing: border-box;
    align-items: flex-start;
  }

  .mealz-planner-entry__hero-card {
    min-height: 304px;
    max-width: 352px;
    padding: 30px 16px 24px;
    border-radius: 5px;
    gap: 0;
  }

  .mealz-planner-entry__hero-left {
    width: 100%;
    margin-bottom: 0;
  }

  .mealz-planner-entry__hero-right {
    max-width: none;
    margin-left: 0;
  }

  .mealz-planner-entry__hero-badge {
    position: absolute;
    top: -47px;
  }

  .mealz-planner-entry__hero-title {
    width: 241px;
  }

  .mealz-planner-entry__hero-description {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  .mealz-planner-entry__hero-avatars-wrapper {
    width: 100%;
    justify-content: center;
    overflow: visible;
    margin-bottom: 18px;
    padding-bottom: 0;
  }

  .mealz-planner-entry__hero-avatars .mealz-planner-menu-option__recipe-avatar {
    width: 64px;
    height: 64px;
  }

  .mealz-planner-entry__hero-avatars
    .mealz-planner-menu-option__recipe-avatar:not(:first-child) {
    margin-left: -18px;
  }

  .mealz-planner-entry__hero-actions {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .mealz-planner-entry__hero-actions .mealz-planner-entry__stepper {
    margin-right: 0;
    margin-bottom: 0;
  }

  .mealz-planner-entry__hero-option {
    flex: 0 0 auto;
  }

  .mealz-planner-entry__hero-cta {
    min-width: 136px;
    padding: 8px 20px;
  }

  .mealz-planner-entry__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .mealz-planner-entry__header-left {
    width: 100%;
    justify-content: space-between;
  }

  .mealz-planner-entry__title {
    font-size: 20px;
    line-height: 24px;
  }

  .mealz-planner-entry__options .mealz-planner-menu-option {
    width: 280px;
  }
}
