@media screen and (max-width: 768px) {
    .banner {
        height: 280px !important;
    }

    .banner-item {
        height: 280px !important;
    }

    .banner-item h4 {
        font-size: 20px !important;
    }

    .banner-item p {
        font-size: 16px !important;
    }
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*banner图*/
.banner {
    height: 440px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}


.banner .banner-item {
    display: flex;
    flex-direction: column;
    height: 440px;
    align-items: start;
    justify-content: center;
    font-family: Noto Sans SC, Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
}

.banner .banner-item h4 {
    font-size: 48px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 15px;
}

.banner p {
    font-size: 20px;
    color: #fff;
}

/*面包屑*/

.breadcrumb {
    /* background: pink; */
}

.breadcrumb {
    margin-top: 30px;
}


/*产品列表*/

.product-list {
    padding: 30px 0 60px;
}


/*产品样式*/

/*.product-item {*/
/*    display: block;*/
/*    transition: all .2s linear;*/
/*}*/

.product-item:hover {
    z-index: 2;
    -webkit-transform: translate3d(0, -2px, 0);
    transform: translate3d(0, -2px, 0);
}


.product-item .title {
    font-size: 14px;
    color: #1e9fff !important;
    margin-top: 30px;
    min-height: 48px;
    text-align: center
}

.product-item .desc {
    font-size: 14px;
    color: #c2c2c2;
    padding: 10px 0;
    text-align: center
}


/* ===== 产品卡片核心样式 ===== */
.product-item {
    display: block;
    text-decoration: none;
    height: 100%;
}

.product-item .layui-panel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.2s;
    height: 100%;
    background: #fff;
}

.product-item .layui-panel:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px);
}

.product-item .layui-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 12px;
    text-align: center;
}

/* 图片：自适应 + 不拉伸 + 保持比例 */
.product-item .layui-panel img {
    width: 100%;
    height: 150px;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px auto;
}

.product-item .title {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
    margin: 6px 0 2px;
    word-break: break-word;
}

.product-item .desc {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* ===== 响应式布局：一行4列，自适应 ===== */
@media screen and (max-width: 1199px) {
    .layui-col-md3 {
        width: 33.3333%; /* 大平板/小屏笔记本：一行3列 */
    }
}

@media screen and (max-width: 992px) {
    .layui-col-md3 {
        width: 50%; /* 平板：一行2列 */
    }
}

@media screen and (max-width: 576px) {
    .layui-col-md3 {
        width: 100%; /* 手机：一行2列（若想一行1列可改为100%） */
    }

    .product-item .title {
        font-size: 13px;
    }
}

@media screen and (max-width: 400px) {
    .layui-col-md3 {
        width: 100%; /* 超小手机：一行1列 */
    }
}

/* 间距微调 */
.layui-col-space15 > .layui-col-md3 {
    padding: 10px;
}

.layui-container[style*="margin: 60px auto"] {
    padding-left: 16px;
    padding-right: 16px;
}


.footer {
    margin-top: auto;
}

