/*
Theme Name: The Crows Child
Theme URI: https://thecrows.vn
Description: Child theme tối giản, tông pastel cho cửa hàng The Crows (đồ dùng bàn làm việc in 3D).
Author: The Crows
Template: kadence
Version: 1.0.0
Text Domain: thecrows
*/

/* ==========================================================================
   1. Biến màu & nền tảng — chỉnh bảng màu ở đây
   ========================================================================== */
:root {
	--tc-bg: #FFFDF9;
	--tc-bg-alt: #F6F1EB;
	--tc-pink: #F9D5D3;
	--tc-mint: #CDEDE1;
	--tc-sky: #CFE3F7;
	--tc-butter: #FCEBB6;
	--tc-lavender: #E3D9F5;
	--tc-text: #2E2A27;
	--tc-muted: #7A726B;
	--tc-line: #ECE5DC;
	--tc-radius: 16px;
	--tc-radius-sm: 10px;
	--tc-shadow: 0 8px 24px rgba(46, 42, 39, .06);
	--tc-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tc-container: 1200px;
	--tc-gutter: 20px;

	/* Ánh xạ sang biến của Kadence để WooCommerce/khối nội dung dùng chung bảng màu */
	--global-palette1: var(--tc-text);
	--global-palette2: var(--tc-muted);
	--global-palette3: var(--tc-text);
	--global-palette4: var(--tc-text);
	--global-palette5: var(--tc-muted);
	--global-palette6: var(--tc-muted);
	--global-palette7: var(--tc-bg-alt);
	--global-palette8: var(--tc-bg);
	--global-palette9: var(--tc-bg);
	--global-palette-highlight: var(--tc-text);
	--global-palette-highlight-alt: var(--tc-muted);
	--global-palette-highlight-alt2: var(--tc-bg);
	--global-palette-btn-bg: var(--tc-text);
	--global-palette-btn-bg-hover: var(--tc-pink);
	--global-palette-btn: #fff;
	--global-palette-btn-hover: var(--tc-text);
	--global-body-font-family: var(--tc-font);
	--global-heading-font-family: var(--tc-font);
	--global-primary-nav-font-family: var(--tc-font);
	--global-content-width: 1240px;
}

html { scroll-behavior: smooth; }

body {
	background: var(--tc-bg);
	color: var(--tc-text);
	font-family: var(--tc-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tc-font);
	font-weight: 600;
	color: var(--tc-text);
	line-height: 1.25;
	letter-spacing: -.01em;
}

a { color: var(--tc-text); transition: color .2s ease, background-color .2s ease; }
img { max-width: 100%; height: auto; }

.tc-container {
	width: 100%;
	max-width: var(--tc-container);
	margin: 0 auto;
	padding: 0 var(--tc-gutter);
}

.tc-section { padding: 56px 0; }
.tc-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.tc-section__title { font-size: 1.5rem; margin: 0; }
.tc-section__link { color: var(--tc-muted); font-size: .95rem; text-decoration: none; white-space: nowrap; }
.tc-section__link:hover { color: var(--tc-text); }

/* Nút */
.tc-btn,
.button,
button.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--tc-text);
	color: #fff;
	font-family: var(--tc-font);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease;
}
.tc-btn:hover, .tc-btn:focus-visible,
.button:hover,
button.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--tc-pink);
	color: var(--tc-text);
	box-shadow: none;
}
.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button.alt.disabled { background: var(--tc-line); color: var(--tc-muted); opacity: 1; }

:focus-visible { outline: 2px solid var(--tc-text); outline-offset: 2px; }

/* ==========================================================================
   2. Header
   ========================================================================== */
.tc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 253, 249, .94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--tc-line);
}
.tc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.tc-logo { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; color: var(--tc-text); }
.tc-logo img { max-height: 40px; width: auto; display: block; }

.tc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.tc-nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--tc-text); }
.tc-nav a:hover, .tc-nav .current-menu-item > a { background: var(--tc-bg-alt); }

.tc-header__actions { display: flex; align-items: center; gap: 4px; }
.tc-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--tc-text);
	cursor: pointer;
	box-shadow: none;
	padding: 0;
}
.tc-icon-btn:hover, .tc-icon-btn:focus { background: var(--tc-bg-alt); color: var(--tc-text); }
.tc-icon-btn svg { width: 22px; height: 22px; }
.tc-cart-count {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--tc-pink);
	color: var(--tc-text);
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}
.tc-cart-count:empty, .tc-cart-count[data-count="0"] { display: none; }
.tc-menu-toggle { display: none; }

@media (max-width: 767px) {
	.tc-menu-toggle { display: inline-flex; margin-left: -10px; }
	.tc-header__inner { min-height: 56px; }
	.tc-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--tc-bg);
		border-bottom: 1px solid var(--tc-line);
		padding: 8px var(--tc-gutter) 16px;
	}
	.tc-nav.is-open { display: block; }
	.tc-nav ul { flex-direction: column; gap: 2px; }
	.tc-nav a { padding: 12px 14px; font-size: 1.05rem; }
	.tc-logo { position: absolute; left: 50%; transform: translateX(-50%); }
}

/* ==========================================================================
   3. Trang chủ
   ========================================================================== */
.tc-hero { padding: 32px 0 24px; }
.tc-hero__inner { display: grid; gap: 28px; align-items: center; }
.tc-hero__title { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; margin: 0 0 16px; }
.tc-hero__text { color: var(--tc-muted); font-size: 1.05rem; max-width: 30em; margin: 0 0 24px; }
.tc-hero__art {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 28px;
	background: var(--tc-bg-alt);
	overflow: hidden;
}
.tc-hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-hero__art span { position: absolute; display: block; }
.tc-shape--1 { left: 8%;  bottom: 14%; width: 26%; height: 46%; background: var(--tc-pink);     border-radius: 18px 18px 14px 14px; }
.tc-shape--2 { left: 38%; bottom: 14%; width: 22%; height: 30%; background: var(--tc-mint);     border-radius: 50% 50% 14px 14px; }
.tc-shape--3 { right: 9%; bottom: 14%; width: 26%; height: 58%; background: var(--tc-sky);      border-radius: 18px; }
.tc-shape--4 { left: 12%; top: 12%;    width: 18%; aspect-ratio: 1; background: var(--tc-butter); border-radius: 50%; }
.tc-shape--5 { left: 40%; top: 22%;    width: 16%; height: 12%; background: var(--tc-lavender); border-radius: 999px; }
.tc-shape--6 { left: 4%; right: 4%; bottom: 9%; height: 5%; background: #fff; border-radius: 999px; opacity: .8; }

@media (min-width: 860px) {
	.tc-hero { padding: 56px 0 40px; }
	.tc-hero__inner { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}

.tc-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tc-cat {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	aspect-ratio: 1 / 1;
	padding: 18px;
	border-radius: var(--tc-radius);
	background: var(--tc-bg-alt);
	color: var(--tc-text);
	text-decoration: none;
	overflow: hidden;
	transition: transform .25s ease;
}
.tc-cat:hover { transform: translateY(-4px); color: var(--tc-text); }
.tc-cat__media { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.tc-cat__media img { max-height: 100%; width: auto; object-fit: contain; border-radius: var(--tc-radius-sm); }
.tc-cat__media svg { width: 46%; height: auto; opacity: .55; }
.tc-cat__name { font-weight: 600; font-size: 1rem; line-height: 1.3; }
@media (min-width: 640px)  { .tc-cats { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .tc-cats { grid-template-columns: repeat(6, 1fr); } }

.tc-usp { background: var(--tc-bg-alt); border-radius: 28px; padding: 32px 24px; display: grid; gap: 28px; }
.tc-usp__item { display: flex; gap: 16px; align-items: flex-start; }
.tc-usp__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--tc-bg); display: flex; align-items: center; justify-content: center; }
.tc-usp__icon svg { width: 26px; height: 26px; }
.tc-usp__title { font-size: 1.05rem; margin: 0 0 4px; }
.tc-usp__text { margin: 0; color: var(--tc-muted); font-size: .97rem; }
@media (min-width: 860px) { .tc-usp { grid-template-columns: repeat(3, 1fr); padding: 44px 40px; } }

/* ==========================================================================
   4. Sản phẩm (lưới, ảnh giữ chỗ, trang chi tiết)
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 22px 14px !important;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
@media (min-width: 768px)  { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 32px 22px !important; } }
@media (min-width: 1024px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }

.woocommerce ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none !important;
	border-radius: 0;
	text-align: left;
	transition: transform .25s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); }
.woocommerce ul.products li.product a.woocommerce-loop-image-link,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; text-decoration: none; }
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product .tc-ph {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--tc-radius);
	margin: 0 0 12px;
	background: var(--tc-bg-alt);
}
.woocommerce ul.products li.product .product-details,
.woocommerce ul.products li.product .entry-content-wrap { padding: 0; background: transparent; border: 0; box-shadow: none; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; font-weight: 500; line-height: 1.4; margin: 0 0 4px; padding: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title a { color: var(--tc-text); text-decoration: none; }
.woocommerce ul.products li.product .price { display: block; color: var(--tc-text); font-size: .98rem; font-weight: 600; margin: 0; }
.woocommerce ul.products li.product .price del { color: var(--tc-muted); font-weight: 400; }
.woocommerce ul.products li.product .product-action-wrap,
.woocommerce ul.products li.product .star-rating { display: none; }
.woocommerce span.onsale {
	position: absolute; top: 10px; left: 10px; right: auto;
	min-height: 0; min-width: 0; padding: 4px 10px; margin: 0;
	border-radius: 999px; background: var(--tc-butter); color: var(--tc-text);
	font-size: .8rem; font-weight: 600; line-height: 1.4;
}

/* Ảnh giữ chỗ: khối pastel + tên sản phẩm */
.tc-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	width: 100%;
	padding: 12%;
	border-radius: var(--tc-radius);
	background-color: var(--tc-bg-alt);
	color: var(--tc-text);
	text-align: center;
	box-sizing: border-box;
}
.tc-ph__name { font-weight: 600; font-size: clamp(.9rem, 2.4vw, 1.15rem); line-height: 1.3; opacity: .78; }
.tc-ph--lg { border-radius: 24px; }
.tc-ph--lg .tc-ph__name { font-size: clamp(1.3rem, 4vw, 2rem); }
.tc-ph--sm { padding: 6px; border-radius: 8px; }
.tc-ph--sm .tc-ph__name { font-size: 9px; line-height: 1.2; }
.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder { border: 0; }

/* Lọc danh mục ở trang cửa hàng */
.tc-filter { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 calc(var(--tc-gutter) * -1) 20px; padding: 2px var(--tc-gutter) 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tc-filter::-webkit-scrollbar { display: none; }
.tc-filter a {
	flex: none;
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--tc-chip, var(--tc-bg-alt));
	color: var(--tc-text);
	font-size: .95rem;
	font-weight: 500;
	text-decoration: none;
	border: 1.5px solid transparent;
}
.tc-filter a:hover, .tc-filter a.is-current { border-color: var(--tc-text); }
@media (min-width: 768px) { .tc-filter { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }

.woocommerce .woocommerce-result-count { color: var(--tc-muted); font-size: .92rem; }
.woocommerce .woocommerce-ordering select,
.woocommerce select, .woocommerce input.input-text, .woocommerce textarea,
.woocommerce .quantity .qty {
	border: 1.5px solid var(--tc-line);
	border-radius: 12px;
	background-color: #fff;
	color: var(--tc-text);
	font-family: var(--tc-font);
	font-size: 1rem;
	min-height: 48px;
	padding: 10px 14px;
	box-shadow: none;
}
.woocommerce select:focus, .woocommerce input.input-text:focus, .woocommerce textarea:focus { border-color: var(--tc-text); outline: 0; }

/* Trang sản phẩm */
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 600; margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--tc-text); font-size: 1.4rem; font-weight: 600; }
.woocommerce div.product div.images img { border-radius: 24px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--tc-muted); }
.woocommerce div.product form.cart { margin-top: 20px; }
.woocommerce div.product form.cart .variations { margin-bottom: 12px; border: 0; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 14px; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; border: 0; background: transparent; }
.woocommerce div.product form.cart .variations th.label { margin-bottom: 8px; }
.woocommerce div.product form.cart .variations label { font-weight: 600; font-size: .95rem; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 8px; font-size: .88rem; color: var(--tc-muted); }
.woocommerce div.product form.cart .single_add_to_cart_button { min-height: 52px; padding-left: 32px; padding-right: 32px; }
.woocommerce div.product .product_meta { color: var(--tc-muted); font-size: .92rem; border-top: 1px solid var(--tc-line); padding-top: 14px; margin-top: 20px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; border-bottom: 1px solid var(--tc-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0 20px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-weight: 500; color: var(--tc-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--tc-text); box-shadow: inset 0 -2px 0 var(--tc-text); }

/* Ô chọn màu / kích thước (swatch) */
.tc-has-swatches select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; min-height: 0; padding: 0; border: 0; }
.tc-has-swatches { position: relative; }
.tc-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tc-swatch {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--tc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--tc-text);
	font-family: var(--tc-font);
	font-size: .92rem;
	font-weight: 500;
	cursor: pointer;
	box-shadow: none;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.tc-swatch--color { width: 44px; padding: 0; border-radius: 50%; border-color: rgba(46, 42, 39, .12); }
.tc-swatch:hover, .tc-swatch:focus { background: #fff; color: var(--tc-text); border-color: var(--tc-muted); }
.tc-swatch--color:hover, .tc-swatch--color:focus { box-shadow: 0 0 0 3px var(--tc-bg), 0 0 0 4.5px var(--tc-muted); }
.tc-swatch.is-active { border-color: var(--tc-text); }
.tc-swatch--color.is-active { border-color: rgba(46, 42, 39, .12); box-shadow: 0 0 0 3px var(--tc-bg), 0 0 0 4.5px var(--tc-text); }
.tc-swatch.is-disabled { opacity: .35; cursor: not-allowed; }
.tc-swatches__current { color: var(--tc-muted); font-size: .92rem; margin-left: 4px; }

/* Giỏ hàng & thanh toán */
.woocommerce table.shop_table { border: 0; border-radius: 0; border-collapse: collapse; }
.woocommerce table.shop_table th { font-weight: 600; font-size: .92rem; color: var(--tc-muted); border: 0; border-bottom: 1px solid var(--tc-line); background: transparent; }
.woocommerce table.shop_table td { border: 0; border-bottom: 1px solid var(--tc-line); background: transparent; }
.woocommerce table.shop_table .product-thumbnail img,
.woocommerce table.shop_table .product-thumbnail .tc-ph { width: 64px; border-radius: 10px; }
.woocommerce .cart_totals, .woocommerce-checkout-review-order, .woocommerce .cart-collaterals .cart_totals {
	background: var(--tc-bg-alt);
	border: 0;
	border-radius: var(--tc-radius);
	padding: 22px;
}
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border: 0; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 10px 0; }
.woocommerce-checkout #payment div.payment_box { background: var(--tc-bg); border-radius: 12px; color: var(--tc-muted); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: 16px 0 0; }
.woocommerce-checkout #place_order { width: 100%; min-height: 54px; font-size: 1.05rem; }
.woocommerce form .form-row label { font-size: .93rem; font-weight: 500; }
#billing_country_field, #shipping_country_field { display: none !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	background: var(--tc-mint);
	color: var(--tc-text);
	border: 0;
	border-radius: var(--tc-radius-sm);
}
.woocommerce-info { background: var(--tc-sky); }
.woocommerce-error { background: var(--tc-pink); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: var(--tc-text); }

/* ==========================================================================
   5. Trang nội dung (Giới thiệu, Liên hệ, Chính sách)
   ========================================================================== */
.content-bg, body.content-style-unboxed .site, .entry.single-entry, .entry.loop-entry { background: transparent; box-shadow: none; }
.entry-hero .entry-header, .entry-header { text-align: left; }
.single-content h2 { font-size: 1.35rem; margin-top: 2em; }
.single-content h2:first-child { margin-top: 0; }
.page:not(.woocommerce-page) .single-content { max-width: 760px; }

.tc-contact { display: grid; gap: 14px; margin: 8px 0 24px; padding: 0; list-style: none; }
.tc-contact li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--tc-radius); background: var(--tc-bg-alt); }
.tc-contact li:nth-child(1) { background: var(--tc-pink); }
.tc-contact li:nth-child(2) { background: var(--tc-mint); }
.tc-contact li:nth-child(3) { background: var(--tc-sky); }
.tc-contact li:nth-child(4) { background: var(--tc-butter); }
.tc-contact svg { flex: none; width: 24px; height: 24px; }
.tc-contact small { display: block; color: var(--tc-muted); font-size: .85rem; line-height: 1.3; }
.tc-contact a { font-weight: 600; text-decoration: none; }

/* ==========================================================================
   6. Chân trang
   ========================================================================== */
.tc-footer { margin-top: 56px; background: var(--tc-bg-alt); color: var(--tc-text); font-size: .95rem; }
.tc-footer__inner { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.tc-footer__brand { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.tc-footer__title { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--tc-muted); margin: 0 0 12px; }
.tc-footer p { margin: 0 0 8px; }
.tc-footer ul { list-style: none; margin: 0; padding: 0; }
.tc-footer li { margin: 0 0 8px; }
.tc-footer a { color: var(--tc-text); text-decoration: none; }
.tc-footer a:hover { text-decoration: underline; }
.tc-footer__muted { color: var(--tc-muted); }
.tc-footer__bct { display: inline-block; margin-top: 12px; }
.tc-footer__bct img { height: 48px; width: auto; display: block; }
.tc-footer__bottom { border-top: 1px solid var(--tc-line); padding: 18px 0 22px; color: var(--tc-muted); font-size: .88rem; }
@media (min-width: 768px) { .tc-footer__inner { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 48px; } }

/* ==========================================================================
   7. Nút liên hệ nhanh (chỉ mobile)
   ========================================================================== */
.tc-quick { display: none; }
@media (max-width: 767px) {
	.tc-quick { position: fixed; right: 14px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
	.tc-quick a {
		display: flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; border-radius: 50%;
		color: var(--tc-text); font-size: 11px; font-weight: 700; text-decoration: none;
		box-shadow: 0 4px 14px rgba(46, 42, 39, .12);
	}
	.tc-quick__zalo { background: var(--tc-sky); }
	.tc-quick__call { background: var(--tc-mint); }
	.tc-quick svg { width: 20px; height: 20px; }
	.tc-has-quick .tc-footer__bottom { padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* Tinh chỉnh trang sản phẩm */
.woocommerce div.product .product_meta .sku_wrapper { display: none; }
.woocommerce table.shop_table .tc-ph__name { font-size: 9px; line-height: 1.2; }
.woocommerce table.shop_table .tc-ph { padding: 6px; }

/* Hình minh họa sản phẩm (inc/art.php) */
.tc-ph--art { padding: 0; overflow: hidden; }
.tc-art { display: block; width: 100%; height: 100%; }
.tc-cat__media .tc-art { width: 100%; height: 100%; max-width: 150px; opacity: 1; }
.tc-art .tc-o  { fill: var(--tc-obj, #FFFDF9); transition: fill .25s ease; }
.tc-art .tc-ol { fill: none; stroke: var(--tc-obj, #FFFDF9); stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s ease; }
.tc-art .tc-s  { fill: rgba(46, 42, 39, .09); }
.tc-art .tc-s2 { fill: rgba(46, 42, 39, .04); }
.tc-art .tc-d  { fill: rgba(46, 42, 39, .2); }
.tc-art .tc-k  { fill: #5E5955; }
.tc-art .tc-kl { fill: none; stroke: #5E5955; stroke-linecap: round; stroke-linejoin: round; }
.tc-art .tc-sl { fill: none; stroke: rgba(46, 42, 39, .12); stroke-linecap: round; stroke-linejoin: round; }
.tc-art .tc-g  { fill: rgba(46, 42, 39, .08); }
