/**
 * ------------------------------------------------------------
 * Reggal VIES Fallback
 * ------------------------------------------------------------
 */

/* Prehlásenie je skryté, kým server nepovie, že overenie neprešlo. */
#section_vies_declaration {
	display: none;
}

body.reggal-vies-fallback #section_vies_declaration {
	display: block;
	margin-top: calc(var(--space-s) * -1);
}

#section_vies_declaration .form-field label {
	display: flex !important;
	gap: 0.5rem;
	align-items: flex-start;
	margin: 0;
	cursor: pointer;
}

#field-vies_self_declaration {
	padding: 0;
}

#section_vies_declaration .form-field input[type="checkbox"] {
	flex: 0 0 auto;
	margin-top: 0.15rem;
}

#section_vies_declaration .field-label {
	margin-bottom: 0;
	font-size: calc(var(--text-m) * 0.85);
	line-height: 1.2;
}

/* Pri nulovej sadzbe je suma s DPH a bez DPH tá istá — druhý riadok len mätie.
   !important tu musí byť: téma na .cart-totals__wrapper cieli reťazcom šiestich tried
   (checkout.css a cart-checkout.css), ktorý by inak špecificitou vyhral. */
body.reggal-vies-exempt .cart-totals__wrapper-incl-vat {
	display: none !important;
}

.reggal-vies-state {
	display: none;
}