/* ==========================================================================
   VN Dual Price – Giá USD/VNĐ, Lượt bán & Xem nhanh
   ========================================================================== */

:root {
	--vndp-accent: #d32f2f;
	--vndp-usd: inherit;
	--vndp-vnd: #ffb74d;
}

/* ---------- Giá kép ---------- */
.vndp-price {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.25;
	vertical-align: top;
}
.vndp-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.vndp-primary { color: var(--vndp-usd); font-weight: 700; font-size: 1em; }
.vndp-secondary { color: var(--vndp-vnd); font-weight: 600; font-size: .82em; opacity: .95; }
.vndp-price del { opacity: .55; font-weight: 400; font-size: .88em; text-decoration-thickness: 1px; }
.vndp-price ins { text-decoration: none; background: none; }
.vndp-secondary del { font-size: .9em; }
.vndp-prefix, .vndp-from, .vndp-sep { font-weight: 400; opacity: .8; }
.vndp-symbol { margin: 0 1px; }
.vndp-free { color: #43a047; font-weight: 700; }
.vndp-badge {
	display: inline-block;
	padding: 1px 6px;
	border-radius: 4px;
	background: var(--vndp-accent);
	color: #fff;
	font-size: .7em;
	font-weight: 700;
	line-height: 1.5;
	align-self: center;
}

/* Giá trong khung lớn (trang chi tiết, xem nhanh) */
.single-product .summary .price .vndp-primary,
.vndp-qv__price .vndp-primary { font-size: 1.55em; }
.single-product .summary .price .vndp-secondary,
.vndp-qv__price .vndp-secondary { font-size: 1.05em; }

/* Giá trong giỏ hàng */
.vndp-cart-alt { display: block; color: var(--vndp-vnd); opacity: .9; font-size: .8em; font-weight: 600; line-height: 1.3; }

/* ---------- Lượt bán ---------- */
.vndp-sold {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 4px 0 2px;
	font-size: 12px;
	line-height: 1.4;
	opacity: .85;
}
.vndp-sold strong { font-weight: 700; }
.vndp-sold__icon { color: #ff7043; flex: none; }
.vndp-sold--single { display: flex; margin: 4px 0 10px; font-size: 14px; }

/* ---------- Nút Xem nhanh ---------- */
.vndp-qv-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 6px 0 0;
	padding: 6px 12px;
	min-height: 0;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	opacity: .85;
	transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.vndp-qv-trigger:hover,
.vndp-qv-trigger:focus-visible {
	opacity: 1;
	background: var(--vndp-accent);
	border-color: var(--vndp-accent);
	color: #fff;
}
.vndp-qv-trigger.is-loading { pointer-events: none; opacity: .6; }

/* ---------- Nút chung ---------- */
.vndp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin: 0;
	padding: 0 20px;
	border: 2px solid var(--vndp-accent);
	border-radius: 8px;
	background: transparent;
	color: var(--vndp-accent);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s, background .2s, color .2s, box-shadow .2s, opacity .2s;
}
.vndp-btn:hover { transform: translateY(-1px); text-decoration: none; }
.vndp-btn:active { transform: translateY(0); }
.vndp-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.vndp-btn--buy {
	background: var(--vndp-accent);
	color: #fff;
	box-shadow: 0 6px 18px -6px var(--vndp-accent);
}
.vndp-btn--buy:hover { color: #fff; filter: brightness(1.08); }
.vndp-btn--cart:hover { background: var(--vndp-accent); color: #fff; }
.vndp-btn.is-loading { pointer-events: none; opacity: .7; }
.vndp-btn.is-loading svg { animation: vndp-spin .8s linear infinite; }

/* Nút Mua ngay trên trang chi tiết */
.vndp-buy-now-single.button { margin-left: 8px; min-height: 2.5em; border-radius: 4px; }
@media (max-width: 549px) {
	.vndp-buy-now-single.button { width: 100%; margin: 10px 0 0; }
}

/* ---------- Modal ---------- */
.vndp-modal {
	--bg: #17171a;
	--surface: #222227;
	--text: #f2f2f2;
	--muted: #a7a7ad;
	--line: rgba(255, 255, 255, .1);
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.vndp-modal[data-theme="light"] {
	--bg: #fff;
	--surface: #f5f5f7;
	--text: #1d1d1f;
	--muted: #6b6b72;
	--line: rgba(0, 0, 0, .1);
}
.vndp-modal.is-open { display: flex; }
.vndp-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .72);
	backdrop-filter: blur(3px);
	animation: vndp-fade .2s ease;
}
.vndp-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 960px;
	max-height: calc(100vh - 48px);
	overflow: auto;
	border-radius: 14px;
	background: var(--bg);
	color: var(--text);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
	outline: none;
	animation: vndp-pop .25s cubic-bezier(.2, .9, .3, 1.2);
	overscroll-behavior: contain;
}
.vndp-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.vndp-modal__close:hover { background: var(--vndp-accent); transform: rotate(90deg); }
.vndp-modal__loading { display: grid; place-items: center; min-height: 320px; color: var(--muted); gap: 12px; }
.vndp-spinner {
	width: 38px;
	height: 38px;
	border: 3px solid var(--line);
	border-top-color: var(--vndp-accent);
	border-radius: 50%;
	animation: vndp-spin .8s linear infinite;
}
html.vndp-lock, html.vndp-lock body { overflow: hidden !important; }

/* ---------- Nội dung Xem nhanh ---------- */
.vndp-qv { display: grid; grid-template-columns: 1fr 1fr; }
.vndp-qv__media { padding: 20px; background: var(--surface); border-radius: 14px 0 0 14px; }
.vndp-qv__main { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 1 / 1; background: #000; }
.vndp-qv__main img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .4s; }
.vndp-qv__main:hover img { transform: scale(1.04); }
.vndp-qv__main img.is-swapping { opacity: .2; }
.vndp-qv__flag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 6px 12px;
	border-radius: 999px;
	background: #ff7043;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.vndp-qv__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.vndp-qv__thumb {
	flex: none;
	width: 64px;
	height: 64px;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 8px;
	background: none;
	cursor: pointer;
	opacity: .6;
	transition: opacity .2s, border-color .2s;
}
.vndp-qv__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vndp-qv__thumb:hover, .vndp-qv__thumb.is-active { opacity: 1; border-color: var(--vndp-accent); }

.vndp-qv__info { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 24px; }
.vndp-qv__cats { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vndp-qv__cats a { color: inherit; }
.vndp-qv__cats a:hover { color: var(--vndp-accent); }
.vndp-qv__title { margin: 0; padding-right: 36px; color: var(--text); font-size: 24px; line-height: 1.3; font-weight: 700; }
.vndp-qv__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.vndp-qv__meta .vndp-sold { margin: 0; font-size: 13px; opacity: 1; }
.vndp-qv__rating { display: inline-flex; align-items: center; gap: 6px; }
.vndp-qv__rating .star-rating { margin: 0; font-size: 12px; }
.vndp-qv__stock { padding: 2px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.vndp-qv__stock.is-in { background: rgba(67, 160, 71, .15); color: #66bb6a; }
.vndp-qv__stock.is-out { background: rgba(229, 57, 53, .15); color: #ef5350; }
.vndp-qv__price {
	display: block;
	margin: 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--surface);
	color: var(--text);
}
.vndp-qv__excerpt { color: var(--muted); font-size: 14px; line-height: 1.65; max-height: 9.9em; overflow: auto; }
.vndp-qv__excerpt p:last-child { margin-bottom: 0; }

/* Biến thể */
.vndp-qv .variations_form { margin: 0; }
.vndp-qv .variations { width: 100%; margin: 0 0 6px; border: 0; }
.vndp-qv .variations th, .vndp-qv .variations td { display: block; padding: 0 0 6px; border: 0; text-align: left; color: var(--text); background: none; }
.vndp-qv .variations select {
	width: 100%;
	max-width: 100%;
	height: 42px;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: 8px;
	background-color: var(--surface);
	color: var(--text);
}
.vndp-qv .reset_variations { font-size: 12px; color: var(--muted); }
.vndp-qv .woocommerce-variation-add-to-cart,
.vndp-qv .single_variation_wrap .quantity { display: none !important; }
.vndp-qv .woocommerce-variation-price .vndp-primary { font-size: 1.3em; }
.vndp-qv .woocommerce-variation-availability { font-size: 13px; color: var(--muted); }

/* Số lượng & hành động */
.vndp-qv__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.vndp-qv__actions .vndp-btn { flex: 1 1 140px; }
.vndp-qty { display: inline-flex; align-items: stretch; height: 46px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.vndp-qty__btn {
	width: 38px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.vndp-qty__btn:hover { background: var(--vndp-accent); color: #fff; }
.vndp-qty__input {
	width: 48px !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--text) !important;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}
.vndp-qty__input::-webkit-outer-spin-button, .vndp-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.vndp-qv__notice:empty { display: none; }
.vndp-qv__notice { padding: 10px 14px; border-radius: 8px; font-size: 14px; line-height: 1.5; animation: vndp-fade .2s ease; }
.vndp-qv__notice.is-success { background: rgba(67, 160, 71, .15); color: #81c784; }
.vndp-qv__notice.is-error { background: rgba(229, 57, 53, .15); color: #ef9a9a; }
.vndp-qv__notice a { color: inherit; font-weight: 700; text-decoration: underline; margin-left: 6px; }
.vndp-modal[data-theme="light"] .vndp-qv__notice.is-success { color: #2e7d32; }
.vndp-modal[data-theme="light"] .vndp-qv__notice.is-error { color: #c62828; }
.vndp-qv__soldout { padding: 12px 14px; border-radius: 8px; background: rgba(229, 57, 53, .12); color: #ef5350; font-weight: 600; }

.vndp-qv__trust { display: grid; gap: 6px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13px; color: var(--muted); }
.vndp-qv__trust li { display: flex; align-items: center; gap: 8px; margin: 0; }
.vndp-qv__trust svg { flex: none; color: #66bb6a; }
.vndp-qv__more { align-self: flex-start; color: var(--vndp-accent); font-weight: 600; font-size: 14px; }
.vndp-qv__more:hover { text-decoration: underline; color: var(--vndp-accent); }

/* ---------- Mobile: dạng bottom-sheet ---------- */
@media (max-width: 767px) {
	.vndp-modal { padding: 0; align-items: flex-end; }
	.vndp-modal__dialog { max-height: 92vh; border-radius: 16px 16px 0 0; animation: vndp-up .28s ease; }
	.vndp-qv { grid-template-columns: 1fr; }
	.vndp-qv__media { padding: 14px; border-radius: 16px 16px 0 0; }
	.vndp-qv__main { aspect-ratio: 16 / 11; }
	.vndp-qv__info { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); gap: 12px; }
	.vndp-qv__title { font-size: 19px; padding-right: 0; }
	.vndp-qv__actions { position: sticky; bottom: 0; padding: 10px 0; background: var(--bg); z-index: 2; }
	.vndp-qty { flex: 1 1 100%; }
	.vndp-qty__input { flex: 1; }
	.vndp-qv__actions .vndp-btn { flex: 1 1 0; padding: 0 12px; font-size: 14px; }
}

@keyframes vndp-spin { to { transform: rotate(360deg); } }
@keyframes vndp-fade { from { opacity: 0; } }
@keyframes vndp-pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
@keyframes vndp-up { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
	.vndp-modal *, .vndp-modal__overlay, .vndp-modal__dialog { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Tắt Quick View mặc định của theme / plugin khác
   ========================================================================== */
.vndp-no-theme-qv .product-small .quick-view,
.vndp-no-theme-qv .products .quick-view,
.vndp-no-theme-qv .yith-wcqv-button,
.vndp-no-theme-qv .woosq-btn,
.vndp-no-theme-qv .woosq-link { display: none !important; }
.vndp-no-theme-qv .product-small .image-tools.grid-tools:not(:has(> *:not(.quick-view))) { display: none !important; }

/* ==========================================================================
   Thẻ sản phẩm thẳng hàng (Flatsome + WooCommerce mặc định)
   Không ép chiều cao cột/slide để slider Flatsome tính chiều cao bình thường;
   mỗi phần trong thẻ có chiều cao cố định nên mọi thẻ đều thẳng hàng.
   ========================================================================== */
.vndp-cards {
	--vndp-card-title: 14px;
	--vndp-card-lh: 1.4;
	--vndp-card-lines: 3;
	--vndp-price-h: 60px;
}
.vndp-cards .product-small .box-image { border-radius: 8px; overflow: hidden; }
.vndp-cards .product-small .box-image img { transition: transform .35s ease; }
.vndp-cards .product-small.box:hover .box-image img { transform: scale(1.04); }
.vndp-cards .product-small .box-text.box-text-products { padding: 12px 2px 4px; }

/* Danh mục: 1 dòng */
.vndp-cards .product-small .box-text .category,
.vndp-cards ul.products li.product .woocommerce-loop-product__category {
	display: block;
	height: 1.5em;
	margin: 0 0 4px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 11px;
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .6;
}

/* Tiêu đề: luôn đúng 3 dòng (chiều cao cố định) */
.vndp-cards .product-small .box-text .name.product-title,
.vndp-cards ul.products li.product .woocommerce-loop-product__title {
	display: block;
	height: calc(var(--vndp-card-lh) * 1em * var(--vndp-card-lines));
	margin: 0 0 10px;
	padding: 0;
	overflow: hidden;
	font-size: var(--vndp-card-title);
	line-height: var(--vndp-card-lh);
	font-weight: 600;
	word-break: break-word;
}
.vndp-cards .product-small .box-text .name.product-title a,
.vndp-cards ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--vndp-card-lines);
	line-clamp: var(--vndp-card-lines);
	overflow: hidden;
	color: inherit;
	line-height: inherit;
	transition: color .2s;
}
.vndp-cards .product-small .box-text .name.product-title a:hover { color: var(--vndp-vnd); }

/* Vùng giá */
.vndp-cards .product-small .box-text .price-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.vndp-cards ul.products li.product { position: relative; }
.vndp-cards .product-small .price-wrapper > .price,
.vndp-cards ul.products li.product .price { display: block; margin: 0; }

/* Khung giá nổi bật, căn giữa */
.vndp-cards .product-small .price .vndp-price,
.vndp-cards ul.products li.product .price .vndp-price {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: var(--vndp-price-h);
	box-sizing: border-box;
	gap: 3px;
	padding: 6px 10px;
	border-radius: 10px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 -2px 0 var(--vndp-accent);
	text-align: center;
	transition: box-shadow .2s, transform .15s, background .2s;
}
.vndp-cards .product-small .vndp-price .vndp-line,
.vndp-cards ul.products li.product .vndp-price .vndp-line { justify-content: center; align-items: baseline; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
.vndp-cards .product-small .price .vndp-primary,
.vndp-cards ul.products li.product .price .vndp-primary { font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.vndp-cards .product-small .vndp-primary ins,
.vndp-cards ul.products li.product .vndp-primary ins { order: 1; }
.vndp-cards .product-small .vndp-primary del,
.vndp-cards ul.products li.product .vndp-primary del { order: 2; font-size: 12px; font-weight: 500; opacity: .5; }
/* Nhãn % giảm: góc trên phải khung giá */
.vndp-cards .product-small .vndp-price .vndp-badge,
.vndp-cards ul.products li.product .vndp-price .vndp-badge {
	position: absolute;
	top: -7px;
	right: -4px;
	padding: 2px 7px;
	border-radius: 6px 6px 6px 0;
	font-size: 10.5px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, .35);
}
.vndp-cards .product-small .vndp-secondary,
.vndp-cards ul.products li.product .vndp-secondary { font-size: 13px; font-weight: 700; }
.vndp-cards .product-small .vndp-secondary del,
.vndp-cards ul.products li.product .vndp-secondary del { display: none; }
.vndp-cards .product-small .vndp-on-sale,
.vndp-cards ul.products li.product .vndp-on-sale { box-shadow: inset 0 0 0 1px rgba(255, 112, 67, .25), inset 0 -2px 0 #ff7043; }
.vndp-cards .vndp-price--empty .vndp-primary { font-size: 15px !important; opacity: .75; }

/* Khung giá bấm được (có bảng mua) */
.price-wrapper:has(.vndp-buy-panel) .vndp-price,
li.product:has(.vndp-buy-panel) .price .vndp-price { cursor: pointer; }
.vndp-cards .price-wrapper:has(.vndp-buy-panel) .vndp-price:hover,
.vndp-cards li.product:has(.vndp-buy-panel) .price .vndp-price:hover {
	background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
	transform: translateY(-1px);
}
/* Bảng nút mua: phủ đúng lên khung giá */
.vndp-buy-panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 5;
	display: flex;
	align-items: stretch;
	gap: 6px;
	height: var(--vndp-price-h, 60px);
	padding: 6px;
	box-sizing: border-box;
	border-radius: 10px;
	background: #1b1b1f;
	box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--vndp-accent);
	opacity: 0;
	visibility: hidden;
	transform: scale(.96);
	transition: opacity .18s, transform .18s, visibility .18s;
}
li.product > .vndp-buy-panel, a > .vndp-buy-panel { top: auto; }
.vndp-buy-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.vndp-buy-panel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 0;
	margin: 0;
	padding: 0 8px;
	border: 0;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	color: #fff;
	cursor: pointer;
	transition: filter .2s, transform .15s;
}
.vndp-buy-panel__btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.vndp-buy-panel__buy { flex: 1 1 auto; background: var(--vndp-accent); box-shadow: 0 4px 12px -4px var(--vndp-accent); }
.vndp-buy-panel__cart { flex: 0 0 44px; background: rgba(255, 255, 255, .12); }
.vndp-buy-panel__btn.is-loading svg { animation: vndp-spin .8s linear infinite; }
.vndp-buy-panel__btn.is-done { background: #2e7d32; }
.vndp-buy-panel__out { flex: 1; display: grid; place-items: center; color: #ef5350; font-weight: 700; font-size: 13px; }
.vndp-buy-panel__close {
	position: absolute;
	top: -8px;
	right: -6px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #444;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}
.vndp-buy-panel__close:hover { background: var(--vndp-accent); }

/* Lượt bán */
.vndp-cards .product-small .vndp-sold--loop,
.vndp-cards ul.products li.product .vndp-sold--loop { display: flex; justify-content: center; height: 17px; margin: 0; font-size: 12px; }
.vndp-sold--empty { visibility: hidden; }

/* Nút Xem nhanh nhỏ trên ảnh */
.image-tools:has(.vndp-qv-trigger--img) { opacity: 1 !important; visibility: visible !important; transform: none !important; padding: 0; top: 8px !important; right: 8px !important; z-index: 4; }
.vndp-qv-trigger--img {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 5px 10px 5px 8px;
	min-height: 0;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	background: rgba(15, 15, 18, .62);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .01em;
	opacity: .95;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
	transform: translateY(0);
	transition: background .2s, border-color .2s, transform .2s, opacity .2s;
}
.vndp-qv-trigger--img svg { width: 14px; height: 14px; }
.vndp-qv-trigger--img:hover,
.vndp-qv-trigger--img:focus-visible { background: var(--vndp-accent); border-color: var(--vndp-accent); transform: translateY(-1px); }
/* WooCommerce mặc định (không phải Flatsome) */
ul.products li.product .vndp-qv-trigger--img { position: absolute; top: 8px; right: 8px; z-index: 4; }

/* Nút Xem nhanh lớn dưới giá (khi chọn vị trí "bên dưới") */
.vndp-cards .vndp-qv-trigger--loop {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 9px 12px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .04);
	font-size: 13px;
	font-weight: 700;
	opacity: 1;
}
.vndp-cards .vndp-qv-trigger--loop:hover { background: var(--vndp-accent); border-color: var(--vndp-accent); color: #fff; }

/* Thông báo nhỏ */
.vndp-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 1000000;
	max-width: calc(100vw - 32px);
	padding: 12px 18px;
	border-radius: 10px;
	background: #1f1f23;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 14px 36px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
	transform: translate(-50%, 20px);
	opacity: 0;
	transition: opacity .25s, transform .25s;
}
.vndp-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.vndp-toast.is-success { border-left: 4px solid #43a047; }
.vndp-toast.is-error { border-left: 4px solid #e53935; }
.vndp-toast a { color: #ffb74d; font-weight: 700; margin-left: 8px; text-decoration: underline; }

@media (max-width: 549px) {
	.vndp-cards { --vndp-card-title: 13px; --vndp-price-h: 54px; }
	.vndp-cards .product-small .price .vndp-primary { font-size: 16px; }
	.vndp-qv-trigger--img span { display: none; }
	.vndp-qv-trigger--img { padding: 7px; }
	.vndp-buy-panel__btn { font-size: 12px; }
}
