/* ============================================
   AURAGI STUDIO - 电商首页样式
   ============================================ */

/* Hero Banner */
.shop-hero {
    min-height: 50vh;
    background: linear-gradient(135deg, #faf9f7 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    margin-top: 60px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #6b6b6b;
    font-weight: 300;
}

/* 产品类别网格 */
.product-categories {
    padding: 4rem 0;
    background-color: #faf9f7;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch; /* 确保所有卡片高度一致 */
}

.category-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
    min-height: 3.5rem; /* 确保标题区域高度一致，支持2行文本 */
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

.category-description {
    font-size: 0.9rem;
    color: #6b6b6b;
    margin-bottom: 1rem;
    font-weight: 300;
    min-height: 2.5rem; /* 确保描述区域高度一致，支持2行文本 */
    line-height: 1.5;
}

.category-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.category-content .btn {
    width: 100%;
    text-align: center;
    margin-top: auto; /* 将按钮推到底部 */
    flex-shrink: 0;
}

/* 用户案例 */
.user-cases {
    padding: 4rem 0;
    background-color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.case-card {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: scale(1.02);
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式 */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-image {
        height: 300px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 0.75rem;
    }
}

