/* 隐藏 Porto 在首页模板上输出的面包屑条（标题已由模板自己给） */
.wp-home-page .page-top { display: none !important; }

/* ==========================================================================
   Porto Child — 首页布局（14 区块）
   只在 .wp-home 内生效，避免与 Porto 父主题样式互相污染。
   颜色/字体继承 design-tokens.css 里的变量。
   ========================================================================== */

.wp-home { --gutter: 22px; --section-gap: 88px; --container: 1400px; }

/* 父主题 Porto 会在内容区加白底，且选择器权重比单类高。
   这里对「容器 + 每个区块」都显式上色并提权，保证深色生效；
   带自己底色的区块（subtle / trust / testimonials）在后面再覆盖回来。 */
.wp-home,
.wp-home .section,
.wp-home .rich-text,
.wp-home .slideshow,
.wp-home .logo-list {
	background-color: var(--wp-bg, #0e0e0e) !important;
}
.wp-home { color: var(--wp-text, #dadada) !important; }
.wp-home h1,
.wp-home h2,
.wp-home h3,
.wp-home h4,
.wp-home .product-title,
.wp-home .col-label,
.wp-home .logo-head {
	color: #fff !important;
	font-family: var(--wp-font-heading, Oswald, 'Arial Narrow', sans-serif);
}
.wp-home .section-head p,
.wp-home .text-col p,
.wp-home .product-price,
.wp-home .review figcaption {
	color: var(--wp-text-muted, #8a8a8a);
}
.wp-home .review blockquote { color: var(--wp-text, #dadada); }
.wp-home a { color: inherit; }
.wp-home .product-price ins { color: var(--wp-accent, #9f8561); }

/* 容器：不能依赖 Porto/Bootstrap 的 .container，自己定义一份，避免被父主题样式覆盖 */
.wp-home .container {
	width: 100%;
	max-width: var(--wp-container, var(--container));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- 1 公告条 ---------- */
.wp-home .announcement {
	background: var(--wp-bg-elevated, #151515);
	color: var(--wp-text-muted, #8a8a8a);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-align: center;
	padding: 9px 16px;
	border-bottom: 1px solid #262626;
}

/* ---------- 3 Hero ---------- */
.wp-home .slideshow {
	position: relative;
	display: grid;
	place-items: center;
	min-height: min(82vh, 780px);
	text-align: center;
	overflow: hidden;
	padding: 80px var(--gutter);
}
.wp-home .slide { position: absolute; inset: 0; display: none; place-items: center; }
.wp-home .slide.is-active,
.wp-home .slide:first-child { display: grid; }
.wp-home .slide-media {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 42%, rgba(159,133,97,.18), transparent 62%),
		linear-gradient(160deg, #1d1d1d 0%, #0e0e0e 55%, #050505 100%);
}
.wp-home .slide-content { position: relative; z-index: 2; max-width: 780px; }
.wp-home .kicker {
	font-family: var(--wp-font-heading, Oswald, sans-serif);
	font-size: 12px;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--wp-accent, #9f8561);
	margin: 0 0 20px;
}
.wp-home .slide-title { font-size: clamp(38px, 6vw, 70px); margin-bottom: 20px; }
.wp-home .slide-sub { color: var(--wp-text-muted, #8a8a8a); font-size: 17px; margin: 0 0 34px; }
.wp-home .slide-dots {
	position: absolute; bottom: 28px; left: 0; right: 0;
	display: flex; justify-content: center; gap: 8px; z-index: 2;
}
.wp-home .slide-dots b {
	width: 7px; height: 7px; border-radius: 50%;
	background: rgba(255,255,255,.28); display: block;
}
.wp-home .slide-dots b.on { background: var(--wp-accent, #9f8561); }

/* ---------- 4 导语 ---------- */
.wp-home .rich-text { text-align: center; padding-block: 72px; max-width: 900px; }
.wp-home .rich-text h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.wp-home .rich-text p { color: var(--wp-text-muted, #8a8a8a); max-width: 640px; margin: 0 auto; font-size: 17px; }

/* ---------- 区块通用 ---------- */
.wp-home .section { padding-block: var(--section-gap); }
.wp-home .section-subtle { background: var(--wp-bg-subtle, #121212); }
.wp-home .section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.wp-home .section-head.left { text-align: left; margin-inline: 0; max-width: none; }
.wp-home .section-head h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.wp-home .section-head p { color: var(--wp-text-muted, #8a8a8a); margin: 0; }
.wp-home .section-head .sub { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- 占位图 ---------- */
.wp-home .ph { width: 100%; height: 100%; min-height: 180px; background: #1a1a1a; position: relative; overflow: hidden; }
.wp-home .ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.07), transparent 62%); }
.wp-home .ph-1 { background: linear-gradient(150deg,#242424,#131313 60%,#0d0d0d); }
.wp-home .ph-2 { background: linear-gradient(150deg,#2a2118,#16120d 60%,#0d0b09); }
.wp-home .ph-3 { background: linear-gradient(150deg,#1d2426,#121617 60%,#0c0f10); }
.wp-home .ph-4 { background: linear-gradient(150deg,#232323,#121212 65%); }
.wp-home .ph-5 { background: linear-gradient(150deg,#141414,#0a0a0a 65%); }
.wp-home .ph-6 { background: linear-gradient(150deg,#2b2b2b,#171717 65%); }
.wp-home .ph-7 { background: linear-gradient(150deg,#2d2519,#18140e 65%); }
.wp-home .ph-8 { background: linear-gradient(150deg,#26181a,#140d0e 65%); }
.wp-home .ph-a { background: linear-gradient(155deg,#232323,#121212 65%); }
.wp-home .ph-b { background: linear-gradient(155deg,#272019,#141110 65%); }
.wp-home .ph-c { background: linear-gradient(155deg,#1e2528,#111516 65%); }
.wp-home .ph-d { background: linear-gradient(155deg,#242424,#131313 65%); }
.wp-home .ph-e { background: linear-gradient(155deg,#1f1d24,#121117 65%); }
.wp-home .ph-p1 { background: linear-gradient(140deg,#2a2219,#14100b 70%); }
.wp-home .ph-p2 { background: linear-gradient(140deg,#1c2023,#0f1213 70%); }
.wp-home .ph-p3 { background: linear-gradient(140deg,#242424,#101010 70%); }
.wp-home .ph-t1 { background: linear-gradient(140deg,#222222,#121212 70%); }
.wp-home .ph-t2 { background: linear-gradient(140deg,#252019,#131110 70%); }
.wp-home .ph-t3 { background: linear-gradient(140deg,#1d2225,#101415 70%); }

/* ---------- 5/7 分类栅格 ---------- */
.wp-home .col-grid { display: grid; gap: var(--gutter); }
.wp-home .cols-4 { grid-template-columns: repeat(4, 1fr); }
.wp-home .cols-5 { grid-template-columns: repeat(5, 1fr); }
.wp-home .col-item { display: block; }
.wp-home .col-item .ph,
.wp-home .col-item .col-thumb {
	aspect-ratio: 1 / 1;
	width: 100%;
	object-fit: cover;
	border-radius: 2px;
	transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.wp-home .col-item:hover .ph,
.wp-home .col-item:hover .col-thumb { transform: scale(1.03); }
.wp-home .col-label {
	font-family: var(--wp-font-heading, Oswald, sans-serif);
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-align: center;
	padding-top: 14px;
}

/* ---------- 6 横向选品行 ---------- */
.wp-home .hrow {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(200px, 1fr);
	gap: var(--gutter);
	overflow-x: auto;
	padding-bottom: 8px;
	scrollbar-width: thin;
}

/* ---------- 商品卡 ---------- */
.wp-home .product-image {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #131313;
	border-radius: 2px;
	transition: transform .3s ease;
}
.wp-home .product-image img { width: 100%; height: 100%; object-fit: cover; }
.wp-home .product-image img.hover {
	position: absolute; inset: 0; opacity: 0;
	transition: opacity .32s ease;
}
.wp-home .product:hover .product-image { transform: translateY(-2px); }
.wp-home .product:hover .product-image img.hover { opacity: 1; }

.wp-home .onsale {
	position: absolute; z-index: 3; top: 12px; left: 12px;
	background: var(--wp-accent, #9f8561); color: #fff;
	font-family: var(--wp-font-heading, Oswald, sans-serif);
	font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
	padding: 5px 10px; border-radius: 2px;
}
.wp-home .product-title { font-size: 14px; letter-spacing: .08em; font-weight: 500; text-align: center; margin: 14px 0 4px; }
.wp-home .product-price { text-align: center; color: var(--wp-text-muted, #8a8a8a); font-size: 14px; margin: 0; }
.wp-home .product-price ins { color: var(--wp-accent, #9f8561); text-decoration: none; }
.wp-home .product-price del { opacity: .55; margin-right: 8px; }

/* ---------- 8 信任条 ---------- */
.wp-home .trust {
	background: var(--wp-bg-elevated, #151515);
	border-top: 1px solid rgba(138,138,138,.5);
	border-bottom: 1px solid rgba(138,138,138,.5);
	padding: 48px 0;
}
.wp-home .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.wp-home .trust-icon {
	display: grid; place-items: center;
	width: 40px; height: 40px; margin: 0 auto 12px;
	color: var(--wp-accent, #9f8561); font-size: 17px;
	border: 1px solid rgba(138,138,138,.5); border-radius: 50%;
}
.wp-home .trust-item b {
	display: block;
	font-family: var(--wp-font-heading, Oswald, sans-serif);
	font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
	margin-bottom: 4px;
}
.wp-home .trust-item p { margin: 0; color: var(--wp-text-muted, #8a8a8a); font-size: 13px; }

/* ---------- 10 促销拼贴 ---------- */
.wp-home .promo-grid {
	display: grid; gap: var(--gutter);
	grid-template-columns: 2fr 1fr;
	grid-template-rows: repeat(2, 260px);
}
.wp-home .promo { position: relative; display: block; overflow: hidden; border-radius: 2px; }
.wp-home .promo .ph { position: absolute; inset: 0; min-height: 0; }
.wp-home .promo-main { grid-row: span 2; }
.wp-home .promo-body {
	position: absolute; inset: auto 0 0 0; padding: 26px;
	background: linear-gradient(0deg, rgba(0,0,0,.72), transparent);
}
.wp-home .promo-body h3 { font-size: 20px; margin-bottom: 6px; }
.wp-home .promo-body p { color: var(--wp-text-muted, #8a8a8a); font-size: 14px; margin: 0 0 10px; }
.wp-home .promo .link {
	font-family: var(--wp-font-heading, Oswald, sans-serif);
	font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--wp-accent, #9f8561);
}

/* ---------- 11 三列图文 ---------- */
.wp-home .text-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.wp-home .text-col .ph { border-radius: 2px; margin-bottom: 18px; }
.wp-home .text-col img.ratio-16x9 { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-radius: 2px; margin-bottom: 18px; }
.wp-home .text-col h3 { font-size: 17px; margin-bottom: 8px; }
.wp-home .text-col p { color: var(--wp-text-muted, #8a8a8a); font-size: 14px; margin: 0; }

/* ---------- 12 评价 ---------- */
.wp-home .testimonials { background: #242527; }
.wp-home .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.wp-home .review {
	margin: 0; padding: 32px 28px;
	background: rgba(255,255,255,.03);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 2px;
}
.wp-home .stars { color: var(--wp-accent, #9f8561); letter-spacing: .18em; font-size: 14px; margin-bottom: 14px; }
.wp-home .review blockquote { margin: 0 0 18px; font-size: 15px; line-height: 1.7; }
.wp-home .review figcaption { color: var(--wp-text-muted, #8a8a8a); font-size: 13px; }

/* ---------- 13 媒体 logo ---------- */
.wp-home .logo-list { padding-block: 56px; border-top: 1px solid #262626; }
.wp-home .logo-head {
	text-align: center; font-size: 13px; letter-spacing: .2em;
	text-transform: uppercase; color: var(--wp-text-muted, #8a8a8a); margin-bottom: 28px;
}
.wp-home .logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; opacity: .88; }
.wp-home .logos span {
	font-family: var(--wp-font-heading, Oswald, sans-serif);
	font-size: 15px; letter-spacing: .18em; color: #cfcfcf;
}

/* ---------- 响应式 ---------- */
@media (max-width: 959px) {
	.wp-home .cols-4, .wp-home .cols-5 { grid-template-columns: repeat(2, 1fr); }
	.wp-home .review-grid, .wp-home .text-cols { grid-template-columns: 1fr; }
	.wp-home .promo-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
	.wp-home .promo-main { grid-row: auto; }
	.wp-home .promo { min-height: 240px; }
	.wp-home .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 768px) {
	.wp-home { --gutter: 16px; --section-gap: 56px; }
	.wp-home .slideshow { min-height: 62vh; padding-block: 56px; }
	.wp-home .footer-grid { grid-template-columns: 1fr; }
	.wp-home .logos { gap: 24px 32px; }
}

@media (hover: none) {
	.wp-home .product:hover .product-image img.hover { opacity: 0; }
	.wp-home .col-item:hover .ph { transform: none; }
}

/* ==========================================================================
   修正父主题造成的两处视觉问题（放文件末尾，靠层叠顺序覆盖）
   1) Porto 把 h2 行高压到 1 以下，大标题换行时两行重叠
   2) 内容区 wrapper 自带圆角卡片底，区块之间露出底色缺口
   ========================================================================== */
.wp-home .slide-title { line-height: 1.08 !important; }
.wp-home h2,
.wp-home h3 { line-height: 1.2 !important; }
.wp-home-page #main,
.wp-home-page #main > .container-fluid,
.wp-home-page .main-content-wrap,
.wp-home-page .main-content {
	background: var(--wp-bg, #0e0e0e) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding-inline: 0 !important;
}
/* Porto 的 .section 带下边框，在深色页面上会露出白线 */
.wp-home .section,
.wp-home .rich-text,
.wp-home .logo-list { border: 0 !important; }
.wp-home .section { margin-bottom: 0 !important; }

/* ==========================================================================
   自定义页头：搜索 | 左菜单 · 居中 Logo · 右菜单 | 购物车
   只在套用 header-vx.php 的页面生效。
   ========================================================================== */
.vx-hd {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #0d0d0d;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	color: #fff;
}
.vx-hd__inner {
	max-width: 1600px;
	margin-inline: auto;
	padding-inline: 24px;
	min-height: 64px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 24px;
}
.vx-hd__left,
.vx-hd__right {
	display: flex;
	align-items: center;
	gap: 28px;
	min-width: 0;
}
.vx-hd__left { justify-content: space-between; }
.vx-hd__right { justify-content: space-between; }

/* 图标 */
.vx-hd__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 8px;
	color: #fff;
	cursor: pointer;
	line-height: 1;
	transition: opacity .18s ease, color .18s ease;
}
.vx-hd__icon:hover { color: #fff; opacity: .7; }
.vx-hd__cart { position: relative; }
.vx-hd__count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 9px;
	background: #9f8561;
	color: #0e0e0e;
	font-family: 'Oswald', sans-serif;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}
.vx-hd__count.is-empty { display: none; }

/* 菜单 */
.vx-hd__menu {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.vx-hd__menu > li { position: relative; }
.vx-hd__menu > li > a {
	display: inline-block;
	font-family: var(--wp-font-heading, 'Oswald', sans-serif);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	padding: 8px 0;
	white-space: nowrap;
}
.vx-hd__menu > li > a:hover { color: #fff; opacity: .72; }

/* 有子菜单的项显示下拉箭头 */
.vx-hd__menu > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .8;
}

/* 二级菜单 */
.vx-hd__menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 200px;
	background: #141414;
	border: 1px solid rgba(255, 255, 255, .08);
	list-style: none;
	margin: 0;
	padding: 10px 0;
	display: none;
	z-index: 20;
}
.vx-hd__menu li:hover > .sub-menu { display: block; }
.vx-hd__menu .sub-menu a {
	display: block;
	padding: 9px 18px;
	font-family: var(--wp-font-body, 'Source Sans Pro', sans-serif);
	font-size: 14px;
	letter-spacing: .02em;
	text-transform: none;
	color: #dadada;
	white-space: nowrap;
}
.vx-hd__menu .sub-menu a:hover { background: #1f1f1f; color: #fff; opacity: 1; }

/* Logo 严格居中 */
.vx-hd__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	text-decoration: none;
	line-height: 1;
}
.vx-hd__logo-img { display: block; max-height: 46px; width: auto; }
.vx-hd__logo-text {
	font-family: var(--wp-font-heading, 'Oswald', sans-serif);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}

/* 搜索抽屉 */
.vx-hd__search {
	background: #111;
	border-top: 1px solid rgba(255, 255, 255, .07);
	padding: 18px 24px;
}
.vx-hd__search form {
	max-width: 760px;
	margin-inline: auto;
	display: flex;
	gap: 10px;
}
.vx-hd__search input[type="search"] {
	flex: 1;
	background: #1a1a1a;
	border: 1px solid #333;
	color: #fff;
	padding: 12px 16px;
	font-size: 15px;
}
.vx-hd__search input[type="search"]:focus { outline: none; border-color: #9f8561; }
.vx-hd__search-submit {
	background: #9f8561;
	border: 0;
	color: #0e0e0e;
	font-family: 'Oswald', sans-serif;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 0 26px;
	cursor: pointer;
}

/* 移动端 */
.vx-hd__burger { display: none; }
.vx-hd__mobile {
	background: #111;
	border-top: 1px solid rgba(255, 255, 255, .07);
	padding: 8px 24px 20px;
}
.vx-hd__mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.vx-hd__mobile-menu a {
	display: block;
	padding: 13px 0;
	font-family: var(--wp-font-heading, 'Oswald', sans-serif);
	font-size: 15px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.vx-hd__mobile-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 16px;
	display: none;
}

@media (max-width: 992px) {
	.vx-hd__inner {
		grid-template-columns: auto 1fr auto;
		min-height: 58px;
		padding-inline: 12px;
		column-gap: 8px;
	}
	.vx-hd__left,
	.vx-hd__right { gap: 4px; }
	.vx-hd__left .vx-hd__nav,
	.vx-hd__right .vx-hd__nav { display: none; }
	.vx-hd__burger {
		display: grid;
		gap: 4px;
		background: none;
		border: 0;
		padding: 8px;
		margin-left: -8px;
		cursor: pointer;
	}
	.vx-hd__burger span { width: 20px; height: 1.5px; background: #fff; display: block; }
	.vx-hd__icon { padding: 7px; }
	.vx-hd__logo-img {
		max-height: 30px;
		width: auto !important;
		max-width: 140px;
	}
	.vx-hd__logo-text { font-size: 16px; letter-spacing: .16em; }
}

/* 移动端防横向溢出：首页内部的横滑行与宽栅格不撑开页面 */
.wp-home { overflow-x: clip; }
.wp-home .hrow { max-width: 100%; }
.wp-home .slide-title,
.wp-home .hero h1,
.wp-home .rich-text h1 { overflow-wrap: anywhere; }
@media (max-width: 767px) {
	.wp-home .slideshow { padding-inline: 16px; }
	.wp-home .slide-title { font-size: clamp(30px, 9vw, 44px) !important; }
	.wp-home .promo-grid { grid-template-columns: 1fr; }
	.wp-home .col-grid.cols-5,
	.wp-home .col-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wp-home .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wp-home .review-grid,
	.wp-home .text-cols { grid-template-columns: 1fr; }
}
/* 「从哪里开始」横向选品行：grid auto-flow 在窄屏会把页面撑宽，改 flex 滚动 */
.wp-home .hrow {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--gutter);
	overflow-x: auto;
	overflow-y: hidden;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
}
.wp-home .hrow > .product {
	flex: 0 0 200px;
	max-width: 200px;
}
@media (max-width: 767px) {
	.wp-home .hrow > .product { flex-basis: 46vw; max-width: 46vw; }
}

/* 兜底：首页不出现横向滚动条 */
body.wp-home-page { overflow-x: hidden; }
/* ==========================================================================
   页头尺寸（可按需改这两个值）
   --vx-hd-h  ：页头高度
   --vx-hd-fs ：导航文字字号（约等于文字高度）
   ========================================================================== */
.vx-hd {
	--vx-hd-h: 120px;
	--vx-hd-fs: 25px;
}
.vx-hd__inner {
	min-height: var(--vx-hd-h);
}
.vx-hd__menu > li > a {
	font-size: var(--vx-hd-fs);
	line-height: 1;
	letter-spacing: .06em;
	padding: 6px 0;
}
/* 字号变大后，下拉箭头也跟着放大一点 */
.vx-hd__menu > li.menu-item-has-children > a::after {
	width: 7px;
	height: 7px;
	margin-left: 9px;
	border-width: 2px;
}
.vx-hd__logo-img { max-height: 56px; }

/* 窄屏收小，避免 25px 字撑破一行 */
@media (max-width: 1280px) {
	.vx-hd { --vx-hd-fs: 20px; }
	.vx-hd__menu { gap: 22px; }
}
@media (max-width: 992px) {
	.vx-hd { --vx-hd-h: 64px; }
	.vx-hd__logo-img { max-height: 30px; }
}
/* ==================================================================
   页头垂直居中（2026-10-18）
   问题：Porto header-10 用 display:table 布局，.header-left 的 logo 居中在
   页头中线上（y=41），但 .header-right 里搜索独占上排（中心 y=21）、
   导航与购物车在下排（中心 y=62），整排看着高低不齐。
   处理：把 .header-right 的两个块改为 inline-block + vertical-align:middle，
   让它们与 logo 落在同一条水平中线上；同时锁定页头高度 82px，
   避免两排并成一行后页头变矮。
   仅桌面（>=992px）生效：平板/手机是另一套 header 结构，不能套用。
   ================================================================== */
@media (min-width: 992px) {
	#header .header-container > .header-left,
	#header .header-container > .header-right {
		vertical-align: middle;
	}

	#header .header-container > .header-right > div {
		display: inline-block;
		vertical-align: middle;
	}

	/* 固定高度而不是 min-height：min-height 只撑高盒子，内容仍居中在原来的
	   68px 内容区里，整组会偏高 7px；height 才能让 cell 内容区变 82px。 */
	#header .header-main,
	#header .header-container {
		height: 82px;
		min-height: 82px;
	}
}
/* ==========================================================================
   移动端页脚折叠项：默认收起，点标题展开
   原来 .footer__collapsible 在移动端是 display:block 却被 46px 高的 grid__item
   裁掉，看着像收起、实际内容溢出。这里改成真正的折叠交互。
   ========================================================================== */
@media (max-width: 768px) {
	.site-footer .grid__item {
		height: auto !important;
	}

	.site-footer .footer__collapsible {
		display: none;
	}

	.site-footer .grid__item.is-open .footer__collapsible {
		display: block;
	}

	.site-footer .footer__title {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		user-select: none;
	}

	.site-footer .footer__title::after {
		content: "+";
		position: absolute;
		right: 2px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 18px;
		line-height: 1;
		color: inherit;
	}

	.site-footer .grid__item.is-open .footer__title::after {
		content: "\2013";
	}
}
/* 页脚区块在移动端不要固定高度，跟随折叠内容变化 */
@media (max-width: 768px) {
	.shopify-section:has(.site-footer) {
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}

	.site-footer,
	.site-footer .page-width,
	.site-footer .grid {
		height: auto !important;
		max-height: none !important;
	}
}
/* 移动端页脚标题：用自定义 +/- 替代原有下拉箭头，避免出现两个符号 */
@media (max-width: 768px) {
	.site-footer .footer__title .icon,
	.site-footer .footer__title svg {
		display: none !important;
	}
}