/* Ô tư vấn viên trên trang sản phẩm + popup để lại số điện thoại */
.bt-consultant {
	--btc-red: #ff2d55;
	--btc-blue: #0068ff;
	--btc-ink: #171a21;
	--btc-muted: #667085;
	margin: 14px 0;
	padding: 12px 12px 14px;
	border: 1.5px solid var(--btc-red);
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box;
}
.bt-consultant * { box-sizing: border-box; }

.bt-consultant__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}
.bt-consultant__sale {
	flex: 0 0 auto;
	padding: 3px 8px;
	border-radius: 4px;
	background: var(--btc-red);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .4px;
	line-height: 1.4;
}
.bt-consultant__head-text {
	color: #e51f3b;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}

/* Ảnh bên trái, nội dung bên phải - giữ nguyên bố cục này cả trên điện thoại
   như mẫu bepthaimall.com, không xếp dọc (xếp dọc làm ảnh co lại rất xấu). */
.bt-consultant__body {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 12px;
	align-items: start;
}

.bt-consultant__photo {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 10px;
	background: #f1f3f6;
	aspect-ratio: 1 / 1;
}
.bt-consultant__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}
.bt-consultant__initial {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #9aa1ad;
	font-size: 48px;
	font-weight: 800;
}
.bt-consultant__online {
	position: absolute;
	left: 8px;
	bottom: 8px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 1px 4px rgba(16, 24, 40, .18);
	color: #16a34a;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
}
.bt-consultant__online i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #16a34a;
	animation: bt-pulse 1.6s infinite;
}
@keyframes bt-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .45; transform: scale(.8); }
}

.bt-consultant__info { min-width: 0; }
.bt-consultant__intro {
	margin: 0 0 10px;
	color: #3a4250;
	font-size: 13px;
	line-height: 1.5;
}
.bt-consultant__intro strong { color: var(--btc-ink); }

.bt-consultant__zalo,
.bt-consultant__callback {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	margin: 0 0 8px;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease;
	/* Theme Flatsome ép mọi nút viết hoa toàn bộ, ở đây giữ đúng chữ thường như mẫu. */
	text-transform: none;
	letter-spacing: 0;
}
.bt-consultant__zalo,
.bt-consultant__zalo:hover,
.bt-consultant__zalo:focus {
	border: 1.5px solid var(--btc-blue);
	background: var(--btc-blue);
	color: #fff;
	text-decoration: none;
}
.bt-consultant__zalo:hover { background: #0055d4; border-color: #0055d4; }

.bt-consultant__callback {
	border: 1.5px solid var(--btc-red);
	background: #fff;
	color: var(--btc-red);
}
.bt-consultant__callback:hover { background: #fff3f5; color: var(--btc-red); }

.bt-consultant__hotline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	color: var(--btc-muted);
	font-size: 13px;
}
.bt-consultant__hotline svg { color: var(--btc-red); }
.bt-consultant__hotline a {
	color: var(--btc-ink);
	font-weight: 800;
	text-decoration: none;
}
.bt-consultant__hotline a:hover { color: var(--btc-red); }

@media (max-width: 420px) {
	.bt-consultant { padding: 10px; }
	.bt-consultant__head-text { font-size: 14px; }
	.bt-consultant__intro { font-size: 12.5px; }
	.bt-consultant__zalo,
	.bt-consultant__callback { min-height: 40px; font-size: 13px; }
	.bt-consultant__hotline { font-size: 12px; }
}

/* ---- Popup để lại số điện thoại ---- */
.bt-lead-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.bt-lead-modal[hidden] { display: none !important; }
/* Theme không đặt box-sizing cho mọi phần tử, thiếu dòng này popup tràn ra ngoài màn hình điện thoại. */
.bt-lead-modal, .bt-lead-modal * { box-sizing: border-box; }
.bt-lead-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 40, .55);
}
.bt-lead-modal__box {
	position: relative;
	width: 100%;
	max-width: 380px;
	padding: 22px 20px 18px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(16, 24, 40, .25);
}
.bt-lead-modal__close {
	position: absolute;
	top: 6px;
	right: 8px;
	padding: 4px 8px;
	border: 0;
	background: transparent;
	color: #98a2b3;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.bt-lead-modal__title {
	margin: 0 0 4px;
	color: #171a21;
	font-size: 19px;
	font-weight: 800;
}
.bt-lead-modal__subtitle {
	margin: 0 0 10px;
	color: #667085;
	font-size: 13px;
}
.bt-lead-modal__product {
	margin-bottom: 12px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f5f6f8;
	color: #3a4250;
	font-size: 12.5px;
}
.bt-lead-modal__form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.bt-lead-modal__phone-row {
	display: flex;
	align-items: stretch;
	border: 1.5px solid #e51f3b;
	border-radius: 8px;
	overflow: hidden;
}
.bt-lead-modal__flag {
	display: flex;
	align-items: center;
	padding: 0 10px;
	background: #fff5f6;
	color: #e51f3b;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}
.bt-lead-modal__phone-input,
.bt-lead-modal__name-input {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	background: #fff;
	box-shadow: none;
	color: #171a21;
	font-size: 14px;
}
.bt-lead-modal__phone-input { border-left: 1px solid #e7e9ee; }
.bt-lead-modal__name-input { border: 1px solid #e7e9ee; border-radius: 8px; }
.bt-lead-modal__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin: 2px 0 0;
	border: 0;
	border-radius: 8px;
	background: #e51f3b !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}
.bt-lead-modal__zalo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	border: 1.5px solid #0068ff;
	border-radius: 8px;
	color: #0068ff;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
}
.bt-lead-modal__status { min-height: 18px; font-size: 13px; }
.bt-lead-modal__status--ok { color: #14ae67; font-weight: 700; }
.bt-lead-modal__status--error { color: #e51f3b; font-weight: 700; }
.bt-lead-modal__note { margin: 0; color: #98a2b3; font-size: 11.5px; text-align: center; }
