﻿/* Home banner */

.ws-home-banner {
    position: relative;
    width: 100%;
    padding-bottom: 20px;
    background: url("../images/bannerbg.jpg") center center no-repeat;
    background-size: cover;
}

.ws-home-banner-inner {
    position: relative;
    display: grid;
    grid-template-columns: 307px minmax(0, 1fr) 300px;
    align-items: start;
    min-width: 0;
}


/* Left space */

.ws-home-banner-left {
    position: relative;
    width: 307px;
    min-width: 0;
}


/* Home category position */

#home .ws-home-banner-left > .ws-nav-category-panel {
    left: 0;
    top: 0;
    width: 100%;
}


/* Slider */

.ws-banner-slider {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #042858;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.ws-banner-slider.ws-dragging {
    cursor: grabbing;
}

.ws-banner-track {
    width: 100%;
    display: flex;
    align-items: flex-start;
    transition: transform .45s ease;
    will-change: transform;
}

.ws-banner-slider.ws-dragging .ws-banner-track {
    transition: none;
}

.ws-banner-item {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
}

.ws-banner-item a {
    display: block;
    width: 100%;
}

.ws-banner-item img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}


/* Dots */

.ws-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
}

.ws-banner-dot {
    width: 20px;
    height: 4px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: all .25s ease;
}

.ws-banner-dot.active {
    width: 30px;
    background: #fff;
}


/* Right panel */

.ws-banner-right {
    width: 300px;
    min-width: 0;
    overflow: hidden;
    background: #042858;
    color: #fff;
}

.ws-banner-right-inner {
    height: 100%;
    padding: 18px 20px;
    overflow: hidden;
}


/* Member */

.ws-banner-member {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.ws-banner-welcome {
    margin-bottom: 13px;
    overflow: hidden;
    color: #00c7ff;
    font-size: 11px;
    line-height: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ws-banner-member-actions {
    display: flex;
    gap: 18px;
}

.ws-banner-signin,
.ws-banner-register {
    display: block;
    flex: 1;
    min-width: 0;
}

.ws-banner-signin a,
.ws-banner-register a {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #00c7ff;
    border-radius: 4px;
    color: #00c7ff;
    font-size: 14px;
}

.ws-banner-signin a:hover,
.ws-banner-register a:hover {
    background: #0000ff;
    border-color: #0000ff;
    color: #fff;
}


/* Blogs */

.ws-banner-blogs {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.ws-banner-blogs-head {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ws-banner-blogs-head strong {
    color: #fff;
    font-size: 16px;
}

.ws-banner-blogs-head a {
    color: #fff;
    font-size: 12px;
}

.ws-banner-blogs-head a:hover {
    color: #00c7ff;
}

.ws-banner-blogs-head i {
    margin-left: 7px;
}

.ws-banner-blogs li {
    position: relative;
    padding-left: 14px;
}

.ws-banner-blogs li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #00c7ff;
}

.ws-banner-blogs li a {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    line-height: 27px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ws-banner-blogs li a:hover {
    color: #00c7ff;
}


/* Quick links */

.ws-banner-quick {
    padding-top: 18px;
}

.ws-banner-quick-item {
    width: 100%;
    min-height: 70px;
    padding: 10px 14px 10px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.08);
    border-radius: 4px;
}

.ws-banner-quick-item:last-child {
    margin-bottom: 0;
}

.ws-banner-quick-item:hover {
    background: rgba(255,255,255,.13);
}

.ws-banner-quick-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ws-banner-quick-info strong {
    color: #fff;
    font-size: 18px;
    line-height: 26px;
}

.ws-banner-quick-info span {
    margin-top: 2px;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    line-height: 18px;
}

.ws-banner-quick-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-banner-quick-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}



/* Medium desktop */

@media screen and (max-width: 1360px) {

    .ws-home-banner-inner {
        grid-template-columns: 270px minmax(0, 1fr) 300px;
    }

    .ws-home-banner-left {
        width: 270px;
    }

}

/* Medium desktop */

@media screen and (max-width: 1200px) {

    .ws-home-banner-inner {
        grid-template-columns: 240px minmax(0, 1fr) 260px;
    }

    .ws-home-banner-left {
        width: 240px;
    }

    .ws-banner-right {
        width: 260px;
    }

    .ws-banner-right-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ws-banner-member-actions {
        gap: 10px;
    }

}


/* Tablet */

@media screen and (max-width: 1024px) {

    .ws-home-banner-inner {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .ws-home-banner-left {
        width: 230px;
    }

    .ws-banner-right {
        display: none;
    }

}


/* Mobile */

@media screen and (max-width: 767px) {

    .ws-home-banner {
        padding-bottom: 12px;
        background: none;
    }

    .ws-home-banner-inner {
        display: block;
        width: 100%;
        max-width: none;
    }

    .ws-home-banner-left {
        display: none;
    }

    #home .ws-nav-category-panel {
        display: none !important;
    }

    .ws-banner-slider {
        width: 100%;
    }

    .ws-banner-right {
        display: none;
    }

    .ws-banner-dots {
        bottom: 9px;
        gap: 6px;
    }

    .ws-banner-dot {
        width: 15px;
        height: 3px;
    }

    .ws-banner-dot.active {
        width: 23px;
    }

}



/* Home advantages */

.ws-home-advantages {
    width: 100%;
    padding: 16px 0 28px;
}

.ws-home-advantages-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}


/* Advantage item */

.ws-home-advantage-item {
    min-width: 0;
    min-height: 122px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    background: linear-gradient(
        105deg,
        #2d6484 0%,
        #326b88 48%,
        #20c7d2 100%
    );
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ws-home-advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(4, 40, 88, .16);
}


/* Icon */

.ws-home-advantage-icon {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-home-advantage-icon img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}


/* Text */

.ws-home-advantage-info {
    min-width: 0;
}

.ws-home-advantage-info h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 14px;  font-family: myFirstFont;
    line-height: 22px;
}

.ws-home-advantage-info p {
    margin: 0;
    color: #fff;
    font-size: 10px;
    line-height: 18px;
}


/* Medium desktop */

@media screen and (max-width: 1200px) {

    .ws-home-advantages-list {
        gap: 18px;
    }

    .ws-home-advantage-item {
        padding: 16px;
    }

    .ws-home-advantage-icon {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
        margin-right: 12px;
    }

    .ws-home-advantage-icon img {
        width: 68px;
        height: 68px;
    }

    .ws-home-advantage-info h3 {
        font-size: 15px;
    }

}


/* Tablet */

@media screen and (max-width: 1024px) {

    .ws-home-advantages-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* Mobile */

@media screen and (max-width: 767px) {

    .ws-home-advantages {
        padding: 12px 0 20px;
    }

    .ws-home-advantages-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ws-home-advantage-item {
        min-height: 100px;
        padding: 14px 16px;
    }

    .ws-home-advantage-icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        margin-right: 14px;
    }

    .ws-home-advantage-icon img {
        width: 64px;
        height: 64px;
    }

    .ws-home-advantage-info h3 {
        margin-bottom: 5px;
        font-size: 15px;
        line-height: 21px;
    }

    .ws-home-advantage-info p {
        font-size: 12px;
        line-height: 18px;
    }

}


/* Home popular product */

.ws-home-popular {
    width: 100%;
    padding: 24px 0 30px;
}

.ws-home-popular-box {
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
}


/* Header */

.ws-home-popular-head {
    min-height: 78px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ececec;
}

.ws-home-popular-head h2 {
    position: relative;
    margin: 0;
    padding-left: 15px;
    color: #2d2d2d;
    font-size: 28px;
    line-height: 36px;
}

.ws-home-popular-head h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 30px;
    background: #28cbe8;
    transform: translateY(-50%);
}

.ws-home-popular-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 14px;
}

.ws-home-popular-more:hover {
    color: #0000ff;
}


/* Content */

.ws-home-popular-content {
    display: grid;
    grid-template-columns: 408px minmax(0, 1fr);
    align-items: stretch;
}


/* Left banner */

.ws-home-popular-banner {
    min-width: 0;
    overflow: hidden;
}

.ws-home-popular-banner a {
    display: block;
    width: 100%;
    height: 100%;
}

.ws-home-popular-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Product list */

.ws-home-popular-list {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ws-home-popular-item {
    min-width: 0;
    min-height: 268px;
    padding: 24px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.ws-home-popular-item:nth-child(4n) {
    border-right: none;
}

.ws-home-popular-item:nth-last-child(-n+4) {
    border-bottom: none;
}


/* Product image */

.ws-home-popular-img {
    width: 100%;
    height: 160px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-home-popular-img img {
    display: block;
    max-width: 90%;
    max-height: 150px;
    object-fit: contain;
    transition: transform .25s ease;
}

.ws-home-popular-item:hover .ws-home-popular-img img {
    transform: scale(1.05);
}


/* Product info */

.ws-home-popular-info {
    width: 100%;
    text-align: center;
}

.ws-home-popular-info h3 {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 20px; height: 20px; overflow:hidden;
}

.ws-home-popular-info h3 a {
    color: #13223b;
}

.ws-home-popular-info h3 a:hover {
    color: #0000ff;
}

.ws-home-popular-info p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 20px; height: 20px; overflow:hidden;
}

.ws-home-popular-info p a {
    color: #0000ff;
}


/* 1360 */

@media screen and (max-width: 1360px) {

    .ws-home-popular-content {
        grid-template-columns: 360px minmax(0, 1fr);
    }

    .ws-home-popular-item {
        padding-left: 14px;
        padding-right: 14px;
    }

}


/* 1200 */

@media screen and (max-width: 1200px) {

    .ws-home-popular-content {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .ws-home-popular-item {
        min-height: 240px;
    }

    .ws-home-popular-img {
        height: 140px;
    }

    .ws-home-popular-img img {
        max-height: 130px;
    }

}


/* Tablet */

@media screen and (max-width: 1024px) {

    .ws-home-popular-content {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .ws-home-popular-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ws-home-popular-item:nth-child(4n) {
        border-right: 1px solid #ececec;
    }

    .ws-home-popular-item:nth-child(2n) {
        border-right: none;
    }

    .ws-home-popular-item:nth-last-child(-n+4) {
        border-bottom: 1px solid #ececec;
    }

    .ws-home-popular-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

}


@media screen and (max-width: 767px) {

    .ws-home-popular {
        padding: 16px 0 22px;
    }

    .ws-home-popular-box {
        border-radius: 10px;
    }

    .ws-home-popular-head {
        min-height: 58px;
        padding: 0 14px;
    }

    .ws-home-popular-head h2 {
        padding-left: 11px;
        font-size: 20px;
        line-height: 26px;
    }

    .ws-home-popular-head h2:before {
        width: 3px;
        height: 22px;
    }

    .ws-home-popular-more {
        gap: 6px;
        font-size: 12px;
    }


    /* Hide left banner */

    .ws-home-popular-banner {
        display: none;
    }


    /* Product content */

    .ws-home-popular-content {
        display: block;
    }

    .ws-home-popular-list {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* Product item */

    .ws-home-popular-item {
        width: 100%;
        min-width: 0;
        min-height: 210px;
        padding: 16px 10px 14px;
        border-right: 1px solid #ececec;
        border-bottom: 1px solid #ececec;
    }

    .ws-home-popular-item:nth-child(4n) {
        border-right: 1px solid #ececec;
    }

    .ws-home-popular-item:nth-child(2n) {
        border-right: none;
    }

    .ws-home-popular-item:nth-last-child(-n+4) {
        border-bottom: 1px solid #ececec;
    }

    .ws-home-popular-item:nth-last-child(-n+2) {
        border-bottom: none;
    }


    /* Product image */

    .ws-home-popular-img {
        width: 100%;
        height: 120px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ws-home-popular-img img {
        max-width: 90%;
        max-height: 110px;
        object-fit: contain;
    }


    /* Product info */

    .ws-home-popular-info h3 {
        margin-bottom: 5px;
        font-size: 13px;
        line-height: 18px;
    }

    .ws-home-popular-info p {
        font-size: 12px;
        line-height: 18px;
    }

}



/* Home BOM */

.ws-home-bom {
    width: 100%;
    padding: 0 0 28px;
}

.ws-home-bom-box {
    position: relative;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    border-radius: 10px;
    background: url("../images/homebom.jpg") center center no-repeat;
    background-size: cover;
}

.ws-home-bom-content {
    position: relative;
    z-index: 2;
    padding: 28px 45px;
}

.ws-home-bom-content h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 30px;
    line-height: 38px;
}

.ws-home-bom-content p {
    margin: 0 0 18px;
    color: #fff;
    font-size: 20px;
    line-height: 28px;
}

.ws-home-bom-btn {
    min-width: 194px;
    height: 55px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 28px;
    background: #2ec8f1;
    color: #fff;
    font-size: 18px;
    line-height: 55px;
    transition: transform .25s ease, background .25s ease;
}

.ws-home-bom-btn:hover {
    background: #0000ff;
    color: #fff;
    transform: translateY(-2px);
}

.ws-home-bom-btn i {
    font-size: 21px;
}


/* Tablet */

@media screen and (max-width: 1024px) {

    .ws-home-bom-box {
        min-height: 170px;
    }

    .ws-home-bom-content {
        padding: 24px 35px;
    }

    .ws-home-bom-content h2 {
        font-size: 25px;
        line-height: 32px;
    }

    .ws-home-bom-content p {
        margin-bottom: 15px;
        font-size: 17px;
        line-height: 24px;
    }

    .ws-home-bom-btn {
        min-width: 170px;
        height: 48px;
        font-size: 16px;
        line-height: 48px;
    }

}


/* Mobile */

@media screen and (max-width: 767px) {

    .ws-home-bom {
        padding-bottom: 20px;
    }

    .ws-home-bom-box {
        min-height: 150px;
        border-radius: 8px;
        background-position: center center;
    }

    .ws-home-bom-content {
        padding: 22px 20px;
    }

    .ws-home-bom-content h2 {
        max-width: 65%;
        margin-bottom: 5px;
        font-size: 19px;
        line-height: 25px;
    }

    .ws-home-bom-content p {
        max-width: 62%;
        margin-bottom: 13px;
        font-size: 13px;
        line-height: 20px;
    }

    .ws-home-bom-btn {
        min-width: 135px;
        height: 40px;
        padding: 0 15px;
        gap: 7px;
        font-size: 13px;
        line-height: 40px;
    }

    .ws-home-bom-btn i {
        font-size: 16px;
    }

}


/* Home brands */

.ws-home-brands {
    width: 100%;
    padding: 0 0 30px;
}

.ws-home-brands-box {
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}


/* Header */

.ws-home-brands-head {
    min-height: 78px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ececec;
}

.ws-home-brands-head h2 {
    position: relative;
    margin: 0;
    padding-left: 15px;
    color: #2d2d2d;
    font-size: 28px;
    line-height: 36px;
}

.ws-home-brands-head h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 30px;
    background: #28cbe8;
    transform: translateY(-50%);
}

.ws-home-brands-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 14px;
}

.ws-home-brands-more:hover {
    color: #0000ff;
}


/* Scroll */

.ws-home-brands-scroll {
    position: relative;
    width: 100%;
    padding: 26px 0 22px;
    overflow: hidden;
}

.ws-home-brands-scroll:before,
.ws-home-brands-scroll:after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 5;
    width: 110px;
    height: 100%;
    pointer-events: none;
}

.ws-home-brands-scroll:before {
    left: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, .96) 0%,
        rgba(255, 255, 255, .82) 38%,
        rgba(255, 255, 255, .45) 68%,
        rgba(255, 255, 255, 0) 100%
    );
}

.ws-home-brands-scroll:after {
    right: 0;
    background: linear-gradient(
        270deg,
        rgba(255, 255, 255, .96) 0%,
        rgba(255, 255, 255, .82) 38%,
        rgba(255, 255, 255, .45) 68%,
        rgba(255, 255, 255, 0) 100%
    );
}

.ws-home-brands-list {
    display: none;
}

.ws-home-brands-row {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.ws-home-brands-row + .ws-home-brands-row {
    margin-top: 22px;
}

.ws-home-brands-track {
    width: max-content;
    display: flex;
    align-items: center;
    will-change: transform;
}


/* Brand */

.ws-home-brand-item {
    width: 190px;
    height: 82px;
    flex: 0 0 190px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-home-brand-item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-home-brand-item img {
    display: block;
    max-width: 145px;
    max-height: 62px;
    object-fit: contain;
    transition: transform .25s ease, opacity .25s ease;
}

.ws-home-brand-item:hover img {
    transform: scale(1.06);
    opacity: .85;
}


/* Tablet */

@media screen and (max-width: 1024px) {

    .ws-home-brand-item {
        width: 150px;
        height: 72px;
        flex-basis: 150px;
        padding: 8px 15px;
    }

    .ws-home-brand-item img {
        max-width: 120px;
        max-height: 52px;
    }

    .ws-home-brands-row + .ws-home-brands-row {
        margin-top: 16px;
    }

    .ws-home-brands-scroll:before,
    .ws-home-brands-scroll:after {
        width: 80px;
    }

}


/* Mobile */

@media screen and (max-width: 767px) {

    .ws-home-brands {
        padding-bottom: 22px;
    }

    .ws-home-brands-head {
        min-height: 62px;
        padding: 0 15px;
    }

    .ws-home-brands-head h2 {
        padding-left: 12px;
        font-size: 20px;
        line-height: 28px;
    }

    .ws-home-brands-head h2:before {
        width: 3px;
        height: 24px;
    }

    .ws-home-brands-more {
        gap: 7px;
        font-size: 12px;
    }

    .ws-home-brands-scroll {
        padding: 18px 0;
    }

    .ws-home-brands-scroll:before,
    .ws-home-brands-scroll:after {
        width: 42px;
    }

    .ws-home-brands-row + .ws-home-brands-row {
        margin-top: 12px;
    }

    .ws-home-brand-item {
        width: 125px;
        height: 62px;
        flex-basis: 125px;
        padding: 8px 12px;
    }

    .ws-home-brand-item img {
        max-width: 100px;
        max-height: 46px;
    }

}


/* Home industry */

.ws-home-industry {
    width: 100%;
    padding: 0 0 30px;
}

.ws-home-industry-box {
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}


/* Header */

.ws-home-industry-head {
    min-height: 78px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ececec;
}

.ws-home-industry-head h2 {
    position: relative;
    margin: 0;
    padding-left: 15px;
    color: #2d2d2d;
    font-size: 28px;
    line-height: 36px;
}

.ws-home-industry-head h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 30px;
    background: #28cbe8;
    transform: translateY(-50%);
}

.ws-home-industry-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 14px;
}

.ws-home-industry-more:hover {
    color: #0000ff;
}


/* Tabs */

.ws-home-industry-tabs {
    padding: 30px 20px 24px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.ws-home-industry-tab {
    width: 178px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: #ddf5fb;
    color: #24c4ec;
    font-size: 15px;
    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.ws-home-industry-tab:hover {
    color: #24c4ec;
    transform: translateY(-2px);
}

.ws-home-industry-tab.current {
    background: #30c5ee;
    color: #fff;
}


/* Panels */

.ws-home-industry-panels {
    position: relative;
}

.ws-home-industry-panel {
    display: none;
    padding: 14px 20px 28px;
}

.ws-home-industry-panel.current {
    display: block;
    animation: wsIndustryFade .35s ease;
}

@keyframes wsIndustryFade {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Slider */

.ws-home-industry-slider {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.ws-home-industry-slider.ws-dragging {
    cursor: grabbing;
}

.ws-home-industry-track {
    display: flex;
    align-items: stretch;
    will-change: transform;
    transition: transform .4s ease;
}

.ws-home-industry-slider.ws-dragging .ws-home-industry-track {
    transition: none;
}


/* Article item */

.ws-home-industry-item {
    width: calc(33.333333% - 18px);
    min-width: calc(33.333333% - 18px);
    flex: 0 0 calc(33.333333% - 18px);
    margin-right: 27px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #fafafa;
    transition: border-color .25s ease, transform .25s ease;
}

.ws-home-industry-item:hover {
    border-color: #30c5ee;
    transform: translateY(-3px);
}

.ws-home-industry-item:last-child {
    margin-right: 0;
}


/* Image */

.ws-home-industry-img {
    width: 100%;
    height: 181px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.ws-home-industry-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ws-home-industry-item:hover .ws-home-industry-img img {
    transform: scale(1.04);
}


/* Content */

.ws-home-industry-content {
    min-height: 134px;
    padding: 18px 20px 16px;
}

.ws-home-industry-date {
    margin-bottom: 10px;
    color: #777;
    font-size: 14px;
    line-height: 20px;
}

.ws-home-industry-content h3 {
    margin: 0 0 9px;
    font-size: 15px;
    line-height: 21px;
}

.ws-home-industry-content h3 a {
    color: #222;
}

.ws-home-industry-content h3 a:hover {
    color: #0000ff;
}

.ws-home-industry-content p {
    margin: 0;
    overflow: hidden;
    color: #999;
    font-size: 13px;
    line-height: 19px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* View more */

.ws-home-industry-link {
    height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ececec;
    color: #222;
    font-size: 13px;
}

.ws-home-industry-link:hover {
    color: #0000ff;
}


/* Dots */

.ws-home-industry-dots {
    min-height: 24px;
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ws-home-industry-dot {
    width: 20px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #e4e4e4;
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.ws-home-industry-dot.current {
    width: 30px;
    background: #0000ff;
}


/* Tablet */

@media screen and (max-width: 1024px) {

    .ws-home-industry-item {
        width: calc(50% - 10px);
        min-width: calc(50% - 10px);
        flex-basis: calc(50% - 10px);
        margin-right: 20px;
    }

    .ws-home-industry-img {
        height: 170px;
    }

}


/* Mobile */

@media screen and (max-width: 767px) {

    .ws-home-industry {
        padding-bottom: 22px;
    }

    .ws-home-industry-box {
        border-radius: 10px;
    }

    .ws-home-industry-head {
        min-height: 62px;
        padding: 0 15px;
    }

    .ws-home-industry-head h2 {
        padding-left: 12px;
        font-size: 20px;
        line-height: 28px;
    }

    .ws-home-industry-head h2:before {
        width: 3px;
        height: 24px;
    }

    .ws-home-industry-more {
        gap: 7px;
        font-size: 12px;
    }

    .ws-home-industry-tabs {
        padding: 18px 15px;
        gap: 12px;
    }

    .ws-home-industry-tab {
        width: auto;
        height: 40px;
        padding: 0 24px;
        flex: 1;
        font-size: 13px;
    }

    .ws-home-industry-panel {
        padding: 5px 15px 20px;
    }

    .ws-home-industry-item {
        width: 100%;
        min-width: 100%;
        flex-basis: 100%;
        margin-right: 0;
    }

    .ws-home-industry-img {
        height: auto;
        aspect-ratio: 421 / 181;
    }

    .ws-home-industry-content {
        min-height: auto;
        padding: 15px;
    }

    .ws-home-industry-date {
        margin-bottom: 7px;
        font-size: 12px;
    }

    .ws-home-industry-content h3 {
        margin-bottom: 7px;
        font-size: 14px;
    }

    .ws-home-industry-content p {
        font-size: 12px;
        line-height: 18px;
    }

    .ws-home-industry-link {
        height: 44px;
        padding: 0 15px;
        font-size: 12px;
    }

    .ws-home-industry-dots {
        margin-top: 16px;
    }

}


/* Home parts */

.ws-home-parts {
    width: 100%;
    padding: 0 0 30px;
}

.ws-home-parts-box {
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}


/* Header */

.ws-home-parts-head {
    min-height: 78px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ececec;
}

.ws-home-parts-head h2 {
    position: relative;
    margin: 0;
    padding-left: 15px;
    color: #2d2d2d;
    font-size: 28px;
    line-height: 36px;
}

.ws-home-parts-head h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 30px;
    background: #28cbe8;
    transform: translateY(-50%);
}

.ws-home-parts-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 14px;
}

.ws-home-parts-more:hover {
    color: #0000ff;
}


/* Tabs */

.ws-home-parts-tabs {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #ececec;
}

.ws-home-parts-tab {
    position: relative;
    width: 188px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ececec;
    color: #222;
    font-size: 16px;
}

.ws-home-parts-tab:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 2px;
    background: #0000ff;
    transition: width .25s ease;
}

.ws-home-parts-tab.current {
    color: #0000ff;
}

.ws-home-parts-tab.current:before {
    width: 100%;
}


/* Panels */

.ws-home-parts-panel {
    display: none;
}

.ws-home-parts-panel.current {
    display: block;
    animation: wsPartsFade .3s ease;
}

@keyframes wsPartsFade {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Parts list */

.ws-home-parts-list {
    padding: 28px 20px 30px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-template-rows: none;
    column-gap: 34px;
    row-gap: 9px;
}
.ws-home-parts-list a {
    min-width: 0;
    overflow: hidden;
    color: #444;
    font-size: 15px;
    line-height: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ws-home-parts-list a:hover {
    color: #0000ff;
}


/* Index */

.ws-home-parts-index {
    min-height: 64px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 21px;
    border-top: 1px solid #ececec;
}

.ws-home-parts-index span {
    color: #444;
    font-size: 15px;
}

.ws-home-parts-index a {
    color: #333;
    font-size: 15px;
    line-height: 32px;
}

.ws-home-parts-index a:hover {
    color: #0000ff;
}


/* Tablet */

@media screen and (max-width: 1024px) {

    .ws-home-parts-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-flow: row;
        gap: 10px 25px;
    }

    .ws-home-parts-index {
        gap: 0 16px;
    }

}


/* Mobile */

@media screen and (max-width: 767px) {

    .ws-home-parts {
        padding-bottom: 22px;
    }

    .ws-home-parts-box {
        border-radius: 10px;
    }

    .ws-home-parts-head {
        min-height: 62px;
        padding: 0 15px;
    }

    .ws-home-parts-head h2 {
        padding-left: 12px;
        font-size: 20px;
        line-height: 28px;
    }

    .ws-home-parts-head h2:before {
        width: 3px;
        height: 24px;
    }

    .ws-home-parts-more {
        gap: 7px;
        font-size: 12px;
    }

    .ws-home-parts-tabs {
        width: 100%;
    }

    .ws-home-parts-tab {
        width: 33.333333%;
        height: 48px;
        padding: 0 5px;
        font-size: 13px;
        text-align: center;
    }

    .ws-home-parts-list {
        padding: 20px 15px 22px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-flow: row;
        gap: 11px 18px;
    }

    .ws-home-parts-list a {
        font-size: 13px;
        line-height: 20px;
    }

    .ws-home-parts-index {
        min-height: 60px;
        padding: 12px 15px;
        gap: 0 14px;
    }

    .ws-home-parts-index span,
    .ws-home-parts-index a {
        font-size: 13px;
    }

}