/*
Theme Name: JQFM Valve
Theme URI: https://www.jqfm-valve.com/
Description: 还原 Jianqiao Valve Industry Group 官网的自定义主题（工业阀门外贸站）
Version: 1.1.2
Author: WorkBuddy
Text Domain: jqfm-valve
*/

/* ============ 全局 ============ */
:root {
	--orange: #e95c25;
	--orange-dark: #cf4e1c;
	--blue: #0f468c;
	--blue-dark: #0a1629;
	--text: #222;
	--text-light: #666;
	--text-lighter: #999;
	--bg: #fff;
	--bg-gray: #f5f5f5;
	--border: #e4e4e4;
	--font: 'Poppins', 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, h5 { font-weight: 600; line-height: 1.3; color: var(--text); }

.btn {
	display: inline-block; padding: 12px 30px; border-radius: 3px;
	background: var(--orange); color: #fff; font-weight: 500; font-size: 14px;
	transition: background .25s;
}
.btn:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--orange); }

.section-title { font-size: 30px; font-weight: 700; color: var(--text); text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--text-light); margin-bottom: 40px; }
.section-tag { display: block; text-align: center; color: var(--orange); font-weight: 600; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }

/* 产品占位图 */
.jqfm-placeholder { width: 100%; height: 100%; display: block; }

/* ============ 顶部信息条 ============ */
.jqfm-topbar {
	background: var(--blue-dark); color: rgba(255,255,255,.85);
	font-size: 13px; padding: 8px 0;
}
.jqfm-topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.jqfm-topbar a { color: rgba(255,255,255,.85); }
.jqfm-topbar a:hover { color: #fff; }
.jqfm-topbar .sep { margin: 0 10px; opacity: .4; }

/* ============ Header ============ */
.jqfm-header {
	background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06);
	position: sticky; top: 0; z-index: 1000;
}
.jqfm-header .container { display: flex; align-items: center; justify-content: space-between; height: 82px; }

.jqfm-logo { display: flex; align-items: center; font-size: 20px; font-weight: 700; color: var(--blue); }
.jqfm-logo .logo-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 4px; margin-right: 10px;
	background: linear-gradient(135deg, var(--orange), var(--blue));
	color: #fff; font-weight: 700; font-size: 18px; flex: 0 0 auto;
}
.jqfm-logo .logo-text small { display: block; font-size: 11px; font-weight: 400; color: var(--text-light); letter-spacing: .5px; }

.jqfm-nav { display: flex; align-items: center; }

.jqfm-nav > ul { display: flex; align-items: center; }
.jqfm-nav > ul > li { position: relative; }
.jqfm-nav > ul > li > a {
	display: block; padding: 30px 16px; font-size: 14px; font-weight: 500; color: var(--text);
	position: relative;
}
.jqfm-nav > ul > li > a:hover,
.jqfm-nav > ul > li.current-menu-item > a,
.jqfm-nav > ul > li.current_page_item > a { color: var(--orange); }
.jqfm-nav > ul > li > a::after {
	content: ''; position: absolute; left: 16px; right: 16px; bottom: 22px;
	height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s;
}
.jqfm-nav > ul > li:hover > a::after { transform: scaleX(1); }

/* 下拉菜单 */
.jqfm-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 260px;
	background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.12);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
	z-index: 100; border-top: 3px solid var(--orange);
}
.jqfm-nav > ul > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.jqfm-nav .sub-menu li a {
	display: block; padding: 11px 20px; font-size: 13.5px; color: var(--text-light);
	border-bottom: 1px solid #f2f2f2;
}
.jqfm-nav .sub-menu li a:hover { color: var(--orange); background: #fafafa; padding-left: 25px; }

/* 语言 + 搜索 + CTA */
.jqfm-header-actions { display: flex; align-items: center; gap: 14px; }
.jqfm-lang { position: relative; font-size: 13px; color: var(--text-light); }
.jqfm-lang > a { display: inline-flex; align-items: center; gap: 4px; color: var(--text-light); }
.jqfm-lang .sub-menu {
	position: absolute; top: 100%; right: 0; min-width: 120px;
	background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.12);
	display: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
	z-index: 100; border-top: 3px solid var(--orange); margin-top: 8px;
	border-radius: 0 0 4px 4px; overflow: hidden;
}
.jqfm-lang:hover .sub-menu,
.jqfm-lang.active .sub-menu {
	display: block; opacity: 1; visibility: visible; transform: translateY(0);
}
.jqfm-lang .sub-menu li a {
	display: block; padding: 10px 16px; font-size: 13px; color: var(--text-light);
	border-bottom: 1px solid #f2f2f2; white-space: nowrap;
}
.jqfm-lang .sub-menu li a:hover { color: var(--orange); background: #fafafa; }
.jqfm-lang .sub-menu li:last-child a { border-bottom: none; }
.jqfm-search-toggle { font-size: 18px; color: var(--text-light); cursor: pointer; }
.jqfm-header .btn { padding: 10px 22px; font-size: 13px; }

/* 移动端汉堡 */
.jqfm-menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.jqfm-menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: .3s; }

/* ============ 面包屑 ============ */
.jqfm-breadcrumb { background: var(--bg-gray); border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 13px; }
.jqfm-breadcrumb a { color: var(--text-light); }
.jqfm-breadcrumb a:hover { color: var(--orange); }
.jqfm-breadcrumb .current { color: var(--orange); font-weight: 500; }
.jqfm-breadcrumb span { margin: 0 6px; color: #ccc; }

/* ============ 首页：Banner ============ */
.jqfm-banner { position: relative; height: 100vh; overflow: hidden; background: var(--blue-dark); }
.jqfm-banner .slide {
	position: absolute; inset: 0; display: flex; align-items: center;
	opacity: 0; transition: opacity 1s ease; z-index: 1;
}
.jqfm-banner .slide.active { opacity: 1; z-index: 2; }
.jqfm-banner .slide-bg { position: absolute; inset: 0; background: linear-gradient(120deg, #0a1629 0%, #0f468c 55%, #e95c25 130%); }
.jqfm-banner .slide-bg.bg2 { background: linear-gradient(120deg, #0a1629 0%, #1a3a6b 50%, #0f468c 120%); }
.jqfm-banner .slide-bg.bg3 { background: linear-gradient(120deg, #0a1629 0%, #123456 60%, #cf4e1c 140%); }
.jqfm-banner .slide-inner { position: relative; z-index: 2; color: #fff; max-width: 620px; }
.jqfm-banner .slide-inner .tag { display: inline-block; color: var(--orange); font-weight: 600; letter-spacing: 3px; font-size: 14px; text-transform: uppercase; margin-bottom: 16px; }
.jqfm-banner .slide-inner h1 { font-size: 46px; font-weight: 700; color: #fff; margin-bottom: 20px; line-height: 1.15; }
.jqfm-banner .slide-inner p { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 30px; }
.jqfm-banner .slide-inner .btn { margin-right: 12px; }
.jqfm-banner-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.jqfm-banner-dots span { width: 34px; height: 4px; background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s; }
.jqfm-banner-dots span.active { background: var(--orange); }
.jqfm-banner-counter { position: absolute; bottom: 30px; right: 40px; z-index: 3; color: #fff; font-size: 20px; font-weight: 600; }

/* ============ 首页：公司简介 ============ */
.jqfm-intro { padding: 90px 0; }
.jqfm-intro .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.jqfm-intro h2 { font-size: 34px; margin-bottom: 18px; }
.jqfm-intro h2 span { color: var(--orange); }
.jqfm-intro .lead { font-size: 17px; color: var(--blue); font-weight: 500; margin-bottom: 14px; }
.jqfm-intro p { color: var(--text-light); margin-bottom: 24px; }
.jqfm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.jqfm-stat { text-align: center; padding: 26px 10px; background: var(--bg-gray); border-radius: 4px; }
.jqfm-stat .num { font-size: 34px; font-weight: 700; color: var(--orange); }
.jqfm-stat .label { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ============ 首页：行业 ============ */
.jqfm-industry { padding: 90px 0; background: var(--bg-gray); }
.jqfm-industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jqfm-industry-card {
	background: #fff; border-radius: 6px; overflow: hidden; position: relative;
	transition: transform .3s, box-shadow .3s; border-bottom: 3px solid transparent;
}
.jqfm-industry-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.1); border-bottom-color: var(--orange); }
.jqfm-industry-card .thumb { height: 180px; position: relative; overflow: hidden; }
.jqfm-industry-card .thumb .jqfm-placeholder { height: 100%; }
.jqfm-industry-card .idx {
	position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff;
	width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-weight: 600; font-size: 15px;
}
.jqfm-industry-card .body { padding: 22px; }
.jqfm-industry-card h3 { font-size: 18px; margin-bottom: 10px; }
.jqfm-industry-card p { font-size: 13.5px; color: var(--text-light); margin-bottom: 14px; }
.jqfm-industry-card .more { color: var(--orange); font-size: 13px; font-weight: 500; }

/* ============ 首页：热门产品 ============ */
.jqfm-hot-products { padding: 90px 0; }
.jqfm-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.jqfm-product-card {
	background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
	transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.jqfm-product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.1); }
.jqfm-product-card .thumb { height: 200px; background: #fafafa; }
.jqfm-product-card .thumb .jqfm-placeholder { height: 100%; }
.jqfm-product-card .body { padding: 18px; text-align: center; }
.jqfm-product-card h3 { font-size: 15px; font-weight: 500; line-height: 1.4; }
.jqfm-product-card h3 a:hover { color: var(--orange); }

/* ============ 首页：定制服务 CTA ============ */
.jqfm-cta { padding: 90px 0; background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; text-align: center; }
.jqfm-cta h2 { color: #fff; font-size: 34px; margin-bottom: 14px; }
.jqfm-cta p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto 30px; }

/* ============ 首页：全球布局 ============ */
.jqfm-global { padding: 90px 0; }
.jqfm-global-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jqfm-global-card { padding: 30px; border: 1px solid var(--border); border-radius: 6px; }
.jqfm-global-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--blue); }
.jqfm-global-card p { font-size: 13.5px; color: var(--text-light); }

/* ============ 首页：新闻 ============ */
.jqfm-home-news { padding: 90px 0; background: var(--bg-gray); }
.jqfm-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jqfm-news-card { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.jqfm-news-card .thumb { height: 170px; background: var(--blue); }
.jqfm-news-card .thumb .jqfm-placeholder { height: 100%; }
.jqfm-news-card .body { padding: 20px; }
.jqfm-news-card .date { font-size: 12px; color: var(--orange); margin-bottom: 8px; }
.jqfm-news-card h3 { font-size: 16px; line-height: 1.5; }
.jqfm-news-card h3 a:hover { color: var(--orange); }

/* ============ 内页通用 ============ */
.jqfm-page-header {
	background: linear-gradient(120deg, var(--blue-dark), var(--blue));
	color: #fff; text-align: center; padding: 70px 0;
}
.jqfm-page-header h1 { color: #fff; font-size: 38px; margin-bottom: 8px; }
.jqfm-page-header p { color: rgba(255,255,255,.8); }
.jqfm-page-content { padding: 60px 0; }
.jqfm-page-content .prose h2 { font-size: 26px; margin: 34px 0 14px; color: var(--blue); }
.jqfm-page-content .prose h3 { font-size: 20px; margin: 26px 0 10px; }
.jqfm-page-content .prose p { margin-bottom: 16px; color: var(--text-light); }
.jqfm-page-content .prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.jqfm-page-content .prose ul li { margin-bottom: 8px; color: var(--text-light); }

/* ============ 产品详情 ============ */
.jqfm-product-detail { display: grid; grid-template-columns: 460px 1fr; gap: 50px; }
.jqfm-product-detail .gallery { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; height: 380px; }
.jqfm-product-detail h1 { font-size: 30px; margin-bottom: 16px; }
.jqfm-product-detail .desc { color: var(--text-light); margin-bottom: 20px; }
.jqfm-feature-list { margin-bottom: 24px; }
.jqfm-feature-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.jqfm-feature-list li strong { color: var(--blue); font-weight: 500; margin-right: 8px; }
.jqfm-params-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.jqfm-params-table th, .jqfm-params-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.jqfm-params-table th { background: var(--blue); color: #fff; font-weight: 500; }

/* ============ FAQ ============ */
.jqfm-faq-item { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 14px; overflow: hidden; }
.jqfm-faq-item .q { padding: 18px 22px; font-weight: 500; cursor: pointer; background: #fafafa; position: relative; }
.jqfm-faq-item .q::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--orange); }
.jqfm-faq-item.open .q::after { content: '–'; }
.jqfm-faq-item .a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; color: var(--text-light); }
.jqfm-faq-item.open .a { padding: 0 22px 20px; max-height: 300px; }

/* ============ 联系页 ============ */
.jqfm-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.jqfm-contact-info .item { display: flex; gap: 16px; margin-bottom: 26px; }
.jqfm-contact-info .icon {
	width: 48px; height: 48px; border-radius: 50%; background: var(--bg-gray);
	display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 20px; flex: 0 0 auto;
}
.jqfm-contact-info .item h4 { font-size: 16px; margin-bottom: 4px; }
.jqfm-contact-info .item p { color: var(--text-light); font-size: 14px; }
.jqfm-contact-form .field { margin-bottom: 16px; }
.jqfm-contact-form label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--text-light); }
.jqfm-contact-form input, .jqfm-contact-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px;
	font-family: var(--font); font-size: 14px; outline: none; transition: border .25s;
}
.jqfm-contact-form input:focus, .jqfm-contact-form textarea:focus { border-color: var(--orange); }
.jqfm-contact-form textarea { min-height: 140px; resize: vertical; }

/* ============ 认证/荣誉 ============ */
.jqfm-cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jqfm-cert-card { border: 1px solid var(--border); border-radius: 6px; text-align: center; padding: 26px 14px; }
.jqfm-cert-card .badge { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--blue)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; }
.jqfm-cert-card h4 { font-size: 15px; }

/* ============ 页脚 ============ */
.jqfm-footer { background: var(--blue-dark); color: rgba(255,255,255,.75); font-size: 14px; }
.jqfm-footer-top { padding: 70px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.jqfm-footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.jqfm-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--orange); }
.jqfm-footer ul li { margin-bottom: 9px; }
.jqfm-footer ul li a { color: rgba(255,255,255,.75); font-size: 13.5px; }
.jqfm-footer ul li a:hover { color: var(--orange); }
.jqfm-footer .about p { font-size: 13.5px; line-height: 1.8; margin-top: 8px; }
.jqfm-footer .contact li { display: flex; gap: 8px; margin-bottom: 12px; font-size: 13.5px; }
.jqfm-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: 13px; }
.jqfm-footer-bottom a { color: rgba(255,255,255,.75); }
.jqfm-footer-bottom a:hover { color: var(--orange); }
.jqfm-footer-bottom .links { display: flex; justify-content: center; gap: 20px; margin-bottom: 8px; flex-wrap: wrap; }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
	.jqfm-product-grid { grid-template-columns: repeat(2, 1fr); }
	.jqfm-industry-grid, .jqfm-news-grid, .jqfm-global-grid { grid-template-columns: repeat(2, 1fr); }
	.jqfm-intro .grid, .jqfm-product-detail, .jqfm-contact-grid { grid-template-columns: 1fr; }
	.jqfm-footer-top { grid-template-columns: 1fr 1fr; }
	.jqfm-nav { display: none; }
	.jqfm-nav.open { display: block; position: absolute; top: 82px; left: 0; right: 0; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.1); max-height: 80vh; overflow-y: auto; }
	.jqfm-nav.open > ul { flex-direction: column; align-items: stretch; }
	.jqfm-nav.open > ul > li > a { padding: 14px 20px; border-bottom: 1px solid #f2f2f2; }
	.jqfm-nav.open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; min-width: auto; padding-left: 16px; background: #fafafa; }
	.jqfm-menu-toggle { display: flex; }
	.jqfm-header-actions .btn, .jqfm-lang { display: none; }
	.jqfm-banner { height: 100vh; }
	.jqfm-banner .slide-inner h1 { font-size: 32px; }
}

@media (max-width: 600px) {
	.jqfm-product-grid, .jqfm-industry-grid, .jqfm-news-grid, .jqfm-global-grid, .jqfm-cert-grid { grid-template-columns: 1fr; }
	.jqfm-footer-top { grid-template-columns: 1fr; }
	.jqfm-stats { grid-template-columns: 1fr; }
	.section-title { font-size: 24px; }
	.jqfm-topbar .sep, .jqfm-topbar .hide-mobile { display: none; }
}

/* ============ 原站图片适配 ============ */
.jqfm-logo .logo-img { max-height: 56px; width: auto; display: block; }
.jqfm-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jqfm-industry-card .thumb .jqfm-img { height: 100%; }
.jqfm-product-card .thumb .jqfm-img { height: 100%; }
.jqfm-news-card .thumb .jqfm-img { height: 100%; }
.jqfm-product-detail .gallery .jqfm-img.gallery-item { width: 100%; height: auto; object-fit: contain; background: #fff; }
.jqfm-about-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 8px; margin: 18px 0; display: block; }
.jqfm-global-img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 8px; margin: 0 0 34px; display: block; }
.jqfm-footer .footer-logo { max-width: 220px; margin-bottom: 14px; display: block; }
.jqfm-footer .footer-qr { width: 110px; height: 110px; object-fit: contain; margin-top: 14px; background: #fff; padding: 6px; border-radius: 6px; display: block; }
.prose img { max-width: 100%; height: auto; border-radius: 6px; margin: 14px 0; }
.single-application .jqfm-img { border-radius: 8px; }
/* ============ 产品详情：大图+缩略图 ============ */
.product-gallery { display: grid; grid-template-columns: 1fr 84px; gap: 12px; height: 420px; }
.gallery-main { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; position: relative; background: #fff; }
.gallery-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .3s; padding: 10px; z-index: 1; }
.gallery-main-img.active { opacity: 1; z-index: 2; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; padding-right: 4px; }
.gallery-thumb { width: 80px; height: 80px; object-fit: cover; border: 2px solid var(--border); border-radius: 4px; cursor: pointer; transition: border-color .2s; flex-shrink: 0; background: #fff; }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--orange); }
@media (max-width: 768px) {
	.product-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr 80px; height: auto; }
	.gallery-thumbs { flex-direction: row; overflow-x: auto; overflow-y: hidden; }
}
/* 导航栏 Logo */
.nav-logo { display: flex; align-items: center; margin-right: 24px; flex-shrink: 0; }
.nav-logo img { height: 28px; width: auto; display: block; }
.jqfm-nav { display: flex; align-items: center; }

/* ===== Products page sidebar layout ===== */
.jqfm-products-layout {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}
.jqfm-products-sidebar {
	width: 260px;
	flex-shrink: 0;
}
.jqfm-sidebar-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--blue);
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--orange);
}
.jqfm-category-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.jqfm-category-item {
	margin-bottom: 8px;
}
.jqfm-category-item a {
	display: block;
	padding: 12px 16px;
	background: #f5f5f5;
	color: var(--text);
	font-size: 14px;
	font-weight: 500;
	border-radius: 4px;
	transition: all .25s ease;
	text-decoration: none;
}
.jqfm-category-item a:hover {
	background: var(--orange);
	color: #fff;
}
.jqfm-products-main {
	flex: 1;
	min-width: 0;
}
.jqfm-products-section {
	margin-bottom: 50px;
}
.jqfm-section-title {
	font-size: 24px;
	color: var(--blue);
	border-left: 4px solid var(--orange);
	padding-left: 14px;
	margin-bottom: 22px;
}
.jqfm-section-title a {
	color: inherit;
	text-decoration: none;
}
.jqfm-section-title a:hover {
	color: var(--orange);
}

/* Mobile responsive */
@media (max-width: 991px) {
	.jqfm-products-layout {
		flex-direction: column;
	}
	.jqfm-products-sidebar {
		width: 100%;
	}
}

