

  .magic-7 {
    display: none;
}
.car-parts-model-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    margin-top: 16px;
    font-weight: 700;
}

.car-parts-model {
    max-height: 650px;
    overflow: scroll;
    word-break: break-word;
    max-width: 800px;
}
.car-parts-model .car-parts-model-table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    table-layout: fixed;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 4px 0 11px 0 rgba(0,0,0,.05);
    word-break: break-word;
}
.car-parts-model .car-parts-model-table th {
    padding: 8px;
    background: #fafafa;
    color: #666;
    text-align: center;
    font-weight: 400;
    border: 1px solid #f6f6f6;
    line-height: 40px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
.car-parts-model .car-parts-model-table td {
    padding: 4px 20px;
    border: 1px solid #f6f6f6;
    line-height: 40px;
}

.attribute-layout h4{
font-size: 22px!important;
font-weight: 600!important;
    margin-bottom: 20px!important;
    margin-top: 20px!important;
}
.attribute-layout h3{

}
.attribute-layout .attribute-info .more-bg {

    display: none;
}

/* 添加悬停效果 */
.attribute-layout .attribute-list .attribute-item:hover {
    background-color: antiquewhite!important; /* 你可以根据需要调整悬停时的背景颜色 */
    cursor: pointer; /* 鼠标悬停时显示手型光标 */
}

.attribute-layout a {
    text-decoration: underline
}

.attribute-layout h3 {
    color: #222;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px
}

.attribute-layout .attribute-info h4 {
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 20px
}







.attribute-layout .attribute-list {
    border-collapse: collapse;
    display: table;
vertical-align: middle; /* 垂直居中 */
    margin-bottom: 50px;
}

.attribute-layout .attribute-list .attribute-item {
    border: 1px solid #ddd;
    display: table-row;
line-height: 1.5; /* 调整行高度 */
}

.attribute-layout .attribute-list .attribute-item>div {
    border: 1px solid #ddd;
    color: #222;
    display: table-cell;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    padding: 12px;
vertical-align: middle; /* 垂直居中 */
}

.attribute-layout .attribute-list .attribute-item>div.left {
    background: #f4f4f4;
    width: 320px
}

.attribute-layout .attribute-list .attribute-item>div.right {
    width: 420px
}

.attribute-layout .attribute-list .attribute-item>div.right p {
    display: flex;
    margin-bottom: 0;
    padding-bottom: 0
}

.attribute-layout .attribute-list .attribute-item>div.right span {
    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px
}

.attribute-layout .attribute-list .attribute-item>div.right img {
    border-radius: 4px;
    height: 32px;
    margin-left: 10px;
    width: 32px
}

table {
        width: 80%;
        margin: auto;
        border-collapse: collapse;
    }

    th, td {
        border: 1px solid black;
        padding: 8px;
        text-align: center;
    }
   
    /* 设置鼠标滑过时的效果 */
    tr:hover {
        background-color: #f5f5f5; /* 设置背景色为淡灰色 */
    }



/* 表格整体样式 */
        .dataframe {
            border-collapse: collapse;
            width: 840px; /* 设置表格宽度为640px */
            margin-top: 20px;
        }

        /* 表头样式 */
        .dataframe th {
            background-color: #f2f2f2;
            border: 1px solid #ddd;
            text-align: center; /* 表头居中 */
            padding: 8px;
        }

        /* 表格内容样式 */
        .dataframe td {
            border: 1px solid #ddd;
            padding: 8px;
        }

        /* 鼠标悬停样式 */
        .dataframe tbody tr:hover {
            background-color: #f5f5f5;
        }

   .product-attributes {
    padding: 5px;
    margin-bottom: 5px;
}

.attribute-row {
    display: flex;
    padding: 8px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.attribute-row:nth-child(odd) {
    background-color: #f2f2f2;
}

.attribute-row:hover {
    background-color: #ddd;
}

.attribute-label {
    min-width: 20px; /* 设置最小宽度，根据需要调整 */
    padding-right: 10px; /* 添加右侧间距，使属性名和属性值有一定间隔 */
    align-self: center; /* 垂直居中 */
}

.attribute-value {
    flex: 1;
}

