/**
 * Brands Page Styles
 * 品牌筛选页面样式
 */

/* ========================================
   Brands Page Styles
======================================== */
.brands-page{
	padding-bottom: 9vw;
}
/* Header */
.brands-header {
	margin-bottom: 40px;
	margin-top: 20px;
}

.brands-title {
	font-size: 30px;
    font-weight: 800;
    color: #000;
    margin: 0 0 10px 0;
    font-family: 'AvenirLTStd-Heavy', sans-serif;
}

.brands-description {
	margin: 0;
    max-width: 100%;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    line-height: 24px;
}

/* Popular Brands Section */
.popular-brands-section {
	margin-bottom: 50px;
}

.section-heading {
	margin-top: 24px;
	margin-bottom: 50px;
    font-family: 'AvenirLTStd-Heavy', sans-serif;
    font-weight: 800;
    font-size: 30px;
    color: #000000;
    line-height: 1;
}

.popular-brands-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 20px;
}

.popular-brand-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.popular-brand-item:hover {
	transform: translateY(-3px);
}

.popular-brand-logo {
	width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
	margin-bottom: 0.5vw;
    padding: 0.5vw;
}

.popular-brand-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
    border-radius: 50%;
	overflow: hidden;
}

.popular-brand-logo .brand-placeholder {
	font-size: 24px;
	font-weight: 700;
	color: #ccc;
	text-transform: uppercase;
}

.popular-brand-name {
	font-weight: 800;
    font-size: 18px;
    color: #666666;
    line-height: 1;
    font-family: 'AvenirLTStd-Heavy', sans-serif;
}

/* A-Z Section */
.brands-az-section {
	padding-top: 30px;
}

/* A-Z Navigation */
.az-navigation {
	display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d2d2d2;
}

.az-letter {
	text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 800;
    font-size: 24px;
    color: #333333;
    line-height: 1;
    font-family: 'AvenirLTStd-Heavy', sans-serif;
}

.az-letter:hover,
.az-letter.active {
	color: var(--primary-orange);
}

/* Brands List */
.brands-list {
	display: flex;
	flex-direction: column;
	gap: 68px;
}

.letter-group {
	scroll-margin-top: 120px;
}

.letter-heading {
    font-weight: 800;
    font-size: 36px;
    color: #333333;
    line-height: 1;
	font-family: 'AvenirLTStd-Heavy', sans-serif;
	margin-bottom: 22px;
}

.letter-brands {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 12px 20px;
}

.brand-link {
	text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 800;
    font-size: 18px;
    color: #666666;
    line-height: 1;
}

.brand-link:hover {
	color: var(--primary-orange);
}


/* Responsive */
@media (max-width: 1200px) {
	.popular-brands-grid {
		grid-template-columns: repeat(5, 1fr);
	}
	
	.letter-brands {
		grid-template-columns: repeat(6, 1fr);
	}
}

@media (max-width: 992px) {
	.popular-brands-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.letter-brands {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media (max-width: 768px) {
	.brands-page {
		padding: 15px 20px 60px;
	}
	
	.brands-title {
		font-size: 24px;
	}
	
	.popular-brands-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 15px;
	}
	
	.letter-brands {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.az-navigation {
		gap: 10px;
	}
	
	.az-letter {
		font-size: 14px;
	}
}

@media (max-width: 576px) {
	.popular-brands-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.letter-brands {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.letter-heading {
		font-size: 20px;
	}
}