.wish__form {
	width: 100%;
	max-width: 510px;
}

.wish__container {
	background-image: none;
}

.wish__form-detail {
	font-family: var(--font2);
	font-size: 34px;
	line-height: 0.9;
	color: var(--primary);
	position: absolute;
	right: -100px;
	z-index: 9;
	top: 55px;
	width: 250px;
	text-align: center;
	transform: rotate(9deg);

}

.wish__form-detail::before {
	content: '';
	position: absolute;
	right: 50%;
	top: 100%;
	height: 104px;
	width: 55px;
	background-image: url('./../img/icons/wish-arrow.svg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	transform: rotate(-9deg);
}

.wish__form-body {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.honeypot-field {
	display: none;
	visibility: hidden;
	height: 0;
	width: 0;
	opacity: 0;
	position: absolute;
	left: -9999px;
}

.wish__form-row {
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.wish__form-field {
	position: relative;
	width: 100%;
}

.wish__input,
.wish__textarea {
	width: 100%;
	padding: 15px 30px;
	border-radius: 7px;
	border: 1px solid var(--border-color);
	line-height: 1.235;
	color: var(--black);
	font-size: 17px;
	background-color: var(--white);
	transition: border-color 0.3s ease;
}

.wish__input::placeholder,
.wish__textarea::placeholder {
	color: var(--border-color);
}

.wish__input:focus,
.wish__textarea:focus {
	border-color: var(--primary);
	outline: none;
}

.wish__input.error,
.wish__textarea.error {
	border-color: var(--error);
}


.wish__checkbox-label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;

}

.wish__checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.wish__custom-checkbox {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	margin-top: 2px;
	border: 1px solid var(--border-color);
	border-radius: 3px;
	position: relative;
	flex-shrink: 0;
}

.wish__checkbox:checked+.wish__custom-checkbox:after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 10px;
	height: 10px;
	background-color: var(--primary);
	border-radius: 1px;
}

.wish__checkbox-text {
	font-weight: 400;
	font-size: 12px;
	line-height: 1.366;
	color: var(--black);
}

.wish__checkbox-text a {
	color: var(--black);
	text-decoration: underline;
	transition: var(--transition);
	color: var(--primary);
}

.wish__checkbox-text a:hover {
	opacity: .7;
}

.wish__phone-wrapper {
	position: relative;
}

/* .wish__country-flag {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 14px;
	background-image: url('../img/icons/ru-flag.svg');
	background-size: contain;
	background-repeat: no-repeat;
} */

.wish__input--phone {
	/* padding-left: 45px; */
	line-height: 1.366;
}

.wish__textarea {
	min-height: 126px;
	resize: vertical;
}

.wish__submit-btn.loading {
	color: transparent;
	pointer-events: none;
}

.wish__submit-btn.loading::after {
	content: '';
	position: absolute;
	width: 24px;
	height: 24px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: var(--white);
	animation: loader-spin 1s ease-in-out infinite;
	left: calc(50% - 12px);
	top: calc(50% - 12px);
}

@keyframes loader-spin {
	to {
		transform: rotate(360deg);
	}
}

.wish__error-text {
	display: none;
	color: var(--error);
	font-size: 12px;
	margin-top: 5px;
	padding-left: 15px;
}

.wish__form-response {
	text-align: center;
	font-size: 14px;
	padding: 10px;
	border-radius: 7px;
	display: none;
	line-height: 1.5;
}

.wish__form-response.success {
	background-color: rgba(57, 138, 150, 0.1);
	color: var(--primary);
	display: block;
}

.wish__form-response.error {
	background-color: rgba(255, 74, 74, 0.1);
	color: var(--error);
	display: block;
}

.wish__submit-btn {
	position: relative;
	padding-inline: 5px;
}

@media (max-width: 992px) {
	.wish__form-detail {
		right: -150px;
	}
}

@media (max-width: 880px) {
	.wish__form-detail {
		right: 25px;
	}


}

@media (max-width: 700px) {
	.wish__form-detail {
		right: 8px;
		top: 13px;
		font-size: 29px;
		width: 196px;
	}

	.wish__form-detail::before {
		transform: scaleX(-1) rotate(-65deg);

	}
}

@media (max-width: 480px) {
	.wish__form-body {
		gap: 10px;
	}

	.wish__form-row {
		flex-direction: column;
	}

	.wish__input:not(.wish__input--phone),
	.wish__textarea {
		padding: 12px 20px;
	}

	.wish__input--phone {
		padding-block: 12px;
	}

	.wish__form-detail {
		font-size: 25px;
	}

	.wish__form-detail::before {
		height: 80px;
		width: 40px;
	}
}

@media (max-width: 460px) {
	.wish__form-body {
		margin-top: 110px;
	}

	.wish__form-detail::before {
		top: 20px;
		left: -14px;
		width: 40px;
	}

	.wish__form-detail {
		top: 90px;
	}
}