.product-box {
    padding: 40px 40px 10px;
    margin-bottom: 30px;
    border-radius: 16px;
}

.product-box-title {
    display: flex;
}

.product-box-title img {
    width: 48px;
    height: 48px;
    margin-right: 24px;
}

.product-box-title h3 {
    line-height: 1.5;
}

.product-box p {
    margin: 24px 0px 32px;
}

.product-box img.pic {
    width: 100%;
}

.product-box .check {
    display: flex;
    margin-bottom: 24px;
    color: var(--theme-text-main);
}

.product-box .check img {
    width: 16px;
    height: 16px;
    margin: 4px 15px 0px;
}

.product-box .desc {
    display: flex;
    margin-bottom: 32px;
}

.product-box .desc:last-child {
    margin-bottom: 0px;
}

.product-box .desc svg {
    width: 18px;
    height: 18px;
    margin: 0px 15px;
}

.product-box .desc h6 {
    line-height: 18px;
}

.en .product-box .desc h6 {
    line-height: 22px;
}

.product-box .desc p {
    margin-top: 10px;
    margin-bottom: 0px;
}

@media (max-width: 768px) {
    .margin-top {
        margin-top: 30px;
    }

    .margin-bottom {
        margin-bottom: 30px;
    }
}

.en h2 {
    max-width: 900px;
    margin: 0px auto;
    line-height: 1.5;
}

/* product-banner-start */
#product-banner {
    height: 500px;
    text-align: center;
    background: var(--theme-background-linear);
}

.en #product-banner {
    height: 600px;
}

#product-banner h1 {
    font-size: 48px;
    padding-top: 100px;
    padding-bottom: 30px;
}

.en #product-banner h1 {
    width: 90%;
    margin: 0px auto;
    /* font-family: var(--theme-font-family-bold); */
}

#product-banner p {
    font-size: 18px;
}

.en #product-banner p {
    width: 70%;
    margin: 0px auto;
}

#product-banner img {
    width: 100%;
    margin-top: 37px;
}

@media (max-width: 768px) {
    #product-banner h1 {
        padding-top: 50px;
    }

    #product-banner {
        height: 530px;
    }

    .en #product-banner {
        height: 820px;
    }

    .en #product-banner h1,
    .en #product-banner p {
        width: 100%;
        line-height: 1.5;
    }
}
/* product-banner-end */

/* product-feature-start */
#product-feature h2 {
    text-align: center;
    padding-top: 360px;
    padding-bottom: 80px;
}

.en #product-feature h2 {
    padding-top: 350px;
}

#product-feature-create {
    background: var(--theme-primary-lighter);
}

.en #product-feature-create .row {
    align-items: center;
}

#product-feature-draft {
    background: #F8F7FC;
    height: calc(100% - 30px);
}

#product-feature-info {
    background: #FFFBF3;
}

#product-feature-description {
    background: #F2FCFC;
}

#product-feature-custom {
    background: #F2FAFF;
}

.en #product-feature-custom {
    padding-bottom: 40px;
}

#product-feature-custom svg {
    fill: #00A3FF;
}

#product-feature-subtask {
    background: #FEF8F4;
    height: calc(100% - 30px);
}

@media (max-width: 768px) {
    #product-feature h2 {
        padding-top: 80px;
    }

    .en #product-feature h2 {
        padding-top: 80px;
    }
}
/* product-feature-end */

/* product-professional-start */
#product-professional {
    padding-bottom: 70px;
}

#product-professional h2 {
    padding-top: 70px;
    text-align: center;
    padding-bottom: 80px;
}

#product-professional-view {
    background: var(--theme-background-main);
}

.en #product-professional-view {
    padding-bottom: 40px;
}

.en #product-professional-view .row {
    align-items: center;
}

#product-professional-view svg {
    fill: var(--theme-primary-main);
}

#product-professional-search {
    background: #F2FAFF;
    height: calc(100% - 30px);
}

#product-professional-filter {
    background: #F2FCFC;
    height: calc(100% - 30px);
}

#product-professional-comment {
    background: #FEF8F4;
}

#product-professional-attachment {
    background: #F8F7FC;
    height: calc(100% - 30px);
}
/* product-professional-end */

/* product-template-start */
#product-template {
    padding-top: 80px;
    position: relative;
    text-align: center;
    background: var(--theme-background-main);
}

#product-template > p {
    font-size: 18px;
    padding: 30px 0px 40px;
}

.en #product-template > p {
    max-width: 700px;
    margin: 0px auto;
}

#product-template-feature {
    display: flex;
    justify-content: center;
}

.product-template-feature-item {
    min-width: 148px;
    line-height: 40px;
    padding: 0px 18px;
    margin-right: 40px;
    border-radius: 8px;
    text-align: center;
    color: var(--theme-background-light);
    background: var(--theme-primary-main);
}

.product-template-feature-item:last-child {
    margin-right: 0px;
}

#product-templates {
    display: flex;
    height: 480px;
    overflow: auto;
    margin-top: 80px;
    text-align: left;
    padding: 0px 300px;
    overscroll-behavior-x: none;
}

#product-templates::-webkit-scrollbar {
    display: none;
}

.product-template-item {
    cursor: pointer;
    overflow: hidden;
    min-width: 320px;
    margin-right: 40px;
    border-radius: 16px;
    height: min-content;
    background: var(--theme-background-light);
}

.product-template-item:last-child {
    margin-right: 0px;
}

.product-template-item-cover {
    height: 180px;
    background-size: cover;
}

.product-template-item-description {
    padding: 20px 30px 30px;
}

.product-template-item-description p {
    height: 66px;
    font-size: 14px;
    margin-top: 10px;
    line-height: 22px;
    margin-bottom: 20px;
}

.product-template-item-more {
    display: none;
    align-items: center;
    justify-content: space-between;
    color: var(--theme-primary-main);
}

.product-template-item:hover {
    box-shadow: var(--theme-elevation2);
}

.product-template-item:hover .product-template-item-more {
    display: flex;
}

.product-templates-shadow {
    left: 0;
    bottom: 0;
    width: 220px;
    height: 500px;
    position: absolute;
    background: linear-gradient(90deg, var(--theme-background-main) 0%, rgba(246, 247, 250, 0) 100%);
}

.product-templates-shadow:last-child {
    right: 0;
    left: auto;
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    #product-template-feature {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .product-template-feature-item {
        width: 160px;
        margin-right: 0px;
        margin-bottom: 16px;
    }

    #product-templates {
        padding: 0px;
        margin-top: 40px;
    }

    .product-template-item-more {
        display: flex;
    }

    .product-templates-shadow {
        display: none;
    }

    .en #product-template-feature {
        flex-direction: column;
    }

    .en .product-template-feature-item {
        width: auto;
    }
}
/* product-template-end */

/* product-component-start */
#product-component {
    background-size: cover;
    background-image: url(/static/newImages/product/component-bg.png);
}

#product-component h2 {
    text-align: center;
    padding: 80px 0px 40px;
    color: var(--theme-background-light);
}

#product-component-icons {
    display: flex;
    margin-bottom: 54px;
    justify-content: center;
}

.product-component-item {
    width: 60px;
    height: 60px;
    display: flex;
    cursor: pointer;
    margin-right: 32px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
}

.product-component-item:last-child {
    margin-right: 0px;
}

.product-component-item svg {
    width: 28px;
    height: 28px;
    fill: #A7BDFB;
    transition: all .1s;
}

.product-component-item:not(.active):hover svg {
    width: 30px;
    height: 30px;
    fill: var(--theme-background-light);
}

.product-component-item.active {
    background: var(--theme-background-light);
}

.product-component-item.active svg {
    fill: var(--theme-primary-main);
}

#product-component-pic {
    display: flex;
    align-items: center;
    height: 558px;
}

#product-component-prev,
#product-component-next {
    height: 48px;
    display: flex;
    min-width: 48px;
    font-size: 26px;
    cursor: pointer;
    color: #A7BDFB;
    margin: 0px 30px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

#product-component-prev:hover,
#product-component-next:hover {
    background: #4D77F1;
    color: var(--theme-background-light);
}

#product-component-image {
    flex-grow: 1;
    text-align: center;
    align-self: flex-end;
}

#product-component-image img {
    width: 990px;
}

@media (max-width: 768px) {
    #product-component {
        height: 485px;
    }

    #product-component-icons {
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .product-component-item {
        margin-right: 8px;
    }

    #product-component-image img {
        width: 100%;
    }

    #product-component-prev,
    #product-component-next {
        display: none;
    }

    #product-component-pic {
        height: 230px;
    }

    .en #product-component {
        height: 564px;
    }
}
/* product-component-end */

/* product-workbench-start */
#product-workbench h2 {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 80px;
}

#product-workbench-task {
    background: #FFFBF3;
    height: calc(100% - 30px);
}

#product-workbench-calendar {
    background: #FFF4F5;
}

#product-workbench-task > div,
#product-workbench-calendar > div {
    margin-top: 16px;
}

#product-workbench-task p,
#product-workbench-calendar p {
    margin-bottom: 0px;
}

#product-workbench .product-box {
    padding-bottom: 40px;
}
/* product-workbench-end */

/* product-more-start */
#product-more {
    padding-bottom: 100px;
}

#product-more h2 {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 80px;
}

.product-more-box {
    height: 100%;
    margin-bottom: 0px;
    background: var(--theme-background-main);
}

.product-more-box svg {
    margin: 0px 15px 0px 14px;
    fill: var(--theme-primary-main);
}

#product-more .product-box {
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    #product-more .col-12 {
        margin-bottom: 30px;
    }
    .product-box {
        padding: 30px 20px 10px;
    }
    .container>.product-box {
        margin-left: 8px;
        margin-right: 8px;
    }
    .product-template-item {
        min-width: 280px;
        margin-left: 8px;
        margin-right: 8px;
    }
    .product-component-item svg {
        width: 24px;
        height: 24px;
    }
    .product-component-item {
        width: 48px;
        height: 48px;
    }
    .product-template-item-cover {
        height: 156px;
    }
    #product-workbench h2 {
        padding-top: 80px;
    }
    #product-more h2, #product-professional h2 {
        padding-top: 50px;
    }
    #product-template > p {
        padding-top: 0;
    }
}
/* product-more-end */
