/* Herz-Allover (Prototyp 31.10.2026): Vorschau auf der Artikelseite statt der normalen Galerie. */

.ao-galerie { position: relative; width: 100%; }
.ao-buehne {
  position: relative; width: 100%; aspect-ratio: 1; background: #fff;
  border-radius: 8px; overflow: hidden;
}
.ao-buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ao-buehne canvas[hidden] { display: none; }
.ao-status {
  position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center;
  font-size: 14px; color: #6b6b6b; pointer-events: none;
}
.ao-status:empty { display: none; }

.ao-leiste { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.ao-leiste button {
  border: 1px solid #d5d3cd; background: #fff; color: #1d1d1f; border-radius: 999px;
  padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; line-height: 1.2;
}
.ao-leiste button.ist-aktiv { border-color: #1d1d1f; background: #1d1d1f; color: #fff; }
.ao-leiste button:focus-visible { outline: 2px solid #b91826; outline-offset: 2px; }
.ao-leiste .ao-trenner { flex: 1 1 auto; }
.ao-hinweis { margin: 10px 0 0; font-size: 13px; color: #6b6b6b; }

/* Bus einmal unsichtbar zeichnen, dann als Bild ins Muster. Im Sichtfeld statt weit links daneben:
   die Lack-Ebenen malen erst, wenn sie im Bild sind. Nicht display:none, dom-to-image braucht Layout. */
.ao-bus { position: fixed; left: 0; top: 0; width: 900px; height: 900px; opacity: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ao-bus .bulli-vorschau { position: relative; width: 900px; height: 900px; }
.ao-bus .bulli-vorschau__konfiguratorflaeche { position: absolute; inset: 0; }
.ao-bus .bulli-vorschau__konfiguratorflaeche .bulli-tpl-slot,
.ao-bus .bulli-vorschau__konfiguratorflaeche .e-con,
.ao-bus .bulli-vorschau__konfiguratorflaeche .e-con-inner,
.ao-bus .bulli-vorschau__konfiguratorflaeche > div > div.elementor-element {
  max-width: none !important; max-height: none !important;
  --container-max-width: none; --content-width: 100%;
}
.ao-bus .bulli-vorschau__konfiguratorflaeche .bulli-tpl-slot,
.ao-bus .bulli-vorschau__konfiguratorflaeche .elementor-1304 > .e-con { height: 100% !important; }
.ao-bus .bulli-vorschau__konfiguratorflaeche > div.elementor-1304 { position: absolute; inset: 0 !important; display: flex; align-items: center; }
.ao-bus .bulli-vorschau__konfiguratorflaeche .elementor,
.ao-bus .bulli-vorschau__konfiguratorflaeche .elementor-section-wrap,
.ao-bus .bulli-vorschau__konfiguratorflaeche .elementor-section,
.ao-bus .bulli-vorschau__konfiguratorflaeche .elementor-container,
.ao-bus .bulli-vorschau__konfiguratorflaeche .elementor-widget-wrap,
.ao-bus .bulli-vorschau__konfiguratorflaeche .elementor-widget {
  width: 100% !important; height: 100% !important; padding: 0 !important; margin: 0 !important;
}
.ao-bus .bulli-pa_hintergrundbild { display: none !important; } /* Kundenhintergrund gehört nicht ins Muster */

/* Shop-Kachel (01.11.2026): das Hauptbild zeigt das Muster mit dem Beispiel-T3. Mit eigenem Bus legt
   allover.js das eigene Muster deckungsgleich darüber. Die Dein-Design-Karte mit dem einzelnen Bus
   braucht es dann nicht, das Muster ist schon der eigene Bus. */
.ak86-flaeche .ao-kachel {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  z-index: 2; pointer-events: none; background: #fff;
}
.ak86-flaeche .ao-kachel[hidden] { display: none; }
/* Spezifischer als body.bulli-config-set .deindesign.vorschauholder (Elementor-Vorlage 184) */
html body .e-loop-item:has(.ao-kachel) .vorschauholder.vorschauholder,
html body .product:has(.ao-kachel) .vorschauholder.vorschauholder { display: none !important; }

/* Warenkorb: Shirt vorne mit dem Muster der Position */
.ao-cart { width: 110px; max-width: 100%; margin: 0 0 8px; position: relative; aspect-ratio: 1; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.ao-cart canvas { display: block; width: 100%; height: 100%; }
