html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.phone {
    display: none;
}

.head-image-m {
    width: 100%;
    object-fit: cover;
}

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 60px;
    background: #fff;
}

#header .logo {
    width: 138px;
    height: 36px;
}

.header-search-wrap {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 12px 0 14px;
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    min-width: 240px;
    max-width: 360px;
    box-sizing: border-box;
}

.header-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #999;
    flex-shrink: 0;
}

.header-search-input {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #141414;
    outline: none;
    min-width: 0;
}

.header-search-input::placeholder {
    color: #999;
}

.header-search-input::-webkit-search-cancel-button {
    display: none;
}

.topimg {
    position: relative;
}

.topimg img {
    width: 100%;
    height: 335px;
    object-fit: cover;
}

.topimg-content {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.docc-header-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 90px 20px 0;
}

.docc-header-content h1 {
    font-weight: 500;
    font-size: 32px;
    color: #141414;
    line-height: 1.5;
}

.docc-header-content p {
    font-weight: 400;
    font-size: 16px;
    color: #565656;
    margin-top: 20px;
    line-height: 1.5;
}

/* 通用容器 */
.docc-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.docc-container-black {
    background: #F7F7F7;
    padding: 48px 0;
}

.docc-title {
    line-height: 1.5;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 26px;
    color: #141414;
}

@media screen and (max-width: 768px) {
    #header {
        padding: 0 4.27vw;
    }
    .header-search-wrap {
        min-width: 120px;
        max-width: 42vw;
        height: 32px;
        padding: 0 10px 0 12px;
    }
    .header-search-icon svg {
        width: 14px;
        height: 14px;
    }
    .header-search-input {
        font-size: 13px;
    }
    .topimg {
        height: auto;
    }
    .topimg .phone.head-image-m {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
    .topimg .pc {
        height: 400px;
    }
    .topimg-content {
        padding-left: 4.27vw;
    }
    .docc-header-content h1 {
        font-size: 5.33vw;
    }
    .docc-header-content p {
        font-size: 3.73vw;
    }
    .docc-container {
        padding: 0 4.27vw
    }
}

/* 分类导航 */
.docc-category {
    margin-top: 48px;
    background: #fff;
}

.docc-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.docc-category-item {
    background: #FFFFFF;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.docc-category-item:hover {
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.docc-category-item img {
    width: 100%;
    object-fit: contain;
}

.docc-category-item-content {
    /*height: 184px;*/
    box-sizing: border-box;
    padding: 14px 24px;
}

.docc-category-item-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.docc-category-item h3 {
    font-weight: 600;
    font-size: 20px;
    color: #141414;
    line-height: 1;
}

.docc-category-item p {
    font-weight: 400;
    font-size: 14px;
    color: #565656;
    line-height: 1.567;
    margin-top: 12px;
}

.docc-category-item-title img {
    width: 16px;
    height: 11px;
}

.docc-category-item:hover .docc-category-item-title img {
    content: url('../images/docc-right-hover.png');
}

.docc-category-item-disabled {
    cursor: default;
}

.docc-category-item-disabled:hover {
    box-shadow: none;
    transform: none;
}

@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }

    .phone {
        display: block;
    }

    .docc-category {
        margin-top: 9.6vw;
    }

    .docc-category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.93vw;
    }

    .docc-category-item {
        background: #FFFFFF;
        border-radius: 2.13vw;
        border: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
    }

    .docc-category-item:hover {
        box-shadow: none;
        transform: translateY(0);
    }

    .docc-category-item img {
        width: 100%;
        object-fit: contain;
    }

    .docc-category-item-content {
        height: 37.33vw;
        box-sizing: border-box;
        padding: 3.2vw 3.2vw 0;
    }

    .docc-category-item-title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .docc-category-item h3 {
        font-weight: 600;
        font-size: 3.73vw;
        color: #141414;
        line-height: 1;
    }

    .docc-category-item p {
        font-weight: 400;
        font-size: 3.2vw;
        color: #565656;
        line-height: 1.5;
        margin-top: 2.13vw;
    }

    .docc-category-item-title img {
        width: 3.2vw;
        height: 2.2vw;
    }

    .docc-category-item:hover .docc-category-item-title img {
        content: url(../images/docc-right.png);
    }
}

/* 产品手册 */
.docc-products {
    padding-top: 48px;
    background: #fff;
}

.docc-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.docc-product-card {
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px;
    transition: all 0.3s;
    cursor: pointer;
    box-sizing: border-box;
    height: 217px;
    display: flex;
    flex-direction: column;
}

.docc-product-card:hover {
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.docc-product-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 11px;
}

.docc-product-icon img {
    width: 30px;
    height: 30px;
}

.docc-product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 104px;
}

.docc-product-header h3 {
    font-weight: 600;
    color: #141414;
    line-height: 1;
    margin: 0;
    font-size: 20px;
    margin-bottom: 6px;
}

.docc-product-content p {
    font-weight: 400;
    font-size: 14px;
    color: #565656;
    line-height: 1.5;
}

.docc-view-more {
    font-weight: 400;
    font-size: 14px;
    color: #3D3D3D;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.docc-view-more:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 11px;
    margin-left: 12px;
    background: url(../images/docc-right.png) no-repeat center;
    background-size: contain;
}

.docc-view-more-disabled {
    cursor: default;
    color: #3D3D3D;
}

.docc-view-more-disabled:after {
    display: none;
}

.docc-product-card-disabled {
    cursor: default;
    pointer-events: none;
}

.docc-product-card-disabled:hover {
    box-shadow: none;
    transform: none;
}

.docc-product-card:hover .docc-view-more {
    color: #FF5500;
}

.docc-product-card:hover .docc-view-more:after {
    background: url(../images/docc-right-hover.png) no-repeat center;
    background-size: contain;
}

@media screen and (max-width: 768px) {
    .docc-products {
        margin-top: 9.6vw;
        background: #fff;
    }

    .docc-products-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 4.27vw;
    }

    .docc-product-card {
        background: #FFFFFF;
        border-radius: 2.13vw;
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 6.4vw;
        transition: all 0.3s;
        cursor: pointer;
        box-sizing: border-box;
        height: 57.87vw;
        display: flex;
        flex-direction: column;
    }

    .docc-product-card:hover {
        box-shadow: none;
        transform: translateY(0px);
    }

    .docc-product-header {
        display: flex;
        align-items: center;
        gap: 3.2vw;
        margin-bottom: 2.93vw;
    }

    .docc-product-icon img {
        width: 8vw;
        height: 8vw;
    }

    .docc-product-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .docc-product-header h3 {
        font-weight: 600;
        color: #141414;
        line-height: 1;
        margin: 0;
        font-size: 5.33vw;
        margin-bottom: 1.05vw;
    }

    .docc-product-content p {
        font-weight: 400;
        font-size: 3.73vw;
        color: #565656;
        line-height: 1.5;
    }

    .docc-view-more {
        font-weight: 400;
        font-size: 3.73vw;
        color: #3D3D3D;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        margin-top: auto;
    }

    .docc-view-more:after {
        content: '';
        display: inline-block;
        width: 4.27vw;
        height: 2.93vw;
        margin-left: 3.2vw;
        background: url(../images/docc-right.png) no-repeat center;
        background-size: contain;
    }

    .docc-product-card:hover .docc-view-more {
        color: #FF5500;
    }

    .docc-product-card:hover .docc-view-more:after {
        background: url(../images/docc-right-hover.png) no-repeat center;
        background-size: contain;
    }
}

/*热门文档*/
.docc-hot {
    margin-top: 48px;
    background: #fff;
}

.docc-hot .docc-title {
    margin-bottom: 32px;
}

.docc-hot-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.docc-hot-item {
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.docc-hot-item:hover {
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.docc-hot-icon {
    flex-shrink: 0;
}

.docc-hot-icon img {
    width: 56px;
    height: 56px;
}

.docc-hot-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.docc-hot-content h3 {
    line-height: 1;
    font-weight: 600;
    font-size: 18px;
    color: #141414;
    margin: 0;
}

.docc-hot-content-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 12px;
}

.docc-hot-tag {
    font-weight: 400;
    font-size: 14px;
    color: #747474;
    line-height: 1;
    background: #EEEEEE;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 4px 8px;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .docc-hot .docc-title {
        margin-bottom: 8vw;
    }

    .docc-hot {
        margin-top: 9.6vw;
        background: #fff;
    }

    .docc-hot-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 8vw;
    }

    .docc-hot-item {
        background: #FFFFFF;
        border-radius: 2.13vw;
        border: 1px solid rgba(0, 0, 0, 0.08);
        padding: 5.33vw 5.87vw;
        display: flex;
        gap: 4.8vw;
        transition: all 0.3s;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .docc-hot-item:hover {
        box-shadow: none;
        transform: translateY(0px);
    }

    .docc-hot-icon {
        flex-shrink: 0;
    }

    .docc-hot-icon img {
        width: 14.93vw;
        height: 14.93vw;
    }

    .docc-hot-content {
        display: flex;
        flex: 1;
        flex-direction: column;
        overflow: hidden;
    }

    .docc-hot-content h3 {
        line-height: 1.3;
        font-weight: 600;
        font-size: 4.8vw;
        color: #141414;
        width: auto;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .docc-hot-content-bottom {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        margin-top: 3.2vw;
    }

    .docc-hot-tag {
        font-weight: 400;
        font-size: 3.73vw;
        color: #747474;
        line-height: 1;
        background: #EEEEEE;
        border-radius: 1.07vw;
        box-sizing: border-box;
        padding: 1.6vw 2.67vw;
        margin-left: 1.07vw;
        margin-bottom: 0;
    }
}

/* 需要额外帮助 */
.docc-help {
    margin: 48px 0;
    background: #FFFFFF;
}

.docc-help-title {
    color: #141414;
    text-align: center;
    font-weight: 600;
    font-size: 26px;
    line-height: 1;
}

.docc-help-subtitle {
    font-weight: 400;
    font-size: 16px;
    color: #6A6A6A;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 24px;
    margin-top: 16px;
}

.docc-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 32px;
    margin: 0 auto;
    max-width: 544px;
}

.docc-help-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    width: 256px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.docc-help-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.docc-help-card h3 {
    font-weight: 600;
    font-size: 16px;
    color: #141414;
    line-height: 16px;
}

.docc-help-card p {
    font-weight: 400;
    font-size: 14px;
    color: #565656;
    line-height: 1.6;
    margin-bottom: 16px;
    margin-top: 10px;
}

.docc-help-btn {
    box-sizing: border-box;
    width: 120px;
    min-height: 40px;
    height: 40px;
    padding: 0 12px;
    background: linear-gradient(90deg, #FF8000 0%, #FF5500 100%);
    border-radius: 4px;
    border: none;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.docc-help-btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .docc-help {
        margin: 9.6vw 0;
        background: #FFFFFF;
    }

    .docc-container-black{
        background: #F7F7F7;
        padding: 7.47vw 4.27vw 15.07vw;
    }

    .docc-help-title {
        color: #141414;
        text-align: center;
        font-weight: 600;
        font-size: 4.8vw;
        line-height: 1;
    }

    .docc-help-subtitle {
        font-weight: 400;
        font-size: 3.73vw;
        color: #6A6A6A;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 6.13vw;
        margin-top: 3.2vw;
    }

    .docc-help-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 6.13vw;
        margin: 0 auto;
        max-width: 100%;
    }

    .docc-help-card {
        background: #FFFFFF;
        border-radius: 2.13vw;
        padding: 9.87vw 14.8vw;
        text-align: center;
        transition: all 0.3s;
        box-sizing: border-box;
        width:100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .docc-help-card img {
        width: 10.67vw;
        height: 10.67vw;
        margin-bottom: 5.33vw;
    }

    .docc-help-card h3 {
        font-weight: 600;
        font-size: 4.27vw;
        color: #141414;
        line-height: 1;
    }

    .docc-help-card p {
        font-weight: 400;
        font-size: 3.73vw;
        color: #565656;
        line-height: 1.6;
        margin-bottom: 4.27vw;
        margin-top:2.67vw;
    }

    .docc-help-btn {
        box-sizing: border-box;
        width: 32vw;
        min-height: 40px;
        height: 10.67vw;
        padding: 0 12px;
        background: linear-gradient(90deg, #FF8000 0%, #FF5500 100%);
        border-radius: 2.13vw;
        border: none;
        font-weight: 400;
        font-size: 3.73vw;
        color: #FFFFFF;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        transition: opacity 0.3s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .docc-help-btn:hover {
        opacity: 0.8;
    }

}