/* 产品列表 */
.nav-container {
    width: 250px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    height: auto;

}

.nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.nav-title:hover {
    color: #1890ff;
    background-color: rgba(24, 144, 255, 0.05);
}

.nav-title.active {
    color: #1890ff;
    background-color: rgba(24, 144, 255, 0.08);
}

.nav-title::after {
    content: "›";
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    font-size: 18px;
    color: #999;
    transform: rotate(0deg);
}

.nav-title.active::after {
    transform: rotate(90deg);
    color: #1890ff;
}

.sub-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.4s ease-out,
        transform 0.4s ease-out;
    opacity: 0;
    transform: translateY(-10px);
    background: linear-gradient(to bottom, rgba(249, 249, 249, 0.9), rgba(240, 247, 255, 0.9));
}

.sub-nav.active {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.sub-nav-item {
    padding: 12px 20px 12px 30px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.sub-nav-item a {
    color: #555;
}

.sub-nav-item:hover {
    background-color: rgba(24, 144, 255, 0.05);
    border-left-color: #1890ff;
    padding-left: 28px;
}

.sub-nav-item:hover a {
    color: #1890ff;
}

.sub-nav-item::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: #bbb;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.sub-nav-item:hover::before {
    background-color: #1890ff;
    width: 8px;
    height: 8px;
}

.product-content {
    display: flex;
    align-items: flex-start;
    /* 顶部对齐 */
    gap: 20px;
    /* 左右间距 */
}

.product-class {
    flex: 1;
    /* 占据剩余空间 */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.product-class h2 {
    font-size: 1.45833vw;
    font-family: Source Han Sans CN-Medium, Source Han Sans CN;
    font-weight: 500;
    color: #1d1d1f;
}

.product-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* 产品项间距 */
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-list ul li {
    width: calc(33.333% - 10px);
    /* 三列布局，考虑gap间距 */
    box-sizing: border-box;
    margin-bottom: 20px;
}

.product-list ul li:hover img {
    transform: scale(1.1);
}

.product-list ul li img {
    width: 14.89583vw;
    height: 14.89583vw;
    margin: .57292vw;
    transition: all .3s;
}

.alarm-name {
    font-size: .83333vw;
    height: 3.125vw;
    max-height: 3.125vw;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 3.125vw;
    background: #d2d2d7;
    text-align: center;
    font-family: Source Han Sans CN-Regular, Source Han Sans CN;
    font-weight: 400;
    color: #1d1d1f;
    z-index: 10;
}

/* 产品详情页 */
/* 产品详情页 */
/* 产品详情页 */
.product-class2 {
    display: flex;
    justify-content: space-between;
}

.product-class-container {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.top-switch {
    border: .0625rem solid #d2d2d7;
}

.product-switch {
    width: 380px;
}

.big-img img {
    width: 100%;
    height: auto;
}

.alarms-img {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.alarms-img div {
    border: .0625rem solid #d2d2d7;
    width: 70px;
    height: 70px;
    cursor: pointer;
}

.alarms-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alarm-peizhi {
    max-width: 28.69792vw;
}

.alarm-peizhi .alarm-name2 {
    font-size: 2.08333vw;
    font-family: Source Han Sans CN-Medium, Source Han Sans CN;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: .41667vw;
    height: 3.02083vw;
}

.alarm-peizhi .alarm-jieshao {
    font-size: .72917vw;
    font-family: Source Han Sans CN-Regular, Source Han Sans CN;
    font-weight: 400;
    color: #6e6e73;
    margin-bottom: .83333vw;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 2.08333vw;
    line-height: 1.04167vw;
}

.alarm-peizhi .alarm-details {
    font-size: .72917vw;
    font-family: Source Han Sans CN-Regular, Source Han Sans CN;
    font-weight: 400;
    color: #6e6e73;
    padding: .88542vw .78125vw;
    max-width: 28.69792vw;
    height: 10.3125vw;
    background: #f5f5f7;
    box-sizing: border-box;
    margin-bottom: 1.04167vw;
    border: solid 1px transparent;
}

.alarm-peizhi .alarm-details p,
.alarm-peizhi .alarm-details .colors {
    height: 1.04167vw;
    font-size: .72917vw;
    margin-bottom: .83333vw;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.el-button {
    width: 9.375vw;
    height: 2.08333vw;
    border: 1px solid #1890ff;
    background: #fff;
}

.el-button a {
    font-size: .83333vw;
    color: #1890ff;
}
.hq{
    background-color: #1890ff;
}
.hq a{
    color: #fff;
}

.alarm-xq .title {
    margin-top: 20px;
    width: 41.66667vw;
    height: 2.5vw;
    background: #f5f5f7;
    display: inline-flex;
    align-items: center;
    padding-left: .625vw;
    box-sizing: border-box;
    margin-bottom: .625vw;
    font-size: .9375vw;
}

.alarm-xq .box {
    width: 41.66667vw;
    height: auto;
}

.v-md-editor-preview {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.vuepress-markdown-body:not(.custom) img {
    max-width: 100%;
}