/* ==========================================================================
   VITIMEX – UPSELL / MUA CẢ BỘ / TRANG DANH MỤC (vtm-upsell.css) – v5
   Đi cùng assets/vtm-upsell.js. Dùng biến màu/chữ của vtm-refresh.css.
   ========================================================================== */
:root {
	--vu-ink: var(--vtm-ink, #0a0a0a);
	--vu-ink2: var(--vtm-ink-2, #374151);
	--vu-muted: var(--vtm-muted, #6b7280);
	--vu-line: var(--vtm-line, #e5e7eb);
	--vu-soft: var(--vtm-soft, #f5f5f5);
	--vu-sale: var(--vtm-sale, #c8102e);
	--vu-ok: #0f7b3f;
	--vu-font: var(--vtm-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
	--vu-ease: cubic-bezier(.2, .8, .2, 1);
}
html.vtm-up-lock, html.vtm-up-lock body { overflow: hidden !important; }
/* ẩn nút nổi (tim tích điểm, liên hệ) khi đang mở khung để không che nút bấm */
html.vtm-up-lock #hrv-loyalty, html.vtm-up-lock .vtm-float-contact, html.vtm-up-lock .floating-contact { display: none !important; }
.vtm-hide { display: none !important; }
.vtm-i { flex: 0 0 auto; display: inline-block; vertical-align: middle; }

/* ---------- nút, chip, giá, checkbox dùng chung ---------- */
.vtm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 20px; border: 1px solid var(--vu-ink); border-radius: 2px;
	background: var(--vu-ink); color: #fff !important; font: 700 14px/1.2 var(--vu-font);
	letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; cursor: pointer;
	-webkit-tap-highlight-color: transparent; transition: background .15s, color .15s, opacity .15s;
}
.vtm-btn:hover { background: #262626; }
.vtm-btn span { font-weight: 500; letter-spacing: 0; text-transform: none; opacity: .85; }
.vtm-btn--line { background: #fff; color: var(--vu-ink) !important; }
.vtm-btn--line:hover { background: var(--vu-soft); }
.vtm-btn[disabled], .vtm-btn.is-loading { opacity: .55; pointer-events: none; }
.vtm-btn.is-loading::after, .vtm-card__add.is-loading::after {
	content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent;
	border-radius: 50%; animation: vtmSpin .7s linear infinite;
}
@keyframes vtmSpin { to { transform: rotate(360deg); } }
@keyframes vtmShake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.is-shake { animation: vtmShake .3s 2; box-shadow: 0 0 0 2px var(--vu-sale) !important; }

.vtm-chip {
	position: relative; flex: 0 0 auto; min-width: 38px; height: 32px; padding: 0 9px; margin: 0;
	border: 1px solid #d1d5db; border-radius: 2px; background: #fff; color: var(--vu-ink);
	font: 600 13px/1 var(--vu-font); cursor: pointer; -webkit-tap-highlight-color: transparent;
	transition: border-color .12s, box-shadow .12s;
}
.vtm-chip:hover { border-color: var(--vu-ink); }
.vtm-chip.is-on { border-color: var(--vu-ink); box-shadow: inset 0 0 0 1px var(--vu-ink); }
.vtm-chip.is-reco::after {
	content: ""; position: absolute; top: -4px; right: -4px; width: 8px; height: 8px;
	border-radius: 50%; background: var(--vu-ok); border: 2px solid #fff;
}
.vtm-chip.is-off { color: #b8bcc4; background: var(--vu-soft); border-color: #eceef1; cursor: not-allowed;
	background-image: linear-gradient(to top right, transparent calc(50% - .5px), #d8dbe0 calc(50% - .5px), #d8dbe0 calc(50% + .5px), transparent calc(50% + .5px)); }
.vtm-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--vu-ok); vertical-align: middle; }

.vtm-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-family: var(--vu-font); }
.vtm-price b { font-weight: 700; font-size: 14px; color: var(--vu-ink); }
.vtm-price del { font-size: 12px; color: var(--vu-muted); }
.vtm-price em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--vu-sale); }

.vtm-check { position: relative; flex: 0 0 auto; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.vtm-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.vtm-check span { position: absolute; inset: 0; border: 1.5px solid #9ca3af; border-radius: 3px; background: #fff; transition: all .12s; }
.vtm-check input:checked + span { background: var(--vu-ink); border-color: var(--vu-ink); }
.vtm-check input:checked + span::after {
	content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.vtm-check input:disabled + span { opacity: .45; }
.vtm-check input:focus-visible + span { outline: 2px solid var(--vu-ink); outline-offset: 2px; }

/* ==========================================================================
   KHUNG "ĐÃ THÊM VÀO GIỎ"  (mobile: kéo từ dưới lên · PC: ngăn phải)
   ========================================================================== */
.vtm-up { position: fixed; inset: 0; z-index: 100000; visibility: hidden; pointer-events: none; font-family: var(--vu-font); color: var(--vu-ink); }
.vtm-up.is-open { visibility: visible; pointer-events: auto; }
.vtm-up__overlay { position: absolute; inset: 0; background: rgba(10, 10, 10, .5); opacity: 0; transition: opacity .25s; }
.vtm-up.is-open .vtm-up__overlay { opacity: 1; }
.vtm-up__panel {
	position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh;
	display: flex; flex-direction: column; background: #fff; border-radius: 14px 14px 0 0;
	transform: translateY(100%); transition: transform .32s var(--vu-ease); box-shadow: 0 -8px 30px rgba(0, 0, 0, .12);
}
.vtm-up.is-open .vtm-up__panel { transform: none; }
.vtm-up__grab { width: 40px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: #d1d5db; }
.vtm-up__head { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; border-bottom: 1px solid var(--vu-line); }
.vtm-up__head h3 { flex: 1; margin: 0; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.vtm-up__ok { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--vu-ok); color: #fff; }
.vtm-up__ok .vtm-i { width: 16px; height: 16px; }
.vtm-up__x { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; margin: -6px -8px -6px 0; padding: 0; border: 0; background: none; color: var(--vu-ink); cursor: pointer; }
.vtm-up__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 14px 16px 8px; }
.vtm-up__item { display: flex; gap: 12px; align-items: flex-start; }
.vtm-up__item > img { width: 64px; height: 85px; object-fit: cover; background: var(--vu-soft); flex: 0 0 auto; }
.vtm-up__item-name { font-size: 13px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vtm-up__item-var { margin: 4px 0; font-size: 13px; color: var(--vu-muted); }
.vtm-up__done { display: flex; gap: 12px; align-items: flex-start; }
.vtm-up__done > .vtm-i { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--vu-ok); color: #fff; }
.vtm-up__done b { display: block; font-size: 15px; margin-bottom: 4px; }
.vtm-up__done span { font-size: 13px; color: var(--vu-muted); line-height: 1.45; }

.vtm-goal { margin: 14px 0 2px; padding: 12px; border-radius: 6px; background: #f3f7f4; }
.vtm-goal__text { display: flex; gap: 8px; align-items: center; font-size: 13px; line-height: 1.4; }
.vtm-goal__text .vtm-i { color: var(--vu-ok); }
.vtm-goal__text b { font-weight: 700; }
.vtm-goal__bar { position: relative; height: 6px; margin-top: 10px; border-radius: 6px; background: #dfe7e2; }
.vtm-goal__bar > span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--vu-ok); transition: width .5s var(--vu-ease); }
.vtm-goal__bar i { position: absolute; top: -3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; border: 2px solid #b9cbbf; }
.vtm-goal__bar i.is-hit { border-color: var(--vu-ok); background: var(--vu-ok); }

.vtm-up__reco { margin-top: 18px; }
.vtm-up__reco-head h4 { margin: 0; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.vtm-up__reco-head p { margin: 4px 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--vu-muted); }
.vtm-up__reco-head p:empty { display: none; }
.vtm-up__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }

.vtm-card { min-width: 0; display: flex; flex-direction: column; }
.vtm-card__img { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--vu-soft); overflow: hidden; }
.vtm-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--vu-ease); }
.vtm-card__img:hover img { transform: scale(1.03); }
.vtm-card__off { position: absolute; left: 6px; top: 6px; padding: 3px 6px; background: var(--vu-sale); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.vtm-card__info { display: flex; flex-direction: column; gap: 5px; padding-top: 8px; min-width: 0; flex: 1; }
.vtm-card__name { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--vu-ink) !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vtm-card__code { font-size: 11.5px; color: var(--vu-muted); letter-spacing: .02em; margin-top: -3px; }
.vtm-card__code:empty { display: none; }
.vtm-card__sizes { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px 4px 2px 0; margin-top: 1px; }
.vtm-card__sizes::-webkit-scrollbar { display: none; }
.vtm-card__sizes .vtm-chip { min-width: 34px; height: 30px; padding: 0 7px; font-size: 12.5px; }
.vtm-card__low { font-size: 11.5px; color: var(--vu-sale); font-weight: 600; }
.vtm-card__add {
	margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 38px; padding: 0 10px; border: 1px solid var(--vu-ink); border-radius: 2px; background: #fff;
	color: var(--vu-ink); font: 700 12.5px/1.1 var(--vu-font); cursor: pointer; transition: all .15s;
}
.vtm-card__add .vtm-i { width: 16px; height: 16px; }
.vtm-card__add:hover:not([disabled]) { background: var(--vu-ink); color: #fff; }
.vtm-card__add[disabled] { border-color: #d1d5db; color: #9ca3af; cursor: default; }
.vtm-card__add.is-done { border-color: var(--vu-ok); background: var(--vu-ok); color: #fff; }
.vtm-card__add.is-done .vtm-i { display: none; }
.vtm-card.is-skel .vtm-card__img, .vtm-card.is-skel .vtm-card__line { background: linear-gradient(90deg, #f1f1f1 25%, #e6e6e6 37%, #f1f1f1 63%); background-size: 400% 100%; animation: vtmSkel 1.2s ease infinite; }
.vtm-card.is-skel .vtm-card__line { height: 12px; margin-top: 8px; border-radius: 2px; }
.vtm-card.is-skel .vtm-card__line + .vtm-card__line { width: 60%; }
@keyframes vtmSkel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* gợi ý trong khung đã thêm: dạng hàng (ảnh trái, chọn size + thêm bên phải) để thấy đủ 3–4 món mà không phải cuộn nhiều */
.vtm-up__grid { grid-template-columns: 1fr; gap: 0; }
.vtm-up__grid .vtm-card { flex-direction: row; gap: 12px; padding: 12px 0; border-top: 1px solid #f0f0f0; }
.vtm-up__grid .vtm-card:first-child { border-top: 0; padding-top: 2px; }
.vtm-up__grid .vtm-card__img { flex: 0 0 88px; width: 88px; align-self: flex-start; }
.vtm-up__grid .vtm-card__info { padding-top: 0; gap: 4px; }
.vtm-up__grid .vtm-card__add { align-self: flex-start; min-height: 34px; padding: 0 14px; margin-top: 4px; }
.vtm-up__grid .vtm-card.is-skel .vtm-card__img { height: 117px; }
.vtm-up__foot { display: grid; grid-template-columns: 1fr 1.55fr; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--vu-line); background: #fff; }
.vtm-up__foot .vtm-btn { padding: 0 10px; min-height: 46px; font-size: 13px; white-space: nowrap; }
.vtm-up__foot .vtm-btn span { font-size: 12.5px; }
.vtm-up__continue { grid-column: 1 / -1; padding: 4px 0 0; border: 0; background: none; font: 600 13px var(--vu-font); color: var(--vu-muted); text-decoration: underline; cursor: pointer; }

@media (min-width: 768px) {
	.vtm-up__panel { left: auto; top: 0; width: 460px; max-height: none; border-radius: 0; transform: translateX(100%); box-shadow: -8px 0 30px rgba(0, 0, 0, .12); }
	.vtm-up__grab { display: none; }
	.vtm-up__head { padding: 18px 24px; }
	.vtm-up__body { padding: 18px 24px 12px; }
	.vtm-up__foot { padding: 16px 24px 20px; }
	.vtm-up__item > img { width: 72px; height: 96px; }
}

/* ==========================================================================
   TRANG SẢN PHẨM: KHỐI "MUA CẢ BỘ"
   ========================================================================== */
.vtm-pair { margin: 20px 0 4px; padding: 16px; border: 1px solid var(--vu-line); border-radius: 4px; background: #fff; font-family: var(--vu-font); color: var(--vu-ink); }
.vtm-pair__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vtm-pair__head h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vtm-pair__head p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--vu-muted); }
.vtm-pair__more { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 2px; padding: 4px 0; border: 0; background: none; font: 600 13px var(--vu-font); color: var(--vu-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.vtm-pair__more .vtm-i { width: 16px; height: 16px; }
.vtm-pair__thumbs { display: flex; align-items: center; gap: 6px; margin: 14px 0 6px; }
.vtm-pair__thumb { position: relative; width: 76px; flex: 0 0 76px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid var(--vu-line); background: var(--vu-soft); cursor: zoom-in; overflow: hidden; transition: opacity .2s; }
.vtm-pair__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vtm-pair__thumb.is-off { opacity: .35; }
.vtm-pair__plus { color: var(--vu-muted); display: inline-flex; }
.vtm-pair__plus .vtm-i { width: 16px; height: 16px; }
.vtm-pair__list { list-style: none; margin: 6px 0 0; padding: 0; }
.vtm-pair__row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f0f0; transition: opacity .2s; }
.vtm-pair__row:first-child { border-top: 0; }
.vtm-pair__row.is-off .vtm-pair__info { opacity: .45; }
.vtm-pair__info { flex: 1 1 auto; min-width: 0; }
.vtm-pair__name { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--vu-ink) !important; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vtm-pair__name em { font-style: normal; font-weight: 500; color: var(--vu-muted); }
.vtm-pair__meta { display: flex; align-items: center; gap: 10px; margin-top: 3px; }
.vtm-pair__meta .vtm-price b { font-size: 13px; }
.vtm-pair__alt { display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; background: none; font: 600 12px var(--vu-font); color: var(--vu-ink2); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.vtm-pair__alt .vtm-i { width: 14px; height: 14px; }
.vtm-select {
	flex: 0 0 auto; width: 76px; height: 36px; padding: 0 22px 0 10px; border: 1px solid #d1d5db; border-radius: 2px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23111' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 8px center;
	-webkit-appearance: none; appearance: none; font: 600 13px var(--vu-font); color: var(--vu-ink); cursor: pointer;
}
.vtm-select.is-empty { color: var(--vu-muted); border-color: var(--vu-ink); }
.vtm-pair__note { margin: 4px 0 0; font-size: 12px; color: var(--vu-muted); }
.vtm-pair__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--vu-line); }
.vtm-pair__total span { display: block; font-size: 12px; color: var(--vu-muted); }
.vtm-pair__total b { font-size: 17px; font-weight: 700; }
.vtm-pair__add { min-height: 44px; padding: 0 16px; font-size: 13px; }
.vtm-pair__add { white-space: nowrap; }
.vtm-pair__add span { opacity: 1; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
#btn-buyoutfit.buy-outfit { cursor: pointer; }
/* nút nổi "Mua cả bộ" trên ảnh SP – chỉ mobile/tablet (PC đã thấy khối ngay cột phải) */
.vtm-lookchip { display: none; }
@media (max-width: 991px) {
	.productdetail-gallery.vtm-has-chip { position: relative; }
	.vtm-lookchip {
		position: absolute; left: 12px; bottom: 30px; z-index: 5; display: inline-flex; align-items: center; gap: 8px;
		height: 40px; padding: 0 10px 0 6px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .96);
		box-shadow: 0 2px 12px rgba(0, 0, 0, .16); color: var(--vu-ink); font: 600 13px/1 var(--vu-font); cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.vtm-lookchip__imgs { display: inline-flex; }
	.vtm-lookchip__imgs img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; background: var(--vu-soft); }
	.vtm-lookchip__imgs img + img { margin-left: -10px; }
	.vtm-lookchip__txt b { font-weight: 700; margin-left: 2px; }
	.vtm-lookchip .vtm-i { width: 16px; height: 16px; margin-left: -2px; }
}

/* ==========================================================================
   KHUNG "MUA CẢ BỘ" XEM LỚN
   mobile: toàn màn hình, thanh ảnh từng món dính trên · PC: 2 cột
   ========================================================================== */
.vtm-look { position: fixed; inset: 0; z-index: 100001; visibility: hidden; pointer-events: none; font-family: var(--vu-font); color: var(--vu-ink); }
.vtm-look.is-open { visibility: visible; pointer-events: auto; }
.vtm-look__overlay { position: absolute; inset: 0; background: rgba(10, 10, 10, .55); opacity: 0; transition: opacity .25s; }
.vtm-look.is-open .vtm-look__overlay { opacity: 1; }
.vtm-look__box {
	position: absolute; inset: 0; display: grid; grid-template-rows: auto auto 1fr auto; background: #fff;
	transform: translateY(24px); opacity: 0; transition: transform .3s var(--vu-ease), opacity .25s;
}
.vtm-look.is-open .vtm-look__box { transform: none; opacity: 1; }
.vtm-look__top { display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 8px; border-bottom: 1px solid var(--vu-line); }
.vtm-look__top h3 { flex: 1; margin: 0; font-size: 16px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.vtm-look__top h3 span { font-weight: 500; font-size: 13px; color: var(--vu-muted); text-transform: none; letter-spacing: 0; margin-left: 4px; }
.vtm-look__back, .vtm-look__x { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0; border: 0; background: none; color: var(--vu-ink); cursor: pointer; }
.vtm-look__x { visibility: hidden; }
.vtm-look__tabs { display: flex; gap: 8px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--vu-line); background: #fff; z-index: 2; }
.vtm-look__tabs::-webkit-scrollbar { display: none; }
.vtm-look__tab { position: relative; flex: 0 0 48px; width: 48px; height: 64px; padding: 0; border: 1px solid var(--vu-line); background: var(--vu-soft); cursor: pointer; opacity: .6; transition: opacity .15s, border-color .15s; }
.vtm-look__tab img { width: 100%; height: 100%; object-fit: cover; }
.vtm-look__tab.is-active { opacity: 1; border-color: var(--vu-ink); box-shadow: inset 0 0 0 1px var(--vu-ink); }
.vtm-look__tab i { position: absolute; right: -5px; top: -5px; display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: var(--vu-ink); color: #fff; border: 2px solid #fff; }
.vtm-look__tab i .vtm-i { width: 11px; height: 11px; }
.vtm-look__stage { display: none; }
.vtm-look__list { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scroll-behavior: smooth; }
.vtm-look__item { padding: 0 0 20px; border-bottom: 8px solid var(--vu-soft); transition: opacity .2s; }
.vtm-look__item:last-child { border-bottom: 0; }
.vtm-look__item.is-off .vtm-look__media, .vtm-look__item.is-off .vtm-look__price { opacity: .5; }
.vtm-look__media { position: relative; }
.vtm-look__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--vu-soft); }
.vtm-look__gallery::-webkit-scrollbar { display: none; }
.vtm-look__gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 4; max-height: 62vh; object-fit: cover; scroll-snap-align: center; }
.vtm-look__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.vtm-look__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .25); transition: all .2s; }
.vtm-look__dots span.is-on { width: 16px; border-radius: 3px; background: var(--vu-ink); }
.vtm-look__thumb { display: none; }
.vtm-look__info { padding: 14px 16px 0; }
.vtm-look__row1 { display: flex; gap: 10px; align-items: flex-start; }
.vtm-look__row1 .vtm-check { margin-top: 2px; }
.vtm-look__kind { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vu-muted); }
.vtm-look__name { display: block; margin-top: 3px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--vu-ink) !important; text-decoration: none !important; }
.vtm-look__price { margin: 8px 0 0 30px; }
.vtm-look__price .vtm-price b { font-size: 16px; }
.vtm-look__sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0 30px; padding-top: 4px; border-radius: 2px; }
.vtm-look__sizes .vtm-chip { min-width: 44px; height: 38px; font-size: 14px; }
.vtm-look__hint { margin: 8px 0 0 30px; font-size: 12.5px; color: var(--vu-muted); line-height: 1.4; }
.vtm-look__hint b { color: var(--vu-sale); }
.vtm-look__hint:empty { display: none; }
.vtm-look__alts { margin: 14px 0 0 30px; }
.vtm-look__alts-head { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--vu-ink2); margin-bottom: 8px; }
.vtm-look__alts-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.vtm-look__alts-list::-webkit-scrollbar { display: none; }
.vtm-look__alt { flex: 0 0 64px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.vtm-look__alt img { width: 64px; height: 85px; object-fit: cover; background: var(--vu-soft); border: 1px solid transparent; transition: border-color .15s; }
.vtm-look__alt:hover img { border-color: var(--vu-ink); }
.vtm-look__alt span { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: var(--vu-ink2); }
.vtm-look__foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--vu-line); background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .05); }
.vtm-look__total { flex: 0 0 auto; }
.vtm-look__total span { display: block; font-size: 12px; color: var(--vu-muted); }
.vtm-look__total b { font-size: 17px; font-weight: 700; white-space: nowrap; }
.vtm-look__foot .vtm-btn { flex: 1; min-height: 48px; font-size: 13px; }
.vtm-look__foot .vtm-btn span { opacity: 1; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }

@media (min-width: 768px) {
	.vtm-look__box {
		inset: 4vh auto auto 50%; width: min(1120px, 94vw); height: 92vh; margin-left: calc(min(1120px, 94vw) / -2);
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; border-radius: 6px; overflow: hidden;
		box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
	}
	.vtm-look__top { grid-column: 1 / -1; height: 60px; padding: 0 12px 0 24px; }
	.vtm-look__top h3 { text-align: left; font-size: 17px; }
	.vtm-look__back { display: none; }
	.vtm-look__x { visibility: visible; }
	.vtm-look__tabs { display: none; }
	.vtm-look__stage { display: block; grid-row: 2 / 4; grid-column: 1; position: relative; background: var(--vu-soft); overflow: hidden; }
	.vtm-look__stage .vtm-look__gallery { height: 100%; }
	.vtm-look__stage .vtm-look__gallery img { height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; }
	.vtm-look__stage .vtm-look__dots { bottom: 16px; }
	.vtm-look__list { grid-column: 2; grid-row: 2; padding: 8px 0; }
	.vtm-look__foot { grid-column: 2; grid-row: 3; padding: 14px 24px; box-shadow: none; }
	.vtm-look__item { display: flex; gap: 16px; padding: 16px 24px; margin: 0 8px; border: 1px solid transparent; border-bottom: 1px solid var(--vu-line); border-radius: 4px; cursor: pointer; }
	.vtm-look__item:last-child { border-bottom-color: transparent; }
	.vtm-look__item.is-active { border-color: var(--vu-ink); background: #fcfcfc; }
	.vtm-look__item .vtm-look__media { display: none; }
	.vtm-look__thumb { display: block; flex: 0 0 96px; width: 96px; height: 128px; background: var(--vu-soft); cursor: pointer; }
	.vtm-look__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.vtm-look__info { flex: 1; min-width: 0; padding: 0; cursor: default; }
	.vtm-look__price, .vtm-look__sizes, .vtm-look__hint, .vtm-look__alts { margin-left: 30px; }
	.vtm-look__sizes .vtm-chip { min-width: 42px; height: 36px; }
	.vtm-look__alt { flex-basis: 56px; }
	.vtm-look__alt img { width: 56px; height: 75px; }
}

/* ==========================================================================
   TRANG DANH MỤC
   ========================================================================== */
/* nhãn trên ảnh */
.product-loop--labels { display: flex; flex-wrap: wrap; gap: 4px; }
.vtm-badge { display: inline-block; padding: 4px 7px; font: 700 11px/1 var(--vu-font); letter-spacing: .04em; text-transform: uppercase; border-radius: 2px; }
.vtm-badge--new { background: #fff; color: var(--vu-ink); box-shadow: inset 0 0 0 1px var(--vu-ink); }
.vtm-badge--best { background: var(--vu-ink); color: #fff; }
.vtm-badge--low { background: #fff4e5; color: #9a4b00; }
/* dòng dáng + dải size dưới giá */
.vtm-loop-meta { margin-top: 4px; font: 500 12px/1.35 var(--vu-font); color: var(--vu-muted); }
.vtm-loop-low { display: block; margin-top: 2px; color: #b45309; font-weight: 600; }

/* chip danh mục cùng nhóm (chỉ khi không có hàng ảnh danh mục) + lọc nhanh */
.vtm-pills { font-family: var(--vu-font); margin: -4px 0 10px; }
.vtm-pills[hidden], .vtm-pills__row[hidden] { display: none !important; }
.vtm-pills__row { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; justify-content: center; flex-wrap: wrap; }
.vtm-pills__row::-webkit-scrollbar { display: none; }
.vtm-pill {
	flex: 0 0 auto; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; margin: 0;
	border: 1px solid var(--vu-line); border-radius: 999px; background: #fff; color: var(--vu-ink) !important;
	font: 600 13px/1 var(--vu-font); white-space: nowrap; text-decoration: none !important; cursor: pointer; transition: all .15s;
}
.vtm-pill:hover { border-color: var(--vu-ink); }
.vtm-pill.is-on { background: var(--vu-ink); border-color: var(--vu-ink); color: #fff !important; }
.vtm-pill--q { background: var(--vu-soft); border-color: transparent; }
.vtm-pill--sale { color: var(--vu-sale) !important; }
.vtm-pill--sale.is-on { background: var(--vu-sale); border-color: var(--vu-sale); color: #fff !important; }
/* lọc nhanh */
.vtm-qf { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; font-family: var(--vu-font); }
.vtm-qf::-webkit-scrollbar { display: none; }
.vtm-qf__label { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vu-muted); margin-right: 2px; }
.vtm-pills__slot .vtm-qf { justify-content: center; padding: 2px 0 6px; }
/* PC: gộp vào cùng hàng "Lọc theo kích cỡ" – 1 thanh lọc duy nhất, nút cùng kiểu nút size */
@media (min-width: 992px) {
	.collection-head .action-wrapper.vtm-has-qf .vqs { flex: 0 0 auto; }
	.vtm-qf--bar { flex: 1 1 auto; min-width: 0; margin: 0 16px; padding-left: 16px; border-left: 1px solid var(--vu-line); }
	.vtm-qf--bar .vtm-qf__label { display: none; }
	.vtm-qf--bar .vtm-pill { height: 40px; padding: 0 14px; border: 1px solid #e5e7eb; border-radius: 2px; background: #f9fafb; font-size: 14px; }
	.vtm-qf--bar .vtm-pill:hover { border-color: var(--vu-ink); }
	.vtm-qf--bar .vtm-pill.is-on { background: var(--vu-ink); border-color: var(--vu-ink); color: #fff !important; }
	.vtm-qf--bar .vtm-pill--sale.is-on { background: var(--vu-sale); border-color: var(--vu-sale); }
	/* 7 ô lọc (Màu sắc … Sắp xếp theo) nằm gọn 1 hàng thay vì "Sắp xếp theo" rớt xuống hàng riêng */
	.collection-layout .layered-filter--group { flex-wrap: nowrap; }
	.collection-layout .layered-filter--group > .filter-group { flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0; }
	.collection-layout .layered-filter--group > .filter-group .sidebar-box--subtitle { min-width: 0 !important; }
	.collection-layout .layered-filter--group > .filter-group .sidebar-box--subtitle > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* khối cuối trang "Có thể bạn cũng cần" */
.vtm-related { max-width: 760px; margin: 28px auto 8px; padding: 0 16px; text-align: center; font-family: var(--vu-font); }
.vtm-related h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vu-ink); }
.vtm-related__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.vtm-pill--pair { background: #f4f1ec; border-color: transparent; }

/* ô gợi ý phối cả bộ trong lưới */
.vtm-tile .vtm-tile__box { position: relative; display: flex; flex-direction: column; height: 100%; color: var(--vu-ink) !important; text-decoration: none !important; font-family: var(--vu-font); background: #f4f1ec; }
.vtm-tile__imgs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 3 / 4; overflow: hidden; }
.vtm-tile__imgs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--vu-ease); }
.vtm-tile__box:hover .vtm-tile__imgs img { transform: scale(1.04); }
.vtm-tile__plus { position: absolute; left: 50%; top: 50%; display: inline-flex; width: 34px; height: 34px; margin: -17px 0 0 -17px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.vtm-tile__plus .vtm-i { width: 18px; height: 18px; }
.vtm-tile__text { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.vtm-tile__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6d3b; }
.vtm-tile__text b { font-size: 15px; font-weight: 700; line-height: 1.3; }
.vtm-tile__price { font-size: 13px; color: var(--vu-ink2); }
.vtm-tile__cta { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; }
.vtm-tile__cta .vtm-i { width: 16px; height: 16px; }

/* đã xem x/y */
.vtm-progress { max-width: 320px; margin: 28px auto 8px; text-align: center; font-family: var(--vu-font); }
.vtm-progress[hidden] { display: none; }
.vtm-progress p { margin: 0 0 8px; font-size: 13px; color: var(--vu-muted); }
.vtm-progress p b { color: var(--vu-ink); }
.vtm-progress__bar { height: 3px; background: var(--vu-line); border-radius: 3px; overflow: hidden; }
.vtm-progress__bar span { display: block; height: 100%; background: var(--vu-ink); transition: width .4s; }

@media (max-width: 991px) {
	.vtm-pills { margin: -6px 0 8px; }
	.vtm-pills .container { padding-left: 0; padding-right: 0; }
	.vtm-pills__row, .vtm-pills__slot .vtm-qf { flex-wrap: nowrap; justify-content: flex-start; padding: 2px 16px 6px; scroll-padding: 0 16px; }
	.vtm-pill { height: 32px; padding: 0 12px; font-size: 12.5px; }
	.vtm-tile__text { padding: 10px; }
	.vtm-tile__text b { font-size: 13.5px; }
	.vtm-tile__cta { font-size: 12px; }
	.vtm-badge { padding: 3px 5px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.vtm-up__panel, .vtm-look__box, .vtm-card__img img, .vtm-tile__imgs img { transition: none !important; }
}

/* ==========================================================================
   v5.1 – giữ chỗ khối Mua cả bộ (không nhảy trang), chọn bộ phối, dải "Gợi ý phối đồ"
   ========================================================================== */
.vtm-pair.is-skel { min-height: 300px; border-color: var(--vu-line); }
.vtm-pair__skel { display: grid; gap: 12px; }
.vtm-pair__skel span { display: block; height: 14px; border-radius: 3px; background: linear-gradient(90deg, #f1f1f1 25%, #e6e6e6 37%, #f1f1f1 63%); background-size: 400% 100%; animation: vtmSkel 1.2s ease infinite; }
.vtm-pair__skel span:nth-child(1) { width: 40%; height: 18px; }
.vtm-pair__skel span:nth-child(2) { width: 70%; }
.vtm-pair__skel span:nth-child(3) { height: 100px; width: 60%; }
.vtm-pair__skel span:nth-child(4), .vtm-pair__skel span:nth-child(5) { height: 36px; }
.vtm-nav { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 2px; font: 600 13px/1 var(--vu-font); color: var(--vu-ink); }
.vtm-nav button { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--vu-line); border-radius: 50%; background: #fff; color: var(--vu-ink); cursor: pointer; }
.vtm-nav button:hover { border-color: var(--vu-ink); }
.vtm-nav button .vtm-i { width: 15px; height: 15px; }
.vtm-nav span { min-width: 44px; text-align: center; white-space: nowrap; }
.vtm-pair__more--end { margin-left: auto; align-self: flex-end; }
.vtm-look__top .vtm-nav { margin-right: 4px; }
.vtm-look__top h3 span { display: inline-block; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* dải thẻ bộ phối */
.vtm-looks { padding: 28px 0 8px; font-family: var(--vu-font); }
.vtm-looks[hidden] { display: none !important; }
.vtm-looks__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vtm-looks__head h2 { margin: 0; font-size: var(--vtm-fs-h-section, 22px); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.vtm-looks__head p { margin: 4px 0 0; font-size: 13px; color: var(--vu-muted); }
.vtm-looks__arrows { display: flex; gap: 8px; }
.vtm-looks__arrows button { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--vu-line); border-radius: 50%; background: #fff; color: var(--vu-ink); cursor: pointer; }
.vtm-looks__arrows button:hover { border-color: var(--vu-ink); }
.vtm-looks__row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.vtm-looks__row::-webkit-scrollbar { display: none; }
.vtm-lcard { display: flex; flex-direction: column; padding: 0; border: 1px solid transparent; border-radius: 6px; background: #fff; text-align: left; cursor: pointer; scroll-snap-align: start; font-family: inherit; color: var(--vu-ink); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.vtm-lcard:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.vtm-lcard.is-on { border-color: var(--vu-ink); }
.vtm-lcard__grid { display: grid; gap: 2px; aspect-ratio: 1 / 1; background: var(--vu-soft); }
.vtm-lcard__grid.n2 { grid-template-columns: 1fr 1fr; }
.vtm-lcard__grid.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.vtm-lcard__grid.n3 .vtm-lcard__cell:first-child { grid-row: 1 / 3; }
.vtm-lcard__grid.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.vtm-lcard__grid.n2L, .vtm-lcard__grid.n3L { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; }
.vtm-lcard__grid.n2L .vtm-lcard__cell:first-child, .vtm-lcard__grid.n3L .vtm-lcard__cell:first-child { grid-row: 1 / 3; }
.vtm-lcard__grid.n2L .vtm-lcard__cell:nth-child(2) { grid-row: 1 / 3; }
.vtm-lcard__cell { position: relative; overflow: hidden; background: #f4f4f4; }
.vtm-lcard__cell img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .4s var(--vu-ease); }
.vtm-lcard__cell.is-look img { object-position: 50% 15%; }
.vtm-lcard:hover .vtm-lcard__cell img { transform: scale(1.03); }
.vtm-lcard__body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.vtm-lcard__name { font-size: 14px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vtm-lcard__meta { font-size: 13px; color: var(--vu-muted); }
.vtm-lcard__meta b { color: var(--vu-ink); }
.vtm-lcard__cta { display: inline-flex; align-items: center; gap: 2px; margin-top: 2px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; }
.vtm-lcard__cta .vtm-i { width: 15px; height: 15px; }
@media (max-width: 991px) {
	.vtm-looks { padding: 22px 0 4px; }
	.vtm-looks .container { padding-left: 0; padding-right: 0; }
	.vtm-looks__head { padding: 0 16px; }
	.vtm-looks__arrows { display: none; }
	.vtm-looks__row { grid-auto-columns: 68%; gap: 12px; padding: 0 16px 4px; scroll-padding: 0 16px; }
}


/* ==========================================================================
   v6 (26/09/2026) · PC – chế độ xem lưới nhiều (js-body-grid-6)
   Ẩn dòng "dáng · dải size" và "Sắp hết size" để xem được nhiều mẫu, gửi khách nhanh.
   Màn 1200–1399px: 5 sản phẩm/dòng (trước là 4); từ 1400px giữ 6/dòng.
   ========================================================================== */
@media (min-width: 1024px) {
  .collection-body.js-body-grid-6 .product-loop .vtm-loop-meta,
  .collection-body.js-body-grid-6 .product-loop .vtm-loop-low { display: none !important; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .collection-layout .collection-body.js-body-grid-6 .grid-products .product-tile.product-loop {
    -ms-flex: 0 0 calc((100% - (10px*4)) / 5);
    flex: 0 0 calc((100% - (10px*4)) / 5);
    max-width: calc((100% - (10px*4)) / 5);
  }
}

/* v6 · bổ sung: lưới PC tên 1 dòng (mã màu) cho gọn + gạch đầu dòng cho nội dung trang chính sách */
@media (min-width: 1024px) {
  .collection-body.js-body-grid-6 .product-loop .product-loop--title { min-height: 0; margin-bottom: 4px; }
}
.vp-content ul { list-style: disc !important; }
.vp-content ol { list-style: decimal !important; }
.vp-content li { display: list-item !important; list-style: inherit !important; }
