/**
 * Design Cart Magic (design-cart-magic)
 *
 * @author    Paweł Nosko
 * @company   Design Cart — https://www.designcart.pl/
 */

.b3d {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  background: #262c38;
}

.b3d canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
  cursor: grab;
}

.b3d canvas:active {
  cursor: grabbing;
}

.hero-scene,
.hero-scene.b3d,
[data-dcmagic-hero-scene] {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
  overflow: hidden;
  pointer-events: auto;
  background: #262c38;
  z-index: 0;
}

.hero-banner > .hero-shade {
  z-index: 1;
}

.hero-banner > .hero-content {
  z-index: 2;
}

.hero-scene.b3d canvas,
[data-dcmagic-hero-scene] canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
  cursor: grab;
  /* no filter / mix-blend — additive lightning must stay clean */
  filter: none !important;
  mix-blend-mode: normal !important;
}

.hero-scene.b3d canvas:active,
[data-dcmagic-hero-scene] canvas:active {
  cursor: grabbing;
}
