/**
 * Brand Detail Page Styles
 * 品牌详情页样式
 */

/* ========================================
   Page Layout
======================================== */
.brand-detail-page {
	padding-bottom: 60px;
	background: #fff;
}

/* ========================================
   Breadcrumb
======================================== */
.brand-breadcrumb {
	padding: 20px 0;
	font-size: 14px;
	color: #666;
}

.brand-breadcrumb a {
	color: #666;
	text-decoration: none;
}

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

.brand-breadcrumb .breadcrumb-separator {
	margin: 0 8px;
	color: #999;
}

/* ========================================
   Brand Header
======================================== */
.brand-header {
	padding: 20px 0 40px;
}

.brand-title {
	margin-bottom: 30px;
    font-weight: 800;
    font-size: 30px;
    color: #000000;
    line-height: 1;
    text-transform: capitalize;
	font-family: 'AvenirLTStd-Heavy';
}

.brand-info-wrapper {
	display: flex;
	gap: 70px;
	align-items: flex-start;
}

.brand-logo-box {
	flex-shrink: 0;
    max-width: 300px;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

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

.brand-details {
	flex: 1;
}

.brand-info-table {
	width: 100%;
	border-collapse: collapse;
}

.brand-info-table tr {
	border-bottom: none;
}

.brand-info-table th {
	text-align: right;
    white-space: nowrap;
    vertical-align: top;
    width: 152px;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    line-height: 36px;
    padding-right: 20px;
	height: 36px;
}

.brand-info-table td {
	color: #1a1a1a;
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
	height: 36px;
}

.brand-info-table .vs-product-rating{
	margin: 0;
}

.brand-info-table td a {
	color: #034C8C;
	text-decoration: underline;
}

.brand-info-table td a:hover {
	text-decoration: underline;
}

.brand-rating {
	display: flex;
	gap: 2px;
}

.brand-rating .star {
	font-size: 16px;
	color: #ccc;
}

.brand-rating .star.filled {
	color: #FFB800;
}

/* ========================================
   Products Section
======================================== */
.brand-products-section {
	padding: 40px 0;
}

/* Category Tabs */
.brand-category-tabs {
	display: flex;
    justify-content: center;
    gap: 26px;
    margin-bottom: 40px;
}

.category-tab {
	padding: 14px 32px;
    text-decoration: none;
    background: #fff;
    transition: all 0.3s;
    font-size: 16px;
    border-radius: 5px;
    line-height: 26px;
    color: #666666;
    border: 1px solid #D2D2D2;
    font-weight: 900;
    font-family: 'AvenirLTStd-Black';
}

.category-tab:hover {
	background: #E8E8E8;
	color: #333;
}

.category-tab.active {
	background: #333;
	color: #fff;
}

/* Products Grid */
.brand-products-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.brand-products-grid .product-item {
	background: white;
}

.brand-products-grid .no-products {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	background: #F9F9F9;
	border-radius: 8px;
}

.brand-products-grid .no-products p {
	font-size: 16px;
	color: #666;
}

/* Load More Button */
.read-more-link-wrapper {
	margin-top: 40px;
	text-align: center;
}
/* ========================================
   Brand Description
======================================== */
.brand-description-section {
	padding: 40px 0;
}

.brand-description-content {
	max-width: 100%;
}

.brand-description-content p {
	margin-bottom: 20px;
    font-size: 16px;
    color: #333333;
    line-height: 24px;
}

.brand-description-content p:last-child {
	margin-bottom: 0;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1200px) {
	.brand-products-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 992px) {
	.brand-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.brand-info-wrapper {
		gap: 30px;
	}
	
	.brand-logo-box {
		width: 180px;
		height: 160px;
	}
	
	.brand-info-table th {
		width: 140px;
	}
}

@media (max-width: 768px) {
	.brand-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	
	.brand-info-wrapper {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.brand-logo-box {
		width: 200px;
		height: 180px;
	}
	
	.brand-details {
		width: 100%;
	}
	
	.brand-info-table {
		text-align: left;
	}
	
	.brand-info-table th,
	.brand-info-table td {
		display: block;
		width: 100%;
		padding: 4px 0;
	}
	
	.brand-info-table th {
		padding-top: 12px;
	}
	
	.brand-title {
		font-size: 26px;
		text-align: center;
	}
	
	.brand-category-tabs {
		flex-wrap: wrap;
		gap: 8px;
	}
	
	.category-tab {
		padding: 10px 20px;
		font-size: 12px;
		border-radius: 4px !important;
	}
	
	.brand-rating {
		justify-content: flex-start;
	}
}

@media (max-width: 576px) {
	.brand-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	.brand-load-more-btn {
		width: 100%;
		padding: 12px 20px;
	}
}

