body.modal-open {
	overflow: hidden;
}

.order-modal {
	background-color: rgba(24, 17, 13, 0.72);
	transform: none;
	transition: opacity .24s cubic-bezier(.16, 1, .3, 1);
}

.order-modal .modal-wrapper {
	width: 100%;
	min-width: 0;
	padding: 24px;
}

.order-modal .modal-wrapper .modal-container {
	background-color: #fffbf8;
	width: 100%;
	max-width: 520px;
	min-width: 0;
	max-height: calc(100vh - 48px);
	overflow-x: hidden;
	overflow-y: auto;
	color: #261b16;
	border: 1px solid rgba(70, 45, 32, 0.12);
	border-radius: 12px;
	box-shadow: 0 22px 70px rgba(24, 17, 13, 0.28);
	padding: 32px;
	margin: 0 auto;
}

.order-modal .modal-wrapper .modal-container .close {
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	color: rgba(38, 27, 22, 0.64);
	font-size: 28px;
	line-height: 44px;
	border-radius: 50%;
}

.order-modal .modal-wrapper .modal-container .close:focus-visible,
.order-form .input:focus-visible,
.order-form .select:focus-visible,
.order-form__whatsapp:focus-visible,
.catalog-card__buy:focus-visible {
	outline: 3px solid rgba(255, 78, 0, 0.32);
	outline-offset: 2px;
}

.order-modal .modal-wrapper .modal-container .title {
	max-width: 420px;
	color: #261b16;
	font-size: 26px;
	line-height: 1.15;
	padding-right: 36px;
	margin: 0 0 8px;
}

.order-form__lead {
	max-width: 440px;
	color: rgba(38, 27, 22, 0.68);
	font-size: 14px;
	line-height: 1.45;
	margin: 0 0 20px;
}

.order-form__product {
	background-color: #f5eee9;
	display: grid;
	row-gap: 4px;
	color: rgba(38, 27, 22, 0.6);
	font-size: 12px;
	line-height: 1.35;
	border-radius: 8px;
	padding: 12px 14px;
	margin: 0 0 20px;
}

.order-form__product-name {
	color: #261b16;
	font-size: 15px;
	line-height: 1.35;
	text-decoration: underline;
	text-decoration-color: rgba(255, 78, 0, 0.32);
	text-underline-offset: 3px;
}

.order-form__legend,
.order-form__website {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	clip: rect(0, 0, 0, 0);
	padding: 0;
	margin: -1px;
}

.order-form .fields {
	background-color: transparent;
	margin-bottom: 16px;
}

.order-form .fields .form-name {
	color: rgba(38, 27, 22, 0.78);
	font-size: 13px;
	line-height: 1.3;
	margin-bottom: 7px;
}

.order-form .fields .input,
.order-form .fields .select {
	background-color: #f8f3ef;
	width: 100%;
	height: 50px;
	color: #261b16;
	font-size: 15px;
	line-height: 1.2;
	border: 1px solid rgba(70, 45, 32, 0.14);
	border-radius: 7px;
	transition: background-color .18s cubic-bezier(.16, 1, .3, 1), border-color .18s cubic-bezier(.16, 1, .3, 1);
	padding: 0 14px;
}

.order-form .fields .input:hover,
.order-form .fields .select:hover {
	background-color: #fffbf8;
	border-color: rgba(70, 45, 32, 0.26);
}

.order-form .fields .input.error,
.order-form .fields .select.error {
	background-color: #fff2f0 !important;
	border-color: #d53d2f;
}

.order-form__check {
	display: flex;
	align-items: flex-start;
	column-gap: 9px;
	cursor: pointer;
	color: rgba(38, 27, 22, 0.72);
	font-size: 13px;
	line-height: 1.4;
	margin-top: 9px;
}

.order-form__check input {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	accent-color: #ff4e00;
	margin: 0;
}

.order-form__contact-row {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	column-gap: 12px;
}

.order-form .privacy-consent {
	display: flex;
	align-items: flex-start;
	column-gap: 9px;
	color: rgba(38, 27, 22, 0.68);
	font-size: 12px;
	line-height: 1.4;
	text-align: left;
	margin: 2px 0 16px;
}

.order-form .privacy-consent input {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	accent-color: #ff4e00;
	margin: 0;
}

.order-form .privacy-consent a {
	color: #c83f00;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.order-modal .modal-wrapper .modal-container .order-form .button {
	width: 100%;
	min-height: 50px;
	font-size: 15px;
	border-radius: 7px;
	padding: 15px 18px;
	margin: 0;
}

.order-form__whatsapp {
	width: 100%;
	min-height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #216a2b;
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
	border: 1px solid rgba(33, 106, 43, 0.32);
	border-radius: 7px;
	transition: background-color .18s cubic-bezier(.16, 1, .3, 1), border-color .18s cubic-bezier(.16, 1, .3, 1);
	padding: 12px 16px;
	margin-top: 10px;
}

.order-form__whatsapp:hover {
	background-color: #eff8f0;
	color: #185621;
	border-color: rgba(33, 106, 43, 0.5);
}

.order-form .response .error-message {
	background-color: #fff2f0;
	color: #8d231a;
	font-size: 13px;
	line-height: 1.4;
	border-radius: 7px;
	padding: 11px 13px;
	margin: 0 0 16px;
}

.order-form .response .error-message .title {
	font-family: robotomedium;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	padding: 0;
	margin: 0;
}

.order-form .successful {
	background-color: transparent;
	padding: 24px 10px 20px;
}

.catalog-card__media-link {
	display: block;
}

.catalog-card__action-note {
	display: block;
	max-width: 150px;
	color: rgba(38, 27, 22, 0.56);
	font-size: 11px;
	line-height: 1.35;
	text-align: center;
	margin: 7px auto 0;
}

@media screen and (max-width: 640px) {
	.order-modal {
		display: flex;
		align-items: flex-end;
	}

	.order-modal .modal-wrapper {
		width: 100%;
		display: block;
		padding: 0;
	}

	.order-modal .modal-wrapper .modal-container {
		width: 100%;
		max-width: none;
		min-width: 0;
		max-height: 92vh;
		display: block;
		border-radius: 16px 16px 0 0;
		transform: translateY(24px);
		transition: transform .24s cubic-bezier(.16, 1, .3, 1);
		padding: 26px 16px calc(68px + env(safe-area-inset-bottom));
		margin: 0;
	}

	.order-modal.show .modal-wrapper .modal-container {
		transform: translateY(0);
	}

	.order-modal .modal-wrapper .modal-container .title {
		font-size: 23px;
		padding-right: 38px;
	}

	.order-form__contact-row {
		grid-template-columns: minmax(0, 1fr);
		column-gap: 0;
	}

	.order-form .fields .input,
	.order-form .fields .select {
		font-size: 16px;
	}

	.catalog-card__action-note {
		max-width: none;
		font-size: 12px;
	}
}
