/**
 * Brand archive page (taxonomy-product_brand.php) — Deepak Sales.
 *
 * Mobile-first. Depends on tokens.css + base.css + collection.css (product
 * grid) + shop-archive.css (pagination/notices/empty-state, shared since
 * this page reuses the same WooCommerce loop hooks).
 */

.ds-brand-page {
	padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.ds-brand-hero {
	display: flex;
	align-items: center;
	gap: var(--ds-space-lg);
	margin-bottom: clamp(2rem, 1.25rem + 2.5vw, 3rem);
}

.ds-brand-hero__mark {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	background-color: var(--ds-gold-tint);
	color: var(--ds-oxblood);
	font-family: var(--ds-font-display);
	font-size: var(--ds-fs-h2);
	font-weight: var(--ds-fw-section);
}

.ds-brand-hero__eyebrow {
	margin-bottom: 0.3rem;
	font-family: var(--ds-font-mono);
	font-size: var(--ds-fs-eyebrow);
	font-weight: var(--ds-fw-label);
	letter-spacing: var(--ds-ls-wide);
	text-transform: uppercase;
	color: var(--ds-oxblood);
}

.ds-brand-hero__title {
	margin-bottom: 0.3rem;
	font-family: var(--ds-font-display);
	font-size: var(--ds-fs-h1);
	font-weight: var(--ds-fw-heading);
	color: var(--ds-heading);
}

.ds-brand-hero__count {
	font-family: var(--ds-font-mono);
	font-size: var(--ds-fs-small);
	font-weight: 700;
	color: var(--ds-gold);
}

.ds-brand-about {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 1.25rem + 2.5vw, 3rem);
	color: var(--ds-body);
	line-height: var(--ds-lh-body);
}

.ds-brand-featured {
	margin-bottom: clamp(2rem, 1.25rem + 2.5vw, 3rem);
	padding-bottom: clamp(2rem, 1.25rem + 2.5vw, 3rem);
	border-bottom: 1px solid var(--ds-line);
}

.ds-brand-related__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--ds-space-md);
}

.ds-brand-related__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--ds-space-sm);
	padding: 1.5rem;
	border: 1px solid var(--ds-border-brand);
	border-radius: var(--ds-radius-lg);
	background-color: var(--ds-surface);
	text-align: center;
	transition:
		transform var(--ds-dur) var(--ds-ease),
		border-color var(--ds-dur) var(--ds-ease);
}

.ds-brand-related__card:hover {
	transform: translateY(-6px);
	border-color: var(--ds-border-brand-hover);
}

.ds-brand-related__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background-color: var(--ds-gold-tint);
	color: var(--ds-oxblood);
	font-family: var(--ds-font-display);
	font-weight: 600;
}

.ds-brand-related__name {
	font-family: var(--ds-font-display);
	font-weight: 600;
	color: var(--ds-ink);
}

@media (min-width: 40em) {
	.ds-brand-related__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ds-brand-related__card:hover {
		transform: none;
	}
}
