/* WEBSITE-W1 visual experience rebalance — no direct transparent can presentation. */
.w1-rebalance-rich-frame {
  overflow: hidden;
  border-radius: 24px;
}

.w1-rebalance-rich-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w1-rebalance-text-only {
  grid-template-columns: minmax(0, 1fr) !important;
}

.w1-rebalance-text-only > :only-child,
.w1-rebalance-single-column > :only-child {
  max-width: 820px;
}

.split.w1-rebalance-single-column {
  grid-template-columns: minmax(0, 1fr);
}

.w1-home .w1-home-path-prebiotic .w1-rebalance-rich-frame {
  width: 100%;
  height: 100%;
}

.w1-home .w1-home-prebiotic-visual.w1-rebalance-textual {
  display: grid;
  align-content: center;
  min-height: 190px;
  background: linear-gradient(135deg, #fff, #dff9ff 55%, #f7e94b);
}

.w1-home .w1-home-prebiotic-visual.w1-rebalance-textual .w1-home-flavor-strip {
  border-top: 0;
}

.w1-home .w1-rebalance-copy-card,
.w1-gate-2 .w1-rebalance-copy-card,
.w1-gate-3 .w1-rebalance-copy-card {
  display: grid;
  align-content: end;
  min-height: 180px;
}

.w1-home .w1-rebalance-copy-card .w1-home-fresh-card-copy {
  position: static;
  margin-top: auto;
  color: #231b1a;
  background: transparent;
}

.w1-home .w1-home-fresh-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.w1-home .w1-home-fresh-secondary {
  display: contents;
}

.w1-home .w1-home-fresh-feature.w1-rebalance-copy-card,
.w1-home .w1-home-fresh-card.w1-rebalance-copy-card {
  min-height: 190px;
}

.w1-home .w1-home-fresh-lemon.w1-rebalance-copy-card {
  background: #f7e94b;
}

.w1-home .w1-home-fresh-guava.w1-rebalance-copy-card {
  background: #f7b3cc;
}

.w1-home .w1-home-fresh-calamansi.w1-rebalance-copy-card {
  background: #dff9ff;
}

.w1-gate-2-products .w1-final-products-dual > .w1-rebalance-rich-frame {
  aspect-ratio: 16 / 10;
}

.w1-gate-2-products .w1-rebalance-flavor-cards figure,
.w1-gate-3-fresh-cut .w1-rebalance-flavor-cards figure {
  display: grid;
  min-height: 190px;
  aspect-ratio: auto;
  grid-template-rows: 1fr;
  align-items: end;
}

.w1-gate-2-products .w1-rebalance-flavor-cards figcaption,
.w1-gate-3-fresh-cut .w1-rebalance-flavor-cards figcaption {
  position: static;
  margin: 0;
}

.w1-gate-2-products .w1-gate-2-fresh-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.w1-gate-2-products .w1-gate-2-fresh-supporting {
  display: contents;
}

.w1-gate-2-products .w1-rebalance-flavor-cards figure:nth-child(1) {
  background: #f7e94b;
}

.w1-gate-2-products .w1-gate-2-fresh-supporting figure:nth-child(1) {
  background: #f7b3cc;
}

.w1-gate-2-products .w1-gate-2-fresh-supporting figure:nth-child(2) {
  background: #9edff7;
}

.w1-gate-3-fresh-cut .w1-rebalance-flavor-cards figure:nth-child(1) {
  background: #f7e94b;
}

.w1-gate-3-fresh-cut .w1-rebalance-flavor-cards figure:nth-child(2) {
  background: #f7b3cc;
}

.w1-gate-3-fresh-cut .w1-rebalance-flavor-cards figure:nth-child(3) {
  background: #9edff7;
}

.w1-gate-3-prebiotic .w1-gate-3-prebiotic-stage .w1-rebalance-rich-frame {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
}

.w1-gate-3-prebiotic .w1-gate-3-flavor-card img,
.w1-flavor-world .flavor-card img {
  height: 320px;
  max-height: none;
  padding: 0;
  object-fit: cover;
  filter: none;
}

.w1-gate-3-prebiotic .w1-gate-3-fresh-bridge .w1-rebalance-rich-frame {
  width: 100%;
  height: 100%;
}

.w1-gate-3-fresh-cut .w1-gate-3-cut-peel-art.w1-rebalance-sensory-only {
  min-height: 420px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.w1-gate-3-fresh-cut .w1-rebalance-sensory-only .w1-gate-3-sensory-tile {
  min-height: 300px;
}

.w1-flavor-world .w1-rebalance-copy-card {
  min-height: 300px;
  justify-content: end;
}

.w1-packs-format-card.w1-rebalance-copy-card {
  min-height: 220px;
  justify-content: end;
}

.product-hero .can-wrap.w1-rebalance-flavor-hero {
  padding: 0;
  background: #fff;
}

.product-hero .can-wrap.w1-rebalance-flavor-hero img {
  width: 100%;
  max-height: 720px;
  border-radius: 48px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.w1-gate-3.w1-cmep-page .w1-cmep-r3-compare-fruit.w1-rebalance-copy-card {
  min-height: 0;
  align-content: center;
  background: #f7e94b;
}

.w1-gate-2-wholesale .w1-gate-2-opportunity.w1-rebalance-text-only {
  max-width: 960px;
}

.w1-gate-2-wholesale .w1-gate-2-wholesale-stage.w1-shared-family-frame {
  display: grid;
  min-height: 0;
  aspect-ratio: 7 / 4;
  padding: 0;
}

.w1-gate-2-wholesale .w1-gate-2-wholesale-stage .w1-final-shared,
.w1-gate-2-wholesale .w1-gate-2-wholesale-stage .w1-final-shared img {
  display: block;
  width: 100%;
  height: 100%;
}

.w1-gate-2-wholesale .w1-gate-2-wholesale-stage .w1-final-shared img {
  object-fit: cover;
}

/* WEBSITE-W1 V4 brand-experience integration. Masters remain byte-identical; only delivery crops are controlled here. */
.w1-v4-visual {
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;
}

.w1-v4-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.w1-v4-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w1-home .w1-home-prebiotic-visual.w1-v4-visual {
  aspect-ratio: auto;
}

.w1-home .w1-home-prebiotic-visual.w1-v4-visual > picture {
  height: auto;
  aspect-ratio: 16 / 9;
}

.w1-home .w1-v4-fresh-home-visual {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
  border: 3px solid #f7e94b;
  box-shadow: 8px 9px 0 #f7e94b;
}

.w1-gate-2-products .w1-owner-products-fc-split {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
}

.w1-gate-2-products .w1-owner-products-fc-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w1-gate-2-products .w1-rebalance-flavor-cards .w1-v4-discovery-frame {
  position: relative;
  display: block;
  grid-column: 1 / -1;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.w1-gate-2-products .w1-v4-discovery-frame img {
  position: absolute;
  inset: 0;
}

.w1-gate-2-products .w1-rebalance-flavor-cards .w1-owner-products-fc-card {
  aspect-ratio: 4 / 3;
}

.w1-gate-2-products .w1-owner-products-fc-card img {
  padding: 0;
  filter: none;
  object-fit: cover;
}

.w1-gate-2-wholesale .w1-owner-wholesale-fc-range-frame {
  padding: 0;
}

.w1-gate-2-wholesale .w1-owner-wholesale-fc-range,
.w1-gate-2-wholesale .w1-owner-wholesale-fc-range img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.w1-gate-2-wholesale .w1-owner-wholesale-fc-range img {
  height: auto;
  object-fit: cover;
}

.w1-gate-2-products .w1-v4-discovery-labels {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.w1-gate-2-products .w1-v4-discovery-labels span {
  border: 2px solid #f7e94b;
  border-radius: 999px;
  background: #fff;
  color: #211817;
  padding: 13px 16px;
  font-weight: 1000;
  text-align: center;
}

.w1-gate-3-prebiotic .w1-v4-everyday-visual {
  aspect-ratio: 4 / 3;
  border: 3px solid #211817;
  box-shadow: 8px 9px 0 #211817;
}

.w1-gate-3-fresh-cut .w1-v4-flavor-card img {
  min-height: 420px;
}

.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage,
.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage .w1-owner-fc-hero,
.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage .w1-owner-fc-hero img {
  aspect-ratio: 4 / 3;
}

.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage .w1-owner-fc-hero,
.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage .w1-owner-fc-hero img {
  width: 100%;
  height: 100%;
}

.w1-gate-3-fresh-cut .w1-gate-3-fresh-stage .w1-owner-fc-hero img {
  object-fit: cover;
}

.w1-gate-3-fresh-cut .w1-v4-cut-peel-visual {
  grid-row: 1 / 3;
  border: 3px solid #211817;
  box-shadow: 7px 8px 0 #211817;
}

.w1-cmep-page .w1-v4-cmep-story-visual {
  max-width: 1320px;
  aspect-ratio: 3 / 1;
  margin: clamp(42px, 5vw, 70px) auto 0;
  border: 3px solid #211817;
  background: #fff;
  box-shadow: 9px 10px 0 #211817;
}

.w1-cmep-page .w1-v4-cmep-story-visual img {
  object-fit: contain;
}

.page-hero .w1-wtb-hero-split {
  grid-template-columns: minmax(0, 0.84fr) minmax(440px, 1.16fr);
}

.hero-bubble.w1-wtb-hero-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  background: #fff;
  transform: none;
}

.w1-wtb-hero-visual picture,
.w1-wtb-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.w1-wtb-hero-visual img {
  object-fit: cover;
}

.w1-cmep-page .w1-cmep-final-desktop-comparison {
  width: min(100%, 1320px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
}

.w1-cmep-page .w1-cmep-final-desktop-comparison img {
  display: block;
  width: 100%;
  height: auto;
}

.w1-cmep-page .w1-cmep-final-mobile-comparison {
  display: none;
}

.w1-cmep-page .w1-v4-cmep-attitude-line {
  margin: 28px auto 0;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 1000;
  line-height: 1.05;
  text-align: center;
}

.w1-cmep-page .w1-cmep-r3-family-visual.w1-v4-visual img {
  object-position: center;
}

.w1-gate-3.w1-cmep-page .w1-cmep-r3-family-visual.w1-v4-visual {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.w1-cmep-page .w1-cmep-r3-family-visual.w1-v4-visual picture {
  position: absolute;
  inset: 0;
}

.w1-v4-brand-world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1320px;
  margin: 34px 0 12px;
}

.w1-v4-brand-world-card {
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 2px solid #211817;
  background: #fff;
  box-shadow: 7px 8px 0 #211817;
}

.w1-v4-event-crop img {
  width: 118%;
  max-width: none;
  object-position: left center;
}

.product-hero .can-wrap.w1-v4-sku-hero {
  display: block;
  overflow: hidden;
  padding: 0;
}

.product-hero .can-wrap.w1-v4-sku-hero picture {
  display: block;
  width: 100%;
}

.product-hero .can-wrap.w1-v4-sku-hero img {
  display: block;
  width: 100%;
  max-height: none;
  border-radius: 48px;
  aspect-ratio: auto;
  object-fit: cover;
}

@media (max-width: 720px) {
  .page-hero .w1-wtb-hero-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-bubble.w1-wtb-hero-visual {
    padding: 0 !important;
    transform: none !important;
  }

  .w1-gate-3-fresh-cut .w1-gate-3-fresh-stage,
  .w1-gate-3-fresh-cut .w1-gate-3-fresh-stage .w1-owner-fc-hero,
  .w1-gate-3-fresh-cut .w1-gate-3-fresh-stage .w1-owner-fc-hero img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .w1-gate-3-fresh-cut .w1-gate-3-fresh-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .w1-home .w1-home-fresh-layout,
  .w1-gate-2-products .w1-gate-2-fresh-gallery {
    grid-template-columns: 1fr;
  }

  .w1-home .w1-home-fresh-feature.w1-rebalance-copy-card,
  .w1-home .w1-home-fresh-card.w1-rebalance-copy-card,
  .w1-gate-2-products .w1-rebalance-flavor-cards figure,
  .w1-gate-3-fresh-cut .w1-rebalance-flavor-cards figure,
  .w1-flavor-world .w1-rebalance-copy-card,
  .w1-packs-format-card.w1-rebalance-copy-card {
    min-height: 160px;
  }

  .w1-gate-3-fresh-cut .w1-gate-3-cut-peel-art.w1-rebalance-sensory-only {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .w1-gate-3-fresh-cut .w1-rebalance-sensory-only .w1-gate-3-sensory-tile {
    min-height: 210px;
  }

  .product-hero .can-wrap.w1-rebalance-flavor-hero img {
    border-radius: 28px;
  }

  .w1-home .w1-v4-fresh-home-visual,
  .w1-gate-2-products .w1-v4-discovery-frame {
    aspect-ratio: 4 / 3;
  }

  .w1-gate-2-products .w1-v4-discovery-labels {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .w1-gate-3-fresh-cut .w1-v4-flavor-card img {
    min-height: 390px;
  }

  .w1-gate-3-fresh-cut .w1-v4-cut-peel-visual {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 470px;
  }

  .w1-cmep-page .w1-v4-cmep-story-visual {
    aspect-ratio: 3 / 1;
    border-radius: 18px;
    box-shadow: 5px 6px 0 #211817;
  }

  .w1-cmep-page .w1-cmep-final-desktop-comparison {
    display: none;
  }

  .w1-cmep-page .w1-cmep-final-mobile-comparison {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    max-width: 520px;
    margin: 0 auto;
  }

  .w1-cmep-page .w1-cmep-final-mobile-side {
    display: grid;
    grid-template-rows: 106px 1fr;
    min-width: 0;
    overflow: hidden;
    border: 2px solid rgba(35, 27, 26, 0.22);
    border-radius: 20px;
  }

  .w1-cmep-page .w1-cmep-final-mobile-muted {
    background: #e7e3dc;
  }

  .w1-cmep-page .w1-cmep-final-mobile-fruit {
    background: #fff3a4;
  }

  .w1-cmep-page .w1-cmep-final-mobile-visual {
    background-position: center;
    background-size: cover;
  }

  .w1-cmep-page .w1-cmep-final-mobile-muted .w1-cmep-final-mobile-visual {
    background-image: url("/assets/img/v4-brand-experience/delivery/cmep-fruit-aroma-contrast-mobile-left-visual.webp");
  }

  .w1-cmep-page .w1-cmep-final-mobile-fruit .w1-cmep-final-mobile-visual {
    background-image: url("/assets/img/v4-brand-experience/delivery/cmep-fruit-aroma-contrast-mobile-right-visual.webp");
  }

  .w1-cmep-page .w1-cmep-final-mobile-copy {
    padding: 13px 11px 15px;
  }

  .w1-cmep-page .w1-cmep-final-mobile-eyebrow {
    margin: 0;
    font-size: 0.61rem;
    font-weight: 1000;
    letter-spacing: 0.025em;
    line-height: 1.15;
  }

  .w1-cmep-page .w1-cmep-final-mobile-fruit .w1-cmep-final-mobile-eyebrow {
    color: #2f6e26;
  }

  .w1-cmep-page .w1-cmep-final-mobile-copy h3 {
    margin: 9px 0 0;
    font-size: 1.14rem;
    line-height: 1.02;
  }

  .w1-cmep-page .w1-cmep-final-mobile-copy > p:last-child {
    margin: 11px 0 0;
    font-size: 0.79rem;
    font-weight: 720;
    line-height: 1.36;
  }

  .w1-cmep-page .w1-cmep-final-mobile-vs {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    align-self: center;
    border: 1px solid rgba(35, 27, 26, 0.18);
    border-radius: 50%;
    background: #fff;
    font-size: 0.76rem;
    font-weight: 1000;
  }

  .w1-cmep-page .w1-v4-cmep-attitude-line {
    margin-top: 24px;
    font-size: 1.5rem;
  }

  .w1-v4-brand-world-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .w1-v4-brand-world-card {
    box-shadow: 5px 6px 0 #211817;
  }
}
