/*
Theme Name: Vapier Child
Theme URI: http://www.wpbingosite.com/vapier
Author: wpbingo
Description: This is a child theme for Vapier
Version: 1.0
Author URI: http://wpbingosite.com
Template: vapier
Text Domain: vapier-child
*/
/*************** ADD YOUR CUSTOM CSS HERE  ***************/

.vapier-weapp-qrcode {
	margin: 32px 0 0;
	padding: 24px;
	border: 1px solid #e5e5e5;
	background: #fff;
	text-align: center;
}

.vapier-weapp-qrcode__title {
	margin: 0 0 18px;
	font-size: 24px;
	line-height: 1.3;
}

.vapier-weapp-qrcode__content {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	max-width: 260px;
}

.vapier-weapp-qrcode__image {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.vapier-weapp-qrcode__text {
	margin: 14px 0 0;
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}

@media (max-width: 767px) {
	.vapier-weapp-qrcode {
		padding: 20px 16px;
	}

	.vapier-weapp-qrcode__title {
		font-size: 20px;
	}
}

:root {
	--yunge-ink: #1d1d1f;
	--yunge-muted: #62666d;
	--yunge-line: #e6e8ec;
	--yunge-bg: #f4f6f8;
	--yunge-card: #fff;
	--yunge-red: #c8242f;
	--yunge-green: #177c5f;
	--yunge-gold: #c28a20;
}

.yunge-retail-body {
	background: var(--yunge-bg);
	color: var(--yunge-ink);
}

.yunge-shell {
	width: min(1240px, calc(100% - 32px));
	margin: 0 auto;
}

.yunge-retail-main {
	min-height: 60vh;
}

.yunge-service-bar__grid {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-height: 38px;
}

.yunge-service-bar {
	background: #fff;
	border-bottom: 1px solid var(--yunge-line);
	color: var(--yunge-green);
	font-weight: 700;
}

.yunge-service-bar__grid span:before {
	content: "✓";
	margin-right: 7px;
}

.yunge-main-header {
	background: #fff;
	border-bottom: 1px solid var(--yunge-line);
}

.yunge-main-header__grid {
	display: grid;
	grid-template-columns: 210px minmax(280px, 1fr) auto;
	gap: 24px;
	align-items: center;
	padding: 22px 0;
}

.yunge-logo a {
	display: inline-flex;
	align-items: center;
	color: var(--yunge-ink);
	line-height: 1;
	text-decoration: none;
}

.yunge-logo img {
	display: block;
	width: 92px;
	height: 72px;
	object-fit: contain;
}

.yunge-search {
	display: grid;
	grid-template-columns: 1fr 96px;
	border: 2px solid var(--yunge-red);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.yunge-search input {
	min-width: 0;
	border: 0;
	padding: 0 16px;
	height: 46px;
	font-size: 15px;
}

.yunge-search button,
.yunge-filter-open,
.yunge-price-filter button,
.yunge-product-card .button,
.yunge-single-product .single_add_to_cart_button {
	border: 0;
	background: var(--yunge-red);
	color: #fff;
	font-weight: 800;
	border-radius: 4px;
}

.yunge-search button {
	border-radius: 0;
}

.yunge-header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 13px;
	white-space: nowrap;
}

.yunge-header-actions a {
	color: var(--yunge-ink);
}

.yunge-cart-link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	text-align: center;
}

.yunge-cart-link em {
	position: absolute;
	right: 0;
	top: -8px;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--yunge-red);
	color: #fff;
	border-radius: 999px;
	font-style: normal;
	font-size: 11px;
}

.yunge-mobile-search {
	display: none;
	padding-bottom: 14px;
}

.yunge-category-nav {
	background: var(--yunge-green);
}

.yunge-category-nav .yunge-shell {
	display: flex;
	align-items: center;
	gap: 2px;
	overflow-x: auto;
}

.yunge-category-nav a {
	display: block;
	padding: 15px 18px;
	color: #fff;
	font-weight: 800;
	white-space: nowrap;
}

.yunge-category-nav a.is-featured {
	background: rgba(0, 0, 0, .18);
}

.yunge-hero-banners,
.yunge-category-entry,
.yunge-campaigns,
.yunge-featured-products,
.yunge-brand-story,
.yunge-seo-copy,
.yunge-shop-archive,
.yunge-single-wrap {
	padding: 34px 0;
}

.yunge-hero-banners__grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: repeat(2, 210px);
	gap: 18px;
}

.yunge-hero-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 210px;
	padding: 30px;
	overflow: hidden;
	border-radius: 8px;
	color: #fff;
	background: #263238;
}

.yunge-hero-card > * {
	position: relative;
	z-index: 1;
}

.yunge-hero-card--1 {
	grid-row: span 2;
	background: linear-gradient(135deg, #173f35, #bb2e2e);
}

.yunge-hero-card--2 {
	background: linear-gradient(135deg, #243b55, #141e30);
}

.yunge-hero-card--3 {
	background: linear-gradient(135deg, #6f4e1f, #be7b27);
}

.yunge-hero-card span,
.yunge-campaigns span,
.yunge-brand-story span {
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.yunge-hero-card strong {
	margin: 8px 0;
	font-size: clamp(28px, 4vw, 56px);
	line-height: 1;
}

.yunge-hero-card em,
.yunge-campaigns em {
	max-width: 420px;
	font-style: normal;
	opacity: .9;
}

.yunge-hero-card b {
	display: inline-flex;
	width: fit-content;
	margin-top: 18px;
	padding: 11px 18px;
	background: #fff;
	color: var(--yunge-ink);
	border-radius: 4px;
}

.yunge-section-heading,
.yunge-archive-heading,
.yunge-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.yunge-archive-heading {
	align-items: flex-start;
}

.yunge-section-heading h2,
.yunge-archive-heading h1,
.yunge-single-product h1 {
	margin: 0;
	font-size: 30px;
	line-height: 1.15;
}

.yunge-archive-heading .term-description {
	max-width: 760px;
	margin-top: 12px;
	color: var(--yunge-muted);
	font-size: 15px;
	line-height: 1.7;
}

.yunge-archive-quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.yunge-archive-quick-links a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid var(--yunge-line);
	border-radius: 4px;
	color: var(--yunge-ink);
	font-size: 13px;
	font-weight: 800;
}

.yunge-section-heading a {
	color: var(--yunge-red);
	font-weight: 800;
}

.yunge-category-entry__grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 12px;
}

.yunge-category-entry__grid a {
	display: grid;
	gap: 10px;
	justify-items: center;
	padding: 16px 10px;
	background: #fff;
	border: 1px solid var(--yunge-line);
	border-radius: 8px;
	color: var(--yunge-ink);
	font-weight: 800;
	text-align: center;
}

.yunge-category-entry__grid img:not(.yunge-category-entry__image) {
	width: 76px;
	aspect-ratio: 1;
	object-fit: contain;
}

.yunge-campaigns__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.yunge-campaigns a {
	padding: 32px;
	min-height: 190px;
	border-radius: 8px;
	background: linear-gradient(135deg, #fff, #eef3f1);
	border: 1px solid var(--yunge-line);
	color: var(--yunge-ink);
}

.yunge-campaigns strong {
	display: block;
	margin: 12px 0 8px;
	font-size: 30px;
}

.yunge-products-grid,
.products.yunge-products-grid,
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.yunge-product-loop-item {
	width: auto !important;
	margin: 0 !important;
	list-style: none;
}

.yunge-product-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--yunge-line);
	border-radius: 8px;
	overflow: hidden;
}

.yunge-product-card__image {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	background: #fafafa;
}

.yunge-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.yunge-product-card__badge {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 5px 8px;
	background: var(--yunge-red);
	color: #fff;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 800;
}

.yunge-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px;
}

.yunge-product-card__brand {
	color: var(--yunge-green);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.yunge-product-card h3 {
	min-height: 44px;
	margin: 6px 0 10px;
	font-size: 15px;
	line-height: 1.45;
}

.yunge-product-card h3 a {
	color: var(--yunge-ink);
}

.yunge-product-card__tags,
.yunge-product-card__attrs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.yunge-product-card__tags span,
.yunge-product-card__attrs span {
	padding: 4px 7px;
	background: #f2f5f4;
	color: var(--yunge-muted);
	border-radius: 4px;
	font-size: 12px;
}

.yunge-product-card__bottom {
	display: grid;
	gap: 10px;
	margin-top: auto;
}

.yunge-product-card__price {
	color: var(--yunge-red);
	font-size: 18px;
	font-weight: 900;
}

.yunge-product-card .button {
	display: block;
	width: 100%;
	padding: 11px 12px;
	text-align: center;
}

.yunge-brand-story {
	background: #fff;
}

.yunge-brand-story__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 34px;
	align-items: center;
}

.yunge-brand-story h2 {
	margin: 10px 0;
	font-size: 36px;
}

.yunge-brand-story dl {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 0;
}

.yunge-brand-story dl div {
	padding: 20px;
	background: var(--yunge-bg);
	border-radius: 8px;
}

.yunge-brand-story dt {
	font-size: 24px;
	font-weight: 900;
}

.yunge-brand-story dd {
	margin: 6px 0 0;
	color: var(--yunge-muted);
}

.yunge-seo-copy .yunge-shell {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--yunge-line);
	border-radius: 8px;
}

.yunge-retail-footer {
	background: #141719;
	color: #d8dde2;
	padding-bottom: 68px;
}

.yunge-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 28px;
	padding: 42px 0;
}

.yunge-footer-brand strong,
.yunge-footer-links h3 {
	display: block;
	margin: 0 0 14px;
	color: #fff;
	font-size: 18px;
}

.yunge-footer-links a {
	display: block;
	margin: 8px 0;
	color: #d8dde2;
}

.yunge-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 16px 0;
}

.yunge-shop-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.yunge-filter-panel {
	position: sticky;
	top: 16px;
	background: #fff;
	border: 1px solid var(--yunge-line);
	border-radius: 6px;
	padding: 0 18px 18px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}

.yunge-filter-panel section + section {
	margin-top: 0;
	padding-top: 16px;
	border-top: 1px solid var(--yunge-line);
}

.yunge-filter-panel h3 {
	margin: 16px 0 11px;
	font-size: 15px;
	line-height: 1.25;
}

.yunge-filter-section__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.yunge-filter-section__arrow {
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(-45deg) translateY(2px);
	transition: transform .18s ease;
}

.yunge-filter-section.is-collapsed .yunge-filter-section__body {
	display: none;
}

.yunge-filter-section.is-collapsed .yunge-filter-section__arrow {
	transform: rotate(135deg) translate(-2px, 2px);
}

.yunge-filter-panel a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	color: var(--yunge-ink);
}

.yunge-filter-form {
	display: block;
}

.yunge-filter-options {
	display: grid;
	gap: 0;
}

.yunge-filter-option {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	gap: 9px;
	align-items: center;
	min-height: 32px;
	color: var(--yunge-ink);
	font-size: 14px;
	cursor: pointer;
}

.yunge-filter-option input {
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: var(--yunge-red);
}

.yunge-filter-option span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.yunge-filter-option em {
	color: var(--yunge-muted);
	font-style: normal;
	font-size: 12px;
}

.yunge-price-filter {
	display: grid;
	gap: 12px;
}

.yunge-price-filter__slider {
	position: relative;
	height: 34px;
	margin: 2px 0;
}

.yunge-price-filter__slider:before {
	content: "";
	position: absolute;
	top: 15px;
	right: 0;
	left: 0;
	height: 4px;
	background: #dadada;
	border-radius: 999px;
}

.yunge-price-filter__track {
	position: absolute;
	top: 15px;
	height: 4px;
	background: #222;
	border-radius: 999px;
}

.yunge-price-filter input[type="range"] {
	position: absolute;
	top: 4px;
	width: 100%;
	height: 26px;
	margin: 0;
	pointer-events: none;
	appearance: none;
	background: transparent;
}

.yunge-price-filter input[type="range"]::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	border: 2px solid #222;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	pointer-events: auto;
	appearance: none;
	cursor: pointer;
}

.yunge-price-filter input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 2px solid #222;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	pointer-events: auto;
	cursor: pointer;
}

.yunge-price-filter input[type="range"]::-webkit-slider-runnable-track {
	background: transparent;
	border: 0;
}

.yunge-price-filter input[type="range"]::-moz-range-track {
	background: transparent;
	border: 0;
}

.yunge-price-filter__values {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: #6b6b75;
	font-size: 14px;
}

.yunge-price-filter button,
.yunge-filter-open,
.yunge-filter-panel__actions button {
	padding: 10px 14px;
}

.yunge-filter-panel__actions {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	align-items: center;
	position: sticky;
	bottom: -18px;
	margin: 18px -18px -18px;
	padding: 14px 18px;
	background: #fff;
	border-top: 1px solid var(--yunge-line);
}

.yunge-filter-panel__actions button {
	border: 0;
	background: var(--yunge-red);
	color: #fff;
	border-radius: 4px;
	font-weight: 900;
}

.yunge-filter-panel__actions a {
	display: inline-flex;
	padding: 0;
	color: var(--yunge-red);
	font-weight: 800;
}

.yunge-filter-close {
	display: none;
}

.yunge-shop-content {
	min-width: 0;
}

.yunge-shop-toolbar {
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--yunge-line);
	border-radius: 6px;
}

.yunge-shop-toolbar select {
	height: 38px;
	border: 1px solid var(--yunge-line);
	border-radius: 4px;
}

.yunge-active-filters {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: -6px 0 18px;
	padding: 10px 0;
	color: var(--yunge-muted);
	font-size: 13px;
}

.yunge-active-filters > span {
	color: var(--yunge-ink);
	font-weight: 800;
}

.yunge-active-filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.yunge-active-filters__chips a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	background: #fff;
	border: 1px solid var(--yunge-line);
	border-radius: 4px;
	color: var(--yunge-ink);
}

.yunge-active-filters__chips .yunge-active-filters__clear {
	color: var(--yunge-red);
	font-weight: 800;
}

.yunge-single-product {
	background: #fff;
	border: 1px solid var(--yunge-line);
	border-radius: 8px;
	padding: 24px;
}

.yunge-single-product__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
	gap: 34px;
	align-items: start;
}

.yunge-single-product__gallery img {
	height: auto;
}

.yunge-single-product__brand {
	color: var(--yunge-green);
	font-weight: 900;
	text-transform: uppercase;
}

.yunge-single-product__price {
	margin: 16px 0;
	color: var(--yunge-red);
	font-size: 28px;
	font-weight: 900;
}

.yunge-single-product__stock {
	margin-bottom: 14px;
	font-weight: 800;
}

.yunge-single-product__attrs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0;
}

.yunge-single-product__attrs span {
	padding: 7px 10px;
	background: var(--yunge-bg);
	border-radius: 4px;
}

.yunge-single-product__cart form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 18px 0;
}

.yunge-single-product__cart .quantity input {
	height: 44px;
	border: 1px solid var(--yunge-line);
	border-radius: 4px;
}

.yunge-single-product .single_add_to_cart_button {
	min-height: 44px;
	padding: 0 22px;
}

.yunge-single-product__promises {
	display: grid;
	gap: 10px;
	margin: 18px 0;
}

.yunge-single-product__promises div {
	padding: 14px;
	background: #f7faf9;
	border: 1px solid var(--yunge-line);
	border-radius: 8px;
}

.yunge-single-product__promises p {
	margin: 5px 0 0;
	color: var(--yunge-muted);
}

.yunge-single-product__details {
	display: grid;
	gap: 20px;
	margin-top: 30px;
}

.yunge-single-product__details section {
	padding-top: 24px;
	border-top: 1px solid var(--yunge-line);
}

.yunge-mobile-nav {
	display: none;
}

.yunge-filter-backdrop {
	display: none;
}

@media (max-width: 1100px) {
	.yunge-main-header__grid {
		grid-template-columns: minmax(120px, .8fr) minmax(300px, 460px) minmax(210px, 1fr);
		gap: 16px;
	}

	.yunge-header-actions {
		justify-content: flex-end;
		gap: 14px;
	}

	.yunge-category-entry__grid,
	.yunge-products-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.yunge-shell {
		width: min(100% - 24px, 1240px);
	}

	.yunge-service-bar__grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
		padding: 8px 0;
		text-align: center;
	}

	.yunge-main-header__grid {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 16px 0 10px;
	}

	.yunge-main-header__grid > .yunge-search {
		display: none;
	}

	.yunge-mobile-search {
		display: block;
	}

	.yunge-header-actions {
		overflow-x: auto;
		justify-content: flex-start;
		padding-bottom: 2px;
	}

	.yunge-category-nav a {
		padding: 13px 14px;
	}

	.yunge-hero-banners__grid,
	.yunge-campaigns__grid,
	.yunge-brand-story__grid,
	.yunge-single-product__top,
	.yunge-shop-layout,
	.yunge-footer-grid {
		grid-template-columns: 1fr;
	}

	.yunge-hero-banners__grid {
		grid-template-rows: none;
	}

	.yunge-hero-card--1 {
		grid-row: auto;
	}

	.yunge-hero-card {
		min-height: 220px;
		padding: 22px;
	}

	.yunge-category-entry__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.yunge-products-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.yunge-product-card__body {
		padding: 10px;
	}

	.yunge-product-card h3 {
		font-size: 13px;
		min-height: 40px;
	}

	.yunge-brand-story dl {
		grid-template-columns: 1fr;
	}

	.yunge-filter-open,
	.yunge-filter-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.yunge-filter-panel {
		position: fixed;
		z-index: 10002;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(86vw, 340px);
		overflow-y: auto;
		border-radius: 0;
		transform: translateX(-105%);
		transition: transform .22s ease;
	}

	.yunge-filter-active .yunge-filter-panel {
		transform: translateX(0);
	}

	.yunge-filter-close {
		width: 100%;
		margin-bottom: 14px;
		padding: 11px;
		border: 1px solid var(--yunge-line);
		background: #fff;
		border-radius: 4px;
	}

	.yunge-filter-backdrop {
		position: fixed;
		z-index: 10001;
		inset: 0;
		background: rgba(0, 0, 0, .42);
	}

	.yunge-filter-active .yunge-filter-backdrop {
		display: block;
	}

	.yunge-shop-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.yunge-active-filters {
		align-items: flex-start;
		flex-direction: column;
	}

	.yunge-single-product {
		padding: 14px;
	}

	.yunge-mobile-nav {
		position: fixed;
		z-index: 10000;
		left: 0;
		right: 0;
		bottom: 0;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		background: #fff;
		border-top: 1px solid var(--yunge-line);
		box-shadow: 0 -8px 20px rgba(0, 0, 0, .08);
	}

	.yunge-mobile-nav a {
		display: grid;
		gap: 3px;
		justify-items: center;
		padding: 7px 4px 8px;
		color: var(--yunge-ink);
		font-size: 12px;
		line-height: 1.1;
	}

	.yunge-mobile-nav img {
		display: block;
		width: 24px;
		height: 24px;
		object-fit: contain;
	}

	.yunge-mobile-nav span {
		display: block;
	}
}

/* 2026-07-02：按参考站截图二次收紧首屏比例，复刻布局尺寸但不复制图片、品牌和代码。 */
.yunge-retail-body {
	background: #fff;
	font-family: Arial, "Microsoft YaHei", sans-serif;
}

.yunge-shell {
	width: min(1410px, calc(100% - 30px));
}

.yunge-service-bar {
	display: none;
}

.yunge-main-header__grid {
	grid-template-columns: minmax(170px, 1fr) minmax(360px, 520px) minmax(250px, 1fr);
	gap: 24px;
	min-height: 104px;
	padding: 0;
}

.yunge-logo a {
	justify-content: flex-start;
}

.yunge-logo img {
	width: 116px;
	height: 86px;
}

.yunge-search {
	grid-template-columns: 1fr 132px;
	height: 52px;
	border: 2px solid #8d8d8d;
	border-radius: 10px;
}

.yunge-search input {
	height: 48px;
	padding-left: 30px;
	font-size: 16px;
}

.yunge-search button {
	background: #fff;
	color: #222;
	border-left: 1px solid #ddd;
	font-size: 16px;
}

.yunge-header-actions {
	justify-content: flex-end;
	gap: 22px;
	font-size: 13px;
	font-weight: 800;
	text-align: center;
	text-transform: uppercase;
}

.yunge-header-actions a {
	display: grid;
	justify-items: center;
	color: #242424;
	line-height: 1.12;
}

.yunge-header-tool,
.yunge-cart-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 72px;
	text-align: center;
	font-weight: 800;
	line-height: 1.12;
}

.yunge-header-tool span:first-child,
.yunge-cart-link span:first-child {
	display: grid;
	place-items: center;
	width: 42px;
	height: 34px;
	margin-bottom: 2px;
}

.yunge-header-tool img,
.yunge-cart-link img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.yunge-cart-link {
	padding: 0;
}

.yunge-cart-link strong {
	display: block;
	font-size: 13px;
	line-height: 1.1;
	white-space: nowrap;
}

.yunge-cart-link strong .woocommerce-Price-amount,
.yunge-cart-link strong bdi,
.yunge-cart-link strong .woocommerce-Price-currencySymbol {
	display: inline;
	white-space: nowrap;
}

.yunge-category-nav {
	background: #efefef;
}

.yunge-category-nav .yunge-shell {
	justify-content: space-between;
}

.yunge-category-nav a {
	padding: 18px 12px;
	color: #222;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
}

.yunge-category-nav a.is-featured {
	background: transparent;
}

.yunge-hero-banners {
	padding: 0;
}

.yunge-hero-banners__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 529px;
	gap: 0;
	overflow: hidden;
	border-radius: 0 0 6px 6px;
}

.yunge-hero-visual {
	position: absolute;
	inset: 0;
	background: #1b9fe8;
}

.yunge-hero-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.yunge-hero-card {
	position: relative;
	z-index: 1;
	justify-content: flex-start;
	align-items: center;
	min-height: 0;
	padding: 38px 0 0;
	border-radius: 0;
	background: transparent;
	color: #222;
}

.yunge-hero-card span,
.yunge-hero-card strong,
.yunge-hero-card em {
	display: none;
}

.yunge-hero-card b {
	margin: 0;
	padding: 17px 42px;
	background: #fff;
	color: #222;
	border-radius: 9px;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	font-size: 15px;
	text-transform: uppercase;
}

.yunge-hero-card__mobile-image {
	display: none;
}

.yunge-category-entry {
	padding: 28px 0 50px;
	background: #fff;
}

.yunge-category-entry__grid {
	grid-template-columns: repeat(7, 1fr);
	gap: 18px;
}

.yunge-category-entry__grid a {
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	font-size: 18px;
	text-transform: uppercase;
}

.yunge-category-entry__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 126px;
	height: 110px;
	margin: 0 auto 16px;
}

/* Banner 下方分类入口统一使用 Imagegen 原创 PNG，避免 CSS 线稿叠影和占位感。 */
.yunge-category-entry {
	padding: 34px 0 54px;
	background: #fff;
	border-bottom: 1px solid #eee;
}

.yunge-category-entry__grid {
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid #ececec;
	border-left: 1px solid #ececec;
	background: #fff;
}

.yunge-category-entry__grid a.yunge-category-entry__item {
	position: relative;
	display: grid;
	min-height: 176px;
	padding: 24px 12px 20px;
	gap: 8px;
	justify-items: center;
	align-content: center;
	border: 0;
	border-right: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
	border-radius: 0;
	background: #fff;
	color: #222;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.yunge-category-entry__name {
	display: block;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.yunge-category-entry__grid small {
	margin-top: 2px;
	color: #8b8b8b;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.yunge-category-entry__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 112px;
	height: 94px;
	margin: 0 auto 10px;
	color: #1f1f1f;
	overflow: hidden;
	border-radius: 4px;
}

.yunge-category-entry__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .28s ease, filter .28s ease;
}

.yunge-category-entry__grid a.yunge-category-entry__item:hover {
	z-index: 2;
	transform: translateY(-5px);
	color: #111;
	box-shadow: inset 0 0 0 1px #111, 0 18px 35px rgba(0,0,0,.1);
}

.yunge-category-entry__grid a.yunge-category-entry__item:hover .yunge-category-entry__icon {
	color: var(--yunge-red);
	box-shadow: none;
}

.yunge-category-entry__grid a.yunge-category-entry__item:hover .yunge-category-entry__image {
	transform: scale(1.06);
	filter: saturate(1.05) contrast(1.03);
}

.yunge-category-entry__grid a.yunge-category-entry__item:hover small {
	color: #111;
}

.yunge-campaigns {
	padding: 0 0 68px;
	background: #fff;
}

.yunge-campaigns__grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.yunge-campaigns a {
	position: relative;
	min-height: 330px;
	padding: 32px;
	overflow: hidden;
	border: 0;
	border-radius: 7px;
	background: linear-gradient(135deg, #22150f, #152b36 54%, #b63428);
	color: #fff;
}

.yunge-campaigns__wide {
	grid-column: 1 / -1;
	min-height: 550px !important;
	padding: 64px !important;
	background:
		linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.05)),
		radial-gradient(circle at 88% 28%, #ef4444 0 90px, transparent 91px),
		linear-gradient(135deg, #075260, #f5b73d 56%, #9c1e1e) !important;
}

.yunge-campaigns__wide strong {
	position: relative;
	z-index: 1;
	font-size: 86px;
	line-height: .92;
	max-width: 720px;
	text-transform: uppercase;
}

.yunge-campaigns__wide span,
.yunge-campaigns__wide em {
	position: relative;
	z-index: 1;
}

.yunge-campaigns__wide b {
	position: absolute;
	z-index: 2;
	right: 160px;
	bottom: 64px;
	padding: 18px 44px;
	background: #fff;
	color: #222;
	border-radius: 9px;
}

.yunge-campaigns strong {
	color: inherit;
	font-size: 34px;
}

.yunge-monthly-feature {
	padding: 0;
	background: #fff;
}

.yunge-monthly-feature__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 720px;
	align-items: center;
	gap: 46px;
}

.yunge-monthly-feature__image {
	min-height: 620px;
	border-radius: 8px;
	background:
		radial-gradient(circle at 50% 42%, rgba(0,0,0,.7) 0 85px, transparent 86px),
		linear-gradient(135deg, #d7b68b, #f7eee1 48%, #6f3321);
}

.yunge-monthly-feature__content h2 {
	font-size: 50px;
	text-transform: uppercase;
}

.yunge-guide-story {
	padding: 0;
	background: #fff;
}

.yunge-guide-story__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.yunge-guide-story__grid a {
	min-height: 520px;
	padding: 64px;
	color: #fff;
	background: linear-gradient(135deg, #232323, #92552a);
}

.yunge-featured-products {
	padding-top: 64px;
	background: #fff;
}

.yunge-section-heading {
	align-items: flex-end;
}

.yunge-section-heading h2 {
	font-size: 28px;
	text-transform: none;
}

.yunge-products-grid,
.woocommerce ul.products {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
}

.yunge-product-card {
	border-color: transparent;
	box-shadow: none;
}

.yunge-product-card__body {
	padding: 12px 0 0;
}

.yunge-product-card h3 {
	font-size: 15px;
	min-height: 42px;
}

.yunge-product-card__image {
	border: 1px solid #eee;
	border-radius: 4px;
}

@media (max-width: 767px) {
	.yunge-shell {
		width: calc(100% - 28px);
	}

	.yunge-main-header__grid {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 10px 0 8px;
	}

	.yunge-logo {
		display: none;
	}

	.yunge-header-actions {
		display: none;
	}

	.yunge-mobile-search {
		padding-bottom: 8px;
	}

	.yunge-category-nav {
		display: none;
	}

	.yunge-hero-banners__grid {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(3, 415px);
	}

	.yunge-hero-visual {
		display: none;
	}

	.yunge-hero-card {
		position: relative;
		justify-content: flex-start;
		align-items: center;
		padding-top: 28px;
		background: #111;
	}

	.yunge-hero-card__mobile-image {
		position: absolute;
		inset: 0;
		z-index: 0;
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.yunge-hero-card b {
		position: relative;
		z-index: 2;
		text-shadow: 0 2px 10px rgba(0,0,0,.22);
	}

	.yunge-category-entry__grid {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 18px;
		column-gap: 8px;
	}

	.yunge-category-entry {
		padding: 20px 0 28px;
	}

	.yunge-category-entry__grid a {
		font-size: 12px;
	}

	.yunge-category-entry__icon {
		width: 84px;
		height: 74px;
		margin-bottom: 10px;
	}

	.yunge-campaigns__grid,
	.yunge-monthly-feature__grid,
	.yunge-guide-story__grid {
		grid-template-columns: 1fr;
	}

	.yunge-campaigns__wide {
		min-height: 360px !important;
		padding: 32px !important;
	}

	.yunge-campaigns__wide strong {
		font-size: 44px;
	}

	.yunge-campaigns__wide b {
		right: 32px;
		bottom: 32px;
	}

	.yunge-monthly-feature__image,
	.yunge-guide-story__grid a {
		min-height: 420px;
	}

	.yunge-products-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Imagegen 原创图片补齐首页专题区，并统一参考站式轻量 hover 反馈。 */
.yunge-hero-visual,
.yunge-campaigns a,
.yunge-monthly-feature__image,
.yunge-product-card__image {
	overflow: hidden;
}

.yunge-hero-visual img,
.yunge-hero-card__mobile-image,
.yunge-campaigns__image,
.yunge-monthly-feature__image img,
.yunge-product-card__image img {
	transition: transform .45s ease, filter .45s ease;
}

.yunge-hero-banners__grid:hover .yunge-hero-visual img {
	transform: scale(1.025);
	filter: saturate(1.05) contrast(1.03);
}

.yunge-hero-card:hover .yunge-hero-card__mobile-image,
.yunge-hero-card:active .yunge-hero-card__mobile-image {
	transform: scale(1.035);
	filter: saturate(1.06) contrast(1.03);
}

.yunge-hero-card,
.yunge-category-entry__grid a,
.yunge-campaigns a,
.yunge-monthly-feature__grid,
.yunge-product-card,
.yunge-product-card .button {
	transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease, color .24s ease, border-color .24s ease;
}

.yunge-hero-card:hover,
.yunge-campaigns a:hover,
.yunge-product-card:hover {
	transform: translateY(-4px);
}

.yunge-hero-card:hover b,
.yunge-campaigns a:hover b,
.yunge-monthly-feature__content a:hover {
	background: #111;
	color: #fff;
	box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.yunge-category-entry__grid a:hover {
	transform: translateY(-7px);
	color: #111;
}

.yunge-category-entry__grid a:hover .yunge-category-entry__icon {
	border-color: #222;
	box-shadow: 0 14px 30px rgba(0,0,0,.09);
}

/* 覆盖旧版分类 hover 细节，确保分类图片不再叠加旧线稿效果。 */
.yunge-category-entry__grid a.yunge-category-entry__item:hover .yunge-category-entry__icon {
	border-color: transparent;
	box-shadow: none;
}

@media (max-width: 767px) {
	.yunge-category-entry {
		padding: 18px 0 28px;
	}

	.yunge-category-entry__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		border-top-color: #e8e8e8;
		border-left-color: #e8e8e8;
	}

	.yunge-category-entry__grid a.yunge-category-entry__item {
		min-height: 132px;
		padding: 16px 8px 14px;
		gap: 5px;
		font-size: 12px;
	}

	.yunge-category-entry__icon {
		width: 76px;
		height: 64px;
		margin-bottom: 5px;
		transform: none;
	}

	.yunge-category-entry__grid small {
		font-size: 10px;
	}
}

.yunge-campaigns a {
	position: relative;
	isolation: isolate;
	box-shadow: none;
}

.yunge-campaigns a > :not(.yunge-campaigns__image) {
	position: relative;
	z-index: 2;
	text-shadow: 0 2px 10px rgba(0,0,0,.28);
}

.yunge-campaigns__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yunge-campaigns a:hover {
	box-shadow: 0 22px 50px rgba(0,0,0,.18);
}

.yunge-campaigns a:hover .yunge-campaigns__image {
	transform: scale(1.045);
	filter: saturate(1.08) contrast(1.04);
}

.yunge-campaigns__wide {
	background: #111 !important;
}

.yunge-campaigns__wide b {
	text-shadow: none;
	transition: background-color .24s ease, color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.yunge-campaigns__wide:hover b {
	transform: translateY(-3px);
}

.yunge-monthly-feature__image {
	position: relative;
	background: #111;
}

.yunge-monthly-feature__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yunge-monthly-feature__image span {
	position: absolute;
	z-index: 2;
	left: 34px;
	bottom: 30px;
	padding: 12px 18px;
	border-radius: 6px;
	background: rgba(255,255,255,.94);
	color: #111;
	font-weight: 900;
	letter-spacing: .08em;
}

.yunge-monthly-feature__image:hover img {
	transform: scale(1.04);
	filter: saturate(1.08) contrast(1.04);
}

.yunge-product-card:hover .yunge-product-card__image img {
	transform: scale(1.06);
	filter: saturate(1.05);
}

.yunge-product-card:hover .button {
	background: #111;
	border-color: #111;
	color: #fff;
}

.yunge-main-header a:hover,
.yunge-category-nav a:hover {
	color: #d52b2f;
}

.yunge-category-nav a:hover {
	background: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.yunge-hero-visual img,
	.yunge-hero-card__mobile-image,
	.yunge-campaigns__image,
	.yunge-monthly-feature__image img,
	.yunge-product-card__image img,
	.yunge-hero-card,
	.yunge-category-entry__grid a,
	.yunge-campaigns a,
	.yunge-product-card,
	.yunge-product-card .button {
		transition: none !important;
	}

	.yunge-hero-banners__grid:hover .yunge-hero-visual img,
	.yunge-hero-card:hover .yunge-hero-card__mobile-image,
	.yunge-hero-card:active .yunge-hero-card__mobile-image,
	.yunge-hero-card:hover,
	.yunge-campaigns a:hover,
	.yunge-product-card:hover,
	.yunge-category-entry__grid a:hover,
	.yunge-product-card:hover .yunge-product-card__image img,
	.yunge-campaigns a:hover .yunge-campaigns__image,
	.yunge-monthly-feature__image:hover img {
		transform: none !important;
	}
}

/* 分类页按 smoke-king 目标页补齐视觉层级：白底说明区 + 浅灰筛选商品区。 */
.tax-product_cat .yunge-shop-archive,
.post-type-archive-product .yunge-shop-archive {
	padding: 0 0 72px;
	background: #ececec;
	color: #222;
}

.tax-product_cat .yunge-shop-archive > .yunge-shell,
.post-type-archive-product .yunge-shop-archive > .yunge-shell {
	width: 100%;
	max-width: none;
}

.tax-product_cat .yunge-archive-heading,
.post-type-archive-product .yunge-archive-heading {
	display: block;
	margin: 0;
	padding: 70px max(24px, calc((100vw - 1190px) / 2)) 50px;
	background: #fff;
}

.tax-product_cat .yunge-archive-heading > div,
.post-type-archive-product .yunge-archive-heading > div {
	max-width: 1090px;
}

.tax-product_cat .yunge-archive-heading h1,
.post-type-archive-product .yunge-archive-heading h1 {
	margin: 0 0 30px;
	color: #101126;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: 0;
	text-transform: none;
}

.tax-product_cat .yunge-archive-heading h1:before,
.post-type-archive-product .yunge-archive-heading h1:before {
	content: "Shop ";
}

.tax-product_cat .yunge-archive-heading .term-description,
.post-type-archive-product .yunge-archive-heading .term-description {
	max-width: 1110px;
	margin: 0 0 22px;
	color: #686872;
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: .04em;
}

.tax-product_cat .yunge-archive-quick-links,
.post-type-archive-product .yunge-archive-quick-links {
	gap: 10px;
	margin-top: 28px;
	align-items: center;
}

.tax-product_cat .yunge-archive-quick-links a,
.post-type-archive-product .yunge-archive-quick-links a {
	min-width: 150px;
	min-height: 58px;
	justify-content: center;
	padding: 0 28px;
	background: #222;
	border: 1px solid #222;
	border-radius: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: .03em;
	text-align: center;
}

.tax-product_cat .yunge-archive-quick-links a:last-child,
.post-type-archive-product .yunge-archive-quick-links a:last-child {
	min-width: 0;
	margin-left: 20px;
	background: transparent;
	border: 0;
	border-bottom: 2px solid #222;
	color: #222;
}

.tax-product_cat .yunge-filter-open,
.post-type-archive-product .yunge-filter-open {
	display: none;
}

.yunge-filter-open__icon {
	position: relative;
	width: 16px;
	height: 14px;
	flex: 0 0 16px;
}

.yunge-filter-open__icon:before {
	content: "";
	position: absolute;
	left: 1px;
	top: 1px;
	width: 14px;
	height: 10px;
	border: 2px solid currentColor;
	border-bottom: 0;
	clip-path: polygon(0 0, 100% 0, 58% 100%, 42% 100%);
}

.yunge-filter-open__icon:after {
	content: "";
	position: absolute;
	left: 7px;
	top: 10px;
	width: 2px;
	height: 4px;
	background: currentColor;
}

.tax-product_cat .yunge-shop-layout,
.post-type-archive-product .yunge-shop-layout {
	width: min(100%, 1440px);
	margin: 0 auto;
	padding: 48px 15px 0;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 45px;
	align-items: start;
}

.tax-product_cat .yunge-filter-panel,
.post-type-archive-product .yunge-filter-panel {
	top: 0;
	padding: 0;
	max-height: none;
	overflow: visible;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.tax-product_cat .yunge-filter-panel section + section,
.post-type-archive-product .yunge-filter-panel section + section {
	padding-top: 18px;
	border-top: 1px solid #ddd;
}

.tax-product_cat .yunge-filter-panel h3,
.post-type-archive-product .yunge-filter-panel h3 {
	margin: 0 0 16px;
	color: #222;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: none;
}

.tax-product_cat .yunge-filter-panel h3:after,
.post-type-archive-product .yunge-filter-panel h3:after {
	content: none;
}

.tax-product_cat .yunge-filter-panel a,
.post-type-archive-product .yunge-filter-panel a {
	padding: 7px 0;
	color: #666772;
	font-size: 15px;
	letter-spacing: .03em;
}

.tax-product_cat .yunge-filter-option,
.post-type-archive-product .yunge-filter-option {
	grid-template-columns: 18px minmax(0, 1fr) 38px;
	min-height: 30px;
	color: #6b6b75;
	font-size: 15px;
	letter-spacing: .03em;
}

.tax-product_cat .yunge-filter-option input,
.post-type-archive-product .yunge-filter-option input {
	width: 16px;
	height: 16px;
	appearance: none;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 50%;
	accent-color: #222;
}

.tax-product_cat .yunge-filter-option input:checked,
.post-type-archive-product .yunge-filter-option input:checked {
	background: radial-gradient(circle, #222 0 45%, #fff 48% 100%);
	border-color: #222;
}

.tax-product_cat .yunge-filter-option em,
.post-type-archive-product .yunge-filter-option em {
	color: #777985;
	text-align: right;
}

.tax-product_cat .yunge-price-filter button,
.post-type-archive-product .yunge-price-filter button,
.tax-product_cat .yunge-filter-panel__actions,
.post-type-archive-product .yunge-filter-panel__actions {
	display: none;
}

.tax-product_cat .yunge-active-filters,
.post-type-archive-product .yunge-active-filters {
	margin: 0 0 18px;
	padding: 0;
	justify-content: space-between;
	color: #666772;
	font-size: 14px;
	letter-spacing: .04em;
}

.tax-product_cat .yunge-active-filters__chips a,
.post-type-archive-product .yunge-active-filters__chips a {
	min-height: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #222;
	font-weight: 700;
}

.tax-product_cat .yunge-active-filters__chips .yunge-active-filters__clear,
.post-type-archive-product .yunge-active-filters__chips .yunge-active-filters__clear {
	color: #222;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.tax-product_cat .yunge-shop-toolbar,
.post-type-archive-product .yunge-shop-toolbar {
	margin: 0 0 54px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #666772;
	font-size: 14px;
	letter-spacing: .04em;
}

.tax-product_cat .yunge-shop-toolbar .woocommerce-result-count,
.post-type-archive-product .yunge-shop-toolbar .woocommerce-result-count {
	margin: 0;
}

.tax-product_cat .yunge-shop-toolbar select,
.post-type-archive-product .yunge-shop-toolbar select {
	height: auto;
	padding: 0 24px 0 4px;
	background: transparent;
	border: 0;
	color: #222;
	font-weight: 900;
}

.tax-product_cat .yunge-shop-content .products,
.post-type-archive-product .yunge-shop-content .products,
.tax-product_cat .yunge-shop-content ul.products,
.post-type-archive-product .yunge-shop-content ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 38px 30px !important;
	align-items: stretch;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.tax-product_cat .yunge-shop-content .products > li,
.post-type-archive-product .yunge-shop-content .products > li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tax-product_cat .yunge-product-card,
.post-type-archive-product .yunge-product-card {
	position: relative;
	display: grid;
	grid-template-rows: 285px 1fr;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
}

.tax-product_cat .yunge-product-card__image,
.post-type-archive-product .yunge-product-card__image {
	z-index: 1;
	height: 285px;
	aspect-ratio: auto;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.tax-product_cat .yunge-product-card__image img,
.post-type-archive-product .yunge-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .13));
}

.tax-product_cat .yunge-product-card__body,
.post-type-archive-product .yunge-product-card__body {
	margin-top: -54px;
	padding: 74px 24px 20px;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: none;
}

.tax-product_cat .yunge-product-card__brand,
.post-type-archive-product .yunge-product-card__brand {
	color: #777985;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: none;
}

.tax-product_cat .yunge-product-card h3,
.post-type-archive-product .yunge-product-card h3 {
	min-height: 86px;
	margin: 0 0 12px;
	color: #222;
	font-size: 17px;
	font-weight: 900;
	line-height: 1.24;
	letter-spacing: .04em;
}

.tax-product_cat .yunge-product-card__tags,
.post-type-archive-product .yunge-product-card__tags {
	display: none;
}

.tax-product_cat .yunge-product-card__attrs,
.post-type-archive-product .yunge-product-card__attrs {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
	color: #777985;
	text-align: center;
}

.tax-product_cat .yunge-product-card__attrs span,
.post-type-archive-product .yunge-product-card__attrs span {
	padding: 0;
	background: transparent;
	color: #777985;
	border-radius: 0;
	font-size: 15px;
	line-height: 1.45;
}

.tax-product_cat .yunge-product-card__bottom,
.post-type-archive-product .yunge-product-card__bottom {
	margin: 14px -24px -20px;
	padding: 18px 24px 20px;
	background: #fff;
	border-top: 1px solid #eee;
}

.tax-product_cat .yunge-product-card__price,
.post-type-archive-product .yunge-product-card__price {
	color: #00a97a;
	font-size: 20px;
	font-weight: 900;
	text-align: right;
}

.tax-product_cat .yunge-product-card .button,
.post-type-archive-product .yunge-product-card .button {
	min-height: 42px;
	background: #b8872d;
	border-radius: 4px;
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: .03em;
}

@media (max-width: 900px) {
	.tax-product_cat .yunge-shop-archive,
	.post-type-archive-product .yunge-shop-archive {
		background: #fff;
	}

	.tax-product_cat .yunge-archive-heading,
	.post-type-archive-product .yunge-archive-heading {
		padding: 48px 15px 30px;
		text-align: center;
	}

	.tax-product_cat .yunge-archive-heading h1,
	.post-type-archive-product .yunge-archive-heading h1 {
		max-width: 330px;
		margin: 0 auto 24px;
		font-size: 29px;
	}

	.tax-product_cat .yunge-archive-heading .term-description,
	.post-type-archive-product .yunge-archive-heading .term-description {
		max-width: 350px;
		margin: 0 auto 22px;
		font-size: 16px;
		line-height: 1.75;
	}

	.tax-product_cat .yunge-archive-quick-links,
	.post-type-archive-product .yunge-archive-quick-links {
		display: grid;
		gap: 10px;
		margin-top: 28px;
	}

	.tax-product_cat .yunge-archive-quick-links a,
	.post-type-archive-product .yunge-archive-quick-links a,
	.tax-product_cat .yunge-archive-quick-links a:last-child,
	.post-type-archive-product .yunge-archive-quick-links a:last-child {
		width: 100%;
		min-height: 58px;
		margin: 0;
		background: #222;
		border: 1px solid #222;
		color: #fff;
		text-decoration: none;
	}

	.tax-product_cat .yunge-filter-open,
	.post-type-archive-product .yunge-filter-open {
		/* 手机端参考目标站：默认只露出筛选按钮，筛选项点击后再从左侧抽屉出现。 */
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 7px;
		width: fit-content;
		margin: 0 0 20px;
		padding: 11px 14px;
		background: #222;
		color: #fff;
		border-radius: 3px;
		font-size: 15px;
		font-weight: 900;
	}

	.tax-product_cat .yunge-shop-layout,
	.post-type-archive-product .yunge-shop-layout {
		display: block;
		padding: 28px 15px 0;
		background: #ececec;
	}

	.tax-product_cat .yunge-filter-panel,
	.post-type-archive-product .yunge-filter-panel {
		/* 分类页移动端覆盖回抽屉模式，避免筛选表单在商品前整段展开。 */
		position: fixed;
		z-index: 10002;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(86vw, 340px);
		max-height: none;
		padding: 18px;
		overflow-y: auto;
		background: #fff;
		border: 0;
		border-radius: 0;
		transform: translateX(-105%) !important;
		transition: transform .22s ease;
		-webkit-overflow-scrolling: touch;
	}

	.tax-product_cat.yunge-filter-active .yunge-filter-panel,
	.post-type-archive-product.yunge-filter-active .yunge-filter-panel {
		transform: translateX(0) !important;
	}

	.tax-product_cat .yunge-filter-close,
	.post-type-archive-product .yunge-filter-close {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 100%;
		margin: 0 0 18px;
		padding: 11px;
		background: #222;
		border: 1px solid #222;
		border-radius: 3px;
		color: #fff;
		font-weight: 900;
	}

	.tax-product_cat .yunge-filter-backdrop,
	.post-type-archive-product .yunge-filter-backdrop {
		display: none !important;
	}

	.tax-product_cat.yunge-filter-active .yunge-filter-backdrop,
	.post-type-archive-product.yunge-filter-active .yunge-filter-backdrop {
		display: block !important;
	}

	.tax-product_cat .yunge-filter-panel section + section,
	.post-type-archive-product .yunge-filter-panel section + section {
		padding-top: 16px;
	}

	.tax-product_cat .yunge-active-filters,
	.post-type-archive-product .yunge-active-filters,
	.tax-product_cat .yunge-shop-toolbar,
	.post-type-archive-product .yunge-shop-toolbar {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		margin-top: 24px;
	}

	.tax-product_cat .yunge-shop-content .products,
	.post-type-archive-product .yunge-shop-content .products,
	.tax-product_cat .yunge-shop-content ul.products,
	.post-type-archive-product .yunge-shop-content ul.products {
		grid-template-columns: 1fr !important;
		gap: 26px !important;
	}

	.tax-product_cat .yunge-product-card,
	.post-type-archive-product .yunge-product-card {
		grid-template-rows: 360px 1fr;
	}

	.tax-product_cat .yunge-product-card__image,
	.post-type-archive-product .yunge-product-card__image {
		height: 360px;
	}

	.tax-product_cat .yunge-product-card__body,
	.post-type-archive-product .yunge-product-card__body {
		padding-right: 22px;
		padding-left: 22px;
	}
}

/* 我的订单列表操作列：View 与申请售后按钮改为竖排，避免同一行拥挤重叠。 */
.woocommerce-orders-table__cell-order-actions .woocommerce-button {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	text-align: center;
	box-sizing: border-box;
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button:last-child {
	margin-bottom: 0;
}
