/* Construct breadcrumb: theme CSS already prints "/" via li:after — hide Position sep lis */
.breadcrumb-row ul li.xy-crumb-sep {
	display: none !important;
}

/* Shop top promo (add-product) — full-width above sidebar */
.xy-product-list-section .xy-shop-promo .add-product .dez-media {
	position: relative;
	min-height: 220px;
	overflow: hidden;
}

.xy-product-list-section .xy-shop-promo .add-product .dez-media > img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
}

.xy-product-list-section .xy-shop-promo .add-product .dez-info-has {
	background: rgba(0, 0, 0, 0.35);
}

.xy-product-list-section .xy-shop-promo .add-product .dez-info-has h3,
.xy-product-list-section .xy-shop-promo .add-product .dez-info-has h2 {
	color: #fff;
}

.xy-product-list-section .xy-shop-promo .add-product del {
	opacity: 0.75;
	font-size: 0.75em;
	font-weight: 400;
}

/* News / Blog list (Construct blog-md) */
.xy-news-list-section.content-inner {
	padding-top: 50px;
	padding-bottom: 60px;
}

.xy-news-list-section .blog-post.blog-md {
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid #eee;
}

.xy-news-list-section .blog-post.blog-md .dez-post-media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.xy-news-list-section .pagination-bx .pagination {
	display: inline-block;
	float: none;
	margin: 0;
	padding: 0;
}

.xy-news-list-section .pagination-bx .pagination > .page-numbers {
	display: inline-block;
	float: none;
	min-width: 40px;
	height: 40px;
	line-height: 38px;
	padding: 0 12px;
	margin: 0 3px;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #767676;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	vertical-align: middle;
	box-sizing: border-box;
}

.xy-news-list-section .pagination-bx .pagination > .page-numbers > span {
	display: inline;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	line-height: inherit;
	min-width: 0;
	height: auto;
	font: inherit;
	color: inherit;
}

.xy-news-list-section .pagination-bx .pagination > .page-numbers.current,
.xy-news-list-section .pagination-bx .pagination > a.page-numbers:hover {
	border-color: var(--xy-primary, #efbb20);
	background: var(--xy-primary, #efbb20);
	color: #222;
}

/* Construct product list — sidebar + cards polish */
.xy-product-list-section.content-inner {
	padding-top: 50px;
	padding-bottom: 60px;
}

.xy-product-side .widget {
	border: 1px solid #e9e9e9;
	padding: 22px 20px 18px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.xy-product-side .widget-title {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 22px;
	padding-bottom: 10px;
}

.xy-product-side .widget-title:after {
	bottom: -2px;
	height: 3px;
	width: 42px;
	background: var(--xy-primary, #efbb20);
}

.xy-product-side .search-bx .form-control {
	height: 46px;
	border-color: #e3e3e3;
	border-radius: 0;
}

.xy-product-side .search-bx .site-button {
	height: 46px;
	min-width: 48px;
	border-radius: 0;
	padding: 0 14px;
}

/* Product Categories — one row each, click arrow to expand */
.xy-product-side .xy-cat-widget {
	overflow: visible;
}

.xy-product-side .xy-cat-nav,
.xy-product-side .xy-cat-sub {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}

.xy-product-side .xy-cat-nav > .xy-cat-item,
.xy-product-side .xy-cat-sub > .xy-cat-item {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	text-align: left !important;
}

.xy-product-side .xy-cat-widget,
.xy-product-side .xy-cat-nav,
.xy-product-side .xy-cat-row,
.xy-product-side .xy-cat-link {
	text-align: left !important;
}

.xy-product-side .xy-cat-nav > .xy-cat-item {
	border-bottom: 1px solid rgba(102, 102, 102, 0.12);
}

.xy-product-side .xy-cat-nav > .xy-cat-item:last-child {
	border-bottom: 0;
}

/* 子分类不要横线，避免穿过文字 */
.xy-product-side .xy-cat-sub,
.xy-product-side .xy-cat-sub > .xy-cat-item,
.xy-product-side .widget_categories .xy-cat-sub li {
	border: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.xy-product-side .xy-cat-nav > .xy-cat-item:before,
.xy-product-side .xy-cat-sub > .xy-cat-item:before,
.xy-product-side .widget_categories ul li:before {
	content: none !important;
	display: none !important;
}

.xy-product-side .xy-cat-row {
	display: flex;
	align-items: stretch;
	width: 100%;
	border-left: 3px solid transparent;
	transition: background 0.2s, border-color 0.2s;
}

.xy-product-side .xy-cat-nav > .xy-cat-item.is-active > .xy-cat-row,
.xy-product-side .xy-cat-nav > .xy-cat-item.is-open > .xy-cat-row {
	background: transparent;
	border-left-color: var(--xy-primary, #efbb20);
}

.xy-product-side .xy-cat-nav > .xy-cat-item > .xy-cat-row:hover {
	background: transparent;
	border-left-color: var(--xy-primary, #efbb20);
}

.xy-product-side .xy-cat-nav > .xy-cat-item > .xy-cat-row > .xy-cat-link {
	flex: 1 1 auto;
	display: block;
	min-width: 0;
	padding: 12px 6px 12px 14px;
	color: #555;
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
}

.xy-product-side .xy-cat-nav > .xy-cat-item > .xy-cat-row > .xy-cat-link:before {
	content: none !important;
	display: none !important;
}

.xy-product-side .xy-cat-nav > .xy-cat-item.is-active > .xy-cat-row > .xy-cat-link,
.xy-product-side .xy-cat-nav > .xy-cat-item.is-open > .xy-cat-row > .xy-cat-link {
	color: #222;
	font-weight: 600;
}

.xy-product-side .xy-cat-toggle {
	flex: 0 0 36px;
	width: 36px;
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	cursor: pointer;
	position: relative;
	color: #aaa;
}

.xy-product-side .xy-cat-toggle:hover {
	color: #333;
	background: rgba(0, 0, 0, 0.03);
}

.xy-product-side .xy-cat-toggle:after {
	content: "\f107";
	font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 14px;
	line-height: 1;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.2s;
}

.xy-product-side .xy-cat-item.is-open > .xy-cat-row > .xy-cat-toggle:after {
	transform: translate(-50%, -50%) rotate(180deg);
}

.xy-product-side .xy-cat-sub {
	display: none;
	padding: 2px 8px 8px 14px !important;
	margin: 0 !important;
	background: transparent;
	width: 100%;
	box-sizing: border-box;
	border-left: 0;
}

.xy-product-side .xy-cat-nav > .xy-cat-item.is-open > .xy-cat-sub {
	display: block !important;
}

.xy-product-side .xy-cat-sub > .xy-cat-item {
	margin: 0 !important;
}

.xy-product-side .xy-cat-sub > .xy-cat-item > .xy-cat-link,
.xy-product-side .xy-cat-sub > .xy-cat-item > a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 12px 8px 14px;
	margin: 0;
	color: #666;
	font-size: 13px;
	line-height: 1.35;
	position: relative;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	transition: color 0.15s;
}

.xy-product-side .xy-cat-sub > .xy-cat-item > .xy-cat-link:before,
.xy-product-side .xy-cat-sub > .xy-cat-item > a:before {
	content: none !important;
	display: none !important;
}

.xy-product-side .xy-cat-sub > .xy-cat-item > .xy-cat-link:hover,
.xy-product-side .xy-cat-sub > .xy-cat-item > a:hover {
	color: #222;
	background: transparent !important;
}

.xy-product-side .xy-cat-sub > .xy-cat-item.is-active > .xy-cat-link {
	color: #222;
	font-weight: 600;
	background: transparent !important;
	box-shadow: inset 3px 0 0 var(--xy-primary, #efbb20);
}

.xy-product-side .recent-posts-entry .dez-post-media {
	width: 72px;
	float: left;
	margin-right: 12px;
}

.xy-product-side .recent-posts-entry .dez-post-media img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	display: block;
}

.xy-product-side .recent-posts-entry .post-title {
	font-size: 13px;
	line-height: 1.35;
	margin: 0 0 6px;
}

.xy-product-side .recent-posts-entry .widget-post {
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid #efefef;
}

.xy-product-side .recent-posts-entry .widget-post:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.xy-product-side .tagcloud a {
	display: inline-block;
	margin: 0 6px 8px 0;
	padding: 6px 12px;
	border: 1px solid #e1e1e1;
	color: #666;
	font-size: 12px;
	line-height: 1.2;
	text-transform: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.xy-product-side .tagcloud a:hover {
	border-color: var(--xy-primary, #efbb20);
	color: #222;
	background: #fffaf0;
}

.xy-product-list-section .xy-plist-head h2 {
	font-size: 28px;
	font-weight: 700;
	color: #2c2c2c;
	letter-spacing: 0.02em;
}

.xy-product-list-section .product-item {
	display: flex;
}

.xy-product-list-section .product-item .dez-box {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.xy-product-list-section .product-item:hover .dez-box {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.xy-product-list-section .product-item .dez-thum-bx {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f7f7f7;
}

.xy-product-list-section .product-item .dez-thum-bx > a {
	display: block;
	height: 100%;
}

.xy-product-list-section .product-item .dez-thum-bx img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	transition: transform 0.4s ease;
}

.xy-product-list-section .product-item .dez-info {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 150px;
}

.xy-product-list-section .product-item .dez-title {
	font-size: 14px;
	line-height: 1.4;
	min-height: calc(1.4em * 2);
	max-height: calc(1.4em * 2);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-bottom: 10px !important;
}

.xy-product-list-section .product-item .dez-title a {
	color: #333;
}

.xy-product-list-section .product-item .dez-title a:hover {
	color: var(--xy-primary, #efbb20);
}

.xy-product-list-section .product-item .dez-info > h2 {
	font-size: 20px;
	font-weight: 700;
	color: #222;
	margin-top: auto;
}

.xy-product-list-section .product-item .dez-info .m-t20 {
	margin-top: 16px !important;
	width: 100%;
}

.xy-product-list-section .product-item .dez-info .site-button {
	display: inline-block;
	min-width: 140px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.xy-product-list-section .product-item .overlay-icon a i {
	width: 38px;
	height: 38px;
	line-height: 38px;
	border-radius: 2px;
}

.xy-product-list-section .pagination-bx {
	text-align: center;
}

.xy-product-list-section .pagination-bx .pagination {
	display: inline-block;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.xy-product-list-section .pagination-bx .pagination > .page-numbers {
	display: inline-block;
	float: none;
	min-width: 40px;
	height: 40px;
	line-height: 38px;
	padding: 0 12px;
	margin: 0 3px;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #767676;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	vertical-align: middle;
	box-sizing: border-box;
}

.xy-product-list-section .pagination-bx .pagination > .page-numbers > span {
	display: inline;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	line-height: inherit;
	min-width: 0;
	height: auto;
	font: inherit;
	color: inherit;
}

.xy-product-list-section .pagination-bx .pagination > .page-numbers.current,
.xy-product-list-section .pagination-bx .pagination > a.page-numbers:hover {
	border-color: var(--xy-primary, #efbb20);
	background: var(--xy-primary, #efbb20);
	color: #222;
}

@media (max-width: 767px) {
	.xy-product-list-section.content-inner {
		padding-top: 30px;
	}

	.xy-product-list-section .xy-plist-head h2 {
		font-size: 22px;
	}

	.xy-product-side {
		margin-bottom: 30px;
	}
}
