/* Deal sàn landing + trang chi tiết sản phẩm. Tiền tố vmd- (deal), vmp- (product). */
.vmd, .vmp { --r:#e3242b; --rd:#b8151b; --ink:#0f172a; --ink2:#334155; --mut:#64748b; --line:#e2e8f0; --soft:#f6f7fb; --card:#fff; background: var(--soft); color: var(--ink); font-size: 15px; line-height: 1.5; padding-bottom: 40px; }
.vmd *, .vmp * { box-sizing: border-box; }
.vmd a, .vmp a { text-decoration: none; }
.vmd em, .vmp em, .vmp i { font-style: normal; }
.vmd-crumb { font-size: 13px; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.vmd-crumb a { color: inherit; } .vmd-crumb a:hover { text-decoration: underline; }
.vmp-crumb { color: var(--mut); padding: 14px 0 6px; margin: 0; } .vmp-crumb a { color: var(--mut); }

/* ---------- Hero ---------- */
.vmd-hero { background: radial-gradient(900px 400px at 85% -10%, #ff7a45 0, transparent 60%), linear-gradient(135deg, #b8151b 0%, #e3242b 55%, #ff5a36 100%); color: #fff; padding: 26px 0 64px; position: relative; overflow: hidden; }
.vmd-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.07); }
.vmd-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; position: relative; z-index: 1; }
.vmd-pill { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.vmd-hero__title { margin: 12px 0 8px; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.vmd-hero__sub { margin: 0 0 18px; font-size: 16px; color: rgba(255,255,255,.92); max-width: 560px; }
.vmd-search { display: flex; background: #fff; border-radius: 14px; padding: 5px; max-width: 560px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.vmd-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font-size: 15px; background: transparent; color: var(--ink); height: 46px; }
.vmd-search button { border: 0; background: var(--ink); color: #fff; font-weight: 700; padding: 0 22px; border-radius: 10px; cursor: pointer; }
.vmd-search button:hover { background: var(--rd); }
.vmd-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 13px; color: rgba(255,255,255,.92); }
.vmd-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vmd-stat { display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); border-radius: 16px; padding: 16px 12px; color: #fff; text-align: center; backdrop-filter: blur(4px); transition: transform .15s, background .15s; }
.vmd-stat b { font-size: 26px; line-height: 1.1; font-weight: 800; }
.vmd-stat span { font-size: 12px; opacity: .92; }
.vmd-stat:hover, .vmd-stat.is-on { background: #fff; color: var(--c); transform: translateY(-2px); }

/* ---------- Tab sàn + chip danh mục ---------- */
.vmd-bar { margin-top: -34px; position: relative; z-index: 3; }
.vmd-bar .mst-container { background: var(--card); border-radius: 18px; box-shadow: 0 18px 40px -22px rgba(15,23,42,.45); padding: 12px 16px 14px; }
.vmd-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.vmd-tabs::-webkit-scrollbar, .vmd-chips::-webkit-scrollbar, .vmp-thumbs::-webkit-scrollbar { display: none; }
.vmd-tab { flex: none; padding: 9px 16px; border-radius: 99px; font-weight: 700; color: var(--ink2); background: var(--soft); border: 1.5px solid transparent; white-space: nowrap; }
.vmd-tab em { font-size: 12px; font-weight: 600; color: var(--mut); margin-left: 3px; }
.vmd-tab:hover { border-color: var(--c); }
.vmd-tab.is-on { background: var(--c); color: #fff; } .vmd-tab.is-on em { color: rgba(255,255,255,.85); }
.vmd-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.vmd-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.vmd-chip .mst-ico { width: 17px; height: 17px; color: var(--r); }
.vmd-chip em { color: var(--mut); font-size: 12px; font-weight: 500; }
.vmd-chip:hover { border-color: var(--r); color: var(--r); }
.vmd-chip.is-on { background: #fff1f1; border-color: var(--r); color: var(--rd); }

/* ---------- Bố cục ---------- */
.vmd-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 22px; }
.vmd-side { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; }
.vmd-side__head { display: none; }
.vmd-form fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.vmd-form legend { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-bottom: 8px; padding: 0; }
.vmd-form select, .vmd-minmax input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; font-size: 14px; color: var(--ink); }
.vmd-radio, .vmd-check { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.vmd-radio em { margin-left: auto; font-size: 12px; color: var(--mut); }
.vmd-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.vmd-ranges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.vmd-r { padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; color: var(--ink2); background: #fff; }
.vmd-r:hover { border-color: var(--r); color: var(--r); } .vmd-r.is-on { background: var(--r); border-color: var(--r); color: #fff; }
.vmd-minmax { display: flex; align-items: center; gap: 6px; color: var(--mut); }
.vmd-form__act { display: flex; gap: 8px; align-items: center; }
.vmd-apply { display: inline-block; border: 0; background: var(--r); color: #fff; font-weight: 700; padding: 11px 20px; border-radius: 10px; cursor: pointer; flex: 1; text-align: center; }
.vmd-apply:hover { background: var(--rd); color: #fff; }
.vmd-reset { font-size: 13px; color: var(--mut); text-decoration: underline !important; }
.vmd-side__cats { border-top: 1px solid var(--line); padding-top: 14px; }
.vmd-side__cats strong { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.vmd-side__cats ul { list-style: none; margin: 8px 0 0; padding: 0; }
.vmd-side__cats li a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 14px; color: var(--ink2); }
.vmd-side__cats li a:hover { color: var(--r); } .vmd-side__cats em { color: var(--mut); font-size: 12px; }
.vmd-scrim { display: none; }

.vmd-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.vmd-toolbar p { margin: 0; color: var(--ink2); }
.vmd-filterbtn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 14px; font-weight: 700; cursor: pointer; color: var(--ink); }

/* ---------- Thẻ deal ---------- */
.vmd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.vmd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vmd-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s; }
.vmd-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(15,23,42,.5); border-color: #cbd5e1; }
.vmd-card__media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.vmd-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.vmd-card:hover .vmd-card__media img { transform: scale(1.05); }
.vmd-store { position: absolute; left: 8px; top: 8px; background: var(--c); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; line-height: 1.4; }
.vmd-store--inline { position: static; display: inline-block; }
.vmd-off { position: absolute; right: 8px; top: 8px; background: #fde047; color: #7c2d12; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 8px; }
.vmd-card__body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vmd-card__title { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 600; height: 2.8em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vmd-card__title a { color: var(--ink); } .vmd-card__title a:hover { color: var(--r); }
.vmd-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.vmd-card__price strong { color: var(--r); font-size: 17px; font-weight: 800; }
.vmd-card__price del { color: var(--mut); font-size: 12.5px; }
.vmd-card__nop { color: var(--mut); font-size: 13px; font-style: italic; }
.vmd-card__cta { margin-top: auto; text-align: center; font-weight: 700; font-size: 13.5px; padding: 9px 8px; border-radius: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); border: 1.5px solid color-mix(in srgb, var(--c) 35%, #fff); transition: background .15s, color .15s; }
.vmd-card:hover .vmd-card__cta, .vmd-card__cta:hover { background: var(--c); color: #fff; }

.vmd-pager { margin: 26px 0 8px; text-align: center; }
.vmd-pager .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink2); margin: 0 3px 6px; font-weight: 600; padding: 0 8px; }
.vmd-pager .page-numbers.current { background: var(--r); border-color: var(--r); color: #fff; }
.vmd-pager a.page-numbers:hover { border-color: var(--r); color: var(--r); }
.vmd-empty { background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 40px 20px; text-align: center; }
.vmd-empty .vmd-apply { flex: none; }

.vmd-how { margin-top: 34px; background: linear-gradient(135deg, #fff, #fff6f2); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.vmd-how h2 { margin: 0 0 14px; font-size: 21px; }
.vmd-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vmd-how li { display: flex; gap: 12px; align-items: flex-start; }
.vmd-how li b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--r); color: #fff; }
.vmd-how li strong { display: block; } .vmd-how li span { color: var(--mut); font-size: 13.5px; }
.vmd-disc { margin: 14px 0 0; font-size: 12.5px; color: var(--mut); }

/* ================== Chi tiết sản phẩm ================== */
.vmp-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 8px; }
.vmp-gallery { position: sticky; top: 90px; }
.vmp-stage { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; }
.vmp-stage img { width: 100%; height: 100%; object-fit: contain; }
.vmp-off { position: absolute; left: 12px; top: 12px; background: var(--r); color: #fff; font-weight: 800; padding: 5px 11px; border-radius: 10px; }
.vmp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.vmp-th { flex: none; width: 72px; height: 72px; padding: 0; border: 2px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; }
.vmp-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vmp-th.is-on, .vmp-th:hover { border-color: var(--r); }
.vmp-info { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.vmp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.vmp-tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--soft); color: var(--ink2); border: 1px solid var(--line); }
a.vmp-tag:hover { color: var(--r); border-color: var(--r); }
.vmp-tag--own { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.vmp-title { margin: 0 0 10px; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.vmp-rate { display: flex; align-items: center; gap: 4px; color: #f59e0b; font-weight: 700; margin-bottom: 8px; } .vmp-rate .mst-ico { width: 16px; height: 16px; } .vmp-rate span { color: var(--mut); font-weight: 500; }
.vmp-pricebox { background: linear-gradient(135deg, #fff1f1, #fff7ed); border: 1px solid #fecdd3; border-radius: 14px; padding: 14px 16px; margin: 12px 0; }
.vmp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.vmp-price strong { font-size: 32px; line-height: 1.1; color: var(--r); font-weight: 800; letter-spacing: -.02em; }
.vmp-price--nop strong { font-size: 20px; }
.vmp-price del { color: var(--mut); font-size: 16px; }
.vmp-save { background: #16a34a; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.vmp-pnote { margin: 6px 0 0; font-size: 13px; color: var(--mut); }
.vmp-short { color: var(--ink2); font-size: 14.5px; margin-bottom: 12px; } .vmp-short p { margin: 0 0 6px; }
.vmp-h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.vmp-offers { margin: 14px 0; }
.vmp-offer { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.vmp-offer.is-best { border-color: #16a34a; background: #f0fdf4; }
.vmp-offer.is-out { opacity: .55; }
.vmp-offer__logo { width: 36px; height: 36px; border-radius: 10px; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; }
.vmp-offer__mid b { display: block; font-size: 14px; } .vmp-offer__mid i { font-size: 11.5px; font-weight: 700; color: #15803d; } .vmp-offer__mid i.own { color: #0369a1; }
.vmp-offer__price { text-align: right; } .vmp-offer__price strong { display: block; color: var(--r); font-size: 16px; } .vmp-offer__price del { color: var(--mut); font-size: 12px; } .vmp-offer__price span { color: var(--mut); font-size: 13px; }
.vmp-offer__btn { background: var(--c); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 9px; white-space: nowrap; }
.vmp-offer__btn:hover { filter: brightness(.9); color: #fff; } .vmp-offer__btn.is-off { background: #e2e8f0; color: var(--mut); }
.vmp-cta { margin: 14px 0; }
.vmp-buy { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 16px; border-radius: 14px; background: var(--c, var(--r)); color: #fff !important; font-weight: 800; font-size: 17px; box-shadow: 0 14px 26px -14px var(--c, var(--r)); transition: transform .15s, filter .15s; }
.vmp-buy:hover { transform: translateY(-2px); filter: brightness(.94); }
.vmp-buy.is-off { background: #cbd5e1; box-shadow: none; }
.vmp-cta form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.vmp-cta .quantity input { height: 50px; width: 80px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.vmp-cta .single_add_to_cart_button { flex: 1; min-width: 180px; height: 52px; border: 0 !important; border-radius: 14px !important; background: var(--r) !important; color: #fff !important; font-weight: 800; font-size: 16px; cursor: pointer; }
.vmp-cta .single_add_to_cart_button:hover { background: var(--rd) !important; }
.vmp-cta table.variations { width: 100%; margin-bottom: 10px; } .vmp-cta table.variations select { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 10px; }
.vmp-contact { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; font-size: 14.5px; margin-bottom: 12px; }
.vmp-assure { list-style: none; margin: 0 0 12px; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: 13.5px; color: var(--ink2); }
.vmp-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--mut); }
.vmp-share a, .vmp-share button { border: 1px solid var(--line); background: #fff; color: var(--ink2); padding: 5px 11px; border-radius: 99px; cursor: pointer; font-size: 13px; }
.vmp-share a:hover, .vmp-share button:hover { border-color: var(--r); color: var(--r); }
.vmp-disc { margin: 12px 0 0; font-size: 12px; color: var(--mut); }

.vmp-nav { display: flex; gap: 6px; margin: 26px 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px; overflow-x: auto; position: sticky; top: 60px; z-index: 5; scrollbar-width: none; }
.vmp-nav a { padding: 9px 16px; border-radius: 10px; font-weight: 700; color: var(--ink2); white-space: nowrap; } .vmp-nav a:hover { background: #fff1f1; color: var(--r); }
.vmp-sec { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 18px; }
.vmp-h2 { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.vmp-desc { color: var(--ink2); font-size: 15.5px; line-height: 1.75; overflow-wrap: anywhere; }
.vmp-desc img { max-width: 100%; height: auto; border-radius: 10px; }
.vmp-desc.is-clamp { max-height: 360px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.vmp-desc.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.vmp-more { display: block; margin: 8px auto 0; border: 1.5px solid var(--r); color: var(--r); background: #fff; border-radius: 99px; padding: 8px 22px; font-weight: 700; cursor: pointer; }
.vmp-more:hover { background: var(--r); color: #fff; }
.vmp-desc-empty { color: var(--mut); margin: 0; }
.vmp .vm-offers { margin: 0 0 18px; background: #fff; border-radius: 18px; padding: 22px; border: 1px solid var(--line); }
.vmp-sticky { display: none; }

/* ---------- Điện thoại / máy tính bảng ---------- */
body.mst-vmp .vmc-sticky { display: none !important; }
@media (max-width: 1100px) { .vmd-grid, .vmd-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.vmd-hero__grid { grid-template-columns: minmax(0, 1fr); } .vmd-hero__stats { max-width: 520px; }
	.vmd-layout { grid-template-columns: minmax(0, 1fr); }
	.vmd-filterbtn { display: inline-block; }
	.vmd-side { position: fixed; inset: 0 auto 0 0; width: min(86vw, 340px); max-height: none; border-radius: 0 18px 18px 0; z-index: 10001; transform: translateX(-102%); transition: transform .25s; }
	.vmd-side.is-open { transform: none; }
	.vmd-side__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 17px; }
	.vmd-x { border: 0; background: var(--soft); width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
	.vmd-scrim.is-open { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 10000; }
	.vmp-top { grid-template-columns: minmax(0, 1fr); } .vmp-gallery { position: static; }
	.vmd-how ol { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.vmd-hero { padding: 18px 0 58px; }
	.vmd-hero__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; } .vmd-stat { padding: 12px 6px; } .vmd-stat b { font-size: 20px; }
	.vmd-grid, .vmd-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.vmd-card__body { padding: 9px 9px 11px; } .vmd-card__title { font-size: 13px; } .vmd-card__price strong { font-size: 15px; } .vmd-card__cta { font-size: 12.5px; padding: 8px 4px; }
	.vmd-search button { padding: 0 16px; }
	.vmp-info, .vmp-sec { padding: 16px; border-radius: 16px; }
	.vmp-price strong { font-size: 27px; }
	.vmp-offer { grid-template-columns: 32px 1fr auto; } .vmp-offer__btn { grid-column: 1 / -1; text-align: center; }
	.vmp-nav { top: 52px; }
	.vmp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; gap: 10px; align-items: center; justify-content: space-between; background: #fff; border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 24px -14px rgba(15,23,42,.4); }
	.vmp-sticky__t small { display: block; color: var(--mut); font-size: 11px; } .vmp-sticky__t strong { color: var(--r); font-size: 18px; }
	.vmp-sticky__b { background: var(--r); color: #fff !important; font-weight: 800; padding: 12px 20px; border-radius: 12px; }
	body.mst-vmp .vmp { padding-bottom: 80px; }
}

.vmp-assure li { position: relative; padding-left: 22px; } .vmp-assure li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2.5px solid #16a34a; border-bottom: 2.5px solid #16a34a; transform: rotate(-45deg); }

/* Form thêm giỏ (Rehub đè kiểu nút, nên chọn cụ thể hơn) */
.vmp .vmp-cta form.cart .single_add_to_cart_button, .vmp .vmp-cta form.cart button.button.alt { background: var(--r) !important; color: #fff !important; border: 0 !important; border-radius: 14px !important; height: 52px; font-weight: 800; font-size: 16px; text-transform: none; box-shadow: 0 12px 22px -14px var(--r); opacity: 1; }
.vmp .vmp-cta form.cart .single_add_to_cart_button.disabled, .vmp .vmp-cta form.cart .single_add_to_cart_button.wc-variation-selection-needed { background: #cbd5e1 !important; box-shadow: none; cursor: not-allowed; }
.vmp .vmp-cta table.variations, .vmp .vmp-cta table.variations tr, .vmp .vmp-cta table.variations td, .vmp .vmp-cta table.variations th { display: block; width: 100%; border: 0; padding: 0; background: none; }
.vmp .vmp-cta table.variations th.label, .vmp .vmp-cta table.variations th label { font-weight: 700; font-size: 13px; margin: 8px 0 4px; text-align: left; }
.vmp .vmp-cta .variations_form { display: block; }
.vmp .vmp-cta .woocommerce-variation-add-to-cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.vmp .vmp-cta .quantity { margin: 0; }
.vmp .vmp-cta .reset_variations { font-size: 12px; color: var(--mut); }

.vmp-gallery, .vmp-info, .vmd-main, .vmp-top > * { min-width: 0; } .vmp-stage img { max-width: 100%; }

/* Phân loại (màu, size...) */
.vmp-variants { margin: 12px 0 4px; display: grid; gap: 12px; }
.vmp-vg__name { font-weight: 700; font-size: 14px; margin-bottom: 6px; } .vmp-vg__name small { font-weight: 500; color: var(--mut); font-size: 12px; }
.vmp-vg__opts { display: flex; flex-wrap: wrap; gap: 6px; max-height: 190px; overflow: auto; padding: 2px; }
.vmp-opt { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 5px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; color: var(--ink2); line-height: 1.3; }
.vmp-opt:not(:has(img)) { padding-left: 11px; }
.vmp-opt img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; flex: none; }
a.vmp-opt--link:hover { border-color: var(--r); color: var(--r); background: #fff1f1; }
