/* CSS Document */
/*@charset "UTF-8";*/
/* ===== 卡片整体（电商风） ===== */
.sub-text-item {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;

    transition: 0.3s;
}
/* hover 卡片 */
.sub-text-item:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ===== 图片容器（改成直图比例） ===== */
.holder-img {
    width: 100%;
    aspect-ratio: 3 / 4;   /* ⭐ 关键：礼篮适合直图 */
    overflow: hidden;
    border-radius: 10px;
}

/* ===== 图片 ===== */
.holder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* 填满不变形 */
    transition: 0.3s;
}

/* hover 放大 */
.holder-img:hover img {
    transform: scale(1.05);
}

/* ===== 标题 ===== */
.font-1-item {
    margin: 10px 0;
    font-weight: 300;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* ⭐ 最多2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 44px;        /* ⭐ 固定高度 */
}
    
    
/* ===== 价格 ===== */
.oldpriceTag {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
    font-size: 13px;
}

.priceTag {
    color: #D10421;
    font-weight: bold;
    font-size: 16px;
}

/* ===== 按钮 ===== */
.wow-button {
    margin-top: 10px;
    border-radius: 20px;
    padding: 6px 18px;
    transition: 0.3s;
}

.wow-button:hover {
    background: #D10421;
    color: #fff;
    border-color: #D10421;
}

/* ===== 分隔线 ===== */
.hr-mid {
    margin: 15px 0;
}
    
.cat-title {
    padding-bottom: 10px;
}


/* 手机 */
@media (max-width: 767px) {
    .font-1-item {
        font-size: 14px;
    }
}
