/* ==========================================================================
   优选商城 · 主样式
   1. 变量与基础
   2. 布局与通用组件
   3. 顶栏与页头
   4. 首页 Hero
   5. 公告 / 分类 / 服务 / 商品 / 活动 / 联系
   6. 博客与文章
   7. 页脚
   8. 响应式
   ========================================================================== */

/* 1. 变量与基础
   ========================================================================== */
:root {
	--qh-primary: #2563eb;
	--qh-primary-600: #1d4ed8;
	--qh-primary-700: #1e40af;
	--qh-primary-50: #eef4fe;
	--qh-accent: #0ea5a4;
	--qh-ink: #0b1220;
	--qh-text: #334155;
	--qh-muted: #6b7a90;
	--qh-line: #e6ebf2;
	--qh-bg: #f4f7fc;
	--qh-surface: #ffffff;
	--qh-sale: #e2453a;
	--qh-radius-lg: 22px;
	--qh-radius: 16px;
	--qh-radius-sm: 10px;
	--qh-shadow-sm: 0 1px 2px rgba(11, 18, 32, .04), 0 4px 12px rgba(11, 18, 32, .04);
	--qh-shadow: 0 2px 6px rgba(11, 18, 32, .05), 0 14px 34px rgba(11, 18, 32, .07);
	--qh-container: 1200px;
	--qh-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--qh-bg);
	color: var(--qh-text);
	font-family: var(--qh-font);
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.qh-drawer-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--qh-primary);
	text-decoration: none;
	transition: color .18s ease, opacity .18s ease;
}

a:hover {
	color: var(--qh-primary-600);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 .5em;
	color: var(--qh-ink);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.01em;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

button {
	font-family: inherit;
}

:focus-visible {
	outline: 2px solid var(--qh-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--qh-ink);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 10px 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

.qh-icon {
	width: 20px;
	height: 20px;
	flex: none;
	display: inline-block;
	vertical-align: -.15em;
}

/* 2. 布局与通用组件
   ========================================================================== */
.qh-container {
	width: 100%;
	max-width: var(--qh-container);
	margin: 0 auto;
	padding: 0 16px;
}

.qh-main {
	display: block;
	min-height: 40vh;
}

.qh-section {
	padding: 28px 0;
}

.qh-section--tight {
	padding: 14px 0;
}

.qh-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.qh-section__title {
	margin: 0;
	font-size: 20px;
	letter-spacing: -.02em;
}

.qh-section__sub {
	margin: 4px 0 0;
	color: var(--qh-muted);
	font-size: 13px;
}

.qh-link-more {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.qh-link-more .qh-icon {
	width: 16px;
	height: 16px;
}

/* 按钮 */
.qh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #fff;
	color: var(--qh-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	text-align: center;
	transition: transform .16s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.qh-btn:hover {
	transform: translateY(-1px);
}

.qh-btn--primary {
	background: var(--qh-primary);
	color: #fff;
	box-shadow: 0 6px 16px rgba(37, 99, 235, .24);
}

.qh-btn--primary:hover {
	background: var(--qh-primary-600);
	color: #fff;
}

.qh-btn--outline {
	background: transparent;
	border-color: #cfdaea;
	color: var(--qh-ink);
}

.qh-btn--outline:hover {
	border-color: var(--qh-primary);
	color: var(--qh-primary);
}

.qh-btn--light {
	background: #fff;
	color: var(--qh-primary-700);
	box-shadow: 0 10px 24px rgba(6, 20, 60, .18);
}

.qh-btn--light:hover {
	background: #f2f7ff;
	color: var(--qh-primary-700);
}

.qh-btn--outline-light {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
}

.qh-btn--outline-light:hover {
	background: rgba(255, 255, 255, .2);
	color: #fff;
}

.qh-btn--sm {
	padding: 7px 14px;
	font-size: 13px;
	border-radius: 10px;
}

.qh-btn--lg {
	padding: 13px 24px;
	font-size: 15px;
}

.qh-btn--block {
	width: 100%;
}

/* Search框 */
.qh-search {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: 999px;
	padding: 6px 6px 6px 18px;
	box-shadow: var(--qh-shadow-sm);
}

.qh-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font-size: 14px;
	color: var(--qh-text);
	padding: 6px 0;
	outline: none;
}

.qh-search__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--qh-primary);
	color: #fff;
	cursor: pointer;
	flex: none;
}

.qh-search__btn:hover {
	background: var(--qh-primary-600);
}

/* 3. 顶栏与页头
   ========================================================================== */
.qh-topbar {
	background: linear-gradient(90deg, #1e3a8a, #2563eb 55%, #3b82f6);
	color: rgba(255, 255, 255, .92);
	font-size: 12.5px;
}

.qh-topbar__inner {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.qh-topbar__note,
.qh-topbar__links {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.qh-topbar .qh-icon {
	width: 15px;
	height: 15px;
	opacity: .9;
}

.qh-topbar__links a {
	color: rgba(255, 255, 255, .95);
	font-weight: 600;
}

.qh-topbar__divider {
	width: 1px;
	height: 12px;
	background: rgba(255, 255, 255, .35);
}

.qh-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--qh-line);
}

.qh-header__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 62px;
}

.qh-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--qh-line);
	border-radius: 12px;
	background: #fff;
	color: var(--qh-ink);
	cursor: pointer;
	flex: none;
}

.qh-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--qh-ink);
	min-width: 0;
}

.qh-brand:hover {
	color: var(--qh-ink);
}

.qh-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: linear-gradient(140deg, var(--qh-primary), #38bdf8);
	color: #fff;
	box-shadow: 0 6px 16px rgba(37, 99, 235, .28);
	flex: none;
}

.qh-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	min-width: 0;
}

.qh-brand__name {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -.02em;
	white-space: nowrap;
}

.qh-brand__tagline {
	font-size: 11.5px;
	color: var(--qh-muted);
	white-space: nowrap;
}

.custom-logo {
	max-height: 40px;
	width: auto;
}

.qh-nav {
	display: none;
}

.qh-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.qh-nav__list > li > a {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 10px;
	color: var(--qh-text);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.qh-nav__list > li > a:hover,
.qh-nav__list > li.current-menu-item > a {
	background: var(--qh-primary-50);
	color: var(--qh-primary-700);
}

.qh-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.qh-iconbtn,
.qh-cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--qh-line);
	border-radius: 12px;
	background: #fff;
	color: var(--qh-ink);
	cursor: pointer;
}

.qh-iconbtn:hover,
.qh-cart-link:hover {
	border-color: #c7d6ee;
	color: var(--qh-primary);
}

.qh-cart-count {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--qh-sale);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 0 0 2px #fff;
}

.qh-header__search {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	border-top: 1px solid var(--qh-line);
	background: #fff;
	padding: 12px 0 14px;
	box-shadow: 0 18px 34px rgba(11, 18, 32, .12);
	animation: qh-drop .18s ease;
}

@keyframes qh-drop {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 移动端抽屉 */
.qh-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(84vw, 340px);
	z-index: 90;
	background: #fff;
	padding: 18px 18px 24px;
	transform: translateX(-102%);
	transition: transform .28s cubic-bezier(.22, 1, .36, 1);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	box-shadow: 0 0 60px rgba(11, 18, 32, .18);
}

.qh-drawer.is-open {
	transform: translateX(0);
}

.qh-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.qh-drawer__title {
	font-weight: 700;
	color: var(--qh-ink);
}

.qh-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--qh-line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.qh-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.qh-drawer__list a {
	display: block;
	padding: 11px 10px;
	border-radius: 10px;
	color: var(--qh-ink);
	font-weight: 600;
	font-size: 14.5px;
}

.qh-drawer__list a:hover {
	background: var(--qh-primary-50);
	color: var(--qh-primary-700);
}

.qh-drawer__foot {
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--qh-line);
}

.qh-drawer__contact {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	color: var(--qh-muted);
	font-size: 13px;
}

.qh-drawer__backdrop {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(11, 18, 32, .42);
	backdrop-filter: blur(2px);
}

/* 4. 首页 Hero
   ========================================================================== */
.qh-hero {
	padding: 16px 0 4px;
}

.qh-hero__card {
	position: relative;
	overflow: hidden;
	border-radius: var(--qh-radius-lg);
	padding: 26px 20px 28px;
	color: #fff;
	background:
		radial-gradient(120% 120% at 88% 8%, rgba(96, 165, 250, .65) 0%, rgba(96, 165, 250, 0) 52%),
		radial-gradient(90% 90% at 4% 96%, rgba(14, 165, 164, .38) 0%, rgba(14, 165, 164, 0) 60%),
		linear-gradient(140deg, #14357f 0%, #1d4ed8 46%, #2f6ff5 100%);
	box-shadow: 0 18px 44px rgba(21, 51, 128, .28);
}

.qh-hero__content {
	position: relative;
	z-index: 2;
	max-width: 560px;
}

.qh-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .22);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
}

.qh-hero__eyebrow .qh-icon {
	width: 15px;
	height: 15px;
}

.qh-hero__title {
	margin: 0 0 10px;
	color: #fff;
	font-size: 27px;
	line-height: 1.24;
	letter-spacing: -.02em;
}

.qh-hero__desc {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, .86);
	font-size: 14px;
	line-height: 1.7;
	max-width: 32em;
}

.qh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.qh-hero__note {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: rgba(255, 255, 255, .78);
	font-size: 12.5px;
}

.qh-hero__note .qh-icon {
	width: 15px;
	height: 15px;
	color: #7ee2c4;
}

.qh-hero__art {
	position: absolute;
	right: -30px;
	bottom: -24px;
	width: 220px;
	height: 220px;
	display: none;
}

.qh-hero__ring {
	position: absolute;
	inset: 12px;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, .35);
}

.qh-hero__box {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(-6deg);
	width: 132px;
	height: 152px;
	border-radius: 18px;
	background: linear-gradient(165deg, #ffffff, #e8f1ff);
	box-shadow: 0 18px 40px rgba(6, 22, 60, .3);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: var(--qh-primary-700);
}

.qh-hero__box-icon {
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--qh-primary-50);
	color: var(--qh-primary);
	margin-bottom: 4px;
}

.qh-hero__box-icon .qh-icon {
	width: 24px;
	height: 24px;
}

.qh-hero__box-label {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .04em;
}

.qh-hero__box-sub {
	font-size: 11.5px;
	color: var(--qh-muted);
	font-weight: 600;
}

.qh-hero__chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .95);
	color: var(--qh-primary-700);
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(6, 22, 60, .22);
}

.qh-hero__chip .qh-icon {
	width: 14px;
	height: 14px;
}

.qh-hero__chip--a {
	top: 14px;
	left: -6px;
}

.qh-hero__chip--b {
	bottom: 22px;
	right: 8px;
}

/* 5. 公告 / 分类 / 服务 / 商品 / 活动 / 联系
   ========================================================================== */
.qh-notice {
	background: #fff;
	border: 1px solid var(--qh-line);
	border-left: 4px solid var(--qh-primary);
	border-radius: var(--qh-radius);
	padding: 16px 18px;
	box-shadow: var(--qh-shadow-sm);
}

.qh-notice__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.qh-notice__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--qh-primary-50);
	color: var(--qh-primary);
}

.qh-notice__icon .qh-icon {
	width: 15px;
	height: 15px;
}

.qh-notice__title {
	margin: 0;
	font-size: 15px;
}

.qh-notice__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
	color: var(--qh-muted);
	font-size: 13px;
}

.qh-notice__list li {
	position: relative;
	padding-left: 16px;
}

.qh-notice__list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .68em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #b9c8dd;
}

/* 分类 */
.qh-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.qh-cats__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 6px;
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius);
	box-shadow: var(--qh-shadow-sm);
	color: var(--qh-text);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.qh-cats__link:hover {
	transform: translateY(-2px);
	border-color: #c9dbf7;
	box-shadow: var(--qh-shadow);
	color: var(--qh-primary-700);
}

.qh-cats__media {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(160deg, #f3f8ff, #e6f0ff);
	color: var(--qh-primary);
	overflow: hidden;
}

.qh-cats__media .qh-icon {
	width: 24px;
	height: 24px;
}

.qh-cats__media--2 {
	background: linear-gradient(160deg, #f0fdfa, #ccfbf1);
	color: #0f766e;
}

.qh-cats__media--3 {
	background: linear-gradient(160deg, #fff7ed, #fed7aa);
	color: #c2410c;
}

.qh-cats__media--4 {
	background: linear-gradient(160deg, #fdf2f8, #fce7f3);
	color: #be185d;
}

.qh-cats__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qh-cats__name {
	font-size: 12.5px;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
}

/* 服务承诺 */
.qh-services {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.qh-services__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 13px 14px;
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius);
	box-shadow: var(--qh-shadow-sm);
}

.qh-services__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 10px;
	background: var(--qh-primary-50);
	color: var(--qh-primary);
}

.qh-services__icon .qh-icon {
	width: 18px;
	height: 18px;
}

.qh-services__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.qh-services__text strong {
	font-size: 13.5px;
	color: var(--qh-ink);
}

.qh-services__text span {
	font-size: 12px;
	color: var(--qh-muted);
	line-height: 1.55;
}

/* 商品网格（WooCommerce loop 通用） */
ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	clear: both; /* 排序下拉是右浮动，网格需要清浮动避免重叠 */
}

.qh-main ul.products::before,
.qh-main ul.products::after,
.qh-woo-wrap ul.products::before,
.qh-woo-wrap ul.products::after {
	content: none;
	display: none;
}

/* 覆盖 WooCommerce 默认的浮动宽度，交给网格排版（提高特异性以压过 woocommerce-general.css） */
.qh-main ul.products li.product,
.qh-main ul.products li.qh-card,
.qh-woo-wrap ul.products li.product {
	width: auto;
	max-width: none;
	min-width: 0;
	float: none;
	clear: none;
	margin: 0;
	padding: 0;
}

.qh-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius);
	overflow: hidden;
	box-shadow: var(--qh-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.qh-card:hover {
	transform: translateY(-3px);
	border-color: #c9dbf7;
	box-shadow: var(--qh-shadow);
}

.qh-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #f7f9fc;
	padding: 14px;
	overflow: hidden;
}

.qh-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 10px;
	transition: transform .45s ease;
}

.qh-card:hover .qh-card__media img {
	transform: scale(1.04);
}

.qh-card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--qh-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
}

.qh-card__badge.is-sale {
	background: var(--qh-sale);
}

.qh-card__badge.is-pick {
	background: var(--qh-accent);
}

.qh-card__badge.is-out {
	background: #8a94a6;
}

.qh-card__badge.is-mystery {
	background: #b45309;
}

.qh-card__badge.is-only {
	background: #0f766e;
}

.qh-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 12px 14px;
	flex: 1;
}

.qh-card__cat {
	margin: 0;
	font-size: 11px;
	color: var(--qh-muted);
	text-transform: none;
}

.qh-card__cat a {
	color: var(--qh-muted);
}

.qh-card__title {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.qh-card__title a {
	color: var(--qh-ink);
}

.qh-card__title a:hover {
	color: var(--qh-primary);
}

.qh-card__desc {
	margin: 0;
	font-size: 12px;
	color: var(--qh-muted);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.qh-card__rating {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
}

.qh-card__rating-count {
	font-size: 11px;
	color: var(--qh-muted);
}

.qh-stars {
	position: relative;
	display: inline-block;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 1px;
	color: #dfe6f0;
}

.qh-stars::before {
	content: "★★★★★";
}

.qh-stars::after {
	content: "★★★★★";
	position: absolute;
	left: 0;
	top: 0;
	width: calc(var(--qh-rating, 0) / 5 * 100%);
	overflow: hidden;
	white-space: nowrap;
	color: #f59e0b;
}

.qh-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 4px;
}

.qh-card__price {
	color: var(--qh-sale);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.qh-card__price del {
	color: var(--qh-muted);
	font-size: 11.5px;
	font-weight: 500;
	margin-right: 4px;
}

.qh-card__price ins {
	text-decoration: none;
}

.qh-card__action {
	flex: none;
}

/* 小屏两列卡片：价格与按钮上下排，按钮占满整行 */
@media (max-width: 599px) {
	.qh-card__foot {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.qh-card__price {
		font-size: 14.5px;
	}

	.qh-card__action,
	.qh-card__action .qh-btn {
		width: 100%;
	}

	.qh-card__action .qh-btn {
		padding: 0 6px;
		font-size: 12.5px;
	}
}

/* 空状态 */
.qh-empty {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	padding: 40px 22px;
	background: #fff;
	border: 1px dashed #cddaea;
	border-radius: var(--qh-radius);
}

.qh-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--qh-primary-50);
	color: var(--qh-primary);
}

.qh-empty__icon .qh-icon {
	width: 26px;
	height: 26px;
}

.qh-empty__title {
	margin: 4px 0 0;
	font-size: 16px;
}

.qh-empty__text {
	margin: 0 0 8px;
	color: var(--qh-muted);
	font-size: 13px;
	max-width: 34em;
}

.qh-empty__search {
	width: 100%;
	max-width: 420px;
	margin-bottom: 8px;
}

/* 优惠活动 */
.qh-promo {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px 20px;
	border-radius: var(--qh-radius-lg);
	background:
		radial-gradient(100% 140% at 100% 0%, rgba(14, 165, 164, .22) 0%, rgba(14, 165, 164, 0) 60%),
		linear-gradient(120deg, #f0f6ff, #eaf1ff 60%, #eefbf8);
	border: 1px solid #dde8f8;
}

.qh-promo__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--qh-primary-700);
	letter-spacing: .04em;
}

.qh-promo__eyebrow .qh-icon {
	width: 15px;
	height: 15px;
}

.qh-promo__title {
	margin: 0 0 6px;
	font-size: 20px;
}

.qh-promo__text {
	margin: 0;
	color: var(--qh-muted);
	font-size: 13px;
	max-width: 40em;
}

.qh-promo__ticket {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: #fff;
	border-radius: var(--qh-radius-sm);
	border: 1px dashed #b7cdf0;
	align-self: flex-start;
}

.qh-promo__ticket-label {
	font-size: 12px;
	color: var(--qh-muted);
}

.qh-promo__code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 15px;
	font-weight: 700;
	color: var(--qh-primary-700);
	letter-spacing: .08em;
}

/* 联系与咨询 */
.qh-contact {
	display: grid;
	gap: 18px;
	padding: 24px 20px;
	border-radius: var(--qh-radius-lg);
	background: #0d1b3a;
	color: rgba(255, 255, 255, .82);
	background-image:
		radial-gradient(90% 120% at 0% 0%, rgba(37, 99, 235, .55) 0%, rgba(37, 99, 235, 0) 58%),
		radial-gradient(80% 120% at 100% 100%, rgba(14, 165, 164, .32) 0%, rgba(14, 165, 164, 0) 60%);
	box-shadow: 0 18px 40px rgba(9, 20, 45, .26);
}

.qh-contact__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	color: #7dd3fc;
	letter-spacing: .04em;
}

.qh-contact__eyebrow .qh-icon {
	width: 16px;
	height: 16px;
}

.qh-contact__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: 21px;
	line-height: 1.35;
}

.qh-contact__text {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.75;
	color: rgba(255, 255, 255, .74);
	max-width: 44em;
}

.qh-contact__points {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.qh-contact__points li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.qh-contact__points .qh-icon {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: #7ee2c4;
}

.qh-contact__card {
	background: rgba(255, 255, 255, .97);
	color: var(--qh-text);
	border-radius: var(--qh-radius);
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-self: start;
	width: 100%;
	max-width: 340px;
	box-shadow: 0 16px 36px rgba(4, 12, 32, .28);
}

.qh-contact__card-label {
	margin: 0;
	font-size: 12px;
	color: var(--qh-muted);
}

.qh-contact__wechat {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: var(--qh-ink);
	letter-spacing: .01em;
	word-break: break-all;
}

.qh-contact__hours {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 2px 0 0;
	font-size: 12px;
	color: var(--qh-muted);
}

.qh-contact__hours .qh-icon {
	width: 15px;
	height: 15px;
}

/* 6. 博客与文章
   ========================================================================== */
.qh-page-wrap {
	padding: 22px 16px 40px;
	max-width: var(--qh-container);
	margin: 0 auto;
}

.qh-content-layout {
	display: grid;
	gap: 24px;
}

.qh-content-layout.has-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.qh-archive-head {
	margin-bottom: 18px;
}

.qh-archive-head__title {
	margin: 0 0 4px;
	font-size: 22px;
}

.qh-archive-head__sub {
	margin: 0;
	color: var(--qh-muted);
	font-size: 13px;
}

.qh-archive-head__search {
	margin-top: 12px;
	max-width: 460px;
}

.qh-post-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr);
}

.qh-post-card {
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius);
	overflow: hidden;
	box-shadow: var(--qh-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}

.qh-post-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--qh-shadow);
}

.qh-entry-thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef3fa;
}

.qh-entry-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qh-post-card__body {
	padding: 14px 16px 16px;
}

.qh-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 12px;
	color: var(--qh-muted);
}

.qh-post-card__title {
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.45;
}

.qh-post-card__title a {
	color: var(--qh-ink);
}

.qh-post-card__title a:hover {
	color: var(--qh-primary);
}

.qh-post-card__excerpt {
	margin: 0 0 10px;
	color: var(--qh-muted);
	font-size: 13px;
}

.qh-entry {
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius);
	padding: 22px 18px;
	box-shadow: var(--qh-shadow-sm);
}

.qh-entry__title {
	margin: 0 0 8px;
	font-size: 24px;
	line-height: 1.3;
}

.qh-entry__thumb {
	margin: 0 0 18px;
	border-radius: var(--qh-radius-sm);
	overflow: hidden;
}

.qh-entry__content,
.qh-prose {
	color: #3c4a5f;
	font-size: 15px;
	line-height: 1.85;
}

.qh-prose h2 {
	margin: 1.4em 0 .6em;
	font-size: 19px;
}

.qh-prose h3 {
	margin: 1.3em 0 .5em;
	font-size: 17px;
}

.qh-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.qh-prose img {
	border-radius: var(--qh-radius-sm);
}

.qh-prose blockquote {
	margin: 1.2em 0;
	padding: 12px 16px;
	border-left: 3px solid var(--qh-primary);
	background: var(--qh-primary-50);
	border-radius: 0 10px 10px 0;
	color: #33415c;
}

.qh-prose code {
	background: #f1f5fb;
	padding: 1px 6px;
	border-radius: 6px;
	font-size: .92em;
}

.qh-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.qh-prose th,
.qh-prose td {
	border: 1px solid var(--qh-line);
	padding: 8px 10px;
	text-align: left;
}

.qh-prose th {
	background: #f7f9fd;
}

.qh-entry__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--qh-line);
}

.qh-entry__tags a {
	padding: 4px 10px;
	border-radius: 999px;
	background: #f2f6fc;
	color: var(--qh-muted);
	font-size: 12px;
}

.qh-entry__tags a:hover {
	background: var(--qh-primary-50);
	color: var(--qh-primary-700);
}

.qh-postnav {
	display: grid;
	gap: 10px;
	margin: 18px 0;
}

.qh-postnav a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius-sm);
	color: var(--qh-ink);
}

.qh-postnav a:hover {
	border-color: #c9dbf7;
}

.qh-postnav__label {
	font-size: 11.5px;
	color: var(--qh-muted);
}

.qh-postnav__title {
	font-size: 14px;
	font-weight: 600;
}

.qh-page-links {
	margin: 16px 0;
	font-size: 13px;
}

/* 分页 */
.qh-pagination,
.navigation.pagination {
	margin-top: 22px;
}

.qh-pagination .nav-links,
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.qh-pagination .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--qh-line);
	color: var(--qh-text);
	font-size: 13px;
	font-weight: 600;
}

.qh-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
	background: var(--qh-primary);
	border-color: var(--qh-primary);
	color: #fff;
}

.qh-pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover {
	border-color: #c9dbf7;
	color: var(--qh-primary);
}

/* 侧栏与小工具 */
.qh-sidebar {
	display: grid;
	gap: 14px;
	align-content: start;
}

.qh-widget {
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius);
	padding: 16px 18px;
	box-shadow: var(--qh-shadow-sm);
	font-size: 13.5px;
}

.qh-widget__title {
	margin: 0 0 10px;
	font-size: 15px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--qh-line);
}

.qh-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 7px;
}

.qh-widget a {
	color: var(--qh-text);
}

.qh-widget a:hover {
	color: var(--qh-primary);
}

/* 评论 */
.qh-comments {
	margin-top: 24px;
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius);
	padding: 20px 18px;
	box-shadow: var(--qh-shadow-sm);
}

.qh-comments__title {
	font-size: 16px;
	margin: 0 0 12px;
}

.qh-comment-list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	gap: 14px;
}

.qh-comment-list .comment-body {
	padding: 12px 14px;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius-sm);
	background: #fafcff;
}

.qh-comment-list .children {
	list-style: none;
	margin: 12px 0 0;
	padding-left: 16px;
	display: grid;
	gap: 10px;
}

.qh-comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--qh-ink);
}

.qh-comment-list .comment-meta {
	font-size: 12px;
	color: var(--qh-muted);
	margin-bottom: 6px;
}

.qh-comment-list .avatar {
	border-radius: 50%;
}

.comment-form {
	display: grid;
	gap: 10px;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	font-size: 13px;
	font-weight: 600;
	color: var(--qh-ink);
	display: block;
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius-sm);
	padding: 10px 12px;
	font-size: 14px;
	font-family: inherit;
	color: var(--qh-text);
	background: #fbfcfe;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--qh-primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* 404 */
.qh-404 {
	text-align: center;
	padding: 40px 18px 56px;
	max-width: 560px;
	margin: 0 auto;
}

.qh-404__code {
	margin: 0;
	font-size: 84px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.04em;
	background: linear-gradient(140deg, #2563eb, #38bdf8 70%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.qh-404__title {
	margin: 10px 0 6px;
	font-size: 21px;
}

.qh-404__text {
	margin: 0 0 18px;
	color: var(--qh-muted);
	font-size: 14px;
}

.qh-404__search {
	max-width: 420px;
	margin: 0 auto 18px;
}

.qh-404__actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* 返回顶部 */
.qh-totop {
	position: fixed;
	right: 16px;
	bottom: 22px;
	z-index: 50;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--qh-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, .95);
	color: var(--qh-ink);
	box-shadow: var(--qh-shadow);
	cursor: pointer;
	backdrop-filter: blur(8px);
}

.qh-totop:hover {
	color: var(--qh-primary);
}

/* 7. 页脚
   ========================================================================== */
.qh-footer {
	margin-top: 32px;
	background: #0b1220;
	color: rgba(255, 255, 255, .68);
	font-size: 13px;
	padding: 30px 0 16px;
}

.qh-footer a {
	color: rgba(255, 255, 255, .72);
}

.qh-footer a:hover {
	color: #fff;
}

.qh-footer .qh-brand {
	color: #fff;
}

.qh-footer .qh-brand__mark {
	background: rgba(255, 255, 255, .12);
	box-shadow: none;
	color: #7dd3fc;
}

.qh-footer .qh-brand__name {
	color: #fff;
}

.qh-footer .qh-brand__tagline {
	color: rgba(255, 255, 255, .5);
}

.qh-footer__top {
	display: grid;
	gap: 24px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.qh-footer__about {
	margin: 14px 0;
	line-height: 1.8;
	max-width: 40em;
	color: rgba(255, 255, 255, .58);
}

.qh-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.qh-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.qh-footer__contact .qh-icon {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: rgba(255, 255, 255, .45);
}

.qh-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.qh-footer__title {
	margin: 0 0 10px;
	font-size: 13.5px;
	color: #fff;
	font-weight: 700;
}

.qh-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.qh-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 14px;
	font-size: 12px;
	color: rgba(255, 255, 255, .42);
}

.qh-footer__copy,
.qh-footer__legal {
	margin: 0;
}

.qh-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* 8. 响应式
   ========================================================================== */
@media (min-width: 600px) {
	.qh-section {
		padding: 36px 0;
	}

	.qh-section__title {
		font-size: 23px;
	}

	.qh-hero__card {
		padding: 36px 32px;
	}

	.qh-hero__title {
		font-size: 32px;
	}

	.qh-hero__art {
		display: block;
		right: 20px;
		bottom: 50%;
		transform: translateY(50%);
		width: 240px;
		height: 240px;
	}

	.qh-cats {
		grid-template-columns: repeat(4, 1fr);
		gap: 14px;
	}

	.qh-services {
		grid-template-columns: repeat(4, 1fr);
	}

	.qh-card__title {
		font-size: 14.5px;
	}

	.qh-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qh-promo,
	.qh-contact {
		padding: 30px 28px;
	}

	.qh-promo {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.qh-contact {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 28px;
	}

	.qh-footer__cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.qh-topbar__inner {
		display: flex;
	}

	.qh-nav {
		display: block;
		margin-left: 18px;
	}

	.qh-nav-toggle {
		display: none;
	}

	.qh-header__inner {
		min-height: 72px;
	}

	.qh-brand__name {
		font-size: 18px;
	}

	.qh-hero__card {
		padding: 48px 44px;
	}

	.qh-hero__title {
		font-size: 38px;
	}

	.qh-hero__desc {
		font-size: 15px;
	}

	.qh-hero__art {
		right: 48px;
		width: 290px;
		height: 290px;
	}

	.qh-cats {
		grid-template-columns: repeat(8, 1fr);
	}

	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}

	.qh-content-layout.has-sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	.qh-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qh-footer__top {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
		gap: 40px;
	}

	.qh-footer__cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.qh-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (min-width: 1100px) {
	ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px;
	}

	.qh-card__body {
		padding: 14px 14px 16px;
	}

	.qh-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* 商城主体：左侧分类（序号）+ 右侧商品
   ========================================================================== */

.qh-shop {
	padding-top: 16px;
}

.qh-shop__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.qh-shop__side {
	background: #fff;
	border: 1px solid var(--qh-line);
	border-radius: var(--qh-radius);
	padding: 14px;
	box-shadow: var(--qh-shadow-sm);
}

.qh-shop__side-title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--qh-muted);
}

.qh-catlist {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.qh-catlist__item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--qh-text);
	font: inherit;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: background-color .16s ease, color .16s ease;
}

.qh-catlist__item:hover {
	background: var(--qh-primary-50);
}

.qh-catlist__item.is-active {
	background: var(--qh-primary);
	color: #fff;
}

.qh-catlist__no {
	min-width: 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--qh-muted);
}

.qh-catlist__name {
	flex: 1 1 auto;
}

.qh-catlist__num {
	font-size: 12px;
	color: var(--qh-muted);
}

.qh-catlist__item.is-active .qh-catlist__no,
.qh-catlist__item.is-active .qh-catlist__num {
	color: rgba(255, 255, 255, .82);
}

.qh-shop__side-foot {
	margin: 12px 2px 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--qh-muted);
}

.qh-shop__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 12px;
}

.qh-shop__title {
	margin: 0;
	font-size: 20px;
}

.qh-shop__count {
	margin: 0;
	font-size: 13px;
	color: var(--qh-muted);
}

/* 右侧商品网格：比整页列表窄一列 */
.qh-shop__main ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.qh-shop__main li.qh-card.is-hidden {
	display: none;
}

.qh-shop__empty {
	margin: 18px 0 0;
	font-size: 14px;
	color: var(--qh-muted);
}

@media (max-width: 899px) {
	.qh-shop__side {
		padding: 12px;
	}

	.qh-catlist {
		grid-auto-flow: column;
		grid-auto-columns: max-content;
		gap: 8px;
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-width: thin;
		/* 右缘渐隐，提示这一条还能继续往右滑 */
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%);
		mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%);
	}

	.qh-catlist__item {
		padding: 8px 12px;
		background: var(--qh-bg);
		white-space: nowrap;
	}

	.qh-shop__side-foot {
		display: none;
	}
}

@media (min-width: 900px) {
	.qh-shop__layout {
		grid-template-columns: 232px minmax(0, 1fr);
		gap: 20px;
	}

	.qh-shop__side {
		position: sticky;
		top: 88px;
	}

	.qh-shop__main ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}
}

/* 分类列表里的链接形态（商品列表 / 分类归档页用） */
.qh-catlist a.qh-catlist__item {
	color: var(--qh-text);
	text-decoration: none;
}

.qh-catlist a.qh-catlist__item.is-active,
.qh-catlist a.qh-catlist__item.is-active:hover {
	background: var(--qh-primary);
	color: #fff;
}
