/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Version:      1.0
*/
/* ========== 头部布局 对标参考网站 ========== */
.lm-custom-header {
	width:100%;
	background:#ffffff;
	border-bottom:1px solid #e5e7eb;
	position:relative;
	z-index:9999;
}
.lm-header-inner {
	margin:0 auto;
	justify-content:space-between;
	display:flex;
	align-items:center;
	gap:20px;
	padding:0 16px;
	min-height:64px;
	width:100%;
        flex-wrap:nowrap !important;
}
.lm-header-logo img {
	height:42px;
	width:auto;
}

/* PC主导航容器 */
.lm-main-nav {
	flex-grow:0;
	flex-shrink:1;
	min-width:0 !important;
}
.lm-primary-menu {
	display:flex !important;
	list-style:none !important;
	margin:0 !important;
	padding:0 !important;
	gap:20px;
        flex-wrap:nowrap;
}
.lm-primary-menu > li {
	position:relative;
	padding:24px 0px !important;
	white-space: nowrap;
        margin-right:30px;
}
.lm-primary-menu > li > a {
	text-decoration:none;
	color:#111111;
	font-weight:500;
	font-size:20px;
}
.lm-primary-menu > li > a:hover {
	color:#d62828;
}

/* PC下拉子菜单 */
.lm-primary-menu .sub-menu {
	display:none !important;
	position:absolute;
	top:100%;
	left:0;
	background:#ffffff;
	min-width:220px;
	list-style:none !important;
	margin:0 !important;
	padding:10px 0 !important;
	z-index:99999;
	box-shadow:0 8px 22px rgba(0,0,0,0.08);
	border-radius:0 0 4px 4px;
	border:1px solid #e5e7eb;
}
.lm-primary-menu > li:hover > .sub-menu {
	display:block !important;
	top:100%;
	left:0;
}
.lm-primary-menu .sub-menu li {
	padding:0 !important;
}
.lm-primary-menu .sub-menu li a {
	display:block;
	color:#111111;
	padding:12px 24px;
	text-decoration:none;
	font-size:14.5px;
}
.lm-primary-menu .sub-menu li a:hover {
	background:#f5f5f5;
	color:#d62828;
}

/* 头部右侧：搜索+社交图标 */
.lm-header-right {
	display:flex;
	align-items:center;
	gap:20px;
	flex-shrink:0;
        flex-wrap:nowrap;
}
.lm-header-search {
	max-width:350px;
	width:100%;
	min-width:130px;
        flex-shrink:1;
}
.lm-social-icons {
	display:flex;
	gap:14px;
    flex-shrink:0;

}
.lm-social-icons a {
	color:#333;
	font-size:17px;
	text-decoration:none;
}
.lm-social-icons a:hover {
	color:#d62828;
}
.lm-social-icons .social-icon {
  color: #333;
  display:flex;
  align-items:center;
  transition: color 0.2s ease;
}
.lm-social-icons .social-icon:hover {
  color:#0066cc;
}
/* 搜索框 */
.lm-header-search form {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin:0;
}
.lm-header-search form input[type="search"] {
    flex: 1 !important;
    padding:6px 10px;
    border:1px solid #ccc;
    border-radius:4px 0 0 4px;
    border-right:none;
    margin:0;
}
.lm-header-search form button {
    border:1px solid #ccc;
    background:#222;
    color:#fff;
    padding:6px 12px;
    border-radius:0 4px 4px 0;
}

/* ========== 修复：汉堡按钮 去掉错误ID选择器 #lm‑hamburger-btn ========== */
.lm-hamburger {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}
.lm-hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #222;
    margin: 5px 0;
    border-radius: 2px;
}

/* ----------------移动端抽屉菜单 80%宽度右侧滑出---------------- */
.lm-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background:rgba(0,0,0,0.35);
    z-index: 9998;
    display: none;
}
.lm-mobile-overlay.open {
    display: block;
}

.lm-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 420px;
    height: 100vh;
    background-color: #f8f9fa;
    z-index: 9999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding:20px;
    box-sizing: border-box;
}
.lm-mobile-menu.open {
    transform: translateX(0);
}

/* 打开菜单禁止页面滚动 */
body.lm-menu-no-scroll{
    overflow:hidden;
}

/* 关闭按钮 简约灰色X */
.lm-mobile-close {
    position: fixed !important;
    top:14px !important;
    right:18px !important;
    z-index:9999 !important;
    width:46px !important;
    height:46px !important;
    line-height:46px !important;
    text-align:center !important;
    font-size:32px !important;
    font-weight:400 !important;
    background:transparent !important;
    color:#555555 !important;
    border:none !important;
    border-radius:50% !important;
    cursor:pointer !important;
    transition: all 0.25s ease !important;
}
.lm-mobile-close:hover {
    background:#eeeeee !important;
    color:#222222 !important;
    transform: scale(1.08);
}

/* 移动端菜单列表 */
.lm-mobile-menu-list{
    list-style:none;
    margin-top:70px;
    padding:0;
}
.lm-mobile-menu-list > li{
    position:relative;
    padding:16px 0;
    border-bottom:1px solid #ddd;
}
.lm-mobile-menu-list > li a{
    font-size:20px;
    color:#222;
    text-decoration:none;
}
.lm-mobile-menu-list .sub-menu{
    list-style:none;
    padding-left:36px;
    margin:12px 0 0;
}
.lm-mobile-menu-list .sub-menu li{
    padding:12px 0;
    border-bottom:1px solid #e7e7e7;
}
.lm-mobile-menu-list .sub-menu li a{
    font-size:18px;
    color:#444;
}

/* 移动端箭头按钮 */
.lm-mobile-menu-list > li.has-sub {
    position: relative;
}
.menu-arrow-btn {
    position:absolute;
    right:12px;
    top: 16px;
    width:30px;
    height:30px;
    border:none !important;
    background:transparent !important;
    outline:none !important;
    cursor:pointer;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
}
.menu-arrow-btn::after{
    content:"";
    width:0;
    height:0;
    border-left:6px solid transparent;
    border-right:6px solid transparent;
    border-top:8px solid #222;
    transition: transform 0.22s ease;
}
.lm-mobile-menu-list > li.open .menu-arrow-btn::after{
    transform: rotate(180deg);
}

/* 992px断点，小于这个宽度显示汉堡，隐藏PC导航、搜索、社交 */
@media (max-width:992px){
    .lm-main-nav,
    .lm-header-search,
    .lm-social-icons {
        display:none !important;
    }
    .lm-hamburger {
        display:block !important;
        margin-left:auto;
    }
}

/* ========== 页脚 lm-custom-footer 三栏布局 修复重复定义、中文分号BUG ========== */
.lm-custom-footer {
	background:#fef2f4;
	padding:40px 16px 20px;
	border-top:1px solid #f3d7db;
}
.lm-footer-inner {
	max-width:1480px;
	margin:0 auto;
	display:grid;
	grid-template-columns:1fr 1fr 1fr;
	gap:48px;
}
.lm-footer-col {
	flex:1;
	min-width:260px;
}
.lm-footer-col h3 {
	font-size:20px;
	margin-bottom:16px;
	color:#222;
}
.lm-footer-col p {
	margin:6px 0;
	font-size:17px;
	line-height:1.7;
	color:#444;
}
.lm-footer-col p:last-child {
    margin-bottom: 0 !important;
}
.ft-red {
	color:#d62828;
	font-weight:600;
}
.lm-footer-col ul {
	list-style:none;
	padding:0;
	margin:0;
}
.lm-footer-col ul li {
	margin:8px 0;
}
.lm-footer-col ul li a {
	color:#333;
	text-decoration:none;
	font-size:15px;
}
.lm-footer-col ul li a:hover {
	color:#d62828;
}
* 产品表格手机横向滚动修复 */
.mosfet-table-wrapper {
  overflow-x: auto !important;
  width: 100% !important;
}
.mosfet-param-table {
  min-width: 950px !important;
}
@media(max-width:768px){
  .mosfet-param-table th,
  .mosfet-param-table td{
    font-size:12px;
    padding:8px 4px;
  }
}

/*社交图标容器*/
.lm-footer-social {
	display:flex;
	gap:12px;
        padding-top:80px;
	margin-top:0px;
}
.lm-footer-social a {
	width:40px;
	height:40px;
	border-radius:50%;
	background:#f0a8bc;
	color:#fff;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:18px;
	text-decoration:none;
	transition:0.25s;
}
.lm-footer-social a:hover {
	background:#e37898;
}

.lm-footer-copyright {
	max-width:1480px;
	margin:30px auto 0;
	padding-top:20px;
	border-top:1px solid #e4c8cf;
	text-align:center;
	font-size:16px;
	color:#555;
}

/*移动端三栏变一列*/
@media(max-width:768px){
	.lm-footer-inner {
		grid-template-columns:1fr;
	}
}

/*页脚CF7询盘表单优化 */
.lm-footer-col .wpcf7-form {
	margin-top:12px;
}
.lm-footer-col .wpcf7-form label {
	font-size:13px;
	color:#333;
	margin-bottom:4px;
	display:block;
}
.lm-footer-col .wpcf7-text,
.lm-footer-col .wpcf7-email,
.lm-footer-col .wpcf7-textarea {
	width:100%;
	box-sizing:border-box;
	padding:8px 10px;
	margin:4px 0 10px;
	border:1px solid #e4c8cf;
	border-radius:4px;
	background:#ffffff;
	font-size:14px;
}
.lm-footer-col .wpcf7-textarea {
	min-height:80px;
	resize:none;
}
.lm-footer-col .wpcf7-submit {
	width:100%;
	background:#d62828;
	color:#fff;
	border:none;
	padding:10px 0;
	border-radius:4px;
	cursor:pointer;
	font-size:14px;
}
.lm-footer-col .wpcf7-submit:hover {
	background:#b82020;
}
/*移动端子菜单箭头，只给有子菜单的li显示三角*/
.lm-mobile-menu-list > li.menu-item-has-children {
    position: relative;
}
/*向下三角伪元素*/
.lm-mobile-menu-list > li.menu-item-has-children::after {
    content: "";
    position: absolute;
    right:16px;
    top: 22px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #222;
    transition: transform 0.22s ease;
    pointer-events:none;
}
/*展开之后三角旋转向上*/
.lm-mobile-menu-list > li.menu-item-has-children.open::after {
    transform: rotate(180deg);
}

/*默认子菜单隐藏*/
.lm-mobile-menu-list > li .sub-menu {
    display: none;
}
/*open类就显示子菜单*/
.lm-mobile-menu-list > li.open > .sub-menu {
    display:block;
}
/* ============================================================
   自定义首页样式 - 对标 vbsemi.com，适配 LM-Semi 风格
   ============================================================ */

/* 通用容器 */
.lm-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.lm-section {
    padding: 80px 0;
}

/* 通用区块标题 */
.lm-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}
.lm-section-sub {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d62828;
    margin-bottom: 12px;
}
.lm-section-head h2 {
    font-size: 34px;
    color: #1a1a2e;
    margin: 0 0 16px;
    font-weight: 700;
}
.lm-section-head p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* 通用按钮 */
.lm-btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.lm-btn-primary {
    background: #d62828;
    color: #fff;
}
.lm-btn-primary:hover {
    background: #b82020;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(214,40,40,0.3);
}
.lm-btn-outline {
    border-color: #1a1a2e;
    color: #1a1a2e;
    background: transparent;
}
.lm-btn-outline:hover {
    background: #1a1a2e;
    color: #fff;
}
.lm-btn-outline-white {
    border-color: #fff;
    color: #fff;
    background: transparent;
}
.lm-btn-outline-white:hover {
    background: #fff;
    color: #1a1a2e;
}
.lm-center-btn {
    text-align: center;
    margin-top: 45px;
}

/* ========== 1. Hero 首屏 ========== */
.lm-home-hero {
    position: relative;
    width: 100%;
    min-height: 560px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1a1a2e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.lm-home-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214,40,40,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.lm-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}
.lm-hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(214,40,40,0.15);
    border: 1px solid rgba(214,40,40,0.4);
    border-radius: 30px;
    font-size: 13px;
    color: #ff6b6b;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.lm-hero-content h1 {
    font-size: 46px;
    line-height: 1.25;
    margin: 0 0 20px;
    font-weight: 800;
}
.lm-hero-content p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 0 36px;
}
.lm-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.lm-hero-btns .lm-btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.lm-hero-btns .lm-btn-outline:hover {
    background: #fff;
    color: #1a1a2e;
}
.lm-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #fff);
    z-index: 1;
}

/* ========== 2. 数据统计条 ========== */
.lm-stats-bar {
    background: #fff;
    padding: 50px 0;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}
.lm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: #fff;
    padding: 35px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.lm-stat-item {
    text-align: center;
    border-right: 1px solid #eee;
}
.lm-stat-item:last-child {
    border-right: none;
}
.lm-stat-num {
    font-size: 42px;
    font-weight: 800;
    color: #d62828;
    line-height: 1;
    margin-bottom: 10px;
}
.lm-stat-label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ========== 3. 产品展示 ========== */
.lm-product-section {
    background: #f8f9fb;
}
.lm-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.lm-prod-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.lm-prod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.lm-prod-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.lm-prod-cat {
    font-size: 12px;
    font-weight: 600;
    color: #d62828;
    background: rgba(214,40,40,0.08);
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.lm-prod-body {
    padding: 22px 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lm-prod-body h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin: 0 0 10px;
    font-weight: 700;
}
.lm-prod-desc {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 14px;
}
.lm-prod-params {
    list-style: none;
    padding: 12px 0 0;
    margin: 0 0 16px;
    border-top: 1px solid #f0f0f0;
}
.lm-prod-params li {
    font-size: 12.5px;
    color: #888;
    padding: 3px 0;
}
.lm-prod-params li strong {
    color: #444;
    font-weight: 600;
}
.lm-prod-link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: #d62828;
    text-decoration: none;
}
.lm-prod-link:hover {
    color: #b82020;
}

/* ========== 4. About 公司简介 ========== */
.lm-about-section {
    background: #fff;
}
.lm-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.lm-about-text h2 {
    font-size: 32px;
    color: #1a1a2e;
    margin: 0 0 20px;
    font-weight: 700;
    line-height: 1.3;
}
.lm-about-text > p {
    font-size: 15.5px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 16px;
}
.lm-about-features {
    margin: 24px 0 30px;
}
.lm-about-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: #333;
}
.lm-feat-icon {
    width: 24px;
    height: 24px;
    background: #d62828;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.lm-about-img {
    position: relative;
}
.lm-about-img-placeholder {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #e8ecf1, #d5dbe3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}
.lm-about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #d62828;
    color: #fff;
    padding: 22px 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(214,40,40,0.3);
}
.lm-badge-num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}
.lm-badge-text {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
}

/* ========== 5. 应用领域 ========== */
.lm-app-section {
    background: #f8f9fb;
}
.lm-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lm-app-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}
.lm-app-card:hover {
    border-top-color: #d62828;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
.lm-app-icon {
    font-size: 36px;
    margin-bottom: 18px;
}
.lm-app-card h3 {
    font-size: 19px;
    color: #1a1a2e;
    margin: 0 0 12px;
    font-weight: 700;
}
.lm-app-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 16px;
}
.lm-app-link {
    font-size: 14px;
    font-weight: 600;
    color: #d62828;
    text-decoration: none;
}
.lm-app-link:hover {
    color: #b82020;
}

/* ========== 6. 新闻资讯 ========== */
.lm-news-section {
    background: #fff;
}
.lm-news-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
    max-width: 100%;
}
.lm-news-head > div:first-child {
    max-width: 600px;
}
.lm-news-more {
    white-space: nowrap;
}
.lm-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.lm-news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}
.lm-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
.lm-news-date {
    background: linear-gradient(135deg, #1a1a2e, #2d2d4a);
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.lm-news-day {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    color: #d62828;
}
.lm-news-month {
    font-size: 13px;
    opacity: 0.7;
}
.lm-news-body {
    padding: 24px;
}
.lm-news-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #d62828;
    background: rgba(214,40,40,0.08);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.lm-news-body h3 {
    font-size: 17px;
    margin: 0 0 12px;
    line-height: 1.45;
}
.lm-news-body h3 a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 700;
}
.lm-news-body h3 a:hover {
    color: #d62828;
}
.lm-news-body p {
    font-size: 13.5px;
    color: #777;
    line-height: 1.65;
    margin: 0 0 14px;
}
.lm-news-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #d62828;
    text-decoration: none;
}
.lm-news-link:hover {
    color: #b82020;
}

/* ========== 7. 合作客户logo墙 ========== */
.lm-partners-section {
    background: #f8f9fb;
}
.lm-partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}
.lm-partner-item {
    background: #fff;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #aaa;
    font-weight: 600;
    transition: all 0.25s ease;
}
.lm-partner-item:hover {
    background: #fafafa;
    color: #d62828;
}

/* ========== 8. CTA咨询区块 ========== */
.lm-cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b2e 100%);
    padding: 70px 0;
}
.lm-cta-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.lm-cta-text h2 {
    font-size: 28px;
    color: #fff;
    margin: 0 0 12px;
    font-weight: 700;
}
.lm-cta-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    max-width: 560px;
    line-height: 1.7;
}
.lm-cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ========== 首页响应式适配 ========== */
@media (max-width: 1100px) {
    .lm-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lm-partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .lm-section {
        padding: 60px 0;
    }
    .lm-hero-content h1 {
        font-size: 34px;
    }
    .lm-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .lm-stat-item:nth-child(2) {
        border-right: none;
    }
    .lm-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .lm-app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lm-news-grid {
        grid-template-columns: 1fr;
    }
    .lm-news-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .lm-cta-wrap {
        flex-direction: column;
        text-align: center;
    }
    .lm-cta-btns {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .lm-hero-content h1 {
        font-size: 26px;
    }
    .lm-section-head h2 {
        font-size: 26px;
    }
    .lm-product-grid {
        grid-template-columns: 1fr;
    }
    .lm-stats-grid {
        grid-template-columns: 1fr;
    }
    .lm-stat-item {
        border-right: none !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 18px;
    }
    .lm-stat-item:last-child {
        border-bottom: none;
    }
    .lm-app-grid {
        grid-template-columns: 1fr;
    }
    .lm-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lm-about-badge {
        left: 10px;
        bottom: -15px;
        padding: 16px 20px;
    }
    .lm-badge-num {
        font-size: 32px;
    }
}
* 页面顶部介绍文本区域 */
.lm‑product‑page‑intro{
    margin‑bottom:24px;
    color:#333;
}
.lm‑product‑page‑intro h2{
    font‑size:26px;
    margin‑bottom:12px;
    color:#2a3442;
}
.lm‑product‑page‑intro p{
    font‑size:16px;
    line‑height:1.7;
    margin‑bottom:8px;
}
/* MOSFET表格样式 */
.mosfet-table-wrapper {
    margin: 20px 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    z-index: 1;
    max-width: 100vw;
}

.mosfet-param-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
    font-size: 14px;
}

.mosfet-param-table th {
    background: #2a3442;
    color: #fff;
    padding: 10px 8px;
    text-align: left;
    border: 1px solid #ddd;
}

.mosfet-param-table td {
    padding: 10px 8px;
    border: 1px solid #ddd;
}

.mosfet-param-table tr:nth-child(even) {
    background: #f8f9fa;
}

.pdf-icon {
    color: #dc3545;
    margin-left: 6px;
    text-decoration: none;
}

.mosfet-table-pagination {
    display: flex;
    justify-content: space-between;
    padding: 12px 8px;
    font-size: 13px;
}

.page-nav a {
    margin: 0 4px;
    padding: 2px 6px;
    border: 1px solid #ccc;
    text-decoration: none;
}

.text-center {
    text-align: center;
}

.cart-col {
    text-align: center;
}

@media(max-width:768px) {
    .mosfet-param-table th,
    .mosfet-param-table td {
        font-size: 12px;
        padding: 7px 4px;
    }
}

/* 修复汉堡菜单：禁止页面整体横向滑动 */
body {
    overflow-x: hidden !important;
}

/* GeneratePress移动端侧边菜单提升层级，防止被表格遮挡 */
.slideout-navigation {
    z-index: 999999 !important;
}
.menu-toggle {
    z-index: 999999 !important;
    position: relative !important;
}