/*
Theme Name: HHC Storefront
Theme URI: https://hhc.vn
Description: Child theme của Storefront cho cửa hàng VLXD — TTNT Huy Hoàng (hhc.vn). Thiết kế hiện đại v2 (2026-11-18): font Be Vietnam Pro, thẻ sản phẩm bo góc + đổ bóng, hero gradient, thanh liên hệ dính trên di động.
Author: Huy Hoàng
Template: storefront
Version: 2.2.0
Text Domain: hhc-storefront
*/

:root {
  --primary-color: #0754A2;
  --primary-dark: #0A4D8C;
  --accent-color: #E52A34;
  --bg-light: #F5F7FA;
  --surface-color: #FFFFFF;
  --text-color: #1C2733;
  --muted-color: #596B7E;
  --border-color: #DFE7F0;
  --zalo-color: #0754A2;
  --font-family: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
  --radius-card: 8px;
  --radius-control: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 16px rgb(10 77 140 / 7%);
  --shadow-menu: 0 18px 48px rgb(10 77 140 / 16%);
  --focus-ring: 0 0 0 3px rgb(7 84 162 / 25%);
  --duration-ui: 180ms;
  --container-width: 1320px;
  --z-header: 100;
  --z-contact: 900;
  --hhc-navy: var(--primary-dark);
  --hhc-blue: var(--primary-color);
  --hhc-blue-dark: var(--primary-dark);
  --hhc-red: var(--accent-color);
  --hhc-zalo: var(--zalo-color);
  --hhc-ink: var(--text-color);
  --hhc-muted: var(--muted-color);
  --hhc-line: var(--border-color);
  --hhc-bg-soft: var(--bg-light);
  --hhc-radius: var(--radius-card);
  --hhc-shadow: var(--shadow-card);
  --hhc-shadow-hover: var(--shadow-menu);
  --hhc-teal: var(--primary-color);
  --hhc-amber: var(--accent-color);

  --legacy-tone-1: rgba(10, 92, 173, .15);
  --legacy-tone-2: #cfe1f2;
  --legacy-tone-3: rgba(11,60,109,.03);
  --legacy-tone-4: #eaf2fa;
  --legacy-tone-5: rgba(255,255,255,.08);
  --legacy-tone-6: #1273c8;
  --legacy-tone-7: #eaf3fc;
  --legacy-tone-8: #d7e7f7;
  --legacy-tone-9: rgba(217,35,35,.35);
  --legacy-tone-10: #000;
  --legacy-tone-11: rgba(255,255,255,.12);
  --legacy-tone-12: rgba(255,255,255,.45);
  --legacy-tone-13: rgba(255,255,255,.22);
  --legacy-tone-14: rgba(255,255,255,.25);
  --legacy-tone-15: #c4dcf3;
  --legacy-tone-16: #c9dcee;
  --legacy-tone-17: #9aa7b4;
  --legacy-tone-18: #0053cc;
  --legacy-tone-19: #b9cddd;
  --legacy-tone-20: #07263f;
  --legacy-tone-21: #b9cee2;
  --legacy-tone-22: #ffd54d;
  --legacy-tone-23: rgba(255,255,255,.14);
  --legacy-tone-24: #8fb0cc;
  --legacy-tone-25: rgba(217,35,35,.4);
  --legacy-tone-26: rgba(11,60,109,.12);
  --legacy-tone-27: #fdecec;
  --legacy-tone-28: #eef5fc;
  --legacy-tone-29: #9fc3ea;
  --legacy-tone-30: rgba(255,255,255,.85);
  --legacy-tone-31: #17b3af;
  --legacy-tone-32: #eef2f6;
  --legacy-tone-33: #f8fafc;
  --legacy-tone-34: #8b98a5;
  --legacy-tone-35: #7d8fa3;
  --legacy-tone-36: #2e9e4f;
  --legacy-tone-37: #0f7c79;
  --legacy-tone-38: rgba(10,46,107,.35);
  --legacy-tone-39: #063b75;
  --legacy-tone-40: #f6f9fc;
  --legacy-tone-41: #edf3f5;
  --legacy-tone-42: #5a6b7c;
  --legacy-tone-43: #bfcede;
  --legacy-tone-44: #eef7ff;
  --legacy-tone-45: #c9d8e4;
  --legacy-tone-46: #718096;
  --legacy-tone-47: #f4f7f9;
  --legacy-tone-48: #91a0ad;
  --legacy-tone-49: #5c7084;
}


/* ===== Biến & nền tảng ===== */

body, button, input, select, textarea {
	font-family: var(--font-family);
	color: var(--hhc-ink);
}
body { background: var(--surface-color); }
a { color: var(--hhc-blue); }
img { border-radius: var(--radius-card); }
h1, h2, h3, h4 { color: var(--hhc-navy); font-weight: 700; letter-spacing: -.01em; }
.button, button, input[type="submit"], .added_to_cart {
	border-radius: var(--radius-card);
	font-weight: 600;
	transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="number"], select, textarea {
	border: 1px solid var(--hhc-line);
	border-radius: var(--radius-card);
	padding: .55em .8em;
	background: var(--surface-color);
}
input:focus, select:focus, textarea:focus { border-color: var(--hhc-blue); outline: none; box-shadow: 0 0 0 3px var(--legacy-tone-1); }

/* ===== Thanh trên cùng ===== */
.hhc-topbar { background: var(--hhc-navy); color: var(--legacy-tone-2); font-size: 12.5px; }
.hhc-topbar .col-full {
	display: flex; justify-content: space-between; align-items: center;
	gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap;
}
.hhc-topbar a { color: var(--hhc-amber); font-weight: 700; text-decoration: none; }
.hhc-topbar .hhc-topbar-hotline { font-size: 13.5px; }

/* ===== Header ===== */
.site-header {
	background: var(--surface-color);
	border-bottom: 1px solid var(--hhc-line);
	box-shadow: 0 1px 0 var(--legacy-tone-3);
	padding-bottom: 0;
	position: relative; z-index: 50;
}
.site-branding .hhc-logo {
	font-size: 31px; font-weight: 800; letter-spacing: -.02em;
	color: var(--hhc-navy); text-decoration: none; line-height: 1.05; display: inline-block;
}
.site-branding .hhc-logo span { color: var(--hhc-red); }
.site-branding .site-description { color: var(--hhc-muted); font-size: 12.5px; margin-top: 3px; }
.site-header .site-search .widget_product_search form,
.site-search form.search-form { position: relative; }
.site-header input[type="search"] {
	border: 2px solid var(--hhc-blue);
	border-radius: var(--radius-pill);
	padding: .62em 1.1em;
	font-size: 14.5px;
	background: var(--surface-color);
}
.site-header .site-search button[type="submit"],
.site-header form.search-form button {
	border-radius: var(--radius-pill);
	background: var(--hhc-blue);
	color: var(--surface-color);
}
.hhc-header-hotline { float: right; text-align: right; margin: 4px 4px 0 0; }
.hhc-header-hotline .hhc-hotline-label {
	display: block; font-size: 11.5px; color: var(--hhc-muted);
	text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}
.hhc-header-hotline .hhc-hotline-number {
	display: block; font-size: 23px; font-weight: 800; color: var(--hhc-red);
	text-decoration: none; line-height: 1.15;
}
.hhc-header-hotline .hhc-zalo-link {
	display: inline-block; font-size: 13px; font-weight: 700; color: var(--hhc-zalo); text-decoration: none;
}

/* Menu ngang */
.storefront-primary-navigation { background: var(--hhc-navy); }
.main-navigation ul li a, .site-header-cart .cart-contents {
	color: var(--legacy-tone-4); font-weight: 600; font-size: 14.5px;
}
.main-navigation ul li a:hover, .site-header-cart .cart-contents:hover { color: var(--surface-color); background: var(--legacy-tone-5); }
.main-navigation ul ul { background: var(--surface-color); box-shadow: var(--hhc-shadow-hover); border-radius: var(--radius-card); }
.main-navigation ul ul li a { color: var(--hhc-ink); }
.main-navigation ul ul li a:hover { color: var(--hhc-blue); background: var(--hhc-bg-soft); }
.woocommerce-breadcrumb { color: var(--hhc-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--hhc-muted); }

/* ===== Trang chủ ===== */
.hhc-hero {
	background: linear-gradient(120deg, var(--hhc-blue-dark) 0%, var(--hhc-blue) 58%, var(--legacy-tone-6) 100%);
	border-radius: var(--radius-card);
	padding: 38px 40px 30px;
	margin: 20px 0 10px;
	color: var(--legacy-tone-7);
	box-shadow: var(--hhc-shadow-hover);
}
.hhc-hero h1 { font-size: 30px; line-height: 1.25; margin: 0 0 10px; color: var(--surface-color); max-width: 720px; }
.hhc-hero p { margin: 0 0 18px; color: var(--legacy-tone-8); font-size: 15.5px; max-width: 680px; }
.hhc-hero p a, .hhc-hero a { color: var(--surface-color); }
.hhc-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hhc-hero-cta a {
	display: inline-block; padding: 12px 22px; border-radius: var(--radius-pill);
	font-weight: 700; font-size: 15px; text-decoration: none;
}
.hhc-hero-cta .hhc-cta-primary { background: var(--hhc-red); color: var(--surface-color); box-shadow: 0 6px 18px var(--legacy-tone-9); }
.hhc-hero-cta .hhc-cta-primary:hover { background: color-mix(in srgb, var(--hhc-red) 78%, var(--legacy-tone-10)); }
.hhc-hero-cta .hhc-cta-ghost { background: var(--legacy-tone-11); color: var(--surface-color); border: 1px solid var(--legacy-tone-12); }
.hhc-hero-cta .hhc-cta-ghost:hover { background: var(--legacy-tone-13); }
.hhc-hero-stats { display: flex; gap: 26px; flex-wrap: wrap; border-top: 1px solid var(--legacy-tone-14); padding-top: 16px; }
.hhc-hero-stats .hhc-stat strong { display: block; font-size: 19px; color: var(--surface-color); line-height: 1.2; }
.hhc-hero-stats .hhc-stat span { font-size: 12.5px; color: var(--legacy-tone-15); }

.hhc-features {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 4px;
}
.hhc-feature {
	display: flex; gap: 12px; align-items: flex-start;
	background: var(--hhc-bg-soft); border: 1px solid var(--hhc-line);
	border-radius: var(--hhc-radius); padding: 14px 16px;
}
.hhc-feature .hhc-feature-ico {
	flex: 0 0 38px; width: 38px; height: 38px; border-radius: var(--radius-pill);
	background: var(--surface-color); border: 1px solid var(--hhc-line);
	display: flex; align-items: center; justify-content: center;
	font-size: 19px; color: var(--hhc-blue);
}
.hhc-feature strong { display: block; font-size: 14.5px; color: var(--hhc-navy); }
.hhc-feature span { font-size: 12.5px; color: var(--hhc-muted); line-height: 1.45; display: block; }

.hhc-section { margin: 34px 0; }
.hhc-section-title {
	font-size: 21px; font-weight: 800; color: var(--hhc-navy);
	margin-bottom: 18px; padding-left: 14px; position: relative; letter-spacing: -.01em;
}
.hhc-section-title::before {
	content: ""; position: absolute; left: 0; top: 3px; bottom: 3px;
	width: 5px; border-radius: var(--radius-card); background: var(--hhc-red);
}

.hhc-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hhc-cat-tile {
	display: flex; flex-direction: column; justify-content: center; gap: 3px;
	min-height: 86px; padding: 16px 18px;
	background: var(--surface-color); border: 1px solid var(--hhc-line); border-radius: var(--hhc-radius);
	text-decoration: none; box-shadow: var(--hhc-shadow);
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.hhc-cat-tile:hover { transform: translateY(-3px); box-shadow: var(--hhc-shadow-hover); border-color: var(--legacy-tone-16); }
.hhc-cat-name { font-weight: 700; color: var(--hhc-navy); font-size: 15.5px; }
.hhc-cat-count { color: var(--hhc-muted); font-size: 12.5px; }
.hhc-cat-tile:hover .hhc-cat-count { color: var(--hhc-red); }

.hhc-brand-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.hhc-brand-chip {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
	min-height: 84px; padding: 12px 8px;
	border: 1px solid var(--hhc-line); border-radius: var(--hhc-radius);
	background: var(--surface-color); color: var(--hhc-ink); font-weight: 600; font-size: 13px;
	text-decoration: none; text-align: center; box-shadow: var(--hhc-shadow);
	transition: transform .16s ease, box-shadow .16s ease;
}
.hhc-brand-chip:hover { transform: translateY(-3px); box-shadow: var(--hhc-shadow-hover); color: var(--hhc-blue); }
.hhc-brand-chip img { max-height: 30px; width: auto; border-radius: 0; }

.hhc-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hhc-news-card {
	border: 1px solid var(--hhc-line); border-radius: var(--hhc-radius);
	background: var(--surface-color); overflow: hidden; box-shadow: var(--hhc-shadow);
	transition: transform .16s ease, box-shadow .16s ease;
	display: flex; flex-direction: column;
}
.hhc-news-card:hover { transform: translateY(-3px); box-shadow: var(--hhc-shadow-hover); }
.hhc-news-card .hhc-news-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--hhc-bg-soft); }
.hhc-news-card .hhc-news-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hhc-news-card .hhc-news-body { padding: 13px 15px 15px; }
.hhc-news-card h3 { font-size: 14.5px; margin: 0 0 6px; line-height: 1.4; }
.hhc-news-card h3 a { color: var(--hhc-navy); text-decoration: none; }
.hhc-news-date { color: var(--legacy-tone-17); font-size: 12px; margin: 0 0 6px; }
.hhc-news-card p { font-size: 13px; color: var(--hhc-muted); margin: 0; line-height: 1.5; }
.hhc-news-empty { color: var(--hhc-muted); font-style: italic; }

/* ===== Thẻ sản phẩm (lưới WooCommerce) ===== */
.woocommerce ul.products { gap: 18px; }
.woocommerce ul.products li.product {
	background: var(--surface-color); border: 1px solid var(--hhc-line); border-radius: var(--hhc-radius);
	padding: 14px 14px 16px; box-shadow: var(--hhc-shadow);
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
	display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px); box-shadow: var(--hhc-shadow-hover); border-color: var(--legacy-tone-16);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; }
.woocommerce ul.products li.product img {
	border-radius: var(--radius-card); margin-bottom: 12px; aspect-ratio: 1/1; object-fit: contain; background: var(--surface-color);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
	font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--hhc-ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 2.9em; padding: 0; margin-bottom: 6px;
}
.woocommerce ul.products li.product .price {
	font-size: 16.5px; font-weight: 800; color: var(--hhc-red); margin-top: auto;
}
.woocommerce ul.products li.product .price del {
	color: var(--legacy-tone-17); font-weight: 500; font-size: 13.5px; margin-right: 6px;
}
.woocommerce ul.products li.product .price ins { background: none; text-decoration: none; }
.woocommerce ul.products li.product .button {
	margin-top: 10px; text-align: center; background: var(--hhc-navy); color: var(--surface-color); border: none;
}
.woocommerce ul.products li.product .button:hover { background: var(--hhc-red); }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
	background: var(--hhc-red); color: var(--surface-color); border: none; font-weight: 700;
	border-radius: var(--radius-pill); padding: .28em .7em; font-size: 12.5px;
	min-height: 0; min-width: 0; line-height: 1.3; top: 10px; left: 10px; right: auto;
}
.price .hhc-lienhe, span.hhc-lienhe { color: var(--hhc-red); font-weight: 700; }

/* Danh mục/shop: toàn chiều rộng, ẩn sidebar (giữ nguyên hành vi cũ) */
.woocommerce #primary, .woocommerce-page #primary { width: 100%; float: none; margin-right: 0; }
.woocommerce #secondary, .woocommerce-page #secondary { display: none; }
.woocommerce .woocommerce-result-count { color: var(--hhc-muted); font-size: 13.5px; }
.woocommerce .woocommerce-ordering select { font-size: 14px; }
.woocommerce nav.woocommerce-pagination ul { border: none; }
.woocommerce nav.woocommerce-pagination ul li { border: 1px solid var(--hhc-line); border-radius: var(--radius-card); margin: 0 3px; overflow: hidden; }
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--hhc-navy); color: var(--surface-color); }

/* ===== Trang chi tiết sản phẩm ===== */
.single-product .product .summary .product_title { font-size: 25px; line-height: 1.3; color: var(--hhc-navy); }
.single-product .product .summary .price { font-size: 26px; font-weight: 800; color: var(--hhc-red); }
.single-product .product .summary .price del { color: var(--legacy-tone-17); font-weight: 500; font-size: 18px; margin-right: 8px; }
.single-product .product .summary .price ins { background: none; text-decoration: none; }
.single-product .woocommerce-product-gallery img { border-radius: var(--hhc-radius); }
.single-product .flex-control-thumbs li img { border-radius: var(--radius-card); }
.single-product .single_add_to_cart_button {
	background: var(--hhc-red) !important; color: var(--surface-color) !important; font-size: 16px;
	padding: .8em 1.6em; border-radius: var(--radius-card);
}
.single-product .single_add_to_cart_button:hover { background: color-mix(in srgb, var(--hhc-red) 78%, var(--legacy-tone-10)) !important; }
.single-product .quantity .qty { border-radius: var(--radius-card); }
.woocommerce-tabs { border-top: 1px solid var(--hhc-line); margin-top: 26px; }
.woocommerce-tabs ul.tabs { border: none; }
.woocommerce-tabs ul.tabs li { border: 1px solid var(--hhc-line); border-radius: var(--radius-card); background: var(--hhc-bg-soft); }
.woocommerce-tabs ul.tabs li.active { background: var(--surface-color); border-bottom-color: var(--surface-color); }
.woocommerce-tabs .panel { line-height: 1.65; }
.woocommerce-tabs .panel table { border-collapse: collapse; width: 100%; }
.woocommerce-tabs .panel table th, .woocommerce-tabs .panel table td {
	border: 1px solid var(--hhc-line); padding: 8px 12px; text-align: left; font-size: 14px;
}
.woocommerce-tabs .panel table tr:nth-child(even) td { background: var(--hhc-bg-soft); }

.hhc-call-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.hhc-call-buttons a {
	display: inline-block; padding: 12px 20px; border-radius: var(--radius-card);
	font-weight: 700; font-size: 15.5px; text-decoration: none; color: var(--surface-color);
	box-shadow: var(--hhc-shadow);
}
.hhc-call-buttons .hhc-btn-call { background: var(--hhc-red); }
.hhc-call-buttons .hhc-btn-call:hover { background: color-mix(in srgb, var(--hhc-red) 78%, var(--legacy-tone-10)); }
.hhc-call-buttons .hhc-btn-zalo { background: var(--hhc-zalo); }
.hhc-call-buttons .hhc-btn-zalo:hover { background: var(--legacy-tone-18); }
.hhc-pay-at-store {
	background: var(--hhc-bg-soft); border: 1px dashed var(--legacy-tone-19); border-radius: var(--radius-card);
	padding: 10px 14px; font-size: 14px;
}

/* ===== Giỏ hàng / thanh toán ===== */
.woocommerce-cart table.shop_table, .woocommerce-checkout table.shop_table {
	border: 1px solid var(--hhc-line); border-radius: var(--hhc-radius); overflow: hidden;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background: var(--hhc-red); border-radius: var(--radius-card); font-size: 16.5px;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: color-mix(in srgb, var(--hhc-red) 78%, var(--legacy-tone-10)); }
.woocommerce-checkout #payment { background: var(--hhc-bg-soft); border-radius: var(--hhc-radius); }
.woocommerce-checkout #place_order { background: var(--hhc-red); border-radius: var(--radius-card); font-size: 16.5px; }
.woocommerce-checkout #place_order:hover { background: color-mix(in srgb, var(--hhc-red) 78%, var(--legacy-tone-10)); }

/* ===== Trang thương hiệu ===== */
.hhc-brand-page-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hhc-brand-page-grid .hhc-brand-chip { min-height: 104px; font-size: 14px; }
.hhc-brand-page-grid .hhc-brand-chip img { max-height: 38px; }
.hhc-brand-page-grid .hhc-brand-count { color: var(--hhc-muted); font-size: 12px; font-weight: 500; }

/* ===== Bài viết ===== */
.single-post .entry-title, .blog .entry-title a, .archive .entry-title a { color: var(--hhc-navy); text-decoration: none; }
.single-post .entry-content { line-height: 1.7; font-size: 16px; }
.single-post .entry-content img { border-radius: var(--radius-card); }
.single-post .entry-content table { border-collapse: collapse; }
.single-post .entry-content table th, .single-post .entry-content table td {
	border: 1px solid var(--hhc-line); padding: 8px 12px;
}

/* ===== Footer ===== */
.site-footer { background: var(--legacy-tone-20); color: var(--legacy-tone-21); margin-top: 20px; }
.site-footer a { color: var(--legacy-tone-22); }
.hhc-footer-info { padding: 26px 0 8px; }
.hhc-footer-info .hhc-company {
	font-size: 17px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; color: var(--surface-color);
	letter-spacing: .01em;
}
.hhc-footer-info p { margin: 0 0 5px; font-size: 14px; }
.hhc-credit { border-top: 1px solid var(--legacy-tone-23); padding: 12px 0 6px; font-size: 12.5px; color: var(--legacy-tone-24); }

/* ===== Thanh liên hệ dính (di động) + nút gọi nổi (máy tính) ===== */
.hhc-sticky-contact { display: none; }
.hhc-float-call {
	position: fixed; right: 18px; bottom: 18px; z-index: 999;
	display: flex; align-items: center; gap: 8px;
	background: var(--hhc-red); color: var(--surface-color); font-weight: 700; font-size: 14.5px;
	padding: 12px 18px; border-radius: var(--radius-pill); text-decoration: none;
	box-shadow: 0 10px 26px var(--legacy-tone-25);
}
.hhc-float-call:hover { background: color-mix(in srgb, var(--hhc-red) 78%, var(--legacy-tone-10)); color: var(--surface-color); }
@media (max-width: 860px) {
	.hhc-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.hhc-news-grid { grid-template-columns: repeat(2, 1fr); }
	.hhc-brand-row { grid-template-columns: repeat(4, 1fr); }
	.hhc-brand-page-grid { grid-template-columns: repeat(3, 1fr); }
	.hhc-features { grid-template-columns: repeat(2, 1fr); }
	.hhc-header-hotline { float: none; text-align: left; margin: 8px 0 0; }
	.hhc-hero { padding: 26px 20px 22px; border-radius: var(--radius-card); }
	.hhc-hero h1 { font-size: 23px; }
	.hhc-float-call { display: none; }
	.hhc-sticky-contact {
		display: grid; grid-template-columns: 1fr 1fr 1fr;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
		background: var(--surface-color); border-top: 1px solid var(--hhc-line);
		box-shadow: 0 -4px 18px var(--legacy-tone-26);
	}
	.hhc-sticky-contact a {
		text-align: center; padding: 11px 4px calc(11px + env(safe-area-inset-bottom));
		font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--hhc-navy);
	}
	.hhc-sticky-contact a.hhc-sticky-call { background: var(--hhc-red); color: var(--surface-color); }
	.hhc-sticky-contact a.hhc-sticky-zalo { color: var(--hhc-zalo); }
	body { padding-bottom: 46px; }
}
@media (max-width: 520px) {
	.hhc-news-grid { grid-template-columns: 1fr; }
	.hhc-brand-row { grid-template-columns: repeat(3, 1fr); }
	.site-branding .hhc-logo { font-size: 25px; }
	.hhc-hero-stats { gap: 16px; }
}

/* ===== Điểm học từ TDM/Hita (18/11) ===== */
.hhc-loop-brand {
	display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
	color: var(--hhc-muted); text-transform: uppercase; margin-bottom: 2px;
}
.hhc-savings {
	display: inline-block; margin: 8px 0 0; padding: 5px 12px;
	background: var(--legacy-tone-27); color: var(--hhc-red); border-radius: var(--radius-pill); font-size: 14px;
}
.hhc-savings strong { font-weight: 800; }
.hhc-trust-row {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0 8px;
}
.hhc-trust-item {
	border: 1px solid var(--hhc-line); border-radius: var(--radius-card); padding: 10px 12px;
	background: var(--hhc-bg-soft);
}
.hhc-trust-item strong { display: block; font-size: 13.5px; color: var(--hhc-navy); }
.hhc-trust-item span { font-size: 12px; color: var(--hhc-muted); line-height: 1.4; display: block; }
@media (min-width: 861px) {
	.hhc-trust-row { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
 * V3 — PHONG CÁCH VUA THIẾT BỊ PREMIUM (vuathietbi.vn), 18/11
 * Phẳng, tối giản: navy đậm + xanh dương tươi + teal, giá đỏ,
 * thẻ trắng viền mỏng bo 10px, nền trang xám rất nhạt.
 * ============================================================ */

body { background: var(--bg-light); }
.site-content { background: transparent; }

/* Thanh trên cùng */
.hhc-topbar { background: var(--hhc-navy); font-size: 12.5px; }
.hhc-topbar a { color: var(--surface-color); }
.hhc-topbar .hhc-topbar-mid { color: var(--legacy-tone-21); }
@media (max-width: 700px) { .hhc-topbar .hhc-topbar-mid { display: none; } }

/* Menu: nền trắng, chữ navy, mục đầu là nút xanh "Danh mục" */
.storefront-primary-navigation { background: var(--surface-color); border-bottom: 1px solid var(--hhc-line); }
.main-navigation ul li a, .site-header-cart .cart-contents { color: var(--hhc-navy); }
.main-navigation ul li a:hover, .site-header-cart .cart-contents:hover { color: var(--hhc-blue); background: var(--legacy-tone-28); }
.main-navigation > div > ul > li:first-child > a,
.main-navigation ul.menu > li:first-child > a {
	background: var(--hhc-blue); color: var(--surface-color) !important; border-radius: var(--radius-pill);
	padding-left: 18px; padding-right: 18px;
}
.main-navigation > div > ul > li:first-child > a:hover { background: var(--hhc-navy); }

/* Hero + cột phải */
.hhc-hero-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-top: 20px; align-items: stretch; }
.hhc-hero-wrap .hhc-hero { margin: 0; border-radius: var(--radius-card); }
.hhc-hero-kicker { font-size: 12.5px; letter-spacing: .14em; font-weight: 700; color: var(--legacy-tone-29); margin: 0 0 8px; }
.hhc-hero-rail { display: flex; flex-direction: column; gap: 12px; }
.hhc-rail-news {
	background: var(--surface-color); border: 1px solid var(--hhc-line); border-radius: var(--radius-card); padding: 16px 18px; flex: 1;
}
.hhc-rail-news h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 10px; color: var(--hhc-navy); }
.hhc-rail-news ul { list-style: none; margin: 0; padding: 0; }
.hhc-rail-news li { padding: 8px 0; border-top: 1px solid var(--hhc-line); }
.hhc-rail-news li:first-child { border-top: none; padding-top: 0; }
.hhc-rail-news a { color: var(--hhc-ink); font-weight: 600; font-size: 13.5px; text-decoration: none; line-height: 1.45; display: block; }
.hhc-rail-news a:hover { color: var(--hhc-blue); }
.hhc-rail-news span { font-size: 11.5px; color: var(--legacy-tone-17); }
.hhc-rail-promo { display: block; border-radius: var(--radius-card); padding: 16px 18px; color: var(--surface-color); text-decoration: none; }
.hhc-rail-promo strong { display: block; font-size: 15.5px; margin-bottom: 3px; color: var(--surface-color); }
.hhc-rail-promo span { font-size: 13px; color: var(--legacy-tone-30); }
.hhc-rail-promo-blue { background: linear-gradient(120deg, var(--hhc-blue), var(--legacy-tone-6)); }
.hhc-rail-promo-teal { background: linear-gradient(120deg, var(--hhc-teal), var(--legacy-tone-31)); }
@media (max-width: 860px) { .hhc-hero-wrap { grid-template-columns: 1fr; } }

/* Dải cam kết */
.hhc-feature { background: var(--surface-color); border-radius: var(--hhc-radius); }
.hhc-feature strong { text-transform: uppercase; font-size: 13.5px; letter-spacing: .02em; }

/* Ô danh mục có ảnh */
.hhc-cat-tile { padding: 0; overflow: hidden; justify-content: flex-start; gap: 0; }
.hhc-cat-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--legacy-tone-32); }
.hhc-cat-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hhc-cat-tile .hhc-cat-name { padding: 12px 16px 0; }
.hhc-cat-tile .hhc-cat-count { padding: 0 16px 14px; }

/* Đầu mục có link xem tất cả */
.hhc-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.hhc-section-more { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Thẻ sản phẩm phẳng kiểu VTB */
.woocommerce ul.products li.product {
	border-radius: var(--hhc-radius); box-shadow: none; padding: 12px 12px 14px;
}
.woocommerce ul.products li.product:hover { transform: none; box-shadow: var(--hhc-shadow-hover); }
.woocommerce ul.products li.product img { background: var(--legacy-tone-33); border-radius: var(--radius-card); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 { color: var(--hhc-navy); font-weight: 700; }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale { border-radius: var(--radius-card); }
.hhc-loop-brand { letter-spacing: .04em; color: var(--hhc-blue); }
.hhc-loop-brand-img { display: block; margin-bottom: 5px; }
.hhc-loop-brand-img img { max-height: 22px; width: auto; border-radius: var(--radius-card); aspect-ratio: auto !important; margin: 0 !important; background: none !important; }
.hhc-loop-sku, .hhc-loop-genuine { display: block; font-size: 12px; color: var(--legacy-tone-34); line-height: 1.5; }
.woocommerce ul.products li.product .button {
	background: var(--surface-color); color: var(--hhc-blue); border: 1px solid var(--legacy-tone-16); font-weight: 700;
}
.woocommerce ul.products li.product .button:hover { background: var(--hhc-blue); color: var(--surface-color); }
.hhc-loop-view { display: block; text-align: center; margin-top: 8px; font-size: 13px; color: var(--legacy-tone-35); text-decoration: none; }
.hhc-loop-view:hover { color: var(--hhc-blue); }

/* Trang chi tiết kiểu VTB */
.single-product .product { background: var(--surface-color); border: 1px solid var(--hhc-line); border-radius: var(--radius-card); padding: 24px; }
.single-product .single_add_to_cart_button { background: var(--hhc-blue) !important; }
.single-product .single_add_to_cart_button:hover { background: var(--hhc-navy) !important; }
.hhc-savings { background: var(--hhc-red); color: var(--surface-color); border-radius: var(--radius-card); padding: 4px 10px; }
.hhc-savings strong { color: var(--surface-color); }
.hhc-call-buttons .hhc-btn-call { background: var(--surface-color); color: var(--hhc-blue); border: 1.5px solid var(--hhc-blue); box-shadow: none; }
.hhc-call-buttons .hhc-btn-call:hover { background: var(--legacy-tone-28); }
.hhc-call-buttons .hhc-btn-zalo { background: var(--surface-color); color: var(--hhc-zalo); border: 1.5px solid var(--hhc-zalo); box-shadow: none; }
.hhc-call-buttons .hhc-btn-zalo:hover { background: var(--legacy-tone-28); }
.hhc-trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; background: var(--legacy-tone-28); border-radius: var(--radius-card); padding: 12px 16px; }
.hhc-trust-item { border: none; background: none; padding: 0; }
.hhc-trust-item strong { display: inline; font-size: 13px; }
.hhc-trust-item strong::before { content: "✓ "; color: var(--legacy-tone-36); }
.hhc-trust-item span { display: inline; font-size: 12.5px; }
.hhc-trust-item span::before { content: " — "; }

/* Banner tư vấn cuối trang chủ */
.hhc-cta-banner {
	display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
	background: linear-gradient(120deg, var(--hhc-navy), var(--hhc-blue));
	border-radius: var(--radius-card); padding: 28px 32px; margin: 10px 0 6px; color: var(--legacy-tone-7);
}
.hhc-cta-banner h2 { color: var(--surface-color); margin: 0 0 6px; font-size: 22px; text-transform: uppercase; letter-spacing: .01em; }
.hhc-cta-banner p { margin: 0; color: var(--legacy-tone-8); max-width: 640px; }
.hhc-cta-zalo {
	background: var(--hhc-teal); color: var(--surface-color); font-weight: 700; text-decoration: none;
	padding: 13px 24px; border-radius: var(--radius-pill); white-space: nowrap;
}
.hhc-cta-zalo:hover { background: var(--legacy-tone-37); color: var(--surface-color); }

/* Chân trang 4 cột */
.hhc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 26px; padding: 30px 0 10px; }
.hhc-footer-col p { margin: 0 0 7px; font-size: 14px; }
.hhc-footer-col ul { list-style: none; margin: 0; padding: 0; }
.hhc-footer-col ul li { margin: 0 0 7px; font-size: 14px; }
.hhc-footer-title { font-weight: 800; text-transform: uppercase; color: var(--surface-color); font-size: 14.5px; margin-bottom: 12px !important; letter-spacing: .04em; }
.hhc-footer-zalo { font-weight: 700; }
@media (max-width: 860px) { .hhc-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hhc-footer-grid { grid-template-columns: 1fr; } }

/* Nút nổi tròn kiểu VTB */
.hhc-float-stack { position: fixed; right: 18px; bottom: 18px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.hhc-float-btn {
	width: 54px; height: 54px; border-radius: var(--radius-pill);
	display: flex; align-items: center; justify-content: center;
	background: var(--hhc-blue); color: var(--surface-color); font-weight: 800; font-size: 13px;
	text-decoration: none; box-shadow: 0 8px 22px var(--legacy-tone-38);
}
.hhc-float-btn:hover { background: var(--hhc-navy); color: var(--surface-color); }
.hhc-float-tel { font-size: 22px; }
@media (max-width: 860px) { .hhc-float-stack { bottom: 64px; } }

/* ============================================================
 * V3.1 — CHỈNH THEO SỐ LIỆU THẬT TỪ MÃ NGUỒN vtb-premium
 * (backup vuathietbi.vn 16/11): --blue var(--primary-color), --navy var(--primary-dark),
 * thanh trên var(--legacy-tone-39), giá trong lưới XANH (giá giảm mới đỏ var(--accent-color)),
 * nút giỏ đặc xanh, chân trang SÁNG var(--legacy-tone-40), hero sáng var(--legacy-tone-41).
 * ============================================================ */

.hhc-topbar { background: var(--legacy-tone-39); }

/* Hero sáng kiểu VTB */
.hhc-hero {
	background: var(--legacy-tone-41); color: var(--hhc-ink);
	box-shadow: none;
}
.hhc-hero::after { display: none; }
.hhc-hero h1 { color: var(--hhc-navy); }
.hhc-hero p { color: var(--legacy-tone-42); }
.hhc-hero p a { color: var(--hhc-blue); }
.hhc-hero-kicker { color: var(--hhc-blue); }
.hhc-cta-primary { background: var(--hhc-blue); color: var(--surface-color); box-shadow: none; }
.hhc-cta-primary:hover { background: var(--legacy-tone-39); color: var(--surface-color); }
.hhc-cta-ghost { background: transparent; color: var(--hhc-blue); border: 1px solid var(--legacy-tone-43); }
.hhc-cta-ghost:hover { background: var(--legacy-tone-44); color: var(--hhc-blue); }
.hhc-stat { border-top-color: var(--legacy-tone-45); }
.hhc-stat strong { color: var(--hhc-navy); }
.hhc-stat span { color: var(--legacy-tone-46); }
.hhc-rail-promo-blue { background: var(--hhc-blue); }
.hhc-rail-promo-teal { background: var(--hhc-teal); }

/* Ô danh mục: ảnh contain trên nền xám nhạt kiểu VTB */
.hhc-cat-thumb { background: var(--legacy-tone-47); aspect-ratio: 16/9; }
.hhc-cat-thumb img { object-fit: contain; mix-blend-mode: multiply; padding: 10px; }

/* Thẻ sản phẩm: giá xanh, giá giảm đỏ, nút đặc xanh */
.woocommerce ul.products li.product .price { color: var(--hhc-blue); font-size: 17px; }
.woocommerce ul.products li.product .price del { display: block; color: var(--legacy-tone-48); font-size: 11.5px; font-weight: 400; }
.woocommerce ul.products li.product .price ins { color: var(--hhc-red); background: none; }
.woocommerce ul.products li.product .button {
	background: var(--hhc-blue); color: var(--surface-color); border: 1px solid var(--hhc-blue);
}
.woocommerce ul.products li.product .button:hover { background: var(--legacy-tone-39); color: var(--surface-color); }
.woocommerce ul.products li.product:hover { transform: translateY(-3px); }
.woocommerce ul.products li.product img { object-fit: contain; }

/* Chân trang SÁNG kiểu VTB */
.site-footer { background: var(--legacy-tone-40); color: var(--legacy-tone-49); border-top: 1px solid var(--hhc-line); }
.site-footer a { color: var(--legacy-tone-49); }
.site-footer a:hover { color: var(--hhc-blue); }
.hhc-company { color: var(--hhc-navy); }
.hhc-footer-title { color: var(--hhc-navy); }
.hhc-credit { border-top-color: var(--hhc-line); color: var(--legacy-tone-46); }
.hhc-footer-zalo { color: var(--hhc-blue) !important; }

/* Biến gốc đặt sau phần khai báo Theme Name ở đầu style.css.
 * Các biến hhc-* nối giao diện cũ với bộ màu mới; chỉnh các biến chính tại đây. */


/* Nền tảng của Lượt 1; các khối Hero, cam kết và danh mục giữ CSS đang chạy. */
body.hhc-l1, .hhc-l1 button, .hhc-l1 input, .hhc-l1 select, .hhc-l1 textarea { font-family: var(--font-family); }
body.hhc-l1 { background: var(--bg-light); padding-bottom: 0; }
.hhc-l1 .storefront-handheld-footer-bar { display: none; }
.hhc-shell { width: min(var(--container-width), calc(100% - 40px)); margin-inline: auto; }
.hhc-l1-header *, .hhc-l1-topbar *, .hhc-contact * { box-sizing: border-box; }
.hhc-l1-header [hidden], .hhc-contact [hidden], .hhc-l1 [hidden].hhc-variation-quote,
.hhc-l1 .woocommerce-variation-add-to-cart[hidden] { display: none !important; }
.hhc-l1-header a, .hhc-l1-topbar a, .hhc-contact a { text-decoration: none; }
.hhc-l1-header a:focus-visible, .hhc-l1-header button:focus-visible, .hhc-contact a:focus-visible,
.hhc-contact button:focus-visible, .hhc-l1-topbar a:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }

/* Thanh cam kết và thông tin đầu trang. */
.hhc-l1-topbar { background: var(--primary-dark); color: var(--surface-color); font-size: 12px; }
.hhc-l1-topbar .hhc-shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; padding-block: 7px; }
.hhc-l1-topbar a { color: var(--surface-color); }
.hhc-l1-header { position: relative; z-index: var(--z-header); background: var(--surface-color); border-bottom: 1px solid var(--border-color); }
.hhc-header-main { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(260px, 1.5fr) auto; align-items: center; gap: 28px; padding-block: 23px; }
.hhc-header-brand { min-width: 0; }
.hhc-wordmark { display: inline-block; color: var(--primary-dark); font-size: 27px; line-height: 1.15; font-weight: 800; letter-spacing: -.8px; }
.hhc-wordmark span { display: block; color: var(--accent-color); font-size: 14px; letter-spacing: 2px; margin-top: 5px; }
.hhc-header-brand p { margin: 9px 0 0; font-size: 11px; color: var(--muted-color); }
.hhc-header-brand .custom-logo { width: auto; max-width: 240px; max-height: 70px; object-fit: contain; border-radius: 0; }
.hhc-header-search { display: flex; align-items: stretch; border: 2px solid var(--primary-color); border-radius: var(--radius-control); margin: 0; background: var(--surface-color); min-width: 0; }
.hhc-header-search:focus-within { box-shadow: var(--focus-ring); }
.hhc-header-search input[type="search"] { flex: 1; min-width: 0; width: 100%; border: 0; border-radius: var(--radius-control); box-shadow: none; padding: 13px 15px; font-size: 13px; background: var(--surface-color); color: var(--text-color); }
.hhc-header-search button { background: var(--primary-color); color: var(--surface-color); border: 0; margin: 3px; border-radius: var(--radius-control) !important; padding: 9px 15px; font-size: 13px; white-space: nowrap; }
.hhc-header-actions { display: flex; gap: 20px; align-items: center; }
.hhc-header-phone small { display: block; font-size: 11px; color: var(--muted-color); }
.hhc-header-phone strong { display: block; color: var(--primary-dark); font-size: 19px; white-space: nowrap; }
.hhc-header-cart { color: var(--primary-color); font-size: 13px; font-weight: 700; border-left: 1px solid var(--border-color); padding-left: 18px; white-space: nowrap; }

/* Một danh sách menu, đủ rộng để nhóm ngành dài không đẩy tràn màn hình. */
.hhc-nav-bar { background: var(--primary-color); }
.hhc-nav-inner { position: relative; }
.hhc-primary-nav ul { list-style: none; margin: 0; padding: 0; }
.hhc-primary-menu { display: flex; align-items: stretch; flex-wrap: wrap; }
.hhc-primary-menu > li { display: flex; align-items: stretch; flex: 1 1 auto; position: static; }
.hhc-primary-menu > li > a { display: flex; align-items: center; flex: 1; padding: 15px 10px; color: var(--surface-color); font-size: 12px; font-weight: 600; line-height: 1.45; }
.hhc-primary-menu > li:hover, .hhc-primary-menu > li.is-open, .hhc-primary-menu > .current-menu-item { background: var(--primary-dark); }
.hhc-l1-header .hhc-submenu-toggle { padding: 0; margin: 0; width: 28px; min-width: 28px; background: transparent; color: var(--surface-color); border: 0; border-radius: var(--radius-control) !important; box-shadow: none; }
.hhc-submenu-toggle span { display: inline-block; transition: transform var(--duration-ui) ease; }
.hhc-submenu-toggle[aria-expanded="true"] > span { transform: rotate(180deg); }
.hhc-primary-menu .menu-item { min-width: 0; }
.hhc-primary-menu a { overflow-wrap: anywhere; }

/* Mega Menu Desktop: mỗi mục cấp hai tạo thành một cột, tự xuống hàng sau cột 4. */
@media (min-width: 1200px) {
  .hhc-l1-header .hhc-nav-toggle { display: none; }
  .hhc-primary-menu > li > .sub-menu { position: absolute; inset-inline: 0; top: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 28px; max-height: min(70vh, 640px); overflow-y: auto; background: var(--surface-color); border: 1px solid var(--border-color); border-top: 3px solid var(--accent-color); border-radius: 0 0 var(--radius-card) var(--radius-card); box-shadow: var(--shadow-menu); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--duration-ui) ease, transform var(--duration-ui) ease, visibility var(--duration-ui); }
  .hhc-primary-menu > li.is-open > .sub-menu,
  .hhc-l1-header:not(.is-enhanced) .hhc-primary-menu > li:hover > .sub-menu,
  .hhc-l1-header:not(.is-enhanced) .hhc-primary-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .hhc-primary-menu > li > .sub-menu > li > a { display: block; padding: 0 0 10px; margin-bottom: 7px; border-bottom: 1px solid var(--border-color); color: var(--primary-dark); font-weight: 700; font-size: 14px; }
  .hhc-primary-menu .sub-menu .sub-menu { display: block; position: static; }
  .hhc-primary-menu .sub-menu .sub-menu a { display: block; color: var(--muted-color); font-size: 13px; padding: 8px 0; line-height: 1.5; }
  .hhc-primary-menu .sub-menu .sub-menu .sub-menu { padding-left: 14px; border-left: 1px solid var(--border-color); }
  .hhc-primary-menu .sub-menu a:hover { color: var(--primary-color); }
  .hhc-primary-menu .sub-menu .hhc-submenu-toggle { display: none; }
}

/* Accordion Tablet/Mobile: link cha và nút mở con độc lập, vùng bấm ít nhất 44px. */
@media (max-width: 1199px) {
  .hhc-header-main { grid-template-columns: 1fr auto; gap: 18px; }
  .hhc-header-search { grid-row: 2; grid-column: 1 / -1; }
  .hhc-l1-header .hhc-nav-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 0; min-height: 48px; background: transparent; color: var(--surface-color); border: 0; font-size: 14px; }
  .hhc-l1-header.is-enhanced .hhc-primary-nav:not(.is-expanded) { display: none; }
  .hhc-primary-menu { display: block; padding-bottom: 10px; max-height: 65vh; overflow-y: auto; overscroll-behavior: contain; }
  .hhc-primary-menu > li, .hhc-primary-menu .sub-menu li { display: flex; flex-wrap: wrap; position: relative; align-items: stretch; }
  .hhc-primary-menu li > a { flex: 1; min-width: 0; display: flex; align-items: center; min-height: 48px; padding: 11px 12px; color: var(--surface-color); font-size: 14px; }
  .hhc-l1-header .hhc-submenu-toggle { width: 48px; min-width: 48px; min-height: 48px; }
  .hhc-primary-menu .sub-menu { flex-basis: 100%; background: var(--surface-color); padding: 7px 10px; border-radius: var(--radius-card); margin-bottom: 5px; }
  .hhc-primary-menu .sub-menu a { color: var(--text-color); }
  .hhc-primary-menu .sub-menu .hhc-submenu-toggle { color: var(--primary-color); }
  .hhc-primary-menu .sub-menu .sub-menu { border-left: 2px solid var(--border-color); border-radius: 0; margin-left: 12px; flex-basis: calc(100% - 12px); }
  .hhc-l1-header.is-enhanced .hhc-primary-menu li:not(.is-open) > .sub-menu { display: none; }
}

/* Một nút liên hệ duy nhất, có tính vùng an toàn trên điện thoại. */
.hhc-contact { position: fixed; z-index: var(--z-contact); right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); font-family: var(--font-family); }
.hhc-contact .hhc-contact-toggle, .hhc-contact-fallback { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 19px; background: var(--primary-color); color: var(--surface-color); border: 2px solid var(--surface-color); border-radius: var(--radius-pill) !important; box-shadow: var(--shadow-menu); font-size: 14px; font-weight: 700; }
.hhc-contact-toggle > span:first-child { font-size: 23px; line-height: 1; }
.hhc-contact-options { position: absolute; bottom: calc(100% + 12px); right: 0; width: min(320px, calc(100vw - 32px)); padding: 12px; background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-card); box-shadow: var(--shadow-menu); max-height: calc(100dvh - 120px); overflow-y: auto; }
.hhc-contact-title { color: var(--primary-dark); font-size: 13px; font-weight: 700; margin: 0; padding: 6px 8px 12px; }
.hhc-contact-options a { display: block; padding: 12px 10px; color: var(--text-color); border-top: 1px solid var(--border-color); border-radius: var(--radius-control); min-height: 48px; }
.hhc-contact-options a:hover { background: var(--bg-light); }
.hhc-contact-options strong { display: block; font-size: 14px; color: var(--primary-color); }
.hhc-contact-options span { display: block; color: var(--muted-color); font-size: 12px; line-height: 1.6; padding-top: 3px; }

/* Giá báo giá/SKU: giữ nguyên số tiền, thuế và định dạng tiền của WooCommerce. */
.hhc-l1 .price, .hhc-l1 .hhc-quote-price, .hhc-l1 .hhc-from-price { color: var(--accent-color) !important; font-weight: 700; }
.hhc-quote-price { display: inline-block; }
.hhc-loop-sku { display: block; color: var(--muted-color); font-size: 12px; margin-block: 6px; }
.hhc-quote-note { display: block; color: var(--muted-color); font-size: 11px; font-weight: 400; }
.hhc-l1 a.button.hhc-quote-zalo { background: var(--zalo-color); color: var(--surface-color); border-radius: var(--radius-control) !important; }
.hhc-quote-actions, .hhc-variation-quote { margin-block: 16px; }

@media (max-width: 600px) {
  .hhc-shell { width: calc(100% - 28px); }
  .hhc-l1-topbar { font-size: 10px; }
  .hhc-l1-topbar .hhc-shell { gap: 10px; flex-wrap: wrap; }
  .hhc-topbar-delivery { display: none; }
  .hhc-header-main { padding-block: 16px; gap: 14px; }
  .hhc-wordmark { font-size: 23px; }
  .hhc-header-brand p, .hhc-header-phone { display: none; }
  .hhc-header-cart { font-size: 12px; border: 0; padding: 0; }
  .hhc-header-search input[type="search"] { font-size: 16px; padding: 11px 10px; }
  .hhc-header-search button { font-size: 12px; padding-inline: 10px; }
  .hhc-contact { right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); }
  .hhc-contact .hhc-contact-toggle { min-height: 48px; padding: 9px 14px; font-size: 12px; }
}

/* Tôn trọng lựa chọn giảm chuyển động và giữ bản in gọn. */
@media (prefers-reduced-motion: reduce) {
  .hhc-l1-header *, .hhc-contact * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print { .hhc-contact, .hhc-nav-bar, .hhc-header-search { display: none !important; } }
