/* 企业详情页扩展模块：企业产品 / 文章列表 / 画册 */

/* ============ 通用区块头部 ============ */
.cmod_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 右栏官网地址过长时强制换行（1688 店铺地址等） */
.xq_box_r_l a { word-break: break-all; }
.cmod_more {
    font-size: 13px;
    color: #06c;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.cmod_more:hover { color: #0056b3; text-decoration: none; }
.cmod_more i { font-size: 12px; }
.cmod_more.off { color: #9aa4b2; }

/* 更多按钮统一放模块右下角 */
.cmod_foot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 12px;
}

/* 空内容占位图（满宽幅） */
.cmod_ph { margin-top: 14px; }
.cmod_ph img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ============ 企业产品（主营产品下方） ============ */
.cprod_box {
    background: #fff;
    padding: 20px;
    margin-top: 10px;
}
.cprod_list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}
.cprod_item {
    box-sizing: border-box;
    width: calc((100% - 48px) / 5);
    display: block;
    border: 1px solid #edf1f6;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: all .15s;
}
.cprod_item:hover {
    border-color: #b9d7f5;
    box-shadow: 0 4px 12px rgba(0, 102, 204, .08);
    text-decoration: none;
}
.cprod_img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    background: #f7f9fc;
    overflow: hidden;
}
.cprod_img img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}
.cprod_img i { color: #d3dbe6; font-size: 26px; }
.cprod_noimg {
    font-style: normal;
    font-size: 12px;
    color: #b8c2d0;
    letter-spacing: 1px;
}
.cprod_tt {
    display: block;
    padding: 9px 10px;
    font-size: 13px;
    color: #3c4859;
    line-height: 20px;
    height: 40px;
    overflow: hidden;
    word-break: break-all;
}
.cprod_item:hover .cprod_tt { color: #06c; }
.cprod_empty {
    color: #9aa4b2;
    font-size: 13px;
    padding: 16px 0;
}

/* ============ 文章列表（右栏二维码下方） ============ */
.cart_box {
    margin-top: 22px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 16px;
}
.cart_head_t {
    font-size: 15px;
    font-weight: bold;
    color: #06c;
}
.cart_head_t span { color: #000; }
.cart_list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.cart_list li {
    list-style: none;
    padding: 8px 0;
    border-bottom: 1px dashed #eef2f7;
    line-height: 20px;
}
.cart_list li:last-child { border-bottom: 0; }
.cart_list li a {
    display: block;
    font-size: 13px;
    color: #3c4859;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart_list li a:hover { color: #06c; }
.cart_list li em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #9aa4b2;
    margin-top: 2px;
}
.cart_empty { color: #9aa4b2; font-size: 13px; padding: 12px 0; }

/* ============ 画册（产品照片下方） ============ */
.chuace_box {
    background: #fff;
    padding: 20px;
    margin-top: 10px;
}
.chuace_card {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e6ebf2;
    background: #fafcff;
    border-radius: 8px;
    padding: 16px 18px;
    margin-top: 14px;
}
.chuace_ico {
    flex: 0 0 46px;
    width: 46px;
    height: 56px;
    background: linear-gradient(180deg, #f0605a, #d93a33);
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .5px;
}
.chuace_info { flex: 1; min-width: 0; }
.chuace_name {
    font-size: 14.5px;
    color: #28313d;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chuace_desc { font-size: 12.5px; color: #8a94a6; margin-top: 5px; }
.chuace_btn {
    flex: 0 0 auto;
    background: #06c;
    color: #fff;
    border-radius: 4px;
    line-height: 34px;
    padding: 0 18px;
    font-size: 13px;
    text-decoration: none;
}
.chuace_btn:hover { background: #0056b3; color: #fff; text-decoration: none; }

/* ============ 响应式 ============ */
@media (max-width: 1220px) {
    .cprod_item { width: calc((100% - 36px) / 4); }
}
@media (max-width: 900px) {
    .cprod_item { width: calc((100% - 24px) / 3); }
    .cprod_img, .cprod_img img { height: 96px; }
    .cprod_box, .chuace_box { padding: 14px; }
}
@media (max-width: 600px) {
    .cprod_list { gap: 8px; }
    .cprod_item { width: calc((100% - 8px) / 2); }
    .cprod_img, .cprod_img img { height: 100px; }
    .cprod_tt { font-size: 12.5px; height: auto; max-height: 40px; }
    .cmod_more { font-size: 12.5px; }
    .cmod_ph { margin-top: 10px; }
    .cmod_ph img { border-radius: 6px; }
    .cart_list li a { white-space: normal; }
    .chuace_card { gap: 12px; padding: 13px 14px; }
    .chuace_ico { flex: 0 0 38px; width: 38px; height: 46px; font-size: 11px; }
    .chuace_name { font-size: 13.5px; }
    .chuace_btn { line-height: 30px; padding: 0 13px; font-size: 12.5px; }
}

/* ===== 企业详情页 二维码组（个人微信 / 公众号 / 视频号 / 抖音号） ===== */
.qrm_grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.qrm_item { width: calc(50% - 6px); box-sizing: border-box; text-align: center; }
.qrm_img img { width: 100%; max-width: 150px; height: auto; display: block; margin: 0 auto; border: 1px solid #f2f2f2; background: #fff; }
.qrm_t { font-size: 13.5px; font-weight: bold; color: #1d2129; line-height: 20px; margin-top: 8px; }

/* 主营产品标签 + 描述（2026-10-27 加） */
.xq_zycp{margin-top:10px;font-size:14px;line-height:26px;color:#444;word-break:break-all;}
.my-tags-inline .my-tag-item{margin-right:8px;}
.cmod_empty{color:#8a94a6;font-size:13px;padding:8px 0;}

/* 大号空状态卡片（企业画册 / 视频介绍缺内容时用，2026-10-29 加）
   图标为内联 SVG，不依赖任何外部图片文件，避免占位图 404 露出破图 */
.cmod_empty_lg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px 28px;
    margin-top: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fd 100%);
    border: 1px dashed #d3e2f2;
    border-radius: 8px;
}
.cmod_empty_lg .cel_ico {
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
}
.cmod_empty_lg .cel_t {
    font-size: 14.5px;
    font-weight: bold;
    color: #5b6f88;
    line-height: 22px;
}
.cmod_empty_lg .cel_d {
    font-size: 12.5px;
    color: #8fa2b8;
    line-height: 20px;
    margin-top: 6px;
    max-width: 420px;
}
@media (max-width: 768px) {
    .cmod_empty_lg { padding: 24px 14px 22px; border-radius: 6px; margin-top: 10px; }
    .cmod_empty_lg .cel_ico { width: 44px; height: 44px; margin-bottom: 10px; }
    .cmod_empty_lg .cel_t { font-size: 13.5px; }
    .cmod_empty_lg .cel_d { font-size: 12px; margin-top: 4px; }
}

/* ============ 企业详情：视频介绍 ============ */
/* 16:9 自适应容器：源站 iframe 常写死 1080x608 之类的尺寸，直接放进 810px 宽的
   左栏会横向溢出，把右栏挤到下一行 */
.vid_wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.vid_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

/* 企业详情：公司照片 / 产品照片 缩略图显示放大光标 */
.xq_box_l_i_i a,
.xq_box_l_i_i2 a {
    cursor: zoom-in;
}


/* 二维码点击放大（2026-11-01）：移动端点开看大图，长按可保存 / 识别 */
.qrm_zoom { display: block; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.qrm_zoom img { display: block; }
.qrx { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99998; background: rgba(0, 0, 0, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: calc(20px + env(safe-area-inset-top)) 18px calc(20px + env(safe-area-inset-bottom)); box-sizing: border-box; }
.qrx .qr_body { text-align: center; max-width: min(92vw, 400px); }
.qrx .qr_pic { display: block; width: auto; max-width: 100%; max-height: 72vh; margin: 0 auto; background: #fff; padding: 12px; border-radius: 10px; box-sizing: border-box; -webkit-touch-callout: default; }
.qrx .qr_cap { color: #fff; font-size: 15px; font-weight: 600; margin-top: 14px; }
.qrx .qr_hint { color: rgba(255, 255, 255, .68); font-size: 12.5px; line-height: 1.7; margin-top: 6px; }
.qrx .qr_close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 14px; width: 38px; height: 38px; line-height: 36px; text-align: center; color: #fff; font-size: 24px; border-radius: 50%; background: rgba(255, 255, 255, .16); -webkit-tap-highlight-color: transparent; }
body.qrx_open { overflow: hidden; }
