/**
 * Cerere ofertă — doar brazi (html.afq-brazi). HVAC rămâne neschimbat.
 */
html.afq-brazi.afq-fancybox-open .fancybox-overlay,
body.afq-brazi.afq-fancybox-open .fancybox-overlay {
	background: rgba(4, 10, 8, 0.96) !important;
}

html.afq-brazi .fancybox-wrap.afq_popup.fancybox-opened,
body.afq-brazi .fancybox-wrap.afq_popup.fancybox-opened {
	width: min(560px, calc(100vw - 24px)) !important;
	max-width: calc(100vw - 24px) !important;
	max-height: min(90dvh, 920px) !important;
	background: #164530 !important;
	opacity: 1 !important;
	box-shadow: 0 22px 56px rgba(15, 47, 34, 0.45) !important;
	overflow: visible !important;
}

html.afq-brazi .fancybox-wrap.afq_popup .fancybox-skin,
html.afq-brazi .fancybox-wrap.afq_popup .fancybox-outer,
html.afq-brazi .fancybox-wrap.afq_popup .fancybox-inner,
html.afq-brazi .fancybox-wrap.afq_popup #afq_form {
	background: #164530 !important;
	opacity: 1 !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_form .form-group {
	background: transparent !important;
}

html.afq-brazi .fancybox-wrap.afq_popup .fancybox-skin {
	padding: 20px 22px 18px !important;
	border-radius: 14px !important;
	overflow: visible !important;
	position: relative !important;
}

html.afq-brazi .fancybox-wrap.afq_popup .fancybox-skin::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: 14px;
	pointer-events: none;
	opacity: 1;
	background-color: #164530;
	background-image:
		linear-gradient(180deg, rgba(22, 69, 48, 0.82) 0%, rgba(15, 47, 34, 0.88) 100%),
		url("/image/catalog/brazi/inchiriat/act-hero-bg.webp") center 30% / cover no-repeat;
	background-repeat: no-repeat;
}

html.afq-brazi .fancybox-wrap.afq_popup .fancybox-inner {
	max-height: min(78dvh, 760px) !important;
	position: relative !important;
	z-index: 1 !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_form {
	color: #f7f4ef;
	font-family: "Poppins", system-ui, sans-serif;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_form h4,
html.afq-brazi .fancybox-wrap.afq_popup h4 {
	color: #ffffff !important;
	font-family: "Cormorant Garamond", Georgia, serif !important;
	font-size: clamp(18px, 2.6vw, 24px) !important;
	line-height: 1.3 !important;
	margin: 0 44px 12px 0 !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #product_image_holder img {
	max-width: min(160px, 42vw);
	max-height: 120px;
	border: 3px solid #fff;
	border-radius: 6px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_form label,
html.afq-brazi .fancybox-wrap.afq_popup #afq_form label strong {
	color: #f3e6ea !important;
	font-family: "Poppins", system-ui, sans-serif !important;
	font-size: 13px !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_form a {
	color: #9ee09e !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_form .form-control,
html.afq-brazi .fancybox-wrap.afq_popup #afq_name,
html.afq-brazi .fancybox-wrap.afq_popup #afq_email,
html.afq-brazi .fancybox-wrap.afq_popup #afq_comments {
	background: #f7f4ef !important;
	color: #1a2535 !important;
	border: 1px solid #d7e8d7 !important;
	border-radius: 8px !important;
	min-height: 44px;
	font-size: 15px !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_comments {
	min-height: 88px;
	resize: vertical;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_form .form-control::placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_name::placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_email::placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_comments::placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_form .form-control::-webkit-input-placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_name::-webkit-input-placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_email::-webkit-input-placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_comments::-webkit-input-placeholder {
	color: #3d4a56 !important;
	opacity: 1 !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_form .form-control::-moz-placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_name::-moz-placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_email::-moz-placeholder,
html.afq-brazi .fancybox-wrap.afq_popup #afq_comments::-moz-placeholder {
	color: #3d4a56 !important;
	opacity: 1 !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_form .form-control:focus {
	border-color: #56ad56 !important;
	box-shadow: 0 0 0 3px rgba(86, 173, 86, 0.28) !important;
	outline: none !important;
	background: #fff !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_repeat_email {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

html.afq-brazi .fancybox-wrap.afq_popup .CFPError {
	color: #ffd4d4 !important;
	font-size: 12px;
	margin-top: 4px;
}

html.afq-brazi .fancybox-wrap.afq_popup .fancybox-close {
	top: 10px !important;
	right: 10px !important;
	width: 40px !important;
	height: 40px !important;
	z-index: 1000125 !important;
	border-color: #6a2033 !important;
	background: #fff !important;
	box-shadow: 0 6px 18px rgba(106, 32, 51, 0.28) !important;
}

html.afq-brazi .fancybox-wrap.afq_popup .fancybox-close::before,
html.afq-brazi .fancybox-wrap.afq_popup .fancybox-close::after {
	background: #6a2033 !important;
}

html.afq-brazi .fancybox-wrap.afq_popup .fancybox-close:hover {
	background: #6a2033 !important;
	border-color: #6a2033 !important;
}

html.afq-brazi .fancybox-wrap.afq_popup .fancybox-close:hover::before,
html.afq-brazi .fancybox-wrap.afq_popup .fancybox-close:hover::after {
	background: #fff !important;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_submit,
html.afq-brazi #afq_form #afq_submit,
html.afq-brazi .fancybox-inner #afq_submit,
html.afq-brazi button#afq_submit {
	background: #6a2033 !important;
	background-color: #6a2033 !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: 0 8px 22px rgba(106, 32, 51, 0.4) !important;
	min-height: 46px;
}

html.afq-brazi .fancybox-wrap.afq_popup #afq_submit:hover,
html.afq-brazi #afq_form #afq_submit:hover,
html.afq-brazi .fancybox-inner #afq_submit:hover,
html.afq-brazi button#afq_submit:hover {
	background: #491522 !important;
	background-color: #491522 !important;
	box-shadow: 0 8px 22px rgba(73, 21, 34, 0.45) !important;
}

html.afq-brazi .sweet-alert {
	font-family: "Poppins", system-ui, sans-serif !important;
	border-radius: 14px !important;
}

html.afq-brazi .sweet-alert h2 {
	font-family: "Cormorant Garamond", Georgia, serif !important;
	color: #6a2033 !important;
}

html.afq-brazi .sweet-alert p {
	color: #1a2535 !important;
}

html.afq-brazi .sweet-alert button.confirm {
	background-color: #6a2033 !important;
	border-radius: 999px !important;
	box-shadow: 0 6px 16px rgba(106, 32, 51, 0.35) !important;
}

html.afq-brazi .sweet-alert button.confirm:hover {
	background-color: #56ad56 !important;
}

@media (max-width: 767px) {
	html.afq-brazi .fancybox-wrap.afq_popup.fancybox-opened {
		width: calc(100vw - 16px) !important;
		max-width: calc(100vw - 16px) !important;
		max-height: min(94dvh, 100%) !important;
		top: 50% !important;
		transform: translate(-50%, -50%) scale(1) !important;
	}

	html.afq-brazi .fancybox-wrap.afq_popup .fancybox-skin {
		padding: 16px 14px 14px !important;
	}

	html.afq-brazi .fancybox-wrap.afq_popup .fancybox-inner {
		max-height: min(84dvh, 720px) !important;
	}

	html.afq-brazi .fancybox-wrap.afq_popup .fancybox-close {
		top: 8px !important;
		right: 8px !important;
		width: 40px !important;
		height: 40px !important;
	}

	html.afq-brazi .fancybox-wrap.afq_popup #product_image_holder img {
		max-width: 120px;
		max-height: 96px;
	}

	html.afq-brazi .fancybox-wrap.afq_popup #afq_form h4 {
		font-size: 18px !important;
	}
}

@media (max-width: 380px) {
	html.afq-brazi .fancybox-wrap.afq_popup #afq_form label,
	html.afq-brazi .fancybox-wrap.afq_popup #afq_form label strong {
		font-size: 12px !important;
	}
}
