/**
 * Webixel Produktanfrage — Frontend-Styles.
 *
 * Design-Tokens werden primär aus Theme-Variablen gezogen (Avada, WP Block-Themes)
 * und fallen auf sinnvolle Defaults zurück. Um eine Farbe zu ändern, einfach die
 * entsprechende --webixel-pa-* Variable im Child-Theme überschreiben.
 */

:root {
	/* Akzentfarbe — Priorität: Avada-Palette → WP-Preset → Fallback-Blau */
	--webixel-pa-accent: var(--awb-color1, var(--wp--preset--color--primary, var(--wp--preset--color--accent, #ebdfd1)));
	--webixel-pa-accent-hover: var(--awb-color2, var(--wp--preset--color--contrast, #1d4ed8));
	--webixel-pa-accent-contrast: var(--awb-color8, var(--wp--preset--color--base, #ffffff));
	--webixel-pa-accent-soft: rgba(37, 99, 235, 0.08);

	/* Flächen & Text */
	--webixel-pa-surface: var(--wp--preset--color--base, #ffffff);
	--webixel-pa-surface-alt: #f6f8fb;
	--webixel-pa-text: inherit;
	--webixel-pa-muted: #6b7280;
	--webixel-pa-border: #e5e7eb;
	--webixel-pa-border-strong: #d1d5db;

	/* Status */
	--webixel-pa-success: #15803d;
	--webixel-pa-success-bg: #f0fdf4;
	--webixel-pa-success-border: #bbf7d0;
	--webixel-pa-error: #b91c1c;
	--webixel-pa-error-bg: #fef2f2;
	--webixel-pa-error-border: #fecaca;

	/* Form & Shape */
	--webixel-pa-radius: 8px;
	--webixel-pa-radius-sm: 6px;
	--webixel-pa-radius-lg: 12px;
	--webixel-pa-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
	--webixel-pa-shadow: 0 1px 3px rgba(16, 24, 40, 0.07), 0 1px 2px rgba(16, 24, 40, 0.04);
	--webixel-pa-shadow-lg: 0 10px 24px -8px rgba(16, 24, 40, 0.15), 0 4px 8px -4px rgba(16, 24, 40, 0.06);
	--webixel-pa-ring: 0 0 0 3px rgba(37, 99, 235, 0.22);

	/* Typography — erbt vom Theme */
	--webixel-pa-font: inherit;
	--webixel-pa-font-heading: inherit;

	/* Transition */
	--webixel-pa-transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   BASE / Reset-lite für Plugin-Container
   ========================================================================= */

.webixel-pa-button-wrap,
.webixel-pa-list,
.webixel-pa-form-wrap,
.webixel-pa-empty,
.webixel-pa-added,
.webixel-pa-counter-wrap,
.webixel-pa-counter-link,
.webixel-pa-icon {
	font-family: var(--webixel-pa-font);
	color: var(--webixel-pa-text);
	box-sizing: border-box;
}

.webixel-pa-list *,
.webixel-pa-form-wrap *,
.webixel-pa-button-wrap *,
.webixel-pa-added * {
	box-sizing: border-box;
}

/* =========================================================================
   ANFRAGE-BUTTON + MENGEN-STEPPER
   ========================================================================= */

.webixel-pa-button-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin: 1rem 0;
}

.webixel-pa-button-wrap.is-hidden {
	display: none;
}

.webixel-pa-context-archive {
	margin: 0.75rem 0;
}

.webixel-pa-qty-label {
	font-size: 0.9em;
	font-weight: 500;
	color: var(--webixel-pa-muted);
	margin-right: 0.1rem;
}

.webixel-pa-qty-stepper {
	display: inline-flex;
	align-items: stretch;
	background: var(--webixel-pa-surface);
	border: 1px solid var(--webixel-pa-border);
	border-radius: var(--webixel-pa-radius);
	box-shadow: var(--webixel-pa-shadow-sm);
	line-height: 1;
	overflow: hidden;
}

.webixel-pa-qty,
.webixel-pa-qty-input,
input[type="number"].webixel-pa-qty,
input[type="number"].webixel-pa-qty-input {
	width: 2.75rem;
	padding: 0.5rem 0.25rem;
	border: 0;
	background: transparent;
	font: inherit;
	color: inherit;
	text-align: center;
	font-variant-numeric: tabular-nums;
	outline: none;
	-moz-appearance: textfield;
	appearance: textfield;
	margin: 0 !important;
}

.webixel-pa-qty::-webkit-outer-spin-button,
.webixel-pa-qty::-webkit-inner-spin-button,
.webixel-pa-qty-input::-webkit-outer-spin-button,
.webixel-pa-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.webixel-pa-qty:focus,
.webixel-pa-qty-input:focus {
	background: var(--webixel-pa-accent-soft);
}

.webixel-pa-qty-minus,
.webixel-pa-qty-plus {
	width: 2.25rem;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent;
	border: 0 !important;
	color: var(--webixel-pa-muted);
	cursor: pointer;
	font-size: 1em;
	font-weight: 500;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	transition: background-color var(--webixel-pa-transition), color var(--webixel-pa-transition);
}

.webixel-pa-qty-input {
	margin: 0 !important;
	border-radius: 0 !important;
	-webkit-appearance: none;
	appearance: none;
}

.webixel-pa-qty-minus:hover,
.webixel-pa-qty-plus:hover,
.webixel-pa-qty-minus:focus-visible,
.webixel-pa-qty-plus:focus-visible {
	background: var(--webixel-pa-surface-alt);
	color: var(--webixel-pa-accent);
	outline: none;
}

/* Primärbutton */
.webixel-pa-add-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100% !important;
	margin: 0 !important;
	padding: 0.75rem 1.5rem !important;
	background: var(--webixel-pa-accent);
	color: inherit;
	border: 1px solid #000 !important;
	border-radius: var(--webixel-pa-radius);
	font: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: 1.3;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--webixel-pa-transition),
		color var(--webixel-pa-transition),
		border-color var(--webixel-pa-transition),
		transform var(--webixel-pa-transition),
		box-shadow var(--webixel-pa-transition);
	-webkit-appearance: none;
	appearance: none;
}

.webixel-pa-add-button:hover {
	background: #000;
	color: #fff;
	border-color: #000 !important;
}

.webixel-pa-add-button:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
	background: #000;
	color: #fff;
}

.webixel-pa-add-button:active {
	transform: translateY(1px);
}

.webixel-pa-add-button:disabled,
.webixel-pa-add-button[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.webixel-pa-add-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.webixel-pa-variable-hint {
	flex-basis: 100%;
	margin: 0;
	font-size: 0.85em;
	color: var(--webixel-pa-muted);
}

/* =========================================================================
   Sekundärbutton — „Zum Produkt" (WooCommerce/Avada .show_details_button)
   ========================================================================= */

a.show_details_button,
.fusion-product-buttons a.show_details_button,
.products li.product a.show_details_button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100% !important;
	margin: 0 !important;
	padding: 0.75rem 1.5rem !important;
	background: #ebdfd1 !important;
	color: #000 !important;
	border: 1px solid #ebdfd1 !important;
	border-radius: var(--webixel-pa-radius) !important;
	font: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: 1.3 !important;
	letter-spacing: 0.01em;
	text-decoration: none !important;
	text-transform: none !important;
	cursor: pointer;
	box-shadow: none !important;
	transition:
		background-color var(--webixel-pa-transition),
		color var(--webixel-pa-transition),
		border-color var(--webixel-pa-transition),
		transform var(--webixel-pa-transition);
}

a.show_details_button:hover,
.fusion-product-buttons a.show_details_button:hover,
.products li.product a.show_details_button:hover {
	background: #000 !important;
	color: #ebdfd1 !important;
	border-color: #000 !important;
}

a.show_details_button:focus-visible,
.fusion-product-buttons a.show_details_button:focus-visible,
.products li.product a.show_details_button:focus-visible {
	outline: 2px solid #000 !important;
	outline-offset: 2px;
	background: #000 !important;
	color: #ebdfd1 !important;
	border-color: #000 !important;
}

a.show_details_button:active,
.fusion-product-buttons a.show_details_button:active,
.products li.product a.show_details_button:active {
	transform: translateY(1px);
}

a.show_details_button[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	pointer-events: none;
}

/* =========================================================================
   Produkt-Archiv: Sortier-/Filter-/Ansicht-Leiste ausblenden.
   Wir betreiben den Shop als reinen Katalog — Sortierung, Produktzahl-Auswahl
   und Grid/Listen-Toggle bieten hier keinen Mehrwert.
   ========================================================================= */

.catalog-ordering,
.woocommerce-ordering,
.fusion-woo-result-count,
.woocommerce-result-count {
	display: none !important;
}

/* =========================================================================
   ADDED-NOTICE (Inline-Rückmeldung unter dem Button)
   ========================================================================= */

.webixel-pa-added {
	display: none;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem 0.85rem;
	margin: 0.5rem 0 1.5rem;
	padding: 0.75rem 1rem;
	border-radius: 0;
	line-height: 1.45;
	background: #000;
	color: #fff;
	border: 0;
	box-shadow: var(--webixel-pa-shadow-sm);
	animation: webixel-pa-slide-in 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.webixel-pa-added.is-visible {
	display: flex;
}

.webixel-pa-added-error {
	background: var(--webixel-pa-error-bg);
	color: var(--webixel-pa-error);
	border-color: var(--webixel-pa-error-border);
}

.webixel-pa-added-msg {
	flex: 1 1 auto;
	min-width: 0;
	color: inherit;
}

.webixel-pa-added-link {
	margin: 0;
	color: inherit;
	font-weight: 500;
	text-decoration: none;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	white-space: nowrap;
	transition: opacity var(--webixel-pa-transition);
}

.webixel-pa-added-link:hover,
.webixel-pa-added-link:focus-visible {
	opacity: 0.8;
	text-decoration-thickness: 2px;
	color: inherit;
}

.webixel-pa-added-link::after {
	content: " →";
	color: #fff;
}

@keyframes webixel-pa-slide-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* =========================================================================
   COUNTER & NAVIGATION-ICON
   ========================================================================= */

.webixel-pa-counter-wrap,
.webixel-pa-counter-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	text-decoration: none;
	color: inherit;
	transition: color var(--webixel-pa-transition);
}

.webixel-pa-counter-link:hover,
.webixel-pa-counter-link:focus-visible {
	color: var(--webixel-pa-accent);
}

.webixel-pa-counter-label {
	font-weight: 500;
}

.webixel-pa-counter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6rem;
	height: 1.4rem;
	padding: 0 0.45rem;
	background: var(--webixel-pa-accent);
	color: var(--webixel-pa-accent-contrast);
	border-radius: 999px;
	font-size: 0.78em;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.webixel-pa-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	gap: 0.45rem;
	padding: 0.25rem 0.35rem;
	color: inherit;
	text-decoration: none;
	line-height: 1;
	transition: color var(--webixel-pa-transition);
}

.webixel-pa-icon:hover,
.webixel-pa-icon:focus-visible {
	color: var(--webixel-pa-accent);
	outline: none;
}

.webixel-pa-icon-svg {
	display: inline-flex;
	width: 1.5em;
	height: 1.5em;
	flex: 0 0 auto;
	line-height: 0;
}

.webixel-pa-icon-svg svg {
	width: 100%;
	height: 100%;
	display: block;
}

.webixel-pa-icon-label {
	font-weight: 500;
}

.webixel-pa-icon-badge {
	position: absolute;
	top: -0.35em;
	right: -0.5em;
	min-width: 1.1em;
	height: 1.1em;
	padding: 0 0.3em;
	background: var(--webixel-pa-accent);
	color: var(--webixel-pa-accent-contrast);
	border-radius: 999px;
	font-size: 0.7em;
	line-height: 1.1em;
	text-align: center;
	font-weight: 700;
	box-shadow: 0 0 0 2px var(--webixel-pa-surface);
	font-variant-numeric: tabular-nums;
}

.webixel-pa-icon-badge[data-empty="1"] {
	display: none;
}

/* Auto-Injection in Theme-Navigationen — rechts bündig, passt sich an Menü-Styling an. */
.webixel-pa-nav-icon-item {
	margin-left: auto;
	display: flex;
	align-items: center;
	list-style: none;
}

.webixel-pa-nav-icon-item>.webixel-pa-icon {
	padding: 0.35rem 0.5rem;
	color: inherit;
}

/* In der Navigation: keine überflüssigen Link-Unterstriche vom Theme übernehmen. */
.webixel-pa-nav-icon-item>.webixel-pa-icon,
.webixel-pa-nav-icon-item>.webixel-pa-icon:hover,
.webixel-pa-nav-icon-item>.webixel-pa-icon:focus {
	text-decoration: none;
}

/* Block-Theme: Navigation-Block hat eigenes Spacing — sorgt für vertikale Ausrichtung. */
.wp-block-navigation__container>.webixel-pa-nav-icon-item,
.wp-block-navigation>.webixel-pa-nav-icon-item {
	margin-left: auto;
}

.webixel-pa-icon.is-bumped .webixel-pa-icon-svg,
.webixel-pa-icon.is-bumped .webixel-pa-icon-badge {
	animation: webixel-pa-bump 440ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes webixel-pa-bump {
	0% {
		transform: scale(1);
	}

	35% {
		transform: scale(1.28);
	}

	65% {
		transform: scale(0.94);
	}

	100% {
		transform: scale(1);
	}
}

/* =========================================================================
   HONEYPOT (versteckt)
   ========================================================================= */

.webixel-pa-honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* =========================================================================
   ANFRAGELISTE — Tabelle
   ========================================================================= */

.webixel-pa-list {
	margin: 1.75rem 0;
	background: var(--webixel-pa-surface);
	border: 1px solid var(--webixel-pa-border);
	border-radius: var(--webixel-pa-radius-lg);
	box-shadow: var(--webixel-pa-shadow);
	overflow: hidden;
}

.webixel-pa-list-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font: inherit;
	color: inherit;
}

.webixel-pa-list-table thead th {
	background: #ebdfd1;
	padding: 0.75rem 1rem;
	text-align: left;
	font-weight: 500;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #000;
	border-bottom: 1px solid var(--webixel-pa-border);
}

.webixel-pa-list-table thead th.webixel-pa-col-price,
.webixel-pa-list-table thead th.webixel-pa-col-subtotal {
	text-align: right;
}

.webixel-pa-list-table tbody td {
	padding: 1.1rem 1rem;
	border-bottom: 1px solid var(--webixel-pa-border);
	vertical-align: middle;
}

.webixel-pa-list-table tbody tr:last-child td {
	border-bottom: 0;
}

.webixel-pa-col-price,
.webixel-pa-col-subtotal {
	white-space: nowrap;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.webixel-pa-list-image {
	width: 88px;
}

.webixel-pa-list-image img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: var(--webixel-pa-radius-sm);
	background: var(--webixel-pa-surface-alt);
}

.webixel-pa-list-title {
	display: inline-block;
	font-weight: 600;
	color: inherit;
	text-decoration: none;
	line-height: 1.35;
	transition: color var(--webixel-pa-transition);
}

.webixel-pa-list-title:hover,
.webixel-pa-list-title:focus-visible {
	color: #000;
}

.webixel-pa-list-sku,
.webixel-pa-list-variation {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.88em;
	color: var(--webixel-pa-muted);
}

.webixel-pa-list-price {
	font-weight: 500;
}

.webixel-pa-list-subtotal {
	font-weight: 500;
	color: inherit;
}

.webixel-pa-price-na {
	color: var(--webixel-pa-muted);
	font-style: italic;
	font-size: 0.9em;
}

.webixel-pa-list-qty {
	min-width: 140px;
}

.webixel-pa-list-actions {
	width: 56px;
	text-align: right;
}

.webixel-pa-remove {
	background: transparent !important;
	border: 1px solid #000 !important;
	width: 2rem;
	height: 2rem !important;
	border-radius: 999px !important;
	cursor: pointer;
	line-height: 1;
	font-size: 1em !important;
	color: var(--webixel-pa-muted);
	transition: all var(--webixel-pa-transition) !important;
	padding: 0 0 1px !important;
	margin: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.webixel-pa-remove:hover,
.webixel-pa-remove:focus-visible {
	background: var(--webixel-pa-error-bg);
	border-color: var(--webixel-pa-error-border);
	color: var(--webixel-pa-error);
	outline: none;
}

.webixel-pa-list-total-row td {
	padding: 1rem;
	background: #ebdfd1;
	border-top: 2px solid #e3d4c3;
	font-weight: 500;
	color: #000;
	border-bottom: 0;
}

.webixel-pa-list-total-label {
	text-align: right;
	font-weight: 600;
	color: var(--webixel-pa-muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.85em;
}

.webixel-pa-list-total-value {
	text-align: right;
	font-weight: 700;
	color: var(--webixel-pa-accent);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.webixel-pa-list-total-note {
	margin: 0 !important;
	padding: 0.75rem 1rem;
	font-size: 0.85em;
	color: var(--webixel-pa-muted);
	text-align: right;
}

.webixel-pa-empty {
	padding: 2rem 1.25rem;
	background: var(--webixel-pa-surface-alt);
	border-radius: var(--webixel-pa-radius);
	color: var(--webixel-pa-muted);
	text-align: center;
	margin: 0 !important;
}

/* =========================================================================
   FORMULAR
   ========================================================================= */

.webixel-pa-form-wrap {
	margin: 2rem 0;
}

.webixel-pa-list-heading,
.webixel-pa-form-heading {
	/* Größe + Gewicht erbt vom Theme — das stellt sicher, dass h2 wie überall aussieht. */
	margin: 1.5rem 0 0.75rem;
}

.webixel-pa-form-heading {
	margin-top: 2rem;
}

/* Plain „Vielen Dank" – kein Kasten, einfach Fließtext in Theme-Größe. */
.webixel-pa-thank-you {
	margin: 1rem 0 1.5rem;
	color: inherit;
	font-size: inherit;
	line-height: 1.5;
}

/* Sobald erfolgreich abgesendet: Liste, Headings, Feedback, Formular verschwinden. */
.webixel-pa-form-wrap.is-submitted .webixel-pa-list-heading,
.webixel-pa-form-wrap.is-submitted .webixel-pa-form-heading,
.webixel-pa-form-wrap.is-submitted [data-role="list-container"],
.webixel-pa-form-wrap.is-submitted [data-role="feedback"],
.webixel-pa-form-wrap.is-submitted .webixel-pa-form {
	display: none !important;
}

.webixel-pa-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem 1.25rem;
	margin-top: 1rem;
	padding: 1.5rem;
	background: var(--webixel-pa-surface);
	border: 1px solid var(--webixel-pa-border);
	border-radius: var(--webixel-pa-radius-lg);
	box-shadow: var(--webixel-pa-shadow);
}

/* Zweispaltig ab Tablet/Desktop. Textarea, DSGVO-Feld und Submit bleiben volle Breite. */
@media (min-width: 720px) {
	.webixel-pa-form {
		grid-template-columns: 1fr 1fr;
	}
}

.webixel-pa-form .webixel-pa-field-message,
.webixel-pa-form .webixel-pa-field-privacy,
.webixel-pa-form .webixel-pa-submit,
.webixel-pa-form .webixel-pa-honeypot {
	grid-column: 1 / -1;
}

.webixel-pa-form .webixel-pa-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
}

.webixel-pa-form .webixel-pa-field label {
	font-weight: 600;
	color: inherit;
}

.webixel-pa-form input[type="text"],
.webixel-pa-form input[type="email"],
.webixel-pa-form input[type="tel"],
.webixel-pa-form input[type="number"],
.webixel-pa-form input[type="date"],
.webixel-pa-form textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--webixel-pa-border) !important;
	border-radius: var(--webixel-pa-radius-sm) !important;
	background: var(--webixel-pa-surface);
	font: inherit;
	font-size: inherit;
	color: inherit;
	line-height: 1.4;
	transition: border-color var(--webixel-pa-transition), box-shadow var(--webixel-pa-transition);
}

.webixel-pa-form input[type="text"]:hover,
.webixel-pa-form input[type="email"]:hover,
.webixel-pa-form input[type="tel"]:hover,
.webixel-pa-form input[type="number"]:hover,
.webixel-pa-form input[type="date"]:hover,
.webixel-pa-form textarea:hover {
	border-color: var(--webixel-pa-border-strong);
}

.webixel-pa-form input[type="text"]:focus,
.webixel-pa-form input[type="email"]:focus,
.webixel-pa-form input[type="tel"]:focus,
.webixel-pa-form input[type="number"]:focus,
.webixel-pa-form input[type="date"]:focus,
.webixel-pa-form textarea:focus {
	outline: none;
	border-color: var(--webixel-pa-accent);
	box-shadow: var(--webixel-pa-ring);
}

.webixel-pa-form textarea {
	resize: none;
	min-height: 140px;
}

.webixel-pa-field-privacy label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-weight: 400 !important;
	line-height: 1.5;
	cursor: pointer;
}

.webixel-pa-field-privacy input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	margin: 0.2em 0 0;
	accent-color: var(--webixel-pa-accent);
}

.webixel-pa-privacy-text {
	min-width: 0;
}

.webixel-pa-privacy-text a {
	text-decoration: underline;
}

.webixel-pa-privacy-text a:hover,
.webixel-pa-privacy-text a:focus-visible {
	text-decoration: none;
}

.webixel-pa-field-privacy .webixel-pa-required {
	flex: 0 0 auto;
	color: var(--webixel-pa-muted);
}

.webixel-pa-submit {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.webixel-pa-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	background: var(--webixel-pa-accent);
	color: var(--webixel-pa-accent-contrast);
	border: 1px solid transparent;
	border-radius: var(--webixel-pa-radius);
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.01em;
	box-shadow: var(--webixel-pa-shadow);
	transition: background-color var(--webixel-pa-transition), box-shadow var(--webixel-pa-transition), transform var(--webixel-pa-transition);
	-webkit-appearance: none;
	appearance: none;
}

.webixel-pa-submit-button:hover,
.webixel-pa-submit-button:focus-visible {
	background: var(--webixel-pa-accent-hover);
	box-shadow: var(--webixel-pa-shadow-lg);
	transform: translateY(-1px);
	outline: none;
	color: var(--webixel-pa-accent-contrast);
}

.webixel-pa-submit-button:active {
	transform: translateY(0);
	box-shadow: var(--webixel-pa-shadow);
}

.webixel-pa-submit-button:disabled,
.webixel-pa-submit-button[aria-busy="true"] {
	opacity: 0.75;
	cursor: progress;
	transform: none;
}

.webixel-pa-submit-button.is-loading {
	position: relative;
	color: transparent;
}

.webixel-pa-submit-button.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1rem;
	height: 1rem;
	margin: -0.5rem 0 0 -0.5rem;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	color: var(--webixel-pa-accent-contrast);
	animation: webixel-pa-spin 0.7s linear infinite;
}

@keyframes webixel-pa-spin {
	to {
		transform: rotate(360deg);
	}
}

.webixel-pa-notice-subtle {
	margin-top: 0.6rem;
	padding-top: 0.6rem;
	border-top: 1px dashed currentColor;
	font-size: 0.85em;
	opacity: 0.85;
}

.woo-commerce-container h1.product_title.entry-title {
	letter-spacing: 5px !important;
}

.woo-commerce-container {
	padding: 60px 0;
}

code {
	font-family: inherit;
}

/* =========================================================================
   NOTICES (Erfolg/Fehler-Banner über dem Formular)
   ========================================================================= */

.webixel-pa-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-radius: var(--webixel-pa-radius);
	margin: 1rem 0 1.5rem;
	line-height: 1.5;
	border: 1px solid transparent;
}

.webixel-pa-notice-success {
	background: var(--webixel-pa-success-bg);
	color: var(--webixel-pa-success);
	border-color: var(--webixel-pa-success-border);
}

.webixel-pa-notice-error {
	background: var(--webixel-pa-error-bg);
	color: var(--webixel-pa-error);
	border-color: var(--webixel-pa-error-border);
}

.webixel-pa-notice ul {
	margin: 0;
	padding-left: 1.25rem;
}

.webixel-pa-feedback {
	margin-top: 0.75rem;
	min-height: 1.4em;
	font-size: 0.9em;
	color: var(--webixel-pa-muted);
	transition: opacity 200ms ease;
	opacity: 0;
}

.webixel-pa-feedback.is-visible {
	opacity: 1;
}

.webixel-pa-feedback-success {
	color: var(--webixel-pa-success);
}

.webixel-pa-feedback-error {
	color: var(--webixel-pa-error);
}

/* =========================================================================
   ADMIN-STATUS-BADGES (auch für Frontend nutzbar)
   ========================================================================= */

.webixel-pa-status {
	display: inline-block;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	font-size: 0.8em;
	font-weight: 600;
	line-height: 1.5;
	background: var(--webixel-pa-surface-alt);
	color: inherit;
}

.webixel-pa-status-new {
	background: #dbe9ff;
	color: #1a4fb3;
}

.webixel-pa-status-in_progress {
	background: #fff3cd;
	color: #7a5a00;
}

.webixel-pa-status-done {
	background: #d4edda;
	color: var(--webixel-pa-success);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 680px) {
	.webixel-pa-list-table thead {
		display: none;
	}

	.webixel-pa-list-table,
	.webixel-pa-list-table tbody,
	.webixel-pa-list-table tfoot,
	.webixel-pa-list-table tr,
	.webixel-pa-list-table td {
		display: block;
		width: 100%;
	}

	.webixel-pa-list-table tbody tr {
		padding: 1rem;
		border-bottom: 1px solid var(--webixel-pa-border);
	}

	.webixel-pa-list-table tbody tr:last-child {
		border-bottom: 0;
	}

	.webixel-pa-list-table tbody td {
		padding: 0.35rem 0;
		border: 0;
	}

	.webixel-pa-list-image {
		width: auto;
	}

	.webixel-pa-list-image img {
		width: 96px;
		height: 96px;
	}

	.webixel-pa-list-price,
	.webixel-pa-list-subtotal {
		text-align: left;
	}

	.webixel-pa-list-price::before,
	.webixel-pa-list-subtotal::before {
		content: attr(data-label) ": ";
		color: var(--webixel-pa-muted);
		margin-right: 0.35rem;
		font-weight: 500;
	}

	.webixel-pa-list-total-row td {
		text-align: right;
		padding: 1rem;
	}

	.webixel-pa-list-total-label {
		padding-bottom: 0.25rem;
	}

	.webixel-pa-form {
		padding: 1.25rem;
	}
}

/* =========================================================================
   FINAL OVERRIDES — kantiges Design (border-radius: 0) und
   text-transform: none auf allen Plugin-Buttons. Am Ende platziert, damit
   Theme-Specificity (Avada) zuverlässig überschrieben wird.
   ========================================================================= */

.webixel-pa-add-button,
.webixel-pa-submit-button,
a.show_details_button,
.fusion-product-buttons a.show_details_button,
.products li.product a.show_details_button,
.webixel-pa-qty-minus,
.webixel-pa-qty-plus,
.webixel-pa-remove,
.webixel-pa-qty-stepper,
.webixel-pa-qty,
.webixel-pa-qty-input,
.webixel-pa-form input[type="text"],
.webixel-pa-form input[type="email"],
.webixel-pa-form input[type="tel"],
.webixel-pa-form input[type="number"],
.webixel-pa-form input[type="date"],
.webixel-pa-form textarea,
.webixel-pa-list,
.webixel-pa-form,
.webixel-pa-empty {
	border-radius: 0 !important;
}

.webixel-pa-add-button,
.webixel-pa-submit-button,
a.show_details_button,
.fusion-product-buttons a.show_details_button,
.products li.product a.show_details_button {
	text-transform: none !important;
}

/* Stepper: Container + Input dürfen kein overflow-hidden mit Radius mehr brauchen */
.webixel-pa-qty-stepper {
	overflow: visible;
	flex: 1;
}

/* =========================================================================
   WooCommerce-Wrapper: einheitlicher vertikaler Abstand
   ========================================================================= */

.woocommerce-container {
	padding: 60px 0;
}

/* =========================================================================
   Produkt-Typografie
   ========================================================================= */

.woocommerce-container .product_title.entry-title {
	letter-spacing: 5px !important;
	font-weight: 300 !important;
}

.woocommerce-container h3.product-title {
	letter-spacing: 1px !important;
}

.woocommerce-Price-amount.amount {
	font-size: 1.2rem;
}

/* =========================================================================
   Kategorien-Raster (Shortcode/Container mit .wx-category-list) — quadratische
   Kacheln mit zentriertem Kategorie-Namen auf halbtransparentem Overlay.
   ========================================================================= */

.wx-category-list .products .product-category {
	padding: 0.25rem;
}

.wx-category-list .products .product-category a {
	display: block;
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
}

.wx-category-list .products .product-category a img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	transition: transform 200ms ease;
}

.wx-category-list .products .product-category a:hover img {
	transform: scale(1.05);
}

.wx-category-list .products .product-category a h2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 1rem !important;
	letter-spacing: 1px !important;
	background: rgba(0, 0, 0, 0.5);
	color: #fff !important;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
	transition: background 200ms ease;
}

.wx-category-list .products .product-category a:hover h2 {
	background: rgba(0, 0, 0, 0.7);
}

.wx-category-list .products .product-category a mark.count {
	display: none;
}

.woocommerce-container .product_meta {
	display: none;
}