/* ============================================================
   LIKA METAL 外贸独立站样式 —— 复刻 likametal.en.alibaba.com 视觉
   原创实现：仅还原布局/配色/交互观感，不引用平台样式文件
   ============================================================ */
:root {
    --primary: #ff6a00;
    --primary-hover: #ff8133;
    --dark: #333333;
    --darker: #1f1f1f;
    --text: #222222;
    --text-2: #666666;
    --text-3: #999999;
    --line: #e5e5e5;
    --bg: #ffffff;
    --link: #0066cc;
    --danger: #ff4d4f;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}
img { border: 0; vertical-align: middle; }
ul, ol { list-style: none; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--primary); }
button { font-family: inherit; cursor: pointer; }
input, button { outline: none; }

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

/* ============ 顶部通用栏 ============ */
.topbar {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    color: var(--text-2);
}
.topbar-inner {
    width: 1200px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.topbar-brand {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.5px;
}
.topbar-brand span { color: var(--primary); }
.topbar-search {
    display: flex;
    width: 520px;
    height: 34px;
    border: 2px solid var(--primary);
    border-radius: 2px;
    overflow: hidden;
}
.topbar-search input {
    flex: 1;
    border: 0;
    padding: 0 14px;
    font-size: 13px;
    color: var(--text);
}
.topbar-search input::placeholder { color: var(--text-3); }
.topbar-search button {
    border: 0;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    padding: 0 28px;
    cursor: pointer;
}
.topbar-search button:hover { background: var(--primary-hover); }
.topbar-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar-flag {
    display: inline-block;
    width: 16px; height: 11px;
    background: #de2910;
    position: relative;
    margin-right: 4px;
}
.topbar-flag::after {
    content: "";
    position: absolute;
    left: 3px; top: 1px;
    width: 7px; height: 7px;
    background: #ffde00;
    transform: rotate(-45deg);
}
.topbar-link { color: var(--text-2); cursor: pointer; }
.topbar-link:hover { color: var(--primary); }

/* ============ 店铺招牌 ============ */
.shop-sign {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #2b2f3a;
}
.shop-sign-back-img {
    position: absolute;
    left: 50%; top: 0;
    transform: translateX(-50%);
    width: 1920px;
    height: 200px;
    object-fit: cover;
}
.shop-sign-content {
    position: relative;
    width: 1200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.block-left { flex: 0 0 auto; margin-right: 24px; }
.block-left img { max-height: 120px; max-width: 260px; }
.block-center { flex: 1 1 auto; min-width: 0; color: #fff; }
.cp-name {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cp-name::after {
    content: "";
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: 2px solid rgba(255,255,255,.6);
}
.info-line { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.9); }
.location-info { display: flex; align-items: center; gap: 10px; }
.location-item {
    padding: 1px 8px;
    background: rgba(255,255,255,.18);
    border-radius: 2px;
    font-size: 12px;
}
.main-cats {
    max-width: 560px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.block-right { flex: 0 0 auto; }
.shop-key-action { display: flex; gap: 10px; }
.shop-key-action .btn {
    height: 36px;
    padding: 0 20px;
    border-radius: 2px;
    font-size: 14px;
    line-height: 34px;
}
.shop-key-action .btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}
.shop-key-action .btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.shop-key-action .btn-ghost {
    background: #fff;
    color: var(--text);
    border: 1px solid #ddd;
}
.shop-key-action .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ============ 店铺导航 ============ */
.shop-nav {
    background: var(--dark);
    height: 44px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.shop-nav-inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}
.navigation-list { display: flex; height: 44px; }
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 44px;
    padding: 0 22px;
    color: #fff;
    font-size: 15px;
}
.nav-link:hover { background: var(--darker); color: #fff; }
.nav-item.selected .nav-link { background: var(--darker); }
.nav-arrow { font-size: 12px; color: rgba(255,255,255,.7); }
.nav-menu {
    display: none;
    position: absolute;
    left: 0; top: 44px;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    z-index: 110;
    padding: 4px 0;
}
.nav-item.has-menu:hover .nav-menu { display: block; }
.menu-link {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
}
.menu-link:hover { background: #f7f7f7; color: var(--primary); }
.navigation-search { display: flex; align-items: center; }
.navigation-search input {
    width: 180px;
    height: 30px;
    padding: 0 10px;
    border: 0;
    font-size: 12px;
    color: var(--text);
    border-radius: 2px 0 0 2px;
}
.navigation-search input::placeholder { color: var(--text-3); }
.nav-search-btn {
    width: 34px; height: 30px;
    border: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 0 2px 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-search-btn:hover { background: var(--primary-hover); }

/* ============ 首页：宽幅轮播 ============ */
.module-wide-banner { position: relative; height: 650px; overflow: hidden; }
.wide-banner-viewport { height: 650px; overflow: hidden; }
.wide-banner-track {
    display: flex;
    height: 650px;
    transition: transform .5s ease;
}
.wide-banner-slide { flex: 0 0 100%; }
.wide-banner-slide a { display: block; height: 650px; }
.wide-banner-img {
    width: 1920px;
    height: 650px;
    object-fit: cover;
    margin-left: 50%;
    transform: translateX(-50%);
}
.embla-dots {
    position: absolute;
    left: 0; right: 0; bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.embla-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.5);
    cursor: pointer;
}
.embla-dot.is-selected { background: var(--primary); }

/* ============ 首页：自定义图片拼贴区 ============ */
.custom-area {
    position: relative;
    overflow: hidden;
}
.custom-area .ca-canvas {
    position: relative;
    width: 1920px;
    left: 50%;
    margin-left: -960px;
}
.custom-area .ca-layer {
    position: absolute;
    left: 0;
    width: 1920px;
}
.custom-area .ca-layer img { display: block; width: 100%; }

/* ============ 首页：视频区 ============ */
.module-videoshow {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1920px auto;
}
.videoshow-row {
    width: 1200px;
    margin: 0 auto;
    height: 450px;
    display: flex;
    align-items: center;
}
.videoshow-player {
    width: 800px;
    height: 450px;
    background: #000;
    overflow: hidden;
}
.videoshow-player video { width: 100%; height: 100%; object-fit: contain; }

/* ============ 商品列表页 ============ */
.page-body { background: #fff; padding: 16px 0 40px; }
.shop-body {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.sidebar { flex: 0 0 240px; }
.side-box { border: 1px solid var(--line); margin-bottom: 16px; }
.side-title {
    font-size: 16px;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: #fafafa;
}
.toppick-list { padding: 8px 12px; }
.toppick-item {
    display: flex;
    gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px dashed var(--line);
}
.toppick-item:last-child { border-bottom: 0; }
.toppick-item:hover .tp-title { color: var(--primary); }
.tp-img {
    flex: 0 0 80px;
    width: 80px; height: 80px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #fff;
}
.tp-img img { width: 100%; height: 100%; object-fit: cover; }
.tp-info { flex: 1 1 auto; min-width: 0; }
.tp-title {
    font-size: 12px;
    color: var(--text);
    line-height: 1.4;
    height: 33.6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.tp-price { margin-top: 6px; color: var(--primary); font-size: 14px; font-weight: 700; }
.tp-moq { font-size: 12px; color: var(--text-3); }
.cat-list { padding: 8px 0; }
.cat-item a {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-2);
}
.cat-item a:hover, .cat-item.active a { color: var(--primary); background: #fff7f2; }
.cat-count { color: var(--text-3); }

.main-area { flex: 1 1 auto; min-width: 0; }
.filter-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 2px solid var(--dark);
    padding-bottom: 0;
    margin-bottom: 16px;
}
.filter-tab {
    padding: 8px 18px;
    font-size: 15px;
    color: var(--text);
    position: relative;
    cursor: pointer;
    border: 0;
    background: none;
}
.filter-tab.active { font-weight: 700; }
.filter-tab.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 3px;
    background: var(--primary);
}
.filter-count { margin-left: auto; font-size: 12px; color: var(--text-3); }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
}
.product-card {
    border: 1px solid #eee;
    background: #fff;
    transition: box-shadow .2s, border-color .2s;
}
.product-card:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(255,106,0,.15); }
.pc-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7f7f7;
}
.pc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .pc-image img { transform: scale(1.04); }
.pc-badge {
    position: absolute;
    left: 0; top: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 0 0 2px 0;
}
.pc-body { padding: 10px 12px 14px; }
.pc-title {
    font-size: 13px;
    line-height: 1.45;
    height: 37.7px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.product-card:hover .pc-title { color: var(--primary); }
.pc-price { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--primary); }
.pc-moq { margin-top: 4px; font-size: 12px; color: var(--text-3); }
.list-empty { padding: 80px 0; text-align: center; color: var(--text-3); }

/* 分页 */
.pagination { margin-top: 28px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.page-btn {
    min-width: 34px; height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text-2);
    font-size: 13px;
    line-height: 32px;
    text-align: center;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn.disabled { color: #ccc; cursor: default; }
.page-btn.disabled:hover { border-color: var(--line); color: #ccc; }
.page-ellipsis { color: var(--text-3); padding: 0 2px; }
.page-total { font-size: 13px; color: var(--text-3); margin-left: 12px; }
.page-goto { margin-left: 16px; font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.page-goto input {
    width: 48px; height: 32px;
    border: 1px solid var(--line);
    padding: 0 8px;
    font-size: 13px;
}
.page-goto button {
    height: 32px; padding: 0 14px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 13px;
}
.page-goto button:hover { border-color: var(--primary); color: var(--primary); }

/* ============ 商品详情页 ============ */
.detail-body { width: 1200px; margin: 0 auto; padding: 20px 0 40px; }
.detail-main { display: flex; gap: 24px; align-items: flex-start; }
.detail-gallery { flex: 0 0 420px; }
.gallery-main {
    width: 420px; height: 420px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #f7f7f7;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery-thumb {
    width: 64px; height: 64px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.detail-info { flex: 1 1 auto; min-width: 0; }
.detail-title { font-size: 22px; line-height: 1.4; font-weight: 600; color: var(--text); }
.detail-price-row {
    margin: 16px 0;
    padding: 16px 20px;
    background: #fff7f2;
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.detail-price { font-size: 30px; font-weight: 700; color: var(--primary); }
.detail-moq { font-size: 13px; color: var(--text-2); }
.detail-attrs { border-top: 1px solid var(--line); }
.attr-row { display: flex; border-bottom: 1px solid var(--line); font-size: 13px; }
.attr-name {
    flex: 0 0 150px;
    padding: 10px 12px;
    background: #fafafa;
    color: var(--text-2);
}
.attr-value { flex: 1; padding: 10px 12px; color: var(--text); }
.detail-actions { margin: 20px 0; display: flex; gap: 12px; }
.detail-actions .btn {
    height: 44px;
    padding: 0 32px;
    font-size: 16px;
    border-radius: 2px;
    line-height: 42px;
}
.btn-big-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}
.btn-big-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-big-ghost {
    background: #fff;
    color: var(--text);
    border: 1px solid #ddd;
}
.btn-big-ghost:hover { border-color: var(--primary); color: var(--primary); }
.detail-supplier {
    flex: 0 0 260px;
    border: 1px solid var(--line);
    padding: 20px;
}
.supplier-name { font-size: 16px; font-weight: 700; }
.supplier-meta { margin-top: 10px; font-size: 12px; color: var(--text-2); line-height: 2; }
.supplier-badges { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.s-badge {
    font-size: 11px;
    padding: 2px 8px;
    background: #f5f5f5;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--text-2);
}
.s-badge.gold { color: #8a6116; border-color: #e8d5a8; background: #fffbf0; }
.supplier-btn { margin-top: 16px; display: block; }
.supplier-btn .btn {
    display: block;
    width: 100%;
    height: 38px;
    font-size: 14px;
    border-radius: 2px;
}
.detail-section { margin-top: 32px; }
.detail-tabs { display: flex; border-bottom: 2px solid var(--dark); }
.detail-tab {
    padding: 10px 22px;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    background: none;
    border: 0;
    color: var(--text);
}
.detail-tab.active { font-weight: 700; }
.detail-tab.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 3px;
    background: var(--primary);
}
.detail-content { padding: 24px 8px; font-size: 14px; color: var(--text); line-height: 1.8; }
.detail-content h2 { font-size: 18px; margin: 18px 0 10px; }
.detail-content h3 { font-size: 16px; margin: 16px 0 8px; }
.detail-content ul { margin: 8px 0 12px 20px; list-style: disc; }
.detail-content li { margin: 4px 0; }
.detail-content p { margin: 8px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 8px 14px; text-align: left; font-size: 13px; }
.spec-table th { background: #fafafa; color: var(--text-2); font-weight: 400; width: 180px; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.related-card { border: 1px solid #eee; }
.related-card:hover { border-color: var(--primary); }
.rc-img { aspect-ratio: 1/1; overflow: hidden; background: #f7f7f7; }
.rc-img img { width: 100%; height: 100%; object-fit: cover; }
.rc-title {
    font-size: 12px;
    padding: 8px 10px 0;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.4;
}
.rc-price { font-size: 14px; color: var(--primary); font-weight: 700; padding: 4px 10px 10px; }
.crumb { font-size: 12px; color: var(--text-3); padding: 12px 0 0; }
.crumb a { color: var(--text-3); }
.crumb a:hover { color: var(--primary); }

/* ============ 公司简介页 ============ */
.company-wrap { width: 1200px; margin: 0 auto; padding: 24px 0 48px; }
.company-block { border: 1px solid var(--line); padding: 28px 32px; margin-bottom: 20px; }
.company-block h2 { font-size: 20px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--primary); }
.company-block p { margin: 8px 0; color: var(--text-2); line-height: 1.9; }
.fact-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact-item { border: 1px solid var(--line); padding: 18px; text-align: center; }
.fact-num { font-size: 24px; font-weight: 700; color: var(--primary); }
.fact-label { font-size: 12px; color: var(--text-3); margin-top: 4px; }

/* ============ 页脚 ============ */
.the-new-footer { background: #f7f7f7; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner {
    width: 1200px;
    margin: 0 auto;
    padding: 36px 0 24px;
    display: flex;
    justify-content: space-between;
}
.footer-links { display: flex; gap: 48px; }
.footer-col h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.footer-col li { margin: 7px 0; }
.footer-col li a { font-size: 12px; color: var(--text-2); }
.footer-col li a:hover { color: var(--primary); }
.footer-app { flex: 0 0 auto; }
.footer-app-text p { font-size: 14px; font-weight: 700; }
.footer-app-text span { font-size: 12px; color: var(--text-3); display: block; margin-top: 8px; max-width: 220px; }
.footer-app-qr {
    margin-top: 12px;
    width: 84px; height: 84px;
    border: 1px solid var(--line);
    background:
        repeating-conic-gradient(var(--text) 0 25%, #fff 0 50%) 0 0/14px 14px;
}
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .copyright {
    width: 1200px;
    margin: 0 auto;
    padding: 14px 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-3);
}

/* ============ 右侧浮动工具栏 ============ */
.shop-toolbar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    background: #fff;
    border: 1px solid var(--line);
    border-right: 0;
    box-shadow: -2px 2px 10px rgba(0,0,0,.08);
}
.toolbar-item + .toolbar-item { border-top: 1px solid var(--line); }
.toolbar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 76px;
    padding: 14px 6px;
    font-size: 12px;
    color: var(--text-2);
    text-align: center;
}
.toolbar-link:hover { color: var(--primary); }
.toolbar-link .tb-icon { color: var(--primary); }

/* ============ 响应式 ============ */
@media (max-width: 1240px) {
    .container-1200, .topbar-inner, .shop-sign-content, .shop-nav-inner,
    .shop-body, .detail-body, .company-wrap, .footer-inner, .footer-bottom .copyright {
        width: auto;
        margin: 0 16px;
    }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .related-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .topbar { display: none; }
    .shop-sign-content { flex-wrap: wrap; padding: 12px 0; height: auto; }
    .shop-nav-inner { overflow-x: auto; }
    .shop-body { flex-direction: column; }
    .sidebar { width: 100%; flex: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-main { flex-direction: column; }
    .detail-gallery, .detail-supplier { width: 100%; flex: none; }
    .footer-inner { flex-direction: column; gap: 24px; }
    .footer-links { flex-wrap: wrap; gap: 24px; }
    .custom-area .ca-canvas { width: 1200px; margin-left: -600px; }
    .module-wide-banner, .wide-banner-viewport, .wide-banner-track, .wide-banner-slide, .wide-banner-slide a { height: 340px; }
    .wide-banner-img { height: 340px; }
    .videoshow-row { height: auto; }
    .videoshow-player { width: 100%; height: 56.25vw; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .fact-list { grid-template-columns: repeat(2, 1fr); }
    .shop-toolbar { display: none; }
}

/* ============ 询盘表单 ============ */
html { scroll-behavior: smooth; }
.inquiry-form { padding: 20px 0 4px; }
.inquiry-form .hp-field {
    position: absolute; left: -9999px; width: 1px; height: 1px;
    opacity: 0; pointer-events: none;
}
.if-grid { display: flex; flex-wrap: wrap; gap: 0 20px; }
.if-grid .if-field { flex: 1 1 320px; }
.if-field { margin-bottom: 16px; }
.if-field label {
    display: block; margin-bottom: 6px;
    font-size: 13px; color: var(--text-2);
}
.if-field label em { color: var(--danger); font-style: normal; margin-left: 2px; }
.if-field input, .if-field textarea {
    width: 100%; padding: 9px 12px;
    border: 1px solid var(--line); border-radius: 2px;
    font-size: 14px; font-family: inherit; color: var(--text);
    background: #fff; transition: border-color .15s;
}
.if-field textarea { resize: vertical; }
.if-field input:focus, .if-field textarea:focus { border-color: var(--primary); }
.if-tip { font-size: 12px; color: var(--text-3); margin-bottom: 14px; }
.if-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.if-actions .if-submit {
    height: 44px;
    padding: 0 32px;
    font-size: 16px;
    line-height: 42px;
    border-radius: 2px;
}
.if-wa { font-size: 13px; }
.if-wa a { color: var(--link); }
.if-wa a:hover { color: var(--primary); }
.if-msg {
    margin-top: 14px; padding: 10px 14px; border-radius: 2px; font-size: 13px;
}
.if-msg.ok { background: #f0fff4; border: 1px solid #b7eb8f; color: #237804; }
.if-msg.err { background: #fff2f0; border: 1px solid #ffccc7; color: #cf1322; }
@media (max-width: 900px) {
    .if-grid .if-field { flex: 1 1 100%; }
    .if-actions .if-submit { width: 100%; }
}

/* ============ 通用内容页（新闻 / 解决方案） ============ */
.content-body { width: 1200px; margin: 0 auto; padding: 0 0 48px; }
.content-body .crumb { padding-top: 12px; }
.content-body .filter-bar { margin-top: 4px; }

/* ============ 新闻列表 ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.news-card {
    display: flex;
    gap: 16px;
    border: 1px solid #eee;
    background: #fff;
    padding: 14px;
    transition: box-shadow .2s, border-color .2s;
}
.news-card:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(255,106,0,.12); }
.nc-img {
    flex: 0 0 200px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7f7f7;
}
.nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .nc-img img { transform: scale(1.04); }
.nc-body { flex: 1 1 auto; min-width: 0; }
.nc-meta { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nc-dot { color: var(--line); }
.nc-title { font-size: 16px; line-height: 1.5; margin: 8px 0 6px; }
.nc-title a { color: var(--text); }
.news-card:hover .nc-title a { color: var(--primary); }
.nc-summary {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.nc-more { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--link); }
.nc-more:hover { color: var(--primary); }

/* ============ 新闻详情 ============ */
.article-layout { display: flex; gap: 24px; align-items: flex-start; margin-top: 8px; }
.article-main { flex: 1 1 auto; min-width: 0; border: 1px solid var(--line); padding: 28px 32px; }
.article-title { font-size: 24px; line-height: 1.45; font-weight: 700; }
.article-meta { margin-top: 10px; font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.article-cover { margin-top: 18px; overflow: hidden; background: #f7f7f7; }
.article-cover img { width: 100%; display: block; object-fit: cover; }
.article-content { margin-top: 18px; font-size: 14px; color: var(--text); line-height: 1.9; }
.article-content h2 { font-size: 18px; margin: 18px 0 10px; }
.article-content h3 { font-size: 16px; margin: 16px 0 8px; }
.article-content ul { margin: 8px 0 12px 20px; list-style: disc; }
.article-content li { margin: 4px 0; }
.article-content p { margin: 8px 0; }
.article-cta {
    margin-top: 24px;
    padding: 20px 24px;
    background: #fff7f2;
    border: 1px solid #ffe3d0;
}
.article-cta p { font-size: 15px; font-weight: 600; }
.article-cta-actions { margin-top: 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.article-side { flex: 0 0 300px; }
.latest-list { padding: 10px 12px; }
.latest-item {
    display: flex;
    gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px dashed var(--line);
}
.latest-item:last-child { border-bottom: 0; }
.latest-item:hover .lt-title { color: var(--primary); }
.lt-img {
    flex: 0 0 72px;
    width: 72px; height: 72px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #fff;
}
.lt-img img { width: 100%; height: 100%; object-fit: cover; }
.lt-info { flex: 1 1 auto; min-width: 0; }
.lt-title {
    font-size: 12px;
    color: var(--text);
    line-height: 1.5;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.lt-date { margin-top: 6px; font-size: 12px; color: var(--text-3); }
.side-contact .sc-text { padding: 12px 16px 0; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.side-contact .sc-actions { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }

/* ============ 解决方案 ============ */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.solution-card {
    border: 1px solid #eee;
    background: #fff;
    transition: box-shadow .2s, border-color .2s;
}
.solution-card:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(255,106,0,.12); }
.sc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f7f7f7; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.solution-card:hover .sc-img img { transform: scale(1.04); }
.sc-body { padding: 14px 16px 16px; }
.sc-title { font-size: 17px; line-height: 1.5; }
.sc-title a { color: var(--text); }
.solution-card:hover .sc-title a { color: var(--primary); }
.sc-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.scene-tag {
    font-size: 11px;
    color: var(--text-2);
    background: #f5f5f5;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 1px 8px;
}
.sc-summary {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.sc-more { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--link); }
.sc-more:hover { color: var(--primary); }

/* 方案详情头部 */
.solution-hero {
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid var(--line);
    padding: 28px 32px;
    margin-top: 8px;
    background: #fff;
}
.sh-text { flex: 1 1 auto; min-width: 0; }
.sh-title { font-size: 24px; line-height: 1.45; font-weight: 700; }
.sh-summary { margin-top: 14px; font-size: 14px; color: var(--text-2); line-height: 1.8; }
.sh-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.sh-img { flex: 0 0 440px; overflow: hidden; background: #f7f7f7; }
.sh-img img { width: 100%; display: block; object-fit: cover; }
.solution-content { margin-top: 20px; border: 1px solid var(--line); padding: 24px 32px; }
.content-body .detail-section { margin-top: 24px; }

/* ============ 内容页响应式 ============ */
@media (max-width: 1240px) {
    .content-body { width: auto; margin: 0 16px; }
}
@media (max-width: 900px) {
    .news-grid, .solution-grid { grid-template-columns: 1fr; }
    .news-card { flex-direction: column; }
    .nc-img { flex: none; width: 100%; }
    .article-layout { flex-direction: column; }
    .article-side { width: 100%; flex: none; }
    .solution-hero { flex-direction: column-reverse; }
    .sh-img { flex: none; width: 100%; }
}
