/**
 * Complianz consent banner on phones and small tablets (D-104).
 *
 * Complianz stacks Accept, Deny and View preferences full width at <=768px: 155px of buttons,
 * and a 403px banner on an 844px phone screen that covered the villa inquiry form (first field,
 * submit, Turnstile) until the visitor chose. Here Accept and Deny share one row at equal width
 * and equal weight, and View preferences takes the row below; from 600px all three share one
 * row. Button text, order, colours, focus styles, categories and consent behaviour are
 * Complianz's own and unchanged (D-087).
 *
 * Each rule is one class more specific than Complianz's (`.cmplz-show` added), so no
 * !important. Loaded only while consent mode is on and Complianz is active (inc/consent.php).
 */
@media (max-width: 768px) {
	.cmplz-cookiebanner.cmplz-show .cmplz-buttons {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
	}
	.cmplz-cookiebanner.cmplz-show .cmplz-buttons .cmplz-btn {
		flex: 1 1 calc(50% - 4px);
		width: auto;
		min-width: 0;
		min-height: 44px;
	}
	.cmplz-cookiebanner.cmplz-show .cmplz-buttons .cmplz-btn.cmplz-view-preferences,
	.cmplz-cookiebanner.cmplz-show .cmplz-buttons .cmplz-btn.cmplz-save-preferences {
		flex-basis: 100%;
	}
}
@media (min-width: 600px) and (max-width: 768px) {
	.cmplz-cookiebanner.cmplz-show .cmplz-buttons .cmplz-btn,
	.cmplz-cookiebanner.cmplz-show .cmplz-buttons .cmplz-btn.cmplz-view-preferences,
	.cmplz-cookiebanner.cmplz-show .cmplz-buttons .cmplz-btn.cmplz-save-preferences {
		flex: 1 1 0;
	}
}
