.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 28rpx; background: var(--theme-card-bg); border: 1rpx solid var(--theme-border); box-shadow: 0 18rpx 42rpx rgba(122, 67, 88, 0.08); } .product-cover-wrap { position: relative; } .product-cover { width: 100%; height: 288rpx; background: var(--theme-primary-soft); } .product-cover-shadow { position: absolute; left: 0; right: 0; bottom: 0; height: 120rpx; background: linear-gradient(180deg, rgba(28, 23, 26, 0), rgba(28, 23, 26, 0.28)); } .product-meta-badge { position: absolute; left: 16rpx; top: 16rpx; max-width: calc(100% - 32rpx); padding: 8rpx 14rpx; border-radius: 999rpx; background: rgba(255, 255, 255, 0.92); color: #7a5262; font-size: 19rpx; font-weight: 700; } .product-body { display: flex; flex-direction: column; gap: 10rpx; min-height: 220rpx; padding: 20rpx 20rpx 22rpx; } .product-title { min-height: 74rpx; font-size: 27rpx; font-weight: 700; line-height: 1.38; color: #2d2430; word-break: break-all; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .product-meta { font-size: 22rpx; color: #8d7a84; line-height: 1.4; } .product-tags { display: flex; flex-wrap: wrap; gap: 8rpx; } .tag-item { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: 6rpx 14rpx; border-radius: 999rpx; background: var(--theme-primary-soft); color: var(--theme-primary); font-size: 18rpx; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .product-footer { display: flex; align-items: flex-end; gap: 14rpx; margin-top: auto; } .product-price-wrap { flex: 1; min-width: 0; } .product-actions { display: flex; align-items: center; flex-shrink: 0; } .product-price { display: block; font-size: 34rpx; line-height: 1.12; font-weight: 800; color: var(--theme-accent); } .product-stats { display: block; margin-top: 6rpx; font-size: 20rpx; line-height: 1.4; color: #9d8a92; } .product-quick-add { display: inline-flex; align-items: center; justify-content: center; width: 64rpx; height: 64rpx; border-radius: 22rpx; background: var(--theme-gradient); box-shadow: 0 14rpx 30rpx rgba(198, 89, 125, 0.22); } .product-quick-add-icon { position: relative; width: 32rpx; height: 28rpx; } .product-quick-add-handle { position: absolute; left: 2rpx; top: 2rpx; width: 12rpx; height: 4rpx; border-radius: 999rpx; background: #ffffff; transform: rotate(20deg); transform-origin: left center; } .product-quick-add-basket { position: absolute; left: 6rpx; top: 8rpx; width: 18rpx; height: 11rpx; border: 3rpx solid #ffffff; border-top: 0; border-radius: 0 0 6rpx 6rpx; } .product-quick-add-wheel { position: absolute; top: 22rpx; width: 6rpx; height: 6rpx; border-radius: 50%; background: #ffffff; } .product-quick-add-wheel--left { left: 10rpx; } .product-quick-add-wheel--right { left: 22rpx; } .product-quick-add-plus { position: absolute; border-radius: 999rpx; background: #ffffff; } .product-quick-add-plus--horizontal { top: 2rpx; right: 0; width: 10rpx; height: 3rpx; } .product-quick-add-plus--vertical { top: -1rpx; right: 4rpx; width: 3rpx; height: 10rpx; } .product-in-cart { display: inline-flex; align-items: center; justify-content: center; height: 56rpx; padding: 0 18rpx; border-radius: 999rpx; background: var(--theme-primary-soft); color: var(--theme-accent); font-size: 20rpx; font-weight: 700; white-space: nowrap; } .product-shop { margin-top: 6rpx; color: #8f6e7a; font-size: 22rpx; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }