@charset "UTF-8";
/*!
 * xif — 按品牌订购
 */

.xif-brands-page {
	min-height: 62vh;
	padding-bottom: 50px;
	background: #f4f5f7;
}

.xif-brands-head {
	padding: 10px 0 24px;
	border-bottom: 1px solid #e3e3e3;
	background: #fff;
	margin-bottom: 24px;
}

.xif-brands-head .xif-crumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
	color: #6b6b6b;
	font-size: 12px;
	line-height: 1.6;
}

.xif-brands-head .xif-crumb a {
	color: #555;
}

.xif-brands-head .xif-crumb__home {
	display: inline-flex;
	align-items: center;
}

.xif-brands-head .xif-crumb__home .xif-icon {
	width: 15px;
	height: 15px;
}

.xif-brands-head .xif-crumb__sep {
	width: 12px;
	height: 12px;
	color: #b0b0b0;
}

.xif-brands-title {
	margin: 0;
	color: #1c1c1c;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.35;
}

.xif-brands-layout {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	align-items: start;
	gap: 34px;
}

.xif-brands-side {
	position: sticky;
	top: 96px;
	padding: 20px;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.xif-brands-side__title {
	margin: 0 0 16px;
	color: #1c1c1c;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
}

.xif-brand-search {
	display: flex;
	align-items: stretch;
	height: 46px;
	border: 1px solid #2b2b2b;
	background: #fff;
}

.xif-brand-search input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 12px;
	border: 0;
	background: #fff;
	color: #1c1c1c;
	font-family: inherit;
	font-size: 13px;
	outline: none;
}

.xif-brand-search input::placeholder {
	color: #999;
}

.xif-brand-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	border: 0;
	border-left: 1px solid #e1e1e1;
	background: #f7f7f7;
	color: #555;
	cursor: pointer;
}

.xif-brand-search button:hover {
	background: #ededed;
	color: #1c1c1c;
}

.xif-brand-search .xif-icon {
	width: 17px;
	height: 17px;
}

.xif-brand-letters {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 2px;
	margin-top: 18px;
}

.xif-brand-letters a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	border: 1px solid transparent;
	color: var(--xif-red);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
}

.xif-brand-letters a:hover {
	background: #f0f4fb;
	border-color: #c9d8ef;
	color: var(--xif-red-600);
}

.xif-brand-letters a.is-active {
	border-color: var(--xif-red);
	background: #fdf1f3;
	color: var(--xif-red-600);
}

.xif-brand-letters a.is-empty {
	color: #bcbcbc;
	font-weight: 400;
}

.xif-brand-letters a.is-empty:hover {
	background: #fafafa;
	border-color: #ededed;
	color: #999;
}

.xif-brands-main {
	min-width: 0;
	padding-top: 8px;
}

.xif-brand-heading {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0 0 18px;
	color: #1c1c1c;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.xif-brand-heading span {
	color: #777;
	font-size: 17px;
	font-weight: 400;
}

.xif-brand-group[hidden],
.xif-brand-directory[hidden] {
	display: none;
}

.xif-brand-group__title {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0 0 18px;
	color: #1c1c1c;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.xif-brand-group__title span {
	color: #777;
	font-size: 17px;
	font-weight: 400;
}

.xif-brand-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 26px;
	row-gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.xif-brand-list li {
	min-width: 0;
	line-height: 2.25;
}

.xif-brand-list li[hidden] {
	display: none;
}

.xif-brand-list a {
	color: #1f5fa8;
	font-size: 13px;
	line-height: 1.65;
	text-decoration: none;
	word-break: break-word;
}

.xif-brand-list a:hover {
	color: #103d73;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.xif-brands-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 70px 20px;
	border: 1px dashed #d5d5d5;
	background: #fff;
	color: #777;
	font-size: 13px;
	text-align: center;
}

.xif-brands-empty > span {
	color: #b0b0b0;
}

.xif-brands-empty .xif-icon {
	width: 40px;
	height: 40px;
}

.xif-brands-empty p {
	margin: 0;
}

.xif-brand-reset {
	color: var(--xif-red);
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.xif-brands-no-result {
	padding: 40px 0;
	color: #777;
	font-size: 13px;
	text-align: center;
}

.xif-brands-no-result[hidden] {
	display: none;
}

@media (max-width: 1100px) {
	.xif-brands-layout {
		grid-template-columns: 290px minmax(0, 1fr);
		gap: 26px;
	}

	.xif-brand-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.xif-brands-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.xif-brands-side {
		position: static;
	}

	.xif-brand-letters {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}

	.xif-brand-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.xif-brands-title {
		font-size: 24px;
	}

	.xif-brands-side__title {
		font-size: 19px;
	}

	.xif-brand-letters {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.xif-brand-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 18px;
	}
}


.xif-brand-group {
	margin: 0 0 26px;
}

.xif-brand-group:last-child {
	margin-bottom: 0;
}

.xif-brand-group .xif-brand-group__title {
	margin: 0 0 10px;
	padding-bottom: 7px;
	border-bottom: 1px solid #e3e6ea;
	font-size: 17px;
	line-height: 1.4;
	text-transform: uppercase;
}
