/* ============================================
   Request a Quote Addons by Mambo
   Rediseño completo del popup de cotizaciones
   ============================================ */

:root {
	--rfqam-primary: #1a1a2e;
	--rfqam-primary-hover: #0f0f1e;
	--rfqam-bg: #ffffff;
	--rfqam-bg-soft: #f7f7f8;
	--rfqam-border: #e5e5e5;
	--rfqam-border-light: #f0f0f0;
	--rfqam-text: #1a1a1a;
	--rfqam-text-sec: #717171;
	--rfqam-text-muted: #b0b0b0;
	--rfqam-danger: #e53935;
	--rfqam-radius: 12px;
	--rfqam-radius-sm: 8px;
	--rfqam-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	--rfqam-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04);
	--rfqam-tr: all 0.15s ease;
}

/* =============================================
   OVERLAY
   ============================================= */
.afrfq-quote-popup-modal {
	background-color: rgba(0, 0, 0, 0.45) !important;
	backdrop-filter: blur(3px) !important;
	-webkit-backdrop-filter: blur(3px) !important;
	padding: 24px !important;
}

/* =============================================
   CONTENEDOR POPUP
   ============================================= */
.afrfq-quote-popup-content {
	background: var(--rfqam-bg) !important;
	width: 94% !important;
	max-width: 640px !important;
	border-radius: 16px !important;
	box-shadow: var(--rfqam-shadow) !important;
	position: relative !important;
	height: auto !important;
	max-height: 88vh !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	padding: 32px !important;
	margin: auto !important;
	animation: rfqam-in 0.25s ease-out !important;
}

@keyframes rfqam-in {
	from { opacity: 0; transform: translateY(16px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =============================================
   BOTON CERRAR
   ============================================= */
.afrfq-close-popup {
	position: absolute !important;
	top: 20px !important;
	right: 20px !important;
	font-size: 0 !important;
	cursor: pointer !important;
	width: 32px !important;
	height: 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: var(--rfqam-bg-soft) !important;
	transition: var(--rfqam-tr) !important;
	z-index: 10 !important;
	line-height: 1 !important;
}

.afrfq-close-popup::after {
	content: "\2715" !important;
	font-size: 14px !important;
	color: var(--rfqam-text-sec) !important;
}

.afrfq-close-popup:hover {
	background: var(--rfqam-border) !important;
}
.afrfq-close-popup:hover::after {
	color: var(--rfqam-text) !important;
}

/* =============================================
   TITULO (Template One)
   ============================================= */
.afrfq-quote-inner-content > h2,
.afrfq-quote-popup-content > .afrfq-quote-inner-content > h2 {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: var(--rfqam-text) !important;
	margin: 0 0 24px 0 !important;
	padding: 0 !important;
	border: none !important;
	line-height: 1.3 !important;
	letter-spacing: -0.3px !important;
}

/* =============================================
   WRAPPER PRINCIPAL
   ============================================= */
.adf-main-qoute-popup {
	padding: 0 !important;
}

.adf-request-quote-popup,
.adf-request-quote-popup.template_one {
	width: 100% !important;
	max-width: 100% !important;
}

.adf-request-quote-popup.template_one {
	padding: 0 !important;
}

/* =============================================
   TABLA DE PRODUCTOS -> CARDS
   ============================================= */
.afrfq-quote-popup-content table.addify-quote-form__contents {
	border: none !important;
	border-radius: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	margin: 0 0 24px 0 !important;
	width: 100% !important;
}

/* Ocultar encabezados de tabla */
.afrfq-quote-popup-content .addify-quote-form__contents thead {
	display: none !important;
}

/* Tbody como columna de cards */
.afrfq-quote-popup-content .addify-quote-form__contents tbody {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
}

/* Cada producto como fila tipo card */
.afrfq-quote-popup-content .addify-quote-form__contents tr.cart_item {
	display: flex !important;
	align-items: center !important;
	background: var(--rfqam-bg) !important;
	padding: 16px 0 !important;
	border-bottom: 1px solid var(--rfqam-border-light) !important;
	gap: 16px !important;
	transition: var(--rfqam-tr) !important;
	position: relative !important;
	height: auto !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents tr.cart_item:first-child {
	padding-top: 0 !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents tr.cart_item:last-of-type {
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

/* --- Imagen --- */
.afrfq-quote-popup-content .addify-quote-form__contents td.product-thumbnail {
	order: 1 !important;
	width: auto !important;
	flex: 0 0 64px !important;
	padding: 0 !important;
	border: none !important;
	text-align: center !important;
	background: none !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-thumbnail img {
	width: 64px !important;
	height: 64px !important;
	object-fit: cover !important;
	border-radius: var(--rfqam-radius-sm) !important;
	border: 1px solid var(--rfqam-border-light) !important;
	display: block !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-thumbnail .adf-product-remove {
	display: none !important;
}

/* --- Nombre producto --- */
.afrfq-quote-popup-content .addify-quote-form__contents td.product-name {
	order: 2 !important;
	flex: 1 1 auto !important;
	text-align: left !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	color: var(--rfqam-text) !important;
	min-width: 0 !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-name a {
	color: var(--rfqam-text) !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-name p {
	margin: 2px 0 0 !important;
	font-size: 12px !important;
	color: var(--rfqam-text-sec) !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-name dl.variation {
	margin: 4px 0 0 !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-name dl.variation dt,
.afrfq-quote-popup-content .addify-quote-form__contents td.product-name dl.variation dd {
	font-size: 12px !important;
	color: var(--rfqam-text-sec) !important;
}

/* --- Cantidad --- */
.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity {
	order: 3 !important;
	flex: 0 0 auto !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	text-align: center !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity {
	display: inline-flex !important;
	align-items: center !important;
	border: 1px solid var(--rfqam-border) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	background: var(--rfqam-bg) !important;
	height: 36px !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity input.qty {
	width: 36px !important;
	height: 34px !important;
	border: none !important;
	border-left: 1px solid var(--rfqam-border-light) !important;
	border-right: 1px solid var(--rfqam-border-light) !important;
	text-align: center !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--rfqam-text) !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	-moz-appearance: textfield !important;
	margin: 0 !important;
	line-height: 34px !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity input.qty::-webkit-inner-spin-button,
.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity button,
.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity .minus,
.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity .plus,
.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity input[type="button"] {
	width: 34px !important;
	height: 34px !important;
	border: none !important;
	background: transparent !important;
	cursor: pointer !important;
	font-size: 16px !important;
	color: var(--rfqam-text-sec) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: var(--rfqam-tr) !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity button:hover,
.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity .minus:hover,
.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity .plus:hover,
.afrfq-quote-popup-content .addify-quote-form__contents td.product-quantity .quantity input[type="button"]:hover {
	color: var(--rfqam-text) !important;
	background: var(--rfqam-bg-soft) !important;
}

/* --- Eliminar producto --- */
.afrfq-quote-popup-content .addify-quote-form__contents td.product-remove {
	order: 4 !important;
	width: auto !important;
	padding: 0 !important;
	text-align: center !important;
	border: none !important;
	background: none !important;
	flex: 0 0 auto !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-remove a.remove {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	height: 28px !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: var(--rfqam-text-muted) !important;
	font-size: 18px !important;
	text-decoration: none !important;
	transition: var(--rfqam-tr) !important;
	text-indent: 0 !important;
	line-height: 1 !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.product-remove a.remove:hover {
	background: #fef2f2 !important;
	color: var(--rfqam-danger) !important;
}

/* --- Precios --- */
.afrfq-quote-popup-content .addify-quote-form__contents td.product-price,
.afrfq-quote-popup-content .addify-quote-form__contents td.product-subtotal {
	order: 4 !important;
	flex: 0 0 auto !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--rfqam-text) !important;
	text-align: right !important;
	white-space: nowrap !important;
}

.afrfq-quote-popup-content .addify-quote-form__contents td.offered-price .offered-price-input {
	width: 72px !important;
	height: 34px !important;
	border: 1px solid var(--rfqam-border) !important;
	border-radius: 6px !important;
	text-align: center !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 4px !important;
	box-shadow: none !important;
	background: var(--rfqam-bg) !important;
}

/* Ocultar acciones update */
.afrfq-quote-popup-content .addify-quote-form__contents td.actions {
	display: none !important;
}

/* =============================================
   SEPARADOR ENTRE PRODUCTOS Y FORMULARIO
   ============================================= */
.afrfq-quote-popup-content div.af_quote_fields_template_one {
	border-top: 1px solid var(--rfqam-border) !important;
	padding-top: 24px !important;
	margin-top: 8px !important;
	width: 100% !important;
}

/* =============================================
   FORMULARIO DE CAMPOS
   ============================================= */
.afrfq-quote-popup-content .af-popup-quote-field-table {
	width: 100% !important;
	max-width: 100% !important;
}

.afrfq-quote-popup-content .af_quote_fields h2,
.afrfq-quote-popup-content .af_quote_fields h3 {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--rfqam-text) !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: none !important;
}

.afrfq-quote-popup-content table.quote-fields {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0 16px !important;
	justify-content: space-between !important;
}

.afrfq-quote-popup-content table.quote-fields tr {
	border: none !important;
}

.afrfq-quote-popup-content .adf_half_width {
	width: calc(50% - 8px) !important;
	flex: 0 0 calc(50% - 8px) !important;
	margin: 0 !important;
	padding: 0 !important;
	margin-top: 16px !important;
}

.afrfq-quote-popup-content .adf_full_width {
	width: 100% !important;
	flex: 0 0 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	margin-top: 16px !important;
}

.afrfq-quote-popup-content div.af_quote_fields label {
	display: block !important;
	margin-bottom: 2px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--rfqam-text) !important;
	line-height: 1.4 !important;
}

.afrfq-quote-popup-content div.af_quote_fields input[type="text"],
.afrfq-quote-popup-content div.af_quote_fields input[type="email"],
.afrfq-quote-popup-content div.af_quote_fields input[type="number"],
.afrfq-quote-popup-content div.af_quote_fields input[type="tel"],
.afrfq-quote-popup-content div.af_quote_fields input[type="date"],
.afrfq-quote-popup-content div.af_quote_fields input[type="time"],
.afrfq-quote-popup-content div.af_quote_fields input[type="datetime-local"],
.afrfq-quote-popup-content div.af_quote_fields select,
.afrfq-quote-popup-content div.af_quote_fields textarea {
	width: 100% !important;
	height: 44px !important;
	padding: 10px 12px !important;
	border: 1px solid var(--rfqam-border) !important;
	border-radius: var(--rfqam-radius-sm) !important;
	font-size: 14px !important;
	color: var(--rfqam-text) !important;
	background: var(--rfqam-bg) !important;
	box-shadow: none !important;
	transition: var(--rfqam-tr) !important;
	box-sizing: border-box !important;
	line-height: 1.4 !important;
}

.afrfq-quote-popup-content div.af_quote_fields textarea {
	height: auto !important;
	min-height: 72px !important;
	resize: vertical !important;
}

.afrfq-quote-popup-content div.af_quote_fields input:focus,
.afrfq-quote-popup-content div.af_quote_fields select:focus,
.afrfq-quote-popup-content div.af_quote_fields textarea:focus {
	border-color: var(--rfqam-primary) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.06) !important;
}

.afrfq-quote-popup-content div.af_quote_fields input::placeholder {
	color: var(--rfqam-text-muted) !important;
}

/* Select2 */
.afrfq-quote-popup-content .select2-container--default .select2-selection--single,
.afrfq-quote-popup-content .select2-container--default .select2-selection--multiple {
	height: 44px !important;
	border: 1px solid var(--rfqam-border) !important;
	border-radius: var(--rfqam-radius-sm) !important;
}

.afrfq-quote-popup-content .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 42px !important;
	font-size: 14px !important;
}

.afrfq-quote-popup-content .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 42px !important;
}

/* =============================================
   BOTON ENVIAR
   ============================================= */
.afrfq-quote-popup-content button.addify_popup_checkout_place_quote,
.afrfq-quote-popup-content button.addify_checkout_place_quote {
	width: 100% !important;
	padding: 14px 24px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	border-radius: var(--rfqam-radius-sm) !important;
	border: none !important;
	cursor: pointer !important;
	transition: var(--rfqam-tr) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	background: var(--rfqam-primary) !important;
	color: #fff !important;
	float: none !important;
	margin-top: 12px !important;
	line-height: 1.4 !important;
}

.afrfq-quote-popup-content button.addify_popup_checkout_place_quote:hover,
.afrfq-quote-popup-content button.addify_checkout_place_quote:hover {
	background: var(--rfqam-primary-hover) !important;
	box-shadow: 0 4px 12px rgba(26, 26, 46, 0.2) !important;
}

/* =============================================
   TOTALES
   ============================================= */
.afrfq-quote-popup-content .cart-collaterals {
	margin-top: 0 !important;
	margin-bottom: 8px !important;
}

.afrfq-quote-popup-content .cart-collaterals .cart_totals {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.afrfq-quote-popup-content .cart-collaterals .cart_totals h2 {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: var(--rfqam-text) !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	border: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.afrfq-quote-popup-content .cart-collaterals .table_quote_totals {
	background: var(--rfqam-bg-soft) !important;
	border-radius: var(--rfqam-radius-sm) !important;
	border: none !important;
	overflow: hidden !important;
}

.afrfq-quote-popup-content .cart-collaterals .table_quote_totals th,
.afrfq-quote-popup-content .cart-collaterals .table_quote_totals td {
	padding: 10px 16px !important;
	font-size: 14px !important;
	border: none !important;
	background: none !important;
}

.afrfq-quote-popup-content .cart-collaterals .table_quote_totals tr:last-child th,
.afrfq-quote-popup-content .cart-collaterals .table_quote_totals tr:last-child td {
	font-weight: 700 !important;
	border-top: 1px solid var(--rfqam-border) !important;
}

/* =============================================
   TERMINOS Y CONDICIONES
   ============================================= */
.afrfq-quote-popup-content .adf-term-conditon {
	font-size: 13px !important;
	color: var(--rfqam-text-sec) !important;
	gap: 8px !important;
	margin-top: 8px !important;
}

.afrfq-quote-popup-content .adf-term-conditon input[type="checkbox"] {
	accent-color: var(--rfqam-primary) !important;
}

/* =============================================
   RECAPTCHA
   ============================================= */
.afrfq-quote-popup-content .g-recaptcha {
	transform: none !important;
	margin-top: 8px !important;
}

/* =============================================
   MENSAJES
   ============================================= */
#popup-notice-container .woocommerce-error {
	margin: 0 0 16px !important;
	padding: 12px 16px !important;
	border-radius: var(--rfqam-radius-sm) !important;
	font-size: 13px !important;
}

/* =============================================
   LOADER
   ============================================= */
#loader-wrapper {
	background-color: rgba(255, 255, 255, 0.85) !important;
	backdrop-filter: blur(2px) !important;
}

#loader-wrapper::after {
	width: 28px !important;
	height: 28px !important;
	border-width: 3px !important;
	border-style: solid !important;
	border-color: var(--rfqam-primary) transparent var(--rfqam-primary) transparent !important;
}

/* =============================================
   SCROLLBAR
   ============================================= */
.afrfq-quote-popup-content::-webkit-scrollbar {
	width: 5px !important;
}
.afrfq-quote-popup-content::-webkit-scrollbar-track {
	background: transparent !important;
}
.afrfq-quote-popup-content::-webkit-scrollbar-thumb {
	background: var(--rfqam-text-muted) !important;
	border-radius: 3px !important;
}


/* =============================================
   TEMPLATE TWO (multi-step) ESPECIFICOS
   ============================================= */

.afrfq-popup-form-inner {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	max-height: 88vh !important;
}

/* Pasos */
.afrfq-popup-form-steps {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	padding: 20px 24px !important;
	border-bottom: 1px solid var(--rfqam-border-light) !important;
	gap: 0 !important;
	background: var(--rfqam-bg) !important;
	flex-shrink: 0 !important;
}

.afrfq-popup-form-step {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	flex: 0 1 auto !important;
	justify-content: center !important;
	padding: 0 16px !important;
	position: relative !important;
}

.afrfq-popup-form-step:not(:last-child)::after {
	content: "" !important;
	position: absolute !important;
	right: -12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 24px !important;
	height: 1px !important;
	background: var(--rfqam-border) !important;
}

.afrfq-popup-form-step-label {
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	border-radius: 50% !important;
	background: var(--rfqam-bg-soft) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	color: var(--rfqam-text-muted) !important;
	border: 2px solid var(--rfqam-border) !important;
	transition: var(--rfqam-tr) !important;
}

.afrfq-popup-form-step[data-active="true"] .afrfq-popup-form-step-label {
	background: var(--rfqam-primary) !important;
	color: #fff !important;
	border-color: var(--rfqam-primary) !important;
}

.afrfq-popup-form-step-description {
	font-size: 13px !important;
	color: var(--rfqam-text-muted) !important;
	font-weight: 500 !important;
	white-space: nowrap !important;
}

.afrfq-popup-form-step[data-active="true"] .afrfq-popup-form-step-description {
	color: var(--rfqam-text) !important;
	font-weight: 600 !important;
}

/* Area de contenido multi-step */
.afrfq-product-selection-section {
	flex: 1 !important;
	overflow-y: auto !important;
	background-color: var(--rfqam-bg-soft) !important;
	padding: 0 !important;
}

.afrfq-product-selection-section-inner {
	padding: 24px !important;
}

/* Template Two fields */
.afrfq-quote-popup-content div.af_quote_fields_template_two {
	background: var(--rfqam-bg) !important;
	padding: 24px !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	margin-top: 0 !important;
}

/* Footer multi-step */
.afrfq-popup-form-footer {
	padding: 16px 24px !important;
	border-top: 1px solid var(--rfqam-border-light) !important;
	background: var(--rfqam-bg) !important;
	flex-shrink: 0 !important;
}

.afrfq-popup-form-footer-buttons {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 12px !important;
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.afrfq-popup-form-button,
.afrfq-popup-form-button:hover {
	padding: 12px 16px !important;
	border-radius: var(--rfqam-radius-sm) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: var(--rfqam-tr) !important;
	background: var(--rfqam-bg) !important;
	color: var(--rfqam-text) !important;
	border: 1px solid var(--rfqam-border) !important;
	text-align: center !important;
}

.afrfq-popup-form-button:hover {
	background: var(--rfqam-bg-soft) !important;
}

.afrfq-popup-form-button-primary,
.afrfq-popup-form-button-primary:hover {
	padding: 12px 16px !important;
	border-radius: var(--rfqam-radius-sm) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: var(--rfqam-tr) !important;
	background: var(--rfqam-primary) !important;
	color: #fff !important;
	border: 1px solid var(--rfqam-primary) !important;
	text-align: center !important;
}

.afrfq-popup-form-button-primary:hover {
	background: var(--rfqam-primary-hover) !important;
}

/* Gracias (template two) */
.afrfq-popup-form-thankyou {
	padding: 48px 32px !important;
}

.afrfq-icon-circle {
	width: 64px !important;
	height: 64px !important;
	border-radius: 50% !important;
	background-color: #ecfdf5 !important;
	margin-bottom: 16px !important;
}

.afrfq-popup-form-thank-you-heading {
	font-size: 20px !important;
	color: var(--rfqam-text) !important;
	font-weight: 700 !important;
}

.afrfq-popup-form-thankyou-sub-heading {
	font-size: 14px !important;
	color: var(--rfqam-text-sec) !important;
	line-height: 1.5 !important;
}

.afrfq-continue-button,
.afrfq-continue-button:hover {
	background: var(--rfqam-primary) !important;
	color: #fff !important;
	border: none !important;
	padding: 12px 28px !important;
	border-radius: var(--rfqam-radius-sm) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
}

/* Review page */
.afrfq-popup-review-info-page .cart_totals h2 {
	padding-left: 0 !important;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 600px) {
	.afrfq-quote-popup-content {
		width: 100% !important;
		max-width: 100% !important;
		max-height: 95vh !important;
		border-radius: 16px 16px 0 0 !important;
		margin-top: auto !important;
		padding: 24px !important;
	}

	.afrfq-quote-popup-modal {
		padding: 0 !important;
		align-items: flex-end !important;
	}

	.afrfq-quote-popup-content .addify-quote-form__contents tr.cart_item {
		flex-wrap: wrap !important;
		padding: 12px 0 !important;
	}

	.afrfq-quote-popup-content .addify-quote-form__contents td.product-thumbnail {
		flex: 0 0 52px !important;
	}

	.afrfq-quote-popup-content .addify-quote-form__contents td.product-thumbnail img {
		width: 52px !important;
		height: 52px !important;
	}

	.afrfq-quote-popup-content .adf_half_width {
		width: 100% !important;
		flex: 0 0 100% !important;
	}

	/* Multi-step mobile */
	.afrfq-popup-form-steps {
		padding: 16px !important;
	}

	.afrfq-popup-form-step:not([data-active="true"]) {
		display: none !important;
	}

	.afrfq-popup-form-footer {
		padding: 12px 16px !important;
	}

	.afrfq-popup-form-button,
	.afrfq-popup-form-button:hover,
	.afrfq-popup-form-button-primary,
	.afrfq-popup-form-button-primary:hover {
		font-size: 13px !important;
		padding: 10px 12px !important;
	}

	.afrfq-product-selection-section-inner {
		padding: 16px !important;
	}
}
