/**
 * Intern shop surfaces: Woo cart, checkout, account, buttons, inputs.
 * Color system from scribigo.de (intern-tokens.css).
 * Gutenberg marketing below cart/checkout is stripped.
 */

body.xray-shop #page,
body.xray-shop #content,
body.xray-shop .site-content,
body.xray-shop .ast-container,
body.xray-shop .entry-content,
body.xray-shop .ast-article-single,
body.xray-shop article.page,
body.xray-shop.ast-separate-container .ast-article-single,
body.xray-shop.ast-plain-container .site-content {
	background: transparent !important;
	color: var(--foreground) !important;
	box-shadow: none !important;
	border: 0 !important;
}

body.xray-shop h1,
body.xray-shop h2,
body.xray-shop h3,
body.xray-shop .entry-title,
body.xray-shop .woocommerce-products-header__title {
	font-family: var(--swo-font-display);
	color: var(--wine);
	font-weight: 500;
	letter-spacing: -0.02em;
}

body.xray-shop a {
	color: var(--wine);
}

body.xray-shop a:hover {
	color: var(--wine-deep);
}

/* Primary CTA = intern wine fill */
body.xray-shop .ast-button,
body.xray-shop .button,
body.xray-shop button.button,
body.xray-shop button[type="submit"],
body.xray-shop input[type="submit"],
body.xray-shop .woocommerce #place_order,
body.xray-shop .woocommerce .button.alt,
body.xray-shop .woocommerce a.button.alt,
body.xray-shop .woocommerce button.button.alt,
body.xray-shop .woocommerce button.button,
body.xray-shop .woocommerce a.checkout-button,
body.xray-shop .wc-block-components-button,
body.xray-shop .wc-block-cart__submit-button,
body.xray-shop .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
	background: var(--wine) !important;
	border: 1px solid var(--wine) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--radius) !important;
	font-family: var(--swo-font-sans);
	font-weight: 600;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.xray-shop.woocommerce-checkout #place_order,
body.xray-shop .woocommerce #payment #place_order,
body.xray-shop form.checkout #place_order {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 3.25rem !important;
	padding: 0.95rem 1.35rem !important;
	line-height: 1.35 !important;
	font-size: 1.05rem !important;
	box-sizing: border-box !important;
}

body.xray-shop form.checkout #payment .form-row.place-order {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 100%;
	overflow: visible !important;
}

body.xray-shop form.checkout #payment .form-row.validate-required,
body.xray-shop form.checkout #payment .form-row.place-order .form-row,
body.xray-shop .woocommerce-terms-and-conditions-wrapper,
body.xray-shop .woocommerce-terms-and-conditions-wrapper .form-row,
body.xray-shop #scribigo_immediate_service_consent_field,
body.xray-shop .scribigo-immediate-service-consent {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	gap: 0.65rem 0.75rem !important;
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
	overflow: visible !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
	white-space: normal !important;
}

body.xray-shop form.checkout #payment .form-row.validate-required label,
body.xray-shop .woocommerce-terms-and-conditions-wrapper label,
body.xray-shop #scribigo_immediate_service_consent_field label,
body.xray-shop .scribigo-immediate-service-consent label {
	flex: 1 1 12rem !important;
	min-width: 0 !important;
	max-width: 100% !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
	line-height: 1.45 !important;
	hyphens: auto;
}

body.xray-shop #ast-checkout-coupon {
	margin: 1rem 0 1.25rem !important;
	max-width: 100%;
	overflow: visible !important;
}

body.xray-shop #ast-coupon-trigger {
	display: inline-flex !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	color: var(--wine) !important;
	text-decoration: underline;
	margin: 0 !important;
	line-height: 1.4 !important;
}

body.xray-shop #ast-checkout-coupon .coupon.is-open,
body.xray-shop #ast-checkout-coupon .coupon[style*="flex"] {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.65rem !important;
	margin-top: 0.75rem !important;
	max-width: 100%;
}

body.xray-shop #ast-coupon-code {
	flex: 1 1 12rem;
	min-width: 0;
	max-width: 100%;
}

body.xray-shop #ast-apply-coupon {
	flex: 0 0 auto;
	min-height: 2.75rem !important;
	padding: 0.65rem 1rem !important;
	line-height: 1.3 !important;
}

/* Primary hover = scribigo.de scale, no fill swap */
body.xray-shop .ast-button:hover,
body.xray-shop .button:hover,
body.xray-shop button.button:hover,
body.xray-shop button[type="submit"]:hover,
body.xray-shop input[type="submit"]:hover,
body.xray-shop .woocommerce #place_order:hover,
body.xray-shop .woocommerce .button.alt:hover,
body.xray-shop .woocommerce button.button:hover,
body.xray-shop .woocommerce a.checkout-button:hover,
body.xray-shop .wc-block-components-button:hover {
	background: var(--wine) !important;
	border-color: var(--wine) !important;
	color: var(--primary-foreground) !important;
	transform: scale(1.03) !important;
	filter: none;
	box-shadow: none !important;
}

body.xray-shop .ast-button:active,
body.xray-shop .button:active,
body.xray-shop button.button:active,
body.xray-shop button[type="submit"]:active,
body.xray-shop .woocommerce button.button:active {
	background: var(--wine) !important;
	border-color: var(--wine) !important;
	color: var(--primary-foreground) !important;
	transform: scale(1.03) !important;
}

/* Outline / secondary = gold border on card */
body.xray-shop .woocommerce a.button:not(.alt):not(.checkout-button),
body.xray-shop .woocommerce button.button:not(.alt):not(.checkout-button) {
	background: var(--card) !important;
	border: 1px solid var(--gold) !important;
	color: var(--wine-deep) !important;
	box-shadow: none !important;
	transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Secondary hover = scribigo.de outline (border tint, no fill, no scale) */
body.xray-shop .woocommerce a.button:not(.alt):not(.checkout-button):hover,
body.xray-shop .woocommerce button.button:not(.alt):not(.checkout-button):hover {
	background: var(--card) !important;
	border-color: color-mix(in srgb, var(--primary) 60%, transparent) !important;
	color: var(--wine-deep) !important;
	transform: none !important;
}

body.xray-shop input[type="text"],
body.xray-shop input[type="email"],
body.xray-shop input[type="tel"],
body.xray-shop input[type="url"],
body.xray-shop input[type="password"],
body.xray-shop input[type="number"],
body.xray-shop input[type="search"],
body.xray-shop textarea,
body.xray-shop select,
body.xray-shop .select2-container--default .select2-selection--single,
body.xray-shop .wc-block-components-text-input input,
body.xray-shop .wc-block-components-text-input textarea {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	color: var(--foreground) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
}

body.xray-shop input:focus,
body.xray-shop textarea:focus,
body.xray-shop select:focus,
body.xray-shop .wc-block-components-text-input input:focus {
	border-color: var(--wine) !important;
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wine) 18%, transparent) !important;
}

body.xray-shop ::placeholder {
	color: var(--muted-foreground);
	opacity: 0.9;
}

/* Cart + totals cards */
body.xray-shop .woocommerce-cart-form,
body.xray-shop .cart_totals,
body.xray-shop .woocommerce-cart-form table.shop_table,
body.xray-shop .wc-block-cart,
body.xray-shop .wc-block-cart-items,
body.xray-shop .wp-block-woocommerce-cart-order-summary-block,
body.xray-shop .wc-block-components-sidebar,
body.xray-shop .woocommerce-MyAccount-content,
body.xray-shop .woocommerce-order,
body.xray-shop .woocommerce form.login,
body.xray-shop .woocommerce form.checkout_coupon {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-radius: 0.5rem !important;
	color: var(--foreground) !important;
	box-shadow: none !important;
}

/* Cart: table + totals must not sit flush (vertical + horizontal rhythm). */
body.xray-shop.woocommerce-cart .woocommerce,
body.xray-shop.woocommerce-cart .woocommerce-notices-wrapper + .woocommerce,
body.xray-shop #post-713 .woocommerce {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem 1.75rem;
	align-items: start;
	float: none !important;
}

body.xray-shop .woocommerce-cart-form {
	margin: 0 !important;
	padding: 1.15rem 1.25rem !important;
	width: 100% !important;
	float: none !important;
}

body.xray-shop.woocommerce-cart .cart-collaterals {
	display: grid;
	gap: 1.25rem;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	float: none !important;
}

body.xray-shop.woocommerce-cart .cart-collaterals .cart_totals,
body.xray-shop.woocommerce-cart .cart_totals {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 1.25rem 1.4rem !important;
	box-sizing: border-box;
}

body.xray-shop.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
body.xray-shop.woocommerce-cart .woocommerce > .woocommerce-info,
body.xray-shop.woocommerce-cart .woocommerce > .woocommerce-message,
body.xray-shop.woocommerce-cart .woocommerce > .woocommerce-error {
	grid-column: 1 / -1;
}

@media (min-width: 960px) {
	body.xray-shop.woocommerce-cart .woocommerce,
	body.xray-shop #post-713 .woocommerce {
		grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
	}

	body.xray-shop.woocommerce-cart .cart-collaterals {
		margin-top: 0 !important;
	}
}

body.xray-shop .woocommerce table.shop_table,
body.xray-shop .woocommerce table.shop_table th,
body.xray-shop .woocommerce table.shop_table td,
body.xray-shop .woocommerce table.shop_table tbody,
body.xray-shop .woocommerce table.shop_table thead,
body.xray-shop .woocommerce table.shop_table tfoot {
	background: transparent !important;
	border-color: var(--border) !important;
	color: var(--foreground) !important;
}

body.xray-shop .woocommerce table.shop_table thead th,
body.xray-shop .woocommerce .cart_totals h2,
body.xray-shop .woocommerce-checkout #order_review_heading {
	color: var(--muted-foreground) !important;
	background: var(--paper-deep) !important;
	font-family: var(--swo-font-sans);
	font-weight: 600;
	letter-spacing: 0.04em;
}

body.xray-shop .woocommerce .cart_totals h2,
body.xray-shop .woocommerce-checkout #order_review_heading {
	background: transparent !important;
	color: var(--wine) !important;
	font-family: var(--swo-font-display) !important;
	border: 0 !important;
	border-bottom: 1px solid var(--gold) !important;
	border-radius: 0 !important;
	letter-spacing: 0;
	text-transform: none;
	font-size: 1.35rem;
	font-weight: 500;
	box-shadow: none !important;
}

/*
 * Checkout #order_review: closed card.
 * Causes of the open top / bottom offset:
 *  - Astra splits heading + review into one frame (heading 3-sided, review
 *    border-top:0). intern-shop then painted a card on #order_review without
 *    restoring the top stroke or inner padding.
 *  - Woo shop_table `margin: 0 -1px 24px 0` plus first-row/thead margin-top
 *    sits flush against the rounded border and clips the top edge.
 *  - Spectra/UAGB inner padding + leftover .cart-collaterals rhythm shifted
 *    the box vs the billing form.
 */
body.xray-shop.woocommerce-checkout form.checkout {
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	width: 100% !important;
}

body.xray-shop.woocommerce-checkout #customer_details,
body.xray-shop.woocommerce-checkout form.checkout > .col2-set {
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

body.xray-shop.woocommerce-checkout #order_review_heading {
	clear: both;
	float: none !important;
	width: 100% !important;
	margin: 0 0 0.85rem !important;
	padding: 0 0 0.5rem !important;
}

body.xray-shop.woocommerce-checkout #order_review#order_review,
body.xray-shop.woocommerce-checkout #order_review_heading + #order_review#order_review,
body.xray-shop.woocommerce-checkout .woocommerce-checkout-review-order {
	clear: both;
	display: block !important;
	float: none !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 1.15rem 1.25rem !important;
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-top: 1px solid var(--border) !important;
	border-right: 1px solid var(--border) !important;
	border-bottom: 1px solid var(--border) !important;
	border-left: 1px solid var(--border) !important;
	border-radius: 0.5rem !important;
	box-shadow: none !important;
	color: var(--foreground) !important;
}

body.xray-shop.woocommerce-checkout #order_review table.shop_table,
body.xray-shop.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.xray-shop.woocommerce-checkout #order_review table.shop_table thead,
body.xray-shop.woocommerce-checkout #order_review table.shop_table tbody,
body.xray-shop.woocommerce-checkout #order_review table.shop_table tfoot,
body.xray-shop.woocommerce-checkout #order_review table.shop_table tr,
body.xray-shop.woocommerce-checkout #order_review table.shop_table thead tr:first-child,
body.xray-shop.woocommerce-checkout #order_review table.shop_table tbody tr:first-child,
body.xray-shop.woocommerce-checkout #order_review table.shop_table tfoot tr:last-child {
	margin: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0;
}

body.xray-shop.woocommerce-checkout #order_review table.shop_table thead th,
body.xray-shop.woocommerce-checkout #order_review table.shop_table tbody td,
body.xray-shop.woocommerce-checkout #order_review table.shop_table tfoot th,
body.xray-shop.woocommerce-checkout #order_review table.shop_table tfoot td {
	margin: 0 !important;
}

body.xray-shop.woocommerce-checkout #order_review table.shop_table thead tr:first-child th,
body.xray-shop.woocommerce-checkout #order_review table.shop_table thead tr:first-child td {
	border-top: 0 !important;
}

body.xray-shop.woocommerce-checkout #order_review table.shop_table tfoot tr:last-child th,
body.xray-shop.woocommerce-checkout #order_review table.shop_table tfoot tr:last-child td {
	border-bottom: 0 !important;
	padding-bottom: 0;
}

body.xray-shop.woocommerce-checkout .cart-collaterals,
body.xray-shop.woocommerce-checkout .cart_totals {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.xray-shop.woocommerce-checkout #order_review #payment,
body.xray-shop.woocommerce-checkout #order_review .woocommerce-checkout-payment {
	margin: 1rem 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.xray-shop .woocommerce .product-name a,
body.xray-shop .woocommerce td.product-name a,
body.xray-shop .woocommerce-cart-form .product-name a {
	color: var(--wine) !important;
}

body.xray-shop .woocommerce .product-subtotal,
body.xray-shop .woocommerce .order-total td,
body.xray-shop .woocommerce .order-total th,
body.xray-shop .wc-block-components-totals-item__value {
	color: var(--foreground) !important;
	font-weight: 600;
}

body.xray-shop .woocommerce .quantity .qty,
body.xray-shop .woocommerce .quantity .minus,
body.xray-shop .woocommerce .quantity .plus {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	color: var(--foreground) !important;
}

body.xray-shop .woocommerce-info,
body.xray-shop .woocommerce-message,
body.xray-shop .woocommerce-error,
body.xray-shop .woocommerce-notice,
body.xray-shop .wc-block-components-notice-banner {
	background: var(--card) !important;
	border-color: var(--gold) !important;
	color: var(--foreground) !important;
}

body.xray-shop .select2-dropdown,
body.xray-shop .select2-container--default .select2-results__option {
	background: var(--card) !important;
	color: var(--foreground) !important;
	border-color: var(--border) !important;
}

body.xray-shop .select2-container--default .select2-results__option--highlighted[aria-selected],
body.xray-shop .select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--wine) !important;
	color: var(--primary-foreground) !important;
}

body.xray-shop .woocommerce-checkout-payment,
body.xray-shop #payment,
body.xray-shop #payment .payment_methods,
body.xray-shop #payment div.payment_box,
body.xray-shop .wc-block-checkout,
body.xray-shop .wc-block-components-checkout-step {
	background: var(--card) !important;
	border-color: var(--border) !important;
	color: var(--foreground) !important;
}

/* Strip leftover Gutenberg marketing. Keep Woo / shortcode / notices. */
body.xray-shop.woocommerce-cart .entry-content > .wp-block-cover,
body.xray-shop.woocommerce-cart .entry-content > .wp-block-media-text,
body.xray-shop.woocommerce-cart .entry-content > .wp-block-buttons,
body.xray-shop.woocommerce-cart .entry-content > .wp-block-image,
body.xray-shop.woocommerce-checkout .entry-content > .wp-block-cover,
body.xray-shop.woocommerce-checkout .entry-content > .wp-block-media-text,
body.xray-shop.woocommerce-checkout .entry-content > .wp-block-columns:not(:has([class*="woocommerce"])),
body.xray-shop.woocommerce-account .entry-content > .wp-block-cover,
body.xray-shop.woocommerce-account .entry-content > .wp-block-media-text,
body.xray-shop.woocommerce-account .entry-content > .wp-block-buttons,
body.xray-shop.woocommerce-order-received .entry-content > .wp-block-cover,
body.xray-shop .ast-related-posts-wrapper,
body.xray-shop .comments-area,
body.xray-shop .ast-single-post .entry-footer,
body.xray-shop.woocommerce-account .entry-content h1.wp-block-heading,
body.xray-shop.woocommerce-account .entry-content > .uagb-is-root-container > h1,
body.xray-shop.woocommerce-account .entry-header,
body.xray-shop.woocommerce-account .entry-title,
body.xray-shop.woocommerce-cart .entry-header,
body.xray-shop.woocommerce-cart .entry-title,
body.xray-shop.woocommerce-checkout .entry-header,
body.xray-shop.woocommerce-checkout .entry-title,
body.xray-shop.woocommerce-order-received .entry-header,
body.xray-shop.woocommerce-order-received .entry-title {
	display: none !important;
}

/* Sparse chrome: hide leftover consent chip. */
body.xray-shop .cmplz-manage-consent,
body.xray-shop #cmplz-manage-consent,
body.xray-shop button.cmplz-manage-consent,
body.xray-shop .cmplz-cookiebanner,
body.xray-shop #cmplz-cookiebanner-container {
	display: none !important;
}

/* Matomo MU banner: Astra paints buttons white; match intern SPA (dark ink on paper / dark ink on orange). */
body.xray-shop #scribigo-partner-matomo-banner {
	background: var(--card) !important;
	color: var(--foreground) !important;
	border-color: var(--border) !important;
}
body.xray-shop #scribigo-partner-matomo-banner a {
	color: var(--wine) !important;
}
body.xray-shop #scribigo-partner-matomo-banner button,
body.xray-shop #scribigo-partner-matomo-banner .btns button,
body.xray-shop #scribigo-partner-matomo-banner .btn button,
body.xray-shop #scribigo-partner-matomo-banner a button {
	background: var(--card) !important;
	color: var(--foreground) !important;
	border: 1px solid var(--border) !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
body.xray-shop #scribigo-partner-matomo-banner button:hover,
body.xray-shop #scribigo-partner-matomo-banner button:focus-visible,
body.xray-shop #scribigo-partner-matomo-banner a button:hover,
body.xray-shop #scribigo-partner-matomo-banner a button:focus-visible {
	background: var(--secondary) !important;
	color: var(--foreground) !important;
	border-color: var(--primary) !important;
	transform: none !important;
}
body.xray-shop #scribigo-partner-matomo-banner button.ok,
body.xray-shop #scribigo-partner-matomo-banner a button.ok {
	background: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-color: var(--primary) !important;
}
body.xray-shop #scribigo-partner-matomo-banner button.ok:hover,
body.xray-shop #scribigo-partner-matomo-banner button.ok:focus-visible,
body.xray-shop #scribigo-partner-matomo-banner a button.ok:hover,
body.xray-shop #scribigo-partner-matomo-banner a button.ok:focus-visible {
	background: var(--primary) !important;
	color: var(--primary-foreground) !important;
	filter: brightness(0.95);
	transform: none !important;
}

/* Spectra/UAGB marketing wrapper — zero padding so checkout cards sit flush. */
body.xray-shop.woocommerce-account .wp-block-uagb-container,
body.xray-shop.woocommerce-account .uagb-is-root-container,
body.xray-shop.woocommerce-cart .wp-block-uagb-container,
body.xray-shop.woocommerce-cart .uagb-is-root-container,
body.xray-shop.woocommerce-checkout .wp-block-uagb-container,
body.xray-shop.woocommerce-checkout .uagb-is-root-container,
body.xray-shop.woocommerce-checkout .uagb-container-inner-blocks-wrap,
body.xray-shop.woocommerce-checkout .entry-content > .uagb-is-root-container,
body.xray-shop.woocommerce-checkout article.page,
body.xray-shop.woocommerce-checkout #post-714,
body.xray-shop.woocommerce-checkout #post-714 .entry-content {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	box-shadow: none !important;
	border: 0 !important;
}

/* ── My Account layout ───────────────────────────────────────────── */
body.xray-shop.woocommerce-account .ast-container,
body.xray-shop.woocommerce-order-received .ast-container,
body.xray-shop.woocommerce-cart .ast-container,
body.xray-shop.woocommerce-checkout .ast-container {
	max-width: 72rem;
}

body.xray-shop.woocommerce-account .woocommerce,
body.xray-shop.xray-shop-account .woocommerce {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.25rem;
	float: none !important;
	width: 100% !important;
}

body.xray-shop.woocommerce-account .woocommerce::before,
body.xray-shop.woocommerce-account .woocommerce::after,
body.xray-shop.xray-shop-account .woocommerce::before,
body.xray-shop.xray-shop-account .woocommerce::after {
	display: none !important;
	content: none !important;
}

body.xray-shop.woocommerce-account:not(.logged-in) .woocommerce,
body.xray-shop.woocommerce-account .woocommerce-form-login,
body.xray-shop.woocommerce-account .u-columns.woocommerce-LostPassword {
	display: block;
	max-width: 28rem;
	margin-inline: auto;
	grid-template-columns: none;
}

body.xray-shop .woocommerce-MyAccount-navigation,
body.xray-shop .woocommerce-MyAccount-content {
	float: none !important;
	margin: 0 !important;
}

body.xray-shop .woocommerce-MyAccount-navigation {
	flex: 0 0 16.5rem;
	width: 16.5rem !important;
	max-width: 16.5rem !important;
	order: 1;
}

body.xray-shop .woocommerce-MyAccount-content {
	flex: 1 1 18rem;
	width: auto !important;
	min-width: 0;
	order: 2;
}

body.xray-shop .woocommerce-MyAccount-navigation {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-radius: 0.5rem !important;
	padding: 0.65rem !important;
	box-shadow: none !important;
}

body.xray-shop .woocommerce-MyAccount-navigation ul,
body.xray-shop .woocommerce-MyAccount-navigation li,
body.xray-shop .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link {
	background: transparent !important;
	border-color: transparent !important;
	color: var(--foreground) !important;
	box-shadow: none !important;
}

body.xray-shop .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.15rem;
}

body.xray-shop .ast-woo-grid-orders-container,
body.xray-shop .ast-orders-table__row,
body.xray-shop .ast-orders-table__cell,
body.xray-shop .ast-orders-table__row--status-completed,
body.xray-shop .ast-orders-table__row--status-pending,
body.xray-shop .ast-orders-table__row--status-cancelled,
body.xray-shop .ast-orders-table__row--status-processing,
body.xray-shop .ast-orders-table__row--status-on-hold,
body.xray-shop .ast-orders-table__row--status-failed,
body.xray-shop .my_account_subscriptions,
body.xray-shop .woocommerce-MyAccount-content .shop_table.my_account_subscriptions {
	background: var(--card) !important;
	color: var(--foreground) !important;
	border-color: var(--border) !important;
	box-shadow: none !important;
}

body.xray-shop .ast-orders-table__row {
	border: 1px solid var(--border) !important;
	border-radius: 0.5rem !important;
	margin-bottom: 0.75rem;
}

body.xray-shop .ast-woo-order-date,
body.xray-shop .ast-orders-table__cell,
body.xray-shop .ast-orders-table__cell a {
	color: var(--foreground) !important;
}

body.xray-shop .ast-orders-table__cell-order-actions a,
body.xray-shop .ast-orders-table__cell-order-actions .button {
	color: var(--wine) !important;
	background: transparent !important;
	border-color: var(--gold) !important;
}

body.xray-shop .woocommerce-MyAccount-navigation li {
	margin: 0;
	border: 0 !important;
	background: transparent !important;
}

body.xray-shop .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.65rem 0.85rem;
	border-radius: calc(var(--radius) + 2px);
	color: var(--muted-foreground) !important;
	text-decoration: none !important;
	font-family: var(--swo-font-sans);
	font-weight: 600;
	font-size: 0.9rem;
	background: transparent !important;
}

body.xray-shop .woocommerce-MyAccount-navigation a:hover,
body.xray-shop .woocommerce-MyAccount-navigation .is-active a {
	background: color-mix(in srgb, var(--wine) 12%, var(--card)) !important;
	color: var(--wine) !important;
}

body.xray-shop .woocommerce-MyAccount-content {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-radius: 0.5rem !important;
	padding: 1.25rem 1.4rem !important;
	color: var(--foreground) !important;
	box-shadow: none !important;
}

body.xray-shop .woocommerce-MyAccount-content > p,
body.xray-shop .woocommerce-MyAccount-content .woocommerce-info,
body.xray-shop .woocommerce-MyAccount-content .woocommerce-message {
	color: var(--foreground);
}

body.xray-shop.woocommerce-account .woocommerce-MyAccount-content h2,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content h3,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content h2.woocommerce-column__title,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content h2.woocommerce-order-details__title,
body.xray-shop.woocommerce-account .woocommerce-customer-details h2 {
	background: transparent !important;
	color: var(--wine) !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0 0 0.5rem !important;
	margin: 0 0 0.65rem !important;
	font-family: var(--swo-font-display) !important;
	font-weight: 500 !important;
}

body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.account-payment-methods-table {
	background: transparent !important;
	color: var(--foreground) !important;
	border-color: var(--border) !important;
	box-shadow: none !important;
}

body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.shop_table td,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table th,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td {
	background: transparent !important;
	color: var(--foreground) !important;
	border-color: var(--border) !important;
}

body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead th,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders thead th {
	color: var(--muted-foreground) !important;
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: var(--paper-deep) !important;
}

body.xray-shop.woocommerce-account .woocommerce-MyAccount-content mark,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content mark.order-number,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content mark.order-date,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content mark.order-status {
	background: transparent !important;
	color: var(--foreground) !important;
	font-weight: 700;
}

body.xray-shop.woocommerce-account .woocommerce-MyAccount-content mark.order-status {
	background: color-mix(in srgb, var(--wine) 12%, var(--card)) !important;
	color: var(--wine) !important;
	padding: 0.12em 0.45em;
	border-radius: 0.3em;
}

body.xray-shop.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.scribigo-account-button):not(.um-button):not(.um-request-button) {
	color: var(--wine) !important;
}

body.xray-shop.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.scribigo-account-button):not(.um-button):not(.um-request-button):hover {
	color: var(--wine-deep) !important;
}

body.xray-shop .woocommerce-MyAccount-content .woocommerce-Addresses,
body.xray-shop .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	width: 100%;
	float: none !important;
}

body.xray-shop .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.xray-shop .woocommerce-MyAccount-content .woocommerce-Addresses::after {
	display: none !important;
	content: none !important;
}

body.xray-shop .woocommerce-MyAccount-content .woocommerce-Address,
body.xray-shop .woocommerce-MyAccount-content .woocommerce-Addresses .u-column1,
body.xray-shop .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2 {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	background: var(--paper-deep) !important;
	border: 1px solid var(--border) !important;
	border-radius: 0.5rem !important;
	padding: 1.15rem 1.25rem;
	box-sizing: border-box;
}

body.xray-shop .woocommerce-MyAccount-content .woocommerce-Address-title,
body.xray-shop .woocommerce-MyAccount-content header.woocommerce-Address-title.title {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.5rem 0.75rem;
	margin: 0 0 0.85rem !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.xray-shop .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.xray-shop .woocommerce-MyAccount-content .woocommerce-Address-title h3,
body.xray-shop .woocommerce-MyAccount-content header.woocommerce-Address-title.title h2 {
	flex: 1 1 12rem;
	min-width: min(100%, 12rem);
	margin: 0 !important;
	padding: 0 !important;
	color: var(--wine) !important;
	background: transparent !important;
	font-size: 1.2rem !important;
	line-height: 1.3 !important;
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
}

body.xray-shop .woocommerce-MyAccount-content .woocommerce-Address address,
body.xray-shop .woocommerce-MyAccount-content .woocommerce-customer-details address {
	margin: 0;
	color: var(--muted-foreground);
	font-family: var(--swo-font-sans);
	font-style: normal;
	background: transparent !important;
}

body.xray-shop form.woocommerce-EditAccountForm,
body.xray-shop form.woocommerce-address-form,
body.xray-shop .woocommerce-PaymentMethods,
body.xray-shop .woocommerce-PaymentBox,
body.xray-shop #add_payment_method {
	background: transparent;
	color: var(--foreground);
}

body.xray-shop .woocommerce form .form-row label,
body.xray-shop .woocommerce-address-fields label,
body.xray-shop .woocommerce-EditAccountForm label {
	color: var(--muted-foreground) !important;
	font-size: 0.85rem;
	font-weight: 600;
}

@media (max-width: 768px) {
	body.xray-shop.woocommerce-account .woocommerce,
	body.xray-shop.xray-shop-account .woocommerce {
		flex-direction: column !important;
	}

	body.xray-shop .woocommerce-MyAccount-navigation,
	body.xray-shop .woocommerce-MyAccount-content {
		flex: 1 1 auto;
		width: 100% !important;
		max-width: none !important;
	}

	body.xray-shop .woocommerce-MyAccount-content .woocommerce-Addresses,
	body.xray-shop .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

/* ── Scribigo dashboard cream → intern tokens ────────────────────── */
body.xray-shop .scribigo-account-dashboard {
	--scribigo-primary: var(--wine);
	--scribigo-primary-dark: var(--wine-deep);
	--scribigo-text: var(--foreground);
	--scribigo-muted: var(--muted-foreground);
	--scribigo-border: var(--border);
	--scribigo-card: var(--card);
	--scribigo-soft: var(--paper-deep);
	display: block !important;
	color: var(--foreground);
}

body.xray-shop .cdp-copy-loader-overlay,
body.xray-shop .cmplz-blocked-content-notice {
	display: none !important;
}

body.xray-shop .scribigo-account-hero,
body.xray-shop .scribigo-account-upgrade,
body.xray-shop .scribigo-account-document-flat,
body.xray-shop .scribigo-account-lektorate {
	background: var(--paper-deep) !important;
	border: 1px solid var(--border) !important;
	box-shadow: none !important;
	color: var(--foreground) !important;
}

body.xray-shop .scribigo-account-card,
body.xray-shop .scribigo-account-subscription-card,
body.xray-shop .scribigo-account-hero-usage .scribigo-account-hero-quota,
body.xray-shop .scribigo-account-hero-usage-card,
body.xray-shop .scribigo-account-metric,
body.xray-shop .scribigo-account-detail-row {
	background: var(--card) !important;
	border-color: var(--border) !important;
	box-shadow: none !important;
	color: var(--foreground) !important;
}

body.xray-shop .scribigo-account-hero h2,
body.xray-shop .scribigo-account-card h3,
body.xray-shop .scribigo-account-card h4 {
	color: var(--wine) !important;
	font-family: var(--swo-font-display);
}

body.xray-shop .scribigo-account-notice {
	background: var(--gold-soft) !important;
	border-color: var(--gold) !important;
	color: var(--wine-deep) !important;
}

body.xray-shop .scribigo-account-status-pill.is-active {
	background: color-mix(in srgb, var(--wine) 12%, var(--card)) !important;
	color: var(--wine) !important;
}

body.xray-shop .scribigo-account-actions .button,
body.xray-shop .scribigo-account-upgrade .button,
body.xray-shop a.scribigo-account-button,
body.xray-shop .scribigo-account-hero .scribigo-account-button,
body.xray-shop .scribigo-account-actions .scribigo-account-button,
body.xray-shop .scribigo-account-upgrade .scribigo-account-button,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button {
	background: var(--wine) !important;
	border: 1px solid var(--wine) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--radius) !important;
	font-family: var(--swo-font-sans);
	font-weight: 600;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.xray-shop a.scribigo-account-button:hover,
body.xray-shop .scribigo-account-hero .scribigo-account-button:hover,
body.xray-shop .scribigo-account-actions .scribigo-account-button:hover,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button:hover {
	background: var(--wine) !important;
	border-color: var(--wine) !important;
	color: var(--primary-foreground) !important;
	transform: scale(1.03) !important;
}

body.xray-shop a.scribigo-account-button.is-secondary,
body.xray-shop .scribigo-account-actions .scribigo-account-button.is-secondary,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button.is-secondary {
	background: var(--card) !important;
	border: 1px solid var(--gold) !important;
	color: var(--wine-deep) !important;
	transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.xray-shop a.scribigo-account-button.is-secondary:hover,
body.xray-shop.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button.is-secondary:hover {
	background: var(--card) !important;
	border-color: color-mix(in srgb, var(--primary) 60%, transparent) !important;
	color: var(--wine-deep) !important;
	transform: none !important;
}

/* UM shortcodes inside Woo account: hide UM’s own sidebar, keep the form. */
body.xray-shop .woocommerce-MyAccount-content .um-account-side,
body.xray-shop .woocommerce-MyAccount-content .um-account-nav,
body.xray-shop .woocommerce-MyAccount-content .um-account-meta {
	display: none !important;
}

body.xray-shop .woocommerce-MyAccount-content .um-account-main,
body.xray-shop .woocommerce-MyAccount-content .um {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

/*
 * Datenschutz / OTP: cream type + gold border on wine fill.
 * Must beat intern-shop `.woocommerce button.button:not(.alt)` (outline / wine-on-cream).
 */
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content .um-request-button,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content a.um-request-button,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content .um-button,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content a.um-button,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content input.um-button,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.button.scribigo-account-otp__send,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.button.scribigo-account-otp__confirm,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.button.scribigo-account-delete-btn,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.scribigo-account-otp__send,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.scribigo-account-otp__confirm,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.scribigo-account-delete-btn {
	background: var(--wine) !important;
	border: 1px solid var(--gold) !important;
	color: var(--primary-foreground) !important;
	text-shadow: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content .um-request-button:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content a.um-request-button:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content .um-button:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content a.um-button:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content input.um-button:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.button.scribigo-account-otp__send:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.button.scribigo-account-otp__confirm:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.button.scribigo-account-delete-btn:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.scribigo-account-otp__send:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.scribigo-account-otp__confirm:hover,
body.xray-shop.woocommerce-account .woocommerce .woocommerce-MyAccount-content button.scribigo-account-delete-btn:hover {
	background: var(--wine) !important;
	border-color: var(--gold) !important;
	color: var(--primary-foreground) !important;
	transform: scale(1.03) !important;
}

/* ── Order received ──────────────────────────────────────────────── */
body.xray-shop.woocommerce-order-received .woocommerce-order,
body.xray-shop.woocommerce-order-received .wc-block-order-confirmation {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--foreground) !important;
}

body.xray-shop.woocommerce-order-received .woocommerce-order-overview,
body.xray-shop.woocommerce-order-received .wc-block-order-confirmation-summary,
body.xray-shop.woocommerce-order-received .wc-block-order-confirmation-totals,
body.xray-shop.woocommerce-order-received .woocommerce-customer-details,
body.xray-shop.woocommerce-order-received .woocommerce-order-details,
body.xray-shop.woocommerce-order-received .wc-block-order-confirmation-billing-address,
body.xray-shop.woocommerce-order-received .wc-block-order-confirmation-shipping-address {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-radius: 0.5rem !important;
	padding: 1.25rem 1.5rem;
	color: var(--foreground) !important;
	box-shadow: none !important;
}

body.xray-shop.woocommerce-order-received h2.woocommerce-column__title,
body.xray-shop.woocommerce-order-received h2.woocommerce-order-details__title {
	background: transparent !important;
	color: var(--wine) !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 0 0.65rem !important;
}

body.xray-shop.woocommerce-order-received .woocommerce-thankyou-order-received,
body.xray-shop.woocommerce-order-received .wc-block-order-confirmation-status {
	color: var(--wine) !important;
	font-family: var(--swo-font-display);
	background: transparent !important;
	border: 0 !important;
}

/* Cart block cards (Gutenberg cart) */
body.xray-shop .wp-block-woocommerce-cart,
body.xray-shop .wp-block-woocommerce-filled-cart-block,
body.xray-shop .wc-block-cart-items,
body.xray-shop .wp-block-woocommerce-cart-order-summary-block {
	background: var(--card) !important;
	border-color: var(--border) !important;
	color: var(--foreground) !important;
	box-shadow: none !important;
}

/*
 * Beat swoonora-astra account-link !important (7x :not + content a).
 * Primary CTA = intern wine fill + cream type.
 */
body.xray-shop.swoonora-astra.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.swoonora-account-dashboard__btn):not(.swoonora-account-dashboard__textlink):not(.um-button):not(.um-request-button),
body.xray-shop.swoonora-astra.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.swoonora-account-dashboard__btn):not(.swoonora-account-dashboard__textlink):not(.um-button):not(.um-request-button):link,
body.xray-shop.swoonora-astra.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.swoonora-account-dashboard__btn):not(.swoonora-account-dashboard__textlink):not(.um-button):not(.um-request-button):visited {
	background: var(--wine) !important;
	border-color: var(--wine) !important;
	color: var(--primary-foreground) !important;
}

body.xray-shop.swoonora-astra.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.swoonora-account-dashboard__btn):not(.swoonora-account-dashboard__textlink):not(.um-button):not(.um-request-button):hover {
	background: var(--wine) !important;
	border-color: var(--wine) !important;
	color: var(--primary-foreground) !important;
	transform: scale(1.03) !important;
}

body.xray-shop.swoonora-astra.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button.is-secondary:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.swoonora-account-dashboard__btn):not(.swoonora-account-dashboard__textlink):not(.um-button):not(.um-request-button),
body.xray-shop.swoonora-astra.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button.is-secondary:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.swoonora-account-dashboard__btn):not(.swoonora-account-dashboard__textlink):not(.um-button):not(.um-request-button):link,
body.xray-shop.swoonora-astra.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button.is-secondary:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.swoonora-account-dashboard__btn):not(.swoonora-account-dashboard__textlink):not(.um-button):not(.um-request-button):visited {
	background: var(--card) !important;
	border-color: var(--gold) !important;
	color: var(--wine-deep) !important;
}

body.xray-shop.swoonora-astra.woocommerce-account .woocommerce-MyAccount-content a.scribigo-account-button.is-secondary:not(.button):not(.woocommerce-Button):not(.woocommerce-button):not(.swoonora-account-dashboard__btn):not(.swoonora-account-dashboard__textlink):not(.um-button):not(.um-request-button):hover {
	background: var(--card) !important;
	border-color: color-mix(in srgb, var(--primary) 60%, transparent) !important;
	color: var(--wine-deep) !important;
	transform: none !important;
}

/*
 * Fernabsatz consent: Swoonora theme.css hides Additional order information
 * (incl. Scribigo immediate-service checkbox). X-Ray Kasse must show it —
 * required, not collapsed into terms only.
 */
body.xray-shop.swoonora-astra #order-fields,
body.xray-shop.swoonora-astra .wp-block-woocommerce-checkout-additional-information-block,
body.xray-shop.swoonora-astra .wc-block-checkout__additional-fields,
body.xray-shop.swoonora-astra .woocommerce-checkout-additional-information-block,
body.xray-shop #order-fields,
body.xray-shop .wp-block-woocommerce-checkout-additional-information-block,
body.xray-shop .wc-block-checkout__additional-fields {
	display: block !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	visibility: visible !important;
	clip: auto !important;
}

body.xray-shop #order-fields .wc-block-components-checkout-step__heading,
body.xray-shop .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__heading,
body.xray-shop .wc-block-checkout__additional-fields .wc-block-components-checkout-step__heading,
body.xray-shop #order-fields .wc-block-components-checkout-step__title,
body.xray-shop .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__title,
body.xray-shop #order-fields .wc-block-components-checkout-step__description,
body.xray-shop .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__description {
	display: none !important;
}

body.xray-shop.swoonora-astra #scribigo_immediate_service_consent_field,
body.xray-shop.swoonora-astra .scribigo-immediate-service-consent,
body.xray-shop #scribigo_immediate_service_consent_field,
body.xray-shop .scribigo-immediate-service-consent,
body.xray-shop #order-fields .wc-block-components-checkbox,
body.xray-shop .xray-immediate-consent-host .wc-block-components-checkbox {
	display: flex !important;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0 !important;
	padding: 0.9rem 1rem !important;
	border: 1px solid var(--gold) !important;
	border-radius: var(--radius) !important;
	background: color-mix(in srgb, var(--gold) 10%, var(--card)) !important;
	height: auto !important;
	overflow: visible !important;
}

body.xray-shop #scribigo_immediate_service_consent_field label,
body.xray-shop .scribigo-immediate-service-consent label,
body.xray-shop #order-fields .wc-block-components-checkbox__label,
body.xray-shop .xray-immediate-consent-host .wc-block-components-checkbox__label {
	color: var(--wine-deep) !important;
	font-family: var(--swo-font-sans);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.45;
}

body.xray-shop #scribigo_immediate_service_consent_field a,
body.xray-shop .scribigo-immediate-service-consent a,
body.xray-shop #order-fields .wc-block-components-checkbox__label a {
	color: var(--wine) !important;
	text-decoration: underline;
}

body.xray-shop #scribigo_immediate_service_consent,
body.xray-shop input[name="scribigo_immediate_service_consent"],
body.xray-shop #order-fields .wc-block-components-checkbox__input,
body.xray-shop .xray-immediate-consent-host .wc-block-components-checkbox__input,
body.xray-shop .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
body.xray-shop .wc-block-checkout__terms .wc-block-components-checkbox__input {
	accent-color: var(--wine);
	width: 1.15rem;
	height: 1.15rem;
	min-width: 1.15rem;
	margin-top: 0.15rem;
	flex-shrink: 0;
	border: 1.5px solid var(--gold) !important;
	border-radius: 3px;
	background: var(--card) !important;
}

body.xray-shop #scribigo_immediate_service_consent:checked,
body.xray-shop input[name="scribigo_immediate_service_consent"]:checked,
body.xray-shop #order-fields .wc-block-components-checkbox__input:checked,
body.xray-shop .xray-immediate-consent-host .wc-block-components-checkbox__input:checked,
body.xray-shop .woocommerce-terms-and-conditions-wrapper input[type="checkbox"]:checked,
body.xray-shop .wc-block-checkout__terms .wc-block-components-checkbox__input:checked {
	background: var(--wine) !important;
	border-color: var(--wine) !important;
}

body.xray-shop #order-fields .wc-block-components-checkbox__mark,
body.xray-shop .xray-immediate-consent-host .wc-block-components-checkbox__mark,
body.xray-shop .wc-block-checkout__terms .wc-block-components-checkbox__mark {
	fill: var(--gold) !important;
}

/*
 * Checkout / cart busy overlays — intern paper + wine, one CSS spinner.
 * Scoped to body.xray-shop so default Stage checkout is untouched.
 *
 * Woo + Astra stack several layers:
 *  - jQuery.blockUI `.blockOverlay` (inline grey) + empty `.blockMsg`
 *  - Woo `.blockOverlay::before` loader.svg disc
 *  - Astra Modern Checkout skeleton (`#payment` SVG + scale(0.92))
 *  - form.checkout.processing / `.woocommerce-checkout-processing` on place order
 *  - WP `.spinner.is-active` and button ::after gifs next to Jetzt kaufen
 */
@keyframes xray-intern-spin {
	to {
		rotate: 360deg;
	}
}

body.xray-shop .blockUI.blockOverlay,
body.xray-shop .woocommerce .blockUI.blockOverlay,
body.xray-shop.woocommerce-checkout .woocommerce #payment .blockUI.blockOverlay,
body.xray-shop.woocommerce-checkout.ast-modern-checkout #payment > .blockUI.blockOverlay,
body.xray-shop.woocommerce-checkout.ast-modern-checkout .woocommerce-checkout-review-order-table > .blockUI.blockOverlay,
body.xray-shop.woocommerce-checkout .woocommerce #order_review .blockUI.blockOverlay,
body.xray-shop.woocommerce-checkout .woocommerce #ast-order-review-content .blockUI.blockOverlay,
body.xray-shop.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table .blockUI.blockOverlay,
body.xray-shop .woocommerce-checkout-payment .blockUI.blockOverlay,
body.xray-shop .woocommerce-cart-form .blockOverlay,
body.xray-shop .cart_totals .blockOverlay,
body.xray-shop .wc-block-components-loading-mask::before,
body.xray-shop .wc-block-components-loading-mask__overlay {
	border: 0 !important;
	border-radius: inherit;
	background: color-mix(in srgb, var(--wine) 10%, color-mix(in srgb, var(--paper) 78%, transparent)) !important;
	background-image: none !important;
	background-size: auto !important;
	opacity: 1 !important;
	cursor: progress !important;
	transform: none !important;
	animation: none !important;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

body.xray-shop .woocommerce .blockUI.blockOverlay::before,
body.xray-shop .woocommerce .loader::before,
body.xray-shop.woocommerce .blockUI.blockOverlay::before,
body.xray-shop.woocommerce-page .blockUI.blockOverlay::before,
body.xray-shop.woocommerce-checkout .woocommerce #payment .blockUI.blockOverlay::before,
body.xray-shop.woocommerce-checkout.ast-modern-checkout #payment > .blockUI.blockOverlay::before,
body.xray-shop.woocommerce-checkout .woocommerce #order_review .blockUI.blockOverlay::before,
body.xray-shop.woocommerce-checkout .woocommerce #ast-order-review-content .blockUI.blockOverlay::before,
body.xray-shop.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table .blockUI.blockOverlay::before,
body.xray-shop .woocommerce-checkout-payment .blockUI.blockOverlay::before,
body.xray-shop .woocommerce-cart-form .blockOverlay::before,
body.xray-shop .cart_totals .blockOverlay::before {
	content: "" !important;
	display: block !important;
	box-sizing: border-box !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 28px !important;
	height: 28px !important;
	max-width: 28px !important;
	max-height: 28px !important;
	margin: -14px 0 0 -14px !important;
	border: 2px solid color-mix(in srgb, var(--gold) 42%, var(--card)) !important;
	border-top-color: var(--wine) !important;
	border-radius: 50% !important;
	background: none !important;
	background-image: none !important;
	background-size: auto !important;
	box-shadow: none !important;
	transform: none !important;
	animation: xray-intern-spin 0.7s linear infinite !important;
}

/* Empty blockUI message box: hide the leftover white card. */
body.xray-shop .blockUI.blockMsg,
body.xray-shop .blockUI.blockMsg.blockElement {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: transparent !important;
	font-size: 0 !important;
}

body.xray-shop .blockUI.blockMsg:not(:empty) {
	padding: 1.1rem 1.35rem !important;
	border: 1px solid var(--border) !important;
	border-radius: 0.5rem !important;
	background: var(--card) !important;
	box-shadow: none !important;
	color: var(--foreground) !important;
	font-family: var(--swo-font-sans);
	font-size: 0.95rem !important;
}

/* Same parent can get two blockUI layers (Woo + Astra). Keep one spinner. */
body.xray-shop .blockUI.blockOverlay ~ .blockUI.blockOverlay {
	display: none !important;
}

/* WP admin spinner gif → same intern ring when it leaks onto checkout. */
body.xray-shop.woocommerce-checkout .spinner.is-active,
body.xray-shop form.checkout .spinner.is-active,
body.xray-shop .woocommerce #payment .spinner.is-active {
	background: none !important;
	background-image: none !important;
	visibility: visible !important;
	float: none;
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	border: 2px solid color-mix(in srgb, var(--gold) 42%, var(--card)) !important;
	border-top-color: var(--wine) !important;
	border-radius: 50% !important;
	animation: xray-intern-spin 0.7s linear infinite !important;
}

body.xray-shop .wc-block-components-spinner {
	background: none !important;
	background-image: none !important;
}

body.xray-shop .wc-block-components-spinner::after {
	border-color: color-mix(in srgb, var(--gold) 42%, var(--card)) !important;
	border-top-color: var(--wine) !important;
	animation: xray-intern-spin 0.7s linear infinite !important;
}

/*
 * Jetzt kaufen / place-order: one overlay (the form), no stacked payment
 * skeleton + button gif + empty blockMsg.
 */
body.xray-shop form.checkout.processing #payment > .blockUI,
body.xray-shop form.checkout.processing .woocommerce-checkout-payment > .blockUI,
body.xray-shop form.checkout.processing .woocommerce-checkout-review-order-table > .blockUI,
body.xray-shop form.checkout.processing #order_review > .blockUI,
body.xray-shop form.checkout.processing #ast-order-review-content > .blockUI,
body.xray-shop form.checkout.woocommerce-checkout-processing #payment > .blockUI,
body.xray-shop.woocommerce-checkout-processing form.checkout.processing #payment > .blockUI,
body.xray-shop.woocommerce-checkout-processing form.checkout.processing .woocommerce-checkout-review-order-table > .blockUI,
body.xray-shop:has(form.checkout.processing) #payment > .blockUI,
body.xray-shop:has(form.checkout.processing) .woocommerce-checkout-payment > .blockUI,
body.xray-shop:has(form.checkout.processing) .woocommerce-checkout-review-order-table > .blockUI,
body.xray-shop:has(form.checkout.processing) #order_review > .blockUI,
body.xray-shop:has(form.checkout.processing) #ast-order-review-content > .blockUI {
	display: none !important;
}

body.xray-shop form.checkout.processing #place_order::before,
body.xray-shop form.checkout.processing #place_order::after,
body.xray-shop form.checkout.processing #place_order .spinner,
body.xray-shop form.checkout.processing #place_order .spinner.is-active,
body.xray-shop form.checkout.processing #place_order .blockUI,
body.xray-shop.woocommerce-checkout-processing #place_order::before,
body.xray-shop.woocommerce-checkout-processing #place_order::after,
body.xray-shop.woocommerce-checkout-processing #place_order .spinner.is-active {
	display: none !important;
	background-image: none !important;
	content: none !important;
	animation: none !important;
}

body.xray-shop form.checkout.processing #place_order,
body.xray-shop.woocommerce-checkout-processing #place_order {
	opacity: 1 !important;
	cursor: progress !important;
}

@media (prefers-reduced-motion: reduce) {
	body.xray-shop .woocommerce .blockUI.blockOverlay::before,
	body.xray-shop .woocommerce .loader::before,
	body.xray-shop.woocommerce-checkout .woocommerce #payment .blockUI.blockOverlay::before,
	body.xray-shop.woocommerce-checkout .woocommerce #order_review .blockUI.blockOverlay::before,
	body.xray-shop.woocommerce-checkout .woocommerce .woocommerce-checkout-review-order-table .blockUI.blockOverlay::before,
	body.xray-shop.woocommerce-checkout .spinner.is-active,
	body.xray-shop .wc-block-components-spinner::after {
		animation: none !important;
	}
}

/* Kasse-Frame (15.11.2026): Konto zeigt das klassische Textbuddy-Konto
   (Tarif, Abo, Document-Flats, Downloads). Nur Support-Tickets bleiben aus. */
body.xray-shop .woocommerce-MyAccount-navigation-link--support-tickets {
	display: none !important;
}

body.xray-shop.xray-shop-account .scribigo-account-dashboard > * + * {
	margin-top: 1rem;
}

body.xray-shop.xray-shop-account .scribigo-account-dashboard--xray {
	margin: 0 0 1.25rem;
}

body.xray-shop.xray-shop-account .scribigo-account-dashboard--xray > h2 {
	margin: 0.15rem 0 0.5rem;
	font-family: "Cormorant Garamond", serif;
	font-weight: 600;
	color: var(--foreground);
}

body.xray-shop.xray-shop-account .scribigo-account-lektorate {
	margin-top: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	background: var(--card);
}

body.xray-shop footer.site-footer,
body.xray-shop .ast-small-footer,
body.xray-shop .ast-footer-overlay,
body.xray-shop #colophon,
body.xray-shop .site-footer,
body.xray-shop .widget_pages,
body.xray-shop .widget_nav_menu {
	display: none !important;
}

/* Dedicated Gutachten login card (mirrors Buchworx intern-shop login, Scribigo orange/ink). */
body.xray-shop #scribigo-login-card a:hover,
body.xray-shop #scribigo-login-card button:hover,
body.xray-shop #scribigo-login-card input[type="submit"]:hover,
body.xray-shop #scribigo-login-card .um-button:hover,
body.xray-shop .scribigo-login-card a:hover,
body.xray-shop .scribigo-login-card button:hover,
body.xray-shop .scribigo-login-card input[type="submit"]:hover {
	transform: none !important;
}

body.xray-shop.scribigo-login-card-page,
body.xray-shop.swoonora-astra.scribigo-login-card-page,
body.xray-shop.swoonora-brand.scribigo-login-card-page,
body.xray-shop.xray-shop-login {
	background: var(--background) !important;
	color: var(--foreground) !important;
}

body.xray-shop.scribigo-login-card-page .entry-content > *:not(.scribigo-login-card-wrap),
body.xray-shop.xray-shop-login .entry-content > *:not(.scribigo-login-card-wrap):not(.um):not(.um-astra-form) {
	display: none !important;
}

body.xray-shop .scribigo-login-card-wrap,
body.xray-shop.swoonora-astra .scribigo-login-card-wrap,
body.xray-shop.swoonora-brand .scribigo-login-card-wrap {
	--sglc-bg: var(--background);
	--sglc-card: var(--card);
	--sglc-fg: var(--ink);
	--sglc-muted: var(--muted-foreground);
	--sglc-placeholder: var(--muted-foreground);
	--sglc-primary: var(--primary);
	--sglc-primary-fg: var(--primary-foreground);
	--sglc-border: var(--border);
	--sglc-input: var(--card);
	--sglc-radius: var(--radius);
	--sglc-control: var(--radius);
	--sglc-shadow: 0 12px 32px oklch(0.16 0.006 60 / 8%);
	font-family: var(--swo-font-sans);
}

body.xray-shop .scribigo-login-card,
body.xray-shop.swoonora-astra .scribigo-login-card,
body.xray-shop #scribigo-login-card {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius) !important;
	box-shadow: var(--sglc-shadow, 0 12px 32px oklch(0.16 0.006 60 / 8%)) !important;
	color: var(--ink) !important;
}

/* Standalone UM register / password pages still use the card. Login lives in #scribigo-login-card. */
body.xray-shop .um-astra-form.um.um-register .um-form,
body.xray-shop .um-astra-form.um.um-password .um-form,
body.xray-shop .um.um-register .um-form,
body.xray-shop .um.um-password .um-form {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius) !important;
	box-shadow: var(--sglc-shadow, 0 12px 32px oklch(0.16 0.006 60 / 8%)) !important;
	color: var(--ink) !important;
}

/* Nested UM chrome inside the login card is not a second card. */
body.xray-shop #scribigo-login-card .um,
body.xray-shop #scribigo-login-card .um.um-login,
body.xray-shop #scribigo-login-card .um.um-register,
body.xray-shop #scribigo-login-card .um.um-password,
body.xray-shop #scribigo-login-card .um-astra-form,
body.xray-shop #scribigo-login-card .um-form,
body.xray-shop #scribigo-login-card .um-form > form,
body.xray-shop #scribigo-login-card form,
body.xray-shop .scribigo-login-card .um-astra-form.um .um-form,
body.xray-shop .scribigo-login-card .um.um-login .um-form,
body.xray-shop .scribigo-login-card .um.um-register .um-form,
body.xray-shop .scribigo-login-card .um.um-password .um-form,
body.xray-shop .scribigo-login-card .um-form > form {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	display: flow-root !important;
	overflow: visible !important;
	height: auto !important;
	min-height: 0 !important;
	float: none !important;
}

/* Name / OTP wrappers: no nested frame, but keep [hidden] working. */
body.xray-shop #scribigo-login-card .scribigo-magic-code,
body.xray-shop #scribigo-login-card .scribigo-magic-code-auth,
body.xray-shop #scribigo-login-card .scribigo-magic-code-root,
body.xray-shop #scribigo-login-card .scribigo-magic-code-root--inline,
body.xray-shop #scribigo-login-card .scribigo-magic-code-panel,
body.xray-shop #scribigo-login-card .scribigo-magic-code-signup,
body.xray-shop .scribigo-login-card .scribigo-magic-code-panel,
body.xray-shop .scribigo-login-card .scribigo-magic-code-signup {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

body.xray-shop #scribigo-login-card .scribigo-magic-code-root[hidden],
body.xray-shop #scribigo-login-card .scribigo-magic-code-panel[hidden],
body.xray-shop #scribigo-login-card .scribigo-magic-code-signup[hidden] {
	display: none !important;
}

body.xray-shop .scribigo-login-card__eyebrow,
body.xray-shop.swoonora-astra .scribigo-login-card__eyebrow {
	color: var(--primary) !important;
	font-family: var(--swo-font-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
}

body.xray-shop .scribigo-login-card__title,
body.xray-shop #scribigo-login-card h1.scribigo-login-card__title,
body.xray-shop.swoonora-astra .scribigo-login-card__title {
	font-family: var(--swo-font-display) !important;
	font-weight: 700 !important;
	color: var(--ink) !important;
	letter-spacing: -0.02em !important;
}

body.xray-shop .scribigo-login-card__lead,
body.xray-shop .scribigo-login-card__foot,
body.xray-shop .scribigo-login-card__divider-label {
	color: var(--muted-foreground) !important;
	font-family: var(--swo-font-sans);
}

body.xray-shop .scribigo-login-card .um-social-login a,
body.xray-shop .scribigo-login-card a.um-button-social,
body.xray-shop .scribigo-login-card a.scribigo-login-card__social-btn,
body.xray-shop #scribigo-login-card [id^="um-shortcode-social-"] a.um-button,
body.xray-shop.swoonora-astra .scribigo-login-card a.um-button.um-button-social,
body.xray-shop.swoonora-astra .scribigo-login-card a.um-button.um-button-google {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius) !important;
	color: var(--ink) !important;
	box-shadow: none !important;
	font-family: var(--swo-font-sans) !important;
	font-weight: 600 !important;
	transform: none !important;
	filter: none !important;
}

body.xray-shop .scribigo-login-card input[type="text"],
body.xray-shop .scribigo-login-card input[type="email"],
body.xray-shop .scribigo-login-card input[type="password"],
body.xray-shop #scribigo-login-card .um-form input,
body.xray-shop.swoonora-astra #scribigo-login-card .um-form input[type="text"],
body.xray-shop.swoonora-astra #scribigo-login-card .um-form input[type="email"],
body.xray-shop .scribigo-login-card__voucher-input,
body.xray-shop .scribigo-magic-code-digit,
body.xray-shop .scribigo-magic-code-inputs input,
body.xray-shop .scribigo-magic-code-auth input {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius) !important;
	color: var(--ink) !important;
	box-shadow: none !important;
	-webkit-text-fill-color: var(--ink) !important;
}

body.xray-shop .scribigo-login-card input:focus,
body.xray-shop .scribigo-magic-code-digit:focus,
body.xray-shop .scribigo-magic-code-inputs input:focus {
	border-color: var(--primary) !important;
	box-shadow: 0 0 0 3px oklch(0.66 0.19 45 / 22%) !important;
}

body.xray-shop .scribigo-login-card .um-form input[type="submit"].um-button,
body.xray-shop #scribigo-login-card .um-form input[type="submit"].um-button,
body.xray-shop .scribigo-login-card button[type="submit"],
body.xray-shop .scribigo-login-card .um-button:not(.um-button-social):not(.um-button-google):not(.scribigo-login-card__social-btn),
body.xray-shop .scribigo-login-card input[type="submit"],
body.xray-shop .scribigo-login-card input.um-button,
body.xray-shop #scribigo-login-card input.um-button,
body.xray-shop #scribigo-login-card #um-submit-btn,
body.xray-shop .scribigo-login-card__primary,
body.xray-shop .scribigo-magic-code-submit,
body.xray-shop .scribigo-magic-code-signup-submit,
body.xray-shop button.scribigo-magic-code-submit,
body.xray-shop button.scribigo-magic-code-signup-submit,
body.xray-shop #scribigo-login-card .scribigo-magic-code-submit,
body.xray-shop #scribigo-login-card .scribigo-magic-code-signup-submit,
body.xray-shop #scribigo-login-card button.scribigo-magic-code-submit,
body.xray-shop #scribigo-login-card button.scribigo-magic-code-signup-submit {
	background: var(--primary) !important;
	background-color: var(--primary) !important;
	border: 1px solid var(--primary) !important;
	border-radius: var(--radius) !important;
	color: var(--primary-foreground) !important;
	-webkit-text-fill-color: var(--primary-foreground) !important;
	box-shadow: none !important;
	font-family: var(--swo-font-sans) !important;
	font-weight: 700 !important;
	text-transform: none !important;
	text-shadow: none !important;
	filter: none !important;
	transform: none !important;
	opacity: 1 !important;
}

body.xray-shop .scribigo-login-card .um-social-login a:hover,
body.xray-shop .scribigo-login-card a.um-button-social:hover,
body.xray-shop .scribigo-login-card a.scribigo-login-card__social-btn:hover,
body.xray-shop .scribigo-login-card a.um-button.um-button-google:hover,
body.xray-shop #scribigo-login-card [id^="um-shortcode-social-"] a.um-button:hover {
	background: var(--secondary) !important;
	border-color: var(--ink) !important;
	color: var(--ink) !important;
	transform: none !important;
}

body.xray-shop .scribigo-login-card button[type="submit"]:hover,
body.xray-shop .scribigo-magic-code-submit:hover,
body.xray-shop .scribigo-magic-code-signup-submit:hover,
body.xray-shop #scribigo-login-card .scribigo-magic-code-submit:hover,
body.xray-shop #scribigo-login-card .scribigo-magic-code-signup-submit:hover,
body.xray-shop .scribigo-login-card .um-button:not(.um-button-social):not(.um-button-google):hover,
body.xray-shop .scribigo-login-card .um-form input[type="submit"].um-button:hover,
body.xray-shop .scribigo-login-card .scribigo-login-card__primary:hover {
	background: var(--petrol) !important;
	background-color: var(--petrol) !important;
	border-color: var(--petrol) !important;
	color: var(--petrol-foreground) !important;
	-webkit-text-fill-color: var(--petrol-foreground) !important;
	transform: none !important;
	filter: none !important;
}

body.xray-shop #scribigo-login-card label.um-field-checkbox,
body.xray-shop .scribigo-login-card label.um-field-checkbox,
body.xray-shop #scribigo-login-card .um-field-checkbox-option {
	color: var(--ink) !important;
	font-weight: 600 !important;
}

body.xray-shop #scribigo-login-card input[type="checkbox"],
body.xray-shop .scribigo-login-card input[type="checkbox"] {
	accent-color: var(--primary);
}

body.xray-shop .scribigo-magic-code-resend,
body.xray-shop .scribigo-login-card__text-link {
	color: var(--primary) !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* Standalone magic-code (checkout / account OTP). Login-card steps are stripped above. */
body.xray-shop .scribigo-magic-code-panel,
body.xray-shop .scribigo-magic-code-root,
body.xray-shop .scribigo-magic-code-auth {
	background: var(--card) !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius) !important;
	color: var(--ink) !important;
}

body.xray-shop #scribigo-login-card .scribigo-magic-code-panel,
body.xray-shop #scribigo-login-card .scribigo-magic-code-root,
body.xray-shop #scribigo-login-card .scribigo-magic-code-auth,
body.xray-shop #scribigo-login-card .scribigo-magic-code-signup,
body.xray-shop .scribigo-login-card .scribigo-magic-code-panel,
body.xray-shop .scribigo-login-card .scribigo-magic-code-root,
body.xray-shop .scribigo-login-card .scribigo-magic-code-auth,
body.xray-shop .scribigo-login-card .scribigo-magic-code-signup {
	background: transparent !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

body.xray-shop .scribigo-login-card__voucher-panel {
	background: var(--background) !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius) !important;
}

/* Order-received → SPA progress CTA */
body.xray-shop .xray-thankyou-progress {
	margin: 1.5em 0 !important;
	padding: 1.35em 1.5em !important;
	border: 2px solid var(--border, currentColor) !important;
	background: var(--card, var(--background)) !important;
	color: var(--foreground, var(--ink)) !important;
	border-radius: var(--radius, 0) !important;
	box-shadow: none !important;
}

body.xray-shop .xray-thankyou-progress h2 {
	margin: 0 0 0.55em !important;
	color: var(--primary, var(--ink)) !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

body.xray-shop .xray-thankyou-progress__cta,
body.xray-shop a.button.xray-thankyou-progress__cta {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: var(--primary, var(--ink)) !important;
	border: 2px solid var(--primary, var(--ink)) !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	padding: 0.75rem 1.25rem !important;
}

body.xray-shop .xray-thankyou-progress__cta:hover,
body.xray-shop .xray-thankyou-progress__cta:focus,
body.xray-shop .xray-thankyou-progress__cta:focus-visible,
body.xray-shop a.button.xray-thankyou-progress__cta:hover,
body.xray-shop a.button.xray-thankyou-progress__cta:focus,
body.xray-shop a.button.xray-thankyou-progress__cta:focus-visible {
	background: var(--primary, var(--ink)) !important;
	border-color: var(--primary, var(--ink)) !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
}

/* Kasse frame thank-you: «Zurück zu …» (scribigo_kasse_render_return_cta, MU stage-only) */
body.xray-shop .scribigo-kasse-return__cta,
body.xray-shop a.button.scribigo-kasse-return__cta {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: var(--wine, var(--primary)) !important;
	border: 1px solid var(--wine, var(--primary)) !important;
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-shadow: none !important;
}

body.xray-shop .scribigo-kasse-return__cta:hover,
body.xray-shop .scribigo-kasse-return__cta:focus,
body.xray-shop .scribigo-kasse-return__cta:focus-visible,
body.xray-shop .scribigo-kasse-return__cta:active,
body.xray-shop a.button.scribigo-kasse-return__cta:hover,
body.xray-shop a.button.scribigo-kasse-return__cta:focus,
body.xray-shop a.button.scribigo-kasse-return__cta:focus-visible,
body.xray-shop a.button.scribigo-kasse-return__cta:active {
	background: var(--wine, var(--primary)) !important;
	border-color: var(--wine, var(--primary)) !important;
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	transform: none !important;
	filter: none !important;
}
