/**/

.hl-product-banner,
.hl-product-detail,
.hl-product-detail * {
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Segoe UI', Roboto, 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hl-product-detail .J_module td{border: 1px #ccc solid;}
/* 顶部 Banner */
.hl-product-banner.has-image {
    position: relative;
}
.hl-product-banner-inner {
    position: static !important; /* 禁止inner成为定位父级 */
}
.hl-product-banner .ny_breadcrumb {
    position: absolute;
    bottom:0;
    left:0;
    z-index:9;
    margin-bottom:0 !important;
    background:#fff;
    padding:14px 24px;
    border-radius:0 16px 0 0;
    font-size:13px;
    color:#666;
}
.hl-product-banner {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hl-product-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 1480px;
    margin: 0 auto;
    padding: 50px 30px;
    width: 100%;
    box-sizing: border-box;
}
.hl-product-banner .ny_breadcrumb {
    font-size: 13px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}
.hl-product-banner .breadcrumb a { color: #fff; text-decoration: none; }
.hl-product-banner .breadcrumb a:hover { color: #f0c040; }
.hl-product-banner .breadcrumb span { margin: 0 8px; color: #777; }
.hl-product-banner h1 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    max-width: 1000px;
    letter-spacing: -0.3px;
}

/* 主内容区 */
.hl-product-detail {
    max-width: 1480px;
    margin: 0 auto;
    padding: 35px 30px;
    box-sizing: border-box;
}

/* 三栏布局 */
.hl-product-main {
    display: flex;
    gap: 28px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

/* 左侧：图片轮播 */
.hl-gallery {flex: 0 0 40%;max-width: 38%;}
.hl-gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}
.hl-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hl-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.hl-gallery-thumbs .thumb {
    width: 76px;
    height: 76px;
    border: 2px solid #e8e8e8;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: border-color .2s;
}
.hl-gallery-thumbs .thumb:hover { border-color: #999; }
.hl-gallery-thumbs .thumb.active {border-color: #e7a80f;}
.hl-gallery-thumbs .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* 中间：产品信息 */
.hl-product-info {flex: 1;min-width: 280px;}
.hl-product-desc {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 18px;
}
.hl-product-desc p { margin-bottom: 12px; }

/* 规格参数表 */
.hl-spec-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.hl-spec-table th, .hl-spec-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.hl-spec-table th {
    width: 36%;
    background: #fafafa;
    font-weight: 600;
    color: #555;
}

/* 社交分享 */
.hl-social-share { display: flex; gap: 8px; margin-top: 14px; }
.hl-social-share a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all .2s;
}
.hl-social-share a:hover { background: #c00; color: #fff; }

/* 右侧：询盘表单 */
.hl-inquiry {
    flex: 0 0 350px;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 24px;
    border-radius: 4px;
    align-self: flex-start;
}
.hl-inquiry h3 {
    font-size: 19px;
    margin-top: 0;
    margin-bottom: 14px;
    color: #222;
    font-weight: 700;
}
.hl-inquiry .inquiry-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}
.hl-inquiry .subject-box {
    background: #f7f7f7;
    padding: 12px;
    font-size: 13px;
    margin-bottom: 16px;
    border-radius: 3px;
    line-height: 1.5;
    word-break: break-word;
}
.hl-inquiry input, .hl-inquiry textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 13px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
}
.hl-inquiry input:focus, .hl-inquiry textarea:focus {
    outline: none;
    border-color: #c00;
    box-shadow: 0 0 0 2px rgba(204,0,0,0.1);
}
.hl-inquiry textarea { min-height: 95px; resize: vertical; }
.hl-inquiry button {
    width: 100%;
    padding: 13px;
    background: #222;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    transition: background .2s;
    letter-spacing: 0.5px;
}
.hl-inquiry button:hover { background: #c00; }
.hl-inquiry-msg {
    margin-top: 12px;
    font-size: 13px;
    padding: 10px;
    border-radius: 3px;
    display: none;
}
.hl-inquiry-msg.success { background: #e8f5e9; color: #2e7d32; display: block; }
.hl-inquiry-msg.error { background: #ffebee; color: #c62828; display: block; }

/* 下方：三标签页 */
.hl-product-tabs {
    border: 1px solid #e8e8e8;
    margin-bottom: 35px;
    background: #fff;
}
.hl-tab-nav {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fafafa;
}
.hl-tab-nav li {
    padding: 15px 32px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    border-right: 1px solid #e8e8e8;
    color: #555;
    transition: all .2s;
}
.hl-tab-nav li:hover { color: #e7a80f; }
.hl-tab-nav li.active {
    background: #fff;
    border-bottom: 2px solid #e7a80f;
    color: #e7a80f;
    margin-bottom: -1px;
}
.hl-tab-content {
    padding: 24px;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
}
.hl-tab-pane { display: none; }
.hl-tab-pane.active { display: block; }
.hl-tab-pane p { margin-bottom: 12px; }
.hl-tab-pane img { max-width: 100%; height: auto; }
.hl-tab-pane h1, .hl-tab-pane h2, .hl-tab-pane h3, .hl-tab-pane h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #222;
}

/* 产品视频 */
.hl-product-video { margin-bottom: 35px; }
.hl-product-video h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #222;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}
.hl-product-video .wp-video, .hl-product-video iframe { max-width: 100%; }

/* ===== FAQ 常见问题板块 ===== */
.hl-product-faq {
    margin-bottom: 35px;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 28px;
}
.hl-product-faq h2 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #222;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}
.hl-faq-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}
.hl-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.hl-faq-item h4 {
    font-size: 16px;
    color: #222;
    margin: 0 0 8px 0;
    font-weight: 600;
}
.hl-faq-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ===== 相关产品推荐 ===== */
.hl-related-products {
    margin-bottom: 35px;
}
.hl-related-products h2 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #222;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}
.hl-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hl-related-item {
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.hl-related-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.hl-related-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    overflow: hidden;
}
.hl-related-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.hl-related-title {
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hl-tab-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width:768px) {
    .hl-tab-grid {
        grid-template-columns: 1fr;
    }
}
.hl-tab-grid p {
    line-height: 1.75;
    margin: 0 0 14px;
    color: #444;
}
.hl-tab-grid img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
}

/* ===== 底部SEO文案 ===== */
.hl-seo-bottom {
    margin-bottom: 20px;
    padding: 28px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}
.hl-seo-bottom h2, .hl-seo-bottom h3 {
    color: #222;
    margin-top: 0;
}
.hl-seo-bottom p { margin-bottom: 12px; }
.hl-seo-bottom img { max-width: 100%; height: auto; }

/* ============================================
 * 响应式适配
 * ============================================ */

/* 大屏：1200-1480px，内容区占95% */
@media (max-width: 1480px) {
    .hl-product-banner-inner,
    .hl-product-detail { max-width: 95%; }
}

/* 中屏：992-1200px，三栏改两栏 */
@media (max-width: 1200px) {
    .hl-gallery { flex: 0 0 48%; max-width: 48%; }
    .hl-inquiry { flex: 0 0 100%; max-width: 100%; order: 3; }
    .hl-related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 平板：768-992px，单栏 */
@media (max-width: 992px) {
    .hl-gallery, .hl-product-info, .hl-inquiry {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .hl-product-banner h1 { font-size: 24px; }
    .hl-product-banner-inner { padding: 36px 20px; }
    .hl-product-detail { padding: 25px 20px; }
    .hl-tab-nav li { padding: 12px 18px; font-size: 14px; }
    .hl-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 手机：<768px */
@media (max-width: 768px) {
    .hl-product-banner { min-height: 220px; }
    .hl-product-banner h1 { font-size: 20px; }
    .hl-product-banner-inner { padding: 28px 16px; }
    .hl-product-detail { padding: 20px 16px; }
    .hl-product-main { gap: 20px; }
    .hl-gallery-thumbs .thumb { width: 60px; height: 60px; }
    .hl-tab-nav { flex-wrap: wrap; }
    .hl-tab-nav li { padding: 10px 14px; font-size: 13px; flex: 1; text-align: center; }
    .hl-tab-content { padding: 16px; font-size: 14px; }
    .hl-product-faq, .hl-seo-bottom { padding: 18px; }
    .hl-related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hl-related-title { font-size: 12px; padding: 8px 10px; }
    .hl-inquiry { padding: 18px; }
}

/* 小屏手机：<480px */
@media (max-width: 480px) {
    .hl-related-grid { grid-template-columns: 1fr; }
    .hl-product-banner h1 { font-size: 18px; }
}
