
.new_date {
    background: #f5f5f5;
    border-radius: 0.375rem;
    text-align: center;
    padding: 1.3125rem 0.875rem;
}
.date {
    font-size: 3.75rem;
    line-height: 2.875rem;
    margin-bottom: 0 !important;
    color: #666666;
}
.month {
    margin-bottom: 0 !important;
    color: #666666;
}

/* .card-body {
    height: 29.75rem !important;
} */
@media (min-width:820px) and (max-width:1024px) {
    .card-body {
    height: 29.75rem !important;
}
}

@media (max-width:768px) {
    .py-7 {
        padding-top: 7rem !important;
    }
}
@media (min-width:769px) {
    .py-7 {
        padding-top: 14rem !important;
    }
}
/* pc 和 mobile 的配置 */
.card-mobile {
    display: none;
    
}
.home-product-mobile {
display: none;
}
@media screen and (max-width: 768px) {
    .card-mobile {
        display: block;
    }
    .card-pc
     {
        display: none;
    }
    .home-product-mobile{
        display: block;
    }
    .home-product-pc{
        display: none;
    }
}

/* 产品图片hover */
/* .pro-img:hover {
    transform: scale(1.1);
    
} */
.product-box-a {

    transition:all .9s;
}
.product-box-a:hover {
    transform: scale(1.1);
}
.animate-this {
    border-radius: 0.375rem !important;
}
.pro-img {
    transition:all .9s;
}

.product-mask-box {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.48);
    padding: 124px 16px 16px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .9s; 
}
.product-mask-box p {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    line-height: 33px;
    text-align: center;
}
.product-mask-box .more-btn {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 25px;
    transition: all .6s;
    text-align: center;
    padding: 8px 0;
    border: 1px solid #fff;
    width: 136px;
    border-radius: 4px;
    margin: 32px auto 0;
}

.product-mask-box:hover {
    opacity: 1;
}


/* 产品页导航tabs */
.nav-box {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    
}
.category-box {
    overflow: hidden;
}
.nav-link{
    font-size: 1rem !important;
}
@media screen and (max-width: 768px) {
    .nav-box {
        scrollbar-width: none;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        background-color: #fff;
    }
    .nav-box li {
        display: inline-block;
        white-space: nowrap;
        font-size: 14px;
    }
    .nav-link {
        font-size: 14px !important;
    }
    .category-box {
        width: 100%;
        overflow-x: scroll;
        border-radius: 50px;
    }
    .category-tabs {
        padding-top: 2rem !important;
    }
}

/* 移动端不出现搜索 */
@media screen and (max-width: 992px) {
    .search-mobile{
        display: none !important;
    }
}

.search-mobile {
    cursor:  pointer !important;
}

.nav-link:hover {
    
    color: #e62129 !important;
    /* border-bottom: 1px solid #e62129; */
    box-shadow: 0px 2px 0px 0px #e62129;
}

/* .dropdown-menu {
  margin-top: 0.5rem !important;
} */