.pm3d-configurator-mount {
	display: none;
}

.pm3d-active-panel {
	display: none;
	margin-bottom: 12px;
}

.woocommerce-product-gallery.pm3d-is-active .pm3d-active-panel {
	display: block;
}

.woocommerce-product-gallery.pm3d-is-active .flex-viewport {
	display: none !important;
}

.woocommerce-product-gallery.pm3d-is-active .woocommerce-product-gallery__trigger {
	display: none !important;
}

.woocommerce-product-gallery .flex-viewport {
	position: relative;
}

.woocommerce-product-gallery.pm3d-image-loading .flex-viewport::before {
	background: rgba(247, 244, 239, 0.86);
	content: "";
	inset: 0;
	position: absolute;
	z-index: 12;
}

.woocommerce-product-gallery.pm3d-image-loading .flex-viewport::after {
	align-items: center;
	color: #303030;
	content: "Produktbild wird geladen";
	display: flex;
	font-size: 14px;
	font-weight: 600;
	inset: 0;
	justify-content: center;
	position: absolute;
	text-align: center;
	z-index: 13;
}

.pm3d-gallery-slide {
	width: 100%;
}

.pm3d-slide-placeholder {
	align-items: center;
	aspect-ratio: 2 / 3;
	background: #f7f4ef;
	color: #303030;
	display: flex;
	font-family: Georgia, serif;
	font-size: 40px;
	font-weight: 700;
	justify-content: center;
}

.pm3d-viewer {
	aspect-ratio: 2 / 3;
	background: #f7f4ef;
	border: 1px solid #e8dfd2;
	box-sizing: border-box;
	min-height: 420px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.pm3d-canvas {
	cursor: grab;
	display: block;
	height: 100%;
	touch-action: none;
	width: 100%;
}

.pm3d-canvas:active {
	cursor: grabbing;
}

.pm3d-loading,
.pm3d-error {
	align-items: center;
	background: rgba(247, 244, 239, 0.88);
	color: #303030;
	display: flex;
	font-size: 14px;
	inset: 0;
	justify-content: center;
	position: absolute;
	text-align: center;
}

.pm3d-error {
	color: #8a1f11;
}

.pm3d-thumb-item {
	list-style: none;
	clear: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.woocommerce-product-gallery .flex-control-thumbs.pm3d-thumbs-normalized {
	align-items: flex-start !important;
	display: grid !important;
	gap: 16px 18px !important;
	grid-template-columns: repeat(var(--pm3d-thumb-columns, 4), minmax(0, 1fr)) !important;
}

.woocommerce-product-gallery .flex-control-thumbs.pm3d-thumbs-normalized > li {
	box-sizing: border-box !important;
	clear: none !important;
	float: none !important;
	flex: none !important;
	list-style: none !important;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: auto !important;
}

.pm3d-thumb {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #f7f4ef;
	border: 1px solid #d8c8ad;
	color: #303030;
	cursor: pointer;
	display: flex;
	font-family: Georgia, serif;
	font-size: 16px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 0;
	padding: 10px;
	text-align: center;
	width: 100%;
	border-radius: 0 !important;
}

.pm3d-thumb.is-active,
.pm3d-thumb:focus-visible {
	border-color: #dca54a;
	box-shadow: inset 0 0 0 2px #dca54a;
	outline: none;
}

.pm3d-launch-button {
	background: #f7f4ef;
	border: 1px solid #d8c8ad;
	color: #303030;
	cursor: pointer;
	display: inline-flex;
	font-family: Georgia, serif;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	margin-top: 24px;
	min-height: 44px;
	padding: 10px 18px;
}

.pm3d-launch-button.is-active,
.pm3d-launch-button:focus-visible {
	border-color: #dca54a;
	box-shadow: inset 0 0 0 2px #dca54a;
	outline: none;
}

.pm3d-field-message {
	color: #8a1f11;
	font-size: 13px;
	line-height: 1.35;
	margin-top: 6px;
}

.pm3d-contrast-warning {
	background: #fff7e6;
	border: 1px solid #e0a840;
	color: #5f3f00;
	font-size: 14px;
	line-height: 1.45;
	margin: 10px 0 16px;
	padding: 10px 12px;
}

.pm3d-contrast-warning[hidden] {
	display: none;
}

.pm3d-fallback-field {
	margin: 0 0 16px;
}

.pm3d-fallback-field label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
}

.pm3d-fallback-field input {
	border: 1px solid #ddd2bf;
	box-sizing: border-box;
	min-height: 42px;
	padding: 8px 12px;
	width: 100%;
}

.pm3d-fallback-note {
	color: #6d655b;
	font-size: 12px;
	margin: 6px 0 0;
}

.pm3d-disclaimer {
	color: #7a736a;
	font-size: 13px;
	line-height: 1.45;
	margin-top: 12px;
	text-align: center;
}

@media (max-width: 768px) {
	.pm3d-viewer {
		min-height: 340px;
	}
}
