* {
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	box-sizing: border-box;
	vertical-align: baseline;
}

html, body {
	height: 100%;
	width: 100%;
}

body {
	font-family: "Gotham Pro", sans-serif;
}

a, a:visited {
	color: #0060a0;
	border-bottom: 1px solid  #0060a0;
	border-color: rgba(0, 96, 160, .2);
	text-decoration: none;
}

a:hover {
	color: #d04000;
	border-color: #f8e2d9;
	border-color: rgba(208, 64, 0, .2);
}

p {
	margin: 0 0 8px;
}

.wrap {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px;
	text-align: center;
}

.content {
	padding: 24px 24px 40px;
	margin-bottom: 8px;
	border: 1px solid #c2c2c2;
	border-radius: 8px;
}

.product {
	margin-bottom: 24px;
	text-align: center;
}

.title {
	max-width: 360px;
	margin: 0 auto 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #999;
	color: #b92016;
	font-size: 30px;
	font-weight: 400;
	line-height: 32px;
}

.ruble-price {
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
}

.old-price {
	position: relative;
}

.old-price:after {
	position: absolute;
	top: 50%;
	right: -2px;
	left: -2px;
	margin-top: -1px;
	border-bottom: 1px solid;
	content: "";
}

.current-price {
	font-weight: 700;
}

.form {
	max-width: 300px;
	margin: 0 auto;
}

.field {
	position: relative;
	margin-bottom: 8px;
}

.label {
	display: block;
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	text-align: left;
	white-space: nowrap;
}

.label span {
	color: #fff;
	font-weight: 400;
	opacity: 0;
	transition: opacity .1s linear .1s;
}

.invalid > .label span {
	color: #db2f2f;
	opacity: 1;
}

.input {
	height: 48px;
	width: 100%;
	padding: 0 8px;
	border: 4px solid #dcdcdc;
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px #afafaf;
	font-family: 'Gotham Pro', sans-serif;
	font-size: 18px;
	line-height: 24px;
	outline: none;
}

.invalid_message {
	display: none;
	margin-top: 4px;
	color: #db2f2f;
	font-size: 11px;
	line-height: 16px;
	text-align: left;
}

.invalid .invalid_message {
	display: block;

}

.submit {
	position: relative;
	margin-top: 16px;
}

button {
	display: block;
	width: 100%;
	margin: 0 auto;
	background: #b92016;
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-size: 28px;
	font-weight: 500;
	line-height: 60px;
	outline: none;
	white-space: nowrap;
}

button:hover {
	box-shadow: inset 0 0 100px rgba(0, 0, 0, .16);
}

.agreement {
	margin: 8px -24px 0;
	color: #666;
	font-size: 11px;
	line-height: 16px;
}

.alert1, .alert2 {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 54px;
	background: transparent;
}

.required ~ .submit > .alert1, .invalid ~ .submit > .alert2 {
	display: block;
}

.footer {
	padding: 16px 24px;
	color: #666;
	font-size: 12px;
	line-height: 16px;
}

@media (max-width:480px) {
	.wrap {
		padding: 0;
	}

	.content {
		margin-bottom: 0;
		padding: 24px 16px 32px;
		border-top: 0;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.field {
		margin-bottom: 8px;
	}

	.input {
		height: 48px;
		padding-top: 18px;
		font-size: 14px;
		line-height: 16px;
	}

	.label {
		font-size: 14px;
		line-height: 16px;
	}

	.submit {
		margin-top: 24px;
	}

	.agreement {
		margin-right: 0;
		margin-left: 0;
	}

	.agreement, .footer {
		text-align: left;
	}

	.footer nobr {
		display: block;
		margin-bottom: 4px;
	}

}
