/* Preorder popup (#popmake-2059) — same language as callback modal. */

#popmake-2059,
#popmake-2059.pum-container.pum-responsive,
#popmake-2059.pum-container.pum-responsive.pum-responsive-medium {
	left: 50% !important;
	right: auto !important;
	top: 50% !important;
	bottom: auto !important;
	margin-left: 0 !important;
	transform: translate(-50%, -50%) !important;
	width: 360px !important;
	max-width: calc(100vw - 32px) !important;
	min-width: 0 !important;
	padding: 24px 22px 22px !important;
	background: #2a2b2e !important;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
}

@media (min-width: 768px) {
	#popmake-2059,
	#popmake-2059.pum-container.pum-responsive,
	#popmake-2059.pum-container.pum-responsive.pum-responsive-medium {
		padding: 24px 22px 22px !important;
	}
}

@media (max-width: 479px) {
	#popmake-2059,
	#popmake-2059.pum-container.pum-responsive,
	#popmake-2059.pum-container.pum-responsive.pum-responsive-medium {
		top: auto !important;
		bottom: 0 !important;
		transform: translate(-50%, 0) !important;
		width: 100% !important;
		max-width: 100% !important;
		max-height: min(92vh, 100%) !important;
		overflow-y: auto;
		padding: 24px 18px 28px !important;
		border-radius: 16px 16px 0 0 !important;
	}
}

#popmake-2059 .pum-close,
#popmake-2059 .popmake-close {
	position: absolute !important;
	top: 8px !important;
	right: 10px !important;
	left: auto !important;
	bottom: auto !important;
	width: 32px !important;
	height: 32px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: rgba(255, 255, 255, 0.55) !important;
	font-size: 26px !important;
	line-height: 32px !important;
	cursor: pointer;
}

#popmake-2059 .pum-close:hover,
#popmake-2059 .pum-close:focus,
#popmake-2059 .popmake-close:hover,
#popmake-2059 .popmake-close:focus {
	background: transparent !important;
	color: #fff !important;
}

#popmake-2059 .pum-title,
#popmake-2059 .popmake-title,
#popmake-2059 h2.pum-title {
	margin: 0 0 8px !important;
	padding-right: 32px !important;
	font-size: 24px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.02em !important;
	text-transform: none !important;
	text-align: left !important;
	color: #fff !important;
}

#popmake-2059 .pum-content,
#popmake-2059 .popmake-content {
	padding: 0 !important;
}

#popmake-2059 .pum-content > p,
#popmake-2059 .popmake-content > p {
	margin: 0 0 20px !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	text-align: left !important;
	color: #9ca3b6 !important;
}

#popmake-2059 .techno-preorder-item {
	display: grid;
	gap: 2px;
	margin: -8px 0 18px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
}

#popmake-2059 .techno-preorder-item[hidden] {
	display: none !important;
}

#popmake-2059 .techno-preorder-item__name {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: #fff;
}

#popmake-2059 .techno-preorder-item__price {
	font-size: 13px;
	line-height: 1.35;
	color: #ff7a00;
}

#popmake-2059 .wpcf7 {
	margin: 0;
}

#popmake-2059 .wpcf7-form {
	display: grid;
	gap: 16px;
	margin: 0;
}

#popmake-2059 .wpcf7-form > p {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
	margin: 0 !important;
	text-align: left !important;
	font-size: inherit !important;
	color: inherit !important;
}

#popmake-2059 .wpcf7-form > p br {
	display: none;
}

#popmake-2059 .wpcf7-form-control-wrap {
	display: grid;
	gap: 4px;
	width: 100%;
	margin: 0;
}

#popmake-2059 .wpcf7-form-control-wrap:has(.preorder-name)::before,
#popmake-2059 .wpcf7-form-control-wrap:has(.preorder-phone)::before {
	display: block;
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	color: #c5c8d0;
}

#popmake-2059 .wpcf7-form-control-wrap:has(.preorder-name)::before {
	content: "Имя";
}

#popmake-2059 .wpcf7-form-control-wrap:has(.preorder-phone)::before {
	content: "Телефон";
}

#popmake-2059 .wpcf7-form-control.preorder-name,
#popmake-2059 .wpcf7-form-control.preorder-phone,
#popmake-2059 input.preorder-name,
#popmake-2059 input.preorder-phone {
	width: 100%;
	margin: 0 !important;
	min-height: 48px !important;
	height: 48px !important;
	padding: 12px 16px !important;
	background: rgba(255, 255, 255, 0.07) !important;
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

#popmake-2059 .preorder-name::placeholder,
#popmake-2059 .preorder-phone::placeholder {
	color: rgba(156, 163, 182, 0.75);
}

#popmake-2059 .wpcf7-form-control.preorder-name:focus,
#popmake-2059 .wpcf7-form-control.preorder-phone:focus,
#popmake-2059 input.preorder-name:focus,
#popmake-2059 input.preorder-phone:focus {
	background: rgba(255, 255, 255, 0.09) !important;
	border-color: #ff7a00 !important;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18) !important;
}

#popmake-2059 .wpcf7-not-valid {
	border-color: rgba(255, 120, 120, 0.55) !important;
}

#popmake-2059 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.3;
	color: #ff9a9a;
	text-align: left;
}

#popmake-2059 .wpcf7-submit,
#popmake-2059 input.preoder-submit,
#popmake-2059 .preoder-submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 44px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 16px !important;
	background: #ff7a00 !important;
	border: 0 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer;
	transition: background 0.15s ease;
}

#popmake-2059 .wpcf7-submit:hover,
#popmake-2059 .wpcf7-submit:focus,
#popmake-2059 input.preoder-submit:hover,
#popmake-2059 input.preoder-submit:focus {
	background: #e86c03 !important;
	color: #fff !important;
}

#popmake-2059 .wpcf7-spinner {
	display: none;
}

#popmake-2059.is-preorder-sent .pum-title,
#popmake-2059.is-preorder-sent .popmake-title,
#popmake-2059.is-preorder-sent .pum-content > :not(.techno-preorder-success),
#popmake-2059.is-preorder-sent .popmake-content > :not(.techno-preorder-success) {
	display: none !important;
}

#popmake-2059 .techno-preorder-success {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 18px 8px 8px;
	text-align: center;
}

#popmake-2059 .techno-preorder-success[hidden] {
	display: none !important;
}

#popmake-2059 .techno-preorder-success__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: rgba(255, 122, 0, 0.14);
	border: 1px solid rgba(255, 122, 0, 0.4);
	border-radius: 50%;
	color: #ff7a00;
	font-size: 28px;
}

#popmake-2059 .techno-preorder-success__title {
	margin: 4px 0 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	text-align: center !important;
	color: #fff !important;
}

#popmake-2059 .techno-preorder-success__text {
	margin: 0 !important;
	font-size: 14px;
	line-height: 1.5;
	color: #9ca3b6;
	text-align: center;
}

#popmake-2059 form.invalid .wpcf7-response-output,
#popmake-2059 form.unaccepted .wpcf7-response-output,
#popmake-2059 form.sent .wpcf7-response-output {
	display: none !important;
}

#popmake-2059 .wpcf7-response-output {
	margin: 0;
	padding: 12px 16px;
	border: 1px solid rgba(255, 122, 0, 0.35) !important;
	border-radius: 10px;
	background: rgba(255, 122, 0, 0.12);
	color: #fff !important;
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
}

#popmake-2059 form.failed .wpcf7-response-output,
#popmake-2059 form.aborted .wpcf7-response-output {
	border-color: rgba(255, 120, 120, 0.45) !important;
	background: rgba(255, 80, 80, 0.1);
	color: #ffcaca !important;
}

#popmake-2059 .pum-content > p:last-of-type,
#popmake-2059 .popmake-content > p:last-of-type {
	margin: 14px 0 0 !important;
	font-size: 12.5px !important;
	line-height: 1.55 !important;
	color: #9ca3b6 !important;
	text-align: left !important;
}

#popmake-2059 .pum-content > p:last-of-type a,
#popmake-2059 .popmake-content > p:last-of-type a {
	color: #ff7a00;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 122, 0, 0.45);
}

#popmake-2059 .pum-content > p:last-of-type a:hover,
#popmake-2059 .popmake-content > p:last-of-type a:hover {
	color: #e86c03;
	border-bottom-color: #e86c03;
}
