:root {
  --w1-final-ink: #211817;
  --w1-final-shadow: drop-shadow(0 20px 18px rgba(33, 24, 23, 0.16));
}

.w1-final-picture,
.w1-final-picture img {
  display: block;
  width: 100%;
}

.w1-final-picture img {
  height: 100%;
}

.w1-final-contain img {
  object-fit: contain !important;
}

.w1-final-prebiotic-lineup {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(2px, 0.8vw, 12px);
  width: 100%;
  min-width: 0;
}

.w1-final-prebiotic-lineup picture,
.w1-final-prebiotic-lineup img {
  display: block;
  width: 100%;
}

.w1-final-prebiotic-lineup img {
  height: auto;
  object-fit: contain;
  filter: var(--w1-final-shadow);
}

.w1-final-shared img {
  aspect-ratio: 7 / 4;
  object-fit: contain;
}

.w1-final-shared {
  overflow: hidden;
}

.w1-shared-family-frame {
  overflow: hidden;
  border: 2px solid var(--w1-final-ink);
  border-radius: 42px;
  background: #fff;
  padding: clamp(8px, 1.5vw, 20px);
  box-shadow: 8px 10px 0 var(--w1-final-ink);
}

/* Home */
.w1-home .hero-bubble {
  padding: clamp(10px, 1.5vw, 20px);
}

.w1-home .hero-bubble .w1-final-shared img {
  width: min(760px, 100%);
  height: auto;
}

.w1-home .w1-home-path-visual-trio {
  display: block;
  padding: 10px;
}

.w1-home .w1-home-path-visual-trio .w1-final-picture,
.w1-home .w1-home-path-visual-trio .w1-final-picture img {
  height: 100%;
}

.w1-home .w1-home-path-visual-trio img {
  object-fit: contain;
}

.w1-home .w1-home-path-prebiotic .w1-final-prebiotic-lineup {
  height: 100%;
  padding: 18px 10px 4px;
}

.w1-home .w1-home-prebiotic-visual {
  padding: clamp(12px, 2vw, 24px) clamp(4px, 1vw, 12px) 0;
}

.w1-home .w1-home-prebiotic-visual .w1-final-prebiotic-lineup {
  min-height: 480px;
}

.w1-home .w1-home-fresh-feature img,
.w1-home .w1-home-fresh-card img {
  object-fit: contain;
  padding: clamp(24px, 5vw, 70px) clamp(18px, 3vw, 46px) clamp(96px, 9vw, 132px);
  filter: var(--w1-final-shadow);
}

.w1-home .w1-home-cmep-visual {
  overflow: hidden;
  padding: 0;
}

.w1-home .w1-home-cmep-visual::before,
.w1-home .w1-home-cmep-visual::after {
  content: none;
}

.w1-home .w1-home-cmep-visual .w1-final-picture,
.w1-home .w1-home-cmep-visual img {
  width: 100%;
  height: 100%;
}

.w1-home .w1-home-cmep-visual .w1-final-picture,
.w1-gate-3-fresh-cut .w1-gate-3-cmep-entry-art .w1-final-picture,
.w1-cmep-page .w1-cmep-r3-pop-world .w1-final-picture,
.w1-cmep-page .w1-cmep-r3-family-visual .w1-final-picture {
  position: absolute;
  inset: 0;
}

.w1-home .w1-home-cmep-visual img {
  object-fit: cover;
}

/* Products */
.w1-gate-2-products .w1-gate-2-hero-stage {
  display: grid;
  place-items: center;
}

.w1-final-products-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  width: 100%;
  border: 3px solid var(--w1-final-ink);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(14px, 2vw, 24px);
  box-shadow: 10px 11px 0 var(--w1-final-ink);
}

.w1-final-products-dual .w1-final-prebiotic-lineup {
  align-self: stretch;
  align-items: center;
}

.w1-gate-2-products .w1-gate-2-product-visual {
  padding: clamp(14px, 2vw, 26px) clamp(4px, 1vw, 12px) 0;
}

.w1-gate-2-products .w1-gate-2-product-visual .w1-final-prebiotic-lineup {
  min-height: 520px;
}

.w1-gate-2-products .w1-gate-2-fresh-gallery img {
  object-fit: contain;
  padding: clamp(18px, 3vw, 44px) clamp(14px, 2vw, 34px) 72px;
  filter: var(--w1-final-shadow);
}

.w1-gate-2-products .w1-gate-2-explore-visual {
  display: block;
  min-height: 0;
  padding: clamp(10px, 2vw, 22px);
}

.w1-gate-2-products .w1-gate-2-explore-visual img {
  max-height: none;
  aspect-ratio: 7 / 4;
  object-fit: contain;
}

/* Prebiotic */
.w1-gate-3-prebiotic .w1-gate-3-prebiotic-stage {
  display: grid;
  place-items: end center;
  padding: 28px 10px 0;
}

.w1-gate-3-prebiotic .w1-gate-3-prebiotic-stage .w1-final-prebiotic-lineup,
.w1-gate-3-prebiotic .w1-gate-3-everyday .w1-final-prebiotic-lineup {
  min-height: 500px;
}

.w1-gate-3-prebiotic .w1-gate-3-prebiotic-stage .w1-final-prebiotic-lineup {
  position: relative;
  z-index: 2;
}

.w1-gate-3-prebiotic .w1-gate-3-prebiotic-stage .w1-final-prebiotic-lineup img {
  position: static;
  right: auto;
  bottom: auto;
  width: 100%;
}

.w1-gate-3-prebiotic .w1-gate-3-prebiotic-stage .w1-final-prebiotic-lineup picture {
  transform: scale(1.35);
}

.w1-home .w1-home-path-prebiotic .w1-final-prebiotic-lineup picture,
.w1-final-products-dual .w1-final-prebiotic-lineup picture,
.w1-gate-2-wholesale .w1-gate-2-opportunity-visual .w1-final-prebiotic-lineup picture {
  transform: scale(2.1);
}

.w1-gate-3-prebiotic .w1-gate-3-everyday .w1-gate-3-visual-frame {
  padding: clamp(16px, 2vw, 30px) 8px 0;
}

.w1-gate-3-prebiotic .w1-gate-3-everyday .w1-final-prebiotic-lineup {
  height: 100%;
  align-items: center;
}

.w1-gate-3-prebiotic .w1-gate-3-everyday .w1-final-prebiotic-lineup img {
  height: auto;
}

.w1-gate-3-prebiotic .w1-gate-3-flavor-card img,
.w1-gate-3-prebiotic .w1-gate-3-fresh-bridge img,
.w1-flavor-world .flavor-card img,
.w1-packs-format-card img,
.product-hero .can-wrap img {
  object-fit: contain;
}

/* Fresh Cut and CMEP */
.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  border: 3px solid var(--w1-final-ink);
  border-radius: 34px;
  background: #fff;
  box-shadow: 10px 11px 0 var(--w1-final-ink);
}

.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage .w1-final-picture,
.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage img {
  width: 100%;
  height: auto;
}

.w1-gate-3-fresh-cut .w1-gate-3-fresh-flavor-grid img,
.w1-gate-3-fresh-cut .w1-gate-3-cut-peel img {
  object-fit: contain;
  padding: clamp(16px, 3vw, 42px);
  filter: var(--w1-final-shadow);
}

.w1-gate-3-fresh-cut .w1-gate-3-cmep-entry-art,
.w1-cmep-page .w1-cmep-r3-pop-world,
.w1-cmep-page .w1-cmep-r3-family-visual {
  overflow: hidden;
  padding: 0;
}

.w1-gate-3-fresh-cut .w1-gate-3-cmep-entry-art .w1-final-picture,
.w1-gate-3-fresh-cut .w1-gate-3-cmep-entry-art img,
.w1-cmep-page .w1-cmep-r3-pop-world .w1-final-picture,
.w1-cmep-page .w1-cmep-r3-pop-world img,
.w1-cmep-page .w1-cmep-r3-family-visual .w1-final-picture,
.w1-cmep-page .w1-cmep-r3-family-visual img {
  width: 100%;
  height: 100%;
}

.w1-gate-3-fresh-cut .w1-gate-3-cmep-entry-art img,
.w1-cmep-page .w1-cmep-r3-pop-world img {
  object-fit: cover;
}

.w1-cmep-page .w1-cmep-r3-family-visual img,
.w1-cmep-page .w1-cmep-r3-real-fruit img {
  object-fit: contain;
}

/* Wholesale */
.w1-gate-2-wholesale .w1-gate-2-wholesale-stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

.w1-gate-2-wholesale .w1-gate-2-opportunity-visual {
  padding: 12px;
}

.w1-gate-2-wholesale .w1-gate-2-opportunity-visual img {
  object-fit: contain;
}

.w1-gate-2-wholesale .w1-gate-2-opportunity-visual .w1-final-prebiotic-lineup {
  min-height: 390px;
}

@media (max-width: 720px) {
  .w1-final-products-dual {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .w1-home .w1-home-prebiotic-visual .w1-final-prebiotic-lineup,
  .w1-gate-2-products .w1-gate-2-product-visual .w1-final-prebiotic-lineup,
  .w1-gate-3-prebiotic .w1-gate-3-prebiotic-stage .w1-final-prebiotic-lineup,
  .w1-gate-3-prebiotic .w1-gate-3-everyday .w1-final-prebiotic-lineup {
    min-height: 300px;
  }

  .w1-home .w1-home-fresh-feature img,
  .w1-home .w1-home-fresh-card img {
    padding: 28px 18px 98px;
  }

  .w1-gate-3-fresh-cut .w1-gate-3-fresh-stage img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .w1-final-shared img {
    min-width: 0;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .w1-home .hero-bubble .w1-final-shared img {
    width: 100%;
  }

  .w1-cmep-page .w1-cmep-r3-family-visual .w1-final-shared img,
  .w1-shared-family-frame .w1-final-shared img {
    height: auto;
  }
}
