/* =========================================================
   2D TỘC SHOP - Phần đầu trang (topbar + header + hero)
   ========================================================= */

/* Trang sản phẩm: ẩn SKU, dọn gọn phần Danh mục cho giống TMĐT VN */
.product_meta .sku_wrapper { display: none !important; }
.product_meta {
	font-size: 14px;
	color: var(--t2d-muted);
}
.product_meta > span { display: block; margin-bottom: 4px; }
.product_meta a {
	color: var(--t2d-blue);
	text-decoration: none;
	font-weight: 500;
}
.product_meta a:hover { text-decoration: underline; }

/* Nền trang trắng (bỏ xám) */
body { background-color: #fff; }

/* Dải breadcrumb xanh nhẹ, kéo dài hết chiều ngang — ngăn cách header với nội dung */
.ct-breadcrumbs,
.woocommerce-breadcrumb {
	background: #eef4fd;
	box-shadow: 0 0 0 100vmax #eef4fd;
	clip-path: inset(0 -100vmax);
	padding-top: 14px;
	padding-bottom: 14px;
	margin-top: 0;
	margin-bottom: 24px;
	font-size: 15px;
}
/* Bỏ khoảng trắng thừa giữa header và dải breadcrumb */
.single-product .ct-breadcrumbs,
.single-product .woocommerce-breadcrumb,
.woocommerce-page .ct-breadcrumbs { margin-top: 0 !important; }

/* Breadcrumb trang Cửa hàng (Shop): cách header vừa phải, kéo content lên gần */
.t2d-shop-bc { margin-top: 30px; margin-bottom: -26px; }
.t2d-shop-bc .ct-breadcrumbs { margin-top: 0 !important; margin-bottom: 0 !important; }

/* ====== Sidebar Cửa hàng — gọn gàng, quy củ ====== */

/* Tiêu đề sidebar + tiêu đề "Sản Phẩm" — cùng font/cỡ, có gạch chân xanh */
.woocommerce .widget .widget-title,
.woocommerce-page .widget .widget-title,
.woocommerce .widget > h2,
.woocommerce-page .widget > h2,
.woocommerce .wp-block-heading,
.woocommerce-page .wp-block-heading,
.post-type-archive-product .page-title,
.tax-product_cat .page-title,
.tax-product_tag .page-title {
	font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: var(--t2d-text) !important;
	padding-bottom: 10px;
	margin: 0 0 14px !important;
	border-bottom: 2px solid var(--t2d-blue);
}

/* Trang Cửa hàng: bỏ khoảng trống trên tiêu đề (thẳng hàng với sidebar) */
.post-type-archive-product .page-title,
.tax-product_cat .page-title,
.tax-product_tag .page-title { margin-top: 0 !important; }
.post-type-archive-product .entry-header,
.tax-product_cat .entry-header,
.tax-product_tag .entry-header,
.single-product .entry-header,
.post-type-archive-product .page-title-wrapper,
.tax-product_cat .page-title-wrapper { margin-top: 0 !important; padding-top: 0 !important; }

/* Hàng tiêu đề Cửa hàng: tiêu đề (gạch chân kéo TỚI mép ô sắp xếp) + ô sắp xếp bên phải */
.t2d-shop-head {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 14px;
}
.t2d-shop-head .page-title {
	flex: 1;
	margin: 0 !important;
}
.t2d-shop-head .woocommerce-ordering {
	flex-shrink: 0;
	margin: 0;
	float: none;
}
.woocommerce-ordering select {
	border: 1px solid #e5e9f2;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
}
.woocommerce ul.products { margin-top: 18px !important; clear: both; }
@media (max-width: 600px) {
	.t2d-shop-head { flex-wrap: wrap; }
	.t2d-shop-head .woocommerce-ordering { width: 100%; }
	.t2d-shop-head .woocommerce-ordering select { width: 100%; min-height: 42px; }
}

/* Bỏ dòng danh mục (chữ in hoa) dưới 5 sao trên thẻ sản phẩm */
.woocommerce ul.products li.product .entry-meta { display: none !important; }

/* Bỏ chữ "Hiển thị 1–12 của 20 kết quả" */
.woocommerce-result-count { display: none !important; }

/* Bỏ số lượng (3)(7)... cạnh tên danh mục */
.product-categories .count,
.wc-block-product-categories-list-item-count { display: none !important; }

/* Reset list */
.product-categories,
.product-categories ul,
.wc-block-product-categories-list,
.wc-block-product-categories-list ul { list-style: none; margin: 0; padding: 0; }

/* Khung danh sách có thanh cuộn khi dài */
.widget_product_categories .product-categories,
.t2d-auto-product-cats,
.wp-block-woocommerce-product-categories > .wc-block-product-categories-list {
	max-height: 380px;
	overflow-y: auto;
	padding-right: 4px;
}

/* Danh sách phẳng, gọn — KHÔNG ô vuông, chỉ vạch ngăn nhẹ */
.product-categories > li,
.wc-block-product-categories-list > li {
	border-bottom: 1px solid #eef0f4;
}
.product-categories > li:last-child,
.wc-block-product-categories-list > li:last-child { border-bottom: none; }

/* Hàng có danh mục con -> flex để đẩy mũi tên sang phải */
.t2d-has-children {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.product-categories a,
.wc-block-product-categories-list-item a {
	display: block;
	flex: 1;
	padding: 11px 0;
	color: var(--t2d-text);
	text-decoration: none;
	font-size: 14px;
}
.product-categories a:hover,
.wc-block-product-categories-list-item a:hover { color: var(--t2d-blue); }
.current-cat > a,
.wc-block-product-categories-list-item--active > a { color: var(--t2d-blue); font-weight: 600; }

/* Mũi tên bên phải (chevron vẽ bằng border) */
.t2d-cat-toggle {
	order: 5;
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 42px;
	cursor: pointer;
	color: var(--t2d-muted);
	border-radius: 10px;
	transition: background 0.18s ease, color 0.18s ease;
}
.t2d-cat-toggle:hover,
.t2d-cat-toggle:focus {
	background: #eef8ff;
	color: var(--t2d-blue);
	outline: none;
}
.t2d-cat-toggle::before {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -3px;
	transition: transform 0.2s;
}
.t2d-has-children.is-open > .t2d-cat-toggle::before { transform: rotate(-135deg); margin-top: 3px; }

/* Danh mục con: ẩn, mở khi bấm; xuống dòng full width */
.t2d-subcat {
	display: none !important;
	flex-basis: 100%;
	order: 6;
	padding: 0 0 6px 16px;
}
.t2d-has-children.is-open > .t2d-subcat { display: block !important; }
.t2d-subcat a { font-size: 13.5px; color: var(--t2d-muted); padding: 6px 0; }
.t2d-subcat a:hover { color: var(--t2d-blue); }
.t2d-subcat .t2d-cat-toggle { height: 32px; }

/* Nút chọn phân loại (swatch) trên trang sản phẩm */
.t2d-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 10px;
}
.t2d-swatch {
	border: 1px solid #d4dae6;
	background: #fff;
	color: #1f2937;
	font-size: 14px;
	font-weight: 500;
	padding: 9px 16px;
	border-radius: 8px;
	cursor: pointer;
	line-height: 1.2;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.t2d-swatch:hover {
	border-color: #2b7fd6;
	color: #2b7fd6;
}
.t2d-swatch.is-active {
	border-color: #2b7fd6;
	color: #2b7fd6;
	background: #f0f7ff;
	box-shadow: inset 0 0 0 1px #2b7fd6;
}
.t2d-swatch--soldout {
	opacity: 0.45;
	cursor: not-allowed;
	background: #f3f4f6;
	border-color: #e5e7eb;
	color: #9ca3af;
}
.t2d-swatch--soldout:hover {
	border-color: #e5e7eb;
	color: #9ca3af;
}

/* Breadcrumb đầu trang sản phẩm */
.t2d-breadcrumb {
	max-width: var(--t2d-max);
	margin: 0 auto;
	padding: 14px 16px 4px;
	font-size: 13px;
	color: var(--t2d-muted);
}
.t2d-breadcrumb a { color: var(--t2d-muted); text-decoration: none; }
.t2d-breadcrumb a:hover { color: var(--t2d-blue); }
.t2d-breadcrumb > span { margin: 0 6px; }
.t2d-breadcrumb__current { color: var(--t2d-text); margin: 0; }

/* Thanh mua hàng nổi bật hơn */
.single-product form.cart .quantity input.qty {
	height: 46px;
	border-radius: 10px;
	border: 1px solid #d4dae6;
}
.single-product .single_add_to_cart_button {
	background: var(--t2d-blue) !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 14px 30px !important;
}
.single-product .single_add_to_cart_button:hover { background: #1f6cc0 !important; }

/* Ẩn nút thêm vào giỏ trên trang Cửa hàng (bấm ảnh/tên để vào trang sản phẩm) */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
	display: none !important;
}

/* Ảnh sản phẩm trang Cửa hàng (Shop/WooCommerce): khung VUÔNG, hiện trọn ảnh không cắt */
.woocommerce ul.products li.product img,
ul.products li.product a img,
li.product .ct-media-container img,
li.product .ct-woo-card-figure img,
.wc-block-grid__product-image img {
	aspect-ratio: 1 / 1 !important;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	background: #f6f8fb;
}

:root {
	--t2d-navy: #14266e;
	--t2d-navy-2: #1d3a99;
	--t2d-blue: #2b7fd6;
	--t2d-red: #e6342f;
	--t2d-text: #1f2937;
	--t2d-muted: #6b7280;
	--t2d-max: 1200px;
}

.t2d-topbar *,
.t2d-header *,
.t2d-mobile *,
.t2d-search *,
.t2d-footer *,
.t2d-home * { box-sizing: border-box; }

/* Font cho header + footer tùy chỉnh (áp dụng toàn site) */
.t2d-topbar,
.t2d-header,
.t2d-mobile,
.t2d-search,
.t2d-footer {
	font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

/* Trang chủ nằm trong khung <main> của Blocksy.
   Cho các khối trải FULL chiều ngang (full-bleed) như thiết kế. */
body.home { overflow-x: clip; }
.t2d-home {
	margin: 0;
	font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
.t2d-seo-h1 {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.t2d-home h2,
.t2d-home h3,
.t2d-home h4,
.t2d-home p,
.t2d-home a,
.t2d-home span,
.t2d-home strong,
.t2d-home button,
.t2d-home div {
	font-family: inherit;
}
.t2d-home .t2d-hero,
.t2d-home .t2d-section,
.t2d-home .t2d-process-banner {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ---------- 1. THANH THÔNG BÁO ---------- */
.t2d-topbar {
	background: linear-gradient(90deg, var(--t2d-navy), var(--t2d-navy-2));
	color: #fff;
	font-size: 13px;
}
.t2d-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}
.t2d-topbar__msgs {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}
.t2d-topbar__msgs span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.t2d-topbar__social {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}
.t2d-topbar__social a,
.t2d-topbar__social .t2d-social-placeholder {
	color: rgba(255, 255, 255, 0.85);
	display: inline-flex;
	transition: color 0.2s;
}
.t2d-topbar__social a:hover { color: #fff; }
.t2d-topbar__social svg { width: 16px; height: 16px; }

/* ---------- 2. HEADER ---------- */
.t2d-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #fff;
	border-bottom: none;
	box-shadow: none;
}
/* Khi đăng nhập admin: chừa chỗ cho thanh quản trị của WordPress */
.admin-bar .t2d-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .t2d-header { top: 46px; }
}
.t2d-header__grid {
	display: flex;
	align-items: center;
	gap: 28px;
}
.t2d-header__right {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.t2d-header__top {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 84px;
}
.t2d-header__nav {
	border-top: none;
	position: relative;
	display: flex;
	align-items: center;
	gap: 30px;
}
.t2d-header__nav ul { justify-content: flex-start; gap: 30px; }
.t2d-header__nav a { padding: 18px 0; }

/* Thanh tìm kiếm */
.t2d-searchbar {
	flex: 1;
	max-width: 620px;
	display: flex;
	align-items: stretch;
	border: 2px solid var(--t2d-blue);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.t2d-searchbar__cat {
	border: 0;
	border-right: 1px solid #e5e9f2;
	background: #f7f9fc;
	padding: 0 12px;
	font-size: 14px;
	color: var(--t2d-text);
	max-width: 150px;
	cursor: pointer;
	outline: none;
}
.t2d-searchbar input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	padding: 11px 14px;
	font-size: 15px;
	background: transparent;
}
.t2d-searchbar__btn {
	border: 0;
	background: var(--t2d-blue);
	color: #fff;
	width: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s;
}
.t2d-searchbar__btn:hover { background: #1f6cc0; }
.t2d-searchbar__btn svg { width: 22px; height: 22px; }

/* Hộp giỏ hàng (icon + số sản phẩm + tổng tiền) */
.t2d-cartbox {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--t2d-text);
}
.t2d-cartbox__icon { position: relative; display: inline-flex; color: var(--t2d-text); }
.t2d-cartbox__icon svg { width: 30px; height: 30px; }
.t2d-cartbox__text { display: flex; flex-direction: column; line-height: 1.25; }
.t2d-cartbox__text strong { font-size: 13px; font-weight: 700; color: var(--t2d-text); }
.t2d-cartbox__meta { font-size: 12px; color: var(--t2d-red); font-weight: 600; white-space: nowrap; }
/* Ẩn badge số trên icon giỏ (đã có "X sản phẩm" bên cạnh) */
.t2d-cartbox .t2d-cart__count { display: none !important; }
.t2d-cartbox:hover .t2d-cartbox__text strong { color: var(--t2d-blue); }
.t2d-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}
.t2d-logo img { max-height: 104px; width: auto; display: block; }
.t2d-logo__text {
	font-size: 34px;
	font-weight: 800;
	color: var(--t2d-blue);
	line-height: 1.1;
}

/* Menu */
.t2d-nav {
	display: flex;
	align-items: center;
	column-gap: 38px;
}
.t2d-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 38px;
}
.t2d-nav a {
	text-decoration: none;
	color: var(--t2d-text);
	font-weight: 600;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 6px 0;
	position: relative;
	transition: color 0.2s;
}
.t2d-nav a:hover { color: var(--t2d-blue); }

/* Gạch chân đỏ: chỉ hiện khi rê chuột vào (chạy mượt từ giữa ra) */
.t2d-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	background: var(--t2d-red);
	border-radius: 2px;
	transform: scaleX(0);
	transition: transform 0.25s ease;
}
.t2d-nav a:hover::after,
.t2d-nav a:focus-visible::after {
	transform: scaleX(1);
}

/* Mega menu danh mục trên header */
.t2d-mega {
	position: static;
	flex: 0 0 auto;
}
.t2d-mega__trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 52px;
	border: 0;
	background: transparent;
	color: var(--t2d-blue);
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	cursor: pointer;
	padding: 18px 0;
}
.t2d-mega__trigger svg {
	width: 15px;
	height: 15px;
	transition: transform 0.18s ease;
}
.t2d-mega:hover .t2d-mega__trigger svg,
.t2d-mega.is-open .t2d-mega__trigger svg {
	transform: rotate(180deg);
}
.t2d-mega__panel {
	position: absolute;
	left: 50%;
	top: calc(100% + 2px);
	width: min(1120px, calc(100vw - 32px));
	transform: translateX(-50%) translateY(10px);
	z-index: 1002;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.t2d-mega:hover .t2d-mega__panel,
.t2d-mega:focus-within .t2d-mega__panel,
.t2d-mega.is-open .t2d-mega__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
.t2d-mega__inner {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	column-gap: 0;
	row-gap: 18px;
	max-height: min(68vh, 620px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 22px 24px 26px;
	border: 1px solid rgba(77, 184, 255, 0.28);
	border-radius: 0 0 22px 22px;
	background:
		linear-gradient(180deg, rgba(234, 247, 255, 0.98), rgba(255, 255, 255, 0.98) 62%),
		#fff;
	box-shadow: 0 24px 60px rgba(16, 42, 86, 0.14);
}
.t2d-mega__group {
	min-width: 0;
	padding: 0 18px 20px;
	border-right: 1px solid rgba(16, 42, 86, 0.08);
}
.t2d-mega__group:nth-child(n+6) {
	padding-top: 20px;
	border-top: 1px solid rgba(77, 184, 255, 0.18);
}
.t2d-mega__group:nth-child(5n),
.t2d-mega__group:last-child {
	border-right: 0;
}
.t2d-mega__title,
.t2d-nav .t2d-mega__title {
	display: inline-block;
	padding: 0;
	margin: 0 0 12px;
	color: var(--t2d-text);
	font-size: 15px;
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0;
}
.t2d-mega__title::after,
.t2d-mega__more::after,
.t2d-mega__group li a::after {
	display: none;
}
.t2d-mega__group ul {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}
.t2d-mega__group li {
	margin: 0 0 9px;
}
.t2d-mega__group li a,
.t2d-nav .t2d-mega__group li a {
	display: block;
	padding: 0;
	color: #667085;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	text-transform: none;
	letter-spacing: 0;
}
.t2d-mega__group li a:hover,
.t2d-mega__more:hover {
	color: var(--t2d-blue);
}
.t2d-mega__more,
.t2d-nav .t2d-mega__more {
	display: inline-flex;
	padding: 0;
	margin-top: 2px;
	color: #2f8ee8;
	font-size: 13px;
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0;
}
.t2d-mega__more::before {
	content: "";
}
.t2d-nav > ul > li.menu-item-home,
.t2d-nav > ul > li:first-child > a[href="/"],
.t2d-nav > ul > li:first-child > a[href$="/"] {
	display: list-item;
}
.t2d-nav > ul > li:first-child > a[href="/"],
.t2d-nav > ul > li:first-child > a[href$="/"] {
	display: block;
}

/* Icon hành động: tìm kiếm / tài khoản / giỏ hàng */
.t2d-actions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-shrink: 0;
}
.t2d-actions a {
	color: var(--t2d-text);
	display: inline-flex;
	position: relative;
	transition: color 0.2s;
}
.t2d-actions a:hover { color: var(--t2d-blue); }
.t2d-actions svg { width: 24px; height: 24px; }
.t2d-cart__count {
	position: absolute;
	top: -8px;
	right: -10px;
	background: var(--t2d-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ---------- 3. HERO (2 banner slider) ---------- */
.t2d-hero {
	padding: 18px 0 8px;
}
.t2d-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.t2d-slider {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #eef2fb;
}
.t2d-slider__track { position: absolute; inset: 0; }
.t2d-slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s ease;
}
.t2d-slide.is-active { opacity: 1; pointer-events: auto; }
.t2d-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t2d-slide--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--t2d-muted);
	font-size: 14px;
}

/* Overlay tiêu đề cho slide bài viết mới nhất */
.t2d-slide__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 36px 22px 18px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.t2d-slide__badge {
	background: var(--t2d-red);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 3px 10px;
	border-radius: 999px;
}
.t2d-slide__title {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (max-width: 600px) {
	.t2d-slide__title { font-size: 15px; }
	.t2d-slide__overlay { padding: 28px 16px 14px; }
}

.t2d-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.85);
	color: var(--t2d-text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 3;
	opacity: 0;
	transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.t2d-slider:hover .t2d-slider__nav { opacity: 1; }
.t2d-slider__nav:hover { background: #fff; color: var(--t2d-blue); }
.t2d-slider__nav svg { width: 20px; height: 20px; }
.t2d-slider__nav--prev { left: 10px; }
.t2d-slider__nav--next { right: 10px; }

.t2d-slider__dots {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	gap: 7px;
	justify-content: center;
}
.t2d-slider__dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: background 0.2s, width 0.2s;
}
.t2d-slider__dots button.is-active {
	background: #fff;
	width: 22px;
	border-radius: 5px;
}

/* ---------- 4. DANH MỤC SẢN PHẨM ---------- */
.t2d-section { padding: 46px 0; }

.t2d-section__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 0 28px;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--t2d-text);
	text-align: center;
}
.t2d-section__deco svg { width: 40px; height: 12px; display: block; }
.t2d-section__deco--r { transform: scaleX(-1); }

.t2d-cat__group {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 22px 0 18px;
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--t2d-blue);
}
.t2d-cat__group svg { width: 22px; height: 22px; }

.t2d-cat__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

.t2d-cat__card {
	display: block;
	text-decoration: none;
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 14px;
	padding: 12px 12px 16px;
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
}
.t2d-cat__card--image-only {
	padding: 12px;
}
.t2d-cat__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(20, 38, 110, 0.12);
}
.t2d-cat--blue .t2d-cat__card {
	background: #eef8ff;
	border-color: #cfeeff;
}
.t2d-cat--paper .t2d-cat__card {
	background: #fdf6ea;
	border-color: #f3e7cf;
}

.t2d-cat__thumb {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 12px;
	background: #f3f5fa;
}
.t2d-cat__card--image-only .t2d-cat__thumb {
	margin-bottom: 0;
}
.t2d-cat--blue .t2d-cat__thumb { background: #dff3ff; }
.t2d-cat--paper .t2d-cat__thumb { background: #f6eeda; }
.t2d-cat__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.t2d-cat__thumb.is-empty::after {
	content: "Ảnh";
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--t2d-muted);
	font-size: 13px;
}

.t2d-cat__name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--t2d-text);
	margin-bottom: 3px;
}
.t2d-cat__desc {
	display: block;
	font-size: 13px;
	color: var(--t2d-muted);
}
.t2d-cat__desc .amount,
.t2d-cat__desc ins {
	color: var(--t2d-red);
	font-weight: 800;
	text-decoration: none;
}
.t2d-cat__desc del {
	margin-right: 4px;
	color: #9ca3af;
	font-size: 12px;
}

.t2d-cat__more {
	text-align: center;
	margin-top: 34px;
}
.t2d-btn {
	display: inline-block;
	background: var(--t2d-blue);
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 14px 34px;
	border-radius: 999px;
	transition: background 0.2s, transform 0.2s;
}
.t2d-btn:hover { background: #1f6cc0; transform: translateY(-2px); }

@media (max-width: 1024px) {
	.t2d-cat__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
	.t2d-cat__grid { grid-template-columns: repeat(2, 1fr); }
	.t2d-section__title { font-size: 20px; }
	.t2d-section__deco svg { width: 28px; }
}

/* Nền theo khối */
.t2d-section--soft { background: #f5f8fd; }
.t2d-section--blue { background: linear-gradient(180deg, #e9f1fc, #f4f8fd); }

.t2d-head { position: relative; }
.t2d-head__more {
	position: absolute;
	right: 0;
	top: 6px;
	color: var(--t2d-blue);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
}
.t2d-head__more:hover { text-decoration: underline; }
.t2d-section__title--left {
	justify-content: flex-start;
	font-size: 22px;
}
.t2d-head--left { margin-bottom: 22px; }

/* ---------- 5. VÌ SAO CHỌN ---------- */
.t2d-why__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 22px;
}
.t2d-why__item { display: flex; align-items: flex-start; gap: 12px; }
.t2d-why__icon { flex-shrink: 0; color: var(--t2d-blue); }
.t2d-why__icon svg { width: 36px; height: 36px; }
.t2d-why__title { display: block; font-size: 14px; font-weight: 700; color: var(--t2d-text); margin-bottom: 3px; }
.t2d-why__desc { display: block; font-size: 13px; color: var(--t2d-muted); line-height: 1.5; }

/* ---------- 6. QUY TRÌNH (ẢNH BANNER) ---------- */
.t2d-process-banner { padding: 10px 0 18px; }
.t2d-process-banner__img {
	position: relative;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: #eef2fb;
	min-height: 90px;
}
.t2d-process-banner__img img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
	display: block;
}
.t2d-process-banner__ph {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--t2d-muted);
	font-size: 14px;
	padding: 30px 16px;
}

/* ---------- 7. SẢN PHẨM BÁN CHẠY ---------- */
.t2d-carousel { position: relative; }
.t2d-carousel__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 6px 2px 10px;
	scrollbar-width: none;
}
.t2d-carousel__track::-webkit-scrollbar { display: none; }
.t2d-product {
	flex: 0 0 200px;
	display: block;
	text-decoration: none;
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 14px;
	padding: 12px;
	transition: transform 0.2s, box-shadow 0.2s;
}
.t2d-product:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20, 38, 110, 0.12); }
.t2d-product__thumb { display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #f3f5fa; margin-bottom: 10px; }
.t2d-product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t2d-product__name { display: block; font-size: 14px; font-weight: 700; color: var(--t2d-text); margin-bottom: 5px; min-height: 38px; }
.t2d-product__price { display: block; font-size: 16px; font-weight: 800; color: var(--t2d-red); margin-bottom: 5px; }
.t2d-stars { color: #f5a623; font-size: 13px; letter-spacing: 1px; }
.t2d-product__count { font-size: 12px; color: var(--t2d-muted); }
.t2d-carousel__nav {
	position: absolute;
	top: 42%;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	color: var(--t2d-text);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}
.t2d-carousel__nav svg { width: 22px; height: 22px; }
.t2d-carousel__nav--prev { left: -8px; }
.t2d-carousel__nav--next { right: -8px; }
.t2d-carousel__nav:hover { color: var(--t2d-blue); }

/* ---------- 8. ĐÁNH GIÁ ---------- */
.t2d-reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Marquee đánh giá — tự chạy ngang liên tục, rê chuột thì dừng */
.t2d-reviews__marquee { overflow: hidden; padding: 6px 0; }
.t2d-reviews__track {
	display: flex;
	gap: 18px;
	width: max-content;
	animation: t2d-marquee 130s linear infinite;
}
.t2d-reviews__marquee:hover .t2d-reviews__track { animation-play-state: paused; }
.t2d-reviews__track .t2d-review { flex: 0 0 320px; }
@keyframes t2d-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
	.t2d-reviews__track .t2d-review { flex: 0 0 80vw; }
}
.t2d-review { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 20px; }
.t2d-review__text { font-size: 13px; color: #4b5563; line-height: 1.6; margin: 10px 0 16px; }
.t2d-review__author { display: flex; align-items: center; gap: 10px; }
.t2d-review__avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: #e5e9f2; flex-shrink: 0; }
.t2d-review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.t2d-review__name { display: block; font-size: 14px; font-weight: 700; color: var(--t2d-text); }
.t2d-review__place { display: block; font-size: 12px; color: var(--t2d-muted); }

/* ---------- 9. TIN TỨC ---------- */
.t2d-news__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.t2d-news__card {
	display: block;
	text-decoration: none;
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}
.t2d-news__card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20, 38, 110, 0.12); }
.t2d-news__thumb { display: block; aspect-ratio: 4 / 3; background: #f3f5fa; }
.t2d-news__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t2d-news__date { display: block; font-size: 12px; color: var(--t2d-muted); padding: 12px 12px 0; }
.t2d-news__title { display: block; font-size: 13px; font-weight: 700; color: var(--t2d-text); padding: 4px 12px 14px; line-height: 1.45; }

/* ---------- 10. FOOTER ---------- */
.t2d-footer { background: linear-gradient(180deg, #17297c, #101f5e); color: #b9c4e6; }
.t2d-footer__grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1.1fr 1.1fr 1.2fr;
	gap: 28px;
	padding: 48px 16px 36px;
}
.t2d-footer__logo { display: block; font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.t2d-footer__brand p { font-size: 13px; line-height: 1.7; margin: 0 0 16px; }
.t2d-footer__social { display: flex; gap: 10px; }
.t2d-footer__social a,
.t2d-footer__social .t2d-social-placeholder { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background 0.2s; }
.t2d-footer__social a:hover { background: var(--t2d-blue); }
.t2d-footer__social svg { width: 16px; height: 16px; }
.t2d-footer__col h4 { font-size: 15px; color: #fff; font-weight: 700; margin: 0 0 14px; }
.t2d-footer__col ul { list-style: none; margin: 0; padding: 0; }
.t2d-footer__col li { margin-bottom: 9px; font-size: 13px; }
.t2d-footer__col a { color: #b9c4e6; text-decoration: none; }
.t2d-footer__col a:hover { color: #fff; }
.t2d-footer__contact li { display: flex; align-items: center; gap: 9px; }
.t2d-footer__contact svg { width: 16px; height: 16px; flex-shrink: 0; color: #8ea2da; }
.t2d-footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.t2d-footer__bar-inner { display: flex; justify-content: space-between; padding: 16px; font-size: 12px; color: #9aa8d6; }
.t2d-heart { color: #ff5a6a; }

@media (max-width: 1024px) {
	.t2d-why__grid { grid-template-columns: repeat(3, 1fr); }
	.t2d-process__row { flex-direction: column; }
	.t2d-process__img { width: 100%; max-width: 420px; }
	.t2d-reviews__grid { grid-template-columns: repeat(2, 1fr); }
	.t2d-news__grid { grid-template-columns: repeat(3, 1fr); }
	.t2d-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.t2d-why__grid { grid-template-columns: repeat(2, 1fr); }
	.t2d-process__steps { flex-direction: column; align-items: center; gap: 22px; }
	.t2d-process__arrow { display: none; }
	.t2d-process__step { max-width: 260px; }
	.t2d-reviews__grid,
	.t2d-news__grid { grid-template-columns: 1fr 1fr; }
	.t2d-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.t2d-footer__bar-inner { flex-direction: column; gap: 6px; text-align: center; }
	.t2d-head__more { position: static; display: inline-block; margin-top: 6px; }

	/* Carousel sản phẩm bán chạy trên mobile: ẩn mũi tên, vuốt 2 thẻ/màn */
	.t2d-carousel__nav { display: none; }
	.t2d-carousel__track { gap: 12px; scroll-snap-type: x mandatory; padding-bottom: 4px; }
	.t2d-product { flex: 0 0 46%; scroll-snap-align: start; }
	.t2d-product__name { font-size: 13px; min-height: 34px; }
	.t2d-product__price { font-size: 15px; }
}

/* Nút mở tìm kiếm (reset style mặc định của <button>) */
.t2d-search-toggle {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: var(--t2d-text);
	display: inline-flex;
	transition: color 0.2s;
}
.t2d-search-toggle:hover { color: var(--t2d-blue); }

/* ---------- POPUP TÌM KIẾM ---------- */
.t2d-search {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}
.t2d-search.is-open { display: block; }
.t2d-search__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}
.t2d-search__box {
	position: relative;
	max-width: 680px;
	margin: 12vh auto 0;
	padding: 0 16px;
	display: flex;
	align-items: center;
	gap: 14px;
	animation: t2dDrop 0.25s ease;
}
@keyframes t2dDrop {
	from { opacity: 0; transform: translateY(-16px); }
	to   { opacity: 1; transform: translateY(0); }
}
.t2d-search__form {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-radius: 12px;
	padding: 6px 6px 6px 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.t2d-search__icon {
	width: 22px;
	height: 22px;
	color: var(--t2d-muted);
	flex-shrink: 0;
}
.t2d-search__form input[type="search"] {
	flex: 1;
	border: 0;
	outline: none;
	font-size: 16px;
	padding: 12px 0;
	background: transparent;
	color: var(--t2d-text);
}
.t2d-search__submit {
	border: 0;
	cursor: pointer;
	background: var(--t2d-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 11px 22px;
	border-radius: 9px;
	white-space: nowrap;
	transition: background 0.2s;
}
.t2d-search__submit:hover { background: #1f6cc0; }
.t2d-search__close {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 0;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.t2d-search__close:hover { background: rgba(255, 255, 255, 0.3); }
.t2d-search__close svg { width: 24px; height: 24px; }

/* ---------- MENU DI ĐỘNG (drawer) ---------- */
.t2d-mobile {
	position: fixed;
	inset: 0;
	z-index: 10000;
	visibility: hidden;
	overflow: hidden;
}
.t2d-mobile.is-open { visibility: visible; }
.t2d-mobile__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	opacity: 0;
	transition: opacity 0.25s;
}
.t2d-mobile.is-open .t2d-mobile__backdrop { opacity: 1; }
.t2d-mobile__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 280px;
	max-width: 82vw;
	background: #fff;
	padding: 60px 22px 22px;
	box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 0.28s ease;
	overflow-y: auto;
}
.t2d-mobile.is-open .t2d-mobile__panel { transform: translateX(0); }
.t2d-mobile__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--t2d-text);
}
.t2d-mobile__close svg { width: 26px; height: 26px; }
.t2d-mobile__panel ul { list-style: none; margin: 0; padding: 0; }
.t2d-mobile__panel li { border-bottom: 1px solid #eef0f4; }
.t2d-mobile__panel a {
	display: block;
	padding: 14px 4px;
	color: var(--t2d-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
}
.t2d-mobile__panel a:hover { color: var(--t2d-blue); }
.t2d-mobile-cats {
	margin: 0 0 12px;
	border: 1px solid rgba(77,184,255,0.22);
	border-radius: 14px;
	background: linear-gradient(180deg, #eef8ff, #fff);
	overflow: hidden;
}
.t2d-mobile-cats summary {
	cursor: pointer;
	padding: 14px;
	color: var(--t2d-blue);
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	list-style: none;
}
.t2d-mobile-cats summary::-webkit-details-marker { display: none; }
.t2d-mobile-cats__grid {
	display: grid;
	gap: 14px;
	padding: 0 14px 14px;
}
.t2d-mobile-cats__group {
	padding-top: 12px;
	border-top: 1px solid rgba(16,42,86,0.08);
}
.t2d-mobile__panel .t2d-mobile-cats__group a {
	border: 0;
	padding: 5px 0;
	color: #667085;
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
}
.t2d-mobile__panel .t2d-mobile-cats__group .t2d-mobile-cats__title {
	color: var(--t2d-text);
	font-weight: 800;
	font-size: 15px;
}

/* ---------- BONG CHAT NOI ---------- */
.t2d-chat {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(20px, env(safe-area-inset-bottom));
	z-index: 9999;
	font-family: "Be Vietnam Pro", system-ui, sans-serif;
}
.t2d-chat__toggle {
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 54px;
	padding: 12px 18px 12px 14px;
	border-radius: 999px;
	color: #fff;
	background: linear-gradient(135deg, #102A56, #2f8ee8 62%, #4DB8FF);
	box-shadow: 0 18px 38px rgba(16, 42, 86, 0.26);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.t2d-chat__toggle svg {
	width: 25px;
	height: 25px;
	flex-shrink: 0;
}
.t2d-chat__toggle:hover {
	transform: translateY(-2px);
	filter: brightness(1.04);
	box-shadow: 0 22px 46px rgba(16, 42, 86, 0.32);
}
.t2d-chat__toggle:focus-visible,
.t2d-chat__panel a:focus-visible {
	outline: 3px solid rgba(77, 184, 255, 0.45);
	outline-offset: 3px;
}
.t2d-chat__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	width: min(332px, calc(100vw - 32px));
	border: 1px solid rgba(77, 184, 255, 0.28);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(16, 42, 86, 0.22);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px) scale(0.98);
	transform-origin: right bottom;
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.t2d-chat.is-open .t2d-chat__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}
.t2d-chat__head {
	padding: 18px 18px 16px;
	color: #fff;
	background:
		radial-gradient(circle at 18% 20%, rgba(255, 123, 191, 0.34), transparent 30%),
		linear-gradient(135deg, #102A56, #246fd4 70%, #4DB8FF);
}
.t2d-chat__head strong {
	display: block;
	font-size: 16px;
	line-height: 1.35;
}
.t2d-chat__head span {
	display: block;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
}
.t2d-chat__links {
	display: grid;
	gap: 10px;
	padding: 14px;
	background: linear-gradient(180deg, #ffffff, #f4fbff);
}
.t2d-chat__links a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid #e6eef9;
	border-radius: 16px;
	color: #102A56;
	background: #fff;
	text-decoration: none;
	min-width: 0;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.t2d-chat__links a:hover {
	transform: translateY(-2px);
	border-color: rgba(77, 184, 255, 0.7);
	box-shadow: 0 12px 26px rgba(16, 42, 86, 0.1);
}
.t2d-chat__icon {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #fff;
	background: linear-gradient(135deg, #4DB8FF, #8B5CF6);
	font-weight: 900;
	font-size: 17px;
}
.t2d-chat__icon svg {
	width: 21px;
	height: 21px;
}
.t2d-chat__links strong,
.t2d-chat__links em {
	display: block;
	font-style: normal;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
.t2d-chat__links strong {
	font-size: 14px;
	font-weight: 800;
}
.t2d-chat__links em {
	margin-top: 2px;
	color: #64748b;
	font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
	.t2d-chat__toggle,
	.t2d-chat__panel,
	.t2d-chat__links a {
		transition: none;
	}
}

@media (max-width: 600px) {
	.t2d-chat {
		right: 14px;
		bottom: 14px;
	}
	.t2d-chat__toggle {
		min-height: 50px;
		padding: 11px 15px;
	}
	.t2d-chat__toggle span {
		display: none;
	}
	.t2d-chat__panel {
		width: min(320px, calc(100vw - 28px));
		max-height: calc(100vh - 112px);
		overflow-y: auto;
	}
}

/* ---------- RESPONSIVE ---------- */
.t2d-burger { display: none; }

@media (max-width: 900px) {
	.t2d-nav { display: none; }
	.t2d-burger {
		display: inline-flex;
		background: none;
		border: 0;
		cursor: pointer;
		color: var(--t2d-text);
	}
	.t2d-burger svg { width: 28px; height: 28px; }
	.t2d-hero__grid { grid-template-columns: 1fr; }
	.t2d-topbar__msgs span:not(:first-child) { display: none; }

	/* Header mobile: logo nhỏ, icon dồn phải, thanh tìm kiếm full chiều ngang */
	.t2d-topbar__social { display: none; }
	.t2d-logo img { max-height: 46px; }
	.t2d-logo__text { font-size: 22px; }
	.t2d-header__grid { gap: 12px; align-items: center; }
	.t2d-header__top { flex-wrap: wrap; min-height: 0; padding: 8px 0; gap: 8px; }
	.t2d-actions { margin-left: auto; gap: 18px; }
	.t2d-searchbar { order: 3; flex-basis: 100%; max-width: none; }
}

@media (max-width: 600px) {
	.t2d-logo img { max-height: 46px; }
	.t2d-logo__text { font-size: 20px; }
	.t2d-actions { gap: 16px; }
	.t2d-section { padding: 32px 0; }
	.t2d-section__title { margin-bottom: 22px; }
	.t2d-topbar { font-size: 12px; }
	.t2d-slider__nav { opacity: 1; }
	.t2d-cartbox__text { display: none; } /* màn nhỏ: chỉ icon giỏ + số lượng */
	.t2d-searchbar__cat { display: none; } /* gọn ô tìm kiếm trên mobile */
}

@media (max-width: 480px) {
	.t2d-container { padding-left: 14px; padding-right: 14px; }
	.t2d-header__grid { gap: 10px; }
	.t2d-header__top { gap: 8px; }
	.t2d-logo img { max-height: 42px; }
	.t2d-logo__text { font-size: 18px; }
	.t2d-actions { gap: 12px; }
	.t2d-actions svg { width: 22px; height: 22px; }
	.t2d-cartbox__icon svg { width: 26px; height: 26px; }
	.t2d-searchbar input[type="search"] { font-size: 14px; padding: 10px 10px; }
	.t2d-searchbar__btn { width: 46px; padding: 0; }
	.t2d-why__grid,
	.t2d-news__grid,
	.t2d-reviews__grid { grid-template-columns: 1fr; }
	.t2d-footer__grid { padding-top: 36px; }
}
