/*
Theme Name: HARUMI Tinh Hải
Theme URI: https://qhpack.vn
Author: HARUMI Tinh Hải
Description: Catalog theme for HARUMI Tinh Hải – packaging materials and machines. WooCommerce catalog mode (no cart), Zalo / WhatsApp inquiry, Polylang VI / EN / 中文.
Version: 1.6.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: harumi
*/

:root {
	--navy: #222E65;
	--navy-dark: #151C42;
	--navy-soft: #2E3B7E;
	--orange: #F97316;
	--orange-text: #C2410C;
	--orange-bg: #FFF7ED;
	--orange-line: #FED7AA;
	--bg: #F3F4F6;
	--card: #FFFFFF;
	--line: #E5E7EB;
	--text: #111827;
	--muted: #4B5563;
	--zalo: #0068FF;
	--wa: #1FA855;
	--radius: 10px;
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--orange-text); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.screen-reader-text, .skip-link {
	position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
	left: 12px; top: 12px; width: auto; height: auto; z-index: 100;
	background: #fff; padding: 10px 14px; border-radius: 6px;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { margin-top: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: 26px; }
.section-head a { font-weight: 700; font-size: 14px; text-decoration: none; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--orange-text); text-transform: uppercase; letter-spacing: .02em; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* Placeholder used until real photos are uploaded */
.ph {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: repeating-linear-gradient(135deg, #E5E7EB 0 10px, #F3F4F6 10px 20px);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 18px; border-radius: 6px; border: 0;
	font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.btn-lg { min-height: 52px; font-size: 16px; padding: 0 22px; border-radius: 8px; }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-orange { background: var(--orange); color: var(--navy-dark); }
.btn-ghost { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-zalo:hover, .btn-wa:hover, .btn-navy:hover, .btn-ghost:hover { color: #fff; filter: brightness(1.08); }
.btn-orange:hover { color: var(--navy-dark); filter: brightness(1.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark {
	width: 44px; height: 44px; border-radius: 8px; background: var(--navy); color: var(--orange);
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
}
.brand .custom-logo { height: 34px; width: auto; }
.brand-name { font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: .5px; }
.main-nav { flex: 1 1 auto; display: flex; align-items: center; gap: 4px; }
.nav-link {
	display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
	border: 0; border-radius: 6px; background: transparent; color: var(--text);
	font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.nav-link.is-active { color: var(--orange-text); font-weight: 700; }
.mega-toggle[aria-expanded="true"] { background: var(--orange-bg); color: var(--orange-text); }
.mega-toggle svg { transition: transform .15s; }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 13px; }
.lang-switch a { padding: 12px 10px; color: #374151; text-decoration: none; line-height: 1; }
.lang-switch a.is-current { background: var(--navy); color: #fff; font-weight: 700; }
.menu-toggle {
	display: none; width: 44px; height: 44px; border: 0; border-radius: 6px; background: var(--navy);
	align-items: center; justify-content: center; cursor: pointer;
}
.lang-mobile { display: none; }

.mega {
	position: absolute; top: 100%; left: 0; right: 0; background: #fff;
	border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(34, 46, 101, .15);
}
.mega[hidden] { display: none; }
.mega-grid { padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col .eyebrow { padding: 0 10px 6px; font-size: 12px; }
.mega-col a { padding: 10px; border-radius: 6px; color: var(--text); font-weight: 600; text-decoration: none; }
.mega-col a:hover { background: var(--bg); color: var(--orange-text); }
.mega-all { background: var(--bg); border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mega-all strong { color: var(--navy); }
.mega-all span { font-size: 13px; color: var(--muted); }
.mega-all .btn { margin-top: auto; }

/* ---------- Home ---------- */
.hero { margin-top: 24px; display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.hero-main {
	background: linear-gradient(90deg, rgba(21, 28, 66, .95) 0%, rgba(21, 28, 66, .86) 50%, rgba(21, 28, 66, .45) 100%), var(--hero-img, none) center / cover no-repeat, var(--navy);
	color: #fff; border-radius: var(--radius); padding: 40px; min-height: 320px;
	display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.hero-main .tag {
	align-self: flex-start; padding: 6px 12px; background: var(--orange); color: var(--navy-dark);
	border-radius: 4px; font-size: 13px; font-weight: 700;
}
.hero-main h1 { color: #fff; font-size: 40px; font-weight: 800; }
.hero-main p { margin: 0; font-size: 17px; color: #CBD5E1; max-width: 620px; }
.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-card { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.hero-card.is-warm { background: var(--orange-bg); border-color: var(--orange-line); }
.hero-card strong { font-size: 18px; color: var(--navy); }
.hero-card span { font-size: 14px; color: var(--muted); }
.hero-card a { margin-top: auto; font-weight: 700; font-size: 14px; text-decoration: none; }

.trust { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust div { padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); }
.trust div:last-child { border-right: 0; }
.trust strong { color: var(--navy); }
.trust span { font-size: 13px; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cat-card { padding: 14px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.cat-card:hover { border-color: var(--navy); }
.cat-media { height: 120px; border-radius: 6px; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card strong { font-size: 15px; color: var(--navy); }
.cat-card span { font-size: 13px; color: var(--muted); }

.custom-band { padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; }
.custom-band .copy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.custom-band h2 { font-size: 26px; }
.custom-band p { margin: 0; color: var(--muted); }
.custom-band .media { border-radius: 8px; overflow: hidden; height: 320px; }
.custom-band .media img { width: 100%; height: 100%; object-fit: cover; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.post-card .media { height: 180px; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.post-card .meta { font-size: 12px; color: var(--muted); }
.post-card h3 { font-size: 16px; color: var(--text); }

/* ---------- Product card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.home .pgrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pcard { overflow: hidden; display: flex; flex-direction: column; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
	position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 4px;
	background: var(--navy); color: #fff; font-size: 11px; font-weight: 700;
}
.badge.is-ok { background: #166534; }
.pcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sku { font-size: 12px; color: var(--muted); font-weight: 600; }
.pcard-title { font-size: 15px; }
.pcard-title a { color: var(--text); text-decoration: none; }
.pcard-title a:hover { color: var(--orange-text); }
.spec { margin: 0; font-size: 12px; color: #374151; background: var(--bg); padding: 6px 8px; border-radius: 4px; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.price-line .amount, .price-line .price-contact { font-size: 19px; font-weight: 800; color: var(--orange-text); }
.price-line .unit { font-size: 12px; color: var(--muted); }
.price-note { font-size: 12px; color: var(--muted); }
.pcard-cta { margin-top: auto; padding-top: 6px; }
.pcard-cta .btn { min-height: 44px; padding: 0 8px; font-size: 13px; }

/* ---------- Shop ---------- */
.crumbs { padding-top: 16px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.shop-layout { padding-top: 16px; padding-bottom: 48px; display: flex; gap: 20px; align-items: flex-start; }
.shop-side { flex: 0 0 260px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 88px; }
.side-box { overflow: hidden; }
.side-head { padding: 12px 16px; background: var(--navy); color: #fff; font-weight: 700; }
.side-group { padding: 10px 16px 4px; font-size: 12px; }
.side-box a.side-link {
	display: flex; justify-content: space-between; gap: 8px; padding: 11px 16px;
	border-bottom: 1px solid var(--bg); color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none;
}
.side-box a.side-link:hover { background: var(--bg); }
.side-box a.side-link.is-active { background: var(--orange-bg); color: var(--orange-text); font-weight: 700; }
.side-box a.side-link span { color: var(--muted); }
.side-help { padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--orange-bg); border-color: var(--orange-line); }
.side-help strong { color: var(--navy); }
.side-help span { font-size: 13px; color: var(--muted); }
.shop-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.shop-head { padding: 12px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.shop-head h1 { font-size: 22px; }
.shop-head p { margin: 0; font-size: 13px; color: var(--muted); }
.woocommerce-ordering select { height: 40px; padding: 0 10px; border: 1px solid #D1D5DB; border-radius: 6px; background: #fff; }
.shop-chips { display: none; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.shop-chips a {
	flex: none; display: flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 19px;
	background: #fff; border: 1px solid #D1D5DB; color: var(--text); font-size: 13px; text-decoration: none; white-space: nowrap;
}
.shop-chips a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.woocommerce-pagination ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce-pagination a, .woocommerce-pagination span {
	min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 8px;
	background: #fff; border: 1px solid var(--line); border-radius: 6px; text-decoration: none;
}
.woocommerce-pagination span.current { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.empty-note { padding: 32px; text-align: center; color: var(--muted); }

/* ---------- Single product ---------- */
.pd { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.pd-gallery { flex: 1 1 480px; min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pd-main { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: #fff; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pd-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1 / 1; }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--navy); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pd-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 4px 10px; border-radius: 4px; background: var(--bg); color: #374151; font-size: 12px; font-weight: 600; }
.chip.is-ok { background: #DCFCE7; color: #166534; font-weight: 700; }
.pd-card h1 { font-size: 28px; }
.pd-excerpt { color: var(--muted); }
.pd-excerpt p { margin: 0 0 8px; }
.price-box { background: var(--orange-bg); border: 1px solid var(--orange-line); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.price-box .amount, .price-box .price-contact { font-size: 30px; }
.price-box .price-note { font-size: 14px; color: #9A3412; font-weight: 600; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 6px; font-size: 13px; color: #374151; }
.perks div { display: flex; flex-direction: column; gap: 2px; }
.perks strong { color: var(--navy); }
.spec-table { overflow: hidden; }
.spec-table h2 { padding: 14px 20px; background: var(--navy); color: #fff; font-size: 15px; }
.spec-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--bg); }
.spec-table th { text-align: left; padding: 12px 20px; width: 40%; color: var(--muted); font-weight: 500; background: #F9FAFB; vertical-align: top; }
.spec-table td { padding: 12px 20px; font-weight: 600; }
.options-table thead th { background: #F9FAFB; color: var(--muted); font-weight: 600; font-size: 13px; width: auto; }
.options-table td { vertical-align: top; }
.options-table td.muted { color: var(--muted); font-weight: 500; font-size: 13px; white-space: nowrap; }
.options-table .price-cell { white-space: nowrap; color: var(--orange-text); font-weight: 800; }
.options-table .price-cell .unit { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
@media (max-width: 600px) {
	.options-table td.muted, .options-table th:nth-child(2) { display: none; }
	.options-table th, .options-table td { padding: 10px 12px; }
}
.prose-box { padding: 24px; }
.prose-box .prose img { margin: 0 auto 12px; }
.prose-box h2 { font-size: 20px; margin-bottom: 12px; }
.prose { color: #374151; }
.prose img { border-radius: 8px; }
.prose a { font-weight: 600; }

/* ---------- Custom solutions page ---------- */
.cs-hero { background: var(--navy); color: #fff; }
.cs-hero .container { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.cs-hero .copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }
.cs-hero h1 { color: #fff; font-size: 40px; }
.cs-hero p { margin: 0; font-size: 17px; color: #CBD5E1; max-width: 600px; }
.cs-hero .tag { align-self: flex-start; padding: 6px 12px; background: var(--orange); color: var(--navy-dark); border-radius: 4px; font-size: 13px; font-weight: 700; }
.cs-hero .media { flex: 1 1 360px; height: 280px; border-radius: var(--radius); overflow: hidden; }
.cs-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.cs-hero .media .ph { background: repeating-linear-gradient(135deg, #2E3B7E 0 12px, #273370 12px 24px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.steps li { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--navy-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.steps strong { font-size: 17px; color: var(--navy); }
.steps span { font-size: 14px; color: var(--muted); }
.inquiry { padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.inquiry .copy { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.inquiry .copy p { margin: 0; color: var(--muted); }
.inquiry form { flex: 2 1 480px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; font-size: 14px; }
.inquiry label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.inquiry input[type="text"], .inquiry input[type="tel"], .inquiry textarea {
	height: 44px; padding: 0 12px; border: 1px solid #D1D5DB; border-radius: 6px; background: #fff; font-weight: 400;
}
.inquiry textarea { height: auto; padding: 10px 12px; }
.inquiry .full { grid-column: 1 / -1; }
.inquiry fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 16px; }
.inquiry fieldset label { flex-direction: row; align-items: center; font-weight: 500; }
.inquiry legend { font-weight: 600; padding: 0 6px; }
.inquiry .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.notice.ok { background: #DCFCE7; color: #166534; }
.notice.err { background: #FEE2E2; color: #991B1B; }

/* ---------- Blog / pages ---------- */
.page-wrap { padding-top: 24px; padding-bottom: 56px; }
.page-title { font-size: 30px; margin-bottom: 16px; }
.article { max-width: 860px; margin: 0 auto; padding: 32px; }
.article .meta { font-size: 13px; color: var(--muted); margin: 8px 0 20px; }
.article .cover { border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.article .prose { font-size: 16px; line-height: 1.75; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 48px; background: var(--navy-dark); color: #CBD5E1; }
.footer-grid { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; font-size: 14px; line-height: 1.7; }
.footer-grid > div { display: flex; flex-direction: column; gap: 6px; }
.footer-grid strong { color: #fff; font-size: 16px; }
.footer-grid a { color: #CBD5E1; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.iso-logo { width: 120px; height: 80px; border: 1px dashed #64748B; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; overflow: hidden; background: #fff; }
.iso-logo.is-empty { background: transparent; }
.iso-logo img { max-height: 76px; width: auto; }
.footer-bottom { border-top: 1px solid #2E3B7E; padding: 14px 0; font-size: 12px; color: #94A3B8; }

/* Floating contact (desktop) and bottom bar (mobile) */
.float-contact { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-contact a {
	width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; font-weight: 800; font-size: 13px; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.float-contact .z { background: var(--zalo); }
.float-contact .w { background: var(--wa); font-size: 11px; }
.bottom-bar {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	background: #fff; border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
	box-shadow: 0 -4px 12px rgba(0, 0, 0, .08);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero { grid-template-columns: 1fr; }
	.hero-side { flex-direction: row; }
	.trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust div:nth-child(2) { border-right: 0; }
	.trust div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
	.header-row { gap: 8px; min-height: 60px; }
	.container { padding: 0 12px; }
	.brand-mark { width: 36px; height: 36px; font-size: 17px; }
	.brand .custom-logo { height: 26px; }
	.hero-main { background: linear-gradient(rgba(21, 28, 66, .88), rgba(21, 28, 66, .88)), var(--hero-img, none) center / cover no-repeat, var(--navy); }
	.brand-name { font-size: 16px; }
	.menu-toggle { display: inline-flex; margin-left: auto; }
	.header-tools .lang-switch, .header-quote { display: none; }
	.main-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		max-height: calc(100vh - 60px); overflow-y: auto;
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(34, 46, 101, .15);
		flex-direction: column; align-items: stretch; gap: 0;
	}
	.site-header.is-nav-open .main-nav { display: flex; }
	.main-nav > * { flex-shrink: 0; }
	.main-nav .nav-link { height: 56px; padding: 0 20px; border-radius: 0; border-bottom: 1px solid var(--bg); justify-content: space-between; font-size: 16px; width: 100%; }
	.nav-item { display: flex; flex-direction: column; }
	.mega { position: static; box-shadow: none; border-top: 0; background: #F9FAFB; }
	.mega-grid { padding: 6px 12px 12px; gap: 8px; grid-template-columns: 1fr; }
	.mega-col .eyebrow { padding: 10px 20px 4px; }
	.mega-col a { padding: 12px 20px; font-weight: 500; }
	.mega-all { display: none; }
	.lang-mobile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px; }
	.lang-mobile a { height: 48px; display: flex; align-items: center; justify-content: center; padding: 0; font-size: 14px; }
	.nav-quote { display: flex; margin: 0 20px 20px; }

	.section { margin-top: 24px; }
	.section-head h2 { font-size: 19px; }
	.hero { margin-top: 12px; }
	.hero-main { padding: 24px 18px; min-height: 0; gap: 12px; }
	.hero-main h1 { font-size: 25px; }
	.hero-main p { font-size: 14px; }
	.hero-main .btn-zalo, .hero-main .btn-wa { display: none; }
	.hero-main .btn-row .btn { flex: 1; }
	.hero-side { display: none; }
	.trust div { padding: 12px; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.cat-card { padding: 10px; gap: 8px; }
	.cat-media { height: 90px; }
	.cat-card strong { font-size: 13px; }
	.cat-card span { display: none; }
	.custom-band { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
	.custom-band h2 { font-size: 18px; }
	.custom-band .media { height: 200px; order: -1; }

	.header-tools { margin-left: auto; }
	.shop-layout { flex-direction: column; align-items: stretch; padding-top: 8px; }
	.shop-main { width: 100%; }
	.shop-side { display: none; }
	.shop-chips { display: flex; }
	.pd-gallery { flex-basis: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; }
	.pd-card { padding: 16px; }
	.pd-card h1 { font-size: 22px; }
	.price-box .amount, .price-box .price-contact { font-size: 26px; }
	.pd-card .pd-cta { display: none; }
	.cs-hero h1 { font-size: 28px; }
	.cs-hero .container { padding-top: 32px; padding-bottom: 32px; gap: 24px; }
	.inquiry { padding: 18px; }
	.inquiry form { grid-template-columns: 1fr; }
	.article { padding: 18px; }
}

@media (min-width: 901px) {
	.lang-mobile, .nav-quote { display: none; }
}

@media (max-width: 768px) {
	body { padding-bottom: 72px; }
	.float-contact { display: none; }
	.bottom-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.pgrid, .home .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.pcard-body { padding: 10px; gap: 4px; }
	.pcard-title { font-size: 13px; }
	.spec { font-size: 11px; background: transparent; padding: 0; color: var(--muted); }
	.price-line .amount, .price-line .price-contact { font-size: 16px; }
	.pcard .price-note { display: none; }
	.pcard-cta .btn-wa { display: none; }
	.pcard-cta.btn-pair { grid-template-columns: 1fr; }
	.badge { font-size: 10px; padding: 2px 6px; }
	.perks { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr; }
}

/* ---------- About / contact / cases (1.3) ---------- */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: stretch; }
.about-text p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; }
.mission { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.mission .eyebrow { color: #FDBA74; }
.mission p { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.35; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts div { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts strong { font-size: 28px; color: var(--navy); line-height: 1.1; }
.facts span { font-size: 13px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-weight: 600; color: var(--navy); }
.iso-block { padding: 28px; display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 28px; align-items: center; }
.iso-cert img { border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.iso-copy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.iso-copy h2 { font-size: 24px; }
.iso-copy p { margin: 0; color: #374151; }
.iso-copy dl, .contact-list, .case dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 14px; }
.iso-copy dt, .contact-list dt, .case dt { color: var(--muted); }
.iso-copy dd, .contact-list dd, .case dd { margin: 0; font-weight: 600; }
.cta-band { padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta-band strong { color: var(--navy); font-size: 17px; flex: 1 1 320px; }
.cta-band .btn-pair { flex: 1 1 360px; }
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
.contact-card { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.contact-card .lead { margin: 0; font-size: 16px; color: #374151; }
.contact-side { display: flex; flex-direction: column; gap: 12px; }
.info-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.info-card strong { color: var(--navy); }
.info-card span { color: #374151; font-size: 14px; }
.map-box { margin-top: 16px; overflow: hidden; }
.map-box iframe { display: block; width: 100%; height: 420px; border: 0; }
.case { padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; margin-bottom: 14px; }
.case-copy { display: flex; flex-direction: column; gap: 12px; }
.case h3 { font-size: 22px; color: var(--navy); }
.case dl { grid-template-columns: 1fr; gap: 4px; }
.case dd { font-weight: 400; color: #374151; margin-bottom: 10px; }
.case dd.result { font-weight: 700; color: #166534; }
.case-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-content: start; }
.case-photos img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; }
.post-card .case-result { font-size: 13px; color: #166534; font-weight: 600; }
.post-card .case-more { font-size: 13px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.iso-badge { margin-top: 12px; display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px solid #3B4A8C; border-radius: 6px; max-width: 240px; }
.iso-badge strong { color: #fff; font-size: 15px; }
.iso-badge span { font-size: 12px; color: #94A3B8; }
.iso-badge img { max-height: 70px; width: auto; background: #fff; border-radius: 4px; }
@media (max-width: 900px) {
	.about-grid, .contact-grid, .iso-block, .case { grid-template-columns: 1fr; }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts div:nth-child(2) { border-right: 0; }
	.facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.gallery { grid-template-columns: 1fr; }
	.gallery img { aspect-ratio: 4 / 3; }
	.mission p { font-size: 20px; }
	.case-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.map-box iframe { height: 320px; }
	.iso-block { padding: 18px; }
}

/* ---------- Case detail page (?case=…) ---------- */
.cs-hero .case-hero-result { color: #FDBA74; font-weight: 700; font-size: 18px; }
.case-detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.case-step { padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.case-step .num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.case-step h2 { font-size: 17px; color: var(--navy); margin: 4px 0 8px; }
.case-step p { margin: 0; font-size: 15px; line-height: 1.6; color: #374151; }
.case-step.is-result { border-color: #BBF7D0; background: #F0FDF4; }
.case-step.is-result .num { background: #16A34A; }
.case-step.is-result p { color: #166534; font-weight: 700; }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.case-gallery a { overflow: hidden; padding: 0; aspect-ratio: 4 / 3; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.case-gallery a:hover img { transform: scale(1.03); }
.case-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; font-weight: 600; }
.case-links a { color: var(--navy); }
@media (max-width: 900px) {
	.case-detail { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.case-gallery { grid-template-columns: 1fr; }
}
.case-videos { display: flex; flex-wrap: wrap; gap: 14px; }
.case-video { padding: 0; overflow: hidden; background: #000; flex: 0 1 340px; }
.case-video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.case-detail-link { align-self: flex-start; }
@media (max-width: 600px) { .case-video { flex-basis: 100%; } }

/* ---------- Product description text & FAQ ---------- */
.prose h3 { font-size: 17px; color: var(--navy); margin: 20px 0 8px; }
.prose ul { margin: 0 0 12px; padding-left: 20px; }
.prose ul li { margin: 4px 0; list-style: disc; }
.prose p { margin: 0 0 12px; line-height: 1.7; }
.faq-lead { color: var(--muted); max-width: 760px; margin: 0 0 8px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 0; }
.faq-item summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; color: var(--navy); position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--orange); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 20px 16px; color: #374151; line-height: 1.7; }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--navy); font-weight: 600; text-decoration: underline; }
