/* Restore the V1 material preview behavior: finish and printed pouch images are layers, not stacked content. */
.material-experience .material-pouch,
body.home.front-page .material-experience .material-pouch,
body.pdl-static-theme-preview .material-experience .material-pouch {
  position: relative !important;
  display: block !important;
  isolation: isolate !important;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
}

.material-structure-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
}

.material-structure-links a {
  color: #9bd2ff;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(155, 210, 255, .34);
  text-underline-offset: 4px;
}

.material-structure-links a:hover,
.material-structure-links a:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

@media (max-width: 820px) {
  .material-structure-links {
    margin-top: 10px;
  }
}

.material-experience .material-pouch .material-pouch-image,
body.home.front-page .material-experience .material-pouch .material-pouch-image,
body.pdl-static-theme-preview .material-experience .material-pouch .material-pouch-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.material-experience .material-pouch .material-pouch-image-finish,
body.home.front-page .material-experience .material-pouch .material-pouch-image-finish,
body.pdl-static-theme-preview .material-experience .material-pouch .material-pouch-image-finish {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  opacity: 1 !important;
}

.material-experience .material-pouch .material-pouch-image-printed,
body.home.front-page .material-experience .material-pouch .material-pouch-image-printed,
body.pdl-static-theme-preview .material-experience .material-pouch .material-pouch-image-printed {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 140ms ease-out !important;
}

.material-experience .material-preview[data-material-mode="printed"] .material-pouch-image-printed,
body.home.front-page .material-experience .material-preview[data-material-mode="printed"] .material-pouch-image-printed,
body.pdl-static-theme-preview .material-experience .material-preview[data-material-mode="printed"] .material-pouch-image-printed {
  opacity: 1 !important;
}

.material-experience .material-preview[data-material-mode="finish"] .material-pouch-image-printed,
body.home.front-page .material-experience .material-preview[data-material-mode="finish"] .material-pouch-image-printed,
body.pdl-static-theme-preview .material-experience .material-preview[data-material-mode="finish"] .material-pouch-image-printed {
  opacity: 0 !important;
}

/* Final material module: restore the V1 concept C layout with a centered product preview. */
html body #materials .section-heading {
  margin-bottom: 26px !important;
}

html body #materials .material-experience-shell {
  position: relative !important;
  isolation: isolate !important;
  min-height: 620px !important;
  display: grid !important;
  grid-template-columns: minmax(250px, .84fr) minmax(430px, 1.48fr) minmax(248px, .82fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
  padding: 28px !important;
  overflow: hidden !important;
  background: #d8e3eb !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 28px 70px rgba(18, 40, 63, .12) !important;
}

html body #materials .material-experience-shell::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  background-image: url("../../images/generated/pindary-material-swatch-board-v1.webp") !important;
  background-position: center !important;
  background-size: cover !important;
  filter: saturate(.72) contrast(1.02) !important;
  transform: scale(1.01) !important;
}

html body #materials .material-experience-shell::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(6, 25, 42, .86) 0%, rgba(12, 38, 59, .66) 24%, rgba(232, 240, 246, .12) 52%, rgba(244, 248, 251, .68) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(16, 43, 65, .08)) !important;
  pointer-events: none !important;
}

html body #materials .material-experience-shell > * {
  position: relative !important;
  z-index: 2 !important;
}

html body #materials .material-control-rail {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 14px 0 8px 10px !important;
  color: #fff !important;
}

html body #materials .material-control-copy {
  margin-bottom: 22px !important;
}

html body #materials .material-control-copy .material-info-kicker {
  margin-bottom: 9px !important;
  color: #82ceff !important;
}

html body #materials .material-control-copy h3 {
  max-width: 8.5em !important;
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(1.72rem, 2.2vw, 2.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

html body #materials .material-experience-shell[data-material-active="mopp-kraft-pet-pe"] .material-control-copy h3 {
  max-width: none !important;
  white-space: nowrap !important;
}

html body #materials .material-control-copy > p:last-child {
  max-width: 25em !important;
  margin: 0 !important;
  color: rgba(225, 237, 246, .76) !important;
  font-size: .84rem !important;
  line-height: 1.65 !important;
}

html body #materials .material-control-rail .material-finish-toggle {
  position: static !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px !important;
  margin: 0 0 14px !important;
  padding: 4px !important;
  background: rgba(3, 20, 35, .46) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: inset 0 0 0 1px rgba(168, 210, 239, .16) !important;
  transform: none !important;
}

html body #materials .material-control-rail .material-finish-toggle button {
  width: 100% !important;
  min-height: 38px !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 10px !important;
  color: rgba(229, 239, 247, .72) !important;
  font-size: .78rem !important;
  line-height: 1.1 !important;
  font-weight: 740 !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px !important;
}

html body #materials .material-control-rail .material-finish-toggle button::before,
html body #materials .material-control-rail .material-finish-toggle button::after {
  content: none !important;
  display: none !important;
}

html body #materials .material-control-rail .material-finish-toggle button.is-active {
  color: #fff !important;
  background: #0b73ce !important;
  box-shadow: 0 7px 18px rgba(3, 31, 58, .22) !important;
}

html body #materials .material-selector {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 3px !important;
  align-content: start !important;
  padding: 0 !important;
  overflow: visible !important;
}

html body #materials .material-selector button {
  position: relative !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 9px 11px 9px 17px !important;
  color: rgba(226, 238, 247, .7) !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  transform: none !important;
}

html body #materials .material-selector button::before {
  content: "" !important;
  position: absolute !important;
  top: 9px !important;
  bottom: 9px !important;
  left: 5px !important;
  width: 2px !important;
  background: transparent !important;
  border-radius: 999px !important;
}

html body #materials .material-selector button strong {
  overflow-wrap: anywhere !important;
  color: inherit !important;
  font-size: .8rem !important;
  line-height: 1.22 !important;
}

html body #materials .material-selector button span {
  display: none !important;
}

html body #materials .material-selector button:hover,
html body #materials .material-selector button:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, .07) !important;
}

html body #materials .material-selector button.is-active {
  color: #fff !important;
  background: rgba(255, 255, 255, .11) !important;
}

html body #materials .material-selector button.is-active::before {
  background: #59b7f4 !important;
  box-shadow: 0 0 12px rgba(89, 183, 244, .6) !important;
}

html body #materials .material-preview {
  min-width: 0 !important;
  min-height: 560px !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body #materials .material-stage {
  min-height: 560px !important;
  height: 100% !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  place-items: center !important;
  padding: 26px 0 18px !important;
  overflow: visible !important;
}

html body #materials .material-ambient {
  display: none !important;
}

html body #materials .material-pouch,
html body #materials .material-preview:hover .material-pouch,
html body #materials .material-preview:focus-within .material-pouch {
  position: relative !important;
  place-self: center !important;
  width: min(88%, 468px) !important;
  height: 520px !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  isolation: isolate !important;
  filter: drop-shadow(0 30px 30px rgba(8, 31, 49, .24)) !important;
  transform: translate(-4%, 8px) scale(1) !important;
}

html body #materials .material-pouch .material-pouch-image-finish,
html body #materials .material-pouch .material-pouch-image-printed {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

html body #materials .material-pouch .material-pouch-image-finish {
  z-index: 1 !important;
  opacity: 1 !important;
}

html body #materials .material-pouch .material-pouch-image-printed {
  z-index: 2 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 140ms ease-out !important;
}

html body #materials .material-preview[data-material-mode="printed"] .material-pouch-image-printed {
  opacity: 1 !important;
}

html body #materials .material-preview[data-material-mode="finish"] .material-pouch-image-printed {
  opacity: 0 !important;
}

html body #materials .material-preview-caption {
  margin: 0 !important;
  padding: 7px 12px !important;
  color: rgba(23, 50, 73, .72) !important;
  font-size: .72rem !important;
  background: rgba(245, 249, 252, .7) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(8px) !important;
}

html body #materials .material-info {
  align-self: start !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  margin-top: 10px !important;
  padding: 22px 20px !important;
  color: #18354e !important;
  background: rgba(250, 252, 254, .88) !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: 0 18px 44px rgba(18, 40, 63, .1) !important;
  backdrop-filter: blur(10px) !important;
}

html body #materials .material-info .material-info-kicker {
  margin-bottom: 4px !important;
  color: #075bc7 !important;
}

html body #materials .material-info h3 {
  margin: 4px 0 9px !important;
  color: #18354e !important;
  font-size: 1.32rem !important;
  line-height: 1.2 !important;
}

html body #materials .material-info > p:not(.material-info-kicker):not(.material-texture-note):not(.material-bag-types) {
  margin: 0 0 15px !important;
  color: #647a8c !important;
  font-size: .8rem !important;
  line-height: 1.58 !important;
}

html body #materials .material-texture-note {
  margin: 0 0 14px !important;
  padding: 12px 0 !important;
  border-top: 1px solid rgba(188, 204, 218, .68) !important;
  border-bottom: 1px solid rgba(188, 204, 218, .68) !important;
}

html body #materials .material-texture-note span,
html body #materials .material-bag-types span {
  display: block !important;
  margin-bottom: 4px !important;
  color: #718596 !important;
  font-size: .68rem !important;
}

html body #materials .material-texture-note strong,
html body #materials .material-bag-types strong {
  color: #18354e !important;
  font-size: .78rem !important;
  line-height: 1.45 !important;
}

html body #materials .material-metrics {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  margin: 0 0 14px !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body #materials .material-metrics > div {
  min-height: 38px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(188, 204, 218, .58) !important;
}

html body #materials .material-metrics dt {
  color: #75899a !important;
  font-size: .7rem !important;
}

html body #materials .material-metrics dd {
  color: #17344c !important;
  font-size: .75rem !important;
  font-weight: 760 !important;
  text-align: right !important;
}

html body #materials .material-bag-types {
  margin: 0 0 15px !important;
}

html body #materials .material-cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 6px !important;
  margin-top: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

html body #materials .material-cta .button {
  width: 100% !important;
  min-height: 42px !important;
  padding-inline: 12px !important;
  font-size: .76rem !important;
}

html body #materials .material-knowledge-link {
  justify-content: center !important;
  color: #315d7d !important;
}

@media (max-width: 1100px) and (min-width: 821px) {
  html body #materials .material-experience-shell {
    min-height: auto !important;
    grid-template-columns: minmax(220px, .72fr) minmax(420px, 1.28fr) !important;
  }

  html body #materials .material-pouch,
  html body #materials .material-preview:hover .material-pouch,
  html body #materials .material-preview:focus-within .material-pouch {
    height: 440px !important;
  }

  html body #materials .material-info {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1.1fr 1fr 1fr !important;
    gap: 12px 18px !important;
    align-items: start !important;
    margin-top: 0 !important;
  }

  html body #materials .material-info .material-cta {
    align-self: end !important;
  }
}

@media (max-width: 820px) {
  html body #materials .section-heading {
    margin-bottom: 12px !important;
  }

  html body #materials .material-experience-shell {
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 16px !important;
  }

  html body #materials .material-experience-shell::before {
    background-position: 48% center !important;
  }

  html body #materials .material-experience-shell::after {
    background: linear-gradient(180deg, rgba(5, 24, 41, .88) 0%, rgba(14, 43, 65, .58) 37%, rgba(236, 243, 248, .28) 62%, rgba(246, 249, 252, .78) 100%) !important;
  }

  html body #materials .material-control-rail {
    padding: 8px 2px 0 !important;
  }

  html body #materials .material-control-copy {
    margin-bottom: 14px !important;
  }

  html body #materials .material-control-copy h3 {
    max-width: none !important;
    font-size: 1.65rem !important;
  }

  html body #materials .material-control-copy > p:last-child {
    max-width: 33em !important;
    font-size: .78rem !important;
  }

  html body #materials .material-control-rail .material-finish-toggle {
    width: min(100%, 270px) !important;
    margin-bottom: 12px !important;
  }

  html body #materials .material-selector {
    display: flex !important;
    gap: 7px !important;
    overflow-x: auto !important;
    padding: 0 0 6px !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
  }

  html body #materials .material-selector::-webkit-scrollbar {
    display: none !important;
  }

  html body #materials .material-selector button {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    scroll-snap-align: start !important;
    background: rgba(4, 24, 41, .38) !important;
    border-radius: 999px !important;
  }

  html body #materials .material-selector button::before {
    content: none !important;
  }

  html body #materials .material-selector button.is-active {
    background: rgba(255, 255, 255, .18) !important;
    box-shadow: inset 0 0 0 1px rgba(121, 193, 240, .46) !important;
  }

  html body #materials .material-preview,
  html body #materials .material-stage {
    min-height: 340px !important;
  }

  html body #materials .material-stage {
    height: 340px !important;
    padding: 8px 0 12px !important;
  }

  html body #materials .material-pouch,
  html body #materials .material-preview:hover .material-pouch,
  html body #materials .material-preview:focus-within .material-pouch {
    width: min(82%, 278px) !important;
    height: 310px !important;
    transform: translate(-2%, 6px) scale(1) !important;
  }

  html body #materials .material-preview-caption {
    padding: 6px 9px !important;
    font-size: .65rem !important;
  }

  html body #materials .material-info {
    margin-top: 0 !important;
    padding: 16px !important;
  }

  html body #materials .material-info h3 {
    font-size: 1.16rem !important;
  }

  html body #materials .material-texture-note,
  html body #materials .material-bag-types {
    display: none !important;
  }

  html body #materials .material-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  html body #materials .material-metrics > div {
    min-height: 58px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 3px !important;
    padding: 8px !important;
    background: rgba(235, 242, 247, .72) !important;
    border: 0 !important;
    border-radius: 5px !important;
  }

  html body #materials .material-metrics dd {
    text-align: left !important;
  }

  html body #materials .material-cta {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

}

@media (max-width: 420px) {
  html body #materials .material-experience-shell {
    padding: 13px !important;
  }

  html body #materials .material-preview,
  html body #materials .material-stage {
    min-height: 305px !important;
  }

  html body #materials .material-stage {
    height: 305px !important;
  }

  html body #materials .material-pouch,
  html body #materials .material-preview:hover .material-pouch,
  html body #materials .material-preview:focus-within .material-pouch {
    width: min(86%, 252px) !important;
    height: 280px !important;
  }

  html body #materials .material-cta {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body #materials .material-knowledge-link {
    min-height: 38px !important;
  }
}
