.yichen_product_line {}

.yichen_product_line_title-wrapper {
    padding: 66px 0;
    text-align: center;
    background-color: #e9e9e9;
}

.yichen_product_line_title-wrapper h2 {
    font-size: var(--title-size-h2);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}
.yichen_product_line_title-wrapper .title2{
    text-align: center;
    margin-top: 15px;
}
.yichen_product_line_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 10px;
}

.yichen_product_line_item {
    position: relative;
    width: calc((100% - 40px) / 3);
    cursor: pointer;
}

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

.yichen_product_line_item_title {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;

    background: rgba(var(--color-primary-rgb), 0.39);
    z-index: 1;

    display: flex;
    flex-direction: column-reverse;

    transition: height 0.3s ease;
}

.yichen_product_line_item_title_text {
    margin-bottom: 12%;
    text-align: center;
    width: 100%;
}

.yichen_product_line_item_title_text h2 {
    color: #FFF;
    font-size: var(--title-size-h2);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.yichen_product_line_item:hover .yichen_product_line_item_title {
    height: 36%;
}

@media screen and (max-width: 1280px) {
    .yichen_product_line_title-wrapper {
        padding: 55px 0;
    }
}

@media screen and (max-width: 992px) {
    .yichen_product_line_title-wrapper {
        padding: 44px 0;
    }
}

@media screen and (max-width: 768px) {
    .yichen_product_line_title-wrapper {
        padding: 33px 0;
    }

    .yichen_product_line_item {
        width: calc((100% - 20px) / 2);
    }
}

@media screen and (max-width: 576px) {
    .yichen_product_line_title-wrapper {
        padding: 22px 0;
    }
}

@media screen and (max-width: 480px) {
    .yichen_product_line_list {
        justify-content: center;
    }

    .yichen_product_line_item {
        width: 100%;
        max-width: 360px;
    }
}