/**
 * vPlugin Mua Hàng Nhanh - CSS theo thiết kế Stitch (https://stitch.withgoogle.com/)
 * Biến và bố cục tham chiếu: C:\Users\sagot\Desktop\mua ngay\code.html
 */
:root {
	--primary-gold: #c59d3f;
	--primary-gold-hover: #b08c35;
	--vp-mhn-gold: #c59d3f;
	--vp-mhn-gold-hover: #b08c35;
	--vp-mhn-gold-light: #fff7ed;
	--vp-mhn-text: #111827;
	--vp-mhn-text-muted: #6b7280;
	--vp-mhn-label: #374151;
	--vp-mhn-label-sm: #6b7280;
	--vp-mhn-border: #e5e7eb;
	--vp-mhn-border-light: #f3f4f6;
	--vp-mhn-bg-left: #f9fafb;
	--vp-mhn-radius: 8px;
	--vp-mhn-radius-lg: 8px;
	--vp-mhn-radius-pill: 9999px;
	--vp-mhn-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	--vp-mhn-shadow-btn: 0 10px 15px -3px rgba(251, 146, 60, 0.1), 0 4px 6px -2px rgba(251, 146, 60, 0.05);
}

/* Font: Inter (load trong PHP) */


.vp-mhn-after-add-to-cart-wrapper { margin-top: 16px; }
/* Ẩn nút Mua Ngay khi popup đang mở (tránh hiển thị trùng trong popup) */
body.vp-mhn-popup-open .vp-mhn-after-add-to-cart-wrapper { display: none !important; }
/* Chặn cuộn ngang khi popup mở (tránh dropdown Select2 gây scroll ngang) */
body.vp-mhn-popup-open { overflow-x: hidden; }
.vp-mhn-quick-buy-button {
	width: 100%;
	background-color: var(--primary-gold);
	color: #fff;
	font-weight: 700;
	padding: 12px 32px;
	border-radius: var(--vp-mhn-radius);
	border: none;
	cursor: pointer;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	transition: background-color 0.2s;
	margin:0px;
}
.vp-mhn-quick-buy-button:hover { background-color: var(--primary-gold-hover); }
.vp-mhn-quick-buy-button:disabled { background-color: #9ca3af; cursor: not-allowed; }

#vpMhnPopupOverlay {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 99998;
}
#vpMhnPopupOverlay.vp-mhn-hidden { display: none; }

#vpMhnQuickBuyPopup {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	z-index: 99999;
	overflow-y: auto;
	overflow-x: hidden;
}
#vpMhnQuickBuyPopup.vp-mhn-hidden { display: none; }

#vpMhnQuickBuyPopup .vp-mhn-popup-content {
	background: #fff;
	width: 100%;
	max-width: 1024px;
	border-radius: var(--vp-mhn-radius-lg);
	box-shadow: var(--vp-mhn-shadow);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
}

/* Cột trái: 5/12 ~ 41.67% - giống Stitch md:w-5/12 p-8 bg-gray-50 border-r border-gray-100 */
#vpMhnQuickBuyPopup .vp-mhn-popup-column-left {
	background: var(--vp-mhn-bg-left);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	border-right: 1px solid var(--vp-mhn-border-light);
}
.vp-mhn-product-block {
	text-align: left;
}
.vp-mhn-product-block .vp-mhn-product-image {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--vp-mhn-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	margin: 0 0 24px;
	display: block;
}
.vp-mhn-product-block .vp-mhn-product-name {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--vp-mhn-text);
	margin: 0 0 4px;
	line-height: 1.3;
}
.vp-mhn-product-block .vp-mhn-product-variation-name {
	font-size: 13px;
	color: var(--vp-mhn-text-muted);
	margin: 0 0 6px;
	line-height: 1.3;
}
.vp-mhn-product-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0;
}
.vp-mhn-product-block .vp-mhn-product-price {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--primary-gold);
	margin: 0;
}
.vp-mhn-product-price .vp-mhn-price-regular {
	text-decoration: line-through;
	color: var(--vp-mhn-text-muted);
	font-weight: 500;
	margin-right: 0.35em;
}
.vp-mhn-product-price .vp-mhn-price-sale {
	text-decoration: none;
	color: var(--primary-gold);
	font-weight: 600;
}

/* Trong popup: ẩn phần add-to-cart từ template biến thể (nút Mua ngay, số lượng của WC) */
#vpMhnVariationFormContainer .single_variation_wrap,
#vpMhnVariationFormContainer .single_add_to_cart_button,
#vpMhnVariationFormContainer button[type="submit"],
#vpMhnVariationFormContainer .quantity {
	display: none !important;
}

/* SỐ LƯỢNG - label + flex border rounded-lg w-32 */
.vp-mhn-quantity-block .vp-mhn-block-label,
.vp-mhn-variation-group .vp-mhn-variation-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--vp-mhn-label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 12px;
}

/* Số lượng: một thanh pill, không đường phân cách bên trong (giống ảnh 1) */
.vp-mhn-quantity-selector {
	display: inline-flex;
	align-items: center;
	width: 8rem;
	background: #fff;
	border: 1px solid var(--vp-mhn-border);
	border-radius: var(--vp-mhn-radius);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.vp-mhn-quantity-btn {
	width: 30px;
	min-height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: #2D323A;
	font-size: 1.125rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s;
	margin: 0px !important;
}
input#vpMhnQuantity{
	border:none !important;
	padding: 0px;
	box-shadow: none !important;
	margin-bottom: 0px !important;
}

.vp-mhn-quantity-input {
	width: 48px;
	text-align: center;
	border: none;
	padding: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #2D323A;
	background: transparent;
}
.vp-mhn-quantity-input:focus { outline: none; }

/* Biến thể - variant-pill: px-4 py-2 border rounded-full, active = gold */
/* Biến thể: dùng mặc định WooCommerce (table.variations + select) — theme/WooCommerce sẽ style */
#vpMhnVariationSelection { margin-top: 0; }
#vpMhnVariationSelection .variations { margin: 0 0 1em; }
#vpMhnVariationSelection .variations select {
	width: 100%;
	padding: 10px 16px;
	border: 1px solid var(--vp-mhn-border);
	border-radius: var(--vp-mhn-radius);
	font-size: 15px;
}
#vpMhnVariationSelection a.reset_variations {
    display: none;
}
#vpMhnVariationSelection form{
	margin-bottom: 0px !important;
}
#vpMhnVoucherContainer { margin-top: auto; }
#vpMhnVoucherMessage { font-size: 13px; margin-bottom: 8px; min-height: 1.2em; }
.vp-mhn-voucher-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; flex-wrap: wrap; }
.vp-mhn-voucher-ticket {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--vp-mhn-border);
	border-radius: var(--vp-mhn-radius);
	padding: 10px 14px;
	min-width: 140px;
	cursor: pointer;
}
.vp-mhn-voucher-code-badge {
	background: #fff7ed;
	color: var(--primary-gold-hover);
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
}
.vp-mhn-voucher-description { font-size: 13px; font-weight: 600; margin: 0; }

/* Cột phải: 7/12 ~ 58.33% - p-8 bg-white */
#vpMhnQuickBuyPopup .vp-mhn-popup-column-right {
	padding: 0;
	position: relative;
	overflow-y: auto;
	max-height: 90vh;
	background: #fff;
}
.vp-mhn-form-wrap { position: relative; padding: 20px; }
/* Nút đóng: con trực tiếp của .vp-mhn-popup-content, luôn góc trên phải (desktop + mobile) */
#vpMhnQuickBuyPopup .vp-mhn-close-button {
	position: absolute;
	top: 16px;
	right: 16px;
	width: auto;
	height: auto;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: #9ca3af;
	cursor: pointer;
	transition: color 0.2s;
	z-index: 50;
	margin: 0;
}
#vpMhnQuickBuyPopup .vp-mhn-close-button:hover { color: #4b5563; }
#vpMhnQuickBuyPopup .vp-mhn-close-button svg { width: 28px; height: 28px; }

/* Thông tin khách hàng - text-xl font-bold flex items-center gap-2 */
.vp-mhn-form-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--vp-mhn-text);
	margin: 0 0 24px;
	padding-right: 40px;
}
.vp-mhn-form-title-icon {
	width: 24px;
	height: 24px;
	color: var(--primary-gold);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vp-mhn-form-body { display: flex; flex-direction: column; gap: 16px; }
.vp-mhn-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
.vp-mhn-form-group { display: flex; flex-direction: column; gap: 6px; }
.vp-mhn-input-label {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--vp-mhn-label-sm);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 0px !important;
}

/* input-field: w-full px-4 py-2.5 border border-gray-200 rounded-lg focus:ring-2 focus:ring-gold */
#vpMhnQuickBuyPopup .vp-mhn-form-input,
#vpMhnQuickBuyPopup input.vp-mhn-form-input,
#vpMhnQuickBuyPopup select.vp-mhn-form-input,
#vpMhnQuickBuyPopup textarea.vp-mhn-form-input,
input#vpMhnCouponInput{
	width: 100%;
	padding: 8px 16px;
	border: 1px solid var(--vp-mhn-border);
	border-radius: var(--vp-mhn-radius);
	font-size: 15px;
	color: var(--vp-mhn-text);
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
	min-height: 40px;
	box-shadow: none !important;
	margin-bottom: 0px;
}
/* Select (tỉnh/xã): height cố định để khi chuyển native ↔ Select2 không bị nhảy */
#vpMhnQuickBuyPopup select.vp-mhn-form-input {
	height: 40px;
	box-sizing: border-box;
}
#vpMhnQuickBuyPopup .vp-mhn-form-input::placeholder,
#vpMhnQuickBuyPopup textarea.vp-mhn-form-input::placeholder {
	color: #9ca3af;
}
#vpMhnQuickBuyPopup .vp-mhn-form-input:hover,
#vpMhnQuickBuyPopup input.vp-mhn-form-input:hover,
#vpMhnQuickBuyPopup select.vp-mhn-form-input:hover,
#vpMhnQuickBuyPopup textarea.vp-mhn-form-input:hover,
#vpMhnQuickBuyPopup .vp-mhn-form-input:focus,
#vpMhnQuickBuyPopup input.vp-mhn-form-input:focus,
#vpMhnQuickBuyPopup select.vp-mhn-form-input:focus,
#vpMhnQuickBuyPopup textarea.vp-mhn-form-input:focus {
	outline: none;
	border-color: var(--primary-gold);
}
#vpMhnQuickBuyPopup .vp-mhn-form-input.vp-mhn-input-error { border-color: #dc2626; }
#vpMhnQuickBuyPopup .vp-mhn-form-input[readonly] { background-color: #f2f2f2; }
/* Select2 trong popup: đồng bộ với .vp-mhn-form-input (bo góc, border, chiều cao) */
#vpMhnQuickBuyPopup .select2-container { z-index: 100; width: 100% !important; height: 40px;}
#vpMhnQuickBuyPopup .select2-container .select2-selection--single {
	height: 40px;
	min-height: 40px;
	padding: 0 12px 0 16px;
	border: 1px solid var(--vp-mhn-border);
	border-radius: var(--vp-mhn-radius);
	background: #fff;
	outline: none;
	box-shadow: none;
}
#vpMhnQuickBuyPopup .select2-container .select2-selection__rendered {
	line-height: 38px;
	padding-left: 0;
	color: var(--vp-mhn-text);
	font-size: 15px;
}
#vpMhnQuickBuyPopup .select2-container .select2-selection__arrow {
	height: 38px;
	right: 8px;
}
#vpMhnQuickBuyPopup .select2-container--open .select2-selection {
	border-color: var(--primary-gold);
	outline: none;
}
/* Dropdown Select2 append vào body: z-index cao hơn popup, tránh tràn viewport gây cuộn ngang */
body.vp-mhn-popup-open .select2-dropdown {
	z-index: 100002;
	max-width: calc(100vw - 32px);
	border: 1px solid var(--vp-mhn-border);
	border-radius: var(--vp-mhn-radius);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}
body.vp-mhn-popup-open .select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid var(--vp-mhn-border);
	border-radius: var(--vp-mhn-radius);
	padding: 8px 12px;
	font-size: 15px;
	margin: 8px;
	width: calc(100% - 16px);
}
body.vp-mhn-popup-open .select2-results__option {
	padding: 10px 16px;
	font-size: 15px;
	color: var(--vp-mhn-text);
}
body.vp-mhn-popup-open .select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: var(--vp-mhn-gold-light);
	color: var(--vp-mhn-text);
}
body.vp-mhn-popup-open .select2-container--default .select2-results__option[aria-selected=true] {
	background: rgba(197, 157, 63, 0.15);
	color: var(--vp-mhn-text);
}
.vp-mhn-error-message { font-size: 13px; color: #dc2626; margin: 0; display: none; }
.vp-mhn-error-message:not(:empty) { display: block; }

/* PHƯƠNG THỨC THANH TOÁN - payment-card: flex items-center p-3 border rounded-lg, active = border gold bg-orange-50 */
.vp-mhn-payment-block .vp-mhn-block-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--vp-mhn-label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 12px;
}
.vp-mhn-payment-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}
.vp-mhn-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 10px 16px;
	padding-right: 44px;
	border: 1px solid var(--vp-mhn-border);
	border-radius: var(--vp-mhn-radius);
	background: #fff;
	cursor: pointer;
	margin: 0;
	position: relative;
	transition: all 0.2s;
}
.vp-mhn-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
	pointer-events: none;
}
.vp-mhn-option:hover { border-color: #d1d5db; }
.vp-mhn-option.vp-mhn-selected {
	background: var(--vp-mhn-gold-light);
	border-color: var(--primary-gold);
}
.vp-mhn-option.vp-mhn-selected::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background-color: var(--primary-gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* Label trên, sublabel dưới — giống ảnh mẫu */
.vp-mhn-option-label {
	display: block;
	
	font-weight: 700;
	color: #2D323A;
	line-height: 1.3;
	margin: 0 0 4px 0;
}
.vp-mhn-option-sublabel {
	display: block;
	font-size: 0.8125rem;
	font-weight: 400;
	color: #6C727D;
	line-height: 1.3;
	margin: 0;
}

/* Chi tiết thanh toán (dưới phương thức thanh toán) - theo mẫu mua ngay 3 */

.vp-mhn-payment-details-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--vp-mhn-text);
	margin: 0 0 12px 0;
}
.vp-mhn-coupon-row {
	margin-bottom: 12px;
	gap: 5px;
    display: flex;
    flex-direction: column;
}
.vp-mhn-coupon-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--vp-mhn-label-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0px !important;
}
.vp-mhn-coupon-input-wrap {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.vp-mhn-coupon-input:focus {
	border-color: var(--primary-gold);
	box-shadow: 0 0 0 1px var(--primary-gold);
}
.vp-mhn-apply-coupon-btn {
	background: var(--primary-gold);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	min-width: 100px;
	border: none;
	border-radius: var(--vp-mhn-radius);
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s;
	margin: 0px !important;
}
.vp-mhn-apply-coupon-btn:hover {
	background: var(--primary-gold-hover);
}
.vp-mhn-order-summary {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	color: var(--vp-mhn-text-muted);
	margin-bottom: 12px;
}
.vp-mhn-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.vp-mhn-summary-value {
	font-weight: 500;
	color: var(--vp-mhn-text);
}
.vp-mhn-summary-discount {
	font-weight: 500;
	color: #dc2626;
}
.vp-mhn-total-final-wrap {
	padding-top: 12px;
}
.vp-mhn-total-final-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 10px;
}
.vp-mhn-total-final-label {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--vp-mhn-text);
	margin: 0;
}
.vp-mhn-total-final-right {
	text-align: right;
}
.vp-mhn-total-final-amount {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--vp-mhn-text);
	margin: 0 0 4px 0;
}
.vp-mhn-discount-note {
	font-size: 0.9rem;
	font-weight: 500;
	color: #ea580c;
	margin: 0;
}

/* Footer: nút đặt hàng (full width theo mẫu) */
.vp-mhn-footer-block {

	
	display: flex;
	justify-content: stretch;
	margin: 0px;;
}
.vp-mhn-footer-block .vp-mhn-submit-button {
	width: 100%;
	margin: 0px !important;
}
.vp-mhn-total-row {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.vp-mhn-total-label {
	font-size: 0.875rem;
	color: var(--vp-mhn-text-muted);
}
.vp-mhn-total-amount {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--vp-mhn-text);
}
.vp-mhn-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--primary-gold);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	padding: 12px 30px;
	border: none;
	border-radius: var(--vp-mhn-radius);
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: var(--vp-mhn-shadow-btn);
}
.vp-mhn-submit-button:hover { background: var(--primary-gold-hover); }
.vp-mhn-submit-button:disabled { background: #9ca3af; cursor: not-allowed; box-shadow: none; }
.vp-mhn-out-of-stock-msg { margin: 0; color: #dc2626; font-size: 0.875rem; flex-shrink: 0; }
.vp-mhn-submit-arrow { flex-shrink: 0; width: 20px; height: 20px; }

.vp-mhn-hidden { display: none ; }
.vp-mhn-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.vp-mhn-processing-overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.9);
	z-index: 10;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border-radius: 0 var(--vp-mhn-radius-lg) var(--vp-mhn-radius-lg) 0;
}
.vp-mhn-spinner {
	border: 3px solid var(--vp-mhn-border);
	border-top-color: var(--primary-gold);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: vp-mhn-spin 0.8s linear infinite;
}
@keyframes vp-mhn-spin { to { transform: rotate(360deg); } }
.vp-mhn-processing-text { font-size: 14px; color: var(--vp-mhn-text-muted); }

/* Form wrap ẩn khi chuyển sang màn hình chờ thành công */
#vpMhnFormContainer.vp-mhn-hidden { display: none; }

/* Giao diện chờ chuyển (cột phải) – sau khi đặt hàng thành công, 3s rồi redirect */
.vp-mhn-success-transition {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 20px;
	background: #fff;
	border-radius: 0 var(--vp-mhn-radius-lg) var(--vp-mhn-radius-lg) 0;
	z-index: 21;
}
.vp-mhn-success-transition.vp-mhn-hidden { display: none; }
.vp-mhn-success-transition__icon-wrap {
	width: 96px;
	height: 96px;
	margin-bottom: 24px;
	background: var(--vp-mhn-gold-light);
	border: 4px solid var(--primary-gold);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: vp-mhn-pulse-subtle 2s ease-in-out infinite;
}
@keyframes vp-mhn-pulse-subtle {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}
.vp-mhn-success-transition__icon { color: var(--primary-gold); display: block; }
.vp-mhn-success-transition__icon svg { display: block; width: 56px; height: 56px; }
.vp-mhn-success-transition__title {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--vp-mhn-text);
	margin: 0 0 12px;
	line-height: 1.3;
}
.vp-mhn-success-transition__message {
	font-size: 1rem;
	color: var(--vp-mhn-text-muted);
	max-width: 320px;
	margin: 0 0 24px;
	line-height: 1.5;
}
.vp-mhn-success-transition__progress-wrap { width: 100%; max-width: 280px; margin-bottom: 24px; }
.vp-mhn-success-transition__progress-track {
	width: 100%;
	height: 6px;
	background: var(--vp-mhn-border-light);
	border-radius: var(--vp-mhn-radius-pill);
	overflow: hidden;
	margin-bottom: 16px;
}
.vp-mhn-success-transition__progress-fill {
	height: 100%;
	width: 0;
	background: var(--primary-gold);
	border-radius: var(--vp-mhn-radius-pill);
}
.vp-mhn-success-transition__wait {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--vp-mhn-text-muted);
	font-size: 14px;
	font-weight: 500;
}
.vp-mhn-success-transition__spinner {
	animation: vp-mhn-spin 0.8s linear infinite;
	color: var(--primary-gold);
	flex-shrink: 0;
}
.vp-mhn-success-transition__secure {
	margin: 24px 0 0;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	color: var(--vp-mhn-text-muted);
}

/* Mobile: cột trái dạng list – ảnh trên, tên → giá → số lượng (giống ảnh 1) */
@media (max-width: 767px) {
	/* Popup content scroll khi vượt chiều cao màn hình; cột phải không scroll riêng */
	#vpMhnQuickBuyPopup .vp-mhn-popup-content {
		max-height: 95vh;
		overflow-y: auto;
		overflow-x: hidden;
	}
	/* Hai cột không co lại (flex-shrink: 0) để cột trái không bị che / height = 0 */
	#vpMhnQuickBuyPopup .vp-mhn-popup-column-left,
	#vpMhnQuickBuyPopup .vp-mhn-popup-column-right {
		flex-shrink: 0;
	}
	#vpMhnQuickBuyPopup .vp-mhn-popup-column-right {
		overflow: visible;
		max-height: none;
	}
	#vpMhnQuickBuyPopup .vp-mhn-popup-column-left {
		display: flex;
		flex-direction: column;
		gap: 16px;
		padding: 0;
		border-right: none;
		border-radius: var(--vp-mhn-radius-lg) var(--vp-mhn-radius-lg) 0 0;
		overflow: hidden;
	}
	#vpMhnQuickBuyPopup .vp-mhn-product-block {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
		background: var(--vp-mhn-bg-left);
		padding: 16px 20px 0;
	}
	#vpMhnQuickBuyPopup .vp-mhn-product-block .vp-mhn-product-image {
		flex: 0 0 auto;
		width: 80px;
		height: 80px;
		object-fit: cover;
		margin: 0;
		display: block;
		border-radius: var(--vp-mhn-radius);
	}
	#vpMhnQuickBuyPopup .vp-mhn-product-block .vp-mhn-product-info {
		flex: 1 1 0;
		min-width: 0;
		display: flex;
		flex-direction: column;
		gap: 2px;
	}
	#vpMhnQuickBuyPopup .vp-mhn-product-block .vp-mhn-product-name {
		font-size: 1rem;
		font-weight: 600;
		color: var(--vp-mhn-text);
		margin: 0 0 2px;
		line-height: 1.3;
	}
	#vpMhnQuickBuyPopup .vp-mhn-product-block .vp-mhn-product-variation-name {
		font-size: 13px;
		color: var(--vp-mhn-text-muted);
		margin: 0 0 2px;
		line-height: 1.3;
	}
	#vpMhnQuickBuyPopup .vp-mhn-product-block .vp-mhn-product-price {
		margin: 0;
		font-size: 1rem;
	}
	#vpMhnQuickBuyPopup .vp-mhn-product-block .vp-mhn-product-price .vp-mhn-price-sale {
		font-weight: 700;
		color: var(--primary-gold);
	}
	#vpMhnQuickBuyPopup .vp-mhn-product-block .vp-mhn-product-price .vp-mhn-price-regular {
		font-weight: 400;
		color: var(--vp-mhn-text-muted);
		text-decoration: line-through;
		margin-right: 0.35em;
	}
	#vpMhnQuickBuyPopup .vp-mhn-quantity-block {
		padding: 0 15px 15px;
		background: var(--vp-mhn-bg-left);
	}
	#vpMhnQuickBuyPopup .vp-mhn-quantity-block .vp-mhn-block-label {
		margin-bottom: 8px;
	}
	#vpMhnQuickBuyPopup .vp-mhn-variation-selection{
		padding: 0 20px 0px;
		background: var(--vp-mhn-bg-left);
	}
	#vpMhnQuickBuyPopup .vp-mhn-voucher-container {
		padding: 0 20px 16px;
		background: var(--vp-mhn-bg-left);
	}
	/* Nút đặt hàng: sticky footer (tham khảo mẫu mua hang mobile) */
	#vpMhnQuickBuyPopup .vp-mhn-footer-block {
		position: sticky;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 40;
		background: #fff;
		padding: 16px 20px;
		margin: 0 -20px -20px;
		border-top: 1px solid var(--vp-mhn-border-light);
		box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
	}
	#vpMhnQuickBuyPopup .vp-mhn-footer-block .vp-mhn-submit-button {
		width: 100%;
		padding: 10px 24px;
		border-radius: 12px;
		font-size: 0.95rem;
		font-weight: 700;
		letter-spacing: 0.05em;
		text-transform: uppercase;
	}
}

@media (min-width: 768px) {
	#vpMhnQuickBuyPopup .vp-mhn-popup-content { flex-direction: row; }
	#vpMhnQuickBuyPopup .vp-mhn-popup-column-left {
		width: 40.666667%;
		min-width: 300px;
	}
	#vpMhnQuickBuyPopup .vp-mhn-popup-column-right { width: 58.333333%; }
	#vpMhnQuickBuyPopup .vp-mhn-form-grid { grid-template-columns: repeat(2, 1fr); }
	.vp-mhn-form-group.vp-mhn-col-50 { grid-column: span 1; }
	.vp-mhn-form-group.vp-mhn-col-100 { grid-column: 1 / -1; }
}


