/* ==============================================
   产品卡片区域
   ============================================== */

.f-product-cards {
    width: 100%;
    background: var(--bg-color, #ffffff);
    padding: 80px 0;
}

.f-product-cards__wrapper {
    width: 100%;
}

/* 标题 */
.f-product-cards__heading {
    margin-bottom: 50px;
}

.f-product-cards__heading h2 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: #000;
    margin: 0;
}

/* 卡片网格 - 三列布局 */
.f-product-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* 单个卡片 */
.f-product-cards__card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

/* 图片容器 */
.f-product-cards__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 24px;
}

.f-product-cards__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.f-product-cards__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.f-product-cards__placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

/* 内容区域 */
.f-product-cards__content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.f-product-cards__title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    margin: 0 0 16px 0;
}

.f-product-cards__description {
    flex: 1;
    margin-bottom: 24px;
}

.f-product-cards__description p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 按钮样式 */
.f-product-cards__button-wrapper {
    display: flex;
    align-items: center;
}

.f-product-cards__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6366F1;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.f-product-cards__button:hover {
    opacity: 0.8;
}

.f-product-cards__button-text {
    line-height: 1.5;
}

.f-product-cards__button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #6366F1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.f-product-cards__button:hover .f-product-cards__button-icon {
    transform: translateX(5px);
}

.f-product-cards__button-icon svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
}

/* 响应式 */
@media (max-width: 1024px) {
    .f-product-cards {
        padding: 60px 0;
    }

    .f-product-cards__heading h2 {
        font-size: 40px;
    }

    .f-product-cards__grid {
        gap: 30px;
    }

    .f-product-cards__title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .f-product-cards {
        padding: 40px 0;
    }

    .f-product-cards__heading {
        margin-bottom: 30px;
    }

    .f-product-cards__heading h2 {
        font-size: 32px;
    }

    /* 移动端改为单列 */
    .f-product-cards__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .f-product-cards__title {
        font-size: 20px;
    }
}
