.ham-lp-global {
	--primary-blue: #0066cc;
	--primary-orange: #ff6b00;
	--primary-pink: #ff2a5f;
	--text-dark: #0f172a;
	--text-muted: #64748b;
	--bg-gradient: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);

	background: var(--bg-gradient) !important;
	color: var(--text-dark) !important;
	font-family: 'Inter', sans-serif !important;
	padding: 40px 0 80px 0 !important;
	width: 100% !important;
	display: block !important;
	box-sizing: border-box !important;
}

.ham-lp-global * {
	box-sizing: border-box !important;
}

.ham-lp-container {
	max-width: 1140px !important;
	margin: 0 auto !important;
	padding: 0 15px !important;
	width: 100% !important;
}

/* KHUNG TỔNG THỂ DẠNG PREMIUM LIGHT CARD */
.ham-lp-card {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 24px !important;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
	padding: 35px !important;
	margin-bottom: 30px !important;
	width: 100% !important;
	display: block !important;
}

/* BANNER CHÍNH HOÀNH TRÁNG */
.ham-lp-hero-banner {
	width: 100% !important;
	border-radius: 24px !important;
	overflow: hidden !important;
	box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
	margin-bottom: 30px !important;
	border: 1px solid #e2e8f0 !important;
}

.ham-lp-hero-banner img {
	width: 100% !important;
	height: auto !important;
	display: block !important;
}

/* ==========================================
STYLE KHỐI ĐẾM NGƯỢC & TỒN KHO (URGENCY)
========================================== */
.ham-countdown-box {
	background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%) !important;
	color: #ffffff !important;
	border-radius: 20px !important;
	padding: 25px !important;
	margin-bottom: 35px !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 25px !important;
	box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.ham-cd-title {
	flex: 1 1 280px !important;
}

.ham-cd-title h3 {
	font-size: 18px !important;
	color: #ff3366 !important;
	margin: 0 0 5px 0 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.ham-cd-title p {
	font-size: 13px !important;
	color: #94a3b8 !important;
	margin: 0 !important;
}

.ham-cd-timer {
	display: flex !important;
	gap: 12px !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
}

.ham-cd-number-card {
	background: rgba(255,255,255,0.07) !important;
	border: 1px solid rgba(255,255,255,0.1) !important;
	border-radius: 12px !important;
	min-width: 65px !important;
	padding: 10px !important;
	text-align: center !important;
}

.ham-cd-number-card span {
	display: block !important;
	font-size: 24px !important;
	color: #ffffff !important;
	line-height: 1 !important;
}

.ham-cd-number-card label {
	font-size: 10px !important;
	color: #94a3b8 !important;
	text-transform: uppercase !important;
	margin-top: 5px !important;
	display: block !important;
}

/* KHU VỰC TỒN KHO */
.ham-progress-area {
	flex: 1 1 300px !important;
}

.ham-progress-text {
	display: flex !important;
	justify-content: space-between !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	margin-bottom: 10px !important;
}

/* CHIP TỒN KHO THEO MÀU (thay cho progress bar ảo) */
.ham-stock-color-row {
	display: flex !important;
	gap: 10px !important;
	flex-wrap: wrap !important;
}

.ham-stock-color-chip {
	background: rgba(255,255,255,0.07) !important;
	border: 1px solid rgba(255,255,255,0.12) !important;
	border-radius: 10px !important;
	padding: 8px 14px !important;
	font-size: 13px !important;
	color: #e2e8f0 !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
}

.ham-stock-color-chip strong {
	color: #ffffff !important;
}

.ham-stock-dot {
	width: 12px !important;
	height: 12px !important;
	border-radius: 50% !important;
	display: inline-block !important;
	flex-shrink: 0 !important;
}

.ham-dot-purple { background: #9333ea !important; box-shadow: 0 0 8px rgba(147,51,234,0.6) !important; }
.ham-dot-white { background: #f8fafc !important; border: 1px solid rgba(255,255,255,0.4) !important; }
.ham-dot-black { background: #0f172a !important; border: 1px solid rgba(255,255,255,0.3) !important; }

/* ==========================================
STYLE KHỐI THÔNG TIN CHƯƠNG TRÌNH (VALUE STACKING)
========================================== */
.ham-gift-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 20px !important;
	margin-top: 20px !important;
}

.ham-gift-item {
	flex: 1 1 calc(25% - 15px) !important;
	min-width: 220px !important;
	background: #f8fafc !important;
	border: 1px dashed #cbd5e1 !important;
	border-radius: 16px !important;
	padding: 20px !important;
	text-align: center !important;
	position: relative !important;
	transition: 0.2s ease !important;
}

.ham-gift-item:hover {
	border-color: var(--primary-pink) !important;
	background: #fff !important;
	transform: translateY(-3px) !important;
	box-shadow: 0 10px 20px rgba(255,42,95,0.05) !important;
}

.ham-gift-badge {
	position: absolute !important;
	top: -10px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	background: #0f172a !important;
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	padding: 3px 10px !important;
	border-radius: 20px !important;
	white-space: nowrap !important;
}

.ham-gift-icon {
	font-size: 32px !important;
	margin-bottom: 10px !important;
	display: block !important;
}

.ham-gift-name {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: var(--text-dark) !important;
	margin-bottom: 5px !important;
	line-height: 1.4 !important;
}

.ham-gift-value {
	font-size: 13px !important;
	color: var(--primary-pink) !important;
	font-weight: 600 !important;
}

/* PHÂN CHIA NỘI DUNG GIỚI THIỆU */
.ham-lp-split-row {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 30px !important;
	margin-bottom: 40px !important;
}

.ham-lp-split-col {
	flex: 1 1 500px !important;
	width: 100% !important;
}

.ham-lp-img-holder {
	width: 100% !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	border: 1px solid #e2e8f0 !important;
	background: #fff !important;
}

.ham-lp-img-holder img {
	width: 100% !important;
	height: auto !important;
	display: block !important;
	object-fit: cover !important;
}

.ham-lp-badge {
	background: linear-gradient(90deg, var(--primary-pink), var(--primary-orange)) !important;
	color: #fff !important;
	padding: 6px 16px !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	border-radius: 30px !important;
	display: inline-block !important;
	margin-bottom: 15px !important;
	text-transform: uppercase !important;
}

.ham-lp-main-title {
	font-size: 36px !important;
	line-height: 1.2 !important;
	margin: 0 0 15px 0 !important;
}

.ham-lp-price-tag {
	background: rgba(0, 102, 204, 0.05) !important;
	border-radius: 14px !important;
	padding: 15px 25px !important;
	display: inline-block !important;
	margin-bottom: 25px !important;
}

.ham-lp-price-tag span {
	font-size: 13px !important;
	color: var(--text-muted) !important;
	display: block !important;
}

.ham-lp-price-tag strong {
	font-size: 28px !important;
	color: var(--primary-pink) !important;
}

.ham-lp-btn-trigger {
	background: linear-gradient(90deg, var(--primary-orange), #ff8a00) !important;
	color: #fff !important;
	padding: 16px 32px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	border: none !important;
	border-radius: 14px !important;
	cursor: pointer !important;
	box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2) !important;
	transition: 0.2s ease !important;
	display: inline-block !important;
}

.ham-lp-btn-trigger:hover {
	transform: translateY(-2px) !important;
}

/* ==========================================
HỆ THỐNG FIX CỨNG LAYOUT FORM ĐĂNG KÝ
========================================== */
.ham-form-container {
	max-width: 680px !important;
	margin: 50px auto 0 auto !important;
	width: 100% !important;
	display: block !important;
	clear: both !important;
}

.ham-form-group {
	margin-bottom: 22px !important;
	width: 100% !important;
	display: block !important;
	clear: both !important;
}

.ham-form-group label {
	display: block !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #334155 !important;
	margin-bottom: 8px !important;
	text-align: left !important;
}

.ham-form-row-flexible {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 20px !important;
	width: 100% !important;
}

.ham-form-col-50 {
	flex: 1 1 calc(50% - 10px) !important;
	min-width: 250px !important;
	display: block !important;
}

.ham-concrete-input {
	width: 100% !important;
	display: block !important;
	height: 50px !important;
	background: #f8fafc !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 12px !important;
	padding: 0 16px !important;
	font-size: 15px !important;
	color: var(--text-dark) !important;
}

select.ham-concrete-input {
	appearance: none !important;
	-webkit-appearance: none !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	padding-right: 45px !important;
}

.ham-btn-submit-final {
	width: 100% !important;
	background: linear-gradient(90deg, var(--primary-pink), var(--primary-orange)) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 12px !important;
	height: 56px !important;
	font-size: 18px !important;
	cursor: pointer !important;
	box-shadow: 0 10px 25px rgba(255, 42, 95, 0.2) !important;
	letter-spacing: 0.5px !important;
}

/* CSS CHO HỘP THOẠI MODAL */
.ham-modal-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(15, 23, 42, 0.6) !important;
	backdrop-filter: blur(8px) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 999999 !important;
	opacity: 0;
	animation: fadeInOverlay 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

.ham-modal-content {
	background: #ffffff !important;
	border-radius: 24px !important;
	padding: 40px 30px !important;
	max-width: 450px !important;
	width: 90% !important;
	text-align: center !important;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15) !important;
	border: 1px solid #e2e8f0 !important;
	transform: scale(0.8);
	animation: scaleInModal 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

.ham-modal-icon-box {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px auto;
}

.ham-modal-status {
	font-size: 22px !important;
	font-weight: 800 !important;
	color: #10b981 !important;
	margin: 0 0 12px 0 !important;
	letter-spacing: 0.5px !important;
}

.ham-modal-message {
	font-size: 15px !important;
	color: #64748b !important;
	line-height: 1.6 !important;
	margin: 0 0 30px 0 !important;
}

.ham-modal-btn-close {
	background: #0f172a !important;
	color: #ffffff !important;
	border: none !important;
	padding: 14px 35px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	border-radius: 12px !important;
	cursor: pointer !important;
	transition: 0.2s ease !important;
	width: 100% !important;
}

.ham-modal-btn-close:hover {
	background: var(--primary-orange, #ff6b00) !important;
	box-shadow: 0 8px 20px rgba(255, 107, 0, 0.2) !important;
}

/* HIỆU ỨNG ICON TÍCH XANH HOẠT HỌA */
.ham-checkmark-circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 2; stroke-miterlimit: 10; stroke: #10b981; fill: none; animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
.ham-checkmark { width: 80px; height: 80px; border-radius: 50%; display: block; stroke-width: 3; stroke: #fff; stroke-miterlimit: 10; box-shadow: inset 0px 0px 0px #10b981; animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s toggle; }
.ham-checkmark-check { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; stroke: #10b981; animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards; }

@keyframes stroke { 100% { stroke-dashoffset: 0; } }
@keyframes fill { 100% { box-shadow: inset 0px 0px 0px 4px #10b981; } }
@keyframes fadeInOverlay { to { opacity: 1; } }
@keyframes scaleInModal { to { transform: scale(1); } }

/* ==========================================
STYLE CAM KẾT UY TÍN (TRUST BADGES)
========================================== */
.ham-trust-badges {
	display: flex !important;
	justify-content: center !important;
	gap: 20px !important;
	flex-wrap: wrap !important;
	margin-top: 20px !important;
	border-top: 1px solid #e2e8f0 !important;
	padding-top: 20px !important;
}

.ham-trust-item {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--text-muted) !important;
}

.ham-trust-item svg {
	color: #10b981 !important;
	flex-shrink: 0 !important;
}

/* 1. Nền tổng cho toàn bộ vùng chia đôi - Không gian tối sâu thẳm */
.ham-cosmic-section {
	position: relative !important;
	background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, #0f172a 60%, #020617 100%) !important;
	border: 1px solid rgba(99, 102, 241, 0.2) !important;
	border-radius: 24px !important;
	padding: 40px !important;
	overflow: hidden !important;
	box-shadow: 0 20px 40px rgba(2, 6, 23, 0.5) !important;
	display: flex;
	flex-wrap: wrap;
}

/* 2. Hiệu ứng hạt bụi vũ trụ bay xuyên suốt phía sau cả chữ và ảnh */
.ham-cosmic-stars {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	z-index: 1;
	opacity: 0.5;
	background-image: 
		radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 4px),
		radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 3px),
		radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 5px);
	background-size: 400px 400px, 250px 250px, 300px 300px;
	background-position: 0 0, 40px 60px, 130px 270px;
	animation: spaceFlyTotal 50s linear infinite;
}

@keyframes spaceFlyTotal {
	from { background-position: 0 0, 40px 60px, 130px 270px; }
	to { background-position: 400px 800px, 490px 560px, 430px 930px; }
}

/* 3. Tinh chỉnh card chữ bên trái */
.ham-cosmic-card-left {
	height: 100%;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px !important;
}

/* 4. Định dạng chữ Neon/Cyber */
.ham-cosmic-badge {
	background: linear-gradient(90deg, #ff007a, #9333ea) !important;
	color: #ffffff !important;
	align-self: flex-start;
}

.ham-cosmic-title {
	color: #ffffff !important;
	font-size: 34px !important;
	font-weight: 850 !important;
	letter-spacing: -0.5px !important;
	margin-top: 15px !important;
	margin-bottom: 15px !important;
}
.ham-cosmic-title span {
	background: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ham-cosmic-desc {
	color: #94a3b8 !important;
	line-height: 1.75 !important;
	font-size: 15px !important;
	margin-bottom: 25px !important;
}
.ham-cosmic-desc strong {
	color: #c084fc !important;
}

/* Box giá tiền */
.ham-cosmic-price-box {
	background: rgba(30, 41, 59, 0.6) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 16px !important;
	padding: 15px 20px !important;
	margin-bottom: 30px !important;
	backdrop-filter: blur(8px);
}
.ham-price-label {
	display: block !important;
	color: #64748b !important;
	font-size: 12px !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	margin-bottom: 5px !important;
}
.ham-price-value {
	color: #38bdf8 !important;
	font-size: 30px !important;
	font-weight: 800 !important;
	text-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* Nút bấm đặt hàng */
.ham-cosmic-btn {
	width: 100% !important;
	background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%) !important;
	border: none !important;
	box-shadow: 0 0 20px rgba(255, 107, 0, 0.4) !important;
	transition: all 0.3s ease !important;
	font-weight: bold;
}
.ham-cosmic-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 0 30px rgba(255, 107, 0, 0.7) !important;
}

/* 5. Khung chứa ảnh bên phải - Hiệu ứng hào quang (Glow) */
.ham-cosmic-img-holder {
	position: relative;
	background: transparent !important;
	border: none !important;
	display: flex;
	justify-content: center;
	align-items: center;
}
.ham-cosmic-img-holder::before {
	content: '';
	position: absolute;
	width: 70%; height: 70%;
	background: radial-gradient(circle, rgba(147, 51, 234, 0.3) 0%, transparent 70%);
	z-index: 1;
	pointer-events: none;
}
.ham-cosmic-img {
	position: relative;
	z-index: 2;
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
	transition: transform 0.5s ease;
}
.ham-cosmic-section:hover .ham-cosmic-img {
	transform: scale(1.03) translateY(-5px);
}

.ham-spec-top {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	padding: 16px;
	background: rgba(0,0,0,0.03);
	border-radius: 12px;
}
.ham-spec-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
	background: linear-gradient(135deg, #ede7f6 0%, #f3e8ff 100%) !important;
}

.ham-spec-icon img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 12px !important;
	display: block !important;
}

.ham-spec-icon svg {
	display: block !important;
}
.ham-spec-name {
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
}
.ham-spec-price {
	font-size: 12.5px;
	color: #666;
	margin-top: 3px;
}
.ham-spec-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.ham-spec-item {
	background: rgba(0,0,0,0.03);
	border-radius: 10px;
	padding: 10px 14px;
}
.ham-spec-label {
	font-size: 11px;
	color: #888;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.ham-spec-val {
	font-size: 13.5px;
	font-weight: 600;
	color: #1a1a1a;
}
.ham-spec-hi { color: var(--primary-orange, #ff6b00) !important; }

/* ==========================================
BỐ CỤC 2 CỘT: THÔNG SỐ (TRÁI) + KHUNG ẢNH (PHẢI)
========================================== */
.ham-spec-split {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 30px !important;
	align-items: flex-start !important;
}

.ham-spec-split-left {
	flex: 1 1 340px !important;
	min-width: 260px !important;
	display: flex !important;
	align-items: stretch !important;
}

.ham-spec-split-right {
	flex: 1 1 480px !important;
	min-width: 300px !important;
}

.ham-spec-grid-single {
	grid-template-columns: 1fr 1fr !important;
}

/* Khung chứa ảnh trống - sẵn sàng để gắn ảnh tự thiết kế */
.ham-spec-image-frame {
	width: 100% !important;
	min-height: 100% !important;
	background: #f8fafc !important;
	border: 1px dashed #cbd5e1 !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.ham-spec-image {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

@media (max-width: 480px) {
	.ham-spec-grid { grid-template-columns: 1fr; }
	.ham-spec-grid-single { grid-template-columns: 1fr !important; }
}

@media (max-width: 992px) {
	.ham-lp-main-title { font-size: 28px !important; }
	.ham-gift-item { flex: 1 1 calc(50% - 10px) !important; }
	.ham-stock-color-row { justify-content: center !important; }
	.ham-spec-split-right { min-height: 260px !important; }
}