.box-product {
    width: 100%;
    min-height: 280px;
    /*padding: 15px;*/
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.box-product .image-box {
    height: 400px;
    overflow: hidden;
    margin-bottom: 12px;
    /*border-radius: 6px;*/
}

.box-product .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.box-product:hover .image-box img {
    transform: scale(1.1);
}

.box-product .title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    height: 40px;
    padding-bottom: 5px;
    overflow: hidden;
}

/* 新增：商品信息容器样式（标题+价格+按钮） */
.product-info {
    text-align: center;
    margin-top: auto; /* 靠下对齐，保留你原有flex布局逻辑 */
    padding: 0 10px; /* 补充少量左右内边距，避免内容贴边 */
}

/* 新增：价格样式 */
.box-product .price {
    font-size: 18px;
    font-weight: 700;
    color: #e63946; /* 醒目红色，可调整 */
    margin: 8px 0 12px; /* 与标题/按钮保持间距 */
    line-height: 1;
}

/* 新增：购买按钮样式 */
.box-product .buy-btn {
    width: 80%;
    padding: 10px 0;
    background: #2a9d8f;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 0 auto 10px; /* 居中+底部留白，不超出容器 */
}

/* 新增：按钮悬停效果 */
.box-product .buy-btn:hover {
    background: #21867a;
}

.box-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}