@charset "UTF-8";
/* 产品列表 */
.product-list-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: #ffffff;
    padding: 24px;
}

.product-list-posts .item-grid {
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 12px;
    /*animation: puBanner 2s;*/
    border: 1px solid #ebebeb;
}

.product-list-posts .item-grid:hover {
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, .1);
}

.product-list-posts img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: all 0.5s ease-out;
    box-sizing: border-box;
    height: 180px;
}

.product-list-posts img:hover {
    transform: scale(1.02);
}
.product-list-posts .thumbnail{
    position: relative;
}

.product-list-posts .price {
    padding: 5px 10px;
    font-size: 12px;
    position: absolute;
    top: 0;
    right: 0;
    color: #ffffff;
    border-radius: 0 0 0 6px;
    background: rgba(171, 33, 50, 0.8);
}
.product-list-posts .title {
    padding: 16px 8px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5rem;
    /*font-weight: bold;*/
}

.product-list-posts-none {
    background: #ffffff;
    padding: 24px;
}

.product-banner-image {
    position: relative;
    margin: auto;
    animation: bannerimg 2s;
}

.product-banner-image .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 720px;
    z-index: 10;
}

.product-banner-image img {
    display: block;
    width: 100%;
    height: 240px;
}

.product-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #232526;
    z-index: 1;
}

.product-banner-title{
    font-size: 2rem;
    color: #ffffff;
}

.product-banner-desc {
    font-size: 1.5rem;
    color: #cccccc;
    margin-top: 16px;
}


.product-list-moddule .category {
    padding: 24px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    border-bottom: 1px solid #F5F5F5;
}



/* --------------------响应式-------------------------------- */
@media screen and (max-width: 768px) {
    .product-list-posts {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
        padding: 16px;
    }

    .product-banner-image img {
        height: 160px;
    }


    .product-list-posts img {
        height: 160px;
    }

    .product-banner-title{
        font-size: 1.5rem;
    }

    .product-banner-desc {
        font-size: 1rem;
    }



}

