/*
 * Cicka Design – the EU withdrawal button in the footer's bottom bar
 * (printed into Astra's copyright row by inc/withdrawal.php): copyright on
 * the left, an outlined "Withdraw from contract" button on the right; on
 * phones the button goes full width above the copyright.
 *
 * Only the copyright row that holds the button is changed.
 */

.site-footer .ast-footer-copyright:has(.cicka-owb-footer) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	width: 100%;
	text-align: left;
}
/* Astra makes the copyright text full width; let it share the row. */
.site-footer .ast-footer-copyright:has(.cicka-owb-footer) > .ast-footer-copyright { flex: 1 1 auto; width: auto; text-align: left; }
.site-footer .ast-footer-copyright:has(.cicka-owb-footer) > .ast-footer-copyright p { margin: 0; }

.site-footer .cicka-owb-footer p.eu-owb-order-withdraw-from-contract-button { margin: 0; text-align: right; }
.site-footer .cicka-owb-footer .eu-owb-order-withdraw-from-contract-button a,
.site-footer .cicka-owb-footer .eu-owb-order-withdraw-from-contract-button a:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 18px 0 16px;
	border: 1.5px solid #A55F59;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: #A55F59;
	font: 500 14px/1 'Solway', serif;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	transition: background-color .15s, color .15s;
}
/* Return arrow before the label. */
.site-footer .cicka-owb-footer .eu-owb-order-withdraw-from-contract-button a::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M4 9h11a5 5 0 0 1 0 10h-3'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M4 9h11a5 5 0 0 1 0 10h-3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.site-footer .cicka-owb-footer .eu-owb-order-withdraw-from-contract-button a:hover,
.site-footer .cicka-owb-footer .eu-owb-order-withdraw-from-contract-button a:focus-visible { background: #A55F59; color: #fff; }
.site-footer .cicka-owb-footer .eu-owb-order-withdraw-from-contract-button a:focus-visible { outline: 2px solid #A55F59; outline-offset: 3px; }

@media (max-width: 600px) {
	.site-footer .ast-footer-copyright:has(.cicka-owb-footer) { flex-direction: column-reverse; align-items: stretch; text-align: center; }
	.site-footer .ast-footer-copyright:has(.cicka-owb-footer) > .ast-footer-copyright { text-align: center; }
	.site-footer .cicka-owb-footer p.eu-owb-order-withdraw-from-contract-button { text-align: center; }
	.site-footer .cicka-owb-footer .eu-owb-order-withdraw-from-contract-button a { display: flex; justify-content: center; width: 100%; height: 48px; }
}
