/*!
 * Điều hòa tốt – main stylesheet (mobile-first, viết tay, không phụ thuộc CSS WooCommerce).
 * Phong cách: catalogue kỹ thuật HVAC – nền trắng chủ đạo, tiêu đề lớn nét mảnh,
 * góc tam giác (clip-path), chip/badge, bảng thông số zebra đầu xanh, huy hiệu số liệu.
 * Breakpoints: 480 · 768 · 1024 · 1280.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	/* Token theo hệ thiết kế catalogue HVAC (cobalt/navy/cyan khí) – giữ đỏ cho giá. */
	--primary-50: #EEF6FB;
	--primary-100: #DCEFF7;   /* aqua-100: panel thông tin */
	--primary-200: #9FC3EC;
	--primary-500: #2F6BDB;   /* blue-500: nhấn sáng */
	--primary-600: #1E3FA6;   /* blue-600: cobalt – màu chính */
	--primary-700: #18348C;   /* hover */
	--primary-900: #14307F;   /* blue-700: navy – tiêu đề */
	--cyan-400: #5BB8E8;      /* luồng khí lạnh */
	--accent-red: #D7261E;    /* giá bán, giảm giá */
	--accent-red-600: #B71F18;
	--accent-yellow: #FFC93C;
	--success: #15803D;
	--success-700: #116632;
	--zalo: #0068FF;
	--neutral-900: #1B1C22;   /* ink-900 */
	--neutral-800: #2B2D33;
	--neutral-700: #3A3E48;
	--neutral-500: #555A66;   /* ink-600 */
	--neutral-300: #C9CED6;   /* line-300 */
	--neutral-200: #E1E4EA;
	--neutral-100: #EEF0F4;
	--neutral-50: #F3F5F8;    /* zebra-50 */
	--grey-chip: #8A8F98;
	/* Mã màu theo dòng sản phẩm */
	--magenta-600: #B0237F;
	--orange-500: #E8731A;
	--charcoal-800: #2B2D33;
	--green-500: #5E8C1B;     /* R32 (tối hơn bản in để đạt AA trên nền trắng) */
	--family: var(--primary-600);
	--family-2: var(--primary-500);
	--white: #FFFFFF;

	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: ui-monospace, "JetBrains Mono", Consolas, "Liberation Mono", monospace;

	--r-xs: 4px;
	--r-sm: 6px;
	--r-btn: 8px;
	--r-md: 12px;
	--r-lg: 16px;
	--r-full: 999px;

	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
	--shadow-md: 0 6px 16px rgba(15, 23, 42, .08);
	--shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);

	--container: 1280px;
	--gutter: 16px;
	--gap: 12px;
	--section: 32px;
	--header-h: 60px;
	--bottom-bar-h: 0px;
	--tri: polygon(0 0, 100% 0, 0 100%);
	--tri-r: polygon(0 0, 100% 0, 100% 100%);
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
	:root { --gutter: 24px; --gap: 16px; }
}
@media (min-width: 1024px) {
	:root { --gap: 24px; --section: 48px; }
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--neutral-700);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 16px; } }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; border-style: none; vertical-align: middle; }
a { color: var(--primary-700); text-decoration: none; }
a:hover { color: var(--primary-600); text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--neutral-900); line-height: 1.25; font-weight: 600; }
h1 { font-size: 26px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
@media (min-width: 768px) {
	h1 { font-size: 32px; }
	h2 { font-size: 26px; }
	h3 { font-size: 20px; }
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--neutral-200); margin: 24px 0; }
abbr[title] { text-decoration: none; color: var(--accent-red); }
small { font-size: 13px; }
strong, b { font-weight: 600; }
::selection { background: var(--primary-100); color: var(--neutral-900); }

:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; border-radius: 2px; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }

.sr-only, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--primary-900); color: #fff; border-radius: var(--r-btn); font-weight: 600;
}
.skip-link:focus { top: 8px; color: #fff; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--neutral-500); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { display: block; min-height: 50vh; outline: 0; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--alt { background: var(--neutral-50); }
.page-wrap { padding-bottom: var(--section); }
.page-wrap--narrow { max-width: 880px; margin-inline: auto; }
.page-wrap--woo { padding-bottom: var(--section); }

/* ==========================================================================
   3. Buttons, chips, badges
   ========================================================================== */
.btn, .button, button.button, a.button, input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--r-btn);
	background: var(--primary-600); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.2;
	text-align: center; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:hover, .button:hover { background: var(--primary-700); color: #fff; text-decoration: none; }
.btn:focus-visible, .button:focus-visible { outline: 2px solid var(--primary-200); outline-offset: 2px; }
.btn[disabled], .button[disabled], .button.disabled, .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn .icon, .button .icon { width: 18px; height: 18px; }
.btn small { display: block; font-size: 12px; font-weight: 400; opacity: .9; }
.btn span { display: inline-flex; flex-direction: column; align-items: center; }
.btn-primary { background: var(--primary-600); color: #fff; }
.btn-buy, .button.alt, .checkout-button, #place_order {
	background: var(--accent-red); border-color: var(--accent-red); color: #fff;
}
.btn-buy:hover, .button.alt:hover, .checkout-button:hover, #place_order:hover { background: var(--accent-red-600); border-color: var(--accent-red-600); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: var(--success-700); color: #fff; }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-zalo:hover { background: #0057d6; color: #fff; }
.btn-outline { background: #fff; border-color: var(--primary-600); color: var(--primary-700); }
.btn-outline:hover { background: var(--primary-50); color: var(--primary-700); }
.btn-ghost { background: transparent; color: var(--neutral-700); border-color: var(--neutral-300); }
.btn-ghost:hover { background: var(--neutral-100); color: var(--neutral-900); }
.btn-light { background: #fff; color: var(--primary-700); border-color: #fff; }
.btn-light:hover { background: var(--primary-50); color: var(--primary-700); }
.btn-sm, .button.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 0; width: 44px; min-width: 44px; }
.btn-call-sm { width: 36px; min-width: 36px; min-height: 36px; padding: 0; background: #fff; color: var(--success); border-color: var(--success); }
.btn-call-sm:hover { background: var(--success); color: #fff; }
.button.loading, .btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.button.loading::after, .btn.is-loading::after {
	content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent;
	border-radius: 50%; animation: dht-spin .7s linear infinite;
}
.btn-outline.is-loading::after { border-color: var(--primary-600); border-right-color: transparent; }
@keyframes dht-spin { to { transform: rotate(360deg); } }

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	padding: 0; border: 0; border-radius: var(--r-btn); background: transparent; color: inherit;
}
.icon-btn:hover { background: var(--neutral-100); }
.icon-btn .icon { width: 22px; height: 22px; }

.chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px;
	border: 1px solid var(--neutral-200); border-radius: var(--r-sm); background: #fff;
	color: var(--neutral-700); font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap;
	transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--primary-600); color: var(--primary-700); text-decoration: none; }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.chip .icon { width: 14px; height: 14px; }
.chip--active { background: var(--primary-50); border-color: var(--primary-200); color: var(--primary-700); }
.chip--cat { min-height: 26px; padding: 3px 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; background: var(--primary-50); border-color: transparent; color: var(--primary-700); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: thin; }
.chip-row--center { justify-content: center; flex-wrap: wrap; overflow: visible; }

.badge {
	display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--r-xs);
	font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; text-transform: uppercase;
	background: var(--neutral-800); color: #fff;
}
.badge--discount { background: var(--accent-red); }
.badge--hot { background: var(--accent-yellow); color: var(--neutral-900); }
.badge--sale { background: var(--accent-red); }
.badge--new { background: var(--success); }
.badge--info { background: var(--primary-900); }
.badge--inverter { background: var(--primary-600); }

/* ==========================================================================
   4. Forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"],
input[type="password"], input[type="url"], input[type="date"], .input-text, select, textarea {
	width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--neutral-300);
	border-radius: var(--r-sm); background: #fff; color: var(--neutral-900); font-size: 15px; line-height: 1.4;
	transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
select {
	padding-right: 36px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus, .input-text:focus { outline: 0; border-color: var(--primary-600); box-shadow: 0 0 0 3px var(--primary-100); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--primary-600); vertical-align: middle; margin: 0 6px 0 0; }
label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; color: var(--neutral-800); }
::placeholder { color: var(--neutral-500); opacity: 1; }
input[type="number"]::-webkit-inner-spin-button { opacity: 1; }

.form-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 12px; }
@media (min-width: 480px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { margin: 0; }
.form-note { margin: 8px 0 0; font-size: 13px; color: var(--neutral-500); }
.form-msg { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; background: var(--primary-50); color: var(--primary-900); }
.form-msg.is-success { background: #E7F6EC; color: var(--success-700); border-left: 4px solid var(--success); }
.form-msg.is-error { background: #FDECEC; color: var(--accent-red-600); border-left: 4px solid var(--accent-red); }
.dht-form .btn[type="submit"] { margin-top: 4px; }

.search-form { position: relative; display: flex; align-items: stretch; width: 100%; }
.search-form input[type="search"] { padding-right: 52px; border-radius: var(--r-btn); }
.search-form__btn {
	position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: var(--r-sm); background: var(--primary-600); color: #fff;
}
.search-form__btn:hover { background: var(--primary-700); }
.search-form--lg input[type="search"] { min-height: 52px; font-size: 16px; }

.switch { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; font-weight: 500; }

/* ==========================================================================
   5. Top bar & header
   ========================================================================== */
.topbar { display: none; background: var(--primary-900); color: #DCEAF5; font-size: 13px; }
@media (min-width: 1024px) { .topbar { display: block; } }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__usps { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.topbar__usps li { display: inline-flex; align-items: center; gap: 6px; }
.topbar__usps .icon { width: 14px; height: 14px; color: var(--primary-200); }
.topbar__menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.topbar__menu a { display: inline-block; padding: 6px 10px; color: #DCEAF5; }
.topbar__menu a:hover { color: #fff; }
.topbar__menu li + li a { border-left: 1px solid rgba(255, 255, 255, .18); }

.site-header {
	position: sticky; top: 0; z-index: 60; background: #fff;
	box-shadow: 0 1px 0 var(--neutral-200);
	transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-main { position: relative; }
.header-main::before {
	/* Góc tam giác chữ ký. */
	content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 56px;
	background: var(--primary-600); clip-path: var(--tri); pointer-events: none;
}
@media (min-width: 1024px) { .header-main::before { width: 84px; height: 84px; } }
.header-main__inner { position: relative; display: flex; align-items: center; gap: 8px; min-height: 60px; }
@media (min-width: 1024px) {
	.header-main__inner { gap: 24px; min-height: 84px; transition: min-height .2s; }
	.site-header.is-compact .header-main__inner { min-height: 64px; }
}
.header-burger { margin-left: -8px; color: var(--neutral-900); position: relative; z-index: 1; }
@media (min-width: 1024px) { .header-burger { display: none; } }

.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--primary-900); text-decoration: none; flex: 0 0 auto; }
.site-logo:hover { text-decoration: none; color: var(--primary-900); }
.site-logo__mark { width: 36px; height: 36px; }
.site-logo__bg { fill: var(--primary-600); }
.site-logo__fg { stroke: #fff; }
.site-logo__text { display: flex; flex-direction: column; font-size: 19px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.site-logo__text small { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--neutral-500); margin-top: 3px; }
.site-logo--photo img { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.site-logo--custom img { display: block; max-height: 48px; width: auto; }
.site-logo--footer { color: #fff; }
.site-logo--footer:hover { color: #fff; }
.site-logo--footer .site-logo__bg { fill: #fff; }
.site-logo--footer .site-logo__fg { stroke: var(--primary-600); }
.site-logo--footer .site-logo__text small { color: rgba(255, 255, 255, .7); }
@media (max-width: 1023.98px) {
	.header-main__inner > .site-logo, .header-main__inner > .site-logo--custom { flex: 1 1 auto; justify-content: center; }
	.site-logo__text small { display: none; }
	.site-logo__mark { width: 32px; height: 32px; }
	.site-logo__text { font-size: 17px; }
}
@media (min-width: 1024px) {
	.site-logo__mark { width: 44px; height: 44px; }
	.site-logo__text { font-size: 22px; }
	.site-logo--photo img { height: 52px; }
}

.header-search { display: none; }
.site-header.is-search-open .header-search {
	display: block; position: absolute; left: 0; right: 0; top: 100%;
	padding: 10px var(--gutter); background: #fff; border-top: 1px solid var(--neutral-200); box-shadow: var(--shadow-md);
}
@media (min-width: 1024px) {
	.header-search, .site-header.is-search-open .header-search {
		display: block; position: relative; top: auto; flex: 1 1 auto; max-width: 620px; padding: 0; border: 0; box-shadow: none;
	}
}
.search-form--header input[type="search"] { background: var(--neutral-50); border-color: var(--neutral-200); min-height: 46px; }
.search-form--header input[type="search"]:focus { background: #fff; }

.search-suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; max-height: 70vh; overflow: auto;
	background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 6px;
}
.search-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); color: var(--neutral-900); text-decoration: none; }
.search-suggest__item:hover, .search-suggest__item.is-active { background: var(--primary-50); text-decoration: none; color: var(--neutral-900); }
.search-suggest__item img { width: 48px; height: 48px; object-fit: contain; background: var(--neutral-50); border-radius: var(--r-sm); flex: 0 0 48px; }
.search-suggest__body { display: flex; flex-direction: column; min-width: 0; }
.search-suggest__title { font-size: 14px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-suggest__meta { font-size: 12px; color: var(--neutral-500); font-family: var(--font-mono); }
.search-suggest__price { font-size: 14px; font-weight: 700; color: var(--accent-red); }
.search-suggest__all { display: block; padding: 10px; text-align: center; font-weight: 600; border-top: 1px solid var(--neutral-200); margin-top: 4px; }
.search-suggest__empty { padding: 12px; color: var(--neutral-500); font-size: 14px; margin: 0; }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; position: relative; z-index: 1; }
@media (max-width: 1023.98px) { .header-actions { margin-left: 0; } }
@media (min-width: 1024px) { .header-actions { gap: 16px; } .header-search-toggle { display: none; } }
.header-hotline { display: none; align-items: center; gap: 10px; color: var(--neutral-900); text-decoration: none; }
.header-hotline:hover { text-decoration: none; color: var(--primary-700); }
@media (min-width: 1024px) { .header-hotline { display: inline-flex; } }
.header-hotline__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
	border-radius: 50%; background: var(--success); color: #fff;
}
.header-hotline__text { display: flex; flex-direction: column; line-height: 1.15; }
.header-hotline__text strong { font-size: 18px; font-weight: 700; color: var(--accent-red); letter-spacing: .01em; }
.header-hotline__text small { font-size: 12px; color: var(--neutral-500); }
.header-cart { display: inline-flex; align-items: center; gap: 8px; padding: 6px; border-radius: var(--r-btn); color: var(--neutral-900); text-decoration: none; }
.header-cart:hover { background: var(--neutral-100); text-decoration: none; color: var(--neutral-900); }
.header-cart__icon { position: relative; display: inline-flex; }
.header-cart__icon .icon { width: 26px; height: 26px; }
.header-cart__label { display: none; font-size: 14px; font-weight: 600; }
@media (min-width: 1024px) { .header-cart { padding: 8px 14px; border: 1px solid var(--neutral-200); } .header-cart__label { display: inline; } }
.cart-badge {
	position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: var(--r-full); background: var(--accent-red); color: #fff; font-size: 11px; font-weight: 700;
	line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff;
}
.cart-badge[data-count="0"] { display: none; }

/* ---------- Main nav (desktop) ---------- */
.main-nav { display: none; background: var(--primary-600); color: #fff; }
@media (min-width: 1024px) { .main-nav { display: block; } }
.main-nav__inner { position: relative; display: flex; align-items: stretch; gap: 4px; }
.nav-menu { display: flex; flex: 1 1 auto; align-items: stretch; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.nav-menu > li { position: relative; display: flex; }
.nav-menu > li.has-mega { position: static; }
.nav-menu > li > .nav-link {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	padding: 8px 8px; min-height: 58px; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2;
	text-align: center; text-decoration: none; white-space: nowrap; transition: background-color .15s;
}
@media (min-width: 1280px) { .nav-menu > li > .nav-link { padding: 8px 12px; font-size: 14px; } }
.nav-menu > li > .nav-link .icon { width: 22px; height: 22px; opacity: .9; }
.nav-menu > li:hover > .nav-link, .nav-menu > li:focus-within > .nav-link, .nav-menu > li.is-open > .nav-link,
.nav-menu > li > .nav-link[aria-current="page"], .nav-menu > li.current-menu-item > .nav-link, .nav-menu > li.current-menu-ancestor > .nav-link {
	background: var(--primary-700); color: #fff;
}
.nav-menu > li + li > .nav-link { position: relative; }
.nav-menu > li + li > .nav-link::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: rgba(255, 255, 255, .18); }
.main-nav .sub-toggle { display: none; }

.dropdown, .mega {
	position: absolute; top: 100%; z-index: 65; display: none; color: var(--neutral-700);
	background: #fff; border: 1px solid var(--neutral-200); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow-lg);
}
.nav-menu > li:hover > .dropdown, .nav-menu > li:focus-within > .dropdown, .nav-menu > li.is-open > .dropdown,
.nav-menu > li:hover > .mega, .nav-menu > li:focus-within > .mega, .nav-menu > li.is-open > .mega { display: block; animation: dht-drop .16s var(--ease); }
@keyframes dht-drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dropdown { left: 0; min-width: 240px; margin: 0; padding: 8px; list-style: none; }
.nav-menu > li:nth-last-child(-n+3) > .dropdown { left: auto; right: 0; }
.dropdown:has(> li:nth-child(8)) { display: none; min-width: 420px; }
.nav-menu > li:hover > .dropdown:has(> li:nth-child(8)), .nav-menu > li:focus-within > .dropdown:has(> li:nth-child(8)), .nav-menu > li.is-open > .dropdown:has(> li:nth-child(8)) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
.dropdown li { position: relative; }
.dropdown .nav-link { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-sm); color: var(--neutral-800); font-size: 14px; text-decoration: none; }
.dropdown .nav-link:hover, .dropdown .nav-link[aria-current="page"] { background: var(--primary-50); color: var(--primary-700); text-decoration: none; }
.dropdown .sub-menu { margin: 0 0 4px 12px; padding: 0 0 0 8px; list-style: none; border-left: 2px solid var(--primary-100); }
.dropdown .sub-menu .nav-link { padding: 5px 10px; font-size: 13px; color: var(--neutral-700); }

.mega { left: 0; right: 0; }
.mega__inner { display: grid; grid-template-columns: 1fr 260px; gap: 24px; padding: 24px; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.mega__title {
	margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--neutral-200);
	font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-700);
}
.mega__col ul { margin: 0; padding: 0; list-style: none; }
.mega__col a { display: block; padding: 5px 0; color: var(--neutral-800); font-size: 14px; }
.mega__col a:hover { color: var(--primary-700); }
.mega__col small { color: var(--neutral-500); font-size: 12px; }
.mega__promo {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; overflow: hidden;
	border-radius: var(--r-md); background: linear-gradient(140deg, var(--primary-900), var(--primary-600)); color: #fff;
}
.mega__promo::after { content: ""; position: absolute; right: 0; top: 0; width: 70px; height: 70px; background: rgba(255, 255, 255, .12); clip-path: var(--tri-r); }
.mega__promo-kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-200); }
.mega__promo-title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.mega__promo .btn { align-self: flex-start; }
.mega__all { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 14px; }
.mega__all:hover { color: #fff; }
.mega__all .icon { width: 16px; height: 16px; }

/* ---------- Category dropdown & list ---------- */
.cat-dropdown { position: relative; flex: 0 0 auto; display: flex; }
.cat-dropdown__btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-width: 200px; border: 0;
	background: var(--primary-900); color: #fff; font-weight: 600; font-size: 14px;
}
.cat-dropdown__btn .icon-chevron-down { width: 16px; height: 16px; margin-left: auto; transition: transform .2s; }
.cat-dropdown__panel {
	position: absolute; left: 0; top: 100%; z-index: 66; display: none; width: 300px;
	background: #fff; border: 1px solid var(--neutral-200); border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow-lg);
}
.cat-dropdown:hover .cat-dropdown__panel, .cat-dropdown:focus-within .cat-dropdown__panel, .cat-dropdown.is-open .cat-dropdown__panel { display: block; }
.cat-dropdown.is-open .cat-dropdown__btn .icon-chevron-down { transform: rotate(180deg); }
.cat-list { margin: 0; padding: 6px; list-style: none; }
.cat-list a {
	display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm);
	color: var(--neutral-800); font-size: 14px; font-weight: 500; text-decoration: none;
}
.cat-list a:hover, .cat-list li:hover > a { background: var(--primary-50); color: var(--primary-700); text-decoration: none; }
.cat-list a > .icon:first-child { width: 20px; height: 20px; color: var(--primary-600); }
.cat-list a > span { flex: 1 1 auto; }
.cat-list .cat-list__chev { width: 14px; height: 14px; color: var(--neutral-300); }

/* ---------- Drawers ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .25s; }
.drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 380px); display: flex; flex-direction: column;
	background: #fff; box-shadow: var(--shadow-lg); transform: translateX(-100%); transition: transform .28s var(--ease);
}
.drawer--right .drawer__panel { left: auto; right: 0; width: min(92vw, 420px); transform: translateX(100%); }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 8px 10px 16px; border-bottom: 1px solid var(--neutral-200); min-height: 60px;
}
.drawer__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; }
.drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 16px; -webkit-overflow-scrolling: touch; }
.drawer__nav { flex: 1 1 auto; overflow-y: auto; }
.drawer__foot { display: grid; gap: 8px; padding: 16px; border-top: 1px solid var(--neutral-200); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.drawer__note { margin: 0; font-size: 14px; text-align: center; color: var(--neutral-500); }
.mobile-menu { margin: 0; padding: 0; list-style: none; }
.mobile-menu li { position: relative; border-bottom: 1px solid var(--neutral-100); }
.mobile-menu .nav-link { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 56px 10px 16px; color: var(--neutral-900); font-weight: 500; text-decoration: none; }
.mobile-menu .nav-link[aria-current="page"] { color: var(--primary-700); font-weight: 600; }
.mobile-menu .sub-toggle {
	position: absolute; right: 4px; top: 2px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: var(--r-sm); background: transparent; color: var(--neutral-500);
}
.mobile-menu .sub-toggle .icon { transition: transform .2s; width: 18px; height: 18px; }
.mobile-menu .is-open > .sub-toggle .icon { transform: rotate(180deg); }
.mobile-menu .sub-menu { display: none; margin: 0; padding: 0 0 6px; list-style: none; background: var(--neutral-50); }
.mobile-menu .is-open > .sub-menu { display: block; }
.mobile-menu .sub-menu li { border: 0; }
.mobile-menu .sub-menu .nav-link { min-height: 42px; padding-left: 28px; font-size: 14px; font-weight: 400; color: var(--neutral-700); }
.mobile-menu .sub-menu .sub-menu .nav-link { padding-left: 40px; }
body.has-drawer-open { overflow: hidden; }

/* ==========================================================================
   6. Breadcrumb, page header, pagination
   ========================================================================== */
.breadcrumb { padding-block: 12px; font-size: 13px; color: var(--neutral-500); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--neutral-300); border-top: 1.5px solid var(--neutral-300); transform: rotate(45deg); }
.breadcrumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--neutral-500); }
.breadcrumb a:hover { color: var(--primary-700); }
.breadcrumb .icon { width: 15px; height: 15px; }
.breadcrumb [aria-current="page"] { color: var(--neutral-800); }
@media (max-width: 767.98px) {
	.breadcrumb ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
	.breadcrumb ol::-webkit-scrollbar { display: none; }
}

.page-header { margin: 8px 0 24px; }
.page-title {
	position: relative; margin: 0 0 8px; font-size: 28px; font-weight: 300; color: var(--primary-900); letter-spacing: -.015em; line-height: 1.2;
}
@media (min-width: 768px) { .page-title { font-size: 38px; } }
@media (min-width: 1280px) { .page-title { font-size: 42px; } }
.page-desc { color: var(--neutral-500); max-width: 760px; }
.page-desc p:last-child { margin-bottom: 0; }
.page-banner { margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 5; background: var(--neutral-50); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }

.pagination { margin: 32px 0 8px; display: flex; justify-content: center; }
.pagination ul, .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px;
	border: 1px solid var(--neutral-200); border-radius: var(--r-sm); background: #fff; color: var(--neutral-800); font-weight: 600; text-decoration: none;
}
a.page-numbers:hover { border-color: var(--primary-600); color: var(--primary-700); text-decoration: none; }
.page-numbers.current { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.page-numbers.dots { border-color: transparent; }
.page-numbers .icon { width: 18px; height: 18px; }
.page-links { margin: 24px 0; display: flex; gap: 6px; align-items: center; }

/* ==========================================================================
   7. Section heads (tam giác góc)
   ========================================================================== */
.section-head {
	position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px;
	margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--neutral-200);
}
.section-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--family); }
.section-title {
	position: relative; display: flex; align-items: center; gap: 12px; margin: 0;
	font-size: 22px; font-weight: 300; color: var(--primary-900); letter-spacing: -.01em; line-height: 1.2;
}
.section-title::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; background: var(--family); }
@media (min-width: 768px) { .section-title { font-size: 28px; } }
@media (min-width: 1280px) { .section-title { font-size: 30px; } }
.section-title .icon { width: 26px; height: 26px; color: var(--accent-yellow); }
.section-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--primary-700); white-space: nowrap; }
.section-more .icon { width: 16px; height: 16px; transition: transform .15s; }
.section-more:hover .icon { transform: translateX(3px); }
.section-head--light { border-bottom-color: rgba(255, 255, 255, .2); }
.section-head--light::after { background: var(--accent-yellow); }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-title::before { background: var(--accent-yellow); }
.section-head--light .section-more { color: #fff; }
.quick-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.quick-chips::-webkit-scrollbar { display: none; }
.quick-chips .chip { min-height: 32px; font-size: 13px; }

/* ==========================================================================
   8. Home – hero, slider, chips, needs
   ========================================================================== */
.hero { padding-block: 12px 8px; background: linear-gradient(180deg, var(--neutral-50), #fff); }
@media (min-width: 1024px) { .hero { padding-block: 16px 8px; } }
.hero__grid { position: relative; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
	.hero__grid { grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: 400px auto; }
	.hero__side { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
	.hero__grid { grid-template-columns: 260px minmax(0, 1fr) 270px; grid-template-rows: 420px; }
	.hero__side { grid-column: auto; }
}
.hero__cats { display: none; }
@media (min-width: 1024px) {
	.hero__cats {
		display: flex; flex-direction: column; min-height: 0; background: #fff; border: 1px solid var(--neutral-200);
		border-radius: var(--r-md); overflow: hidden;
	}
	.hero__cats .cat-list { flex: 1 1 auto; overflow-y: auto; scrollbar-width: thin; padding: 4px; }
	.hero__cats .cat-list a { padding: 6px 10px; font-size: 14px; }
	.hero__cats li { position: static; }
	.hero__cats .mega {
		top: 0; bottom: 0; left: calc(var(--gutter) + 262px); right: var(--gutter); border-top: 1px solid var(--neutral-200);
		border-radius: var(--r-md); overflow: auto;
	}
	.hero__cats li:hover > .mega, .hero__cats li:focus-within > .mega { display: block; }
	.hero__cats .mega__inner { grid-template-columns: 1fr 220px; }
}
@media (min-width: 1280px) { .hero__cats .mega { left: calc(var(--gutter) + 272px); } }
.hero__cats-title {
	position: relative; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px;
	background: var(--primary-900); color: #fff; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
}
.hero__cats-title::after { content: ""; position: absolute; right: 0; top: 0; width: 26px; height: 100%; background: var(--primary-600); clip-path: var(--tri-r); }

.slider { position: relative; min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--primary-900); }
@media (min-width: 1024px) { .slider { height: 100%; } }
.slider__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; display: flex; flex-direction: column; background: #fff; }
.slide__pic { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--primary-900); }
.slide__bg, .slide__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.slide__pic.is-photo .slide__bg { object-position: center; }
.slide__link { display: block; height: 100%; }
.slide--image .slide__img { aspect-ratio: 16 / 7; }
.slide__content { position: relative; padding: 14px 16px 40px; background: #fff; flex: 1 1 auto; }
.slide__kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-600); }
.slide__title { margin: 0 0 6px; font-size: 20px; font-weight: 300; line-height: 1.25; color: var(--primary-900); letter-spacing: -.01em; }
.slide__text { margin: 0 0 12px; font-size: 14px; color: var(--neutral-500); }
.slide__content .btn-light { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.slide__content .btn-light:hover { background: var(--primary-700); }
@media (min-width: 768px) {
	.slide { display: block; background: var(--primary-900); }
	.slide__pic { position: absolute; inset: 0; aspect-ratio: auto; }
	.slide { aspect-ratio: 16 / 7; }
	.slide__content {
		position: absolute; left: 28px; bottom: 28px; max-width: min(46%, 420px); padding: 22px 24px 20px;
		border-radius: 0 var(--r-md) var(--r-md) var(--r-md); box-shadow: var(--shadow-lg);
	}
	.slide__content::before { content: ""; position: absolute; left: 0; top: -18px; width: 36px; height: 18px; background: var(--primary-600); clip-path: polygon(0 0, 0 100%, 100% 100%); }
	.slide__title { font-size: 26px; }
}
@media (min-width: 1024px) { .slide { aspect-ratio: auto; height: 100%; } .slide__content { left: 24px; bottom: 24px; } }
@media (min-width: 1280px) { .slide__title { font-size: 28px; } }
.slider__arrow {
	position: absolute; top: 50%; z-index: 2; display: none; align-items: center; justify-content: center; width: 40px; height: 40px;
	margin-top: -20px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--primary-900); box-shadow: var(--shadow-md);
}
.slider__arrow:hover { background: #fff; }
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }
@media (min-width: 768px) { .slider__arrow { display: inline-flex; } }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
@media (min-width: 768px) { .slider__dots { left: auto; right: 20px; bottom: 20px; } }
.slider__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--r-full); background: var(--neutral-300); transition: width .2s, background-color .2s; }
@media (min-width: 768px) { .slider__dot { background: rgba(255, 255, 255, .55); } }
.slider__dot.is-active { width: 26px; background: var(--primary-600); }
@media (min-width: 768px) { .slider__dot.is-active { background: #fff; } }

.hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 1280px) { .hero__side { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } }
.side-banner {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 120px; padding: 14px;
	overflow: hidden; border-radius: var(--r-md); color: #fff; text-decoration: none;
	background: linear-gradient(140deg, var(--primary-900), var(--primary-600));
}
.side-banner:hover { text-decoration: none; color: #fff; box-shadow: var(--shadow-md); }
.side-banner--service { background: linear-gradient(140deg, var(--primary-900), #1E6E8C); }
.side-banner::before { content: ""; position: absolute; right: 0; top: 0; width: 64px; height: 64px; background: rgba(255, 255, 255, .14); clip-path: var(--tri-r); }
.side-banner.has-photo { background: var(--primary-900) var(--bg) center / cover no-repeat; }
.side-banner.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 48, 127, .85), rgba(20, 48, 127, 0) 70%); }
.side-banner > * { position: relative; z-index: 1; }
.side-banner__icon { position: absolute; right: 12px; top: 12px; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.side-banner__kicker { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-100); }
.side-banner__title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.side-banner__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent-yellow); }
.side-banner__more .icon { width: 14px; height: 14px; }
@media (min-width: 768px) { .side-banner { padding: 20px; } .side-banner__title { font-size: 19px; } }

.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px 4px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .cat-chips { display: none; } }
.cat-chip {
	flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; padding: 10px 6px;
	border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; color: var(--neutral-800);
	font-size: 12px; font-weight: 500; text-align: center; line-height: 1.25; text-decoration: none;
}
.cat-chip:hover { border-color: var(--primary-200); text-decoration: none; }
.cat-chip .icon { width: 28px; height: 28px; color: var(--primary-600); }

/* USP */
.usp-band, .usp-home { padding-block: 20px; background: var(--primary-50); border-block: 1px solid var(--primary-100); }
.usp-band--flat { background: #fff; border-top: 0; }
.usp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .usp-list { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.usp { display: flex; align-items: center; gap: 12px; }
.usp__icon {
	position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border-radius: 50%; background: var(--primary-600); color: #fff;
}
.usp__icon .icon { width: 22px; height: 22px; }
.usp__icon--photo { background: transparent; width: 48px; height: 48px; }
.usp__icon--photo img { width: 48px; height: 48px; object-fit: contain; }
@media (min-width: 1024px) { .usp__icon { width: 52px; height: 52px; } }
.usp__text { display: flex; flex-direction: column; line-height: 1.3; }
.usp__text strong { color: var(--primary-900); font-size: 14px; }
.usp__text span { color: var(--neutral-500); font-size: 12px; }
@media (min-width: 768px) { .usp__text strong { font-size: 15px; } .usp__text span { font-size: 13px; } }

/* Needs */
.needs__label { margin: 4px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--neutral-500); }
.needs__label + * { margin-bottom: 28px; }
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 480px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .type-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.type-card {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; padding: 16px; overflow: hidden;
	border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; color: var(--neutral-900); text-decoration: none;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.type-card::after { content: ""; position: absolute; right: 0; top: 0; width: 34px; height: 34px; background: var(--primary-50); clip-path: var(--tri-r); transition: background-color .15s; }
.type-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; color: var(--neutral-900); }
.type-card:hover::after { background: var(--primary-600); }
.type-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--primary-50); color: var(--primary-600); }
.type-card__icon .icon { width: 28px; height: 28px; }
.type-card__img { display: block; width: 100%; aspect-ratio: 4 / 3; }
.type-card__img img { width: 100%; height: 100%; object-fit: contain; }
.type-card__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.type-card__count { font-size: 12px; color: var(--neutral-500); }
.btu-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.btu-chip {
	display: flex; flex-direction: column; min-width: 130px; padding: 10px 16px; border: 1px solid var(--neutral-200); border-left: 4px solid var(--primary-600);
	border-radius: var(--r-sm); background: #fff; color: var(--neutral-900); text-decoration: none; line-height: 1.3;
}
.btu-chip:hover { border-color: var(--primary-600); background: var(--primary-50); text-decoration: none; color: var(--neutral-900); }
.btu-chip strong { font-size: 16px; color: var(--primary-900); display: inline-flex; align-items: center; gap: 6px; }
.btu-chip span { font-size: 13px; color: var(--neutral-500); }
.btu-chip--tool { border-left-color: var(--accent-yellow); background: var(--neutral-50); }
.btu-chip--tool .icon { width: 16px; height: 16px; }

/* Band hot */
.band-hot { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%); }
.band-hot::before { content: ""; position: absolute; right: 0; top: 0; width: 220px; height: 220px; background: rgba(255, 255, 255, .06); clip-path: var(--tri-r); }
.band-hot::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 120px; background: rgba(255, 255, 255, .05); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.band-hot .container { position: relative; z-index: 1; }

/* Brand sections & tiles */
.brand-section + .brand-section { padding-top: 0; }
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .brand-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
.brand-tile {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 10px;
	border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; color: var(--neutral-800); text-align: center; text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
}
.brand-tile:hover { border-color: var(--primary-600); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--primary-700); }
.brand-tile__name { max-width: 100%; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--primary-900); }
.brand-tile__count { font-size: 12px; color: var(--neutral-500); }
.brand-tile__logo { display: block; height: 36px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 4px; filter: grayscale(1); opacity: .65; transition: filter .25s ease, opacity .25s ease; }
.brand-tile:hover .brand-tile__logo, .brand-tile:focus-visible .brand-tile__logo { filter: none; opacity: 1; }
@media (max-width: 768px), (hover: none) { .brand-tile__logo { filter: none; opacity: 1; } }
@media (max-width: 767.98px) { .brand-tile__logo { height: 28px; } }

/* Services */
.service-banners { display: grid; gap: 12px; }
@media (min-width: 768px) { .service-banners { grid-template-columns: 1fr 1fr; gap: 24px; } }
.service-banner {
	position: relative; display: flex; align-items: center; gap: 16px; min-height: 180px; padding: 20px; overflow: hidden;
	border-radius: var(--r-lg); color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--primary-900), var(--primary-600));
}
.service-banner--clean { background: linear-gradient(135deg, var(--primary-900), #1E6E8C); }
.service-banner:hover { color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); }
.service-banner::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 48px; background: rgba(255, 255, 255, .16); clip-path: var(--tri); }
.service-banner__art { order: 2; width: 38%; max-width: 220px; height: auto; margin-left: auto; flex: 0 0 auto; }
.service-banner__text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.service-banner__kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-100); }
.service-banner__title { font-size: 20px; font-weight: 300; line-height: 1.25; }
@media (min-width: 1024px) { .service-banner__title { font-size: 24px; } }
.service-banner__desc { font-size: 14px; opacity: .9; }
.service-banner .btn { margin-top: 6px; }

/* News */
.news-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .news-grid { grid-template-columns: 1.2fr 1fr; gap: 24px; } }
.news-grid__list { display: grid; gap: 12px; align-content: start; }

/* SEO intro */
.seo-intro__box {
	position: relative; padding: 24px; border: 1px solid var(--neutral-200); border-radius: var(--r-lg); background: #fff;
}
.seo-intro__box::before { content: ""; position: absolute; left: -1px; top: -1px; width: 40px; height: 40px; background: var(--primary-600); clip-path: var(--tri); border-top-left-radius: var(--r-lg); }
.seo-intro__title { font-size: 22px; font-weight: 300; color: var(--primary-900); letter-spacing: -.01em; padding-left: 16px; }
@media (min-width: 768px) { .seo-intro__box { padding: 32px 40px; } .seo-intro__title { font-size: 28px; } }

/* ==========================================================================
   9. Product grid & card
   ========================================================================== */
.products, .product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .products, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .product-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.products > li, .product-grid > li { min-width: 0; }
.empty-note { grid-column: 1 / -1; padding: 24px; text-align: center; color: var(--neutral-500); }

.product-card {
	position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
	border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff;
	transition: box-shadow .18s, transform .18s, border-color .18s;
}
@media (hover: hover) {
	.product-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
	.product-card:hover .product-card__img { transform: scale(1.04); }
}
.product-card__media { position: relative; background: var(--neutral-50); }
.product-card__thumb { display: block; aspect-ratio: 1 / 1; padding: 12px; overflow: hidden; }
.product-card__img, .product-card__thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); mix-blend-mode: multiply; }
.product-card__discount {
	position: absolute; left: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; background: var(--accent-red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: -.02em;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
}
.product-card__badges { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; }
.product-card__compare {
	position: absolute; right: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; padding: 0; border: 1px solid var(--neutral-200); border-radius: 50%; background: #fff; color: var(--neutral-500);
	transition: opacity .15s, background-color .15s, color .15s;
}
.product-card__compare .icon { width: 17px; height: 17px; }
.product-card__compare:hover { color: var(--primary-700); border-color: var(--primary-600); }
.product-card__compare[aria-pressed="true"] { background: var(--primary-600); border-color: var(--primary-600); color: #fff; opacity: 1; }
@media (hover: hover) and (min-width: 1024px) {
	.product-card__compare { opacity: 0; }
	.product-card:hover .product-card__compare, .product-card__compare:focus-visible { opacity: 1; }
}
.product-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; padding: 10px 10px 12px; }
@media (min-width: 768px) { .product-card__body { padding: 12px 14px 14px; } }
.product-card__brand { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-600); }
.product-card__title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) { .product-card__title { font-size: 15px; } }
.product-card__title a { color: var(--neutral-900); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__title a:hover { color: var(--primary-700); }
.product-card__model { margin: 0; font-family: var(--font-mono); font-size: 12px; color: var(--neutral-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.product-card__specs li {
	display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: var(--r-xs);
	background: var(--primary-50); color: var(--primary-900); font-size: 11.5px; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.product-card__specs .icon { width: 13px; height: 13px; color: var(--primary-600); }
.product-card__price { margin-top: auto; padding-top: 4px; }
.product-card__gift { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 12px; color: var(--success-700); }
.product-card__gift .icon { width: 14px; height: 14px; flex: 0 0 auto; }
.product-card__gift span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card__actions { position: relative; z-index: 2; display: flex; gap: 6px; margin-top: 4px; }
.product-card__actions > .btn:not(.btn-icon), .product-card__actions > .button { flex: 1 1 auto; min-width: 0; padding-inline: 8px; font-size: 13px; }
.product-card__actions .added_to_cart { display: none; }
.product-card .star-rating { font-size: 12px; }

/* Price */
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.25; }
.price-block del, .price del { order: 2; color: var(--neutral-500); font-size: 13px; font-weight: 400; text-decoration: line-through; }
.price-block ins, .price ins { order: 1; text-decoration: none; }
.price-block, .price-block ins .amount, .price-block > .amount, .price-block > .woocommerce-Price-amount { color: var(--accent-red); font-size: 17px; font-weight: 700; }
.price-block del .amount { color: var(--neutral-500); font-size: 13px; font-weight: 400; }
@media (min-width: 768px) { .price-block, .price-block ins .amount, .price-block > .amount { font-size: 18px; } }
.price-contact { color: var(--accent-red); font-size: 15px; font-weight: 700; }
.price-block--lg, .price-block--lg ins .amount, .price-block--lg > .amount { font-size: 28px; }
.price-block--lg del, .price-block--lg del .amount { font-size: 16px; }
@media (min-width: 768px) { .price-block--lg, .price-block--lg ins .amount, .price-block--lg > .amount { font-size: 32px; } }
.price-block--lg .price-contact { font-size: 24px; }
.woocommerce-price-suffix { font-size: 12px; color: var(--neutral-500); font-weight: 400; }

/* List view */
@media (min-width: 768px) {
	html[data-shop-view="list"] .shop-main .products { grid-template-columns: 1fr; }
	html[data-shop-view="list"] .shop-main .product-card { flex-direction: row; }
	html[data-shop-view="list"] .shop-main .product-card__media { flex: 0 0 220px; }
	html[data-shop-view="list"] .shop-main .product-card__body { padding: 16px 20px; }
	html[data-shop-view="list"] .shop-main .product-card__title { min-height: 0; font-size: 17px; }
	html[data-shop-view="list"] .shop-main .product-card__actions { max-width: 360px; }
}

/* Carousel */
.carousel { position: relative; }
.carousel__track {
	--per: 2; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * 10px) / var(--per));
	gap: 10px; margin: 0; padding: 2px 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { min-width: 0; display: flex; }
.carousel__track > li.product-card { display: flex; }
@media (min-width: 768px) { .carousel__track { --per: 3; gap: 16px; grid-auto-columns: calc((100% - (var(--per) - 1) * 16px) / var(--per)); } }
@media (min-width: 1024px) { .carousel__track { --per: 4; } }
@media (min-width: 1280px) { .carousel__track { --per: 5; } }
.pd-details .carousel__track, .section--tight .carousel__track { }
.carousel__nav {
	position: absolute; top: 38%; z-index: 3; display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
	border: 1px solid var(--neutral-200); border-radius: 50%; background: #fff; color: var(--primary-900); box-shadow: var(--shadow-md);
}
.carousel__nav:hover { border-color: var(--primary-600); color: var(--primary-600); }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.carousel__nav--prev { left: -14px; }
.carousel__nav--next { right: -14px; }
@media (min-width: 1024px) { .carousel__nav { display: inline-flex; } }
.carousel--on-dark .product-card { border-color: transparent; }

/* Star rating (không cần font của Woo) */
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; font-size: 14px; line-height: 1.1; overflow: hidden; letter-spacing: .08em; }
.star-rating::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--neutral-300); }
.star-rating span { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--accent-yellow); }
.star-rating strong, .star-rating .rating { display: none; }
p.stars { margin: 4px 0 12px; }
p.stars span { display: inline-flex; gap: 2px; }
p.stars a { position: relative; display: inline-block; width: 28px; height: 28px; font-size: 0; text-decoration: none; }
p.stars a::before { content: "★"; position: absolute; inset: 0; font-size: 26px; line-height: 28px; color: var(--neutral-300); }
p.stars:hover a::before, p.stars.selected a::before { color: var(--accent-yellow); }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: var(--neutral-300); }
p.stars.selected a.active::before { color: var(--accent-yellow); }

/* ==========================================================================
   10. Shop archive & filters
   ========================================================================== */
.shop-page { padding-bottom: var(--section); }
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.shop-head .page-title { margin-bottom: 2px; }
.shop-head__count { margin: 0; color: var(--neutral-500); font-size: 14px; }
.search-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--neutral-200); margin-bottom: 16px; }
.search-tab { padding: 10px 14px; border-bottom: 3px solid transparent; color: var(--neutral-500); font-weight: 600; text-decoration: none; }
.search-tab:hover { color: var(--primary-700); text-decoration: none; }
.search-tab.is-active { color: var(--primary-700); border-bottom-color: var(--primary-600); }
.search-tab span { font-weight: 400; }
.search-page__form { max-width: 560px; }

.shop-region { position: relative; transition: opacity .2s; }
.shop-region.is-loading { opacity: .5; pointer-events: none; }
.shop-region.is-loading::after {
	content: ""; position: absolute; left: 50%; top: 120px; width: 36px; height: 36px; margin-left: -18px;
	border: 3px solid var(--primary-600); border-right-color: transparent; border-radius: 50%; animation: dht-spin .7s linear infinite;
}
.brand-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }
.brand-chip {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 88px; min-height: 40px; padding: 6px 14px;
	border: 1px solid var(--neutral-200); border-radius: var(--r-sm); background: #fff; color: var(--primary-900);
	font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
}
.brand-chip:hover { border-color: var(--primary-600); text-decoration: none; color: var(--primary-700); }
.brand-chip.is-active, .brand-chip[aria-current] { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }

.shop-mobile-bar { position: sticky; top: var(--header-h); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; margin-bottom: 8px; background: #fff; }
.shop-mobile-bar .woocommerce-ordering { margin: 0; }
.shop-mobile-bar select { min-height: 36px; padding-block: 6px; font-size: 14px; }
@media (min-width: 1024px) { .shop-mobile-bar { display: none; } }
.filter-badge {
	display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px;
	border-radius: var(--r-full); background: var(--accent-red); color: #fff; font-size: 11px; font-weight: 700;
}

.shop-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 260px minmax(0, 1fr); } }
.shop-main { min-width: 0; }
.shop-toolbar { display: none; }
@media (min-width: 1024px) {
	.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 10px 12px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: var(--neutral-50); }
}
.shop-toolbar__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.shop-toolbar .woocommerce-ordering { margin: 0; }
.shop-toolbar select { min-height: 38px; padding-block: 6px; font-size: 14px; background-color: #fff; }
.view-toggle { display: inline-flex; border: 1px solid var(--neutral-200); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.view-toggle .icon-btn { width: 38px; height: 38px; border-radius: 0; color: var(--neutral-500); }
.view-toggle .icon-btn[aria-pressed="true"] { background: var(--primary-600); color: #fff; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.active-filters .chip .icon { width: 14px; height: 14px; }
.active-filters__clear { font-size: 13px; font-weight: 600; color: var(--accent-red); }
.shop-main > .active-filters { margin-bottom: 12px; }

/* Sidebar = bottom sheet trên mobile */
.shop-sidebar { min-width: 0; }
@media (max-width: 1023.98px) {
	.shop-sidebar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; display: flex; flex-direction: column; max-height: 88vh;
		background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-lg);
		transform: translateY(105%); visibility: hidden; transition: transform .28s var(--ease), visibility 0s .28s;
	}
	body.filters-open .shop-sidebar { transform: none; visibility: visible; transition: transform .28s var(--ease); }
	body.filters-open { overflow: hidden; }
	body.filters-open::after { content: ""; position: fixed; inset: 0; z-index: 105; background: rgba(15, 23, 42, .5); }
	.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--neutral-200); }
	.sheet-head::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--neutral-300); }
	.sheet-body { flex: 1 1 auto; overflow-y: auto; padding: 8px 16px; }
	.sheet-foot { display: flex; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--neutral-200); }
	.sheet-foot .btn { flex: 1 1 auto; }
}
@media (min-width: 1024px) {
	.sheet-head, .sheet-foot { display: none; }
	.shop-sidebar { position: sticky; top: calc(var(--header-h) + 12px); align-self: start; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; scrollbar-width: thin; }
}
.sheet-head__title { margin: 0; font-size: 18px; }

.filter-group { border-bottom: 1px solid var(--neutral-200); padding-block: 4px; }
@media (min-width: 1024px) {
	.filter-group { border: 1px solid var(--neutral-200); border-radius: var(--r-md); margin-bottom: 12px; padding: 0 12px 4px; background: #fff; }
}
.filter-group__title {
	position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 0; cursor: pointer; list-style: none;
	font-size: 14px; font-weight: 700; color: var(--primary-900); text-transform: uppercase; letter-spacing: .04em;
}
.filter-group__title::-webkit-details-marker { display: none; }
.filter-group__title .icon { width: 16px; height: 16px; margin-left: auto; color: var(--neutral-500); transition: transform .2s; }
.filter-group[open] > .filter-group__title .icon { transform: rotate(180deg); }
.filter-list { margin: 0 0 8px; padding: 0; list-style: none; }
.filter-list.is-collapsed .is-extra { display: none; }
.filter-list.is-searching .is-extra { display: block; }
.filter-list li[hidden] { display: none; }
.filter-opt, .filter-cat {
	display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 5px 6px; border-radius: var(--r-sm);
	color: var(--neutral-800); font-size: 14px; text-decoration: none;
}
.filter-opt:hover, .filter-cat:hover { background: var(--primary-50); color: var(--primary-700); text-decoration: none; }
.filter-cat.is-active, .filter-cat[aria-current] { background: var(--primary-50); color: var(--primary-700); font-weight: 600; }
.filter-cat > span:first-child { flex: 1 1 auto; }
.filter-cat--back { color: var(--neutral-500); font-size: 13px; }
.filter-cat--back .icon { width: 14px; height: 14px; }
.filter-check {
	position: relative; flex: 0 0 18px; width: 18px; height: 18px; border: 1.5px solid var(--neutral-300); border-radius: 4px; background: #fff;
	display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s, border-color .15s;
}
.filter-check .icon { width: 12px; height: 12px; color: #fff; opacity: 0; }
.filter-opt[data-checked="true"] .filter-check { background: var(--primary-600); border-color: var(--primary-600); }
.filter-opt[data-checked="true"] .filter-check .icon { opacity: 1; }
.filter-opt[data-checked="true"] .filter-check:empty::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.filter-opt--radio .filter-check { border-radius: 50%; }
.filter-opt--radio[data-checked="true"] .filter-check:empty::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.filter-opt[data-checked="true"] { color: var(--primary-900); font-weight: 600; }
.filter-name { flex: 1 1 auto; min-width: 0; }
.filter-name small { display: block; color: var(--neutral-500); font-size: 12px; font-weight: 400; }
.filter-count { flex: 0 0 auto; min-width: 26px; padding: 0 6px; border-radius: var(--r-full); background: var(--neutral-100); color: var(--neutral-500); font-size: 12px; text-align: center; }
.filter-search { margin-bottom: 6px; }
.filter-search input { min-height: 36px; padding: 6px 10px; font-size: 14px; }
.filter-more { margin: 0 0 8px; padding: 4px 6px; border: 0; background: none; color: var(--primary-700); font-size: 13px; font-weight: 600; }
.filter-empty { color: var(--neutral-500); font-size: 14px; }
.shop-widgets { margin-top: 12px; }

.shop-desc { margin-top: 40px; padding: 24px; border: 1px solid var(--neutral-200); border-radius: var(--r-lg); background: var(--neutral-50); }
.empty-state { padding: 40px 16px; text-align: center; border: 1px dashed var(--neutral-300); border-radius: var(--r-lg); background: var(--neutral-50); }
.empty-state > .icon { width: 44px; height: 44px; color: var(--primary-600); margin-bottom: 8px; }
.empty-state__title { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--neutral-900); }
.empty-state .search-form { max-width: 420px; margin: 16px auto 0; }

/* ==========================================================================
   11. Single product
   ========================================================================== */
.product-page { padding-bottom: var(--section); }
.pd { position: relative; }
.pd-top { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
@media (min-width: 768px) { .pd-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pd-commit { grid-column: 1 / -1; } }
@media (min-width: 1280px) { .pd-top { grid-template-columns: minmax(0, 5fr) minmax(0, 4.6fr) 290px; gap: 28px; } .pd-commit { grid-column: auto; } }

.pd-gallery { position: relative; min-width: 0; }
@media (min-width: 768px) { .pd-gallery { position: sticky; top: calc(var(--header-h) + 12px); align-self: start; } }
.pd-gallery__badges { position: absolute; left: 12px; top: 12px; z-index: 5; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pd-gallery__badges .badge--discount { width: 54px; height: 54px; border-radius: 50%; justify-content: center; font-size: 15px; padding: 0; }
.woocommerce-product-gallery { position: relative; margin: 0; }
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery__wrapper { border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.flex-viewport .woocommerce-product-gallery__wrapper { border: 0; border-radius: 0; }
.woocommerce-product-gallery__image { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.woocommerce-product-gallery__image a { display: block; width: 100%; height: 100%; }
.woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: contain; }
.woocommerce-product-gallery__trigger {
	position: absolute; right: 12px; top: 12px; z-index: 9; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 50%; background: #fff; border: 1px solid var(--neutral-200); font-size: 0; text-decoration: none; box-shadow: var(--shadow-sm);
}
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--neutral-700); border-radius: 50%; margin: -4px 0 0 -4px; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 2px; height: 8px; background: var(--neutral-700); transform: rotate(-45deg); right: 12px; bottom: 9px; }
.woocommerce-product-gallery__trigger img { display: none !important; }
.flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.flex-control-thumbs li { cursor: pointer; }
.flex-control-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 4px; border: 1px solid var(--neutral-200); border-radius: var(--r-sm); background: #fff; opacity: .65; transition: opacity .15s, border-color .15s; }
.flex-control-thumbs img:hover, .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--primary-600); }
.flex-direction-nav { display: none; }
.zoomImg { background: #fff; }

.pd-summary { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--neutral-500); }
.pd-meta__brand {
	position: relative; display: inline-flex; align-items: center; padding: 3px 14px 3px 10px; background: var(--primary-600); color: #fff;
	font-weight: 700; letter-spacing: .06em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.pd-meta__brand:hover { color: #fff; background: var(--primary-700); text-decoration: none; }
.pd-meta__model strong { font-family: var(--font-mono); color: var(--neutral-800); }
.pd-meta__rating { display: inline-flex; align-items: center; gap: 4px; color: var(--neutral-500); }
.pd-title { margin: 0; font-size: 24px; font-weight: 300; line-height: 1.25; color: var(--primary-900); letter-spacing: -.01em; }
@media (min-width: 768px) { .pd-title { font-size: 30px; } }
.pd-price {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 16px;
	border-radius: var(--r-md); background: var(--neutral-50); border: 1px solid var(--neutral-200);
}
.pd-price__save {
	display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; border-radius: var(--r-full);
	background: var(--accent-red); color: #fff; font-size: 13px; font-weight: 700;
}
.stock-chip { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 3px 10px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; }
.stock-chip .icon { width: 14px; height: 14px; }
.stock-chip.is-in { background: #E7F6EC; color: var(--success-700); }
.stock-chip.is-out { background: var(--neutral-100); color: var(--neutral-500); }
.pd-note { display: flex; gap: 8px; margin: 0; font-size: 13px; color: var(--neutral-500); }
.pd-note .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--primary-600); flex: 0 0 auto; }
.pd-note--quote { padding: 10px 12px; border-radius: var(--r-sm); background: #FFF7E6; color: #7A4B00; }
.pd-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--neutral-800); }
.capacity-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.capacity-opt {
	display: inline-flex; align-items: center; justify-content: center; min-width: 104px; min-height: 40px; padding: 6px 12px;
	border: 1.5px solid var(--neutral-300); border-radius: var(--r-sm); background: #fff; color: var(--neutral-800); font-size: 14px; font-weight: 600; text-decoration: none;
}
.capacity-opt:hover { border-color: var(--primary-600); color: var(--primary-700); text-decoration: none; }
.capacity-opt.is-active { position: relative; border-color: var(--primary-600); background: var(--primary-50); color: var(--primary-900); }
.capacity-opt.is-active::after { content: ""; position: absolute; right: -1px; top: -1px; width: 14px; height: 14px; background: var(--primary-600); clip-path: var(--tri-r); }

.quick-specs { width: 100%; border: 1px solid var(--neutral-200); border-radius: var(--r-md); overflow: hidden; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.quick-specs th, .quick-specs td { padding: 8px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--neutral-100); }
.quick-specs tr:last-child th, .quick-specs tr:last-child td { border-bottom: 0; }
.quick-specs th { width: 42%; font-weight: 500; color: var(--neutral-500); background: var(--neutral-50); }
.quick-specs td { font-weight: 600; color: var(--neutral-900); }
.pd-highlights { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.pd-highlights li { display: flex; gap: 8px; }
.pd-highlights .icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--success); margin-top: 1px; }
.pd-excerpt { font-size: 14px; }
.pd-excerpt ul { padding-left: 1.1em; margin: 0; }
.pd-promo { position: relative; padding: 12px 14px; border: 1px dashed var(--accent-red); border-radius: var(--r-md); background: #FFF5F4; }
.pd-promo__title { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-weight: 700; color: var(--accent-red); font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.pd-promo__title .icon { width: 18px; height: 18px; }
.pd-promo p:last-child { margin: 0; font-size: 14px; color: var(--neutral-800); }

/* Add to cart form */
.pd-buy:empty { display: none; }
.pd-buy form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.pd-buy form.cart:not(.variations_form) .quantity, .woocommerce-variation-add-to-cart .quantity { flex: 0 0 auto; }
.quantity { position: relative; display: inline-flex; align-items: stretch; border: 1px solid var(--neutral-300); border-radius: var(--r-btn); overflow: hidden; background: #fff; }
.quantity .qty { width: 56px; min-height: 46px; padding: 6px 4px; border: 0; border-radius: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { box-shadow: none; }
.qty-btn { width: 40px; border: 0; background: var(--neutral-50); color: var(--neutral-800); font-size: 18px; font-weight: 600; }
.qty-btn:hover { background: var(--primary-50); color: var(--primary-700); }
.quantity.hidden, .quantity input[type="hidden"] + .qty-btn { display: none; }
.single_add_to_cart_button { flex: 1 1 auto; min-height: 48px; background: #fff; border: 1.5px solid var(--primary-600); color: var(--primary-700); }
.single_add_to_cart_button:hover { background: var(--primary-50); color: var(--primary-700); }
.single_add_to_cart_button.disabled { opacity: .5; }
.dht-buy-now { order: -1; flex: 1 1 100%; flex-direction: column; gap: 0; min-height: 58px; }
.dht-buy-now span { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.dht-buy-now small { font-size: 12px; font-weight: 400; opacity: .9; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.variations_form { flex-direction: column; }
.variations_form .single_variation_wrap { width: 100%; }
table.variations { width: 100%; margin: 0 0 12px; border: 0; }
table.variations tr { display: block; margin-bottom: 10px; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; }
table.variations th label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
table.variations select.is-swatched { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.reset_variations { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--accent-red); }
.dht-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.dht-swatch {
	min-width: 96px; min-height: 40px; padding: 6px 12px; border: 1.5px solid var(--neutral-300); border-radius: var(--r-sm); background: #fff;
	color: var(--neutral-800); font-size: 14px; font-weight: 600;
}
.dht-swatch:hover { border-color: var(--primary-600); }
.dht-swatch[aria-pressed="true"] { border-color: var(--primary-600); background: var(--primary-50); color: var(--primary-900); }
.dht-swatch:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.woocommerce-variation { margin-bottom: 10px; }
.woocommerce-variation-price .price { font-size: 24px; font-weight: 700; color: var(--accent-red); display: flex; gap: 8px; align-items: baseline; }
.woocommerce-variation-availability .stock { margin: 4px 0 0; font-size: 14px; }
.stock.in-stock { color: var(--success-700); }
.stock.out-of-stock { color: var(--accent-red); }

.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-actions .btn-block, .pd-actions > .btn-buy { grid-column: 1 / -1; }
.pd-actions .btn { min-height: 52px; white-space: normal; }
.pd-actions .btn small { font-weight: 400; }

.pd-commit { min-width: 0; }
.commit-box {
	position: relative; display: grid; gap: 14px; padding: 18px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; overflow: hidden;
}
@media (min-width: 1280px) { .commit-box { position: sticky; top: calc(var(--header-h) + 12px); } }
.commit-box::before { content: ""; position: absolute; right: 0; top: 0; width: 44px; height: 44px; background: var(--primary-600); clip-path: var(--tri-r); }
.commit-box__title { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-900); }
.commit-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.commit-list li { display: flex; gap: 8px; }
.commit-list .icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--primary-600); margin-top: 1px; }
.commit-box__hotline { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: var(--r-sm); background: var(--primary-50); text-align: center; }
.commit-box__hotline > span { font-size: 12px; color: var(--neutral-500); text-transform: uppercase; letter-spacing: .04em; }
.commit-box__hotline > a { font-size: 22px; font-weight: 700; color: var(--accent-red); text-decoration: none; }
.commit-box__hotline > a.commit-box__hotline2 { font-size: 16px; color: var(--primary-700); }
.commit-box__hotline small { color: var(--neutral-500); }
.commit-box__addr { display: flex; gap: 8px; margin: 0; font-size: 13px; color: var(--neutral-500); }
.commit-box__addr .icon { width: 16px; height: 16px; flex: 0 0 auto; color: var(--primary-600); margin-top: 2px; }
.commit-box__addr a { color: var(--neutral-700); }

/* Details: tabs + aside */
.pd-details { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); margin-bottom: 16px; }
@media (min-width: 1024px) { .pd-details { grid-template-columns: minmax(0, 1fr) 320px; } }
.pd-details__aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1024px) { .pd-details__aside { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; } }
.pd-tabs__nav {
	position: sticky; top: var(--header-h); z-index: 15; margin-bottom: 8px; background: #fff; border-bottom: 1px solid var(--neutral-200);
}
.pd-tabs__nav ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.pd-tabs__nav ul::-webkit-scrollbar { display: none; }
.pd-tabs__nav a {
	display: block; padding: 12px 16px; border-bottom: 3px solid transparent; color: var(--neutral-500); font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none;
}
.pd-tabs__nav a:hover { color: var(--primary-700); text-decoration: none; }
.pd-tabs__nav a.is-active, .pd-tabs__nav a[aria-current="true"] { color: var(--primary-900); border-bottom-color: var(--primary-600); }
.pd-section { padding-top: 24px; scroll-margin-top: calc(var(--header-h) + 56px); }
.pd-section__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 22px; font-weight: 300; color: var(--primary-900); }
.pd-section__title::before { content: ""; width: 10px; height: 10px; background: var(--family); }
@media (min-width: 768px) { .pd-section__title { font-size: 26px; } }
.pd-section--specs .js-compare-toggle { margin-top: 12px; }
.pd-section--specs .js-compare-toggle[aria-pressed="true"] { background: var(--primary-600); color: #fff; }
.tag-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--neutral-200); }
.tag-links__label { font-weight: 600; font-size: 14px; color: var(--neutral-800); }

/* Spec tables: zebra, đầu bảng xanh, cột đầu sticky */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--neutral-200); border-radius: var(--r-md); }
.spec-table { width: 100%; min-width: 420px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.spec-table th, .spec-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--neutral-100); }
.spec-table tbody tr { background: #fff; }
.spec-table tbody tr:nth-child(odd):not(.spec-table__group) { background: var(--neutral-50); }
.spec-table th[scope="row"] { width: 42%; font-weight: 500; color: var(--neutral-500); position: sticky; left: 0; z-index: 1; background: inherit; box-shadow: 1px 0 0 var(--neutral-200); }
.spec-table td { color: var(--neutral-900); font-weight: 500; font-variant-numeric: tabular-nums; }
.spec-table__group th {
	position: relative; padding: 9px 14px 9px 30px; background: var(--family); color: #fff; font-size: 13px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; border: 0;
}
.spec-table__group th::before { content: ""; position: absolute; left: 10px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: #fff; clip-path: var(--tri); }
.spec-table tbody:not(:first-child) .spec-table__group th { border-top: 2px solid #fff; }
.entry-content table { width: 100%; margin: 0 0 1.5em; border: 1px solid var(--neutral-200); border-collapse: separate; border-spacing: 0; border-radius: var(--r-md); overflow: hidden; font-size: 15px; display: block; overflow-x: auto; }
.entry-content table thead th, .entry-content table tr:first-child th { background: var(--family); color: #fff; font-weight: 600; }
.entry-content table th, .entry-content table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--neutral-100); vertical-align: top; }
.entry-content table tbody tr:nth-child(even) { background: var(--neutral-50); }
.entry-content table tbody tr:nth-child(odd) { background: #fff; }
.entry-content table td:first-child, .entry-content table th:first-child { position: sticky; left: 0; background: inherit; }
.entry-content table thead th:first-child { background: var(--primary-600); }

.side-box { position: relative; padding: 16px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; }
.side-box__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--primary-900); text-transform: uppercase; letter-spacing: .04em; }
.side-box__title::before { content: ""; width: 10px; height: 10px; background: var(--primary-600); clip-path: var(--tri); }
.side-box--contact { display: grid; gap: 8px; background: var(--primary-50); border-color: var(--primary-100); }
.side-box--contact .side-box__title { margin-bottom: 4px; }
.mini-products, .mini-posts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mini-product a, .mini-posts a { display: flex; gap: 10px; align-items: center; color: var(--neutral-800); text-decoration: none; }
.mini-product a:hover, .mini-posts a:hover { color: var(--primary-700); text-decoration: none; }
.mini-product img { width: 64px; height: 64px; flex: 0 0 64px; object-fit: contain; border: 1px solid var(--neutral-200); border-radius: var(--r-sm); background: var(--neutral-50); padding: 4px; }
.mini-product__body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.mini-product__title { font-size: 14px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-product__model { font-family: var(--font-mono); font-size: 11px; color: var(--neutral-500); }
.mini-product__price { font-size: 14px; font-weight: 700; color: var(--accent-red); }
.mini-product__price del { color: var(--neutral-500); font-weight: 400; font-size: 12px; margin-right: 4px; }
.mini-product__price ins { text-decoration: none; }
.mini-posts img { width: 96px; height: 54px; flex: 0 0 96px; object-fit: cover; border-radius: var(--r-sm); }
.mini-posts span { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.recent-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
@media (min-width: 1024px) { .recent-list { grid-auto-columns: calc((100% - 5 * 12px) / 6); } }
.recent-item { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); color: var(--neutral-800); text-decoration: none; background: #fff; }
.recent-item:hover { border-color: var(--primary-200); text-decoration: none; color: var(--primary-700); }
.recent-item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--neutral-50); border-radius: var(--r-sm); }
.recent-item__name { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-item__price { font-size: 14px; font-weight: 700; color: var(--accent-red); }

/* Reviews */
#reviews .commentlist { margin: 0 0 24px; padding: 0; list-style: none; }
#reviews .commentlist li { padding: 14px 0; border-bottom: 1px solid var(--neutral-100); }
#reviews .comment_container { display: flex; gap: 12px; }
#reviews .comment_container img.avatar { width: 44px; height: 44px; border-radius: 50%; }
#reviews .comment-text { flex: 1 1 auto; }
#reviews .meta { margin: 2px 0 6px; font-size: 13px; color: var(--neutral-500); }
.woocommerce-noreviews { color: var(--neutral-500); }
#review_form_wrapper { padding: 16px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: var(--neutral-50); }
#review_form .comment-reply-title { display: block; font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--neutral-900); }
#review_form .comment-form-rating label { margin-bottom: 0; }
#review_form p { margin-bottom: 12px; }

/* Mobile buy bar */
.buy-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 8px;
	padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--neutral-200);
	box-shadow: 0 -6px 16px rgba(15, 23, 42, .08); transform: translateY(110%); transition: transform .25s var(--ease);
}
.buy-bar.is-visible { transform: none; }
.buy-bar__price { flex: 1 1 auto; min-width: 0; flex-direction: column; align-items: flex-start; gap: 0; }
.buy-bar__price, .buy-bar__price ins .amount, .buy-bar__price > .amount { font-size: 16px; }
.buy-bar__price del { order: 2; font-size: 12px; }
.buy-bar .btn { min-height: 46px; }
.buy-bar .btn-buy { padding-inline: 22px; text-transform: uppercase; }
@media (min-width: 1024px) { .buy-bar { display: none; } }
@media (max-width: 1023.98px) { body.has-buy-bar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }

/* ==========================================================================
   12. Modal
   ========================================================================== */
.modal { width: min(94vw, 520px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); color: var(--neutral-700); }
.modal::backdrop { background: rgba(15, 23, 42, .55); }
.modal[open] { animation: dht-pop .2s var(--ease); }
@keyframes dht-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__box { position: relative; padding: 20px; }
.modal__box::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 48px; background: var(--primary-600); clip-path: var(--tri); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -8px 8px 0; }
.modal__title { margin: 0; padding-left: 20px; font-size: 22px; font-weight: 300; color: var(--primary-900); }
.modal__product { margin: 0 0 6px; font-weight: 600; color: var(--neutral-900); }
.modal__desc { font-size: 14px; color: var(--neutral-500); }

/* ==========================================================================
   13. Cart, mini cart, checkout, account, notices
   ========================================================================== */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; padding: 12px 16px 12px 18px;
	list-style: none; border: 1px solid var(--primary-100); border-left: 4px solid var(--primary-600); border-radius: var(--r-sm);
	background: var(--primary-50); color: var(--primary-900); font-size: 14px;
}
.woocommerce-message { border-color: #BFE3CB; border-left-color: var(--success); background: #E7F6EC; color: var(--success-700); }
.woocommerce-error, .wc-block-components-notice-banner.is-error { display: block; border-color: #F6C9C6; border-left-color: var(--accent-red); background: #FDECEC; color: var(--accent-red-600); }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 36px; padding: 6px 12px; font-size: 14px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { font-weight: 600; }
.wc-block-components-notice-banner > svg { width: 20px; height: 20px; }
.woocommerce-store-notice, .demo_store { margin: 0; padding: 8px var(--gutter); background: var(--primary-900); color: #fff; font-size: 14px; text-align: center; }

.cart-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .cart-layout__side { position: sticky; top: calc(var(--header-h) + 16px); } }
.cart-table { width: 100%; border: 1px solid var(--neutral-200); border-radius: var(--r-md); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.cart-table thead th { padding: 12px; background: var(--neutral-50); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--neutral-500); text-align: left; border-bottom: 1px solid var(--neutral-200); }
.cart-table td { padding: 14px 12px; border-bottom: 1px solid var(--neutral-100); vertical-align: middle; }
.cart-table .product-thumbnail img { width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--neutral-200); border-radius: var(--r-sm); background: var(--neutral-50); padding: 4px; }
.cart-table .product-name a { color: var(--neutral-900); font-weight: 600; }
.cart-model { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--neutral-500); }
.cart-table .product-price, .cart-table .product-subtotal { font-weight: 600; white-space: nowrap; }
.cart-table .product-subtotal { color: var(--accent-red); }
.cart-table a.remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--neutral-500); }
.cart-table a.remove:hover { background: #FDECEC; color: var(--accent-red); text-decoration: none; }
.cart-table a.remove .icon { width: 16px; height: 16px; }
.cart-table .actions { background: var(--neutral-50); }
.cart-actions-row td { border-bottom: 0; }
.cart-table .actions { display: table-cell; }
.cart-table .actions > * { vertical-align: middle; }
.cart-table .coupon { display: inline-flex; gap: 8px; max-width: 360px; margin-right: 8px; }
.cart-table .coupon .input-text { min-height: 36px; }
.cart-table .actions .btn-ghost { float: right; }
.cart-table dl.variation { margin: 4px 0 0; font-size: 13px; color: var(--neutral-500); display: grid; grid-template-columns: auto 1fr; gap: 0 6px; }
.cart-table dl.variation dd { margin: 0; }
.cart-table dl.variation p { margin: 0; }
@media (max-width: 767.98px) {
	.cart-table thead { display: none; }
	.cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
	.cart-table tr.cart_item { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 4px 12px; padding: 12px; border-bottom: 1px solid var(--neutral-200); }
	.cart-table tr.cart_item td { padding: 0; border: 0; }
	.cart-table tr.cart_item .product-thumbnail { grid-row: span 4; }
	.cart-table tr.cart_item .product-name { padding-right: 32px; }
	.cart-table tr.cart_item td[data-title]:not(.product-name)::before { content: attr(data-title) ": "; font-size: 13px; color: var(--neutral-500); font-weight: 400; }
	.cart-table tr.cart_item .product-quantity { display: flex; align-items: center; gap: 8px; }
	.cart-table tr.cart_item .product-remove { position: absolute; right: 8px; top: 8px; width: auto; }
	.cart-table .actions { padding: 12px; }
	.cart-table .coupon { display: flex; max-width: none; margin: 0 0 8px; }
	.cart-table .actions .btn-ghost { float: none; width: 100%; }
}
.cart-continue a { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-weight: 600; }
.cart-continue .icon { width: 16px; height: 16px; }
.cart_totals, .co-summary { position: relative; padding: 18px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; }
.cart_totals::before { content: ""; position: absolute; right: 0; top: 0; width: 40px; height: 40px; background: var(--primary-600); clip-path: var(--tri-r); }
.cart_totals h2 { font-size: 18px; margin: 0 0 12px; }
.cart_totals table, .woocommerce-checkout-review-order-table { width: 100%; font-size: 14px; }
.cart_totals th, .cart_totals td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td {
	padding: 10px 0; border-bottom: 1px solid var(--neutral-100); text-align: left; vertical-align: top;
}
.cart_totals td, .woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.cart_totals th { font-weight: 500; color: var(--neutral-500); }
.cart_totals .order-total th, .cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0; padding-top: 14px; }
.cart_totals .order-total .amount, .woocommerce-checkout-review-order-table .order-total .amount { font-size: 22px; font-weight: 700; color: var(--accent-red); }
.cart_totals td[data-title]::before { display: none; }
#shipping_method, .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; text-align: right; }
#shipping_method li { margin-bottom: 4px; }
#shipping_method label { display: inline; font-weight: 400; }
.woocommerce-shipping-destination { font-size: 13px; color: var(--neutral-500); margin: 4px 0 0; }
.shipping-calculator-button { font-size: 13px; }
.shipping-calculator-form { margin-top: 8px; text-align: left; }
.wc-proceed-to-checkout { margin-top: 12px; }
.wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; min-height: 54px; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.cart-note { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--primary-50); font-size: 14px; }
.cart-note .icon { color: var(--primary-600); flex: 0 0 auto; }
.cart-note p { margin: 0; }
.cross-sells { margin-top: 32px; }
.cross-sells > h2 { font-size: 22px; font-weight: 400; color: var(--primary-900); }
.cart-empty { text-align: center; font-size: 18px; padding: 32px 0 8px; }
.return-to-shop { text-align: center; }

/* Mini cart */
.woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.woocommerce-mini-cart-item {
	position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 2px 12px; padding: 12px 32px 12px 0; border-bottom: 1px solid var(--neutral-100); font-size: 14px;
}
.woocommerce-mini-cart-item a:not(.remove) { grid-column: 1 / -1; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; color: var(--neutral-900); font-weight: 500; line-height: 1.35; }
.woocommerce-mini-cart-item img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--neutral-200); border-radius: var(--r-sm); background: var(--neutral-50); padding: 3px; }
.woocommerce-mini-cart-item .quantity { grid-column: 2; border: 0; display: block; color: var(--neutral-500); font-size: 13px; }
.woocommerce-mini-cart-item .quantity .amount { color: var(--accent-red); font-weight: 700; }
.woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 12px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--neutral-500); font-size: 20px; line-height: 1; text-decoration: none; }
.woocommerce-mini-cart-item .remove:hover { background: #FDECEC; color: var(--accent-red); }
.woocommerce-mini-cart-item dl.variation { grid-column: 2; margin: 0; font-size: 12px; color: var(--neutral-500); }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0; font-size: 15px; }
.woocommerce-mini-cart__total .amount { font-size: 20px; font-weight: 700; color: var(--accent-red); }
.woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: #fff; border-color: var(--primary-600); color: var(--primary-700); }
.woocommerce-mini-cart__buttons .checkout { background: var(--accent-red); border-color: var(--accent-red); color: #fff; }
.woocommerce-mini-cart__empty-message { padding: 32px 0; text-align: center; color: var(--neutral-500); }

/* Checkout */
.co-progress { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 24px; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--neutral-500); }
.co-progress li { display: flex; align-items: center; gap: 8px; }
.co-progress li + li::before { content: ""; width: 28px; height: 2px; background: var(--neutral-200); }
@media (min-width: 768px) { .co-progress { font-size: 14px; } .co-progress li + li::before { width: 64px; } }
.co-progress__num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--neutral-300); background: #fff; font-size: 13px; }
.co-progress .icon { width: 14px; height: 14px; }
.co-progress .is-current { color: var(--primary-900); }
.co-progress .is-current .co-progress__num { border-color: var(--primary-600); background: var(--primary-600); color: #fff; }
.co-progress .is-done { color: var(--success-700); }
.co-progress .is-done .co-progress__num { border-color: var(--success); background: var(--success); color: #fff; }
.co-progress .is-done + li::before { background: var(--success); }
.co-progress a { color: inherit; }
.co-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .co-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; } .co-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.co-main { display: grid; gap: 20px; min-width: 0; }
.co-step { position: relative; padding: 18px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; }
@media (min-width: 768px) { .co-step { padding: 24px; } }
.co-step__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 19px; font-weight: 600; color: var(--primary-900); }
.co-step__num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-600); color: #fff; font-size: 15px; font-weight: 700; flex: 0 0 auto; }
.co-customer .woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, .woocommerce-shipping-fields > h3:not(#ship-to-different-address) { display: none; }
#ship-to-different-address { font-size: 15px; margin: 12px 0; }
#ship-to-different-address label { display: inline-flex; align-items: center; font-weight: 500; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm, .co-customer .col2-set {
	display: flex; flex-wrap: wrap; gap: 0 12px;
}
.co-customer .col-1, .co-customer .col-2 { width: 100%; }
.form-row { width: 100%; margin: 0 0 14px; }
@media (min-width: 768px) { .form-row-first, .form-row-last { width: calc(50% - 6px); } }
.form-row label { margin-bottom: 4px; }
.form-row .required { color: var(--accent-red); text-decoration: none; border: 0; }
.form-row .optional { font-weight: 400; color: var(--neutral-500); font-size: 12px; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid select { border-color: var(--accent-red); }
.form-row.woocommerce-validated input.input-text { border-color: #8BCB9F; }
.form-row .woocommerce-input-wrapper { display: block; }
.form-row strong { display: block; padding: 10px 0; color: var(--neutral-900); }
.form-row.dht-vat-toggle label, .form-row .checkbox, .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; cursor: pointer; }
.dht-vat-toggle { padding: 12px 14px; border-radius: var(--r-sm); background: var(--neutral-50); border: 1px solid var(--neutral-200); }
.dht-vat-field { display: none; }
.vat-on .dht-vat-field { display: block; }
.woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 12px; }
form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; padding: 14px; border: 1px dashed var(--neutral-300); border-radius: var(--r-md); }
form.checkout_coupon p { margin: 0; }
form.checkout_coupon .form-row-first { flex: 1 1 200px; width: auto; }
form.checkout_coupon .form-row-last { width: auto; }
form.checkout_coupon .clear { display: none; }
.woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 12px; }
.woocommerce-checkout-review-order-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--neutral-500); }
.woocommerce-checkout-review-order-table .product-name { font-weight: 500; color: var(--neutral-900); }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--neutral-500); font-weight: 600; }
#payment .wc_payment_methods { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
#payment .wc_payment_method { border: 1px solid var(--neutral-200); border-radius: var(--r-md); padding: 12px 14px; background: #fff; }
#payment .wc_payment_method:has(input:checked) { border-color: var(--primary-600); background: var(--primary-50); }
#payment .wc_payment_method > label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; cursor: pointer; }
#payment .wc_payment_method > label img { max-height: 24px; width: auto; }
#payment .wc_payment_method > input { margin-right: 4px; }
#payment .payment_box { margin-top: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: #fff; font-size: 14px; color: var(--neutral-700); }
#payment .payment_box p:last-child { margin: 0; }
#payment .place-order { margin: 16px 0 0; padding: 0; }
.co-summary .place-order, .co-summary #place_order { width: 100%; }
#place_order { width: 100%; min-height: 56px; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 12px; font-size: 13px; color: var(--neutral-500); }
.woocommerce-privacy-policy-text p { margin: 0 0 8px; }
.co-trust { display: flex; gap: 8px; margin: 12px 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--primary-50); font-size: 13px; color: var(--primary-900); }
.co-trust .icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--success); }
.co-summary .co-trust { margin-top: 0; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }
.select2-container .select2-selection--single { height: 44px; border: 1px solid var(--neutral-300); border-radius: var(--r-sm); }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 12px; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }
.select2-dropdown { border-color: var(--neutral-300); border-radius: var(--r-sm); }
.select2-results__option--highlighted { background: var(--primary-600) !important; }

/* Thank you */
.dht-thankyou { max-width: 760px; margin: 0 auto; }
.ty-card { position: relative; padding: 28px 20px; border: 1px solid var(--neutral-200); border-radius: var(--r-lg); background: #fff; text-align: center; overflow: hidden; }
.ty-card::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 56px; background: var(--success); clip-path: var(--tri); }
.ty-card--failed::before { background: var(--accent-red); }
.ty-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: var(--success); color: #fff; }
.ty-card__icon .icon { width: 32px; height: 32px; }
.ty-card__title { font-size: 26px; font-weight: 300; color: var(--primary-900); }
.ty-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; padding: 0; list-style: none; text-align: left; }
@media (min-width: 768px) { .ty-overview { grid-template-columns: repeat(4, 1fr); } }
.ty-overview li { padding: 12px; border-radius: var(--r-sm); background: var(--neutral-50); font-size: 12px; color: var(--neutral-500); text-transform: uppercase; letter-spacing: .04em; }
.ty-overview strong { display: block; margin-top: 2px; font-size: 15px; color: var(--neutral-900); text-transform: none; letter-spacing: 0; }
.ty-extra { margin: 0 0 16px; padding: 0; list-style: none; text-align: left; font-size: 14px; }
.ty-help { font-size: 14px; color: var(--neutral-500); }
.ty-continue { text-align: center; margin-top: 20px; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 28px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 20px; font-weight: 600; }
.woocommerce-table--order-details, .woocommerce-orders-table, .shop_table.order_details { width: 100%; border: 1px solid var(--neutral-200); border-radius: var(--r-md); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 14px; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td, .woocommerce-orders-table th, .woocommerce-orders-table td { padding: 10px 12px; border-bottom: 1px solid var(--neutral-100); text-align: left; }
.woocommerce-table--order-details thead th, .woocommerce-orders-table thead th { background: var(--primary-600); color: #fff; font-weight: 600; }
.woocommerce-customer-details address { padding: 14px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); font-style: normal; }
.woocommerce-bacs-bank-details { margin-top: 20px; padding: 16px; border-radius: var(--r-md); background: var(--primary-50); }
.wc-bacs-bank-details { margin: 0; padding: 0; list-style: none; }

/* My account */
.woocommerce-account .page-wrap .woocommerce { display: grid; gap: 24px; }
@media (min-width: 768px) { .woocommerce-account .page-wrap .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 240px minmax(0, 1fr); } }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 6px; list-style: none; border: 1px solid var(--neutral-200); border-radius: var(--r-md); }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: var(--r-sm); color: var(--neutral-800); font-weight: 500; }
.woocommerce-MyAccount-navigation a:hover { background: var(--neutral-50); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--primary-600); color: #fff; }
.woocommerce-MyAccount-content { min-width: 0; }
.u-columns.col2-set, .woocommerce-Addresses { display: grid; gap: 24px; }
@media (min-width: 768px) { .u-columns.col2-set, .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword, .lost_reset_password {
	padding: 20px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff;
}
.woocommerce-form-login .button, .woocommerce-form-register .button { margin-top: 4px; }
.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; margin-right: 12px; }
.lost_password { font-size: 14px; }
.woocommerce-Address { padding: 16px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); }
.woocommerce-Address address { font-style: normal; }
.woocommerce-password-strength { font-size: 13px; margin-top: 4px; }

/* ==========================================================================
   14. Blog & article
   ========================================================================== */
.blog-page, .single-page, .search-page { padding-bottom: var(--section); }
.layout-sidebar { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr) 320px; } }
.layout-sidebar__aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1024px) { .layout-sidebar__aside { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; } }
.post-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: box-shadow .18s, border-color .18s; }
.post-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--neutral-50); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px 16px; flex: 1 1 auto; }
.post-card__body .chip--cat { position: relative; z-index: 2; }
.post-card__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.post-card__title a { color: var(--neutral-900); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__title a:hover { color: var(--primary-700); }
.post-card__excerpt { margin: 0; font-size: 14px; color: var(--neutral-500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { margin: auto 0 0; font-size: 12px; color: var(--neutral-500); }
.post-card--featured { margin-bottom: 20px; }
@media (min-width: 768px) {
	.post-card--featured { display: grid; grid-template-columns: 1.15fr 1fr; }
	.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 100%; }
	.post-card--featured .post-card__body { padding: 24px 28px; justify-content: center; }
	.post-card--featured .post-card__title { font-size: 24px; font-weight: 400; color: var(--primary-900); }
}
.news-grid .post-card--featured { margin: 0; display: flex; }
.news-grid .post-card--featured .post-card__media { aspect-ratio: 16 / 9; }
.news-grid .post-card--featured .post-card__title { font-size: 22px; font-weight: 400; }
.post-card--horizontal { flex-direction: row; align-items: stretch; }
.post-card--horizontal .post-card__media { flex: 0 0 120px; aspect-ratio: auto; }
@media (min-width: 768px) { .post-card--horizontal .post-card__media { flex-basis: 180px; } }
.post-card--horizontal .post-card__body { padding: 10px 14px; gap: 4px; }
.post-card--horizontal .post-card__title { font-size: 15px; }
.post-card--horizontal .post-card__excerpt { -webkit-line-clamp: 2; font-size: 13px; }
@media (max-width: 479.98px) { .post-card--horizontal .post-card__excerpt { display: none; } }
.post-card--mini { flex-direction: row; border: 0; }
.post-card--mini .post-card__media { flex: 0 0 96px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); }
.post-card--mini .post-card__body { padding: 0 0 0 10px; }
.post-card--mini .post-card__title { font-size: 14px; }
.is-placeholder { object-fit: cover; }

.layout-article { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .layout-article { grid-template-columns: minmax(0, 1fr) 300px; } }
.article { min-width: 0; max-width: 820px; }
.article__head { margin: 8px 0 20px; }
.article__head .chip--cat { margin-bottom: 10px; }
.article__title { margin: 0 0 12px; font-size: 28px; font-weight: 300; line-height: 1.2; color: var(--primary-900); letter-spacing: -.015em; }
@media (min-width: 768px) { .article__title { font-size: 40px; } }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--neutral-500); margin: 0; }
.post-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.post-meta .icon { width: 15px; height: 15px; }
.article__thumb { margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; }
.article__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__thumb figcaption { padding: 8px 0; font-size: 13px; color: var(--neutral-500); text-align: center; }
.article__content { font-size: 16px; line-height: 1.75; }
@media (min-width: 768px) { .article__content { font-size: 17px; } }
.article__foot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--neutral-200); display: grid; gap: 16px; }
.article__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.share { display: flex; align-items: center; gap: 8px; }
.share__label { font-weight: 600; font-size: 14px; }
.share__btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--neutral-200); border-radius: 50%; background: #fff; color: var(--neutral-700); }
.share__btn:hover { border-color: var(--primary-600); color: var(--primary-700); text-decoration: none; }
.share__btn--fb { background: #1877F2; border-color: #1877F2; color: #fff; }
.share__btn--fb:hover { color: #fff; background: #0f63d1; }
.share__btn .icon { width: 18px; height: 18px; }
.author-box { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--neutral-50); }
.author-box img { border-radius: 50%; width: 64px; height: 64px; }
.author-box__name { margin: 0 0 4px; font-weight: 700; color: var(--neutral-900); }
.author-box p:last-child { margin: 0; font-size: 14px; }
.layout-article__aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1024px) { .layout-article__aside { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; } }
.toc { border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: var(--neutral-50); }
.toc--inline { margin: 0 0 24px; }
.toc--inline > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 700; color: var(--primary-900); }
.toc--inline > summary::-webkit-details-marker { display: none; }
.toc--inline > summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--primary-600); }
.toc--inline[open] > summary::after { content: "−"; }
.toc--inline .toc__list { padding: 0 16px 14px 34px; }
@media (min-width: 1024px) { .layout-article .toc--inline { display: none; } }
.toc--side { padding: 14px 16px; display: none; }
@media (min-width: 1024px) { .toc--side { display: block; } }
.toc__title { margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary-900); }
.toc__list { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.45; }
.toc__list li { margin: 6px 0; }
.toc__list a { color: var(--neutral-700); }
.toc__list a:hover, .toc__list a.is-active { color: var(--primary-700); font-weight: 600; }
.toc__l3 { margin-left: 14px !important; list-style: circle; font-size: 13px; }
.side-promo { position: relative; padding: 18px; border-radius: var(--r-md); color: #fff; background: linear-gradient(140deg, var(--primary-900), var(--primary-600)); overflow: hidden; }
.side-promo::after { content: ""; position: absolute; right: 0; top: 0; width: 50px; height: 50px; background: rgba(255, 255, 255, .15); clip-path: var(--tri-r); }
.side-promo__title { color: #fff; font-size: 18px; font-weight: 600; }
.side-promo p { font-size: 14px; opacity: .9; }
.side-promo > .icon { width: 30px; height: 30px; color: var(--accent-yellow); margin-bottom: 6px; }

/* Comments */
.comments { margin-top: 40px; }
.comments__title, .comment-reply-title { font-size: 20px; font-weight: 600; }
.comment-list { margin: 0 0 24px; padding: 0; list-style: none; }
.comment-list .comment { padding: 14px 0; border-bottom: 1px solid var(--neutral-100); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--neutral-500); margin-bottom: 6px; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 700; color: var(--neutral-900); font-style: normal; }
.comment-author .says { display: none; }
.reply a { font-size: 13px; font-weight: 600; }
.comment-form p { margin-bottom: 12px; }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.no-comments { color: var(--neutral-500); }

/* ==========================================================================
   15. Entry content (bài viết, trang)
   ========================================================================== */
.entry-content { color: var(--neutral-700); overflow-wrap: break-word; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { position: relative; margin: 1.6em 0 .6em; padding-left: 22px; font-size: 22px; font-weight: 600; color: var(--primary-900); }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .32em; width: 13px; height: 13px; background: var(--primary-600); clip-path: var(--tri); }
.entry-content h3 { margin: 1.4em 0 .5em; font-size: 19px; color: var(--neutral-900); }
.entry-content h4 { margin: 1.2em 0 .4em; font-size: 17px; }
@media (min-width: 768px) { .entry-content h2 { font-size: 26px; } .entry-content h3 { font-size: 21px; } }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--primary-600); }
.entry-content img { border-radius: var(--r-md); }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { font-size: 13px; color: var(--neutral-500); text-align: center; padding-top: 6px; }
.entry-content blockquote { position: relative; margin: 1.5em 0; padding: 16px 20px 16px 24px; border-left: 4px solid var(--primary-600); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--primary-50); color: var(--primary-900); font-size: 1.05em; }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content a.btn { text-decoration: none; }
.entry-content code { padding: 2px 6px; border-radius: 4px; background: var(--neutral-100); font-family: var(--font-mono); font-size: .9em; }
.entry-content .wp-block-button__link { display: inline-flex; padding: 10px 18px; border-radius: var(--r-btn); background: var(--primary-600); color: #fff; text-decoration: none; font-weight: 600; }
.entry-content details { margin: 0 0 10px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); background: #fff; }
.entry-content details > summary { padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--neutral-900); }
.entry-content details > *:not(summary) { padding: 0 16px; }
.entry-content details[open] > summary { color: var(--primary-700); }
.alignwide, .alignfull { max-width: 100%; }
.aligncenter { margin-inline: auto; display: block; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.wp-caption-text { font-size: 13px; color: var(--neutral-500); }
.entry-content--compact { font-size: 15px; }

/* js-collapse */
.is-collapsible { position: relative; }
.is-collapsible.is-collapsed { max-height: var(--collapse-h, 300px); overflow: hidden; }
.is-collapsible.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.section--alt .is-collapsible.is-collapsed::after, .shop-desc .is-collapsible.is-collapsed::after { background: linear-gradient(rgba(247, 249, 251, 0), var(--neutral-50)); }
.collapse-toggle { display: flex; align-items: center; gap: 6px; margin: 12px auto 0; padding: 8px 18px; border: 1px solid var(--primary-600); border-radius: var(--r-full); background: #fff; color: var(--primary-700); font-size: 14px; font-weight: 600; }
.collapse-toggle:hover { background: var(--primary-50); }
.collapse-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.collapse-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* ==========================================================================
   16. Special pages
   ========================================================================== */
.cta-band {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0; padding: 24px;
	border-radius: var(--r-lg); color: #fff; background: linear-gradient(135deg, var(--primary-900), var(--primary-600)); overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; right: 0; top: 0; width: 90px; height: 90px; background: rgba(255, 255, 255, .1); clip-path: var(--tri-r); }
.cta-band__title { margin: 0 0 4px; color: #fff; font-size: 22px; font-weight: 300; }
.cta-band__text p { margin: 0; opacity: .9; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }

.policy-page, .contact-page, .compare-page { padding-bottom: var(--section); }
.layout-policy { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .layout-policy { grid-template-columns: 280px minmax(0, 1fr); } }
.layout-policy > div, .layout-policy > article { min-width: 0; max-width: 860px; }
.policy-nav { display: grid; gap: 16px; align-content: start; order: 2; }
@media (min-width: 1024px) { .policy-nav { order: 0; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; } }
.policy-nav ul { margin: 0; padding: 0; list-style: none; }
.policy-nav a { display: block; padding: 7px 10px; border-radius: var(--r-sm); color: var(--neutral-700); font-size: 14px; }
.policy-nav a:hover { background: var(--primary-50); color: var(--primary-700); text-decoration: none; }
.policy-nav .current-menu-item > a, .policy-nav a[aria-current="page"] { background: var(--primary-600); color: #fff; }

.faq h2 { margin-top: 1.4em; }
.faq__item { border: 1px solid var(--neutral-200); border-radius: var(--r-md); margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq__item.is-open { border-color: var(--primary-200); box-shadow: var(--shadow-sm); }
.faq__q { margin: 0 !important; font-size: 16px !important; }
.faq__q button {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border: 0; background: none;
	text-align: left; font-size: 16px; font-weight: 600; color: var(--neutral-900);
}
.faq__q button::after { content: "+"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-50); color: var(--primary-700); font-size: 18px; line-height: 26px; text-align: center; }
.faq__q button[aria-expanded="true"] { color: var(--primary-700); }
.faq__q button[aria-expanded="true"]::after { content: "−"; background: var(--primary-600); color: #fff; }
.faq__a { padding: 0 16px 14px; }
.faq__a[hidden] { display: none; }

.contact-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); margin-bottom: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-card { position: relative; padding: 22px; border: 1px solid var(--neutral-200); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 44px; background: var(--primary-600); clip-path: var(--tri); }
.contact-card__title { padding-left: 20px; font-size: 22px; font-weight: 300; color: var(--primary-900); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.contact-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.contact-list li { display: flex; gap: 10px; }
.contact-list .icon { width: 20px; height: 20px; flex: 0 0 auto; color: var(--primary-600); margin-top: 2px; }
.contact-list strong { color: var(--neutral-900); }
.contact-form-box { padding: 22px; border: 1px solid var(--primary-100); border-radius: var(--r-lg); background: var(--primary-50); }
.contact-form-box__title { font-size: 22px; font-weight: 300; color: var(--primary-900); }
.map-box { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--neutral-200); }
.map-box__frame { position: relative; aspect-ratio: 16 / 9; background: var(--neutral-100); }
@media (min-width: 1024px) { .map-box__frame { aspect-ratio: 21 / 7; } }
.map-box__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box__placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center;
	background: repeating-linear-gradient(45deg, var(--neutral-50), var(--neutral-50) 12px, var(--neutral-100) 12px, var(--neutral-100) 24px);
}
.map-box__placeholder p { margin: 0; color: var(--neutral-700); max-width: 460px; }
.map-box__placeholder .icon { width: 36px; height: 36px; color: var(--accent-red); }

.about-hero { position: relative; padding: 8px 0 40px; color: #fff; background: linear-gradient(135deg, var(--primary-900), var(--primary-600)); overflow: hidden; }
.about-hero.has-photo { background: var(--primary-900) var(--bg) center / cover no-repeat; }
.about-hero.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 48, 127, .9), rgba(20, 48, 127, .35)); }
.about-hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: 200px; height: 200px; background: rgba(255, 255, 255, .08); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.about-hero__inner { position: relative; z-index: 1; }
.about-hero .breadcrumb, .about-hero .breadcrumb a, .about-hero .breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, .8); }
.about-hero__title { margin: 12px 0 8px; color: #fff; font-size: 32px; font-weight: 300; letter-spacing: -.015em; }
@media (min-width: 768px) { .about-hero__title { font-size: 48px; } }
.about-hero__lead { max-width: 640px; margin: 0; font-size: 17px; opacity: .92; }
.about-thumb { margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; }

.btu-tool { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
@media (min-width: 768px) { .btu-tool { grid-template-columns: 1.2fr 1fr; gap: 24px; } }
.btu-form { position: relative; padding: 22px; border: 1px solid var(--neutral-200); border-radius: var(--r-lg); background: #fff; }
.btu-form::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 40px; background: var(--primary-600); clip-path: var(--tri); border-top-left-radius: var(--r-lg); }
.btu-form__title { padding-left: 16px; font-size: 20px; font-weight: 600; color: var(--primary-900); }
.btu-result {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 28px 22px; text-align: center;
	border-radius: var(--r-lg); color: #fff; background: linear-gradient(140deg, var(--primary-900), var(--primary-600)); overflow: hidden;
}
.btu-result::after { content: ""; position: absolute; right: 0; top: 0; width: 80px; height: 80px; background: rgba(255, 255, 255, .1); clip-path: var(--tri-r); }
.btu-result__label { margin: 0; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-100); }
.btu-result__value {
	display: flex; flex-direction: column; align-items: center; justify-content: center; width: 184px; height: 184px; margin: 4px 0;
	border-radius: 50%; background: #fff; color: var(--primary-900); font-size: 15px; font-weight: 600; box-shadow: 0 0 0 8px rgba(255, 255, 255, .18);
}
.btu-result__value span { font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--primary-600); letter-spacing: -.02em; }
.btu-result__hint { margin: 0; font-size: 15px; }
.btu-result__note { margin: 0; font-size: 12px; opacity: .8; }
.btu-result.is-updated .btu-result__value { animation: dht-pop .3s var(--ease); }

.sitemap-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sitemap-grid { grid-template-columns: repeat(4, 1fr); } }
.sitemap-col { padding: 18px; border: 1px solid var(--neutral-200); border-radius: var(--r-md); }
.sitemap-col h2 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary-900); }
.sitemap-col ul { margin: 0; padding-left: 1.1em; font-size: 14px; }
.sitemap-col li { margin: 5px 0; }
.sitemap-col ul ul { margin-top: 4px; }

/* Compare */
.compare-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.compare-wrap { margin-bottom: 24px; }
.compare-table { width: 100%; min-width: calc(160px + var(--cols, 2) * 200px); border-collapse: separate; border-spacing: 0; font-size: 14px; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--neutral-100); border-right: 1px solid var(--neutral-100); background: #fff; }
.compare-table tbody tr:nth-child(odd):not(.compare-table__group) th, .compare-table tbody tr:nth-child(odd):not(.compare-table__group) td { background: var(--neutral-50); }
.compare-table th[scope="row"], .compare-table__label { position: sticky; left: 0; z-index: 2; width: 160px; font-weight: 500; color: var(--neutral-500); box-shadow: 1px 0 0 var(--neutral-200); }
.compare-table__product { vertical-align: top; position: relative; }
.compare-table thead th { background: #fff; border-bottom: 2px solid var(--primary-600); }
.compare-table__group th { background: var(--family) !important; color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.compare-table__group th { position: static; }
.compare-table__group th span { position: sticky; left: 12px; }
.compare-table td { color: var(--neutral-900); font-weight: 500; }
.compare-table tr.is-diff td { background: #FFFBEA !important; }
.compare-wrap.is-diff-only tr.is-same { display: none; }
.compare-product { display: flex; flex-direction: column; gap: 6px; color: var(--neutral-900); text-decoration: none; margin-bottom: 6px; }
.compare-product img { width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: contain; background: var(--neutral-50); border-radius: var(--r-sm); }
.compare-product__name { font-weight: 600; font-size: 14px; line-height: 1.35; }
.compare-table__product .price-block { margin-bottom: 8px; }
.compare-table__product .btn { margin: 2px 4px 2px 0; }
.compare-remove { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--neutral-200); border-radius: 50%; background: #fff; color: var(--neutral-500); }
.compare-remove:hover { color: var(--accent-red); border-color: var(--accent-red); }
.compare-remove .icon { width: 14px; height: 14px; }

/* 404 */
.page-404 { padding-block: 24px var(--section); }
.nf { max-width: 680px; margin: 0 auto; text-align: center; }
.nf__img { width: 280px; margin: 0 auto 16px; display: block; }
.nf__search { max-width: 520px; margin: 20px auto; }
.nf .chip-row { margin-top: 16px; }

/* ==========================================================================
   17. Footer
   ========================================================================== */
.site-footer { position: relative; margin-top: 0; background: var(--primary-900); color: #C8D9E6; font-size: 14px; }
.site-footer::before { content: ""; position: absolute; left: 0; top: 0; width: 80px; height: 80px; background: var(--primary-600); clip-path: var(--tri); }
.site-footer a { color: #DCEAF5; }
.site-footer a:hover { color: #fff; }
.footer-main { padding-block: 40px 24px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-col--brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } .footer-col--brand { grid-column: auto; } }
.footer-col--brand { display: grid; gap: 14px; align-content: start; }
.footer-about { margin: 0; line-height: 1.6; }
.footer-company { margin: 0; color: #fff; }
.footer-col .contact-list { font-size: 14px; }
.footer-col .contact-list .icon { color: var(--primary-200); }
.footer-col .contact-list strong { color: #fff; }
.footer-title { position: relative; margin: 0 0 12px; padding-bottom: 8px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--primary-500); }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin: 0 0 8px; }
.footer-menu a { color: #C8D9E6; }
.social-links { display: flex; gap: 8px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff !important; }
.social-link:hover { background: var(--primary-600); text-decoration: none; }
.social-link .icon { width: 18px; height: 18px; }
.footer-keywords { padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-keywords__title { margin: 0 0 8px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-keywords__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-keywords__list a { display: inline-block; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-xs); font-size: 12px; color: #C8D9E6; }
.footer-keywords__list a:hover { border-color: #fff; text-decoration: none; }
/* Dải logo thương hiệu: khung trắng trên nền navy để logo màu đọc rõ. */
.footer-brands { padding-block: 4px 24px; }
.footer-brands__box { padding: 16px 16px 18px; border-radius: var(--r-md); background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.footer-brands__title { margin: 0 0 12px; color: var(--primary-900); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.footer-brands__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.footer-brands__list li { display: flex; }
.footer-brands__link { display: flex; align-items: center; justify-content: center; padding: 6px; border-radius: var(--r-xs); }
.footer-brands__link:hover { text-decoration: none; }
.footer-brands__link:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.footer-brands__img { display: block; height: 26px; width: auto; max-width: 104px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s ease, opacity .25s ease; }
.footer-brands__link:hover .footer-brands__img, .footer-brands__link:focus-visible .footer-brands__img { filter: none; opacity: 1; }
@media (min-width: 769px) {
	.footer-brands__box { padding: 18px 28px 22px; }
	.footer-brands__list { gap: 14px 32px; }
	.footer-brands__img { height: 32px; max-width: 136px; }
}
@media (max-width: 768px), (hover: none) { .footer-brands__img { filter: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .footer-brands__img, .brand-tile__logo { transition: none; } }
.footer-bottom { background: #0F2668; padding-block: 14px; font-size: 13px; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.copyright { margin: 0; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pay-methods li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-xs); background: rgba(255, 255, 255, .08); font-size: 12px; }
.pay-methods .icon { width: 16px; height: 16px; }
.bct-link { font-size: 12px; }
@media (max-width: 1023.98px) { .site-footer { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } body.single-product .site-footer, body.woocommerce-cart .site-footer, body.woocommerce-checkout .site-footer { padding-bottom: 0; } }
body.has-buy-bar .site-footer { padding-bottom: 0; }

/* ==========================================================================
   18. Floating, bottom bar, compare bar
   ========================================================================== */
.floating { position: fixed; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 80; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1024px) { .floating { right: 20px; bottom: 24px; } }
body.has-buy-bar .floating, body.woocommerce-cart .floating, body.woocommerce-checkout .floating { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { body.has-buy-bar .floating, body.woocommerce-cart .floating, body.woocommerce-checkout .floating { bottom: 24px; } }
body.has-compare .floating { bottom: calc(150px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { body.has-compare .floating { bottom: 96px; } }
.fab {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 0;
	border-radius: 50%; color: #fff; box-shadow: var(--shadow-lg); text-decoration: none;
}
.fab:hover { color: #fff; text-decoration: none; transform: translateY(-2px); }
.fab .icon { width: 24px; height: 24px; }
.fab--zalo { background: var(--zalo); }
.fab__text { font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.fab--call { background: var(--success); }
.fab--call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--success); animation: dht-ring 1.8s ease-out infinite; }
@keyframes dht-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
.fab--top { width: 44px; height: 44px; align-self: center; background: #fff; color: var(--primary-900); border: 1px solid var(--neutral-200); }
.fab--top:hover { color: var(--primary-700); }
@media (max-width: 1023.98px) { .fab--zalo, .fab--call { display: none; } }
body.has-buy-bar .fab--zalo { display: inline-flex; }

.bottom-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
	padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--neutral-200); box-shadow: 0 -4px 12px rgba(15, 23, 42, .06);
}
@media (min-width: 1024px) { .bottom-bar { display: none; } }
.bottom-bar__item {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; padding: 6px 4px; border: 0;
	background: none; color: var(--neutral-700); font-size: 11px; font-weight: 600; text-decoration: none;
}
.bottom-bar__item:hover { color: var(--primary-700); text-decoration: none; }
.bottom-bar__item .icon { width: 22px; height: 22px; }
.bottom-bar__item--call { color: #fff; background: var(--success); }
.bottom-bar__item--call:hover { color: #fff; }
.bottom-bar__item--zalo { color: var(--zalo); }
.bottom-bar__icon { position: relative; display: inline-flex; }

.compare-bar {
	position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 78; padding-block: 10px;
	background: #fff; border-top: 2px solid var(--primary-600); box-shadow: 0 -8px 20px rgba(15, 23, 42, .1);
}
body.has-buy-bar .compare-bar, body.woocommerce-cart .compare-bar, body.woocommerce-checkout .compare-bar { bottom: calc(62px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .compare-bar, body.has-buy-bar .compare-bar { bottom: 0; } }
.compare-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.compare-bar__title { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 700; color: var(--primary-900); font-size: 14px; }
.compare-bar__title .icon { color: var(--primary-600); }
.compare-bar__items { display: flex; gap: 8px; flex: 1 1 auto; margin: 0; padding: 0; list-style: none; overflow-x: auto; min-width: 0; }
@media (max-width: 767.98px) { .compare-bar__items { order: 3; flex-basis: 100%; } }
.compare-bar__items li { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 6px; max-width: 220px; padding: 4px 30px 4px 4px; border: 1px solid var(--neutral-200); border-radius: var(--r-sm); font-size: 12px; line-height: 1.3; }
.compare-bar__items img { width: 36px; height: 36px; object-fit: contain; border-radius: 4px; background: var(--neutral-50); }
.compare-bar__items span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.compare-bar__items button { position: absolute; right: 2px; top: 50%; width: 24px; height: 24px; margin-top: -12px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--neutral-500); font-size: 16px; line-height: 1; }
.compare-bar__items button:hover { color: var(--accent-red); background: #FDECEC; }
.compare-bar__actions { display: flex; gap: 8px; margin-left: auto; }

/* Toast */
.dht-toast {
	position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 200; max-width: 92vw; padding: 10px 18px; border-radius: var(--r-full);
	background: var(--neutral-900); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); transform: translate(-50%, 20px); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none;
}
.dht-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Widgets */
.widget { margin-bottom: 16px; }
.widget-title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary-900); }
.widget ul { margin: 0; padding-left: 1.1em; }

/* ==========================================================================
   19. Utilities, motion, print
   ========================================================================== */
@media (max-width: 1023.98px) { body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout) { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	html { scroll-behavior: auto; }
}
@media print {
	.topbar, .main-nav, .header-actions, .header-search, .floating, .bottom-bar, .buy-bar, .compare-bar, .site-footer, .shop-sidebar, .pd-tabs__nav, .drawer { display: none !important; }
	.site-header { position: static; box-shadow: none; }
	body { font-size: 12pt; color: #000; }
	a { color: #000; }
}

/* ==========================================================================
   20. Catalogue HVAC: mã màu theo dòng, góc gấp, running head, huy hiệu, chip, module
   ========================================================================== */
.fam-haichieu { --family: var(--orange-500); --family-2: #F59A4B; }
.fam-tudung { --family: var(--magenta-600); --family-2: #D44AA5; }
.fam-dannong { --family: var(--charcoal-800); --family-2: #555962; }
.fam-haichieu .spec-table__group th, .fam-haichieu.spec-table .spec-table__group th { background: #B4520C; } /* cam đậm để chữ trắng đạt AA */

/* Góc gấp tam giác (đổi màu theo --family) */
.corner-fold { position: relative; }
.corner-fold::before {
	content: ""; position: absolute; right: 0; top: 0; z-index: 1; width: 56px; height: 56px; pointer-events: none;
	background: linear-gradient(225deg, var(--family-2), var(--family)); clip-path: polygon(100% 0, 0 0, 100% 100%);
}
@media (min-width: 1024px) { .corner-fold::before { width: 96px; height: 96px; } }
.product-card::after {
	content: ""; position: absolute; right: 0; top: 0; z-index: 1; width: 22px; height: 22px; pointer-events: none;
	background: linear-gradient(225deg, var(--family-2), var(--family)); clip-path: polygon(100% 0, 0 0, 100% 100%); opacity: .9;
}
.product-card__compare { right: 10px; top: 10px; }

/* Running head: dải tên chuyên mục ở mép trên, có hairline */
.runhead {
	position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 34px; margin: 0 0 4px;
	padding-right: 64px; border-bottom: 1px solid var(--neutral-300); font-size: 12px; font-weight: 500; letter-spacing: .08em;
	text-transform: uppercase; color: var(--neutral-500);
}
.runhead::after {
	content: ""; position: absolute; right: 0; top: 0; width: 52px; height: 34px;
	background: linear-gradient(225deg, var(--family-2), var(--family)); clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.runhead span + span::before { content: "·"; margin-right: 10px; color: var(--neutral-300); }
@media (min-width: 1024px) { .runhead { padding-right: 96px; } .runhead::after { width: 84px; height: 46px; } .runhead { min-height: 46px; } }

/* Huy hiệu số liệu (stat badge) */
.stat-badge {
	display: inline-grid; place-content: center; flex: 0 0 auto; width: 112px; height: 112px; border-radius: 50%;
	background: var(--primary-900); color: #fff; text-align: center; line-height: 1.05;
}
.stat-badge small { font-size: 11px; font-weight: 500; opacity: .85; }
.stat-badge b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.stat-badge span { font-size: 12px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Chip phân loại kiểu catalogue */
.tag-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; background: var(--family); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; line-height: 1.4; }
.tag-chip--old { background: var(--grey-chip); }
.tag-chip--r32 { background: #fff; color: var(--green-500); border: 1.5px solid var(--green-500); }
.tag-chip--inverter { background: var(--primary-600); }
.badge--new { background: var(--primary-600); }
.badge--inverter { background: #fff; color: var(--primary-600); border: 1px solid var(--primary-600); }

/* Panel "thông tin trong khung" */
.info-panel { padding: 20px; background: var(--primary-100); color: var(--primary-900); }
.info-panel > :last-child { margin-bottom: 0; }

/* Module 2 cột xen kẽ ảnh | nội dung */
.modules { display: grid; gap: 0; }
.module {
	display: grid; gap: 20px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--neutral-300);
}
.module:first-child { padding-top: 0; }
.module:last-child { border-bottom: 0; }
@media (min-width: 768px) {
	.module { grid-template-columns: 7fr 5fr; gap: 40px; }
	.module:nth-child(even) .module__media { order: 2; }
	.module:nth-child(even) { grid-template-columns: 5fr 7fr; }
}
.module__media { position: relative; overflow: hidden; background: var(--primary-100); aspect-ratio: 3 / 2; }
.module__media img { width: 100%; height: 100%; object-fit: cover; }
.module__media img[src$=".svg"] { object-fit: contain; padding: 8%; background: linear-gradient(140deg, var(--primary-900), var(--primary-600)); }
.module__media .stat-badge { position: absolute; right: 16px; bottom: 16px; width: 104px; height: 104px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .8); }
.module__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--family); }
.module__title { margin: 0 0 10px; font-size: 26px; font-weight: 300; line-height: 1.15; color: var(--primary-900); letter-spacing: -.01em; }
@media (min-width: 1024px) { .module__title { font-size: 34px; } }
.module__sub { position: relative; margin: 0 0 6px; padding-left: 12px; font-size: 15px; font-weight: 700; color: var(--neutral-900); }
.module__sub::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; background: var(--neutral-900); }
.module__text { color: var(--neutral-700); }
.module__list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; }
.module__list li { display: flex; gap: 8px; }
.module__list .icon { width: 18px; height: 18px; color: var(--family); flex: 0 0 auto; margin-top: 3px; }
.fine { font-size: 12px; color: var(--neutral-500); }

/* Tiêu đề phụ ▌ trong nội dung */
.entry-content h3 { position: relative; padding-left: 12px; }
.entry-content h3::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 4px; background: var(--neutral-900); }
.faq .faq__q, .faq h3.faq__q { padding-left: 0; }
.faq h3.faq__q::before { display: none; }
.badge--r32 { background: #fff; color: var(--green-500); border: 1px solid var(--green-500); }
.site-logo--photo.is-boxed { padding: 8px 12px; border-radius: var(--r-btn); background: #fff; }
@media (min-width: 768px) { .brand-tile__name { font-size: 16px; } }

/* ==========================================================================
   21. QA fixes (front-end) – 2026-10
   ========================================================================== */

/* QA H-03: giữ khung gallery trước khi flexslider khởi tạo – chỉ hiện ảnh đầu (không chờ JS), chừa sẵn chỗ cho hàng thumbnail. */
.woocommerce-product-gallery { opacity: 1 !important; container-type: inline-size; }
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) { display: none; }
.woocommerce-product-gallery:has(> .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(2))::after {
	content: ""; display: block; margin-top: 3.6px; aspect-ratio: 5 / 1; /* = 10px margin + (100% - 4×8px) / 5 */
}
/* Trong lúc flexslider dựng (wrapper rộng 800%), slide không được giãn theo wrapper → không nhảy chiều cao. */
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image:not([style]) { float: left; width: calc(100cqw - 2px); }
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image:not([style]) ~ .woocommerce-product-gallery__image:not([style]) { display: none; }

/* QA M-09: badge gom thành 1 hàng nhỏ phía trên ảnh (không che sản phẩm); nút phóng to ở góc dưới ảnh, nhỏ hơn. */
.pd-gallery__badges { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; padding-right: 44px; }
.pd-gallery__badges .badge--discount { width: auto; height: auto; padding: 2px 8px; border-radius: var(--r-xs); font-size: 11px; }
.woocommerce-product-gallery__trigger { width: 36px; height: 36px; }
.pd-gallery:has(> .pd-gallery__badges) .woocommerce-product-gallery__trigger { top: -40px; right: 0; } /* nằm cùng hàng badge, ngoài ảnh */
.pd-section--reviews .woocommerce-Reviews-title { display: none; } /* QA L-01: trùng tiêu đề mục "Đánh giá (n)" */

/* QA H-08: nút nổi – [hidden] thắng display:inline-flex; mobile bỏ Zalo nổi (đã có ở bottom bar), back-to-top nhỏ & mờ hơn. */
.fab[hidden] { display: none !important; }
@media (max-width: 1023.98px) {
	.fab--zalo, body.has-buy-bar .fab--zalo { display: none; }
	.floating { right: 8px; }
	.fab--top { width: 36px; height: 36px; opacity: .85; }
	.fab--top .icon { width: 18px; height: 18px; }
	body.has-compare .floating { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } /* QA M-07: pill so sánh nằm bên trái */
	body.has-compare.has-buy-bar .floating { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* QA M-14: safe-area (có giá trị dự phòng 0px khi env() không có). */
.bottom-bar { padding-bottom: calc(0px + env(safe-area-inset-bottom, 0px)); }
.buy-bar { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
.floating { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
body.has-buy-bar .floating, body.woocommerce-cart .floating, body.woocommerce-checkout .floating { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) {
	.floating, body.has-buy-bar .floating, body.woocommerce-cart .floating, body.woocommerce-checkout .floating { bottom: 24px; }
	body.has-compare .floating { bottom: 96px; }
}

/* QA M-01: chấm điều hướng vùng chạm 24px (chấm vẽ bằng pseudo), nút Tạm dừng/Phát, mũi tên không đè card. */
.slider__dots { gap: 2px; align-items: center; }
.slider__dot { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; }
.slider__dot::before { content: ""; width: 10px; height: 10px; border-radius: var(--r-full); background: var(--neutral-300); transition: width .2s, background-color .2s; }
.slider__dot.is-active { width: 32px; background: none; }
.slider__dot.is-active::before { width: 26px; background: var(--primary-600); }
.slider__pause {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 4px; padding: 0;
	border: 0; border-radius: 50%; background: var(--primary-600); color: #fff;
}
.slider__pause::before { content: ""; width: 8px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.slider__pause.is-paused::before { width: 0; height: 0; margin-left: 2px; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; }
@media (min-width: 768px) {
	.slider__dot, .slider__dot.is-active { background: none; }
	.slider__dot::before { background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(20, 48, 127, .35); }
	.slider__dot.is-active::before { background: #fff; }
	.slider__pause { background: rgba(255, 255, 255, .92); color: var(--primary-900); box-shadow: var(--shadow-md); }
	.slide__content { left: 64px; }
}
@media (min-width: 1024px) { .slide__content { left: 64px; } }

/* QA M-03: menu desktop – panel không mở khi chỉ focus (hết 129 lần Tab); mở bằng hover, nút mở (disclosure) hoặc phím ↓. */
.nav-menu > li:focus-within:not(:hover):not(.is-open) > .dropdown,
.nav-menu > li:focus-within:not(:hover):not(.is-open) > .mega { display: none; }
.hero__cats li:focus-within:not(:hover) > .mega { display: none; }
.cat-dropdown:focus-within:not(:hover):not(.is-open) .cat-dropdown__panel { display: none; }
/* Nút mở nằm chồng góc dưới-phải mục cấp 1 (margin âm, không đổi bố cục); ẩn bằng clip-path, hiện khi focus/mở. */
.main-nav .sub-toggle {
	position: relative; z-index: 2; display: inline-flex; align-self: flex-start; align-items: center; justify-content: center; flex: 0 0 24px;
	width: 24px; height: 24px; margin: 4px 2px 0 -26px; padding: 0; border: 0; border-radius: var(--r-xs); background: #fff; color: var(--primary-700);
	clip-path: inset(50%);
}
.main-nav .sub-toggle:focus, .main-nav .sub-toggle[aria-expanded="true"] { clip-path: none; }
.main-nav .sub-toggle .icon { width: 14px; height: 14px; transition: transform .2s; }
.main-nav .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* QA L-03: cột danh mục hero 1440 – vừa khung, không thanh cuộn trong. */
@media (min-width: 1024px) {
	.hero__cats .cat-list { padding: 2px 4px; }
	.hero__cats .cat-list a { padding: 5px 10px; line-height: 1.35; white-space: nowrap; }
	.hero__cats .cat-list a > span { overflow: hidden; text-overflow: ellipsis; }
}

/* QA M-04: tương phản */
.badge--r32, .tag-chip--r32 { color: #4A7015; border-color: #4A7015; }
.fam-haichieu .entry-content table thead th, .fam-haichieu .entry-content table tr:first-child th { background: #B45309; }
.btn-buy small, .btn-success small, .btn-primary small, .btn-zalo small, .dht-buy-now small { color: #fff; opacity: 1; }
.btn-outline small, .btn-light small, .btn-ghost small { opacity: 1; }
.pd-note a, .pd-promo a, .modal__desc a, .form-note a, .woocommerce-privacy-policy-text a, .commit-box__addr a { text-decoration: underline; text-underline-offset: 2px; }
.side-banner.has-photo::after { background: linear-gradient(0deg, rgba(20, 48, 127, .94) 0%, rgba(20, 48, 127, .82) 45%, rgba(20, 48, 127, .15) 85%); }
.side-banner__kicker { align-self: flex-start; padding: 2px 8px; border-radius: var(--r-xs); background: var(--primary-900); color: #fff; }

/* QA M-07: thanh so sánh mobile = pill "So sánh (N)" + bottom sheet; desktop giữ thanh ngang. */
.compare-pill, .compare-bar__collapse { display: none; }
@media (max-width: 1023.98px) {
	.compare-bar, body.has-buy-bar .compare-bar, body.woocommerce-cart .compare-bar, body.woocommerce-checkout .compare-bar {
		left: 12px; right: auto; bottom: calc(68px + env(safe-area-inset-bottom, 0px)); padding: 0; background: none; border: 0; box-shadow: none;
	}
	body.has-buy-bar .compare-bar { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
	.compare-pill {
		display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 0; border-radius: var(--r-full);
		background: var(--primary-600); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg);
	}
	.compare-pill .icon { width: 18px; height: 18px; }
	.compare-bar__inner { display: none; }
	.compare-bar.is-expanded::before { content: ""; position: fixed; inset: 0; z-index: 120; background: rgba(15, 23, 42, .5); }
	.compare-bar.is-expanded .compare-pill { visibility: hidden; }
	.compare-bar.is-expanded .compare-bar__inner {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 121; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
		max-height: min(80vh, 480px); overflow-y: auto; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
		background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-lg);
	}
	.compare-bar.is-expanded .compare-bar__title { order: 1; }
	.compare-bar.is-expanded .compare-bar__collapse { order: 2; display: inline-flex; margin-left: auto; }
	.compare-bar.is-expanded .compare-bar__items { order: 3; flex: 1 1 100%; flex-wrap: wrap; overflow: visible; }
	.compare-bar.is-expanded .compare-bar__items li { max-width: none; flex: 1 1 100%; }
	.compare-bar.is-expanded .compare-bar__actions { order: 4; flex: 1 1 100%; justify-content: flex-end; margin-left: 0; }
}
@media (max-width: 767.98px) {
	.compare-table { min-width: calc(104px + var(--cols, 2) * 156px); font-size: 13px; }
	.compare-table th[scope="row"], .compare-table__label { width: 104px; }
	.compare-table th, .compare-table td { padding: 8px; }
	.compare-product img { max-width: 120px; }
}

/* QA L-04: tên thẻ sản phẩm tối đa 3 dòng (kèm tên rút gọn dht_card_title). */
.product-card__title { -webkit-line-clamp: 3; min-height: 4.2em; }

/* QA L-09: hàng tiêu đề cột ẩn của bảng thông số không chiếm chỗ. */
.spec-table thead.sr-only { position: absolute !important; }

/* QA L-08: tiêu đề bình luận và link "Hủy" tách nhau. */
.comment-reply-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.comment-reply-head .comment-reply-title { margin-bottom: .5em; }
.comment-cancel a { font-size: 14px; font-weight: 600; }

/* QA L-11: danh mục trong bộ lọc = danh sách điều hướng chọn một (chấm tròn), đánh dấu rõ mục hiện tại. */
.filter-hint { margin: -4px 0 6px; font-size: 12px; color: var(--neutral-500); }
.filter-cat > .filter-check { flex: 0 0 18px; border-radius: 50%; }
.filter-cat > span:first-child.filter-check { flex: 0 0 18px; }
.filter-cat > .filter-check + span { flex: 1 1 auto; }
.filter-cat.is-active > .filter-check, .filter-cat[aria-current] > .filter-check { border-color: var(--primary-600); background: var(--primary-600); box-shadow: inset 0 0 0 4px #fff; }
.filter-cat.is-active, .filter-cat[aria-current] { box-shadow: inset 3px 0 0 var(--primary-600); }

/* QA L-10: form sắp xếp duy nhất – kiểu dáng ở cả 2 vị trí. */
.shop-toolbar__right .woocommerce-ordering select { min-height: 38px; padding-block: 6px; font-size: 14px; background-color: #fff; }

/* QA L-16: mobile – ô tìm kiếm luôn hiện (thu gọn ≤ 44px) dưới header ở trang chủ, danh mục, kết quả tìm kiếm. */
@media (max-width: 1023.98px) {
	body.home .header-main__inner, body.tax-product_cat .header-main__inner, body.post-type-archive-product .header-main__inner,
	body.search .header-main__inner, body[class*="tax-pa_"] .header-main__inner { flex-wrap: wrap; }
	body.home .header-search, body.tax-product_cat .header-search, body.post-type-archive-product .header-search,
	body.search .header-search, body[class*="tax-pa_"] .header-search {
		display: block; position: relative; top: auto; order: 10; flex: 1 1 100%; padding: 0 0 8px; border: 0; box-shadow: none;
	}
	body.home .header-search input[type="search"], body.tax-product_cat .header-search input[type="search"], body.post-type-archive-product .header-search input[type="search"],
	body.search .header-search input[type="search"], body[class*="tax-pa_"] .header-search input[type="search"] { min-height: 40px; padding-block: 8px; font-size: 16px; }
	body.home .header-search-toggle, body.tax-product_cat .header-search-toggle, body.post-type-archive-product .header-search-toggle,
	body.search .header-search-toggle, body[class*="tax-pa_"] .header-search-toggle { visibility: hidden; }
}

/* QA H-04: bỏ qua render các khối dưới màn hình đầu ở trang chủ cho tới khi gần cuộn tới. */
body.home .brand-section, body.home .section--alt, body.home .seo-intro { content-visibility: auto; contain-intrinsic-size: auto 640px; }
/* QA M-07/H-08: nút lên đầu trang không nổi trên bottom sheet so sánh */
body:has(.compare-bar.is-expanded) .floating { visibility: hidden; }

/* Trang chủ: thứ tự khối. Desktop: cam kết ở trên. Mobile: cam kết xuống cuối trang. "Chọn điều hòa theo nhu cầu" nằm dưới khối hãng (theo thứ tự HTML). */
@media (max-width: 768px) {
  .home-flow { display: flex; flex-direction: column; }
  .home-flow__usp { order: 1; }
}

/* Bỏ toàn bộ góc tam giác màu (user yêu cầu 2026-10-05): thẻ sản phẩm, khung corner-fold, dải runhead. */
.product-card::after, .corner-fold::before, .runhead::after { content: none !important; display: none !important; }
.runhead { padding-right: 0 !important; }

/* Mobile: bỏ tam giác xanh góc trái header (che nút menu) – user yêu cầu 2026-10-05. Desktop giữ nguyên. */
@media (max-width: 1023.98px) { .header-main::before { content: none !important; display: none !important; } }

/* Mobile: bỏ tam giác xanh góc trái chân trang (che logo) – user yêu cầu 2026-10-05. Desktop giữ nguyên. */
@media (max-width: 1023.98px) { .site-footer::before { content: none !important; display: none !important; } }

/* ==========================================================================
   2026-10-07: Banner chỉ có ảnh + header mobile kiểu Điện Máy Xanh
   ========================================================================== */
.slide__link { position: relative; display: block; height: 100%; }
.slide .slide__link .slide__pic { height: 100%; }
@media (max-width: 767.98px) {
	.slide .slide__pic { aspect-ratio: 2 / 1; }
	.slider { border-radius: 12px; }
	.slider__dot { background: rgba(255, 255, 255, .6); }
	.slider__dot.is-active { background: #fff; }
}
@media (min-width: 768px) { .slide__link { position: absolute; inset: 0; } }

@media (max-width: 1023.98px) {
	/* Header nền xanh: hàng 1 logo + hotline + giỏ; hàng 2 MENU + ô tìm kiếm liền một thanh */
	.site-header { background: var(--primary-600); box-shadow: none; }
	.header-main__inner {
		display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "logo logo actions" "burger search search";
		gap: 8px 0; min-height: 0; padding-block: 8px 10px;
	}
	.header-main__inner > .site-logo, .header-main__inner > .site-logo--custom { grid-area: logo; justify-content: flex-start; color: #fff; }
	.site-logo:hover { color: #fff; }
	.header-main .site-logo__bg { fill: #fff; }
	.header-main .site-logo__fg { stroke: var(--primary-600); }
	.header-actions { grid-area: actions; gap: 6px; }
	.header-search-toggle { display: none; }
	.header-hotline { display: inline-flex; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; }
	.header-hotline:hover { color: #fff; }
	.header-hotline__icon { width: 26px; height: 26px; }
	.header-hotline__text strong { font-size: 14px; color: #fff; }
	.header-hotline__text small { display: none; }
	.header-cart { color: #fff; }
	.header-cart:hover { background: rgba(255, 255, 255, .12); color: #fff; }
	.header-burger {
		grid-area: burger; margin: 0; width: 64px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
		background: var(--neutral-100); color: var(--neutral-700); border-radius: 10px 0 0 10px; border-right: 1px solid var(--neutral-200);
	}
	.header-burger::after { content: "MENU"; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1; }
	.header-burger .icon { width: 20px; height: 20px; }
	.header-search, .site-header.is-search-open .header-search {
		grid-area: search; display: block; position: relative; top: auto; padding: 0; border: 0; box-shadow: none; background: transparent;
	}
	.search-form--header input[type="search"] { min-height: 46px; background: #fff; border: 0; border-radius: 0 10px 10px 0; }
	.search-form--header input[type="search"]:focus { background: #fff; }
	.search-form--header .search-form__btn { border-radius: 0 10px 10px 0; }

	/* Bỏ 2 banner nhỏ có chữ dưới banner chính */
	.hero__side { display: none; }
	.hero { background: #fff; }

	/* Dải danh mục: khung xanh nhạt, thẻ trắng */
	.cat-chips { margin-top: 12px; padding: 10px; gap: 8px; border-radius: 12px; background: linear-gradient(180deg, #DDEBFF, #BFD8FF); }
	.cat-chip { border: 0; box-shadow: 0 1px 3px rgba(20, 48, 127, .12); }
}

/* 2026-10-07: Nút Gọi + Zalo nổi góc trái dưới (mobile + máy tính); bỏ thanh bottom-bar mobile */
.bottom-bar { display: none !important; }
.contact-fabs { position: fixed; left: 14px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (min-width: 1024px) { .contact-fabs { left: 20px; bottom: 24px; } }
.contact-fab { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; text-decoration: none; transition: transform .15s; }
.contact-fab:hover { transform: translateY(-2px); text-decoration: none; }
.contact-fab--call { border-radius: 50%; background: #0A8A0A; box-shadow: 0 6px 16px rgba(0, 0, 0, .28); }
.contact-fab--zalo { border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.contact-fab--zalo img { display: block; width: 56px; height: 56px; }
body.has-buy-bar .contact-fabs, body.woocommerce-cart .contact-fabs, body.woocommerce-checkout .contact-fabs { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
body.has-compare .contact-fabs { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) {
	body.has-buy-bar .contact-fabs, body.woocommerce-cart .contact-fabs, body.woocommerce-checkout .contact-fabs { bottom: 24px; }
	body.has-compare .contact-fabs { bottom: 96px; }
}
/* Nút lên đầu trang (góc phải) hạ xuống vì không còn bottom-bar */
.floating { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }

/* 2026-10-07: Logo chữ dieuhoatot */
.brand-logo { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 0; }
.brand-logo img { display: block; height: 44px; width: auto; }
.brand-logo__white { display: none !important; }
@media (min-width: 1024px) { .brand-logo img { height: 52px; } }
@media (max-width: 1023.98px) {
	.header-main__inner > .brand-logo { grid-area: logo; justify-self: start; }
	.brand-logo img { height: 36px; }
	.brand-logo__color { display: none !important; }
	.brand-logo__white { display: block !important; }
}
.brand-logo--footer img { height: 48px; }

/* 2026-10-07: logo chữ mới – bỏ tam giác góc trái header cả desktop (đè lên logo) */
.header-main::before { content: none !important; display: none !important; }

/* 2026-10-07: banner có chữ trong ảnh – mobile dời chấm/tạm dừng sang góc phải để không đè nút trong ảnh */
@media (max-width: 767.98px) { .slider__dots { left: auto; right: 10px; bottom: 8px; justify-content: flex-end; transform: scale(.85); transform-origin: right bottom; } }

/* === 2026-10-07: MENU + ô tìm kiếm mobile liền khối, cùng chiều cao 46px === */
@media (max-width: 1023.98px) {
	.site-header .header-main__inner { align-items: center; }
	.site-header .header-burger { align-self: stretch; height: 46px; min-height: 46px; margin: 0; padding: 0; background: #fff; color: var(--primary-700, #1e3a9e); border-radius: 10px 0 0 10px; border: 0; border-right: 1px solid #e3e7ef; box-shadow: none; }
	.site-header .header-burger::after { color: inherit; }
	.site-header .header-search { align-self: stretch; height: 46px; margin: 0; }
	.site-header .header-search .search-form { height: 46px; align-items: stretch; }
	.site-header .search-form--header input[type="search"] { height: 46px; min-height: 46px; margin: 0; padding: 0 56px 0 12px; font-size: 15px; border: 0; border-radius: 0 10px 10px 0; box-shadow: none; outline-offset: -2px; }
	.site-header .search-form--header .search-form__btn { top: 0; right: 0; bottom: 0; height: 46px; width: 50px; margin: 0; transform: none; border-radius: 0 10px 10px 0; }
}

/* === 2026-10-07b: logo mới trong drawer, placeholder gọn, nút nổi nhỏ hơn, bỏ khoảng trống cuối footer === */
.drawer__head .brand-logo img { height: 36px; width: auto; display: block; }
.search-form--header input[type="search"] { text-overflow: ellipsis; }
@media (max-width: 1023.98px) {
	.site-footer { padding-bottom: 0 !important; }
	.contact-fab { width: 48px !important; height: 48px !important; }
	.contact-fab img, .contact-fab svg { max-width: 100%; max-height: 100%; }
	.contact-fab--call svg { width: 24px; height: 24px; }
}

/* === 2026-10-07c: header mobile 1 dòng: MENU | logo | icon tìm kiếm; bỏ hotline + giỏ; bấm icon mới hiện ô tìm kiếm === */
.hst-ico--close { display: none; }
.header-search-toggle[aria-expanded="true"] .hst-ico--search { display: none; }
.header-search-toggle[aria-expanded="true"] .hst-ico--close { display: block; }
@media (max-width: 1023.98px) {
	.site-header .header-main__inner { position: relative; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "burger logo actions"; gap: 0 12px; align-items: center; padding-block: 10px; min-height: 0; }
	.site-header .brand-logo { grid-area: logo; justify-self: start; }
	.site-header .brand-logo img { height: 34px; width: auto; }
	.site-header .header-hotline, .site-header .header-cart { display: none !important; }
	.site-header .header-actions { grid-area: actions; gap: 0; }
	.site-header .header-burger { align-self: center; width: 52px; height: 44px; min-height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; gap: 2px; }
	.site-header .header-burger::after { font-size: 9px; color: #fff; }
	body .site-header .header-search-toggle { display: inline-flex !important; visibility: visible !important; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--primary-700, #1e3a9e); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); transition: transform .15s; }
	body .site-header .header-search-toggle:active { transform: scale(.94); }
	body .site-header .header-search-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
	/* ô tìm kiếm: ẩn, chỉ hiện khi bấm icon */
	body .site-header .header-search { display: none !important; }
	body .site-header.is-search-open .header-search { display: block !important; position: absolute; left: 0; right: 0; top: 100%; z-index: 60; height: auto; margin: 0; padding: 0 16px 12px; background: inherit; background-color: var(--primary-700, #1e3fa6); box-shadow: 0 8px 16px rgba(0, 0, 0, .18); border: 0; }
	body .site-header .header-search .search-form { height: 46px; }
	body .site-header .search-form--header input[type="search"] { border-radius: 12px; padding: 0 56px 0 14px; }
	body .site-header .search-form--header .search-form__btn { top: 4px; right: 4px; bottom: 4px; height: 38px; width: 46px; border-radius: 9px; }
}

/* === 2026-10-07d: cat-chips mobile dạng pill ngang (icon trái, 1 dòng) cho gọn === */
@media (max-width: 1023.98px) {
	.cat-chips { padding: 8px; gap: 8px; align-items: center; }
	.cat-chip { flex-direction: row; align-items: center; gap: 8px; width: auto; height: 44px; padding: 0 14px 0 10px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; line-height: 1; }
	.cat-chip .icon { width: 24px; height: 24px; flex: 0 0 24px; }
}

/* === 2026-10-08: logo dieuhoatot.com.vn, hotline, ô danh mục vuông === */
.header-hotline__text a { color: var(--accent-red); font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.header-hotline__text a + a { font-size: 15px; color: var(--primary-700); }
.header-hotline__text a:hover { text-decoration: underline; }
.topbar__phones { display: none; }
@media (max-width: 1023.98px) {
	.topbar { display: block; }
	.topbar__usps, .topbar__nav { display: none; }
	.topbar__inner { justify-content: center; min-height: 30px; }
	.topbar__phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 13px; font-weight: 700; }
	.topbar__phones a { position: relative; display: inline-flex; align-items: center; gap: 5px; color: #fff; text-decoration: none; padding: 4px 0; }
	.topbar__phones .icon { width: 14px; height: 14px; color: #FFD23F; }
	.topbar__phones a + a::before { content: ""; position: absolute; left: -10px; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: rgba(255, 255, 255, .3); }
	.site-header .brand-logo img, .drawer__head .brand-logo img { height: 32px; }

	.cat-chips { gap: 6px; padding: 8px; align-items: stretch; }
	.cat-chip { flex: 0 0 calc((100% - 30px) / 5.5); width: auto; min-width: 54px; height: auto; aspect-ratio: 1 / 1; padding: 6px 2px; flex-direction: column; justify-content: center; gap: 4px; border-radius: 12px; background: #fff; font-size: 11px; font-weight: 600; line-height: 1.15; white-space: normal; text-align: center; color: var(--neutral-900); }
	.cat-chip__ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--primary-50, #EEF3FF); }
	.cat-chip .icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--primary-600); }
	.cat-chip__txt { display: block; max-width: 100%; }
}

/* 2026-10-08o: logo có dòng BẢO HÀNH CHÍNH HÃNG – mobile cao hơn cho dễ đọc */
@media (max-width: 1023.98px) { .site-header .brand-logo img, .drawer__head .brand-logo img { height: 40px; } }

/* === 2026-10-12: landing loại máy × hãng === */
.shop-desc .land-table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 15px; }
.shop-desc .land-table th, .shop-desc .land-table td { padding: 8px 10px; border: 1px solid var(--neutral-200); text-align: left; }
.shop-desc .land-table thead th { background: var(--primary-50); color: var(--primary-800, #14307F); font-weight: 700; }
.land-links { margin-top: 24px; }
.land-links h2 { font-size: 18px; margin: 0 0 10px; }
.land-links ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.land-links a { display: inline-flex; gap: 6px; padding: 8px 14px; border: 1px solid var(--neutral-200); border-radius: 999px; background: #fff; color: var(--neutral-900); font-weight: 600; text-decoration: none; }
.land-links a span { color: var(--neutral-500); font-weight: 500; }
.land-links a:hover { border-color: var(--primary-600); color: var(--primary-700); }
@media (max-width: 640px) { .shop-desc .land-table { font-size: 13px; } .shop-desc .land-table th, .shop-desc .land-table td { padding: 6px; } }

/* 18/11/2026 – góp ý khách */
/* Mô tả ngắn: chấm đen → dấu tích xanh như Điểm nổi bật. */
.pd-excerpt ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pd-excerpt ul li { position: relative; padding-left: 26px; }
.pd-excerpt ul li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: var(--success); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Bảng trong nội dung (bảng giá lắp đặt…): kéo kín khung trên máy tính. */
@media (min-width: 768px) { .entry-content table { display: table; } }

/* 23/11/2026 – góp ý Hùng */
/* Nhãn giảm giá và nút kính lúp nằm trong khung ảnh; khung ảnh lên sát mép trên như khung "Yên tâm mua sắm"; % giảm to hơn. */
.pd-gallery__badges { position: absolute; left: 12px; top: 12px; z-index: 5; margin: 0; padding: 0; flex-direction: column; align-items: flex-start; }
.pd-gallery__badges .badge--discount { width: auto; height: auto; padding: 6px 12px; border-radius: var(--r-sm, 8px); font-size: 18px; font-weight: 800; line-height: 1.2; }
.pd-gallery:has(> .pd-gallery__badges) .woocommerce-product-gallery__trigger { top: 12px; right: 12px; }
/* Ảnh chèn trong mô tả: luôn ở giữa (trừ ảnh căn trái/phải). */
.entry-content img:not(.alignleft):not(.alignright) { margin-inline: auto; }
.entry-content p:has(> img:only-child) { text-align: center; }
.entry-content .wp-caption:not(.alignleft):not(.alignright), .entry-content figure:not(.alignleft):not(.alignright) { margin-left: auto; margin-right: auto; max-width: 100%; }
.entry-content .wp-caption-text, .entry-content figcaption { text-align: center; }
