/* seemb7 增量样式：mb7 原站 index.css 未覆盖的站点级组件（面包屑、空态、Toast、悬浮询价车等） */

.seo-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.hidden {
    display: none !important;
}

/* 面包屑（内页内容区顶部） */
.seemb7-breadcrumb {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 14px 20px 0;
    font-size: 13px;
    color: var(--jq_color4);
}

.seemb7-breadcrumb a {
    color: var(--jq_color4);
}

.seemb7-breadcrumb a:hover {
    color: var(--jq_color14);
}

/* 分类/品牌详情介绍块 */
.seemb7-branch-intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--jq_color2);
    margin: 20px;
    padding: 20px;
}

.seemb7-branch-intro__img {
    width: 120px;
    flex-shrink: 0;
}

.seemb7-branch-intro__img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.seemb7-branch-intro__text {
    flex: 1;
    line-height: 1.8;
    color: var(--jq_color3);
}

/* 列表空态 */
.seemb7-empty {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    color: var(--jq_color4);
}

.seemb7-empty .button {
    margin-top: 12px;
}

/* Toast */
.seemb7-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 99999;
    max-width: 80vw;
    text-align: center;
}

/* 右下角悬浮：询价车 + 回顶部 */
.seemb7-fixed-rail {
    position: fixed;
    right: 16px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9000;
    overflow: visible;
}

.seemb7-fixed-item {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: visible;
}

.seemb7-fixed-item:not(.shoppingCart) {
    border-radius: 50%;
    background: var(--jq_color14);
    color: var(--jq_color2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.seemb7-fixed-item-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--jq_color14);
    color: var(--jq_color2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.seemb7-fixed-item:hover {
    color: var(--jq_color2);
    opacity: 0.9;
}

.seemb7-fixed-item .iconfont {
    font-size: 20px;
}

.seemb7-fixed-item.shoppingCart.show::after {
    content: attr(data-count);
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--jq_color19);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow: 0 0 0 2px #fff;
    z-index: 2;
    pointer-events: none;
}

/* 左侧栏版权区：技术支持（固定后缀 集群科技） */
.menu-pc .copyright-tech-support {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.56);
}

/* 左侧栏版权区：友情链接（横向顺序排列，窄栏自动换行） */
.menu-pc .copyright-friend-links {
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.menu-pc .copyright-friend-links__label {
    display: block;
    margin-bottom: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.4;
}

.menu-pc .copyright-friend-links__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 8px;
    width: 100%;
}

.menu-pc .copyright-friend-links__list a {
    margin-top: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.56);
    flex: 0 1 auto;
}

.menu-pc .copyright-friend-links__list a:hover {
    color: #ffffff;
}

/* 产品卡片：右下角加入购物车（RFQ）图标按钮 */
.product-list-item__cart {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--jq_color14);
    color: var(--jq_color2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}

.product-list-item__cart .iconfont {
    font-size: 16px;
    line-height: 1;
}

.product-list-item__cart:hover {
    background: var(--jq_color8);
    transform: scale(1.05);
}

.product-list-item__cart:active {
    transform: scale(0.96);
}

/* 飞入购物车动画元素 */
.seemb7-fly-to-cart {
    position: fixed;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    z-index: 99999;
    pointer-events: none;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 127, 200, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}

.seemb7-fly-to-cart img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.seemb7-fly-to-cart .iconfont {
    font-size: 18px;
    color: var(--jq_color14);
}

.seemb7-fixed-item.shoppingCart.is-bump {
    animation: seemb7-cart-bump 0.32s ease;
}

@keyframes seemb7-cart-bump {
    0%,
    100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.14);
    }
}

/* 资讯详情上一篇/下一篇 */
.seemb7-news-prevnext {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--jq_color7);
    font-size: 14px;
}

.seemb7-news-prevnext a {
    color: var(--jq_color3);
}

.seemb7-news-prevnext a:hover {
    color: var(--jq_color14);
}

/* 询价页：表格区与联系表单收窄，避免超宽行难读 */
.help-main .help-table,
.help-main .help-from {
    max-width: 80%;
}

/* 询价页表格操作按钮：同一行排列 */
.help-main .help-table .table-button {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.help-main .help-table .table-button .button {
    margin: 0;
    opacity: 1;
}

.help-main .help-table .table-button .button.danger {
    background: var(--jq_color19, #e53935);
}

.help-main .help-table .table-button .button.danger:hover {
    filter: brightness(0.92);
}

/* 询价页联系表单：邮箱/电话、姓名/单位 两列；验证码输入缩短 */
.help-main .help-from .form-box .form-item-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    margin-bottom: var(--jq_mb3, 12px);
}

.help-main .help-from .form-box .form-item-box .form-item {
    flex: 1 1 calc(50% - 8px);
    width: calc(50% - 8px);
    min-width: 0;
    margin-bottom: 0;
}

.help-main .help-from .verificationCode-item .field-value-input.verificationCodeImage {
    align-items: center;
    width: auto;
    max-width: 100%;
}

.help-main .help-from .verificationCode-item .field-value-input.verificationCodeImage .verificationCode {
    width: 120px;
    max-width: 160px;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .help-main .help-table,
    .help-main .help-from {
        max-width: 100%;
    }

    .help-main .help-from .form-box .form-item-box .form-item {
        flex: 1 1 100%;
        width: 100%;
    }

    .help-main .help-from .verificationCode-item .field-value-input.verificationCodeImage .verificationCode {
        width: 100px;
        max-width: 42vw;
    }
}

/* 询价页 RFQ 表格（列顺序对齐 seemb4：型号 / 品牌 / 封装 / 数量 / 目标价格 / 操作） */
.seemb7-rfq-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--jq_color17);
    border-radius: 4px;
}

.seemb7-rfq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 720px;
}

.seemb7-rfq-table th,
.seemb7-rfq-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid var(--jq_color17);
    vertical-align: middle;
}

.seemb7-rfq-table th {
    background: var(--jq_color16);
    font-weight: 600;
    color: var(--jq_color3);
    white-space: nowrap;
}

.seemb7-rfq-table tbody tr:last-child td {
    border-bottom: none;
}

.seemb7-rfq-table tbody tr:nth-child(even) {
    background: var(--jq_color25);
}

.seemb7-rfq-table tbody tr:hover {
    background: var(--jq_color17);
}

.seemb7-rfq-table input {
    width: 100%;
    min-width: 72px;
    max-width: 160px;
    box-sizing: border-box;
}

.seemb7-rfq-table input.seemb7-rfq-input--pn {
    max-width: 200px;
}

.seemb7-rfq-table .seemb7-rfq-row-remove {
    padding: 6px 10px;
    border: none;
    background: transparent;
    color: var(--jq_color14);
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}

.seemb7-rfq-table .seemb7-rfq-row-remove:hover {
    text-decoration: underline;
}

.seemb7-rfq-td--actions {
    width: 72px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .seemb7-rfq-table-wrap {
        overflow-x: visible;
        border: none;
        border-radius: 0;
    }

    .seemb7-rfq-table {
        min-width: 0;
        display: block;
        width: 100%;
    }

    .seemb7-rfq-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }

    .seemb7-rfq-table tbody {
        display: block;
    }

    .seemb7-rfq-table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 12px;
        row-gap: 0;
        border: 1px solid var(--jq_color17);
        border-radius: 4px;
        margin-bottom: 12px;
        padding: 0 12px 12px;
        background: var(--jq_color2);
    }

    .seemb7-rfq-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .seemb7-rfq-table tbody td {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        border: none;
        padding: 10px 0 0;
    }

    .seemb7-rfq-table tbody td:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: 1;
        padding-top: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--jq_color17);
    }

    .seemb7-rfq-table tbody td:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .seemb7-rfq-table tbody td:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .seemb7-rfq-table tbody td:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }

    .seemb7-rfq-table tbody td:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }

    .seemb7-rfq-table tbody td::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 600;
        color: var(--jq_color4);
        line-height: 1.2;
    }

    .seemb7-rfq-table tbody td.seemb7-rfq-td--actions {
        grid-column: 1 / -1;
        grid-row: 4;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        padding-top: 8px;
        border-top: 1px solid var(--jq_color17);
    }

    .seemb7-rfq-table tbody td.seemb7-rfq-td--actions::before {
        flex: 1 1 auto;
        min-width: 0;
    }

    .seemb7-rfq-table input {
        max-width: none;
        min-width: 0;
    }

    .seemb7-rfq-table input.seemb7-rfq-input--pn {
        max-width: none;
    }

    .seemb7-rfq-table .seemb7-rfq-row-remove {
        margin-left: auto;
        min-height: 40px;
    }
}

@media (max-width: 768px) {
    .seemb7-branch-intro {
        flex-direction: column;
        margin: 10px;
        padding: 12px;
    }

    .seemb7-breadcrumb {
        padding: 10px 10px 0;
    }

    .seemb7-fixed-rail {
        right: 10px;
        bottom: 60px;
    }
}
