/* ==========================================================================
   Henglin Sanitary Ware — main stylesheet
   Design tokens carried over from the approved static prototype.
   ========================================================================== */

:root {
	--main: #14315C;
	--main-dark: #0E2440;
	--main-light: #EAF0F8;
	--accent: #2F7FB8;
	--bg: #FFFFFF;
	--bg-soft: #F7F9FC;
	--ink: #1F2329;
	--sub: #646A73;
	--line: #DEE3E8;
	--radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	font-size: 16px;
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: #fff; padding: 12px 16px; }
.skip-link:focus { left: 12px; top: 12px; }

img { max-width: 100%; display: block; }

section[id] { scroll-margin-top: 90px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

/* ===== Navigation ===== */
.nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon-img { width: 36px; height: 36px; object-fit: contain; }
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: 2px; color: var(--main); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }

.lang-switcher {
	display: flex;
	align-items: center;
	gap: 0;
	margin-left: 16px;
	border: 1px solid var(--line);
	border-radius: 6px;
	overflow: hidden;
}
.lang-switcher button {
	padding: 6px 12px;
	font-size: 13px;
	border: none;
	background: #fff;
	cursor: pointer;
	color: var(--sub);
	transition: all .2s;
	font-weight: 500;
	min-width: 44px;
	min-height: 44px;
}
.lang-switcher button.active { background: var(--main); color: #fff; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ===== Hero ===== */
.hero {
	background: linear-gradient(135deg, var(--main-dark) 0%, var(--main) 100%);
	color: #fff;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}
.hero::after {
	content: "";
	position: absolute;
	right: -100px;
	top: -100px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.03);
}
.hero-wrap { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: 42px; line-height: 1.2; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: #8FB8E0; }
.hero-desc { font-size: 17px; color: rgba(255, 255, 255, 0.8); margin-bottom: 16px; line-height: 1.7; }
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 36px; }
.hero-tag {
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 20px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.9);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
	padding: 14px 32px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 15px;
	display: inline-block;
	transition: transform .2s, background .2s;
	cursor: pointer;
}
.btn-light { background: #fff; color: var(--main); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-outline.disabled { cursor: default; }

.hero-media { display: flex; justify-content: center; }
.hero-img {
	width: 100%;
	max-width: 380px;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 1321 / 1545;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Stats ===== */
.stats { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { text-align: center; min-width: 0; }
.stat-num { font-size: clamp(28px, 4vw, 36px); font-weight: 700; color: var(--main); line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--sub); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.4; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head.left { text-align: left; }
.section-head h2 { font-size: 32px; font-weight: 700; color: var(--main); margin-bottom: 12px; letter-spacing: -0.3px; }
.section-head p { font-size: 16px; color: var(--sub); max-width: 640px; margin: 0 auto; }
.section-head.left p { margin-left: 0; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255, 255, 255, 0.7); }

/* ===== Product cards ===== */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	transition: transform .2s, box-shadow .2s;
	display: flex;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(20, 49, 92, 0.1); }
.product-card-img { width: 45%; min-height: 200px; overflow: hidden; background: var(--bg-soft); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 24px; flex: 1; }
.product-card-cat { font-size: 12px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.product-card-body h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.product-card-body p { font-size: 14px; color: var(--sub); line-height: 1.6; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	font-size: 12px;
	padding: 4px 10px;
	background: var(--bg-soft);
	border-radius: 4px;
	color: var(--sub);
	border: 1px solid var(--line);
}

/* ===== Factory & QC ===== */
.factory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.factory-media { border-radius: var(--radius); overflow: hidden; height: 280px; }
.factory-media img { width: 100%; height: 100%; object-fit: cover; }
.factory-body { display: flex; flex-direction: column; gap: 24px; }
.qc-steps { margin-top: 0; }
.qc-step { padding: 16px 0; border-bottom: 1px solid var(--line); }
.qc-step:last-child { border-bottom: none; }
.qc-step h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.qc-step p { font-size: 14px; color: var(--sub); line-height: 1.6; }

/* ===== OEM / ODM ===== */
.oem-band { background: var(--main); color: #fff; }
.oem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 48px; }
.oem-item { padding: 24px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); }
.oem-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.oem-item p { font-size: 14px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
.oem-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.process-step { padding: 24px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); }
.process-num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 16px;
}
.process-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }

/* ===== Certifications notice ===== */
.cert-notice {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px;
	text-align: center;
}
.cert-notice h3 { font-size: 18px; font-weight: 600; color: var(--main); margin-bottom: 10px; }
.cert-notice p { font-size: 14px; color: var(--sub); line-height: 1.7; max-width: 500px; margin: 0 auto; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	padding: 20px 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--sub); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 20px; font-size: 14px; color: var(--sub); line-height: 1.7; }

/* ===== Contact CTA ===== */
.cta-band { background: linear-gradient(135deg, var(--main) 0%, var(--main-dark) 100%); text-align: center; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
footer {
	background: var(--main-dark);
	color: rgba(255, 255, 255, 0.7);
	padding: 60px 0 30px;
	font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin-top: 16px; line-height: 1.7; font-size: 13px; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; padding: 4px 0; color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, 0.5); font-size: 12px; }
.footer-legal a:hover { color: #fff; }

.contact-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.contact-value { flex: 1; color: var(--accent); overflow-wrap: anywhere; font-size: 13px; }
footer .contact-value { color: rgba(255, 255, 255, 0.7); }
.copy-btn {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 4px 10px;
	font-size: 12px;
	cursor: pointer;
	color: var(--sub);
	transition: all .2s;
	white-space: nowrap;
}
.copy-btn:hover { background: var(--main-light); color: var(--main); border-color: var(--main-light); }
.copy-btn.copied { background: #D4EDDA; color: #155724; border-color: #C3E6CB; }

/* ===== WhatsApp float ===== */
.whatsapp-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	z-index: 99;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ===== Quote page ===== */
.page-header {
	background: linear-gradient(135deg, var(--main) 0%, var(--main-dark) 100%);
	padding: 60px 0 50px;
	text-align: center;
}
.page-header h1 { font-size: 36px; color: #fff; margin-bottom: 12px; }
.page-header p { color: rgba(255, 255, 255, 0.75); font-size: 16px; max-width: 600px; margin: 0 auto; }
.woocommerce .woocommerce-breadcrumb { max-width: 1200px; margin: 0 auto; padding: 12px 24px; font-size: 13px; color: var(--sub); }
.woocommerce-breadcrumb a { color: var(--main); }

.quote-section { padding: 60px 0; }
.quote-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 40px; max-width: 900px; margin: 0 auto; }
.quote-form { background: var(--bg-soft); border-radius: var(--radius); padding: 32px; }
.product-notice {
	background: #E8F4FD;
	border: 1px solid #B8DAF5;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 14px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.product-notice-label { color: var(--sub); margin-right: 6px; }
.product-notice-model { font-weight: 700; color: var(--main); margin-right: 8px; }
.product-notice-name { color: var(--ink); }

.quote-notice {
	max-width: 900px;
	margin: 12px auto 0;
	padding: 14px 18px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
}
.quote-notice-success { background: #E8F7EE; border: 1px solid #B7E4C7; color: #14532D; }
.quote-notice-error { background: #FDECEC; border: 1px solid #F5B7B1; color: #7A1F1F; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-group.field-error input,
.form-group.field-error select,
.form-group.field-error textarea { border-color: #D93025; background: #FFF8F8; }

.product-select-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-select-row select:disabled { background: #f0f0f0; cursor: not-allowed; }

.product-preview {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.product-preview-img { width: 100px; flex-shrink: 0; }
.product-preview-img img { width: 100%; border-radius: 6px; display: block; }
.product-preview-info { flex: 1; }
.preview-model { font-size: 13px; color: var(--accent); font-weight: 600; }
.preview-name { font-size: 15px; font-weight: 600; color: var(--ink); margin: 4px 0 10px; }
.preview-price-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 8px; }
.preview-price-table td { padding: 4px 0; border-bottom: 1px solid var(--line); }
.preview-price-table td:last-child { text-align: right; font-weight: 600; color: var(--main); }
.preview-note { font-size: 11px; color: var(--sub); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
	transition: border-color .2s;
	font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--accent);
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}
.form-group textarea { min-height: 100px; resize: vertical; }

.btn-submit {
	width: 100%;
	padding: 14px;
	background: var(--main);
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}
.btn-submit:hover { background: var(--main-dark); }

.quote-privacy { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--sub); }
.quote-privacy a { color: var(--accent); text-decoration: underline; }

.quote-side h3 { font-size: 18px; color: var(--main); margin-bottom: 16px; }
.quote-side p { font-size: 14px; color: var(--sub); margin-bottom: 20px; }
.quote-side ul { list-style: none; }
.quote-side li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.quote-side li strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* ===== WooCommerce catalog overrides ===== */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
/* WooCommerce clearfix pseudos must not occupy grid cells. */
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; display: block; clear: none; }
.woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link { display: block; }
/* Match legacy smallscreen attribute selector specificity so floats/widths stay off. */
.woocommerce ul.products[class*=columns-] li.product {
	float: none;
	width: auto;
	margin: 0;
	clear: none;
}
.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; margin: 0 0 0 0; box-shadow: none; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px;
	color: var(--ink);
	margin: 12px 16px 8px;
	line-height: 1.5;
	padding: 0;
}
.woocommerce ul.products li.product .henglin-inquire-btn {
	margin: 0 16px 16px;
	align-self: flex-start;
}
.henglin-inquire-btn {
	display: inline-block;
	margin-top: 12px;
	background: var(--main);
	color: #fff;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
}
.henglin-inquire-btn:hover { background: var(--main-dark); }
.woocommerce ul.products .star-rating { display: none; }

/* ===== Single product detail ===== */
.breadcrumb {
	background: var(--bg-soft);
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
	color: var(--sub);
}
.breadcrumb a { color: var(--sub); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

.product-detail-main { padding: 0 0 60px; }
.product-main {
	padding: 40px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.gallery-main {
	background: var(--bg-soft);
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-top: 12px;
}
.gallery-thumb {
	aspect-ratio: 1;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	background: var(--bg-soft);
	transition: border-color .2s;
}
.gallery-thumb.active { border-color: var(--main); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info .model {
	font-size: 13px;
	color: var(--accent);
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 8px;
}
.product-info h1 {
	font-size: 28px;
	font-weight: 700;
	color: var(--main);
	margin-bottom: 8px;
	line-height: 1.3;
}
.product-info .name-zh { font-size: 15px; color: var(--sub); margin-bottom: 16px; }
.product-info .desc { font-size: 15px; color: var(--sub); margin-bottom: 24px; line-height: 1.7; }

.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.product-tag {
	font-size: 12px;
	padding: 4px 10px;
	background: var(--main-light);
	color: var(--main);
	border-radius: 4px;
	font-weight: 500;
}
.product-tag-note { background: #FDECEA; color: #B42318; }

.spec-quick {
	background: var(--bg-soft);
	border-radius: var(--radius);
	padding: 20px 24px;
	margin-bottom: 28px;
}
.spec-quick-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}
.spec-quick-row:last-child { border-bottom: none; }
.spec-quick-label { color: var(--sub); flex: 0 0 150px; }
.spec-quick-value { font-weight: 600; color: var(--ink); text-align: right; }

.price-table {
	background: var(--bg-soft);
	border-radius: var(--radius);
	padding: 20px 24px;
	margin-bottom: 28px;
}
.price-table-title { font-size: 14px; font-weight: 600; color: var(--main); margin-bottom: 12px; }
.price-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-table td:last-child { text-align: right; font-weight: 600; color: var(--main); }
.price-table tr:last-child td { border-bottom: none; }
.price-note { margin-top: 10px; font-size: 12px; color: var(--sub); }

.inquiry-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.inquiry-actions .btn-primary,
.inquiry-actions .btn-outline {
	flex: 1;
	min-width: 160px;
	text-align: center;
	padding: 14px 24px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	transition: all .2s;
}
.inquiry-actions .btn-primary { background: var(--main); color: #fff; }
.inquiry-actions .btn-primary:hover { background: var(--main-dark); }
.inquiry-actions .btn-outline { border: 2px solid var(--main); color: var(--main); }
.inquiry-actions .btn-outline:hover { background: var(--main); color: #fff; }

.detail-section { padding: 60px 0; border-top: 1px solid var(--line); }
.detail-section h2,
.related-section h2 { font-size: 24px; font-weight: 700; color: var(--main); margin-bottom: 24px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}
.spec-table th { background: var(--bg-soft); font-weight: 600; color: var(--ink); width: 220px; }
.spec-table td { color: var(--sub); }
.spec-note { margin-top: 12px; font-size: 12px; color: var(--sub); font-style: italic; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 24px; background: var(--bg-soft); border-radius: var(--radius); }
.feature-card h3 { font-size: 15px; font-weight: 600; color: var(--main); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--sub); line-height: 1.6; }

.detail-images { margin-top: 32px; }
.detail-images img { width: 100%; border-radius: var(--radius); margin-bottom: 16px; }

.related-section { padding: 60px 0; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(20, 49, 92, 0.1); }
.related-card-img { aspect-ratio: 1; background: var(--bg-soft); overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 14px; }
.related-card-body .model { font-size: 11px; color: var(--accent); font-weight: 600; }
.related-card-body .name { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 4px; line-height: 1.4; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		padding: 20px;
		border-bottom: 1px solid var(--line);
		gap: 16px;
		align-items: flex-start;
	}
	.nav-links.open { display: flex; }
	.menu-toggle { display: block; }
	.hero { padding: 56px 0; }
	.hero-wrap { grid-template-columns: 1fr; gap: 32px; }
	.hero h1 { font-size: 30px; }
	.hero-desc { font-size: 16px; }
	.hero-img { max-width: 320px; }
	.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.product-grid { grid-template-columns: 1fr; }
	.product-card { flex-direction: column; }
	.product-card-img { width: 100%; min-height: 160px; }
	.factory-grid { grid-template-columns: 1fr; gap: 24px; }
	.oem-grid { grid-template-columns: 1fr; gap: 16px; }
	.oem-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quote-wrap { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.section { padding: 56px 0; }
	.section-head h2 { font-size: 26px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-main { grid-template-columns: 1fr; gap: 24px; }
	.feature-grid { grid-template-columns: 1fr; }
	.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.oem-process { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero { padding: 56px 0 110px; }
	.hero h1 { font-size: 26px; }
	.hero-actions { flex-direction: column; gap: 12px; }
	.hero-actions .btn { width: 100%; text-align: center; }
	.container { padding: 0 16px; }
	.quote-form { padding: 24px; }
	.product-select-row { grid-template-columns: 1fr; }
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.related-grid { grid-template-columns: 1fr; }
	.product-info h1 { font-size: 22px; }
	.spec-quick-row { flex-direction: column; gap: 2px; }
	.spec-quick-value { text-align: left; }
	.whatsapp-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
	.quote-form { padding-bottom: 80px; }
}

/* ===== Legal pages ===== */
.legal-wrap {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 40px;
}
.legal-wrap .section-head {
	text-align: left;
	margin-bottom: 24px;
}
.legal-wrap .section-head p {
	margin: 12px 0 0;
	max-width: none;
}
.legal-draft {
	display: inline-block;
	background: #fff7e6;
	color: #8a5a00;
	border: 1px solid #ffd591;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
}
.legal-updated {
	color: var(--sub);
	font-size: 14px;
	margin: 16px 0 32px;
}
.legal-section {
	margin-bottom: 28px;
}
.legal-section h2 {
	font-size: 19px;
	color: var(--main);
	margin: 0 0 10px;
}
.legal-section p {
	color: var(--ink);
	line-height: 1.8;
	margin: 0 0 12px;
}
.legal-contact {
	border-top: 1px solid var(--line);
	padding-top: 24px;
}
@media (max-width: 768px) {
	.legal-wrap { padding: 24px; border-radius: 12px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}

img[src*="hl-ss-008"] { object-fit: contain; background: #fff; }
