.material-paper,
.material-paint,
.material-ink,
.material-wash,
.material-photo {
  isolation: isolate;
}

:where(.material-paper, .material-paint, .material-ink, .material-wash, .material-photo):not(.material-positioned):where(:not(.absolute):not(.fixed):not(.sticky)) {
  position: relative;
}

:where(.material-paper, .material-paint, .material-ink, .material-wash)::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background-image: var(--material-texture);
  background-size: var(--material-size, 240px);
  opacity: var(--material-opacity, .08);
  mix-blend-mode: var(--material-blend, screen);
}

.material-paper {
  --material-texture: url("/en/services/website-development/styles/item/direct-commerce-night-basket/preview/assets/paper-grain.webp");
  --material-size: 256px;
  --material-opacity: .055;
  --material-blend: screen;
}

.material-paint {
  --material-texture: url("/en/services/website-development/styles/item/direct-commerce-night-basket/preview/assets/paint-dropout.webp");
  --material-size: 224px;
  --material-opacity: .19;
  --material-blend: multiply;
}

.material-ink {
  --material-texture: url("/en/services/website-development/styles/item/direct-commerce-night-basket/preview/assets/ink-dropout.webp");
  --material-size: 160px;
  --material-opacity: .08;
  --material-blend: multiply;
}

.material-wash {
  --material-texture: url("/en/services/website-development/styles/item/direct-commerce-night-basket/preview/assets/paper-grain.webp");
  --material-size: 360px;
  --material-opacity: .15;
  --material-blend: soft-light;
}

.material-photo::before,
.material-photo::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  border-radius: inherit;
  pointer-events: none;
}

.material-photo::before {
  background: linear-gradient(105deg, rgb(0 225 231 / .12), transparent 46%, rgb(240 237 56 / .06));
  mix-blend-mode: color;
}

.material-photo::after {
  z-index: 3;
  background-image: url("/en/services/website-development/styles/item/direct-commerce-night-basket/preview/assets/paper-grain.webp");
  background-size: 210px;
  opacity: .1;
  mix-blend-mode: screen;
}

.material-photo > img {
  position: relative;
  z-index: 0;
  filter: saturate(.9) contrast(1.08) brightness(.9);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
