
.inquiry-page {
    width: 100%;
    margin: 0 auto;
    background: #fff;
}

/* ============================================
   主体内容
   ============================================ */
.content_ {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* 页面标题 */
.page-title {
    padding-top: 52px;
    text-align: center;
    font-weight: bold;
    font-size: 52px;
    color: #000;
    white-space: nowrap;
}

/* 分类 Tab */
.tabs {
    margin-top: 53px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.tab {
    width: 120px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    color: #000;
    background: #eaeaea;
    border-radius: 4px 4px 0 0;
    box-sizing: border-box;
    cursor: pointer;
}

.tab.active {
    background: #1c2b86;
    color: #fff;
}

/* Tab 分隔线 */
.tab-line {
    height: 1px;
    background: #eaeaea;
}

/* 分组标题 */
.section-title {
    margin: 38px 0 0;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #000;
    white-space: nowrap;
}

.section-title.acc {
    margin-top: 32px;
}

/* ============================================
   表头与产品行（Grid 12 列，与设计稿列位置一致）
   列宽：image 90 / model 384 / dlc 111 / input 125 /
         lpw 85 / cct 93 / packing 100 / stock 110 /
         stepper 148 / gap 18 / join 135
   ============================================ */
.table-head {
    margin-top: 26px;
    height: 50px;
    display: grid;
    grid-template-columns: 90px 384px 111px 125px 85px 93px 100px 110px 148px 18px 135px;
    align-items: center;
    background: #ccd7e6;
    border-radius: 8px 8px 0 0;
}

.th {
    font-size: 18px;
    color: #000;
    white-space: nowrap;
    padding-left: 4px;
}

/* 灯具表头：Add to inquiry list 跨步进器与按钮两列 */
.lamp-head .th:nth-child(9) {
    grid-column: 9 / 12;
}

/* 配件表头：Accessory Description 跨 DLC~Stock 区域 */
.acc-head .th:nth-child(3) {
    grid-column: 3 / 7;
}

/* 产品行容器 */
.rows {
    margin-top: 19px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 产品行 */
.p-row {
    min-height: 62px;
    display: grid;
    grid-template-columns: 90px 384px 111px 125px 85px 93px 100px 110px 148px 18px 135px;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
}

.p-row .row-img {
    width: 45px;
    height: 45px;
    margin-left: 20px;
}

.p-row .row-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.p-row .cell {
    font-size: 16px;
    color: #333;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 配件描述跨列 */
.p-row .cell.desc {
    grid-column: 3 / 7;
}

/* ============================================
   数量步进器
   ============================================ */
.stepper {
    min-width: 148px;
    height: 40px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
}

.step-btn {
    width: 40px;
    height: 40px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.step-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    pointer-events: none;
}

.step-num {
    flex: 1;
    text-align: center;
    font-size: 16px;
    color: #000;
}

.step-div {
    width: 1px;
    height: 24px;
    flex: none;
    background: #e5e7eb;
}

/* ============================================
   加入询价按钮
   ============================================ */
.join-btn {
    grid-column: 11;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #1c2b86;
    border-radius: 50px;
    cursor: pointer;
}

.join-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}

.join-btn span {
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    color: #fff;
    white-space: nowrap;
}

.join-btn:hover {
    background: #24349c;
}

/* ============================================
   购物车悬浮按钮（悬浮交互控件，固定于视口）
   ============================================ */
.cart-fab {
    position: fixed;
    right: 25px;
    bottom: 10%;
    width: 71px;
    height: 71px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    cursor: pointer;
    z-index: 10;
}

.cart-circle {
    grid-area: 1 / 1;
    width: 71px;
    height: 71px;
    display: block;
}

.cart-icon {
    grid-area: 1 / 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cart-count {
    grid-area: 1 / 1;
    place-self: start;
    min-width: 29px;
    height: 21px;
    line-height: 21px;
    padding: 0 5px;
    margin: 3px 0 0 49px;
    box-sizing: border-box;
    background: #f80;
    border-radius: 20px;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

/* ============================================
   询价列表侧边栏（弹出抽屉控件，固定于视口）
   ============================================ */

/* 遮罩 */
.sidebar-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(11.55px);
    backdrop-filter: blur(11.55px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 20;
}

.sidebar-mask.open {
    opacity: 1;
    visibility: visible;
}

/* 抽屉主体 */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 560px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 21;
}

.sidebar.open {
    transform: translateX(0);
}

/* 头部 */
.sidebar-head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px 26px;
    background: #1c2b86;
    border-bottom: 1px solid #f3f4f6;
}

.sidebar-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-icon {
    width: 24px;
    height: 24px;
    flex: none;
    display: block;
}

.sidebar-title {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 24px;
    color: #fff;
    white-space: nowrap;
}

.sidebar-badge {
    min-width: 30px;
    height: 20px;
    line-height: 20px;
    padding: 0 8px;
    box-sizing: border-box;
    background: #f80;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.sidebar-close {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sidebar-close svg {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}

/* 列表区 */
.sidebar-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0 22px;
    box-sizing: border-box;
}

/* 自定义滚动条（轨道 #e4e4e4，滑块 #1c2b86） */
.sidebar-list::-webkit-scrollbar {
    width: 5px;
}

.sidebar-list::-webkit-scrollbar-track {
    background: #e4e4e4;
    border-radius: 10px;
}

.sidebar-list::-webkit-scrollbar-thumb {
    background: #1c2b86;
    border-radius: 10px;
}

/* 分组标题 */
.s-list-title {
    margin: 0 0 20px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #000;
    white-space: nowrap;
}

.s-list-title.first {
    margin-top: 26px;
}

.s-list-title.acc {
    margin-top: 18px;
}

