/* ===== 产品页面样式 ===== */

/* Products Hero */
.products-hero {
    position: relative;
    padding: 140px 0 80px;
    background: #FFFFFF;
    overflow: hidden;
    text-align: center;
    color: #0F1B2D;
}

.products-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-hero .page-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0F1B2D;
}

.products-hero .page-desc {
    font-size: 1.1rem;
    color: rgba(15, 27, 45, 0.72);
    margin-bottom: 2rem;
}

/* 搜索框 */
.model-search-box {
    max-width: 600px;
    margin: 0 auto;
    background: #E8F4FD;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 85, 170, 0.1);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #0055AA;
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
}

.search-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #0F1B2D;
    font-size: 1rem;
    padding: 0.5rem 0;
    outline: none;
}

.search-btn {
    background: #0055AA;
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
}

.search-hints {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hint-tag {
    background: #FFFFFF;
    color: #0055AA;
    border: 1px solid #0055AA;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    text-decoration: none;
}

/* 品牌宫格 */
.brand-grid-section {
    padding: 60px 0;
    background: #F8FAFC;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 200px;
}

.brand-card:hover {
    border-color: #0055AA;
    box-shadow: 0 10px 30px rgba(0, 85, 170, 0.15);
    transform: translateY(-3px);
}

.card-top {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    margin-bottom: 0.5rem;
}

.brand-logo-badge-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.card-mid {
    text-align: center;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.brand-en {
    font-size: 0.9rem;
    color: #0055AA;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-cn {
    font-size: 1.1rem;
    color: #0F1B2D;
    font-weight: 600;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #E2E8F0;
}

.brand-category {
    font-size: 0.8rem;
    color: rgba(15, 27, 45, 0.6);
}

.brand-arrow {
    color: #0055AA;
    font-size: 1.2rem;
}

/* 响应式 */
@media (max-width: 1200px) {
    .brand-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .products-hero { padding: 120px 0 60px; }
}

@media (max-width: 600px) {
    .brand-grid { grid-template-columns: 1fr; }
    .model-search-box { margin: 0 1rem; }
}

/* 品牌页搜索框居中 */
.brand-page-hero .model-search-box {
    max-width: 600px;
    margin: 0 auto;
    background: #E8F4FD;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 85, 170, 0.1);
}

.brand-page-hero .search-hints {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* 搜索图标 */
.search-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}