/* SchichtKunst – 3D-Live-Vorschau der Fotolampen (Modul Foto-Upload) */
.sk-fl-box { position: relative; width: 100%; max-width: 560px; margin: 0 auto 14px; color: #3a3530; }
.sk-fl-3d { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #f7f5f2 0%, #d9d4cc 75%, #c7c1b8 100%); }
.sk-fl-3d canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.sk-fl-3d canvas:active { cursor: grabbing; }
.sk-fl-lade { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); font-size: 14px; white-space: nowrap; }
.sk-fl-3d.ist-bereit:not(.ist-fehler) .sk-fl-lade { display: none; }
.sk-fl-kipp { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; display: flex; gap: 8px; align-items: center; margin: 0; font-size: 0.8em; }
.sk-fl-kipp input[type="range"].sk-fl-regler { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 3px; background: rgba(0, 0, 0, 0.15); box-shadow: none; accent-color: #d97706; }
input[type="range"].sk-fl-regler::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #d97706; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); cursor: pointer; }
input[type="range"].sk-fl-regler::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #d97706; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); cursor: pointer; }
/* Als erstes Bild der Galerie bzw. oben im Vollbild */
.sk-gv-folie .sk-fl-box, .sk-gv-app-vorschau .sk-fl-box { position: absolute; inset: 0; max-width: none; margin: 0; }
.sk-gv-folie .sk-fl-3d, .sk-gv-app-vorschau .sk-fl-3d { height: 100%; aspect-ratio: auto; border-radius: 0; background: none; }
.sk-gv-app-vorschau .sk-fl-3d canvas { touch-action: none; }
/* Knopf „<Produkt> gestalten“ über dem Editor (Handy, holt das Vollbild zurück); im Vollbild selbst aus */
.sk-gv-app-inhalt .sk-fl-weiter { display: none !important; }
/* Desktop: Galerie mit Vorschau läuft beim Scrollen links mit – erst nach „<Lampe> gestalten“ (Klasse sk-fl-gestaltet) */
/* Das Zusätzliche CSS der Seite setzt html, body { overflow-x: hidden } – damit greift sticky nicht. clip schneidet
   genauso ab, ohne Scroll-Container (wie beim Lampen-Konfigurator). */
html:has(> body.sk-fotolampe-seite), body.sk-fotolampe-seite { overflow-x: clip !important; }
@media (min-width: 768px) {
	body.sk-fotolampe-seite.sk-fl-gestaltet .rtwpvg-images, body.sk-fotolampe-seite.sk-fl-gestaltet div.product .woocommerce-product-gallery { position: sticky; top: var(--sk-kopf, 110px); align-self: flex-start; z-index: 2; }
}
