/* 保留基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    background: transparent;
    color: #333;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* 内容容器 */
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(25, 25, 35, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 15px;
    max-width: 800px;
}

.product-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-card h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.product-card .features {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-card .price {
    font-size: 20px;
    color: #ff6700;
    font-weight: bold;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.cart-btn {
    flex: 2;
    padding: 10px;
    background-color: #ff6700;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-btn:hover {
    background-color: #f25600;
}

.like-btn {
    flex: 1;
    padding: 10px;
    background-color: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.like-btn:hover {
    background-color: #e0e0e0;
    color: #ff6700;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        margin: 15px;
    }
}