/* =========================================================
   TaroSports v2 - Hệ thiết kế chung
   Màu chính #071D49 / #0A3FA5 · Màu nhấn #E30613 · Viền #DCE4EE
   Card bo 12px · Hệ khoảng cách 8px · Font Roboto
   ========================================================= */
:root
{
	--tr-navy: #071D49;
	--tr-blue: #0A3FA5;
	--tr-blue-50: #EEF3FC;
	--tr-red: #E30613;
	--tr-red-600: #C10510;
	--tr-red-50: #FDECEC;
	--tr-green: #0F8A4B;
	--tr-green-50: #E9F7EF;
	--tr-orange: #F08C00;
	--tr-line: #DCE4EE;
	--tr-bg: #FFFFFF;
	--tr-bg-soft: #F5F8FC;
	--tr-text: #14213D;
	--tr-muted: #5B6B84;
	--tr-star: #F5A623;
	--tr-radius: 12px;
	--tr-radius-sm: 8px;
	--tr-shadow: 0 1px 2px rgba(7, 29, 73, .06), 0 2px 8px rgba(7, 29, 73, .04);
	--tr-shadow-hover: 0 14px 32px rgba(7, 29, 73, .16);
	--tr-font: 'Roboto', 'Segoe UI', Arial, sans-serif;
	--tr-container: 1240px;
	--tr-header-h: 64px;
}

*,
*::before,
*::after
{
	box-sizing: border-box;
}

html
{
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.tr-body
{
	margin: 0;
	font-family: var(--tr-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--tr-text);
	background: var(--tr-bg);
	-webkit-font-smoothing: antialiased;
}

.tr-body img
{
	max-width: 100%;
	height: auto;
	display: block;
}

.tr-body a
{
	color: inherit;
	text-decoration: none;
}

.tr-body a:hover
{
	color: var(--tr-blue);
}

.tr-body button,
.tr-body input,
.tr-body select,
.tr-body textarea
{
	font: inherit;
	color: inherit;
}

.tr-body h1,
.tr-body h2,
.tr-body h3,
.tr-body h4
{
	margin: 0;
	line-height: 1.25;
	font-weight: 700;
}

.tr-body p
{
	margin: 0 0 8px;
}

.tr-body :focus-visible
{
	outline: 3px solid rgba(10, 63, 165, .45);
	outline-offset: 2px;
	border-radius: 4px;
}

.tr-sr
{
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.tr-container
{
	width: 100%;
	max-width: var(--tr-container);
	margin: 0 auto;
	padding: 0 16px;
}

.tr-i
{
	width: 20px;
	height: 20px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
}

.tr-i--fill
{
	fill: currentColor;
	stroke: none;
}

/* ---------- Khoảng cách section: 40–64px ---------- */
.tr-section
{
	padding: 48px 0 0;
}

.tr-section--tight
{
	padding-top: 32px;
}

.tr-section--soft
{
	background: var(--tr-bg-soft);
	padding: 48px 0;
	margin-top: 48px;
}

.tr-sec-head
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	padding: 10px 20px;
	border-radius: var(--tr-radius);
	background: var(--tr-navy);
}

.tr-sec-title
{
	font-size: 28px;
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .01em;
}

.tr-sec-head .tr-sec-sub
{
	color: #C6D2EA;
}

.tr-sec-sub
{
	color: var(--tr-muted);
	margin-top: 4px;
	font-size: 15px;
}

.tr-link-more
{
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	font-weight: 600;
	color: var(--tr-navy);
	white-space: nowrap;
}

.tr-link-more .tr-i
{
	width: 16px;
	height: 16px;
	transition: transform .2s;
}

.tr-link-more:hover .tr-i
{
	transform: translateX(3px);
}

/* ---------- Nút ---------- */
.tr-btn
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--tr-radius-sm);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
	background: none;
	transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
	white-space: nowrap;
}

.tr-btn .tr-i
{
	width: 18px;
	height: 18px;
}

.tr-btn--red
{
	background: var(--tr-red);
	color: #fff !important;
}

.tr-btn--red:hover
{
	background: var(--tr-red-600);
	box-shadow: 0 6px 16px rgba(227, 6, 19, .28);
}

.tr-btn--navy
{
	background: var(--tr-navy);
	color: #fff !important;
}

.tr-btn--navy:hover
{
	background: var(--tr-blue);
}

.tr-btn--outline
{
	border-color: var(--tr-red);
	color: var(--tr-red) !important;
	background: #fff;
}

.tr-btn--outline:hover
{
	background: var(--tr-red-50);
}

.tr-btn--ghost
{
	border-color: var(--tr-line);
	color: var(--tr-navy) !important;
	background: #fff;
}

.tr-btn--ghost:hover
{
	border-color: var(--tr-navy);
}

.tr-btn--block
{
	width: 100%;
}

.tr-btn--sm
{
	min-height: 36px;
	padding: 6px 14px;
	font-size: 13px;
}

.tr-btn[disabled]
{
	opacity: .5;
	cursor: not-allowed;
}

/* ---------- Nhãn ---------- */
.tr-badge
{
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	color: #fff;
	background: var(--tr-navy);
}

.tr-badge--red
{
	background: var(--tr-red);
}

.tr-badge--blue
{
	background: var(--tr-blue);
}

/* Nhãn sản phẩm hết hàng (khi bật kiểm tra tồn kho) */
.tr-badge--lien-he
{
	background: #5A6A82;
}

.tr-badge--soft
{
	background: var(--tr-blue-50);
	color: var(--tr-navy);
}

/* ---------- Lưới ---------- */
.tr-grid
{
	display: grid;
	gap: 16px;
}

.tr-grid--4
{
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tr-grid--3
{
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tr-grid--5
{
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* ---------- Card chung: viền mảnh, bóng nhẹ, hover nâng 6px ---------- */
.tr-card
{
	position: relative;
	background: #fff;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius);
	box-shadow: var(--tr-shadow);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tr-hover:hover,
.tr-hover:focus-within
{
	transform: translateY(-6px);
	box-shadow: var(--tr-shadow-hover);
	border-color: var(--tr-navy);
	z-index: 2;
}

.tr-hover .tr-zoom
{
	overflow: hidden;
}

.tr-hover .tr-zoom img
{
	transition: transform .4s ease;
}

.tr-hover:hover .tr-zoom img
{
	transform: scale(1.04);
}

/* ---------- Card sản phẩm ---------- */
.tr-sp
{
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px;
}

.tr-sp__img
{
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--tr-radius-sm);
	background: #fff;
	overflow: hidden;
}

.tr-sp__img img
{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tr-sp__badges
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	gap: 4px;
	pointer-events: none;
	z-index: 1;
}

.tr-sp__badges-left
{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.tr-sp__body
{
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-top: 12px;
}

.tr-sp__name
{
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	min-height: 2.7em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--tr-text);
}

.tr-sp__rate
{
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 13px;
	color: var(--tr-muted);
	min-height: 18px;
}

.tr-sp__foot
{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
}

.tr-price
{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
}

.tr-price__now
{
	font-size: 18px;
	font-weight: 800;
	color: var(--tr-red);
}

.tr-price__old
{
	font-size: 13px;
	color: var(--tr-muted);
	text-decoration: line-through;
}

.tr-price__lh
{
	font-size: 15px;
	font-weight: 700;
	color: var(--tr-navy);
}

.tr-sp__cart
{
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius-sm);
	background: #fff;
	color: var(--tr-navy);
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}

.tr-sp__cart:hover
{
	background: var(--tr-red);
	border-color: var(--tr-red);
	color: #fff;
}

.tr-sp__cta
{
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .25s, transform .25s;
	pointer-events: none;
}

.tr-hover:hover .tr-sp__cta,
.tr-hover:focus-within .tr-sp__cta
{
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

/* ---------- Sao đánh giá ---------- */
.tr-stars
{
	position: relative;
	display: inline-block;
	width: 80px;
	height: 16px;
	flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16'%3E%3Cg fill='%23D5DCE6'%3E%3Cpath id='s' d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
}

.tr-stars > span
{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	overflow: hidden;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16'%3E%3Cg fill='%23F5A623'%3E%3Cpath id='s' d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
	background-size: 80px 16px;
}

/* ---------- Card tin tức ---------- */
.tr-tin
{
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.tr-tin__img
{
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--tr-bg-soft);
}

.tr-tin__img img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tr-tin__cat
{
	position: absolute;
	top: 12px;
	left: 12px;
}

.tr-tin__body
{
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 20px 20px;
}

.tr-tin__date
{
	font-size: 13px;
	color: var(--tr-muted);
	margin-bottom: 6px;
}

.tr-tin__title
{
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--tr-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tr-tin__intro
{
	margin-top: 8px;
	font-size: 14px;
	color: var(--tr-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tr-tin__more
{
	margin-top: auto;
	padding-top: 12px;
}

.tr-tin__link
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--tr-navy);
}

.tr-tin__btn
{
	display: none;
}

.tr-tin.tr-hover:hover .tr-tin__link,
.tr-tin.tr-hover:focus-within .tr-tin__link
{
	display: none;
}

.tr-tin.tr-hover:hover .tr-tin__btn,
.tr-tin.tr-hover:focus-within .tr-tin__btn
{
	display: flex;
}

/* ---------- Thanh ưu đãi ---------- */
.tr-topbar
{
	background: var(--tr-red);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.tr-topbar .tr-container
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 36px;
}

.tr-topbar .tr-i
{
	width: 18px;
	height: 18px;
}

/* ---------- Header tầng 1 ---------- */
.tr-header
{
	background: #fff;
	border-bottom: 1px solid var(--tr-line);
}

.tr-header__main
{
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 84px;
}

.tr-logo
{
	flex: none;
	display: block;
	width: 170px;
}

.tr-logo img
{
	width: 100%;
	height: auto;
}

.tr-search
{
	position: relative;
	flex: 1;
	max-width: 520px;
}

.tr-search input
{
	width: 100%;
	height: 46px;
	padding: 0 52px 0 20px;
	border: 1px solid var(--tr-line);
	border-radius: 999px;
	background: var(--tr-bg-soft);
	outline: none;
	transition: border-color .2s, background .2s;
}

.tr-search input:focus
{
	border-color: var(--tr-blue);
	background: #fff;
}

.tr-search button
{
	position: absolute;
	top: 1px;
	right: 1px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--tr-navy);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tr-search__suggest
{
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 60;
	background: #fff;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius);
	box-shadow: var(--tr-shadow-hover);
	max-height: 420px;
	overflow: auto;
	display: none;
}

.tr-search__suggest.is-open
{
	display: block;
}

.tr-search__item
{
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-bottom: 1px solid var(--tr-line);
}

.tr-search__item:last-child
{
	border-bottom: 0;
}

.tr-search__item img
{
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 6px;
}

.tr-search__item b
{
	display: block;
	font-size: 14px;
	font-weight: 600;
}

.tr-search__item span
{
	font-size: 13px;
	color: var(--tr-red);
	font-weight: 700;
}

.tr-actions
{
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.tr-action
{
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 4px 8px;
	border-radius: var(--tr-radius-sm);
	font-size: 13px;
	line-height: 1.25;
	color: var(--tr-text);
}

.tr-action:hover
{
	background: var(--tr-bg-soft);
}

.tr-action .tr-i
{
	width: 24px;
	height: 24px;
	color: var(--tr-navy);
}

.tr-action b
{
	display: block;
	font-weight: 700;
}

.tr-cart-btn
{
	position: relative;
}

.tr-cart-count
{
	position: absolute;
	top: 0;
	right: -2px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--tr-red);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}

.tr-burger
{
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: var(--tr-navy);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.tr-burger .tr-i
{
	width: 26px;
	height: 26px;
}

/* ---------- Header tầng 2 (sticky) ---------- */
.tr-nav
{
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--tr-navy);
	border-bottom: 1px solid var(--tr-navy);
	transition: box-shadow .2s;
}

.tr-nav.is-stuck
{
	box-shadow: 0 6px 18px rgba(7, 29, 73, .08);
}

.tr-nav__list
{
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tr-nav__item
{
	position: relative;
}

.tr-nav__link
{
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 52px;
	padding: 0 14px;
	font-weight: 600;
	font-size: 16px;
	color: #fff;
	white-space: nowrap;
}

.tr-nav__link::after
{
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: #fff;
	transform: scaleX(0);
	transition: transform .2s;
}

.tr-nav__item:hover > .tr-nav__link::after,
.tr-nav__item.is-active > .tr-nav__link::after
{
	transform: scaleX(1);
}

.tr-nav__item.is-active > .tr-nav__link
{
	color: #fff;
	font-weight: 800;
}

.tr-nav__item--sale > .tr-nav__link
{
	color: #FF5A64 !important;
	font-weight: 800;
}

.tr-nav__item--sale > .tr-nav__link::after
{
	background: #FF5A64;
}

.tr-body .tr-nav__link,
.tr-body .tr-nav__link:hover
{
	color: #fff;
}

.tr-body .tr-sec-head .tr-link-more,
.tr-body .tr-sec-head .tr-link-more:hover
{
	color: #fff;
}

.tr-nav__link .tr-i
{
	width: 14px;
	height: 14px;
}

.tr-drop
{
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	padding: 8px;
	margin: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius);
	box-shadow: var(--tr-shadow-hover);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}

.tr-nav__item:hover > .tr-drop,
.tr-nav__item:focus-within > .tr-drop
{
	opacity: 1;
	visibility: visible;
	transform: none;
}

.tr-drop--cot
{
	column-count: 2;
	column-gap: 8px;
	min-width: 460px;
}

.tr-drop--cot li
{
	break-inside: avoid;
}

.tr-drop a
{
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 15px;
}

.tr-drop a:hover
{
	background: var(--tr-bg-soft);
	color: var(--tr-navy);
}

/* ---------- Menu mobile ---------- */
.tr-drawer
{
	position: fixed;
	inset: 0;
	z-index: 200;
	visibility: hidden;
}

.tr-drawer.is-open
{
	visibility: visible;
}

.tr-drawer__bg
{
	position: absolute;
	inset: 0;
	background: rgba(7, 29, 73, .5);
	opacity: 0;
	transition: opacity .25s;
}

.tr-drawer.is-open .tr-drawer__bg
{
	opacity: 1;
}

.tr-drawer__panel
{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: min(86vw, 340px);
	background: #fff;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform .25s;
	display: flex;
	flex-direction: column;
}

.tr-drawer--right .tr-drawer__panel
{
	left: auto;
	right: 0;
	transform: translateX(100%);
}

.tr-drawer.is-open .tr-drawer__panel
{
	transform: none;
}

.tr-drawer__head
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid var(--tr-line);
	font-weight: 800;
	color: var(--tr-navy);
	text-transform: uppercase;
}

.tr-drawer__close
{
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tr-navy);
}

.tr-mnav
{
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.tr-mnav a,
.tr-mnav summary
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding: 0 16px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.tr-mnav summary::-webkit-details-marker
{
	display: none;
}

.tr-mnav ul
{
	list-style: none;
	margin: 0;
	padding: 0 0 8px 16px;
}

.tr-mnav ul a
{
	min-height: 40px;
	font-weight: 400;
	color: var(--tr-muted);
}

/* ---------- Đường dẫn ---------- */
.tr-breadcrumb
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	padding: 16px 0;
	margin: 0;
	list-style: none;
	font-size: 14px;
	color: var(--tr-muted);
}

.tr-breadcrumb li
{
	display: flex;
	align-items: center;
	gap: 8px;
}

.tr-breadcrumb li + li::before
{
	content: '/';
	color: #A9B5C6;
}

.tr-breadcrumb a:hover
{
	color: var(--tr-navy);
}

.tr-breadcrumb li:last-child
{
	color: var(--tr-navy);
	font-weight: 600;
}

/* ---------- Dải cam kết ---------- */
.tr-commit
{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: #fff;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius);
	box-shadow: var(--tr-shadow);
}

.tr-commit__item
{
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
}

.tr-commit__item + .tr-commit__item
{
	border-left: 1px solid var(--tr-line);
}

.tr-commit__item .tr-i
{
	width: 38px;
	height: 38px;
	color: var(--tr-navy);
	stroke-width: 1.5;
}

.tr-commit__item b
{
	display: block;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--tr-navy);
}

.tr-commit__item span
{
	font-size: 13px;
	color: var(--tr-muted);
}

/* ---------- Phân trang ---------- */
.tr-pages
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.tr-pages a,
.tr-pages span
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius-sm);
	background: #fff;
	font-weight: 600;
}

.tr-pages a:hover
{
	border-color: var(--tr-navy);
	color: var(--tr-navy);
}

.tr-pages .is-active
{
	background: var(--tr-navy);
	border-color: var(--tr-navy);
	color: #fff;
}

.tr-pages .is-dots
{
	border: 0;
	background: none;
}

/* ---------- Footer tầng sáng ---------- */
.tr-footer
{
	margin-top: 64px;
}

.tr-footer__light
{
	background: #fff;
	border-top: 1px solid var(--tr-line);
}

.tr-footer__light-grid
{
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 32px;
	padding: 28px 0;
}

.tr-footer__light-grid > div:only-child
{
	grid-column: 1 / -1;
}

.tr-footer__light-grid > div:only-child .tr-bct
{
	justify-content: center;
}

.tr-footer__light-grid > div + div
{
	border-left: 1px solid var(--tr-line);
	padding-left: 32px;
}

.tr-footer__h
{
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--tr-navy);
	margin-bottom: 16px;
	text-align: center;
}

.tr-pay
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tr-pay li
{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 88px;
	font-size: 12px;
	text-align: center;
	color: var(--tr-muted);
}

.tr-pay__logo
{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 40px;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius-sm);
	background: #fff;
	color: var(--tr-navy);
	overflow: hidden;
}

.tr-pay__logo img
{
	max-width: 48px;
	max-height: 32px;
	object-fit: contain;
}

.tr-pay__logo .tr-i
{
	width: 24px;
	height: 24px;
}

.tr-bct
{
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 13px;
	color: var(--tr-muted);
}

.tr-bct__logo
{
	flex: none;
	display: block;
}

.tr-bct__logo img
{
	width: auto;
	height: 44px;
}

.tr-bct__seal
{
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
	padding: 8px 12px;
	border: 2px solid var(--tr-blue);
	border-radius: 999px;
	color: var(--tr-blue);
	font-weight: 800;
	font-size: 13px;
	line-height: 1.2;
	text-transform: uppercase;
}

.tr-bct__seal .tr-i
{
	width: 28px;
	height: 28px;
}

/* ---------- Footer tầng navy ---------- */
.tr-footer__dark
{
	background: var(--tr-navy);
	color: #D3DCEB;
	font-size: 14px;
}

.tr-footer__dark a:hover
{
	color: #fff;
}

.tr-footer__cols
{
	display: grid;
	grid-template-columns: 1.1fr 1.1fr 1fr;
	gap: 40px;
	padding: 40px 0 32px;
}

.tr-footer__cols > div + div
{
	border-left: 1px solid rgba(255, 255, 255, .12);
	padding-left: 40px;
}

.tr-footer__logo
{
	width: 150px;
	margin-bottom: 16px;
	filter: brightness(0) invert(1);
}

.tr-footer__dh
{
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 16px;
	letter-spacing: .02em;
}

.tr-footer__dh--mt
{
	margin-top: 24px;
}

.tr-social
{
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 16px;
}

.tr-social a
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
}

.tr-social .tr-i
{
	width: 20px;
	height: 20px;
}

.tr-contact
{
	list-style: none;
	margin: 0;
	padding: 0;
}

.tr-contact li
{
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.tr-contact .tr-i
{
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: #fff;
}

.tr-hotline
{
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	margin-bottom: 10px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--tr-radius-sm);
	background: rgba(255, 255, 255, .04);
}

.tr-hotline__ico
{
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tr-red);
	color: #fff;
}

.tr-hotline--bao-hanh .tr-hotline__ico
{
	background: var(--tr-blue);
}

.tr-hotline--khieu-nai .tr-hotline__ico
{
	background: var(--tr-orange);
}

.tr-hotline__ico .tr-i
{
	width: 18px;
	height: 18px;
}

.tr-hotline__txt
{
	flex: 1;
	min-width: 0;
	font-size: 12px;
}

.tr-hotline__txt b
{
	display: block;
	font-size: 14px;
	text-transform: uppercase;
	color: #fff;
}

.tr-hotline__so
{
	text-align: right;
	font-size: 12px;
}

.tr-hotline__so a
{
	display: block;
	font-size: 17px;
	font-weight: 800;
	color: #FF5A63;
}

.tr-hotline--bao-hanh .tr-hotline__so a
{
	color: #6FA3FF;
}

.tr-hotline--khieu-nai .tr-hotline__so a
{
	color: #FFB547;
}

.tr-policy-links
{
	list-style: none;
	margin: 0;
	padding: 0;
}

.tr-policy-links a
{
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
}

.tr-policy-links a .tr-i:last-child
{
	margin-left: auto;
	width: 14px;
	height: 14px;
	opacity: .6;
}

.tr-footer__copy
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 16px 0 24px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
	color: #A9B7CF;
}

.tr-footer__legal
{
	font-size: 12px;
	color: #8E9DB8;
	padding-bottom: 20px;
	line-height: 1.6;
}

/* ---------- Toast ---------- */
.tr-toast
{
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 300;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100vw - 32px);
	padding: 12px 18px;
	border-radius: var(--tr-radius-sm);
	background: var(--tr-navy);
	color: #fff;
	font-weight: 600;
	box-shadow: var(--tr-shadow-hover);
	transform: translate(-50%, 20px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s, transform .25s;
}

.tr-toast.is-show
{
	opacity: 1;
	transform: translate(-50%, 0);
	pointer-events: auto;
}

.tr-toast--loi
{
	background: var(--tr-red);
}

.tr-toast a
{
	color: #fff !important;
	text-decoration: underline;
}

/* ---------- Ô số lượng ---------- */
.tr-qty
{
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius-sm);
	overflow: hidden;
	background: #fff;
}

.tr-qty button
{
	width: 40px;
	height: 42px;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 18px;
	color: var(--tr-navy);
}

.tr-qty button:hover
{
	background: var(--tr-bg-soft);
}

.tr-qty input
{
	width: 52px;
	height: 42px;
	border: 0;
	border-left: 1px solid var(--tr-line);
	border-right: 1px solid var(--tr-line);
	text-align: center;
	font-weight: 700;
	-moz-appearance: textfield;
}

.tr-qty input::-webkit-outer-spin-button,
.tr-qty input::-webkit-inner-spin-button
{
	-webkit-appearance: none;
	margin: 0;
}

/* ---------- Form ---------- */
.tr-input,
.tr-select
{
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius-sm);
	background: #fff;
	outline: none;
	transition: border-color .2s;
}

.tr-input:focus,
.tr-select:focus
{
	border-color: var(--tr-blue);
}

.tr-empty
{
	padding: 40px 16px;
	text-align: center;
	color: var(--tr-muted);
	border: 1px dashed var(--tr-line);
	border-radius: var(--tr-radius);
}

/* Slider ngang dùng scroll-snap cho carousel card */
.tr-rail
{
	position: relative;
}

.tr-rail__track
{
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 64px) / 5);
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 8px 2px 16px;
	margin: -8px -2px 0;
}

.tr-rail__track::-webkit-scrollbar
{
	display: none;
}

.tr-rail__track > *
{
	scroll-snap-align: start;
}

.tr-rail__btn
{
	position: absolute;
	top: 40%;
	z-index: 5;
	width: 44px;
	height: 44px;
	border: 1px solid var(--tr-line);
	border-radius: 50%;
	background: #fff;
	color: var(--tr-navy);
	box-shadow: var(--tr-shadow);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.tr-rail__btn--prev
{
	left: -22px;
}

.tr-rail__btn--next
{
	right: -22px;
}

.tr-rail__btn[disabled]
{
	opacity: 0;
	pointer-events: none;
}

/* =========================================================
   Responsive: desktop 4 card/hàng; tablet 2–3; mobile 2
   ========================================================= */
@media (max-width: 1199px)
{
	.tr-nav__link
	{
		padding: 0 10px;
		font-size: 15px;
	}

	.tr-action span
	{
		display: none;
	}

	.tr-rail__track
	{
		grid-auto-columns: calc((100% - 48px) / 4);
	}
}

@media (max-width: 991px)
{
	.tr-grid--4,
	.tr-grid--5
	{
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tr-header__main
	{
		flex-wrap: wrap;
		gap: 8px 12px;
		min-height: 0;
		padding: 10px 0;
	}

	.tr-burger
	{
		display: inline-flex;
	}

	.tr-logo
	{
		width: 130px;
	}

	.tr-search
	{
		order: 5;
		flex-basis: 100%;
		max-width: none;
	}

	.tr-action--hide-md
	{
		display: none;
	}

	.tr-nav
	{
		display: none;
	}

	.tr-header
	{
		position: sticky;
		top: 0;
		z-index: 50;
	}

	.tr-commit
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tr-commit__item:nth-child(3)
	{
		border-left: 0;
	}

	.tr-commit__item:nth-child(n+3)
	{
		border-top: 1px solid var(--tr-line);
	}

	.tr-footer__cols
	{
		grid-template-columns: 1fr 1fr;
	}

	.tr-footer__cols > div:nth-child(3)
	{
		border-left: 0;
		padding-left: 0;
		grid-column: 1 / -1;
	}

	.tr-footer__light-grid
	{
		grid-template-columns: 1fr;
	}

	.tr-footer__light-grid > div + div
	{
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid var(--tr-line);
		padding-top: 24px;
	}

	.tr-rail__track
	{
		grid-auto-columns: calc((100% - 32px) / 3);
	}

	.tr-rail__btn
	{
		display: none;
	}
}

@media (max-width: 767px)
{
	body.tr-body
	{
		font-size: 15px;
	}

	.tr-section
	{
		padding-top: 40px;
	}

	.tr-sec-title
	{
		font-size: 22px;
	}

	.tr-sec-head
	{
		padding: 8px 14px;
		margin-bottom: 16px;
	}

	.tr-sec-head .tr-sec-title
	{
		font-size: 19px;
	}

	.tr-grid
	{
		gap: 12px;
	}

	.tr-grid--4,
	.tr-grid--5,
	.tr-grid--3
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tr-sp
	{
		padding: 8px;
	}

	.tr-sp__name
	{
		font-size: 14px;
	}

	.tr-price__now
	{
		font-size: 16px;
	}

	.tr-sp__cart
	{
		width: 40px;
		height: 40px;
	}

	.tr-topbar
	{
		font-size: 12px;
	}

	.tr-action--hide-sm
	{
		display: none;
	}

	.tr-commit__item
	{
		padding: 14px 12px;
		gap: 10px;
	}

	.tr-commit__item .tr-i
	{
		width: 30px;
		height: 30px;
	}

	.tr-footer__cols
	{
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.tr-footer__cols > div + div
	{
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid rgba(255, 255, 255, .12);
		padding-top: 24px;
	}

	.tr-bct
	{
		flex-direction: column;
		text-align: center;
	}

	.tr-rail__track
	{
		grid-auto-columns: calc((100% - 12px) / 2);
		gap: 12px;
	}

	.tr-hover:hover,
	.tr-hover:focus-within
	{
		transform: none;
	}
}

@media (max-width: 380px)
{
	.tr-grid--3.tr-grid--1-xs
	{
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce)
{
	*,
	*::before,
	*::after
	{
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Ngăn giỏ hàng (popup giỏ hàng hiện tại) ---------- */
.tr-mgio .tr-drawer__panel
{
	width: min(92vw, 420px);
}

.tr-mgio.is-loading .tr-mgio__list
{
	opacity: .5;
	pointer-events: none;
}

.tr-mgio__tb
{
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 16px 0;
	padding: 10px 12px;
	border-radius: var(--tr-radius-sm);
	background: var(--tr-green-50);
	color: var(--tr-green);
	font-weight: 600;
	font-size: 14px;
}

.tr-mgio__ship
{
	margin: 12px 16px 0;
	font-size: 14px;
	color: var(--tr-text);
}

.tr-mgio__bar
{
	height: 6px;
	margin-top: 6px;
	border-radius: 6px;
	background: var(--tr-line);
	overflow: hidden;
}

.tr-mgio__bar span
{
	display: block;
	height: 100%;
	background: var(--tr-red);
	transition: width .3s;
}

.tr-mgio__list
{
	flex: 1;
	overflow-y: auto;
	padding: 4px 16px;
	transition: opacity .2s;
}

.tr-mgio__item
{
	display: flex;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--tr-line);
}

.tr-mgio__img
{
	flex: none;
	width: 76px;
	height: 76px;
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius-sm);
	overflow: hidden;
	background: #fff;
}

.tr-mgio__img img
{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tr-mgio__info
{
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tr-mgio__ten
{
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tr-mgio__tt
{
	font-size: 13px;
	color: var(--tr-muted);
}

.tr-mgio__info .tr-badge
{
	align-self: flex-start;
}

.tr-mgio__gia b
{
	color: var(--tr-red);
	font-size: 15px;
}

.tr-mgio__gia s
{
	margin-left: 6px;
	font-size: 12px;
	color: var(--tr-muted);
}

.tr-mgio__duoi
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 2px;
}

.tr-qty--sm button
{
	width: 32px;
	height: 32px;
	font-size: 16px;
}

.tr-qty--sm input
{
	width: 40px;
	height: 32px;
}

.tr-mgio__xoa
{
	min-height: 32px;
	padding: 0 8px;
	border: 0;
	background: none;
	color: var(--tr-muted);
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.tr-mgio__xoa:hover
{
	color: var(--tr-red);
}

.tr-mgio__trong
{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 48px 0;
	color: var(--tr-muted);
	text-align: center;
}

.tr-mgio__trong .tr-i
{
	width: 48px;
	height: 48px;
}

.tr-mgio__foot
{
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 18px;
	border-top: 1px solid var(--tr-line);
	background: #fff;
}

.tr-mgio__tong
{
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 4px;
}

.tr-mgio__tong b
{
	font-size: 20px;
	color: var(--tr-red);
}

/* ---------- Tạm ngưng đặt hàng (cấu hình Bán hàng website) ---------- */
.tr-thong-bao-dh
{
	background: #FFF4E5;
	border-bottom: 1px solid #F5D7A8;
	color: #8A4B00;
	font-size: 14px;
	font-weight: 600;
}

.tr-thong-bao-dh .tr-container
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	text-align: center;
}

.tr-tam-dung
{
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
	padding: 10px 12px;
	border: 1px solid #F5D7A8;
	border-radius: var(--tr-radius-sm);
	background: #FFF4E5;
	color: #8A4B00;
	font-size: 14px;
	line-height: 1.45;
}

.tr-tam-dung .tr-i
{
	flex: none;
	margin-top: 1px;
}

/* ---------- Ô màu trên card sản phẩm ---------- */
.tr-sp__mau
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	min-height: 24px;
	margin-top: 8px;
}

.tr-sp__o
{
	display: block;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid var(--tr-line);
	box-shadow: inset 0 0 0 2px #fff;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}

.tr-sp__o:hover,
.tr-sp__o:focus-visible
{
	transform: scale(1.12);
	border-color: var(--tr-navy);
}

.tr-sp__o.is-chon
{
	border-color: var(--tr-navy);
	box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--tr-navy);
}

.tr-sp__mau-them
{
	font-size: 12px;
	font-weight: 600;
	color: var(--tr-muted);
}

.tr-sp__rate
{
	min-height: 0;
}
