/* Nút yêu cầu tư vấn */
.hanoi26-single-product-page .hanoi26-product-consult-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	margin-top: 0.75rem;
	padding: 0.85rem 1rem;
	border: 2px solid #1d4ed8;
	border-radius: 0.75rem;
	background: #2563eb;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.hanoi26-single-product-page .hanoi26-product-consult-trigger:hover {
	background: #1d4ed8;
	border-color: #1e40af;
	color: #fff;
}

.hanoi26-single-product-page .hanoi26-product-consult-trigger i {
	font-size: 1rem;
	color: #fff;
}

.hanoi26-single-product-page .hanoi26-product-consult-trigger:hover i {
	color: #fff;
}

.hanoi26-single-product-page .hanoi26-pdp-promo-box__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.hanoi26-single-product-page .hanoi26-product-consult-trigger--promo {
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	padding: 0.5rem 0.75rem;
	border-width: 1px;
	border-radius: 0.625rem;
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

@media (max-width: 479px) {
	.hanoi26-single-product-page .hanoi26-pdp-promo-box__head {
		align-items: flex-start;
	}

	.hanoi26-single-product-page .hanoi26-product-consult-trigger--promo {
		padding-inline: 0.625rem;
	}
}

/* Modal */
.hanoi26-consult-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.hanoi26-consult-modal.hidden {
	display: none;
}

body.hanoi26-consult-open {
	overflow: hidden;
}

.hanoi26-consult-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.55);
	backdrop-filter: blur(2px);
}

.hanoi26-consult-modal__panel {
	position: relative;
	width: 100%;
	max-width: 28rem;
	max-height: calc(100vh - 2rem);
	overflow: auto;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
	transform: scale(0.96) translateY(8px);
	opacity: 0;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.hanoi26-consult-modal__panel.is-open {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.hanoi26-consult-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #e5e7eb;
}

.hanoi26-consult-modal__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 800;
	color: #111827;
}

.hanoi26-consult-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 0.5rem;
	background: #f3f4f6;
	color: #4b5563;
	cursor: pointer;
}

.hanoi26-consult-modal__close:hover {
	background: #e5e7eb;
	color: #111827;
}

.hanoi26-consult-form {
	padding: 1rem 1.25rem 1.25rem;
}

.hanoi26-consult-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hanoi26-consult-form__field {
	margin-bottom: 0.9rem;
}

.hanoi26-consult-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #374151;
}

.hanoi26-consult-form__field .required {
	color: #e53e3e;
}

.hanoi26-consult-form__field input,
.hanoi26-consult-form__field textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid #d1d5db;
	border-radius: 0.65rem;
	font-size: 0.875rem;
	color: #111827;
	background: #fff;
}

.hanoi26-consult-form__field input:focus,
.hanoi26-consult-form__field textarea:focus {
	outline: none;
	border-color: #111827;
	box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.hanoi26-consult-form__product {
	margin: 0 0 0.9rem;
	padding: 0.65rem 0.75rem;
	border-radius: 0.65rem;
	background: #f9fafb;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #4b5563;
}

.hanoi26-consult-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 3rem;
	border: 0;
	border-radius: 0.75rem;
	background: #e53e3e;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}

.hanoi26-consult-form__submit:hover:not(:disabled) {
	background: #c53030;
}

.hanoi26-consult-form__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.hanoi26-consult-form__submit-loading.hidden,
.hanoi26-consult-form__submit-text.hidden {
	display: none;
}

/* Notification — phong cách Ant Design */
.hanoi26-consult-notifications {
	position: fixed;
	top: 1.5rem;
	right: 1.5rem;
	z-index: 10100;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: min(24rem, calc(100vw - 2rem));
	pointer-events: none;
}

.hanoi26-consult-noti {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1rem 1rem 1rem 1.1rem;
	border-radius: 0.5rem;
	background: #fff;
	box-shadow:
		0 6px 16px rgba(0, 0, 0, 0.08),
		0 3px 6px -4px rgba(0, 0, 0, 0.12),
		0 9px 28px 8px rgba(0, 0, 0, 0.05);
	border: 1px solid #f0f0f0;
	transform: translateX(110%);
	opacity: 0;
	transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.28s ease;
	pointer-events: auto;
}

.hanoi26-consult-noti.is-visible {
	transform: translateX(0);
	opacity: 1;
}

.hanoi26-consult-noti__icon {
	flex-shrink: 0;
	font-size: 1.25rem;
	line-height: 1.2;
	margin-top: 0.1rem;
}

.hanoi26-consult-noti--success .hanoi26-consult-noti__icon {
	color: #52c41a;
}

.hanoi26-consult-noti--error .hanoi26-consult-noti__icon {
	color: #ff4d4f;
}

.hanoi26-consult-noti__content {
	flex: 1;
	min-width: 0;
}

.hanoi26-consult-noti__title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.88);
}

.hanoi26-consult-noti__message {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.65);
}

.hanoi26-consult-noti__close {
	flex-shrink: 0;
	border: 0;
	background: transparent;
	color: rgba(0, 0, 0, 0.45);
	cursor: pointer;
	padding: 0.15rem;
	font-size: 0.875rem;
	line-height: 1;
}

.hanoi26-consult-noti__close:hover {
	color: rgba(0, 0, 0, 0.88);
}

@media (max-width: 639px) {
	.hanoi26-consult-notifications {
		top: auto;
		bottom: 1rem;
		right: 1rem;
		left: 1rem;
		width: auto;
	}

	.hanoi26-consult-noti {
		transform: translateY(110%);
	}

	.hanoi26-consult-noti.is-visible {
		transform: translateY(0);
	}
}
