/* ============================================================
   德派口腔 · 植体优选样式（saturdent/products/）
   列表页 index.html + 品牌详情页共用
   依赖：style.css（CSS 变量）、about.css（页面框架）、news.css（详情页 article-* 复用）
   ============================================================ */

/* ===== 一、植体优选列表页 ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.product-logo {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
}

.product-logo img {
    max-height: 80px;
    max-width: 80%;
    object-fit: contain;
    filter: none;
}

.product-logo-fallback {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.product-body {
    flex: 1;
    padding: 18px 22px 20px;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.product-country {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--bg-blue);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
}

.product-card h3 {
    font-size: 19px;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-summary {
    flex: 1;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    align-self: flex-start;
}

.product-more:hover {
    color: var(--primary);
}

/* 列表页底部 CTA */
.product-foot {
    margin-top: 44px;
    padding: 28px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
}

.product-foot p {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .product-logo {
        height: 110px;
    }
    .product-body {
        padding: 16px 18px 18px;
    }
}

/* ===== 二、品牌详情页 ===== */
/* .article-wrap / .article-meta / .article-body / .article-lead / .article-figure / .article-facts / .article-back
   已在 news.css 中定义，直接复用。详情页额外补以下样式： */

.brand-hero {
    display: flex;
    gap: 28px;
    align-items: center;
    padding: 26px;
    margin-bottom: 26px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.brand-hero-logo {
    flex: 0 0 140px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-light);
}

.brand-hero-logo img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
}

.brand-hero-info h2 {
    font-size: 22px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.brand-hero-country {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--primary-bg);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.brand-hero-info p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* 植体品牌官网外链按钮 */
.brand-site-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

.brand-site-btn:hover {
    background: var(--primary-bg);
    color: var(--primary-dark);
    border-color: var(--primary);
}

.brand-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0 30px;
}

.highlight-item {
    padding: 18px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: border-color .2s ease;
}

.highlight-item:hover {
    border-color: var(--primary-light);
}

.highlight-item strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.highlight-item span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .brand-hero {
        flex-direction: column;
        text-align: center;
        padding: 22px 20px;
    }
    .brand-hero-logo {
        flex: none;
    }
    .brand-highlights {
        grid-template-columns: 1fr 1fr;
    }
}
