.products {
    align-items: stretch;
    display: flex;
    flex-flow: row;
    align-items: stretch;
}

.productMenu {
    font-size: 1.8vh;
    width: 16%;
    padding: 1vh;
    margin-right: 2vmin;
    padding-right: 2vmin;
    border-right: solid 1px #e3e3e3;
}

.productMenu ul.fixed {
    position: fixed;
    top: 7.8vh;
    z-index: 9;
    background-color: #FFF;
}

.productMenu li {
    line-height: 160%;
    border: solid 1px #e3e3e3;
    margin: 0.16rem 0;
    text-align: center;
    flex: 1 1 auto;
}

.productMenu li a {
    padding: 0.04rem;
    display: block;
    line-height: 180%;
}

.productMenu li h2,
.productMenu li p {
    font-size: 1.8vh;
    font-weight: normal;
    margin: 0;
    line-height: 180%;
    margin-top: 1px;
}

.productMenu li.current div a:hover {
    background-color: #f3f3f3;
}

.productMenu li h2 {
    border-top: solid 1px #f3f3f3;
    font-size: 1.6vh;
}

.productMenu li.current h2,
.productMenu li.current h2>a:hover {
    background-color: #cfe6ff;
}

.productMenu li div p {
    display: none;
    font-size: 1.6vh;
}

.productMenu li div:hover p {
    display: block;
}

.productMenu li.current>a {
    background-color: rgb(1, 122, 192);
    border: solid 1px rgb(68, 170, 230);
    color: #FFF;
}

.productList {
    margin: 0 0.1rem;
}

.productList ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin: 0;
    column-gap: 0.4rem;
    row-gap: 0.4rem;
}

.productList ul li {
    flex: 0 0 auto;
    display: flex;
    flex-flow: column;
    width: 30.33%;
    box-sizing: border-box;
}


.productList ul li h2 {
    font-size: 1.8vh;
    line-height: 2.4vh;
    max-height: 4.8vh;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
    margin-top: 0;
}

.productList ul li p {
    font-size: 1.2vh;
    line-height: 1.6vh;
    overflow: hidden;
    max-height: 8vh;
    color: #666;
}

.productList ul li h4,
.productList ul li h3 {
    font-size: 1.4vh;
    line-height: 2vh;
    margin: 0;
    font-weight: normal;
    color: #333;
    border-top: dashed 1px #e3e3e3;
    padding-top: 0.3em;
}

.productList ul li h4:before {
    content: "品牌";
    display: inline-block;
    color: #999;
    margin-right: 0.5em;
}

.productList ul li h3:before {
    content: "类别";
    display: inline-block;
    color: #999;
    margin-right: 0.5em;
}

.productList ul li picture {
    display: block;
    height: 16vh;
    overflow: hidden;
    margin-bottom: 0.16rem;

}

.productList ul li picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.8, 0.8);
    transition: transform 0.4s;
}

.productList ul li:hover picture img {
    transform: scale(1, 1);
}

.productDetail.bdt .pic {
    width: 30%
}

.productDetail.bdt .subtitle {
    border-bottom: dotted 0.01rem #dfdfdf;
    padding-bottom: 1.2vh;
    margin-bottom: 1.2vh;
}

.productDetail.bdt .subtitle strong {
    font-size: 1.2em;
}

.productDetail.pdhc {
    display: block;
}

.productDetail.pdhc .block-box {
    display: block;
    margin-bottom: 4vh;
}

.productDetail.pdhc>div {
    width: auto;
}

.productDetail.pdhc .subtitle {
    text-align: center;
    border-bottom: dashed 1px #ccc;
    padding-bottom: 16px;
    margin-bottom: 16px;
    font-size: 2.4vh;
}

.productDetail.pdhc .block-box img {
    margin: 0 2vh;
}

.productDetail.pdhc .block-box>div:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.pdpicture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 15vh;
    border-bottom: solid 1px #eee;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.pdpicture img {
    margin: auto;
    display: block;
    object-fit: contain;
}

.productList ul>h2 {
    width: 100%;
    margin: 0;
    line-height: 4vh;
    font-size: 1.8vh;
    background-color: #f3f3f3;
    padding: 0 0.12rem;
    box-sizing: border-box;
}

.productList .zhicheng ul li p {
    margin: 0;
    font-size: 1.4vh;
}

.productList .zhicheng ul li p span {
    display: block;
}

.productList .zhicheng ul li h3 {
    font-size: 1.6vh;
    margin: 0.04rem 0;
}

.productList .zhicheng ul li h3[rel]::before {
    content: attr(rel);
    color: #666;
    display: inline-block;
    margin-right: 0.5em;
    font-weight: normal;
    font-size: 0.8em;
}


@media (max-width:600px) {
    .products {
        flex-flow: column;
    }

    .productMenu {
        display: block;
        width: auto;
        border: none;
        margin: 0 -0.08rem;
        padding: 0.04rem 0;
        margin-bottom: 2vh;
    }

    .productMenu ul {
        display: flex;
        flex-flow: row;
        justify-content: center;
        border-bottom: solid 1px #e3e3e3;
    }

    .productList {
        margin: 0;
    }

    .productMenu ul li {
        margin: 0.08rem;
    }

    .productList ul {
        display: block;
    }

    .productList ul li {
        width: auto;
        display: flex;
        flex-flow: row;
        align-items: flex-start;
        padding: 0.12rem 0;
    }

    .productList ul li picture {
        display: block;
        flex: 0 0 auto;
        width: 25vw;
        height: 20vw;
        margin: 0;
        margin-right: 0.12rem;
    }

    .productList ul li h4 {
        display: block;
        flex: 0 0 auto;
        width: 10vw;
        margin-left: 0.12rem;
        border: none;
        text-align: center;
    }

    .productList ul li h4:before {
        margin: 0;
    }

    .productDetail.bdt .pic {
        width: auto;
        margin: 2vh;
    }

    .productDetail.bdt .pic img {
        width: 100%;
        height: auto;
    }
}

.searchCondition {
    border-bottom: solid 1px #ddd;
    padding-bottom: 0.1rem;
    margin-bottom: 0.2rem;
    display: flex;
    flex-direction: column;
    row-gap: 0.1rem;
}

.searchCondition h2 {
    font-size: 1.6vh;
    line-height: 140%;
    margin: 0;
}

.searchCondition>div {
    display: flex;
    flex-flow: row;
}

.searchCondition>div[rel]::before {
    content: attr(rel);
    color: #999999;
    white-space: nowrap;
}

.searchCondition ul {
    display: flex;
    flex-flow: row wrap;
    column-gap: 0.1rem;
    row-gap: 0.1rem;
    margin: 0;
    font-size: 1.4vh;
}

.searchCondition ul a {
    display: block;
    flex: 1 1 auto;
    min-width: 3em;
    max-width: 6em;
    text-align: center;
    box-shadow: 0 0 0 1px #f3f3f3 inset;
    border-radius: 4px;
    padding: 1px 2em;
    line-height: 2.5vh;
}

.searchCondition ul a.current {
    color: #FFF;
    background-color: rgb(1, 122, 192);
    box-shadow: none;
}

.pdpicture {
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;
    scroll-margin: 0px;
    overflow: hidden;
}

swiper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(-100%);
    z-index: 1;
    transition: transform 0.5s ease-in-out;
    background-color: #FFF;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

swiper>img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

swiper.next {
    transform: translateX(100%);
    transition: none;
}

swiper.prev {
    transform: translateX(-100%);
    z-index: 2;
}

swiper.current {
    transform: translateX(0%);
    z-index: 3;
    transition: transform 0.5s ease-in-out;
}



/* swiper img {
    object-fit: scale-down;
    width: 80%;
} */

swipebutton {
    position: absolute;
    left: 10vh;
    right: 10vh;
    bottom: 1vh;
    z-index: 9;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    column-gap: 0.08rem;

}

swipebutton a[rel]:before {
    content: attr(rel);
}

swipebutton a {
    color: #666;
    width: 0.24rem;
    height: 0.24rem;
    display: block;
    flex: 0 0 auto;
    text-align: center;
    line-height: 0.24rem;
    font-size: 0.12rem;
    border: solid 1px #e3e3e3;
    border-radius: 4px;
    background-color: #FFF;
}

swipebutton a.current {
    background-color: #1d6ed1;
    border: solid 1px #1d6ed1;
    color: #FFF;

}