/* ==========================================================================
   TVHK Shop 2.0 – Mobile-first. Bảng màu & kích thước theo Brand Guideline TVHK 2.0
   ========================================================================== */

:root {
	/* ===== Bảng màu TVHK (quy tắc màu cập nhật 14/11/2026) =====
	   Tỷ lệ: Xanh pastel 35% · Xanh 15% · Trắng 15% · Xanh đậm 10% · Xanh nhạt 10% · Hồng pastel 5% · Xám 5% · Đen 5% */
	--tv-pastel:     #DCF4FB;  /* 35% Background, hero, section */
	--tv-blue:       #258FDA;  /* 15% CTA, icon, link, trạng thái active */
	--tv-blue-dark:  #1674B8;  /* 10% Logo, button, hover */
	--tv-blue-light: #8CCCF4;  /* 10% Ô tìm kiếm, thanh danh mục, icon phụ, gradient, accent */
	--tv-white:      #FCFCFC;  /* 15% Ô tìm kiếm, card, nền nội dung */
	--tv-pink:       #FCECEC;  /*  5% Khuyến mãi, quà tặng, accent */
	--tv-gray:       #C4C4C4;  /*  5% Border, divider, placeholder */
	--tv-black:      #040404;  /*  5% Heading, text, giá */

	/* Vai trò (dùng các biến này trong component) */
	--tv-bg:         var(--tv-pastel);
	--tv-surface:    var(--tv-white);
	--tv-header:     var(--tv-white);       /* Header nền trắng (feedback 14/11) */
	--tv-bar:        var(--tv-blue-light);  /* Ô tìm kiếm & thanh danh mục */
	--tv-cta:        var(--tv-blue);
	--tv-cta-hover:  var(--tv-blue-dark);
	--tv-btn:        var(--tv-blue-dark);
	--tv-link:       var(--tv-blue);
	--tv-hover:      var(--tv-blue-dark);
	--tv-active:     var(--tv-blue);
	--tv-icon:       var(--tv-blue);
	--tv-line:       var(--tv-gray);
	--tv-ink:        var(--tv-black);
	--tv-price:      var(--tv-black);
	--tv-promo-bg:   var(--tv-pink);
	--tv-gradient:   linear-gradient(120deg, var(--tv-pastel) 0%, var(--tv-blue-light) 100%);
	--tv-gradient-strong: linear-gradient(120deg, var(--tv-blue-dark) 0%, var(--tv-blue) 60%, var(--tv-blue-light) 100%);

	/* Tên cũ giữ để tương thích – đã trỏ về bảng màu mới */
	--tv-blue-900:   var(--tv-black);
	--tv-blue-800:   var(--tv-blue-dark);
	--tv-blue-700:   var(--tv-blue);
	--tv-blue-500:   var(--tv-blue);
	--tv-blue-300:   var(--tv-blue-light);
	--tv-blue-100:   var(--tv-pastel);
	--tv-blue-50:    var(--tv-pastel);
	--tv-pink-100:   var(--tv-pink);
	--tv-gray-300:   var(--tv-gray);
	--tv-sale:       var(--tv-black);

	/* Màu trạng thái chức năng – ngoài bảng tỷ lệ, chỉ dùng đúng ngữ cảnh */
	--tv-ink-2:      #5E5E5E;  /* Chữ phụ (tint của đen), 6,3:1 trên trắng */
	--tv-ink-soft:   #3D3D3D;  /* Tên sản phẩm: nhạt hơn đen một chút, 10,9:1 trên trắng */
	--tv-sale-700:   #B21F33;  /* Chỉ cho thông báo lỗi / validate */
	--tv-success:    #16865A;
	--tv-warn:       #B25E09;
	--tv-star:       #F2A20C;

	/* Bo góc, bóng, khoảng cách */
	--r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
	--sh-1: 0 1px 2px rgba(4,4,4,.05), 0 2px 8px rgba(22,116,184,.08);
	--sh-2: 0 10px 30px rgba(4,4,4,.16);
	--s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-12: 48px;
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-head: var(--font);
	--header-h: 108px;
	--tabbar-h: 60px;
	--safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--font); font-optical-sizing: auto; font-size: 14px; line-height: 1.5; color: var(--tv-ink); background: var(--tv-bg); -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--tv-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; color: var(--tv-ink); font-family: var(--font-head); letter-spacing: -.01em; }
.tv-card__name, .tv-post-card__title, .tv-review h3, .tv-faq__title, .tv-specs, .tv-mega__grid { font-family: var(--font); letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--tv-blue-500); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tv-skip { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--tv-blue-900); color: var(--tv-white); padding: 10px 14px; border-radius: var(--r-sm); }
.tv-skip:focus { top: 8px; color: var(--tv-white); }
.tv-i { flex: none; }
.tv-muted { color: var(--tv-ink-2); }
.tv-todo { background: #FFF4C2; color: #5C4400; padding: 0 4px; border-radius: 3px; font-size: .9em; }
.tv-link { color: var(--tv-blue-700); font-weight: 600; }
.tv-link:hover { text-decoration: underline; }
.tv-sale { color: var(--tv-sale); }
.tv-plus { color: var(--tv-success); font-weight: 700; }
.tv-minus { color: var(--tv-sale); font-weight: 700; }
.tv-help { color: var(--tv-ink-2); font-size: 13px; margin: 8px 0 0; }
.tv-help a { color: var(--tv-blue-700); text-decoration: underline; }
.tv-code { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tv-img-ph { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 1; background: var(--tv-white); color: var(--tv-gray); }
.tv-img-ph--lg { min-height: 280px; }

.tv-container { width: 100%; max-width: var(--container, 1200px); margin: 0 auto; padding: 0 12px; }
.tv-main { min-height: 50vh; }

::placeholder { color: #8A8A8A; opacity: 1; } /* Xám guideline #C4C4C4 chỉ 1,7:1 – chữ gợi ý cần đọc được */

/* ---------- Nút & điều khiển ---------- */
.tv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-md); font-weight: 700; font-size: 14px; line-height: 1.2; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; text-align: center; }
.tv-btn--primary { background: var(--tv-cta); color: var(--tv-white); }
.tv-btn--primary:hover { background: var(--tv-cta-hover); color: var(--tv-white); }
.tv-btn--solid { background: var(--tv-btn); color: var(--tv-white); }
.tv-btn--solid:hover { background: var(--tv-cta); color: var(--tv-white); }
.tv-btn--outline { border-color: var(--tv-blue); color: var(--tv-blue-dark); background: var(--tv-white); }
.tv-btn--outline:hover { background: var(--tv-blue-100); color: var(--tv-hover); }
.tv-btn--ghost { color: var(--tv-link); background: transparent; border-color: var(--tv-line); }
.tv-btn--ghost:hover { border-color: var(--tv-blue-300); }
.tv-btn--sale { background: var(--tv-sale); color: var(--tv-white); }
.tv-btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: var(--r-sm); }
.tv-btn--lg { min-height: 48px; font-size: 15px; padding: 0 22px; }
.tv-btn--wide { width: 100%; }
.tv-btn[disabled], .tv-btn.is-loading { opacity: .6; pointer-events: none; }
.tv-btn.is-loading::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: tv-spin .7s linear infinite; }
@keyframes tv-spin { to { transform: rotate(360deg); } }
.tv-icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--tv-ink-2); }
.tv-icon-btn:hover { background: var(--tv-blue-50); color: var(--tv-hover); }

.tv-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--tv-line); background: var(--tv-white); font-size: 13px; font-weight: 500; white-space: nowrap; }
.tv-chip:hover { border-color: var(--tv-blue-300); color: var(--tv-hover); }
.tv-chip.is-on { background: var(--tv-blue-700); border-color: var(--tv-blue-700); color: var(--tv-white); }
.tv-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.tv-chips::-webkit-scrollbar { display: none; }

.tv-tag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: var(--r-xs); font-size: 11px; font-weight: 700; line-height: 16px; background: var(--tv-blue-100); color: var(--tv-blue-800); white-space: nowrap; }
.tv-tag--sale { background: var(--tv-pink); color: var(--tv-ink); }
.tv-tag--sale .tv-i { color: var(--tv-icon); }
.tv-tag--blue { background: var(--tv-blue-100); color: var(--tv-blue-800); }
.tv-tag--green { background: #E3F6EC; color: #0F6B46; }
.tv-badge { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: var(--r-xs); font-size: 12px; font-weight: 800; }
.tv-badge--sale { background: var(--tv-pink-100); color: var(--tv-ink); border: 1px solid var(--tv-pink); }

.tv-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--tv-ink); }
.tv-field input, .tv-field select, .tv-field textarea, .tv-inline-form input, .tv-price-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--tv-gray-300); border-radius: var(--r-md); background: var(--tv-white); font-size: 15px; font-weight: 400; }
.tv-field textarea { min-height: 72px; resize: vertical; }
.tv-field input:focus, .tv-field select:focus, .tv-field textarea:focus, .tv-inline-form input:focus { outline: none; border-color: var(--tv-blue-500); box-shadow: 0 0 0 3px rgba(37,143,218,.15); }
.tv-field.has-error input, .tv-field.has-error select { border-color: var(--tv-sale-700); }
.tv-field__err { color: var(--tv-sale-700); font-weight: 500; font-size: 12px; }
.tv-fields { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 16px; }
.tv-fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.tv-fieldset legend { font-weight: 700; margin-bottom: 8px; }
.tv-inline-form { display: flex; gap: 8px; }
.tv-inline-form input { flex: 1 1 auto; min-width: 0; width: auto; text-transform: uppercase; }
.tv-inline-form .tv-btn { flex: none; }
.tv-form-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--tv-pink-100); color: var(--tv-sale-700); font-weight: 500; }
.tv-form-msg.is-ok { background: #E3F6EC; color: #0F6B46; }

.tv-cbx { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; position: relative; }
.tv-cbx input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.tv-cbx > span { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--tv-gray-300); border-radius: 5px; background: var(--tv-white); display: grid; place-items: center; transition: .15s; }
.tv-cbx input:checked + span { background: var(--tv-blue-700); border-color: var(--tv-blue-700); }
.tv-cbx input:checked + span::after { content: ''; width: 10px; height: 6px; border: 2px solid var(--tv-white); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.tv-cbx input:focus-visible + span { outline: 2px solid var(--tv-blue-500); outline-offset: 2px; }
.tv-cbx--text { align-items: flex-start; font-size: 13px; margin-bottom: 16px; }
.tv-cbx--text a { color: var(--tv-blue-700); text-decoration: underline; }

.tv-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-choice label { position: relative; }
.tv-choice input { position: absolute; opacity: 0; inset: 0; }
.tv-choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--tv-line); border-radius: var(--r-pill); background: var(--tv-white); font-weight: 500; cursor: pointer; }
.tv-choice input:checked + span { border-color: var(--tv-blue-700); background: var(--tv-blue-100); color: var(--tv-blue-800); font-weight: 700; }
.tv-choice input:focus-visible + span { outline: 2px solid var(--tv-blue-500); outline-offset: 2px; }

.tv-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--tv-gray-300); border-radius: var(--r-md); overflow: hidden; background: var(--tv-white); height: 36px; }
.tv-qty button { width: 36px; display: grid; place-items: center; color: var(--tv-ink-2); }
.tv-qty button:hover { background: var(--tv-blue-50); color: var(--tv-hover); }
.tv-qty input { width: 44px; border: 0; border-left: 1px solid var(--tv-line); border-right: 1px solid var(--tv-line); text-align: center; font-weight: 700; -moz-appearance: textfield; }
.tv-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.tv-stars { position: relative; display: inline-block; width: 70px; height: 13px; background: linear-gradient(90deg, #D9DEE5 0 100%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath d='M7 .5l1.9 3.9 4.3.6-3.1 3 .7 4.3L7 10.3 3.2 12.3l.7-4.3-3.1-3 4.3-.6z'/%3E%3C/svg%3E") 0 0/14px 13px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath d='M7 .5l1.9 3.9 4.3.6-3.1 3 .7 4.3L7 10.3 3.2 12.3l.7-4.3-3.1-3 4.3-.6z'/%3E%3C/svg%3E") 0 0/14px 13px repeat-x; vertical-align: -1px; }
.tv-stars__fill { position: absolute; inset: 0 auto 0 0; background: var(--tv-star); }

/* ---------- Thanh trên cùng ---------- */
.tv-topbar { background: var(--tv-topbar, var(--tv-pastel)); color: var(--tv-ink); font-size: 12px; }
.tv-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 30px; }
.tv-topbar__msg { margin: 0; display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--tv-ink); }
.tv-topbar__msg .tv-i, .tv-topbar__links .tv-i { color: var(--tv-icon); }
.tv-topbar__msg span { overflow: hidden; text-overflow: ellipsis; }
.tv-topbar__links { display: none; gap: 16px; }
.tv-topbar__links a { display: inline-flex; align-items: center; gap: 4px; color: var(--tv-ink); }
.tv-topbar__links a:hover { color: var(--tv-hover); }

/* ---------- Header xanh (kiểu sàn) ---------- */
.tv-header { position: sticky; top: 0; z-index: 60; background: var(--tv-header); color: var(--tv-ink); box-shadow: 0 1px 0 var(--tv-pastel), 0 4px 14px rgba(22,116,184,.07); }
.tv-header__in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo actions" "search search search"; align-items: center; gap: 8px 10px; padding-top: 8px; padding-bottom: 10px; }
.tv-header__menu { grid-area: menu; color: var(--tv-header-text, var(--tv-blue-dark)); width: 36px; height: 36px; display: grid; place-items: center; margin-left: -6px; }
.tv-logo { grid-area: logo; display: inline-flex; align-items: center; line-height: 0; }
.tv-logo__svg { height: 26px; width: auto; }
.tv-logo--color .tv-logo__svg, .tv-logo__img { height: 32px; width: auto; }
.tv-header__search { grid-area: search; min-width: 0; }
.tv-actions { grid-area: actions; display: flex; align-items: center; gap: 4px; }
.tv-actions__item { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; color: var(--tv-header-text, var(--tv-blue-dark)); padding: 4px 6px; border-radius: var(--r-sm); font-size: 11px; font-weight: 600; }
.tv-actions__item:hover { color: var(--tv-cta); background: var(--tv-pastel); }
.tv-actions__label { color: var(--tv-header-text, var(--tv-ink)); }
.tv-no-sticky .tv-header { position: relative; }
.tv-i--img { object-fit: contain; display: inline-block; }
.tv-img-ph--custom img { width: 100%; height: 100%; object-fit: cover; }
.tv-actions__label { display: none; }
.tv-cart-ico { position: relative; display: inline-flex; }
.tv-cart-count { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--tv-cta); color: var(--tv-white); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--tv-white); }

.tv-search { position: relative; display: flex; align-items: stretch; background: var(--tv-white); border: 2px solid var(--tv-bar); border-radius: var(--r-md); padding: 0; transition: border-color .15s, box-shadow .15s; }
.tv-search:focus-within { border-color: var(--tv-blue); box-shadow: 0 0 0 3px var(--tv-pastel); }
.tv-search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 10px; height: 36px; font-size: 15px; color: var(--tv-ink); }
.tv-search__input:focus { outline: none; }
.tv-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tv-search__btn { width: 56px; border-radius: 0 6px 6px 0; background: var(--tv-bar); color: var(--tv-blue-dark); display: grid; place-items: center; }
.tv-search__btn:hover { background: var(--tv-cta); color: var(--tv-white); }
.tv-search--inline, .tv-search--big { border-width: 1px; box-shadow: none; }
.tv-search--big { max-width: 520px; margin: 0 auto 16px; }
.tv-search__panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 80; background: var(--tv-white); color: var(--tv-ink); border-radius: var(--r-md); box-shadow: var(--sh-2); max-height: 70vh; overflow: auto; padding: 8px 0; }
.tv-sugg__title { padding: 6px 14px; font-size: 12px; font-weight: 700; color: var(--tv-ink-2); text-transform: uppercase; letter-spacing: .03em; }
.tv-sugg__item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.tv-sugg__item:hover, .tv-sugg__item.is-active { background: var(--tv-blue-50); color: var(--tv-ink); }
.tv-sugg__item img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--tv-line); }
.tv-sugg__item b { display: block; font-weight: 500; font-size: 14px; line-height: 1.35; }
.tv-sugg__item small { color: var(--tv-sale); font-weight: 700; }
.tv-sugg__item small del { color: var(--tv-ink-2); font-weight: 400; margin-left: 4px; }
.tv-sugg__kw { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 8px; }
.tv-sugg__all { display: block; padding: 10px 14px; color: var(--tv-blue-700); font-weight: 700; border-top: 1px solid var(--tv-line); }
.tv-trend { display: none; }

/* ---------- Thanh danh mục ---------- */
.tv-navbar { background: var(--tv-bar); }
.tv-navbar__in { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.tv-navbar__cats { display: none; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r-md); background: var(--tv-white); color: var(--tv-blue-dark); font-weight: 700; flex: none; }
.tv-navbar__cats:hover, .tv-navbar__cats[aria-expanded="true"] { background: var(--tv-blue-dark); color: var(--tv-white); }
.tv-navbar__menu { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tv-navbar__menu::-webkit-scrollbar { display: none; }
.tv-navbar__menu ul { display: flex; gap: 2px; }
.tv-navbar__menu a { display: block; padding: 8px 10px; white-space: nowrap; font-weight: 600; font-size: 13px; color: var(--tv-ink); border-radius: var(--r-sm); }
.tv-navbar__menu a:hover, .tv-navbar__menu .current-menu-item > a { color: var(--tv-blue-dark); background: var(--tv-white); }
.tv-navbar__menu li:first-child a { color: var(--tv-ink); font-weight: 800; }

/* ---------- Mega menu ---------- */
.tv-mega { position: fixed; inset: 0; z-index: 120; }
.tv-mega__backdrop { position: absolute; inset: 0; background: rgba(4,4,4,.45); backdrop-filter: blur(2px); }
.tv-mega__panel { position: absolute; inset: 0; background: var(--tv-white); display: flex; flex-direction: column; }
.tv-mega__top { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--tv-line); font-size: 16px; }
.tv-mega__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 96px 1fr; }
.tv-mega__roots { overflow-y: auto; background: var(--tv-bg); overscroll-behavior: contain; }
.tv-mega__roots button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.25; color: var(--tv-ink-2); border-left: 3px solid transparent; }
.tv-mega__roots button[aria-selected="true"] { background: var(--tv-white); color: var(--tv-blue-700); border-left-color: var(--tv-blue-700); }
.tv-mega__ico { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--tv-white); display: grid; place-items: center; }
.tv-mega__ico img { width: 100%; height: 100%; object-fit: cover; }
.tv-mega__panes { overflow-y: auto; padding: 12px; overscroll-behavior: contain; }
.tv-mega__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tv-mega__head h3 { margin: 0; font-size: 16px; }
.tv-mega__head a { display: inline-flex; align-items: center; color: var(--tv-blue-700); font-weight: 600; font-size: 13px; }
.tv-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.tv-mega__grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; font-weight: 500; line-height: 1.3; }
.tv-mega__thumb { width: 64px; height: 64px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--tv-line); background: var(--tv-white); }
.tv-mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tv-mega__needs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--tv-line); }
.tv-mega__needs > span { width: 100%; font-weight: 700; font-size: 13px; }
body.tv-lock { overflow: hidden; }

/* ---------- Khối chung ---------- */
.tv-block { background: var(--tv-white); padding: 12px; margin: 8px -12px; }
.tv-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.tv-head__title { margin: 0; font-size: 20px; font-weight: 700; color: var(--tv-ink); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tv-head__sub { margin: 0; color: var(--tv-ink-2); font-size: 13px; }
.tv-head__more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--tv-blue-700); font-weight: 600; font-size: 13px; }
.tv-head__badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--tv-blue-800); background: var(--tv-blue-100); padding: 2px 8px; border-radius: var(--r-pill); }
.tv-page-title { display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--tv-ink); margin: 12px 0; }
.tv-page-title small { font-weight: 500; color: var(--tv-ink-2); font-size: 15px; }
.tv-page-title .tv-i { color: var(--tv-blue-700); }

.tv-crumbs { padding: 10px 0 2px; font-size: 13px; color: var(--tv-ink-2); }
.tv-crumbs ol { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.tv-crumbs li + li::before { content: '›'; margin: 0 6px; color: var(--tv-gray-300); }
.tv-crumbs a:hover { color: var(--tv-hover); }
.tv-crumbs [aria-current] { color: var(--tv-ink); }

/* Ray cuộn ngang */
.tv-rail { position: relative; }
.tv-rail__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 12px; padding-bottom: 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.tv-rail__track::-webkit-scrollbar { display: none; }
.tv-rail__track > * { scroll-snap-align: start; flex: none; }
.tv-rail__track--cards > .tv-card { width: 42%; max-width: 200px; }
.tv-rail__nav { display: none; position: absolute; top: 40%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--tv-white); box-shadow: var(--sh-1); color: var(--tv-blue-900); place-items: center; z-index: 2; }
.tv-rail__nav--prev { left: -12px; }
.tv-rail__nav--next { right: -12px; }
.tv-rail__nav:hover { color: var(--tv-hover); }
.tv-rail__nav[disabled] { opacity: 0; pointer-events: none; }

/* ---------- Banner chính ---------- */
.tv-hero { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0 -12px; }
.tv-slider { position: relative; overflow: hidden; background: var(--tv-blue-100); aspect-ratio: 2 / 1; }
.tv-promos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: 8px 0 0; }
.tv-promos .tv-side-banner { aspect-ratio: 2 / 1; }
.tv-slider__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.tv-slider__track::-webkit-scrollbar { display: none; }
.tv-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; }
.tv-slide__link, .tv-slide picture { display: block; width: 100%; height: 100%; }
.tv-banner__img, .tv-slide img { width: 100%; height: 100%; object-fit: cover; }
.tv-slide__text { position: absolute; inset: 0 30% 0 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 12px 16px; pointer-events: none; }
.tv-slide--light .tv-slide__text { background: linear-gradient(90deg, rgba(240,250,253,.95) 0%, rgba(240,250,253,.75) 70%, rgba(240,250,253,0) 100%); inset: 0 25% 0 0; }
.tv-slide--dark .tv-slide__text { color: var(--tv-white); background: linear-gradient(90deg, rgba(4,4,4,.75), rgba(4,4,4,0)); }
.tv-slide--dark .tv-slide__title, .tv-slide--dark .tv-slide__sub { color: var(--tv-white); }
.tv-slide__kicker { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tv-blue-800); }
.tv-slide__title { margin: 0; font-family: var(--font-head); font-size: clamp(26px, 8vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--tv-ink); }
.tv-slide__sub { display: none; margin: 0; color: var(--tv-ink-2); font-size: 13px; }
.tv-slide__cta { pointer-events: auto; margin-top: 8px; min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: var(--r-pill); }
.tv-slide--fallback { display: flex; background: var(--tv-gradient); }
.tv-slide--fallback .tv-slide__text { position: static; pointer-events: auto; }
.tv-slider__nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 52px; background: rgba(4,4,4,.25); color: var(--tv-white); place-items: center; }
.tv-slider__nav--prev { left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.tv-slider__nav--next { right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.tv-slider__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.tv-slider__dots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(4,4,4,.15); transition: width .2s; }
.tv-slider__dots button[aria-current="true"] { width: 18px; background: var(--tv-blue-700); }
.tv-side-banner { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--tv-blue-900); }
.tv-side-banner img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .3s; }
.tv-side-banner:hover img { transform: scale(1.03); }
.tv-side-banner__text { position: absolute; inset: auto 0 0 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; color: var(--tv-white); background: linear-gradient(0deg, rgba(4,4,4,.85), rgba(4,4,4,0)); }
.tv-side-banner__text small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--tv-blue-300); }
.tv-side-banner__text b { font-size: 16px; line-height: 1.2; }
.tv-side-banner__text span { font-size: 12px; opacity: .9; }

/* ---------- Lối tắt ---------- */
.tv-quick ul { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 20%; overflow-x: auto; scrollbar-width: none; gap: 12px 0; }
.tv-quick ul::-webkit-scrollbar { display: none; }
.tv-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; text-align: center; line-height: 1.25; color: var(--tv-ink); }
.tv-quick__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tv-blue-100); color: var(--tv-blue-700); transition: transform .15s; }
.tv-quick__ico.is-sale { background: var(--tv-pink-100); color: var(--tv-blue-700); }
.tv-quick a:hover .tv-quick__ico { transform: translateY(-2px); }

/* ---------- Voucher dạng thẻ lên máy bay ---------- */
.tv-ticket { --stub: 54px; --notch: 6px; position: relative; display: grid; grid-template-columns: var(--stub) minmax(0,1fr) auto; align-items: center; width: 252px; min-height: 60px; background: var(--tv-white); border: 1px solid var(--tv-blue-light); border-radius: var(--r-md); overflow: hidden; }
.tv-ticket__stub { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--tv-btn); color: var(--tv-white); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; position: relative; text-align: center; line-height: 1.1; padding: 0 2px; }
.tv-ticket__stub::after { content: ''; position: absolute; right: -1px; top: 5px; bottom: 5px; border-right: 2px dashed rgba(252,252,252,.7); }
.tv-ticket::before, .tv-ticket::after { content: ''; position: absolute; left: calc(var(--stub) - var(--notch)); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--tv-bg); border: 1px solid var(--tv-blue-light); z-index: 2; }
.tv-ticket::before { top: calc(var(--notch) * -1 - 1px); }
.tv-ticket::after { bottom: calc(var(--notch) * -1 - 1px); }
.tv-block .tv-ticket::before, .tv-block .tv-ticket::after { background: var(--tv-white); }
.tv-ticket--ship .tv-ticket__stub { background: var(--tv-cta); }
.tv-ticket__body { padding: 7px 6px 7px 12px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tv-ticket__title { font-size: 14px; font-weight: 800; color: var(--tv-ink); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-ticket__cond { font-size: 11px; color: var(--tv-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.tv-ticket__meta { display: none; font-size: 11px; color: var(--tv-ink-2); }
.tv-ticket__code { font-weight: 700; color: var(--tv-blue-dark); letter-spacing: .03em; }
.tv-ticket__act { padding-right: 8px; }
.tv-ticket__act .tv-btn--sm { min-height: 30px; padding: 0 10px; font-size: 12px; }
.tv-ticket .is-saved { color: var(--tv-ink-2); }
.tv-tickets { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tv-tickets .tv-ticket { width: auto; }

/* ---------- Flash sale ---------- */
.tv-flash { background: linear-gradient(180deg, var(--tv-blue-light) 0, var(--tv-pastel) 70px, var(--tv-white) 160px); }
.tv-flash__logo { display: inline-flex; align-items: center; gap: 4px; color: var(--tv-blue-700); font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.tv-flash__logo .tv-i { fill: var(--tv-blue-300); stroke: var(--tv-cta); }
.tv-flash__ends { font-size: 12px; color: var(--tv-ink-2); font-weight: 600; }
.tv-count { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.tv-count b { min-width: 26px; height: 24px; display: grid; place-items: center; border-radius: var(--r-xs); background: var(--tv-ink); color: var(--tv-white); font-size: 13px; font-weight: 800; padding: 0 4px; }
.tv-count__d { font-weight: 700; font-size: 13px; margin-right: 4px; }
.tv-count i { font-style: normal; font-weight: 800; color: var(--tv-blue-900); }
.tv-count--light b { background: var(--tv-white); color: var(--tv-ink); }
.tv-count--light i { color: var(--tv-white); }

/* ---------- Danh mục, thương hiệu ---------- */
.tv-cats__grid { display: grid !important; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 25%; gap: 0; }
.tv-cats__grid li { border-right: 1px solid var(--tv-line); border-bottom: 1px solid var(--tv-line); }
.tv-cats__grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; text-align: center; font-size: 12px; line-height: 1.25; height: 100%; }
.tv-cats__grid a:hover { box-shadow: inset 0 0 0 1px var(--tv-blue-300); color: var(--tv-ink); }
.tv-cats__img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--tv-blue-50); }
.tv-cats__img img { width: 100%; height: 100%; object-fit: cover; }
.tv-cats__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tv-brands__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tv-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 84px; padding: 12px 8px; border: 1px solid var(--tv-line); border-radius: var(--r-md); text-align: center; background: var(--tv-white); transition: border-color .15s, box-shadow .15s; }
.tv-brand:hover { border-color: var(--tv-blue-300); box-shadow: var(--sh-1); color: var(--tv-ink); }
.tv-brand__name { font-weight: 900; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--tv-blue-900); line-height: 1.2; }
.tv-brand__logo { max-height: 44px; width: auto; object-fit: contain; }
.tv-brand__meta { font-size: 11px; color: var(--tv-ink-2); }

/* ---------- Tabs ---------- */
.tv-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; border-bottom: 1px solid var(--tv-line); }
.tv-tabs::-webkit-scrollbar { display: none; }
.tv-tabs button, .tv-tabs a { flex: none; padding: 10px 12px; font-weight: 600; color: var(--tv-ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tv-tabs [aria-selected="true"] { color: var(--tv-blue-700); border-bottom-color: var(--tv-blue-700); }

/* ---------- Lưới & thẻ sản phẩm ---------- */
.tv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tv-grid.is-loading { opacity: .5; pointer-events: none; }
.tv-card { position: relative; display: flex; flex-direction: column; background: var(--tv-white); border: 1px solid var(--tv-line); border-radius: var(--r-md); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tv-card:hover { border-color: var(--tv-blue-500); box-shadow: var(--sh-1); }
.tv-card__link { display: flex; flex-direction: column; height: 100%; color: var(--tv-ink); }
.tv-card__link:hover { color: var(--tv-ink); }
.tv-card__media { position: relative; aspect-ratio: 1; background: var(--tv-white); overflow: hidden; }
.tv-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tv-card:hover .tv-card__media img { transform: scale(1.03); }
.tv-card__disc { position: absolute; top: 8px; left: 8px; background: var(--tv-pink-100); color: var(--tv-ink); font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-pill); }
.tv-card__rank { position: absolute; bottom: 6px; left: 6px; padding: 2px 8px; border-radius: var(--r-xs); background: var(--tv-blue-900); color: var(--tv-white); font-size: 11px; font-weight: 900; letter-spacing: .03em; }
.tv-card__rank--1 { background: var(--tv-ink); }
.tv-card__rank--2 { background: var(--tv-blue-700); }
.tv-card__rank--3 { background: var(--tv-blue-500); }
.tv-card__out { position: absolute; inset: auto 0 0 0; background: rgba(4,4,4,.75); color: var(--tv-white); text-align: center; font-weight: 700; font-size: 12px; padding: 4px; }
.tv-card.is-out .tv-card__media img { opacity: .55; }
.tv-card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 10px; }
.tv-card__tags { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-height: 18px; }
.tv-card__brand { font-size: 12px; font-weight: 700; color: var(--tv-blue-700); text-transform: uppercase; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tv-card__name { margin: 0; font-size: 14px; font-weight: 400 !important; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--tv-ink-soft); }
.tv-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; margin-top: auto; }
.tv-price__now { font-weight: 700; font-size: 18px; color: var(--tv-price); }
.tv-price__now.is-sale { color: var(--tv-price); }
.tv-price__now small { font-size: 11px; font-weight: 600; }
.tv-price__old { font-size: 13px; color: var(--tv-ink-2); }
.tv-card__meta { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--tv-ink-2); min-height: 16px; }
.tv-card__meta .tv-stars { width: 60px; height: 11px; -webkit-mask-size: 12px 11px; mask-size: 12px 11px; }
.tv-card__sold { margin-left: auto; }
.tv-card__bar { position: relative; height: 18px; border-radius: 9px; background: var(--tv-blue-100); overflow: hidden; margin-top: 4px; }
.tv-card__bar span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--tv-blue-300), var(--tv-cta)); border-radius: 9px; }
.tv-card__bar em { position: relative; display: block; text-align: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--tv-ink); line-height: 16px; text-transform: uppercase; letter-spacing: .02em; }
.tv-card__fav { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--tv-ink-2); box-shadow: 0 1px 3px rgba(4,4,4,.12); }
.tv-card__fav:hover { color: var(--tv-cta); }
.tv-card__fav[aria-pressed="true"], .tv-pdp__fav[aria-pressed="true"] { color: #E0566B; }
.tv-card__fav[aria-pressed="true"] .tv-i, .tv-pdp__fav[aria-pressed="true"] .tv-i { fill: currentColor; }
.tv-card__add { margin: 0 8px 10px; min-height: 38px; border-radius: var(--r-pill); background: var(--tv-cta); color: var(--tv-white); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.tv-card__add:hover { background: var(--tv-cta-hover); }
.tv-card__add .tv-i { width: 16px; height: 16px; }
.tv-card--flash .tv-card__add, .tv-grid--top .tv-card__add { display: none; }

/* ---------- Combo, cẩm nang, gợi ý, cam kết ---------- */
.tv-combo__grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tv-combo__card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--tv-blue-100); }
.tv-combo__card img { width: 100%; height: 100%; object-fit: cover; }
.tv-combo__text { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; color: var(--tv-blue-900); background: linear-gradient(0deg, rgba(240,250,253,.97) 0%, rgba(240,250,253,.85) 45%, rgba(240,250,253,0) 75%); }
.tv-combo__card--2 .tv-combo__text { background: linear-gradient(0deg, rgba(252,236,236,.97) 0%, rgba(252,236,236,.85) 45%, rgba(252,236,236,0) 75%); }
.tv-combo__text b { font-size: 19px; }
.tv-combo__text span { font-size: 13px; color: var(--tv-ink-2); }
.tv-combo__cta { display: inline-flex !important; align-items: center; gap: 4px; color: var(--tv-blue-700) !important; font-weight: 700; font-size: 13px; }
.tv-posts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.tv-post-card { display: flex; flex-direction: column; background: var(--tv-white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--tv-line); }
.tv-post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--tv-blue-50); }
.tv-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tv-post-card__body { padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.tv-post-card__cat { font-size: 11px; font-weight: 700; color: var(--tv-blue-700); text-transform: uppercase; letter-spacing: .03em; }
.tv-post-card__title { margin: 0; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tv-post-card__meta { margin: 0; font-size: 12px; color: var(--tv-ink-2); }
.tv-feed { margin: 8px 0; }
.tv-feed__title { position: sticky; top: var(--header-h); z-index: 5; margin: 0 -12px 8px; background: var(--tv-white); text-align: center; font-size: 18px; font-weight: 800; color: var(--tv-blue-dark); text-transform: uppercase; letter-spacing: .03em; border-bottom: 3px solid var(--tv-blue-700); padding: 12px; }
.tv-feed__more { text-align: center; margin: 16px auto; max-width: 360px; }
.tv-trust ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
.tv-trust li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: 12px; color: var(--tv-ink-2); }
.tv-trust b { color: var(--tv-blue-900); font-size: 13px; }
.tv-trust__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-blue-100); color: var(--tv-blue-700); margin-bottom: 4px; }

/* ---------- Chân trang ---------- */
.tv-footer { background: var(--tv-white); margin-top: 16px; border-top: 3px solid var(--tv-blue-dark); }
.tv-footer__grid { display: grid; grid-template-columns: 1fr; gap: 4px; padding-top: 20px; padding-bottom: 12px; }
.tv-footer__brand p { color: var(--tv-ink-2); margin: 10px 0; font-size: 13px; }
.tv-footer__contact li { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; font-size: 13px; }
.tv-footer__contact .tv-i { color: var(--tv-blue-700); margin-top: 2px; }
.tv-footer__col { border-bottom: 1px solid var(--tv-line); }
.tv-footer__col summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--tv-blue-900); cursor: pointer; }
.tv-footer__col summary::-webkit-details-marker { display: none; }
.tv-footer__col[open] summary .tv-i { transform: rotate(180deg); }
.tv-footer__col ul { padding-bottom: 12px; }
.tv-footer__col li a, .tv-pay-list li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; color: var(--tv-ink-2); }
.tv-footer__col li a:hover { color: var(--tv-hover); }
.tv-pay-list .tv-i { color: var(--tv-blue-700); }
.tv-footer__subtitle { font-weight: 700; margin: 8px 0 6px; font-size: 13px; }
.tv-social { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px !important; }
.tv-social a { display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); background: var(--tv-blue-100); color: var(--tv-blue-800); font-weight: 600; font-size: 12px; }
.tv-bct { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 6px 10px; border: 1px solid var(--tv-blue-300); border-radius: var(--r-sm); font-size: 12px; font-weight: 600; color: var(--tv-blue-800); }
.tv-footer__bottom { background: var(--tv-footer-bottom, var(--tv-blue-dark)); color: var(--tv-white); font-size: 12px; padding: 12px 0; }
.tv-footer__bottom p { margin: 2px 0; }

/* ---------- Thanh điều hướng dưới (điện thoại) ---------- */
.tv-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--tv-white); border-top: 1px solid var(--tv-line); box-shadow: 0 -2px 10px rgba(4,4,4,.06); }
.tv-tabbar a, .tv-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--tv-ink-2); }
.tv-tabbar [aria-current="page"] { color: var(--tv-blue-700); }
.tv-fab { display: none; }
body.tv-has-buybar { padding-bottom: calc(64px + var(--safe-b)); }
body.tv-has-buybar .tv-tabbar { display: none; }

/* ---------- Bottom sheet / hộp thoại ---------- */
.tv-sheet { position: fixed; inset: 0; z-index: 130; display: flex; align-items: flex-end; }
.tv-sheet__backdrop { position: absolute; inset: 0; background: rgba(4,4,4,.45); }
.tv-sheet__panel { position: relative; width: 100%; max-height: 92vh; background: var(--tv-white); border-radius: var(--r-lg) var(--r-lg) 0 0; display: flex; flex-direction: column; animation: tv-up .2s ease-out; }
@keyframes tv-up { from { transform: translateY(24px); opacity: 0; } }
.tv-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--tv-line); }
.tv-sheet__body { overflow-y: auto; padding: 16px; padding-bottom: calc(16px + var(--safe-b)); }
.tv-assist__who { display: flex; align-items: center; gap: 10px; }
.tv-assist__who small { display: block; color: var(--tv-ink-2); font-size: 12px; }
.tv-assist__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-btn); color: var(--tv-white); }
.tv-assist__step { border: 0; padding: 0; margin: 0 0 12px; }
.tv-assist__step legend { font-size: 17px; font-weight: 800; color: var(--tv-blue-900); margin-bottom: 12px; }
.tv-assist__nav { display: flex; justify-content: space-between; gap: 8px; position: sticky; bottom: 0; background: var(--tv-white); padding-top: 8px; }
.tv-assist__nav [data-step-next] { margin-left: auto; min-width: 140px; }
.tv-grid--assist { grid-template-columns: repeat(2, minmax(0,1fr)); }
.tv-steps { display: flex; gap: 6px; margin-bottom: 16px; counter-reset: st; }
.tv-steps li { flex: 1; font-size: 11px; font-weight: 600; color: var(--tv-ink-2); padding-top: 8px; border-top: 3px solid var(--tv-line); }
.tv-steps li.is-on { color: var(--tv-blue-700); border-color: var(--tv-blue-700); }

/* ---------- Toast ---------- */
.tv-toasts { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px + var(--safe-b)); transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 380px); pointer-events: none; }
.tv-toast { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--tv-blue-900); color: var(--tv-white); box-shadow: var(--sh-2); font-weight: 500; pointer-events: auto; animation: tv-up .2s ease-out; }
.tv-toast.is-error { background: var(--tv-sale-700); }
.tv-toast a { margin-left: auto; color: var(--tv-blue-300); font-weight: 700; white-space: nowrap; }

/* ---------- Danh sách sản phẩm ---------- */
.tv-cat-hero { position: relative; margin: 8px -12px; padding: 16px 12px; background: var(--tv-gradient); overflow: hidden; }
.tv-cat-hero h1 { font-size: 21px; color: var(--tv-blue-900); margin: 0 0 4px; }
.tv-cat-hero p { margin: 0; color: var(--tv-ink-2); font-size: 13px; max-width: 760px; }
.tv-cat-hero.has-banner { min-height: 140px; display: flex; align-items: flex-end; }
.tv-cat-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-cat-hero.has-banner .tv-cat-hero__text { position: relative; background: rgba(255,255,255,.9); padding: 10px 12px; border-radius: var(--r-md); }
.tv-subcats { margin: 0 -12px 8px; background: var(--tv-white); padding: 12px; }
.tv-subcats ul { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.tv-subcats ul::-webkit-scrollbar { display: none; }
.tv-subcats a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 72px; text-align: center; font-size: 12px; line-height: 1.25; }
.tv-subcats__img { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid transparent; background: var(--tv-blue-50); }
.tv-subcats__img img { width: 100%; height: 100%; object-fit: cover; }
.tv-subcats [aria-current] .tv-subcats__img { border-color: var(--tv-blue-700); }
.tv-subcats [aria-current] { color: var(--tv-blue-700); font-weight: 700; }

.tv-sortbar { position: sticky; top: var(--header-h); z-index: 20; display: flex; align-items: center; gap: 8px; margin: 0 -12px 8px; padding: 8px 12px; background: var(--tv-white); border-bottom: 1px solid var(--tv-line); }
.tv-sortbar__label, .tv-sortbar__count { display: none; }
.tv-sortbar__opts { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tv-sortbar__opts::-webkit-scrollbar { display: none; }
.tv-sortbar__opt { flex: none; padding: 6px 12px; border-radius: var(--r-sm); background: var(--tv-bg); font-size: 13px; font-weight: 500; }
.tv-sortbar__opt.is-on { background: var(--tv-cta); color: var(--tv-white); }
.tv-sortbar__opt.is-on:hover { color: var(--tv-white); }
.tv-sortbar__filter { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--tv-line); border-radius: var(--r-sm); font-weight: 600; font-size: 13px; }
.tv-sortbar__filter b { min-width: 18px; height: 18px; border-radius: 9px; background: var(--tv-cta); color: var(--tv-white); font-size: 11px; display: grid; place-items: center; }

.tv-filter { position: fixed; z-index: 140; inset: 0 0 0 auto; width: min(88vw, 360px); background: var(--tv-white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s; visibility: hidden; }
.tv-filter.is-open { transform: none; visibility: visible; }
.tv-filter-backdrop { position: fixed; inset: 0; z-index: 139; background: rgba(4,4,4,.45); }
.tv-filter__top { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--tv-line); }
.tv-filter__top b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.tv-filter__body { flex: 1; overflow-y: auto; padding: 4px 16px 16px; }
.tv-filter__foot { padding: 12px 16px calc(12px + var(--safe-b)); border-top: 1px solid var(--tv-line); }
.tv-filter__clear { display: inline-block; margin: 10px 0 4px; color: var(--tv-blue-700); font-weight: 600; font-size: 13px; }
.tv-filter__group { border-bottom: 1px solid var(--tv-line); }
.tv-filter__group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-weight: 700; cursor: pointer; }
.tv-filter__group summary::-webkit-details-marker { display: none; }
.tv-filter__group[open] summary .tv-i { transform: rotate(180deg); }
.tv-filter__list { padding-bottom: 10px; max-height: 280px; overflow-y: auto; }
.tv-check { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; }
.tv-check small { color: var(--tv-ink-2); }
.tv-check__box { flex: none; width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--tv-gray-300); display: grid; place-items: center; color: transparent; }
.tv-check--radio .tv-check__box { border-radius: 50%; }
.tv-check.is-on { color: var(--tv-blue-700); font-weight: 600; }
.tv-check.is-on .tv-check__box { background: var(--tv-blue-700); border-color: var(--tv-blue-700); color: var(--tv-white); }
.tv-check--radio.is-on .tv-check__box { background: var(--tv-white); box-shadow: inset 0 0 0 4px var(--tv-blue-700); }
.tv-price-form { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; padding-bottom: 12px; }
.tv-price-form input { min-height: 36px; padding: 6px 8px; font-size: 13px; }
.tv-price-form button { grid-column: 1 / -1; }

.tv-pager { margin: 16px 0; }
.tv-pager .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.tv-pager .page-numbers { min-width: 38px; height: 38px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: var(--r-sm); background: var(--tv-white); border: 1px solid var(--tv-line); font-weight: 600; }
.tv-pager .page-numbers.current { background: var(--tv-blue-700); border-color: var(--tv-blue-700); color: var(--tv-white); }
.tv-empty { text-align: center; padding: 32px 16px; }
.tv-empty__icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--tv-blue-100); color: var(--tv-blue-700); margin-bottom: 12px; }
.tv-empty h3 { font-size: 17px; }
.tv-empty p { color: var(--tv-ink-2); }

.tv-prose { font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.tv-prose h2 { font-size: 19px; margin: 1.4em 0 .5em; color: var(--tv-blue-900); }
.tv-prose h3 { font-size: 17px; margin: 1.2em 0 .4em; }
.tv-prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.tv-prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.tv-prose li { margin: .3em 0; }
.tv-prose a { color: var(--tv-blue-700); text-decoration: underline; }
.tv-prose img { border-radius: var(--r-md); margin: 1em auto; }
.tv-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.tv-prose th, .tv-prose td { border: 1px solid var(--tv-line); padding: 8px; text-align: left; }
.tv-prose blockquote { margin: 1em 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--tv-blue-50); }
.tv-prose > :first-child { margin-top: 0; }
[data-collapse].is-collapsed { max-height: 320px; overflow: hidden; position: relative; }
[data-collapse].is-collapsed::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(rgba(255,255,255,0), var(--tv-white)); }
.tv-collapse-btn { display: flex; margin: 8px auto 0; }

.tv-faq__title { font-size: 17px; color: var(--tv-blue-900); }
.tv-faq__item { border: 1px solid var(--tv-line); border-radius: var(--r-md); margin-bottom: 8px; background: var(--tv-white); }
.tv-faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; font-weight: 700; cursor: pointer; }
.tv-faq__item summary::-webkit-details-marker { display: none; }
.tv-faq__item[open] summary { color: var(--tv-blue-700); }
.tv-faq__item[open] .tv-faq__chev { transform: rotate(180deg); }
.tv-faq__a { padding: 0 14px 12px; color: var(--tv-ink-2); }
.tv-faq__a p:last-child { margin: 0; }

/* ---------- Tóm tắt nhanh (answer-first) ---------- */
.tv-quickfacts__lead { font-size: 15px; line-height: 1.7; margin-bottom: 8px; }
.tv-quickfacts__lead a { color: var(--tv-blue-700); text-decoration: underline; text-underline-offset: 2px; }
.tv-quickfacts__list { list-style: disc; padding-left: 1.2em; margin-bottom: 8px; }
.tv-quickfacts__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 12px; color: var(--tv-ink-2); }
.tv-quickfacts__meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Trang sản phẩm 2.1 (bố cục sàn TMĐT) ---------- */
.tv-center { text-align: center; }
.tv-tag--pink { background: var(--tv-pink); color: var(--tv-ink); }
.tv-meter { display: block; height: 8px; border-radius: 4px; background: var(--tv-white); overflow: hidden; box-shadow: inset 0 0 0 1px var(--tv-blue-light); }
.tv-meter i { display: block; height: 100%; border-radius: 4px; background: var(--tv-gradient-strong); }

.tv-pdp-top { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
.tv-pdp { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; padding-top: 0; }
.tv-pdp__gallery { min-width: 0; }
.tv-pdp__main { position: relative; margin: 0 -12px; background: var(--tv-white); }
.tv-pdp__stage { aspect-ratio: 1; overflow: hidden; }
.tv-pdp__shot { margin: 0; width: 100%; height: 100%; }
.tv-pdp__shot img { width: 100%; height: 100%; object-fit: contain; }
.tv-pdp__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tv-pdp__badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--r-sm); font-size: 12px; font-weight: 800; }
.tv-pdp__badge--flash { background: var(--tv-btn); color: var(--tv-white); text-transform: uppercase; letter-spacing: .02em; }
.tv-pdp__badge--flash .tv-i { fill: var(--tv-blue-light); stroke: var(--tv-blue-light); }
.tv-pdp__badge--disc { background: var(--tv-pink); color: var(--tv-ink); }
.tv-pdp__fav { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--tv-white); box-shadow: var(--sh-1); display: grid; place-items: center; color: var(--tv-ink-2); }
.tv-pdp__counter { position: absolute; right: 12px; bottom: 12px; padding: 2px 10px; border-radius: var(--r-pill); background: rgba(4,4,4,.55); color: var(--tv-white); font-size: 12px; font-weight: 600; }
.tv-pdp__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 0; scrollbar-width: none; }
.tv-pdp__thumb { flex: none; width: 60px; height: 60px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--tv-line); background: var(--tv-white); }
.tv-pdp__thumb.is-on { border: 2px solid var(--tv-active); }
.tv-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tv-pdp__note { display: flex; align-items: center; gap: 4px; margin: 8px 0 0; font-size: 11px; color: var(--tv-ink-2); }
.tv-pdp__info { min-width: 0; }
.tv-pdp__brandrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 6px; }
.tv-pdp__brand { font-weight: 800; color: var(--tv-link); text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.tv-pdp__brand:hover { color: var(--tv-hover); }
.tv-pdp__title { font-family: var(--font-head); font-size: 20px; line-height: 1.35; margin: 0 0 4px; font-weight: 700; letter-spacing: -.01em; }
.tv-pdp__short { color: var(--tv-ink-2); margin-bottom: 8px; font-size: 13px; }
.tv-pdp__stats { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0; font-size: 13px; color: var(--tv-ink-2); margin-bottom: 12px; }
.tv-pdp__stats > * { padding: 0 10px; border-left: 1px solid var(--tv-line); line-height: 1.2; }
.tv-pdp__stats > :first-child { padding-left: 0; border-left: 0; }
.tv-pdp__stats b { color: var(--tv-ink); }
.tv-pdp__stats a:hover { color: var(--tv-hover); }
.tv-pdp__rating { display: inline-flex; align-items: center; gap: 6px; }
.tv-pdp__rating b { font-size: 14px; }
.tv-pdp__rating span { text-decoration: underline; text-underline-offset: 2px; }
.tv-pdp__sku { font-size: 12px; }

.tv-pricebox { border-radius: var(--r-md); overflow: hidden; margin: 0 0 12px; background: var(--tv-pastel); }
.tv-pricebox.is-flash { background: var(--tv-pink); }
.tv-pricebox__flash { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 12px; background: var(--tv-gradient-strong); color: var(--tv-white); }
.tv-pricebox__flashname { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 16px; letter-spacing: .02em; }
.tv-pricebox__flashname .tv-i { fill: var(--tv-white); stroke: var(--tv-white); }
.tv-pricebox__ends { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.tv-pricebox__ends .tv-count b { background: var(--tv-black); color: var(--tv-white); }
.tv-pricebox__ends .tv-count i { color: var(--tv-white); }
.tv-pricebox__body { padding: 12px; }
.tv-pricebox__row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.tv-pricebox__now { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--tv-price); line-height: 1.1; letter-spacing: -.02em; }
.tv-pricebox .tv-badge--sale { background: var(--tv-black); color: var(--tv-white); border: 0; font-size: 13px; padding: 2px 8px; }
.tv-pricebox__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 6px 0 0; font-size: 13px; color: var(--tv-ink-2); }
.tv-pricebox__sub del { color: var(--tv-ink-2); }
.tv-pricebox__save b { color: var(--tv-ink); }
.tv-pricebox__stock { display: grid; grid-template-columns: minmax(80px, 200px) auto; align-items: center; gap: 10px; margin-top: 10px; }
.tv-pricebox__stock small { font-size: 12px; font-weight: 600; }
.tv-pricebox__points { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--tv-line); font-size: 13px; color: var(--tv-ink); }
.tv-pricebox__points .tv-i { color: var(--tv-icon); }
.tv-pricebox__points b { color: var(--tv-blue-dark); }

.tv-pdp__rows { margin: 0 0 12px; }
.tv-pdp__row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px dashed var(--tv-line); }
.tv-pdp__row:last-child { border-bottom: 0; }
.tv-pdp__row dt { font-size: 13px; color: var(--tv-ink-2); font-weight: 500; }
.tv-pdp__row dd { margin: 0; min-width: 0; }
.tv-pdp__vchips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tv-vchip { position: relative; padding: 6px 12px; background: var(--tv-pink); color: var(--tv-ink); font-size: 12px; font-weight: 700; border-radius: 2px; }
.tv-vchip::before, .tv-vchip::after { content: ''; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--tv-white); }
.tv-vchip::before { left: -4px; } .tv-vchip::after { right: -4px; }
.tv-vchip.is-saved { background: var(--tv-pastel); color: var(--tv-blue-dark); }
.tv-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px; border: 1px solid var(--tv-line); border-radius: var(--r-sm); background: var(--tv-white); font-size: 13px; position: relative; }
.tv-opt.has-img { padding-left: 4px; }
.tv-opt img { width: 32px; height: 32px; object-fit: cover; border-radius: 4px; }
.tv-opt:hover { border-color: var(--tv-blue); color: var(--tv-hover); }
.tv-opt.is-on { border-color: var(--tv-active); color: var(--tv-blue-dark); font-weight: 700; box-shadow: inset 0 0 0 1px var(--tv-active); }
.tv-opt.is-on::after { content: ''; position: absolute; right: -1px; bottom: -1px; border: 7px solid var(--tv-active); border-top-color: transparent; border-left-color: transparent; border-radius: 0 0 4px 0; }
.tv-opt.is-disabled { opacity: .4; text-decoration: line-through; }
.tv-pdp__qty { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.tv-pdp__stock { color: var(--tv-ink-2); }

.tv-delivery { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 12px; border: 1px solid var(--tv-blue-light); border-radius: var(--r-md); background: var(--tv-white); }
.tv-delivery__ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-pastel); color: var(--tv-icon); }
.tv-delivery__title { margin: 0; font-size: 14px; }
.tv-delivery__eta { margin: 2px 0 0; font-size: 12px; color: var(--tv-ink-2); }

.tv-gifts { border: 1px dashed var(--tv-gray); background: var(--tv-pink); border-radius: var(--r-md); padding: 10px 12px; margin-bottom: 12px; }
.tv-gifts__title { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-weight: 700; color: var(--tv-ink); }
.tv-gifts__title .tv-i { color: var(--tv-icon); }
.tv-gifts li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; }
.tv-gifts li + li { margin-top: 8px; }
.tv-gifts__img { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--tv-white); display: grid; place-items: center; color: var(--tv-icon); overflow: hidden; border: 1px solid var(--tv-line); }
.tv-gifts li b { display: block; font-size: 13px; }
.tv-gifts li small { color: var(--tv-ink-2); font-size: 12px; }
.tv-gifts__price { font-weight: 700; color: var(--tv-ink); }

.tv-pdp__actions { display: none; }
.tv-pdp__chat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 64px; border: 1px solid var(--tv-line); border-radius: var(--r-md); background: var(--tv-white); color: var(--tv-icon); font-size: 11px; font-weight: 600; }
.tv-pdp__chat span { color: var(--tv-ink); }
.tv-pdp__chat:hover { border-color: var(--tv-blue); color: var(--tv-hover); }
.tv-pdp__actions .tv-btn { min-width: 0; padding: 0 10px; }
.tv-pdp__buy { flex-direction: column; gap: 0; line-height: 1.2; white-space: normal; }
.tv-pdp__buy span { font-size: 16px; }
.tv-pdp__buy small { font-size: 11px; font-weight: 500; opacity: .95; }
.tv-pdp__msg { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--r-sm); background: var(--tv-white); border: 1px solid var(--tv-sale-700); color: var(--tv-sale-700); font-size: 13px; font-weight: 600; }
.tv-pdp__pay { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--tv-line); font-size: 12px; font-weight: 600; }
.tv-pdp__pay li { display: inline-flex; align-items: center; gap: 4px; }
.tv-pdp__pay .tv-i { color: var(--tv-icon); }

/* Cột phải trên cùng: ưu đãi, thương hiệu, xem cùng */
.tv-pdp-aside { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; align-content: start; }
.tv-perks { background: var(--tv-white); }
.tv-perks__head { display: flex; align-items: center; gap: 6px; margin: -12px -12px 8px; padding: 10px 12px; background: var(--tv-gradient); font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--tv-ink); }
.tv-perks__head .tv-i { color: var(--tv-blue-dark); }
.tv-perks li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--tv-line); }
.tv-perks li:last-child { border-bottom: 0; }
.tv-perks__ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-pastel); color: var(--tv-icon); }
.tv-perks b { display: block; font-size: 13px; line-height: 1.3; }
.tv-perks small { display: block; color: var(--tv-ink-2); font-size: 12px; line-height: 1.35; }
.tv-perks__call { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 8px; border-radius: var(--r-sm); background: var(--tv-pastel); font-size: 13px; color: var(--tv-ink); }
.tv-perks__call .tv-i { color: var(--tv-icon); }
.tv-brandbox { display: grid; grid-template-columns: 64px 1fr; gap: 8px 12px; align-items: center; }
.tv-brandbox__logo { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--tv-line); background: var(--tv-white); display: grid; place-items: center; overflow: hidden; font-weight: 900; font-size: 11px; text-align: center; color: var(--tv-ink); }
.tv-brandbox__logo img { width: 100%; height: 100%; object-fit: contain; }
.tv-brandbox__meta { margin: 0; }
.tv-brandbox__meta b { display: block; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.tv-brandbox__meta small { color: var(--tv-ink-2); font-size: 12px; }
.tv-brandbox .tv-btn { grid-column: 1 / -1; }
.tv-minibox__title { font-size: 15px; margin: 0 0 4px; }
.tv-minibox__more { display: flex; align-items: center; justify-content: center; gap: 2px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--tv-line); color: var(--tv-link); font-weight: 600; font-size: 13px; }
.tv-mini a { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--tv-line); color: var(--tv-ink); }
.tv-mini:last-child a { border-bottom: 0; }
.tv-mini__img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--r-sm); background: var(--tv-white); border: 1px solid var(--tv-line); }
.tv-mini__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 12px; }
.tv-mini__price { display: flex; align-items: center; gap: 6px; }
.tv-mini__price b { font-size: 14px; color: var(--tv-price); }
.tv-mini__disc { padding: 0 4px; border-radius: 3px; background: var(--tv-pink); font-weight: 700; font-size: 11px; }
.tv-mini__old { color: var(--tv-ink-2); font-size: 11px; }
.tv-mini__brand { font-weight: 700; font-size: 11px; text-transform: uppercase; color: var(--tv-link); letter-spacing: .02em; }
.tv-mini__name { font-weight: 400; color: var(--tv-ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.tv-mini a:hover .tv-mini__name { color: var(--tv-hover); }
.tv-mini__rate { display: inline-flex; align-items: center; gap: 4px; }
.tv-mini__rate small { color: var(--tv-ink-2); }

/* Thường mua cùng */
.tv-bundle__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; margin-bottom: 14px; }
.tv-bundle__head h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; margin: 0; }
.tv-bundle__head h2 .tv-i { color: var(--tv-icon); }
.tv-bundle__head p { margin: 0; font-size: 13px; color: var(--tv-ink-2); }
.tv-bundle__body { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.tv-bundle__items { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.tv-bundle__items::-webkit-scrollbar { display: none; }
.tv-bundle__item { position: relative; flex: 0 0 132px; display: flex; flex-direction: column; gap: 6px; transition: opacity .15s; }
.tv-bundle__item + .tv-bundle__item { margin-left: 40px; }
.tv-bundle__item + .tv-bundle__item::before { content: '+'; position: absolute; left: -31px; top: 52px; width: 22px; height: 22px; border-radius: 50%; background: var(--tv-pastel); color: var(--tv-blue-dark); display: grid; place-items: center; font: 800 16px/1 var(--font-head); }
.tv-bundle__pick { display: block; cursor: pointer; }
.tv-bundle__check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tv-bundle__img { position: relative; display: block; width: 132px; height: 132px; border-radius: var(--r-md); overflow: hidden; background: var(--tv-white); border: 1px solid var(--tv-line); transition: border-color .15s, box-shadow .15s; }
.tv-bundle__img img, .tv-bundle__img .tv-img-ph { width: 100%; height: 100%; object-fit: contain; }
.tv-bundle__check:checked + .tv-bundle__img { border-color: var(--tv-active); box-shadow: 0 0 0 1px var(--tv-active); }
.tv-bundle__check:focus-visible + .tv-bundle__img { outline: 2px solid var(--tv-blue); outline-offset: 2px; }
.tv-bundle__tick { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-white); border: 1.5px solid var(--tv-gray); color: transparent; transition: .15s; }
.tv-bundle__check:checked + .tv-bundle__img .tv-bundle__tick { background: var(--tv-active); border-color: var(--tv-active); color: var(--tv-white); }
.tv-bundle__self { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--tv-btn); color: var(--tv-white); font-size: 11px; font-weight: 700; }
.tv-bundle__item.is-self .tv-bundle__img { border-color: var(--tv-line); box-shadow: none; }
.tv-bundle__name { font-weight: 400; color: var(--tv-ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.35; min-height: 35px; }
.tv-bundle__name:hover { color: var(--tv-hover); }
.tv-bundle__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.tv-bundle__price b { color: var(--tv-price); font-size: 15px; }
.tv-bundle__price del { color: var(--tv-ink-2); font-size: 12px; }
.tv-bundle__item.is-off .tv-bundle__img img, .tv-bundle__item.is-off .tv-bundle__name, .tv-bundle__item.is-off .tv-bundle__price { opacity: .45; }
.tv-bundle__sum { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r-md); background: var(--tv-gradient); }
.tv-bundle__label { margin: 0; font-size: 13px; color: var(--tv-ink-2); }
.tv-bundle__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin: 0; }
.tv-bundle__total b { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--tv-price); letter-spacing: -.02em; }
.tv-bundle__total del { font-size: 13px; color: var(--tv-ink-2); }
.tv-bundle__save { margin: 0; font-size: 13px; }
.tv-bundle__save b { color: var(--tv-blue-dark); }
.tv-bundle__ship { display: grid; gap: 4px; margin: 6px 0 8px; }
.tv-bundle__ship small { font-size: 12px; }
.tv-bundle__ship.is-done small b { color: var(--tv-blue-dark); }
.tv-bundle__sum .tv-btn { margin-top: 2px; }
@media (min-width: 768px) {
	.tv-bundle__body { grid-template-columns: minmax(0,1fr) 320px; align-items: center; gap: 24px; }
	.tv-bundle__items { justify-content: space-evenly; }
	.tv-bundle__item { flex-basis: 150px; }
	.tv-bundle__img { width: 150px; height: 150px; }
	.tv-bundle__item + .tv-bundle__item::before { top: 64px; }
}
@media (min-width: 1200px) {
	.tv-bundle__item { flex-basis: 168px; }
	.tv-bundle__img { width: 168px; height: 168px; }
	.tv-bundle__item + .tv-bundle__item { margin-left: 48px; }
	.tv-bundle__item + .tv-bundle__item::before { left: -35px; top: 73px; }
}

/* Nội dung chi tiết: một khối liền, mục lục dính */
.tv-pdp-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
.tv-pdp-nav { position: sticky; top: var(--header-h); z-index: 15; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--tv-white); margin: 8px -12px 0; padding: 0 12px; border-bottom: 1px solid var(--tv-line); }
.tv-pdp-nav a { flex: none; padding: 13px 10px; font-weight: 600; font-size: 14px; color: var(--tv-ink); border-bottom: 3px solid transparent; }
.tv-pdp-nav a:hover { color: var(--tv-hover); }
.tv-pdp-nav a.is-on { color: var(--tv-active); border-color: var(--tv-active); }
.tv-pdp-body { background: var(--tv-white); margin: 0 -12px 8px; padding: 0 12px; }
.tv-pdp-sec { padding: 18px 0; border-bottom: 1px solid var(--tv-line); scroll-margin-top: calc(var(--header-h) + 56px); }
.tv-pdp-sec:last-child { border-bottom: 0; }
.tv-pdp-sec > h2 { position: relative; font-size: 18px; color: var(--tv-ink); padding-left: 12px; margin: 0 0 12px; }
.tv-pdp-sec > h2::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--tv-blue); }
.tv-pdp-sec > h2 small { font-size: 14px; color: var(--tv-ink-2); font-weight: 500; }
.tv-quickfacts { background: linear-gradient(180deg, var(--tv-pastel), var(--tv-white) 70%); margin: 0 -12px; padding: 18px 12px; }
.tv-quickfacts__lead { font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.tv-quickfacts__lead a { color: var(--tv-link); text-decoration: underline; text-underline-offset: 2px; }
.tv-quickfacts__list { display: grid; gap: 6px; margin-bottom: 10px; }
.tv-quickfacts__list li { display: flex; gap: 8px; align-items: flex-start; }
.tv-quickfacts__list .tv-i { flex: none; margin-top: 3px; color: var(--tv-icon); }
.tv-quickfacts__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 12px; color: var(--tv-ink-2); }
.tv-quickfacts__meta span { display: inline-flex; align-items: center; gap: 4px; }
.tv-specs { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--tv-line); }
.tv-specs th, .tv-specs td { padding: 10px 12px; text-align: left; vertical-align: top; }
.tv-specs tr:nth-child(odd) { background: var(--tv-pastel); }
.tv-specs th { width: 38%; color: var(--tv-ink-2); font-weight: 500; }
.tv-expert { background: var(--tv-white); }
.tv-expert .tv-prose { padding: 12px 14px; border-left: 3px solid var(--tv-blue-light); background: var(--tv-pastel); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.tv-expert__by { display: flex; align-items: center; gap: 6px; color: var(--tv-blue-dark); font-weight: 600; font-size: 13px; margin: 8px 0 0; }

.tv-reviews__summary { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--tv-line); margin-bottom: 12px; }
.tv-reviews__score { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--tv-ink); }
.tv-reviews__score b { font-family: var(--font-head); font-size: 40px; line-height: 1; }
.tv-reviews__score small { color: var(--tv-ink-2); }
.tv-reviews__score .tv-stars { width: 100px; height: 18px; -webkit-mask-size: 20px 18px; mask-size: 20px 18px; }
.tv-reviews__bars li { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 8px; font-size: 12px; margin: 4px 0; }
.tv-reviews__bars li > span:first-child { display: inline-flex; align-items: center; gap: 2px; }
.tv-reviews__star { fill: var(--tv-star); stroke: var(--tv-star); }
.tv-reviews__bar { height: 8px; border-radius: 4px; background: var(--tv-pastel); overflow: hidden; }
.tv-reviews__bar i { display: block; height: 100%; background: var(--tv-star); }
.tv-reviews__cta { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.tv-reviews__cta p { margin: 0; font-size: 13px; color: var(--tv-ink-2); }
.tv-reviews__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tv-reviews__filters .tv-chip.is-on { background: var(--tv-active); border-color: var(--tv-active); color: var(--tv-white); }
.tv-review-form__login { padding: 12px; border-radius: var(--r-sm); background: var(--tv-pastel); }

/* Hỏi đáp */
.tv-qa-form { display: grid; gap: 8px; padding: 12px; border-radius: var(--r-md); background: var(--tv-pastel); margin-bottom: 8px; }
.tv-qa-form textarea, .tv-qa-form input[type="text"] { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--tv-line); border-radius: var(--r-md); background: var(--tv-white); font-size: 14px; resize: vertical; }
.tv-qa-form__row { display: flex; gap: 8px; flex-wrap: wrap; }
.tv-qa-form__row label { flex: 1 1 180px; }
.tv-qa-form--guest { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tv-qa-form--guest p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.tv-qa-form--guest .tv-i { color: var(--tv-icon); flex: none; }
.tv-reviews__note { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--tv-ink) !important; max-width: 220px; text-align: left; }
.tv-reviews__note .tv-i { flex: none; color: var(--tv-icon); }
.tv-auth__why { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--tv-pastel); font-size: 13px; }
.tv-auth__why .tv-i { flex: none; color: var(--tv-icon); margin-top: 1px; }
.tv-qa-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tv-qa { padding: 14px 0; border-bottom: 1px dashed var(--tv-line); }
.tv-qa__q, .tv-qa__a { display: grid; grid-template-columns: 28px 1fr; gap: 10px; margin: 0; }
.tv-qa__q b { display: block; font-weight: 600; }
.tv-qa__q small, .tv-qa__by small { color: var(--tv-ink-2); font-size: 12px; font-weight: 400; }
.tv-qa__mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--tv-pastel); color: var(--tv-blue-dark); }
.tv-qa__a { margin-top: 10px; padding: 10px 12px 10px 0; }
.tv-qa__a.is-staff .tv-qa__mark { background: var(--tv-btn); color: var(--tv-white); }
.tv-qa__a > div { padding: 10px 12px; border-radius: var(--r-sm); background: var(--tv-pastel); font-size: 14px; }
.tv-qa__a p { margin: 0 0 4px; }
.tv-qa__by { margin: 0 0 4px !important; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tv-qa__wait { margin: 6px 0 0 38px; font-size: 12px; color: var(--tv-ink-2); }
.tv-qa-faq { margin-top: 16px; }
.tv-qa-faq .tv-faq__title { font-size: 15px; }

.tv-askbox { background: var(--tv-gradient); text-align: center; }
.tv-askbox__ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tv-white); color: var(--tv-icon); margin-bottom: 6px; }
.tv-askbox p { font-size: 13px; }
.tv-askbox .tv-link { display: block; text-align: center; margin-top: 8px; font-size: 13px; color: var(--tv-blue-dark); }

/* Dải dịch vụ cuối trang */
.tv-services { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.tv-services li { display: flex; align-items: center; gap: 10px; }
.tv-services__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-pastel); color: var(--tv-icon); }
.tv-services b { display: block; font-size: 13px; }
.tv-services small { display: block; font-size: 12px; color: var(--tv-ink-2); }
.tv-services__call { grid-column: 1 / -1; padding: 10px 12px; border-radius: var(--r-md); background: var(--tv-btn); color: var(--tv-white); }
.tv-services__call .tv-services__ico { background: rgba(252,252,252,.15); color: var(--tv-white); }
.tv-services__call small { color: var(--tv-white); opacity: .9; }
.tv-services__call b { font-family: var(--font-head); font-size: 20px; color: var(--tv-white); }

.tv-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 56px 56px 1fr 1fr; height: calc(60px + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--tv-white); border-top: 1px solid var(--tv-line); box-shadow: 0 -2px 10px rgba(4,4,4,.08); }
.tv-buybar__icon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; font-weight: 600; color: var(--tv-icon); border-right: 1px solid var(--tv-line); }
.tv-buybar__icon span { color: var(--tv-ink); }
.tv-buybar__icon .tv-cart-count { box-shadow: 0 0 0 2px var(--tv-white); background: var(--tv-cta); color: var(--tv-white); }
.tv-buybar__add { background: var(--tv-pastel); color: var(--tv-blue-dark); font-weight: 700; font-size: 14px; }
.tv-buybar__buy { background: var(--tv-cta); color: var(--tv-white); font-weight: 800; font-size: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.tv-buybar__buy small { font-weight: 600; font-size: 11px; opacity: .95; }

@media (max-width: 767px) {
	.tv-perks ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 10px; }
	.tv-perks li { border-bottom: 0; padding: 6px 0; gap: 8px; }
	.tv-perks small { display: none; }
	.tv-perks__ico { width: 32px; height: 32px; }
}
@media (min-width: 640px) {
	.tv-perks { overflow: hidden; }
	.tv-perks__head { margin: -16px -16px 10px; padding: 10px 16px; }
	.tv-pdp__main { margin: 0; border-radius: var(--r-md); border: 1px solid var(--tv-line); overflow: hidden; }
	.tv-pdp__row { grid-template-columns: 110px minmax(0,1fr); align-items: center; }
	.tv-pdp-nav { margin: 8px 0 0; border-radius: var(--r-md) var(--r-md) 0 0; }
	.tv-pdp-body { margin: 0 0 8px; padding: 0 20px; border-radius: 0 0 var(--r-md) var(--r-md); }
	.tv-quickfacts { margin: 0 -20px; padding: 18px 20px; }
	.tv-reviews__summary { grid-template-columns: 150px minmax(0,1fr) 180px; align-items: center; }
	.tv-services { grid-template-columns: repeat(5, minmax(0,1fr)); }
	.tv-services__call { grid-column: auto; }
}
@media (min-width: 768px) {
	.tv-pdp { grid-template-columns: minmax(0, 380px) minmax(0,1fr); gap: 24px; padding: 20px; }
	.tv-pdp__actions { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 10px; }
	.tv-pdp__actions .tv-btn { min-height: 52px; }
	.tv-pdp__title { font-size: 22px; }
	.tv-pdp-aside { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 12px; }
}
@media (min-width: 1024px) {
	.tv-pdp { grid-template-columns: 420px minmax(0,1fr); gap: 28px; }
	.tv-pdp__gallery.has-thumbs { display: grid; grid-template-columns: 64px minmax(0,1fr); grid-template-areas: "thumbs main" "note note"; gap: 10px; align-content: start; }
	.tv-pdp__gallery.has-thumbs .tv-pdp__main { grid-area: main; }
	.tv-pdp__gallery.has-thumbs .tv-pdp__thumbs { grid-area: thumbs; flex-direction: column; padding: 0; max-height: 420px; overflow-y: auto; }
	.tv-pdp__gallery.has-thumbs .tv-pdp__note { grid-area: note; }
	.tv-pdp__thumb { width: 64px; height: 64px; }
	.tv-pdp__counter { display: none; }
	.tv-pdp-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; }
	.tv-pdp-layout__side { padding-top: 8px; }
	.tv-pdp-layout__side .tv-block:first-child { margin-top: 0; }
}
@media (min-width: 1200px) {
	.tv-pdp-top { grid-template-columns: minmax(0,1fr) 270px; gap: 12px; align-items: stretch; }
	.tv-pdp-top > .tv-pdp { align-content: start; }
	.tv-pdp-top > .tv-pdp { margin-right: 0; }
	.tv-pdp-aside { grid-template-columns: minmax(0,1fr); }
	.tv-pdp { grid-template-columns: 400px minmax(0,1fr); gap: 24px; }
	.tv-pdp-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 12px; }
}

.tv-review { padding: 14px 0; border-bottom: 1px solid var(--tv-line); }
.tv-review__head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.tv-review__head > div { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tv-review__head small { color: var(--tv-ink-2); font-size: 12px; }
.tv-review__avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--tv-blue-100); color: var(--tv-blue-800); display: grid; place-items: center; font-weight: 800; }
.tv-review__text { margin: 0 0 8px 46px; }
.tv-review__imgs { display: flex; gap: 6px; margin-left: 46px; flex-wrap: wrap; }
.tv-review__imgs img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); }
.tv-review__reply { margin: 8px 0 0 46px; padding: 10px 12px; background: var(--tv-bg); border-radius: var(--r-sm); font-size: 13px; }
.tv-review__reply p { margin: 4px 0 0; }
.tv-review-form { margin-top: 16px; }
.tv-review-form > summary { list-style: none; width: max-content; }
.tv-review-form > summary::-webkit-details-marker { display: none; }
.tv-review-form form { margin-top: 12px; display: grid; gap: 12px; }
.tv-rate-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.tv-rate-input legend { width: 100%; font-weight: 700; margin-bottom: 4px; float: left; }
.tv-rate-input input { position: absolute; opacity: 0; }
.tv-rate-input label { color: var(--tv-gray-300); cursor: pointer; }
.tv-rate-input input:checked ~ label, .tv-rate-input label:hover, .tv-rate-input label:hover ~ label { color: var(--tv-star); }
.tv-rate-input input:checked ~ label .tv-i, .tv-rate-input label:hover .tv-i, .tv-rate-input label:hover ~ label .tv-i { fill: currentColor; }
.tv-rate-input input:focus-visible + label { outline: 2px solid var(--tv-blue-500); border-radius: 4px; }

/* ---------- Giỏ hàng ---------- */
.tv-cart__layout, .tv-checkout__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.tv-cart__main, .tv-cart__side, .tv-checkout__main, .tv-checkout__side, .tv-catalog__main, .tv-pdp-layout__main, .tv-pdp-layout__side, .tv-account__main, .tv-hero > * { min-width: 0; }
.tv-freeship { margin: 0 -12px 8px; padding: 10px 12px; background: #E3F6EC; color: #0F6B46; font-size: 13px; font-weight: 600; }
.tv-freeship p { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.tv-freeship__bar { display: block; height: 6px; border-radius: 3px; background: var(--tv-white); overflow: hidden; }
.tv-freeship__bar i { display: block; height: 100%; background: var(--tv-success); border-radius: 3px; transition: width .3s; }
.tv-cart__head { display: none; }
.tv-cart__items { margin: 0 -12px; }
.tv-cline { display: grid; grid-template-columns: 24px 80px 1fr; gap: 10px; padding: 12px; background: var(--tv-white); border-bottom: 1px solid var(--tv-line); position: relative; }
.tv-cline.is-out { opacity: .6; }
.tv-cline__img { width: 80px; height: 80px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--tv-line); background: var(--tv-white); }
.tv-cline__img img { width: 100%; height: 100%; object-fit: cover; }
.tv-cline__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tv-cline__name { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-cline__var select { max-width: 100%; border: 0; background: var(--tv-bg); border-radius: var(--r-xs); padding: 3px 6px; font-size: 12px; color: var(--tv-ink-2); }
.tv-cline__unit { display: flex; align-items: baseline; gap: 6px; font-size: 13px; }
.tv-cline__unit b { color: var(--tv-price); }
.tv-cline__unit del { color: var(--tv-ink-2); font-size: 12px; }
.tv-cline__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 8px; margin-top: 2px; }
.tv-cline__qty .tv-qty { height: 30px; }
.tv-cline__qty .tv-qty button { width: 30px; }
.tv-cline__qty .tv-qty input { width: 38px; }
.tv-cline__total { display: none; font-weight: 700; color: var(--tv-price); }
.tv-cline__del { color: var(--tv-ink-2); font-size: 13px; }
.tv-cline__del:hover { color: var(--tv-sale); }
.tv-cline__warn { font-size: 12px; color: var(--tv-sale-700); font-weight: 600; }
.tv-cline .tv-cbx { align-self: center; }
.tv-cart__voucher h2 { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--tv-blue-900); }
.tv-cart__voucher .tv-rail { margin-top: 12px; }
.tv-applied { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tv-applied span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: var(--r-pill); background: var(--tv-blue-100); color: var(--tv-blue-800); font-weight: 700; font-size: 12px; }
.tv-applied button { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.tv-applied button:hover { background: var(--tv-white); }
.tv-applied em { font-style: normal; color: var(--tv-sale-700); font-weight: 600; }
.tv-summary h2 { font-size: 15px; color: var(--tv-blue-900); }
.tv-sumlines { margin: 0; }
.tv-sumlines > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.tv-sumlines dt { color: var(--tv-ink-2); }
.tv-sumlines dd { margin: 0; font-weight: 600; text-align: right; }
.tv-sumlines .is-total { border-top: 1px solid var(--tv-line); margin-top: 6px; padding-top: 10px; }
.tv-sumlines .is-total dt { color: var(--tv-ink); font-weight: 700; }
.tv-sumlines .is-total dd { color: var(--tv-price); font-size: 22px; font-weight: 700; }
.tv-sumlines .is-save dd { color: var(--tv-success); }
.tv-summary__points { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px dashed var(--tv-line); border-bottom: 1px dashed var(--tv-line); margin: 8px 0; font-size: 13px; }
.tv-switch { position: relative; width: 40px; height: 24px; flex: none; }
.tv-switch input { position: absolute; opacity: 0; inset: 0; z-index: 1; cursor: pointer; margin: 0; }
.tv-switch span { position: absolute; inset: 0; border-radius: 12px; background: var(--tv-gray-300); transition: .15s; }
.tv-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--tv-white); transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tv-switch input:checked + span { background: var(--tv-blue-700); }
.tv-switch input:checked + span::after { transform: translateX(16px); }
.tv-switch input:focus-visible + span { outline: 2px solid var(--tv-blue-500); outline-offset: 2px; }
.tv-summary__earn { font-size: 12px; color: var(--tv-blue-800); background: var(--tv-blue-50); border-radius: var(--r-sm); padding: 6px 10px; margin: 8px 0; }
.tv-summary .tv-btn--lg { margin-top: 12px; }
.tv-cartbar { position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b)); z-index: 30; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 8px 10px; margin: 0 -12px; padding: 8px 12px; background: var(--tv-white); border-top: 1px solid var(--tv-line); box-shadow: 0 -4px 12px rgba(4,4,4,.06); }
.tv-cartbar__del { color: var(--tv-ink-2); font-size: 13px; }
.tv-cartbar__total { text-align: right; font-size: 12px; line-height: 1.3; }
.tv-cartbar__total b { color: var(--tv-price); font-size: 18px; }
.tv-cartbar__total small { display: block; color: var(--tv-success); font-weight: 600; }
.tv-cartbar .tv-btn--lg { min-height: 44px; padding: 0 14px; }
.tv-cart__side { display: none; }
.tv-fpage--cart, .tv-fpage--checkout { padding-bottom: 8px; }

/* ---------- Thanh toán ---------- */
.tv-co-sec h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--tv-blue-900); }
.tv-co-sec h2 .tv-link { margin-left: auto; font-size: 13px; }
.tv-co-num { width: 26px; height: 26px; border-radius: 50%; background: var(--tv-btn); color: var(--tv-white); display: grid; place-items: center; font-size: 13px; flex: none; }
.tv-addr { position: relative; }
.tv-addr__list { position: absolute; left: 0; right: 0; top: 74px; z-index: 30; background: var(--tv-white); border: 1px solid var(--tv-line); border-radius: var(--r-md); box-shadow: var(--sh-2); max-height: 260px; overflow-y: auto; }
.tv-addr__list li { padding: 10px 12px; cursor: pointer; font-weight: 400; font-size: 14px; }
.tv-addr__list li small { color: var(--tv-ink-2); }
.tv-addr__list li:hover, .tv-addr__list li[aria-selected="true"] { background: var(--tv-blue-50); }
.tv-radios { display: grid; gap: 8px; }
.tv-radio { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--tv-line); border-radius: var(--r-md); cursor: pointer; position: relative; }
.tv-radio input { accent-color: var(--tv-blue-700); width: 18px; height: 18px; margin: 0; flex: none; }
.tv-radio:has(input:checked) { border-color: var(--tv-blue-700); background: var(--tv-blue-50); }
.tv-radio__ico { color: var(--tv-blue-700); }
.tv-radio b { display: block; font-size: 14px; }
.tv-radio small { display: block; color: var(--tv-ink-2); font-size: 12px; }
.tv-radio__fee { margin-left: auto; font-weight: 700; white-space: nowrap; }
.tv-radio__fee del { color: var(--tv-ink-2); font-weight: 400; font-size: 12px; margin-right: 4px; }
.tv-co-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--tv-line); }
.tv-co-items li:last-child { border-bottom: 0; }
.tv-co-items__img { position: relative; width: 56px; height: 56px; border-radius: var(--r-sm); border: 1px solid var(--tv-line); }
.tv-co-items__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.tv-co-items__img b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--tv-blue-900); color: var(--tv-white); font-size: 11px; display: grid; place-items: center; padding: 0 4px; }
.tv-co-items__name { font-size: 13px; line-height: 1.4; }
.tv-co-items__name small { display: block; color: var(--tv-ink-2); font-size: 12px; }
.tv-co-items__price { font-weight: 700; }
.tv-checkout .tv-summary { position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b)); margin-bottom: 0; box-shadow: 0 -4px 12px rgba(4,4,4,.06); }

/* ---------- Đơn hàng ---------- */
.tv-status { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; background: var(--tv-bg); color: var(--tv-blue-900); white-space: nowrap; }
.tv-status--cho-xac-nhan { background: #FFF4D6; color: #7A4F00; }
.tv-status--da-xac-nhan, .tv-status--dang-giao { background: var(--tv-blue-100); color: var(--tv-blue-800); }
.tv-status--giao-lai { background: #FFF0E0; color: #8A4300; }
.tv-status--da-giao { background: #E3F6EC; color: #0F6B46; }
.tv-status--da-huy, .tv-status--chuyen-hoan, .tv-status--hoan-tien { background: var(--tv-pink-100); color: var(--tv-sale-700); }
.tv-order h2 { font-size: 16px; color: var(--tv-blue-900); }
.tv-order__id { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.tv-order__id b { font-size: 18px; letter-spacing: .02em; }
.tv-order__alert { display: flex; gap: 8px; padding: 10px 12px; border-radius: var(--r-md); background: var(--tv-pink-100); color: var(--tv-sale-700); font-size: 13px; font-weight: 500; margin-top: 12px; }
.tv-order__alert--warn { background: #FFF0E0; color: #8A4300; }
.tv-order__ship { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; }
.tv-order__grid { display: grid; grid-template-columns: 1fr; }
.tv-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0 4px; }
.tv-progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--tv-ink-2); text-align: center; }
.tv-progress li::before { content: ''; position: absolute; top: 20px; left: -50%; right: 50%; height: 3px; background: var(--tv-line); z-index: 0; }
.tv-progress li:first-child::before { display: none; }
.tv-progress li.is-done::before { background: var(--tv-success); }
.tv-progress__dot { position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-white); border: 3px solid var(--tv-line); color: var(--tv-gray-300); }
.tv-progress li.is-done { color: var(--tv-success); }
.tv-progress li.is-done .tv-progress__dot { border-color: var(--tv-success); color: var(--tv-success); }
.tv-progress li.is-now .tv-progress__dot { background: var(--tv-success); color: var(--tv-white); }
.tv-progress.is-retry li.is-now .tv-progress__dot { background: var(--tv-warn); border-color: var(--tv-warn); }
.tv-timeline { position: relative; padding-left: 18px; }
.tv-timeline li { position: relative; padding: 0 0 14px 6px; }
.tv-timeline li::before { content: ''; position: absolute; left: -14px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--tv-gray-300); }
.tv-timeline li::after { content: ''; position: absolute; left: -10px; top: 18px; bottom: 0; width: 2px; background: var(--tv-line); }
.tv-timeline li:last-child::after { display: none; }
.tv-timeline li.is-latest::before { background: var(--tv-success); box-shadow: 0 0 0 4px #E3F6EC; }
.tv-timeline li.is-latest b { color: var(--tv-success); }
.tv-timeline b { display: block; font-size: 14px; }
.tv-timeline time { font-size: 12px; color: var(--tv-ink-2); }
.tv-timeline p { margin: 4px 0 0; font-size: 13px; color: var(--tv-ink-2); }
.tv-qrpay { border: 2px solid var(--tv-blue-300); }
.tv-qrpay__grid { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; }
.tv-qrpay__img { width: 240px; height: auto; margin: 0 auto; border-radius: var(--r-md); border: 1px solid var(--tv-line); }
.tv-qrpay__info > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--tv-line); }
.tv-qrpay__info dt { color: var(--tv-ink-2); font-size: 13px; }
.tv-qrpay__info dd { margin: 0; display: flex; align-items: center; gap: 4px; }
.tv-thanks__hero { text-align: center; padding: 24px 16px; }
.tv-thanks__ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #E3F6EC; color: var(--tv-success); margin-bottom: 8px; }
.tv-thanks__hero h1 { font-size: 22px; color: var(--tv-success); }
.tv-thanks__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.tv-thanks__join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: var(--tv-blue-100); }
.tv-thanks__join p { margin: 0; }

/* ---------- Tài khoản ---------- */
.tv-account { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 8px; }
.tv-account__nav { background: var(--tv-white); margin: 0 -12px; padding: 12px; }
.tv-account__me { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tv-account__me small { display: block; color: var(--tv-ink-2); font-size: 12px; }
.tv-account__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--tv-btn); color: var(--tv-white); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.tv-account__nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tv-account__nav ul::-webkit-scrollbar { display: none; }
.tv-account__nav a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--tv-bg); font-size: 13px; font-weight: 600; white-space: nowrap; }
.tv-account__nav a[aria-current] { background: var(--tv-blue-700); color: var(--tv-white); }
.tv-account__main { min-width: 0; }
.tv-account__main h2 { font-size: 16px; color: var(--tv-blue-900); }
.tv-pass { display: grid; grid-template-columns: 1fr; margin: 8px 0; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(120deg, var(--tv-blue-dark), var(--tv-blue)); color: var(--tv-white); box-shadow: var(--sh-1); }
.tv-pass--thuong-gia { background: linear-gradient(120deg, var(--tv-black), var(--tv-blue-dark)); }
.tv-pass--hang-nhat { background: var(--tv-black); }
.tv-pass__main { padding: 16px; }
.tv-pass__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tv-pass__brand { font-weight: 900; letter-spacing: .12em; font-size: 12px; color: var(--tv-blue-300); }
.tv-pass__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tv-pass__grid small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--tv-blue-300); }
.tv-pass__grid b { font-size: 16px; }
.tv-pass__progress { height: 6px; background: rgba(255,255,255,.2); border-radius: 3px; margin: 16px 0 6px; overflow: hidden; }
.tv-pass__progress span { display: block; height: 100%; background: var(--tv-blue-300); }
.tv-pass__note { margin: 0; font-size: 12px; color: var(--tv-blue-100); }
.tv-pass__stub { position: relative; padding: 14px 16px; background: rgba(255,255,255,.08); border-top: 2px dashed rgba(255,255,255,.35); display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.tv-pass__stub small { color: var(--tv-blue-300); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.tv-pass__stub b { font-size: 18px; letter-spacing: .08em; }
.tv-tiers { display: grid; gap: 8px; }
.tv-tiers li { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--tv-line); border-radius: var(--r-md); font-size: 13px; }
.tv-tiers li.is-on { border-color: var(--tv-blue-700); background: var(--tv-blue-50); }
.tv-tiers small { color: var(--tv-ink-2); }
.tv-ostat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tv-ostat a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-align: center; }
.tv-ostat__ico { position: relative; color: var(--tv-blue-700); }
.tv-ostat__ico b { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--tv-cta); color: var(--tv-white); font-size: 11px; display: grid; place-items: center; padding: 0 4px; }
.tv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tv-table th, .tv-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--tv-line); }
.tv-table th { color: var(--tv-ink-2); font-weight: 600; background: var(--tv-white); }
.tv-table a { color: var(--tv-blue-700); font-weight: 600; }
.tv-orderrow header, .tv-orderrow footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.tv-orderrow header { padding-bottom: 8px; border-bottom: 1px solid var(--tv-line); }
.tv-orderrow footer { padding-top: 10px; border-top: 1px solid var(--tv-line); }
.tv-tabs--links { background: var(--tv-white); margin: 0 -12px 0; padding: 0 12px; }
.tv-auth { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 12px 0; }
.tv-auth__art { display: none; }
.tv-auth__box { max-width: 460px; width: 100%; margin: 0 auto; border-radius: var(--r-lg); }
.tv-auth__box form { display: grid; gap: 14px; }

/* ---------- Trang phụ ---------- */
.tv-track, .tv-consult { padding: 8px 0; }
.tv-track__box { text-align: center; }
.tv-track__ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tv-blue-100); color: var(--tv-blue-700); margin-bottom: 8px; }
.tv-track__box h1, .tv-consult h1 { font-size: 22px; color: var(--tv-blue-900); }
.tv-track__form { display: grid; gap: 12px; max-width: 520px; margin: 0 auto; text-align: left; }
.tv-consult__intro { padding: 12px 0; }
.tv-ticks li { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.tv-ticks .tv-i { color: var(--tv-success); }
.tv-vpage__hero, .tv-flashpage__hero { margin: 8px -12px; padding: 20px 16px; background: var(--tv-gradient); color: var(--tv-ink); text-align: center; }
.tv-vpage__hero h1, .tv-flashpage__hero h1 { color: var(--tv-ink); font-size: 22px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tv-vpage__hero p, .tv-flashpage__hero p { margin: 0; color: var(--tv-ink); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.tv-flashpage__hero { font-style: italic; }
.tv-flashpage__hero h1 .tv-i { fill: var(--tv-blue); stroke: var(--tv-blue); }
.tv-az { display: flex; flex-wrap: wrap; gap: 6px; }
.tv-az a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--tv-bg); font-weight: 700; }
.tv-az a:hover { background: var(--tv-hover); color: var(--tv-white); }
.tv-az__letter { font-size: 22px; color: var(--tv-blue-700); }
.tv-404 { text-align: center; padding: 40px 16px; }
.tv-page__title { font-size: 24px; color: var(--tv-blue-900); }

/* ---------- Cẩm nang ---------- */
.tv-blog__head { padding: 12px 0 4px; }
.tv-blog__head h1 { font-size: 22px; color: var(--tv-blue-900); }
.tv-posts--list { margin-bottom: 12px; }
.tv-post-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; background: var(--tv-white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--tv-line); }
.tv-post-feature__media { aspect-ratio: 16/9; overflow: hidden; }
.tv-post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.tv-post-feature__body { padding: 16px; }
.tv-post-feature__body h2 { font-size: 20px; margin: 8px 0; }
.tv-post-feature__body p { color: var(--tv-ink-2); }
.tv-article { background: var(--tv-white); margin: 8px -12px; padding: 16px 12px; }
.tv-article__head h1 { font-size: 24px; line-height: 1.3; color: var(--tv-blue-900); margin: 10px 0; }
.tv-article__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--tv-ink-2); }
.tv-article__meta span { display: inline-flex; align-items: center; gap: 4px; }
.tv-article__meta .tv-i { color: var(--tv-success); }
.tv-article__cover { margin: 12px -12px 16px; }
.tv-article__cover img { width: 100%; max-height: 420px; object-fit: cover; }
.tv-article__content { font-size: 16px; }
.tv-toc { background: var(--tv-blue-50); border-radius: var(--r-md); padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.tv-toc summary { font-weight: 800; color: var(--tv-blue-900); cursor: pointer; }
.tv-toc ol { list-style: decimal; padding-left: 1.2em; margin-top: 8px; }
.tv-toc li { margin: 4px 0; }
.tv-toc li.lv-3 { margin-left: 12px; list-style: circle; }
.tv-toc a { color: var(--tv-blue-800); }
.tv-authorbox { display: flex; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--tv-bg); margin-top: 24px; font-size: 14px; }
.tv-authorbox small { display: block; color: var(--tv-ink-2); }
.tv-authorbox p { margin: 6px 0 0; }

/* ==========================================================================
   ≥ 640px
   ========================================================================== */
@media (min-width: 640px) {
	.tv-container { padding: 0 16px; }
	.tv-block { margin: 12px 0; padding: 16px; border-radius: var(--r-md); }
	.tv-hero { margin: 12px 0 0; }
	.tv-slider { border-radius: var(--r-md); aspect-ratio: var(--hero-ratio, 3 / 1); }
	.tv-slide__sub { display: block; }
	.tv-slide__kicker { font-size: 11px; }
	.tv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.tv-rail__track--cards > .tv-card { width: 31%; }
	.tv-quick ul { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); }
	.tv-cats__grid { grid-auto-columns: 16.66%; }
	.tv-brands__grid { grid-template-columns: repeat(3, 1fr); }
	.tv-combo__grid { grid-template-columns: repeat(3, 1fr); }
	.tv-combo__card { aspect-ratio: 330 / 270; }
	.tv-trust ul { grid-template-columns: repeat(4, 1fr); }
	.tv-fields { grid-template-columns: 1fr 1fr; }
	.tv-field--full { grid-column: 1 / -1; }
	.tv-tickets { grid-template-columns: repeat(2, 1fr); }
	.tv-feed__title { margin: 0 0 10px; border-radius: var(--r-md) var(--r-md) 0 0; }
	.tv-cat-hero, .tv-subcats, .tv-sortbar { margin-left: 0; margin-right: 0; border-radius: var(--r-md); }
	.tv-cat-hero { padding: 20px; }
	.tv-sortbar { top: calc(var(--header-h) + 4px); }
	.tv-cart__items { margin: 0; border-radius: var(--r-md); overflow: hidden; }
	.tv-freeship, .tv-cartbar, .tv-tabs--links, .tv-account__nav, .tv-article, .tv-vpage__hero, .tv-flashpage__hero { margin-left: 0; margin-right: 0; border-radius: var(--r-md); }
	.tv-article { padding: 24px; }
	.tv-article__cover { margin: 16px 0; border-radius: var(--r-md); overflow: hidden; }
	.tv-qrpay__grid { grid-template-columns: 260px 1fr; }
	.tv-order__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.tv-post-feature { grid-template-columns: 1.2fr 1fr; }
	.tv-post-feature__body { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
	.tv-pass { grid-template-columns: 1fr 200px; }
	.tv-pass__stub { border-top: 0; border-left: 2px dashed rgba(255,255,255,.35); justify-content: center; }
	.tv-pass__grid { grid-template-columns: repeat(4, 1fr); }
	.tv-ticket { --stub: 64px; width: 330px; min-height: 72px; }
	.tv-ticket__stub { font-size: 10px; }
	.tv-ticket__meta { display: block; }
	.tv-ticket__body { padding: 8px 8px 8px 14px; }
	.tv-ticket__title { font-size: 15px; }
}

/* ==========================================================================
   ≥ 768px (máy tính bảng)
   ========================================================================== */
@media (min-width: 768px) {
	:root { --header-h: 116px; }
	.tv-topbar__links { display: flex; }
	.tv-header__in { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search actions"; gap: 20px; padding-top: 14px; padding-bottom: 8px; }
	.tv-header__menu { display: none; }
	.tv-logo__svg { height: 34px; }
	.tv-actions { gap: 12px; }
	.tv-actions__label { display: block; }
	.tv-trend { display: flex; gap: 14px; margin-top: 6px; overflow: hidden; height: 18px; flex-wrap: wrap; }
	.tv-trend a { color: var(--tv-header-text, var(--tv-ink-2)); opacity: .85; font-size: 12px; }
	.tv-trend a:hover { color: var(--tv-hover); }
	.tv-search__input { height: 38px; }
	.tv-navbar__cats { display: inline-flex; }
	.tv-navbar__menu a { font-size: 14px; }

	.tv-mega { top: var(--mega-top, 150px); }
	.tv-mega__backdrop { top: 0; }
	.tv-mega__panel { inset: 0 auto auto 50%; transform: translateX(-50%); width: min(1168px, calc(100vw - 32px)); height: min(560px, calc(100vh - var(--mega-top, 150px) - 16px)); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-2); }
	.tv-mega__top { display: none; }
	.tv-mega__body { grid-template-columns: 240px 1fr; }
	.tv-mega__roots { padding: 8px 0; }
	.tv-mega__roots button { flex-direction: row; text-align: left; font-size: 14px; padding: 8px 14px; gap: 10px; }
	.tv-mega__ico { width: 32px; height: 32px; }
	.tv-mega__panes { padding: 20px 24px; }
	.tv-mega__grid { grid-template-columns: repeat(6, 1fr); gap: 16px 12px; }
	.tv-mega__thumb { width: 72px; height: 72px; }
	.tv-mega__needs > span { width: auto; margin-right: 4px; }

	.tv-slider__nav { display: grid; opacity: .85; transition: opacity .2s, background .2s; width: 40px; height: 40px; border-radius: 50% !important; background: rgba(252,252,252,.85); color: var(--tv-ink); box-shadow: var(--sh-1); }
	.tv-slider__nav--prev { left: 12px; } .tv-slider__nav--next { right: 12px; }
	.tv-slider__nav:hover { background: var(--tv-white); color: var(--tv-blue-dark); }
	.tv-slider:hover .tv-slider__nav { opacity: 1; }
	.tv-slider__dots { bottom: 12px; }
	.tv-promos { gap: 12px; margin-top: 12px; }
	.tv-promos .tv-side-banner { aspect-ratio: 3 / 1; }
	.tv-side-banner { height: 100%; }
	.tv-rail__nav { display: grid; }
	.tv-brands__grid { grid-template-columns: repeat(4, 1fr); }
	.tv-posts { grid-template-columns: repeat(4, minmax(0,1fr)); }
	.tv-posts--list { grid-template-columns: repeat(3, minmax(0,1fr)); }
	body.tv-has-buybar { padding-bottom: 0; }
	body.tv-has-buybar .tv-tabbar { display: grid; }
	.tv-buybar { display: none; }
	.tv-feed__title { position: static; }
	.tv-tickets { grid-template-columns: repeat(3, 1fr); }
	.tv-ostat { grid-template-columns: repeat(4, 1fr); }
	.tv-auth { grid-template-columns: 1fr 1fr; align-items: center; padding: 24px 0; }
	.tv-auth__art { display: block; padding: 24px; color: var(--tv-blue-900); }
	.tv-auth__art.has-img { background: linear-gradient(180deg, rgba(252,252,252,.92), rgba(252,252,252,.6) 55%, rgba(252,252,252,0)), var(--auth-img) center / cover no-repeat; border-radius: var(--r-lg); min-height: 420px; }
	.tv-auth__art h2 { font-size: 26px; margin: 12px 0 16px; }
	.tv-auth__art li { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
	.tv-auth__art .tv-i { color: var(--tv-blue-700); }
	.tv-auth__ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--tv-btn); color: var(--tv-white); }
	.tv-consult { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
	.tv-article__body.has-toc { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
	.tv-toc { position: sticky; top: calc(var(--header-h) + 12px); margin: 0; }
}

/* ==========================================================================
   ≥ 1024px (máy tính)
   ========================================================================== */
@media (min-width: 1024px) {
	body { padding-bottom: 0; }
	.tv-head__title { font-size: 24px; }
	.tv-tabbar, body.tv-has-buybar .tv-tabbar { display: none; }
	.tv-fab { position: fixed; right: 20px; bottom: 20px; z-index: 65; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: var(--r-pill); background: var(--tv-cta); color: var(--tv-white); box-shadow: var(--sh-2); text-align: left; }
	.tv-fab:hover { background: var(--tv-cta-hover); }
	.tv-fab .tv-i { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.18); }
	.tv-fab b { display: block; font-size: 14px; }
	.tv-fab small { display: block; font-size: 11px; opacity: .85; }
	.tv-toasts { bottom: 90px; }
	.tv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tv-grid--feed, .tv-grid--top { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.tv-rail__track--cards > .tv-card { width: calc((100% - 50px) / 6); max-width: none; }
	.tv-slide__title { font-size: 40px; }
	.tv-slide__text { padding: 24px 32px 24px 72px; }
	.tv-quick ul { grid-template-columns: repeat(10, 1fr); }
	.tv-cats__grid { grid-auto-columns: 10%; }
	.tv-brands__grid { grid-template-columns: repeat(6, 1fr); }
	.tv-catalog__layout { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; }
	.tv-filter { position: sticky; top: calc(var(--header-h) + 12px); inset: auto; width: auto; transform: none; visibility: visible; border-radius: var(--r-md); max-height: calc(100vh - var(--header-h) - 24px); z-index: 1; }
	.tv-filter__top button, .tv-filter__foot { display: none; }
	.tv-filter-backdrop { display: none !important; }
	.tv-sortbar { position: static; padding: 10px 14px; gap: 10px; }
	.tv-sortbar__label, .tv-sortbar__count { display: inline; color: var(--tv-ink-2); font-size: 13px; white-space: nowrap; }
	.tv-sortbar__count { margin-left: auto; }
	.tv-sortbar__opts { flex: none; }
	.tv-sortbar__filter { display: none; }
	.tv-cart__layout, .tv-checkout__layout { grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
	.tv-cart__side { display: block; position: sticky; top: calc(var(--header-h) + 12px); }
	.tv-cart__side .tv-block, .tv-checkout__side .tv-block { margin-top: 0; }
	.tv-checkout__side { position: sticky; top: calc(var(--header-h) + 12px); }
	.tv-checkout .tv-summary { position: static; box-shadow: none; }
	.tv-cartbar { display: none; }
	.tv-cart__head { display: grid; grid-template-columns: 1fr 140px 130px 130px 70px; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 8px; font-size: 13px; color: var(--tv-ink-2); }
	.tv-cline { grid-template-columns: 24px 80px 1fr 140px 130px 130px 70px; align-items: center; gap: 12px; padding: 16px; }
	.tv-cline__bottom { display: contents; }
	.tv-cline__total { display: block; }
	.tv-account { grid-template-columns: 240px 1fr; gap: 16px; align-items: start; padding-top: 12px; }
	.tv-account__nav { position: sticky; top: calc(var(--header-h) + 12px); border-radius: var(--r-md); }
	.tv-account__nav ul { flex-direction: column; overflow: visible; }
	.tv-account__nav a { background: none; border-radius: var(--r-sm); width: 100%; }
	.tv-account__nav a:hover { background: var(--tv-blue-50); }
	.tv-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 32px; padding-bottom: 24px; }
	.tv-footer__col { border: 0; }
	.tv-footer__col summary { pointer-events: none; padding-top: 0; }
	.tv-footer__col summary .tv-i { display: none; }
	.tv-footer__bottom .tv-container { display: flex; justify-content: space-between; gap: 16px; }
	.tv-posts--list { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (min-width: 1200px) {
	.tv-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tv-grid--feed { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* In */
@media print {
	.tv-topbar, .tv-header, .tv-navbar, .tv-footer, .tv-tabbar, .tv-fab, .tv-buybar, .tv-cartbar { display: none !important; }
	body { background: var(--tv-white); padding: 0; }
}

/* ==========================================================================
   Trang chủ kiểu sàn TMĐT (bản 2.2) – tham chiếu Hasaki/Lam Thảo, theo Brand Guideline TVHK
   ========================================================================== */

/* Dải khuyến mãi trên cùng */
.tv-promobar { background: var(--tv-promobar, linear-gradient(90deg, var(--tv-blue-dark), var(--tv-blue) 60%, var(--tv-blue-light))); color: var(--tv-white); font-size: 12px; }
.tv-promobar a { color: inherit; }
.tv-promobar__in { display: flex; align-items: center; justify-content: center; gap: 8px 12px; min-height: 34px; padding: 4px 12px; text-align: center; flex-wrap: wrap; }
.tv-promobar__text { font-weight: 700; letter-spacing: .01em; }
.tv-promobar__code { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--tv-white); color: var(--tv-blue-dark); font-weight: 800; letter-spacing: .04em; }
.tv-promobar__go { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.tv-promobar--img { background: var(--tv-pastel); line-height: 0; }
.tv-promobar--img img { width: 100%; height: auto; max-height: 64px; object-fit: cover; }
@media (max-width: 1023px) { .tv-has-promobar .tv-topbar { display: none; } }

/* Tiêu đề khối căn giữa */
.tv-headc { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; margin-bottom: 14px; }
.tv-headc__title { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--tv-ink); }
.tv-headc__deco { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tv-pastel); color: var(--tv-blue); }
.tv-headc__deco--r { transform: scaleX(-1); }
.tv-headc__sub { margin: 0; font-size: 13px; color: var(--tv-ink-2); }
.tv-headc__more { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--tv-pastel); color: var(--tv-blue-dark); font-size: 12px; font-weight: 700; }
.tv-headc__more:hover { background: var(--tv-blue); color: var(--tv-white); }
.tv-tabs--center { justify-content: flex-start; }

/* 3 banner khuyến mãi */
.tv-promos3 { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 8px -12px 0; padding: 0 12px; }
.tv-promos3::-webkit-scrollbar { display: none; }
.tv-promos3__item { flex: 0 0 78%; scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 8 / 3; background: var(--tv-pastel); box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s; }
.tv-promos3__item img { width: 100%; height: 100%; object-fit: cover; }
.tv-promos3__item:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(22,116,184,.18); }

/* Flash sale khung nổi bật */
.tv-flashbox { margin: 8px -12px; padding: 12px 12px 14px; background: linear-gradient(135deg, var(--tv-blue-dark) 0%, var(--tv-blue) 55%, var(--tv-blue-light) 100%); position: relative; overflow: hidden; }
.tv-flashbox::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(252,252,252,.12); }
.tv-flashbox__head { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; color: var(--tv-white); }
.tv-flashbox__title { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 24px; font-weight: 800; font-style: italic; letter-spacing: .01em; color: var(--tv-white); }
.tv-flashbox__title .tv-i { fill: #FFE27A; stroke: #FFE27A; }
.tv-flashbox__timer { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.tv-flashbox__timer .tv-count b { background: var(--tv-white); color: var(--tv-ink); }
.tv-flashbox__timer .tv-count i { color: var(--tv-white); }
.tv-flashbox__more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(252,252,252,.18); color: var(--tv-white); font-size: 12px; font-weight: 700; }
.tv-flashbox__more:hover { background: var(--tv-white); color: var(--tv-blue-dark); }
.tv-flashbox .tv-card { border-color: transparent; }
.tv-flashbox .tv-rail__nav { background: var(--tv-white); }

/* Thẻ sản phẩm kiểu sàn */
.tv-card__body { padding: 8px 8px 12px; gap: 3px; }
.tv-card__price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.tv-card .tv-price { padding-right: 40px; }
.tv-card .tv-price__now { font-size: 16px; font-weight: 800; }
.tv-card__add { position: absolute; right: 8px; bottom: 10px; margin: 0; width: 34px; height: 34px; min-height: 0; padding: 0; border-radius: 50%; background: var(--tv-pastel); color: var(--tv-blue-dark); display: grid; place-items: center; font-size: 0; transition: background .15s, color .15s, transform .15s; z-index: 2; }
.tv-card__add:hover { background: var(--tv-cta); color: var(--tv-white); transform: scale(1.06); }
.tv-card__add .tv-i { width: 18px; height: 18px; }
.tv-card__plus { position: absolute; top: -3px; right: -3px; width: 15px; height: 15px; border-radius: 50%; background: var(--tv-cta); color: var(--tv-white); font: 800 12px/15px var(--font); text-align: center; box-shadow: 0 0 0 2px var(--tv-white); }
.tv-card--flash .tv-card__add, .tv-grid--top .tv-card__add { display: grid; }
.tv-card--flash .tv-card__add { bottom: 36px; }
.tv-card__stickers { position: absolute; left: 6px; bottom: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.tv-sticker { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: var(--r-pill); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 1px 3px rgba(4,4,4,.12); }
.tv-sticker--ship { background: var(--tv-blue); color: var(--tv-white); }
.tv-sticker--gift { background: var(--tv-pink); color: var(--tv-ink); }
.tv-sticker--gift .tv-i { color: var(--tv-blue-dark); }
.tv-card__disc { background: var(--tv-pink); font-weight: 800; }
.tv-card--compact .tv-card__tags, .tv-card--compact .tv-card__meta, .tv-card--compact .tv-card__stickers, .tv-card--compact .tv-card__fav { display: none; }
.tv-card--compact .tv-card__name { font-size: 13px; }
.tv-card--compact .tv-price__now { font-size: 14px; }
.tv-card--compact .tv-price__old { display: block; margin: 0; }
.tv-card--compact .tv-card__add { width: 28px; height: 28px; right: 6px; bottom: 8px; }
.tv-card--compact .tv-card__add .tv-i { width: 15px; height: 15px; }
.tv-card--compact .tv-card__plus { width: 13px; height: 13px; font-size: 10px; line-height: 13px; }

/* TVHK có gì hot */
.tv-hot__grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }
.tv-hot__banner { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 20 / 7; background: var(--tv-pastel); }
.tv-hot__banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tv-hot__banner:hover img { transform: scale(1.02); }
.tv-hot__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 10px 0 8px; }
.tv-hot__meta h3 { margin: 0; font-size: 15px; font-weight: 700; }
.tv-hot__meta a { display: inline-flex; align-items: center; flex: none; color: var(--tv-link); font-size: 13px; font-weight: 600; }
.tv-hot__products { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 8px; overflow-x: auto; scrollbar-width: none; }

/* Top bán chạy có banner dọc */
.tv-top__body { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.tv-top__tall { display: none; align-self: start; position: sticky; top: calc(var(--header-h) + 12px); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 5; background: var(--tv-blue-light); }
.tv-no-sticky .tv-top__tall { top: 12px; }
.tv-top__tall img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Thương hiệu nổi bật dạng ảnh */
.tv-brandwall__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.tv-bcard { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; background: var(--tv-pastel); border: 1px solid var(--tv-line); }
.tv-bcard__img { position: absolute; inset: 0; }
.tv-bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tv-bcard:hover .tv-bcard__img img { transform: scale(1.04); }
.tv-bcard__deal { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--tv-pink); color: var(--tv-ink); font-size: 11px; font-weight: 800; }
.tv-bcard__plate { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 7px 8px; border-radius: var(--r-sm); background: rgba(252,252,252,.94); box-shadow: 0 2px 10px rgba(4,4,4,.1); text-align: center; }
.tv-bcard__name { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--tv-ink); line-height: 1.2; }
.tv-bcard__logo { max-height: 28px; width: auto; }
.tv-bcard__plate small { font-size: 11px; color: var(--tv-ink-2); }
.tv-bcard--big .tv-bcard__name { font-size: 16px; }

/* Cam kết + hotline */
.tv-service { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.tv-service__trust { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.tv-service__trust li { display: flex; align-items: center; gap: 10px; }
.tv-service__ico { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-pastel); color: var(--tv-blue); border: 2px solid var(--tv-blue-light); }
.tv-service__trust b { display: block; font-size: 13px; }
.tv-service__trust small { display: block; font-size: 12px; color: var(--tv-ink-2); }
.tv-service__cta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.tv-service__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 6px; border-radius: var(--r-md); border: 1px solid var(--tv-blue); color: var(--tv-blue-dark); text-align: center; }
.tv-service__btn small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.tv-service__btn b { font-size: 15px; }
.tv-service__btn--call { background: var(--tv-btn); border-color: var(--tv-btn); color: var(--tv-white); }
.tv-service__btn--call:hover { color: var(--tv-white); background: var(--tv-cta); }
.tv-service__btn--pink { background: var(--tv-pink); border-color: var(--tv-pink); color: var(--tv-ink); }

/* Chân trang mở rộng */
.tv-footer__seo { border-top: 1px solid var(--tv-line); }
.tv-footer__seo .tv-container { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.tv-footer__seo h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px; }
.tv-footer__about { font-size: 13px; color: var(--tv-ink-2); line-height: 1.6; }
.tv-footer__about p { margin: 0 0 8px; }
.tv-footer__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tv-footer__tags a { padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--tv-line); font-size: 12px; color: var(--tv-ink-2); }
.tv-footer__tags a:hover { border-color: var(--tv-blue); color: var(--tv-blue-dark); }
.tv-footer__cats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 18px; font-size: 12px; }
.tv-footer__cats b { display: block; margin-bottom: 4px; font-size: 12px; }
.tv-footer__cats a { color: var(--tv-ink-2); }
.tv-footer__cats a:hover { color: var(--tv-blue-dark); }
.tv-footer__cats span + span::before { content: ' | '; color: var(--tv-gray); }

@media (min-width: 640px) {
	.tv-headc__title { font-size: 22px; }
	.tv-headc__more { position: absolute; right: 0; top: 2px; margin: 0; }
	.tv-tabs--center { justify-content: center; }
	.tv-promos3 { margin: 12px 0 0; padding: 0; }
	.tv-promos3__item { flex: 1 1 0; }
	.tv-flashbox { margin: 12px 0; border-radius: var(--r-lg); padding: 16px 18px 18px; }
	.tv-hot__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
	.tv-brandwall__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
	.tv-brandwall__grid .tv-bcard--big { grid-column: span 2; grid-row: span 2; }
	.tv-service__trust { grid-template-columns: repeat(4, minmax(0,1fr)); }
	.tv-footer__cats { grid-template-columns: repeat(4, minmax(0,1fr)); }
	.tv-promobar { font-size: 13px; }
}
@media (min-width: 1024px) {
	.tv-flashbox__title { font-size: 30px; }
	.tv-top.has-tall .tv-top__body { grid-template-columns: 250px minmax(0,1fr); }
	.tv-top__tall { display: block; }
	.tv-top.has-tall .tv-grid--top { grid-template-columns: repeat(4, minmax(0,1fr)); }
	.tv-brandwall__grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
	.tv-service { grid-template-columns: minmax(0,1fr) 480px; align-items: center; }
	.tv-footer__seo .tv-container { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
	.tv-footer__seo .tv-footer__catsbox { grid-column: 1 / -1; }
}
.tv-card__meta { padding-right: 40px; }
.tv-cats__grid li a { transition: background .15s; }
.tv-cats__img { background: var(--tv-pastel); border-radius: 50%; }
