/* Cyclerocky Shop Enhance — 只作用于商品归档页 */

/* ---------- 1. 桌面端一列三个 ---------- */
@media (min-width: 1025px) {
	.woocommerce ul.products.columns-4:not(.products-list) > li.product,
	.woocommerce-page ul.products.columns-4:not(.products-list) > li.product {
		flex: 0 0 33.3333% !important;
		max-width: 33.3333% !important;
	}
}

/* 列表模式必须保持一行一个（主题自带 .products-list） */
.woocommerce ul.products.products-list > li.product,
.woocommerce ul.products-list > li {
	flex: 1 1 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* 列表模式下图片别撑太大 */
.woocommerce ul.products.products-list > li.product img {
	max-width: 260px;
	height: auto;
}

/* ---------- 2. 品牌门头 ---------- */
.cse-brand-hero {
	margin: 0 0 32px;
	padding: 24px 26px;
	background: #f7f7f7;
	border: 1px solid #e6e6e6;
	border-radius: 14px;
}

.cse-brand-hero__main {
	display: flex;
	align-items: center;
	gap: 20px;
}

.cse-brand-hero__logo img {
	width: 92px;
	height: 92px;
	object-fit: contain;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	padding: 8px;
}

.cse-brand-hero__title {
	margin: 0 0 6px;
	font-size: 26px;
	line-height: 1.2;
}

.cse-brand-hero__desc {
	color: #555;
	font-size: 14px;
	line-height: 1.65;
	max-width: 70ch;
}

.cse-brand-hero__desc p {
	margin: 0 0 8px;
}

.cse-brand-hero__count {
	margin: 8px 0 0;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #888;
}

.cse-brand-hero__series {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px dashed #ddd;
}

.cse-brand-hero__series-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #999;
	margin-right: 4px;
}

.cse-brand-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 999px;
	font-size: 13px;
	color: inherit;
	text-decoration: none;
	transition: all .15s ease;
}

.cse-brand-chip:hover {
	border-color: #111;
	color: #111;
	text-decoration: none;
}

.cse-brand-chip__count {
	font-size: 11px;
	color: #999;
}

@media (max-width: 767px) {
	.cse-brand-hero {
		padding: 18px;
	}
	.cse-brand-hero__main {
		gap: 14px;
		align-items: flex-start;
	}
	.cse-brand-hero__logo img {
		width: 64px;
		height: 64px;
	}
	.cse-brand-hero__title {
		font-size: 20px;
	}
}
