/* Varimart - Formulaire de commande LP
 * Les reglages de style Elementor surchargent ces variables et ces regles.
 */

.vlp {
	--vlp-accent: #a6c257;        /* bouton, badge */
	--vlp-accent-dark: #86a23a;
	--vlp-ink: #2c4a6e;           /* textes des offres, bordures des champs */
	--vlp-text: #2b3a4a;
	--vlp-muted: #7d8793;
	--vlp-bg: #f3f5ef;
	--vlp-title: #d0675c;
	--vlp-heading: #5f7359;
	--vlp-price: #5e8c3a;
	--vlp-compare: #d0675c;
	--vlp-offer-border: #aeb8d4;
	--vlp-offer-active: #1d2733;
	--vlp-badge: var(--vlp-accent);
	--vlp-field-bg: #ffffff;
	--vlp-field-border: var(--vlp-ink);
	--vlp-focus: var(--vlp-accent);
	--vlp-field-height: 62px;
	--vlp-field-radius: 10px;
	--vlp-gap: 18px;
	--vlp-error: #d63a3a;
	--vlp-warning: #d4700b;
	--vlp-success: #4f8a2b;

	width: 100%;
	color: var(--vlp-text);
	font-size: 16px;
	line-height: 1.5;
	text-align: start; /* la page force text-align:left, ce qui casse l'arabe */
}

.vlp *,
.vlp *::before,
.vlp *::after {
	box-sizing: border-box;
}

.vlp [hidden] {
	display: none !important;
}

.vlp .vlp-label,
.vlp .vlp-product__info,
.vlp .vlp-error,
.vlp .vlp-alert {
	text-align: start;
}

/* ---------- Carte ---------- */

.vlp-form,
.vlp-success {
	padding: 26px 20px 22px;
	background: var(--vlp-bg);
	border: 2px solid var(--vlp-offer-active);
	border-radius: 24px;
}

.vlp-form {
	display: flex;
	flex-direction: column;
	gap: var(--vlp-gap);
	margin: 0;
}

.vlp-form > *,
.vlp-product__info {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* ---------- Titres ---------- */

.vlp-head {
	text-align: center;
}

.vlp-title {
	margin: 0;
	color: var(--vlp-title);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.3;
}

.vlp-subtitle {
	margin: 6px 0 0;
	color: var(--vlp-heading);
	font-size: 15px;
	font-weight: 600;
}

.vlp-fields-heading {
	margin: 6px 0 0;
	color: var(--vlp-heading);
	font-size: 23px;
	font-weight: 800;
	line-height: 1.55;
	text-align: center;
}

/* ---------- Offres ---------- */

.vlp-offers {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.vlp .vlp-offer {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 20px 16px;
	color: var(--vlp-ink);
	font: inherit;
	text-align: start;
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
	background: rgba(255, 255, 255, 0.35);
	border: 1.5px solid var(--vlp-offer-border);
	border-radius: 14px;
	box-shadow: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, background-color 0.2s ease;
	animation: vlp-rise 0.45s ease backwards; /* « backwards » : laisse le survol animer la carte ensuite */
}

.vlp .vlp-offer:nth-child(2) { animation-delay: 0.08s; }
.vlp .vlp-offer:nth-child(3) { animation-delay: 0.16s; }
.vlp .vlp-offer:nth-child(4) { animation-delay: 0.24s; }

.vlp .vlp-offer:hover {
	color: var(--vlp-ink);
	background: rgba(255, 255, 255, 0.7);
	border-color: var(--vlp-ink);
	box-shadow: 0 10px 22px -14px rgba(29, 39, 51, 0.55);
	transform: translateY(-2px);
}

.vlp .vlp-offer:active {
	transform: scale(0.985);
}

.vlp .vlp-offer:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--vlp-accent) 60%, transparent);
	outline-offset: 2px;
}

.vlp .vlp-offer.is-active {
	background: rgba(255, 255, 255, 0.55);
	border: 2px solid var(--vlp-offer-active);
	box-shadow: 0 0 0 1px var(--vlp-offer-active), 0 10px 24px -14px rgba(29, 39, 51, 0.6);
	animation: vlp-pop 0.3s ease;
}

.vlp .vlp-offer.is-unavailable {
	opacity: 0.5;
	filter: grayscale(0.8);
}

.vlp-offer__img {
	flex: none;
	width: 76px;
	height: 76px;
	object-fit: cover;
	background: #fff;
	border: 1px solid var(--vlp-offer-border);
	border-radius: 12px;
	transition: transform 0.3s ease;
}

.vlp .vlp-offer:hover .vlp-offer__img {
	transform: scale(1.05) rotate(-2deg);
}

.vlp-offer__label {
	flex: 1;
	min-width: 0;
	color: var(--vlp-ink);
	font-size: 21px;
	font-weight: 800;
	line-height: 1.45;
}

.vlp-offer__prices {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	direction: ltr;
}

.vlp-offer__compare {
	color: var(--vlp-compare);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration-thickness: 2px;
	white-space: nowrap;
}

.vlp-offer__price {
	color: var(--vlp-price);
	font-size: 23px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

/* Badge en ruban (« الأكثر طلبا ») */
.vlp-offer__badge {
	position: absolute;
	top: -15px;
	inset-inline-end: 26px;
	z-index: 1;
	padding: 5px 16px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	background: var(--vlp-badge);
	border-radius: 4px 4px 0 0;
	box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--vlp-badge) 90%, #000);
}

.vlp-offer__badge::before,
.vlp-offer__badge::after {
	content: "";
	position: absolute;
	top: 0;
	width: 0;
	height: 0;
	border-style: solid;
}

.vlp-offer__badge::before {
	left: -10px;
	border-width: 0 10px 29px 0;
	border-color: transparent color-mix(in srgb, var(--vlp-badge) 80%, #000) transparent transparent;
}

.vlp-offer__badge::after {
	right: -10px;
	border-width: 0 0 29px 10px;
	border-color: transparent transparent transparent color-mix(in srgb, var(--vlp-badge) 80%, #000);
}

.vlp .vlp-offer.has-badge {
	margin-top: 8px;
}

.vlp-field--offers.is-invalid .vlp-offer {
	border-color: var(--vlp-error);
}

/* ---------- Resume produit (optionnel) ---------- */

.vlp-product {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid var(--vlp-offer-border);
	border-radius: 14px;
}

.vlp-product__img {
	flex: none;
	width: 72px;
	height: 72px;
	object-fit: cover;
	background: #fff;
	border-radius: 10px;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.vlp-product__img.is-swapping {
	opacity: 0;
	transform: scale(0.94);
}

.vlp-product__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vlp-product__name {
	color: var(--vlp-ink);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.vlp-product__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.vlp-price {
	color: var(--vlp-price);
	font-size: 20px;
	font-weight: 800;
	white-space: nowrap;
}

.vlp-regular {
	color: var(--vlp-compare);
	font-size: 14px;
	white-space: nowrap;
}

/* ---------- Stock ---------- */

.vlp-stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--vlp-success);
	font-size: 13px;
	font-weight: 700;
}

.vlp-stock:empty {
	display: none;
}

.vlp-stock::before {
	content: "";
	width: 8px;
	height: 8px;
	background: currentColor;
	border-radius: 50%;
}

.vlp-stock[data-state="low"] {
	color: var(--vlp-warning);
}

.vlp-stock[data-state="low"]::before {
	animation: vlp-blink 1.2s ease-in-out infinite;
}

.vlp-stock[data-state="out"] {
	color: var(--vlp-error);
}

/* ---------- Champs ---------- */

.vlp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0; /* sinon le select s'elargit au nom de ville le plus long et deborde */
}

.vlp-label {
	color: var(--vlp-ink);
	font-size: 15px;
	font-weight: 700;
}

.vlp .vlp-input {
	width: 100%;
	min-height: var(--vlp-field-height);
	margin: 0;
	padding: 10px 18px;
	color: var(--vlp-text);
	font: inherit;
	font-size: 18px; /* >= 16px : evite le zoom automatique sur iPhone */
	background-color: var(--vlp-field-bg);
	border: 1.5px solid var(--vlp-field-border);
	border-radius: var(--vlp-field-radius);
	box-shadow: none;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.vlp textarea.vlp-input {
	min-height: calc(var(--vlp-field-height) * 1.5);
	resize: vertical;
}

.vlp .vlp-input::placeholder {
	color: #a9aeb4;
	opacity: 1;
}

.vlp[dir="rtl"] .vlp-input[dir="ltr"],
.vlp[dir="rtl"] .vlp-input[dir="ltr"]::placeholder {
	text-align: right;
}

.vlp[dir="rtl"] .vlp-input[dir="ltr"]:not(:placeholder-shown) {
	text-align: left;
}

.vlp .vlp-input:hover {
	box-shadow: 0 6px 16px -12px rgba(44, 74, 110, 0.6);
}

.vlp .vlp-input:focus {
	border-color: var(--vlp-ink);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--vlp-focus) 35%, transparent);
	transform: translateY(-1px);
}

.vlp .vlp-select {
	max-width: 100%;
	min-width: 0;
	padding-inline-end: 44px;
	text-overflow: ellipsis;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232c4a6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
}

.vlp[dir="rtl"] .vlp-select {
	background-position: left 18px center;
}

.vlp .vlp-select.is-empty {
	color: #a9aeb4;
}

.vlp .vlp-select option {
	color: var(--vlp-text);
}

.vlp-field.is-invalid .vlp-input,
.vlp-field.is-invalid .vlp-qty {
	border-color: var(--vlp-error);
	background-color: color-mix(in srgb, var(--vlp-error) 4%, var(--vlp-field-bg));
}

.vlp-field.is-invalid {
	animation: vlp-shake 0.4s ease;
}

.vlp-error {
	display: none;
	color: var(--vlp-error);
	font-size: 14px;
	font-weight: 700;
}

.vlp-field.is-invalid .vlp-error {
	display: block;
	animation: vlp-fade-in 0.2s ease;
}

.vlp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Variations ---------- */

.vlp-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vlp .vlp-option {
	min-height: 44px;
	margin: 0;
	padding: 8px 18px;
	color: var(--vlp-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	background: var(--vlp-field-bg);
	border: 1.5px solid var(--vlp-offer-border);
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.vlp .vlp-option:hover {
	color: var(--vlp-ink);
	background: var(--vlp-field-bg);
	border-color: var(--vlp-ink);
	transform: translateY(-1px);
}

.vlp .vlp-option:focus-visible {
	outline: 2px solid var(--vlp-ink);
	outline-offset: 2px;
}

.vlp .vlp-option.is-active {
	color: #fff;
	background: var(--vlp-ink);
	border-color: var(--vlp-ink);
}

.vlp .vlp-option.is-unavailable {
	color: #b3b9c2;
	text-decoration: line-through;
	opacity: 0.7;
}

/* ---------- Quantite (sans offres) ---------- */

.vlp-qty {
	display: inline-flex;
	align-items: stretch;
	align-self: flex-start;
	height: var(--vlp-field-height);
	overflow: hidden;
	background: var(--vlp-field-bg);
	border: 1.5px solid var(--vlp-field-border);
	border-radius: var(--vlp-field-radius);
}

.vlp .vlp-qty__btn {
	width: 52px;
	margin: 0;
	padding: 0;
	color: var(--vlp-ink);
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	background: color-mix(in srgb, var(--vlp-ink) 6%, #fff);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.vlp .vlp-qty__btn:hover {
	color: var(--vlp-ink);
	background: color-mix(in srgb, var(--vlp-ink) 14%, #fff);
}

.vlp .vlp-qty__btn:disabled {
	cursor: not-allowed;
	opacity: 0.4;
}

.vlp .vlp-qty__input {
	width: 58px;
	margin: 0;
	padding: 0;
	color: var(--vlp-text);
	font: inherit;
	font-size: 18px;
	font-weight: 800;
	text-align: center;
	background: transparent;
	border: 0;
	box-shadow: none;
	outline: none;
	-moz-appearance: textfield;
}

.vlp .vlp-qty__input::-webkit-outer-spin-button,
.vlp .vlp-qty__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

/* ---------- Recapitulatif ---------- */

.vlp-summary {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
	color: var(--vlp-ink);
	font-size: 16px;
	background: rgba(255, 255, 255, 0.6);
	border: 1px dashed var(--vlp-offer-border);
	border-radius: 12px;
}

.vlp-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.vlp-row > span:last-child {
	font-weight: 800;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.vlp-row--total {
	padding-top: 10px;
	border-top: 1px solid var(--vlp-offer-border);
	font-size: 18px;
	font-weight: 800;
}

.vlp-row--total > span:last-child {
	color: var(--vlp-price);
	font-size: 21px;
}

.vlp-shipping.is-free {
	color: var(--vlp-price);
}

.vlp-summary.is-updating .vlp-row > span:last-child {
	opacity: 0.45;
}

.vlp-bump {
	display: inline-block;
	animation: vlp-bump 0.35s ease;
}

/* ---------- Bouton ---------- */

.vlp .vlp-submit {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 74px;
	margin: 4px 0 0;
	padding: 14px 20px;
	overflow: hidden;
	color: #fff;
	font: inherit;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	background-color: var(--vlp-accent); /* couleur par defaut : reglage « Bouton » d'Elementor */
	border: 0;
	border-radius: 18px;
	box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--vlp-accent) 90%, #000);
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.vlp .vlp-submit:hover {
	color: #fff;
	filter: brightness(1.06);
	box-shadow: 0 16px 28px -14px color-mix(in srgb, var(--vlp-accent) 95%, #000);
	transform: translateY(-2px);
}

.vlp .vlp-submit:active {
	transform: scale(0.98);
}

.vlp .vlp-submit:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--vlp-accent) 55%, transparent);
	outline-offset: 3px;
}

.vlp-spinner {
	display: none;
	width: 22px;
	height: 22px;
	border: 3px solid rgba(255, 255, 255, 0.35);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: vlp-spin 0.7s linear infinite;
}

.vlp .vlp-submit.is-loading {
	cursor: wait;
	animation: none;
	filter: saturate(0.85);
}

.vlp-submit.is-loading .vlp-spinner {
	display: inline-block;
}

.vlp-anim-pulse {
	animation: vlp-pulse 2s ease-in-out infinite;
}

.vlp-anim-shake {
	animation: vlp-wiggle 3.2s ease-in-out infinite;
}

.vlp-anim-shine::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
	transform: skewX(-20deg);
	animation: vlp-shine 2.8s ease-in-out infinite;
}

/* ---------- Alertes et confirmation ---------- */

.vlp-alert {
	padding: 12px 14px;
	color: var(--vlp-error);
	font-size: 15px;
	font-weight: 700;
	background: color-mix(in srgb, var(--vlp-error) 7%, #fff);
	border: 1px solid color-mix(in srgb, var(--vlp-error) 30%, transparent);
	border-radius: 12px;
	animation: vlp-fade-in 0.25s ease;
}

.vlp-alert.is-info {
	color: var(--vlp-ink);
	background: #fff;
	border-color: var(--vlp-offer-border);
}

.vlp-success {
	text-align: center;
	animation: vlp-rise 0.45s ease;
}

.vlp-success__icon {
	width: 76px;
	height: 76px;
	margin: 0 auto 14px;
}

.vlp-success__icon svg {
	width: 100%;
	height: 100%;
	stroke: var(--vlp-success);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vlp-success__icon circle {
	stroke-dasharray: 151;
	stroke-dashoffset: 151;
	animation: vlp-draw 0.6s ease forwards;
}

.vlp-success__icon path {
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: vlp-draw 0.35s 0.5s ease forwards;
}

.vlp-success__text {
	margin: 0;
	color: var(--vlp-ink);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.6;
}

/* ---------- Popup de confirmation ---------- */

html.vlp-modal-open {
	overflow: hidden;
}

.vlp-portal {
	width: auto;
}

.vlp-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.vlp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 22, 30, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	animation: vlp-fade 0.25s ease;
}

.vlp-modal__box {
	position: relative;
	width: 100%;
	max-width: 380px;
	padding: 30px 24px 24px;
	text-align: center;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
	animation: vlp-modal-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.vlp-modal .vlp-success__icon {
	position: relative;
}

.vlp-modal .vlp-success__icon::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	animation: vlp-ring 1s 0.5s ease-out;
}

.vlp-modal__title {
	margin: 0 0 8px;
	color: var(--vlp-ink);
	font-size: 23px;
	font-weight: 800;
	line-height: 1.35;
}

.vlp-modal__text {
	margin: 0 0 22px;
	color: var(--vlp-text);
	font-size: 17px;
	line-height: 1.7;
}

.vlp .vlp-modal__button {
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 10px 20px;
	color: #fff;
	font: inherit;
	font-size: 19px;
	font-weight: 800;
	text-transform: none;
	background: var(--vlp-accent);
	border: 0;
	border-radius: 14px;
	box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--vlp-accent) 90%, #000);
	cursor: pointer;
	transition: transform 0.15s ease, filter 0.2s ease;
}

.vlp .vlp-modal__button:hover {
	color: #fff;
	filter: brightness(1.06);
	transform: translateY(-2px);
}

.vlp .vlp-modal__button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--vlp-accent) 55%, transparent);
	outline-offset: 3px;
}

@keyframes vlp-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes vlp-modal-in {
	from { opacity: 0; transform: translateY(24px) scale(0.92); }
	to { opacity: 1; transform: none; }
}

@keyframes vlp-ring {
	from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--vlp-success) 45%, transparent); }
	to { box-shadow: 0 0 0 22px color-mix(in srgb, var(--vlp-success) 0%, transparent); }
}

.vlp-notice {
	padding: 18px;
	color: #3d4b3a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	text-align: center;
	background: #f3f5ef;
	border: 2px dashed #a6c257;
	border-radius: 12px;
}

/* ---------- Animations ---------- */

@keyframes vlp-pulse {
	0%, 100% { transform: scale(1); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.35), 0 0 0 0 color-mix(in srgb, var(--vlp-accent) 55%, transparent); }
	50% { transform: scale(1.02); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.35), 0 0 0 12px color-mix(in srgb, var(--vlp-accent) 0%, transparent); }
}

@keyframes vlp-wiggle {
	0%, 78%, 100% { transform: rotate(0); }
	82% { transform: rotate(-2deg); }
	86% { transform: rotate(2deg); }
	90% { transform: rotate(-1.5deg); }
	94% { transform: rotate(1deg); }
}

@keyframes vlp-shine {
	0% { left: -60%; }
	60%, 100% { left: 130%; }
}

@keyframes vlp-pop {
	0% { transform: scale(1); }
	45% { transform: scale(1.025); }
	100% { transform: scale(1); }
}

@keyframes vlp-shake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(4px); }
}

@keyframes vlp-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.12); }
	100% { transform: scale(1); }
}

@keyframes vlp-spin {
	to { transform: rotate(360deg); }
}

@keyframes vlp-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.25; }
}

@keyframes vlp-fade-in {
	from { opacity: 0; transform: translateY(-3px); }
	to { opacity: 1; transform: none; }
}

@keyframes vlp-rise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

@keyframes vlp-draw {
	to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.vlp *,
	.vlp *::before,
	.vlp *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 400px) {
	.vlp-form,
	.vlp-success {
		padding: 22px 14px 18px;
	}

	.vlp-title {
		font-size: 22px;
	}

	.vlp-fields-heading {
		font-size: 20px;
	}

	.vlp .vlp-offer {
		gap: 10px;
		padding: 16px 12px;
	}

	.vlp-offer__img {
		width: 62px;
		height: 62px;
	}

	.vlp-offer__label {
		font-size: 17px;
	}

	.vlp-offer__compare {
		font-size: 15px;
	}

	.vlp-offer__price {
		font-size: 19px;
	}

	.vlp .vlp-submit {
		min-height: 66px;
		font-size: 23px;
	}
}
