/* Widerrufsbutton + Gewährleistungshinweis im blauen Footer-Balken (tebak-rechtliches.php) */

#footer-bottom .tebak-footer-rechtliches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 32px;
	padding: 6px 0;
}

#footer-bottom .tebak-footer-rechtliches p.eu-owb-order-withdraw-from-contract-button {
	margin: 0;
	padding: 0;
}

#footer-bottom .tebak-footer-rechtliches .eu-owb-order-withdraw-from-contract-button a.button {
	display: inline-block;
	margin: 0;
	padding: 8px 20px;
	border: 2px solid #fff;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 1px;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s, color 0.3s;
}

#footer-bottom .tebak-footer-rechtliches .eu-owb-order-withdraw-from-contract-button a.button:hover,
#footer-bottom .tebak-footer-rechtliches .eu-owb-order-withdraw-from-contract-button a.button:focus-visible {
	background: #fff;
	color: #204f76;
}

#footer-bottom .tebak-footer-rechtliches .wc-gzd-legal-guarantee {
	margin: 0;
	padding: 0;
	text-align: center;
}

#footer-bottom .tebak-footer-rechtliches .wc-gzd-legal-guarantee-label > a {
	color: #fff;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#footer-bottom .tebak-footer-rechtliches .wc-gzd-legal-guarantee-label > a:hover {
	color: #d6e4f0;
}

/* Widerrufsseite: Absende-Button wie die übrigen Hauptbuttons des Themes */
form.woocommerce-form-order-withdrawal-request button.woocommerce-form-return_request__submit {
	min-width: 240px;
	padding: 9px 20px;
	border: 2px solid #214f76;
	border-radius: 0;
	background-color: #214f76;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: background-color 0.3s, border-color 0.3s;
}

form.woocommerce-form-order-withdrawal-request button.woocommerce-form-return_request__submit:hover {
	background-color: #2e70aa;
	border-color: #2e70aa;
}

.tebak-widerruf-intro {
	margin-bottom: 28px;
}

/* Gewährleistungs-Popup: Divis Reset (div { margin: 0 }) hebt die Zentrierung des Browser-Popovers auf */
.wc-gzd-popover:popover-open:not(.wc-gzd-popover-hover) {
	margin: auto;
	padding: 12px 16px 16px;
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	border: 0;
	background: #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.wc-gzd-popover .wc-gzd-popover-close svg {
	fill: #333;
}

.wc-gzd-popover .wc-gzd-popover-caption {
	margin-top: 8px;
	padding: 0;
	text-align: center;
	font-size: 14px;
}

@media (max-width: 767px) {
	#footer-bottom .tebak-footer-rechtliches {
		flex-direction: column;
		gap: 14px;
	}

	form.woocommerce-form-order-withdrawal-request button.woocommerce-form-return_request__submit {
		width: 100%;
		min-width: 0;
	}
}
