.bundle-builder__wall[hidden] { display: none; }
.bundle-builder__wall {
  position: relative;
  height: 190px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid #302a27;
  background-color: #211d1b;
  background-image: var(
    --bundle-scene-image,
    radial-gradient(circle at center, rgba(0, 0, 0, 0.72) 0 1.4px, transparent 1.7px)
  );
  background-position: center;
  background-repeat: repeat;
  background-size: var(--bundle-background-size, 12px 12px);
}

.bundle-builder__wall[style] {
  --bundle-background-size: cover;
  background-repeat: no-repeat;
}

.bundle-builder__wall::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 25%, rgba(255, 255, 255, 0.05) 50%, transparent 75%, rgba(0, 0, 0, 0.08));
  content: '';
  pointer-events: none;
}

.bundle-builder__wall-grid {
  position: absolute;
  z-index: 2;
  inset: 6px 7px;
}

.bundle-builder__wall-item {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--bundle-wall-left) + var(--bundle-wall-offset-x));
  display: grid;
  place-items: center;
  width: var(--bundle-wall-width);
  min-width: 0;
  min-height: 0;
  overflow: visible;
  animation: bundle-hang-in 0.2s ease-out;
}

.bundle-builder__wall-item::before {
  position: absolute;
  z-index: -1;
  top: 15%;
  left: 50%;
  width: 4px;
  height: 13px;
  border: 1px solid rgba(83, 68, 52, 0.7);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: #b7aa96;
  box-shadow: 0 2px 3px rgba(56, 38, 20, 0.2);
  content: '';
  transform: translateX(-50%);
}

.bundle-builder__wall-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: brightness(1.08) contrast(1.02) saturate(1.04) drop-shadow(0 0 1px rgba(255, 255, 255, 0.62)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.65));
  transform: translateY(var(--bundle-wall-offset-y)) rotate(var(--bundle-wall-rotation)) scale(var(--bundle-wall-scale));
}


@keyframes bundle-hang-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:640px) {
  .bundle-builder__wall { height: 180px; }
}


