/* Запрос цены — оформление под тему Prostore */

/* У товара «по запросу» счётчик количества не нужен, кнопка занимает всю ширину */
.ui-add-to-cart.is-ask-price .ui-number {
	display: none !important;
}

.ui-add-to-cart.is-ask-price .ui-btn {
	width: 100%;
}

/* Попап с формой */
.popup--ask-price {
	max-width: 480px;
	padding: 30px;
}

.popup--ask-price .ask-price__product {
	margin: -6px 0 18px;
	opacity: .7;
	font-size: 14px;
}

.popup--ask-price .ui-field {
	margin-bottom: 14px;
}

.ask-price-error {
	display: block;
	margin-top: 4px;
	color: #e74c3c;
	font-size: 13px;
}

.ask-price__agree {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 14px;
	font-size: 13px;
	opacity: .8;
}

.ask-price__agree input {
	margin-top: 3px;
}

.ask-price__done {
	text-align: center;
	padding: 10px 0;
}

.ask-price__done-icon {
	display: block;
	margin: 0 auto 14px;
	width: 56px;
	height: 56px;
	line-height: 56px;
	border-radius: 50%;
	background: #2ecc71;
	color: #fff;
	font-size: 28px;
}

/* Запасной вариант попапа, если в теме нет ни fancybox, ни Bootstrap */
.ask-price-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .6);
}

.ask-price-overlay__box {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 90vh;
	overflow: auto;
	padding: 30px;
	border-radius: 8px;
	background: #fff;
}

.ask-price-overlay__close {
	position: absolute;
	top: 8px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
