/* ==========================================================================
   WorkStyle — Shop / Category archive (modern e-commerce)
   Matches homepage: full-bleed shell, --wds-* gutters, spare product cards.
   Loaded only on shop + product taxonomy pages.
   ========================================================================== */

:root {
	--wds-shop-gutter: 53px;
	--wds-shop-gap: 28px;
	--wds-shop-sidebar: 260px;
	--wds-shop-media-bg: #F4F4F5;
	--wds-shop-radius: 0;
}

@media (max-width: 1199.98px) {
	:root {
		--wds-shop-gutter: clamp(18px, 2.5vw, 48px);
		--wds-shop-gap: 20px;
	}
}

@media (max-width: 767.98px) {
	:root {
		--wds-shop-gutter: clamp(16px, 4.5vw, 20px);
		--wds-shop-gap: 16px;
	}
}

/* --------------------------------------------------------------------------
   Full-width shell (home parity)
   -------------------------------------------------------------------------- */

body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag,
body.tax-product_brand,
body.post-type-archive-product,
body.woodmart-archive-shop {
	--wd-main-bgcolor: #FFFFFF;
	background-color: #FFFFFF !important;
	background-image: none !important;
}

body.woocommerce-shop .wd-page-wrapper,
body.tax-product_cat .wd-page-wrapper,
body.tax-product_tag .wd-page-wrapper,
body.tax-product_brand .wd-page-wrapper,
body.post-type-archive-product .wd-page-wrapper,
body.woodmart-archive-shop .wd-page-wrapper,
body.woocommerce-shop .main-page-wrapper,
body.tax-product_cat .main-page-wrapper,
body.tax-product_tag .main-page-wrapper,
body.post-type-archive-product .main-page-wrapper,
body.woodmart-archive-shop .main-page-wrapper,
body.woocommerce-shop .wd-page-content,
body.tax-product_cat .wd-page-content,
body.post-type-archive-product .wd-page-content,
body.woodmart-archive-shop .wd-page-content,
body.woocommerce-shop .wd-content-area,
body.tax-product_cat .wd-content-area,
body.post-type-archive-product .wd-content-area,
body.woodmart-archive-shop .wd-content-area,
body.woocommerce-shop .site-content,
body.tax-product_cat .site-content,
body.post-type-archive-product .site-content,
body.woodmart-archive-shop .site-content {
	background-color: #FFFFFF !important;
	background-image: none !important;
}

body.woocommerce-shop .container.main-wrapper,
body.tax-product_cat .container.main-wrapper,
body.tax-product_tag .container.main-wrapper,
body.tax-product_brand .container.main-wrapper,
body.post-type-archive-product .container.main-wrapper,
body.woodmart-archive-shop .container.main-wrapper,
body.woocommerce-shop .wd-content-layout,
body.tax-product_cat .wd-content-layout,
body.tax-product_tag .wd-content-layout,
body.post-type-archive-product .wd-content-layout,
body.woodmart-archive-shop .wd-content-layout,
body.woocommerce-shop .content-layout-wrapper,
body.tax-product_cat .content-layout-wrapper,
body.post-type-archive-product .content-layout-wrapper,
body.woodmart-archive-shop .content-layout-wrapper {
	max-width: none !important;
	width: 100% !important;
	padding-inline: var(--wds-shop-gutter) !important;
	padding-block: 40px 64px !important;
	box-sizing: border-box;
}

@media (max-width: 1024px) {
	body.woocommerce-shop .wd-content-layout,
	body.tax-product_cat .wd-content-layout,
	body.post-type-archive-product .wd-content-layout,
	body.woodmart-archive-shop .wd-content-layout,
	body.woocommerce-shop .content-layout-wrapper,
	body.tax-product_cat .content-layout-wrapper,
	body.post-type-archive-product .content-layout-wrapper,
	body.woodmart-archive-shop .content-layout-wrapper {
		padding-block: 28px 48px !important;
	}
}

/* Content + sidebar grid — breathing room, home gutters */
body.woodmart-archive-shop .wd-content-layout,
body.woocommerce-shop .wd-content-layout,
body.tax-product_cat .wd-content-layout,
body.post-type-archive-product .wd-content-layout {
	column-gap: clamp(28px, 3vw, 48px) !important;
	row-gap: 32px !important;
}

/* Prefer a narrower filter rail so products breathe on wide screens */
@media (min-width: 1200px) {
	body.woodmart-archive-shop.wd-sidebar-enabled .wd-content-layout,
	body.woodmart-archive-shop .wd-content-layout:has(> .wd-sidebar) {
		grid-template-columns: var(--wds-shop-sidebar) minmax(0, 1fr) !important;
	}

	body.woodmart-archive-shop .wd-sidebar.wd-grid-col,
	body.woodmart-archive-shop .wd-content-area.wd-grid-col {
		grid-column: auto !important;
		width: auto !important;
		max-width: none !important;
	}
}

body.woodmart-archive-shop .wd-content-area,
body.woocommerce-shop .wd-content-area,
body.tax-product_cat .wd-content-area,
body.post-type-archive-product .wd-content-area {
	min-width: 0;
}

/* --------------------------------------------------------------------------
   Category title / description / breadcrumbs
   -------------------------------------------------------------------------- */

body.woocommerce-shop .page-title,
body.tax-product_cat .page-title,
body.post-type-archive-product .page-title,
body.woodmart-archive-shop .page-title,
body.woocommerce-shop .title-wrapper,
body.tax-product_cat .title-wrapper,
body.woodmart-archive-shop .title-wrapper {
	margin-bottom: 8px;
}

body.woocommerce-shop .entry-title,
body.tax-product_cat .entry-title,
body.woocommerce-shop .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.woodmart-archive-shop .woocommerce-products-header .title,
body.tax-product_cat .woocommerce-products-header .title,
body.woodmart-archive-shop .page-title .entry-title,
body.tax-product_cat .page-title .entry-title,
body.woodmart-archive-shop .title-wrapper .title,
body.tax-product_cat .title-wrapper .title {
	font-family: var(--wds-font-heading, 'Space Grotesk', sans-serif) !important;
	font-weight: 500 !important;
	font-size: clamp(28px, 3vw, 36px) !important;
	line-height: 1.2 !important;
	color: var(--wds-color-secondary, #1F2641) !important;
	letter-spacing: -0.02em;
	margin: 0 0 8px !important;
}

body.woocommerce-shop .term-description,
body.tax-product_cat .term-description,
body.woocommerce-shop .page-description,
body.tax-product_cat .page-description,
body.woodmart-archive-shop .term-description,
body.woodmart-archive-shop .page-description {
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 15px !important;
	line-height: 1.55 !important;
	color: var(--wds-color-text-muted, #6B6B76) !important;
	margin: 0 0 20px !important;
	max-width: 52em;
}

body.woocommerce-shop .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.woodmart-archive-shop .woocommerce-breadcrumb,
body.woocommerce-shop .wd-breadcrumbs,
body.tax-product_cat .wd-breadcrumbs,
body.woodmart-archive-shop .wd-breadcrumbs {
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 13px !important;
	color: var(--wds-color-text-muted, #6B6B76) !important;
	margin: 0 !important;
}

body.woocommerce-shop .woocommerce-breadcrumb a,
body.tax-product_cat .woocommerce-breadcrumb a,
body.woodmart-archive-shop .woocommerce-breadcrumb a {
	color: var(--wds-color-text-muted, #6B6B76) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

body.woocommerce-shop .woocommerce-breadcrumb a:hover,
body.tax-product_cat .woocommerce-breadcrumb a:hover,
body.woodmart-archive-shop .woocommerce-breadcrumb a:hover {
	color: var(--wds-color-primary, #6A4972) !important;
}

/* --------------------------------------------------------------------------
   Shop toolbar (Show / view / sort)
   -------------------------------------------------------------------------- */

body.woocommerce-shop .shop-loop-head,
body.tax-product_cat .shop-loop-head,
body.post-type-archive-product .shop-loop-head,
body.woodmart-archive-shop .shop-loop-head {
	align-items: flex-end;
	gap: 16px 24px;
	margin-bottom: 28px !important;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wds-color-border, #E5E5EA);
}

/* When the sidebar collapses, core switches .shop-loop-head to
   flex-direction: column -- align-items then controls horizontal
   alignment, so the flex-end above must not win there or the
   breadcrumb / "Show sidebar" button get pushed to the right. */
@media (min-width: 1025px) {
	.wd-sidebar-hidden-lg .shop-loop-head {
		align-items: stretch !important;
	}
}
@media (min-width: 769px) and (max-width: 1024px) {
	.wd-sidebar-hidden-md-sm .shop-loop-head {
		align-items: stretch !important;
	}
}
@media (max-width: 768.98px) {
	.wd-sidebar-hidden-sm .shop-loop-head {
		align-items: stretch !important;
	}
}

body.woocommerce-shop .wd-shop-tools,
body.tax-product_cat .wd-shop-tools,
body.woodmart-archive-shop .wd-shop-tools {
	gap: 12px 24px;
}

body.woocommerce-shop .wd-products-per-page,
body.tax-product_cat .wd-products-per-page,
body.woocommerce-shop .wd-products-shop-view,
body.tax-product_cat .wd-products-shop-view,
body.woocommerce-shop .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering {
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 13px !important;
	color: var(--wds-color-text-muted, #6B6B76) !important;
}

body.woocommerce-shop .wd-products-per-page a,
body.tax-product_cat .wd-products-per-page a,
body.woocommerce-shop .wd-products-shop-view a,
body.tax-product_cat .wd-products-shop-view a {
	color: var(--wds-color-text-muted, #6B6B76) !important;
	transition: color 0.2s ease;
}

body.woocommerce-shop .wd-products-per-page a.current-variation,
body.tax-product_cat .wd-products-per-page a.current-variation,
body.woocommerce-shop .wd-products-per-page a:hover,
body.tax-product_cat .wd-products-per-page a:hover,
body.woocommerce-shop .wd-products-shop-view a.current-variation,
body.tax-product_cat .wd-products-shop-view a.current-variation,
body.woocommerce-shop .wd-products-shop-view a:hover,
body.tax-product_cat .wd-products-shop-view a:hover {
	color: var(--wds-color-secondary, #1F2641) !important;
}

body.woocommerce-shop .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.woodmart-archive-shop .woocommerce-ordering select {
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 13px !important;
	color: var(--wds-color-secondary, #1F2641) !important;
	border: 1px solid var(--wds-color-border, #E5E5EA) !important;
	border-radius: var(--wds-shop-radius) !important;
	padding: 8px 32px 8px 12px !important;
	min-height: 40px;
	background-color: #FFFFFF !important;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Product grid
   -------------------------------------------------------------------------- */

body.woocommerce-shop .products.wd-products,
body.tax-product_cat .products.wd-products,
body.post-type-archive-product .products.wd-products,
body.woodmart-archive-shop .products.wd-products {
	--wd-gap: var(--wds-shop-gap) !important;
	--wd-gap-md: 20px !important;
	--wd-gap-sm: 16px !important;
	row-gap: calc(var(--wds-shop-gap) + 12px) !important;
}

/* --------------------------------------------------------------------------
   Product cards — homepage .wds-product-card language
   -------------------------------------------------------------------------- */

body.woocommerce-shop .wd-product,
body.tax-product_cat .wd-product,
body.post-type-archive-product .wd-product,
body.woodmart-archive-shop .wd-product {
	text-align: left !important;
}

body.woocommerce-shop .wd-product .wd-product-wrapper,
body.tax-product_cat .wd-product .wd-product-wrapper,
body.post-type-archive-product .wd-product .wd-product-wrapper,
body.woodmart-archive-shop .wd-product .wd-product-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
}

body.woocommerce-shop .wd-product .wd-product-thumb,
body.tax-product_cat .wd-product .wd-product-thumb,
body.post-type-archive-product .wd-product .wd-product-thumb,
body.woodmart-archive-shop .wd-product .wd-product-thumb {
	position: relative;
	aspect-ratio: 1 / 1.14;
	overflow: hidden;
	background: var(--wds-shop-media-bg) !important;
	border-radius: var(--wds-shop-radius);
	margin-bottom: 14px !important;
}

body.woocommerce-shop .wd-product .wd-product-thumb a.product-image-link,
body.tax-product_cat .wd-product .wd-product-thumb a.product-image-link,
body.post-type-archive-product .wd-product .wd-product-thumb a.product-image-link,
body.woodmart-archive-shop .wd-product .wd-product-thumb a.product-image-link,
body.woocommerce-shop .wd-product .wd-product-img-link,
body.tax-product_cat .wd-product .wd-product-img-link,
body.post-type-archive-product .wd-product .wd-product-img-link,
body.woodmart-archive-shop .wd-product .wd-product-img-link {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: var(--wds-shop-media-bg);
}

body.woocommerce-shop .wd-product .wd-product-thumb img,
body.tax-product_cat .wd-product .wd-product-thumb img,
body.post-type-archive-product .wd-product .wd-product-thumb img,
body.woodmart-archive-shop .wd-product .wd-product-thumb img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center center !important;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (hover: hover) {
	body.woocommerce-shop .wd-product:hover .wd-product-thumb img,
	body.tax-product_cat .wd-product:hover .wd-product-thumb img,
	body.post-type-archive-product .wd-product:hover .wd-product-thumb img,
	body.woodmart-archive-shop .wd-product:hover .wd-product-thumb img {
		transform: scale(1.04) !important;
	}
}

/* Soften / de-clutter hover chrome — keep usable, less busy */
body.woocommerce-shop .wd-product .wd-buttons,
body.tax-product_cat .wd-product .wd-buttons,
body.woodmart-archive-shop .wd-product .wd-buttons {
	gap: 6px;
	top: 10px !important;
	inset-inline-end: 10px !important;
}

body.woocommerce-shop .wd-product .wd-buttons > *,
body.tax-product_cat .wd-product .wd-buttons > *,
body.woodmart-archive-shop .wd-product .wd-buttons > * {
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

@media (hover: hover) {
	body.woocommerce-shop .wd-product:hover .wd-buttons > *,
	body.tax-product_cat .wd-product:hover .wd-buttons > *,
	body.woodmart-archive-shop .wd-product:hover .wd-buttons > * {
		opacity: 1;
		transform: translateY(0);
	}
}

body.woocommerce-shop .wd-product .wd-action-btn > a,
body.tax-product_cat .wd-product .wd-action-btn > a,
body.woodmart-archive-shop .wd-product .wd-action-btn > a {
	background: #FFFFFF !important;
	border: 1px solid var(--wds-color-border, #E5E5EA) !important;
	border-radius: var(--wds-shop-radius) !important;
	box-shadow: none !important;
	color: var(--wds-color-secondary, #1F2641) !important;
}

body.woocommerce-shop .wd-product .wd-action-btn > a:hover,
body.tax-product_cat .wd-product .wd-action-btn > a:hover {
	background: var(--wds-color-primary, #6A4972) !important;
	border-color: var(--wds-color-primary, #6A4972) !important;
	color: #FFFFFF !important;
}

/* Hide Compare on shop / category product cards (keep Quick view + Wishlist). */
body.woocommerce-shop .wd-product .wd-compare-btn,
body.tax-product_cat .wd-product .wd-compare-btn,
body.post-type-archive-product .wd-product .wd-compare-btn,
body.woodmart-archive-shop .wd-product .wd-compare-btn,
body.woocommerce-shop .wd-product .wd-compare-icon,
body.tax-product_cat .wd-product .wd-compare-icon,
body.post-type-archive-product .wd-product .wd-compare-icon,
body.woodmart-archive-shop .wd-product .wd-compare-icon {
	display: none !important;
}

/* Hide “Select options” overlay / replace add button on grid for cleaner cards */
body.woocommerce-shop .wd-product .wd-add-btn,
body.tax-product_cat .wd-product .wd-add-btn,
body.post-type-archive-product .wd-product .wd-add-btn,
body.woodmart-archive-shop .wd-product .wd-add-btn,
body.woocommerce-shop .wd-product .hover-content,
body.tax-product_cat .wd-product .hover-content {
	display: none !important;
}

body.woocommerce-shop .wd-product .quick-shop-wrapper,
body.tax-product_cat .wd-product .quick-shop-wrapper {
	display: none !important;
}

/* Swatches under image — senior grid tokens (readable, tappable, crisp) */
body.woocommerce-shop .wd-product .wd-swatches-product,
body.tax-product_cat .wd-product .wd-swatches-product,
body.tax-product_tag .wd-product .wd-swatches-product,
body.post-type-archive-product .wd-product .wd-swatches-product,
body.woodmart-archive-shop .wd-product .wd-swatches-product,
body.woocommerce-shop .wd-product .swatches-on-grid,
body.tax-product_cat .wd-product .swatches-on-grid,
body.woodmart-archive-shop .wd-product .swatches-on-grid {
	--wd-swatch-size: 24px;
	--wd-swatch-w: 24px;
	--wd-swatch-h: 24px;
	--wd-swatch-h-sp: 8px;
	--wd-swatch-v-sp: 8px;
	justify-content: flex-start !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin: 0 0 12px !important;
	min-height: 24px !important;
}

body.woocommerce-shop .wd-product .wd-swatch,
body.tax-product_cat .wd-product .wd-swatch,
body.tax-product_tag .wd-product .wd-swatch,
body.post-type-archive-product .wd-product .wd-swatch,
body.woodmart-archive-shop .wd-product .wd-swatch {
	--wd-swatch-w: 24px !important;
	--wd-swatch-h: 24px !important;
	--wd-swatch-size: 24px !important;
	box-sizing: border-box !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	min-height: 24px !important;
	border-radius: 0 !important;
	border: 1px solid rgba(31, 38, 65, 0.14) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	cursor: pointer;
}

body.woocommerce-shop .wd-product .wd-swatch .wd-swatch-bg,
body.tax-product_cat .wd-product .wd-swatch .wd-swatch-bg,
body.woodmart-archive-shop .wd-product .wd-swatch .wd-swatch-bg {
	border-radius: 0 !important;
}

body.woocommerce-shop .wd-product .wd-swatch:hover,
body.tax-product_cat .wd-product .wd-swatch:hover,
body.woodmart-archive-shop .wd-product .wd-swatch:hover,
body.woocommerce-shop .wd-product .wd-swatch:focus-visible,
body.tax-product_cat .wd-product .wd-swatch:focus-visible {
	border-color: rgba(31, 38, 65, 0.38) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.4),
		0 0 0 1px rgba(31, 38, 65, 0.12);
	transform: translateY(-1px);
}

body.woocommerce-shop .wd-product .wd-swatch.wd-active,
body.tax-product_cat .wd-product .wd-swatch.wd-active,
body.woodmart-archive-shop .wd-product .wd-swatch.wd-active,
body.woocommerce-shop .wd-product .wd-swatch-wrap.wd-active .wd-swatch,
body.tax-product_cat .wd-product .wd-swatch-wrap.wd-active .wd-swatch {
	border-color: var(--wds-color-secondary, #1f2641) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.45),
		0 0 0 1px var(--wds-color-secondary, #1f2641);
}

/* Light swatches (white/cream) need a clearer edge */
body.woocommerce-shop .wd-product .wd-swatch.wd-bg[style*="background-color: #fff"],
body.woocommerce-shop .wd-product .wd-swatch.wd-bg[style*="background-color:#fff"],
body.woocommerce-shop .wd-product .wd-swatch.wd-bg[style*="background-color: #FFF"],
body.woocommerce-shop .wd-product .wd-swatch.wd-bg[style*="background-color:#FFF"],
body.woocommerce-shop .wd-product .wd-swatch.wd-bg[style*="background-color: white"],
body.tax-product_cat .wd-product .wd-swatch.wd-bg[style*="background-color: #fff"],
body.tax-product_cat .wd-product .wd-swatch.wd-bg[style*="background-color:#fff"],
body.tax-product_cat .wd-product .wd-swatch.wd-bg[style*="background-color: #FFF"],
body.tax-product_cat .wd-product .wd-swatch.wd-bg[style*="background-color:#FFF"] {
	border-color: rgba(31, 38, 65, 0.22) !important;
}

@media (max-width: 768px) {
	body.woocommerce-shop .wd-product .wd-swatches-product,
	body.tax-product_cat .wd-product .wd-swatches-product,
	body.woodmart-archive-shop .wd-product .wd-swatches-product,
	body.woocommerce-shop .wd-product .swatches-on-grid,
	body.tax-product_cat .wd-product .swatches-on-grid {
		--wd-swatch-size: 22px;
		--wd-swatch-w: 22px;
		--wd-swatch-h: 22px;
		gap: 7px !important;
		min-height: 22px !important;
	}

	body.woocommerce-shop .wd-product .wd-swatch,
	body.tax-product_cat .wd-product .wd-swatch,
	body.woodmart-archive-shop .wd-product .wd-swatch {
		--wd-swatch-w: 22px !important;
		--wd-swatch-h: 22px !important;
		width: 22px !important;
		height: 22px !important;
		min-width: 22px !important;
		min-height: 22px !important;
	}
}

/* Title + price */
body.woocommerce-shop .wd-product .wd-entities-title,
body.tax-product_cat .wd-product .wd-entities-title,
body.woocommerce-shop .wd-product .woocommerce-loop-product__title,
body.tax-product_cat .wd-product .woocommerce-loop-product__title,
body.woodmart-archive-shop .wd-product .wd-entities-title {
	font-family: var(--wds-font-heading, 'Space Grotesk', sans-serif) !important;
	font-weight: 500 !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	color: var(--wds-color-secondary, #1F2641) !important;
	margin: 0 0 4px !important;
	text-align: left !important;
}

body.woocommerce-shop .wd-product .wd-entities-title a,
body.tax-product_cat .wd-product .wd-entities-title a,
body.woocommerce-shop .wd-product .woocommerce-loop-product__title a,
body.tax-product_cat .wd-product .woocommerce-loop-product__title a {
	color: inherit !important;
	text-decoration: none !important;
}

body.woocommerce-shop .wd-product .wd-entities-title a:hover,
body.tax-product_cat .wd-product .wd-entities-title a:hover {
	color: var(--wds-color-primary, #6A4972) !important;
}

body.woocommerce-shop .wd-product .price,
body.tax-product_cat .wd-product .price,
body.post-type-archive-product .wd-product .price,
body.woodmart-archive-shop .wd-product .price {
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: var(--wds-color-text-muted, #6B6B76) !important;
	margin: 0 !important;
	text-align: left !important;
}

body.woocommerce-shop .wd-product .price del,
body.tax-product_cat .wd-product .price del {
	opacity: 0.55;
	margin-inline-end: 6px;
}

body.woocommerce-shop .wd-product .price ins,
body.tax-product_cat .wd-product .price ins {
	text-decoration: none;
	color: var(--wds-color-secondary, #1F2641) !important;
	font-weight: 500;
}

/* Hide secondary meta that clutters cards */
body.woocommerce-shop .wd-product .wd-product-cats,
body.tax-product_cat .wd-product .wd-product-cats,
body.woocommerce-shop .wd-product .wd-product-brands-links,
body.tax-product_cat .wd-product .wd-product-brands-links,
body.woocommerce-shop .wd-product .wd-product-sku,
body.tax-product_cat .wd-product .wd-product-sku,
body.woocommerce-shop .wd-product .star-rating,
body.tax-product_cat .wd-product .star-rating,
body.woocommerce-shop .wd-product .woocommerce-product-rating,
body.tax-product_cat .wd-product .woocommerce-product-rating {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Mobile / tablet off-canvas filter drawer
   WoodMart moves .wd-sidebar to .wd-side-hidden on small screens.
   Keep drawer contents visible (our archive layout overrides can clip them).
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden,
	body.woocommerce-shop .wd-sidebar.wd-side-hidden,
	body.tax-product_cat .wd-sidebar.wd-side-hidden,
	body.post-type-archive-product .wd-sidebar.wd-side-hidden {
		--wd-side-hidden-w: min(340px, 88vw);
		position: fixed !important;
		inset-block: var(--wd-admin-bar-h, 0px) 0 !important;
		top: var(--wd-admin-bar-h, 0px) !important;
		bottom: 0 !important;
		left: 0 !important;
		right: auto !important;
		z-index: 520 !important;
		display: flex !important;
		flex-direction: column !important;
		width: min(var(--wd-side-hidden-w), 100vw) !important;
		max-width: min(var(--wd-side-hidden-w), 100vw) !important;
		height: auto !important;
		min-height: calc(100dvh - var(--wd-admin-bar-h, 0px)) !important;
		margin: 0 !important;
		padding: 0 !important;
		grid-column: unset !important;
		grid-row: unset !important;
		background: #FFFFFF !important;
		box-shadow: 12px 0 32px rgba(31, 38, 65, 0.14);
		overflow: hidden !important;
		transform: translate3d(-100%, 0, 0);
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden.wd-right,
	body.woocommerce-shop .wd-sidebar.wd-side-hidden.wd-right,
	body.tax-product_cat .wd-sidebar.wd-side-hidden.wd-right {
		left: auto !important;
		right: 0 !important;
		transform: translate3d(100%, 0, 0);
		box-shadow: -12px 0 32px rgba(31, 38, 65, 0.14);
	}

	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden.wd-opened,
	body.woocommerce-shop .wd-sidebar.wd-side-hidden.wd-opened,
	body.tax-product_cat .wd-sidebar.wd-side-hidden.wd-opened,
	body.post-type-archive-product .wd-sidebar.wd-side-hidden.wd-opened {
		transform: none !important;
	}

	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden .wd-heading,
	body.woocommerce-shop .wd-sidebar.wd-side-hidden .wd-heading,
	body.tax-product_cat .wd-sidebar.wd-side-hidden .wd-heading {
		flex: 0 0 auto !important;
		display: flex !important;
		align-items: center !important;
		min-height: 56px !important;
		padding: 0 20px !important;
		border-bottom: 1px solid var(--wds-color-border, #E5E5EA) !important;
		background: #FFFFFF !important;
	}

	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden .widget-area,
	body.woocommerce-shop .wd-sidebar.wd-side-hidden .widget-area,
	body.tax-product_cat .wd-sidebar.wd-side-hidden .widget-area,
	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden .widget-area.wd-scroll-content,
	body.woocommerce-shop .wd-sidebar.wd-side-hidden .widget-area.wd-scroll-content,
	body.tax-product_cat .wd-sidebar.wd-side-hidden .widget-area.wd-scroll-content {
		flex: 1 1 auto !important;
		min-height: 0 !important;
		height: auto !important;
		max-height: none !important;
		--wd-scroll-h: none;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		padding: 20px 20px 48px !important;
		margin: 0 !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		background: #FFFFFF !important;
		color: var(--wds-color-text, #3A3A3A) !important;
	}

	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden .widget,
	body.woocommerce-shop .wd-sidebar.wd-side-hidden .widget,
	body.tax-product_cat .wd-sidebar.wd-side-hidden .widget,
	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden .wd-widget {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		padding-inline: 0 !important;
		max-width: 100% !important;
	}

	/* Collapsed filter groups: show content inside the drawer */
	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden .wd-widget-collapse > .widget-title ~ *,
	body.woocommerce-shop .wd-sidebar.wd-side-hidden .wd-widget-collapse > .widget-title ~ *,
	body.tax-product_cat .wd-sidebar.wd-side-hidden .wd-widget-collapse > .widget-title ~ * {
		display: block !important;
		margin-top: 16px !important;
	}

	body.woodmart-archive-shop .wd-sidebar.wd-side-hidden .wd-widget-collapse > .widget-title ~ *.wd-swatches-filter,
	body.woocommerce-shop .wd-sidebar.wd-side-hidden .wd-widget-collapse > .widget-title ~ *.wd-swatches-filter,
	body.tax-product_cat .wd-sidebar.wd-side-hidden .wd-widget-collapse > .widget-title ~ *.wd-swatches-filter {
		display: flex !important;
	}
}

/* --------------------------------------------------------------------------
   Sidebar filters
   -------------------------------------------------------------------------- */

body.woocommerce-shop .wd-sidebar .widget-area,
body.tax-product_cat .wd-sidebar .widget-area,
body.woodmart-archive-shop .wd-sidebar .widget-area {
	padding-top: 4px;
}

body.woocommerce-shop .wd-sidebar .widget,
body.tax-product_cat .wd-sidebar .widget,
body.woodmart-archive-shop .wd-sidebar .widget {
	margin-bottom: 28px !important;
	padding-bottom: 28px !important;
	border-bottom: 1px solid var(--wds-color-border, #E5E5EA) !important;
}

body.woocommerce-shop .wd-sidebar .widget:last-child,
body.tax-product_cat .wd-sidebar .widget:last-child {
	border-bottom: none !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.woocommerce-shop .wd-sidebar .widget-title,
body.tax-product_cat .wd-sidebar .widget-title,
body.woocommerce-shop .wd-sidebar .widgettitle,
body.tax-product_cat .wd-sidebar .widgettitle,
body.woodmart-archive-shop .wd-sidebar .widget-title {
	font-family: var(--wds-font-heading, 'Space Grotesk', sans-serif) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: var(--wds-color-secondary, #1F2641) !important;
	margin: 0 0 16px !important;
	line-height: 1.3 !important;
}

/* Layered nav / attribute lists — first-screenshot style row + count pill */
body.woocommerce-shop .wd-sidebar .widget ul,
body.tax-product_cat .wd-sidebar .widget ul,
body.woodmart-archive-shop .wd-sidebar .widget ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.woocommerce-shop .wd-sidebar .widget li,
body.tax-product_cat .wd-sidebar .widget li,
body.woodmart-archive-shop .wd-sidebar .widget li {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 9px 0 !important;
	border: none !important;
	width: 100% !important;
}

body.woocommerce-shop .wd-sidebar .widget li a,
body.tax-product_cat .wd-sidebar .widget li a,
body.woodmart-archive-shop .wd-sidebar .widget li a {
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #767676 !important;
	text-decoration: none !important;
	-webkit-text-decoration: none !important;
	--wd-link-decor: none !important;
	--wd-link-decor-hover: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	transition: color 0.2s ease;
}

body.woocommerce-shop .wd-sidebar .widget li a:hover,
body.tax-product_cat .wd-sidebar .widget li a:hover,
body.woodmart-archive-shop .wd-sidebar .widget li a:hover {
	color: var(--wds-color-secondary, #1F2641) !important;
	text-decoration: none !important;
}

/* Selected filter row: bold label + brand-purple count pill */
body.woocommerce-shop .wd-sidebar .widget li.wd-active > a,
body.tax-product_cat .wd-sidebar .widget li.wd-active > a,
body.woodmart-archive-shop .wd-sidebar .widget li.wd-active > a,
body.woocommerce-shop .wd-sidebar .widget li.chosen > a,
body.tax-product_cat .wd-sidebar .widget li.chosen > a,
body.woodmart-archive-shop .wd-sidebar .widget li.chosen > a {
	color: var(--wds-color-secondary, #1F2641) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	-webkit-text-decoration: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
}

body.woocommerce-shop .wd-sidebar .widget li.wd-active .layer-term-lable,
body.tax-product_cat .wd-sidebar .widget li.wd-active .layer-term-lable,
body.woodmart-archive-shop .wd-sidebar .widget li.wd-active .layer-term-lable,
body.woocommerce-shop .wd-sidebar .widget li.wd-active .wd-filter-lable,
body.tax-product_cat .wd-sidebar .widget li.wd-active .wd-filter-lable,
body.woodmart-archive-shop .wd-sidebar .widget li.wd-active .wd-filter-lable {
	font-weight: 600 !important;
	color: var(--wds-color-secondary, #1F2641) !important;
	text-decoration: none !important;
	border-bottom: none !important;
}

body.woocommerce-shop .wd-sidebar .widget .count,
body.tax-product_cat .wd-sidebar .widget .count,
body.woodmart-archive-shop .wd-sidebar .widget .count {
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	min-width: 28px !important;
	height: 22px !important;
	padding: 0 8px !important;
	margin-inline-start: 12px !important;
	margin-inline-end: 4px !important;
	border-radius: 0 !important;
	border: 1px solid #DDDDDD !important;
	background: transparent !important;
	color: #888888 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	flex: 0 0 auto !important;
	box-sizing: border-box !important;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-shop .wd-sidebar .widget li.wd-active > .count,
body.tax-product_cat .wd-sidebar .widget li.wd-active > .count,
body.woodmart-archive-shop .wd-sidebar .widget li.wd-active > .count,
body.woocommerce-shop .wd-sidebar .widget li.chosen > .count,
body.tax-product_cat .wd-sidebar .widget li.chosen > .count,
body.woodmart-archive-shop .wd-sidebar .widget li.chosen > .count,
body.woocommerce-shop .wd-sidebar .wd-filter-list .wc-layered-nav-term.wd-active .count,
body.tax-product_cat .wd-sidebar .wd-filter-list .wc-layered-nav-term.wd-active .count,
body.woodmart-archive-shop .wd-sidebar .wd-filter-list .wc-layered-nav-term.wd-active .count,
body.woocommerce-shop .wd-sidebar .wd-filter-list .wc-layered-nav-term a:hover + .count,
body.tax-product_cat .wd-sidebar .wd-filter-list .wc-layered-nav-term a:hover + .count,
body.woodmart-archive-shop .wd-sidebar .wd-filter-list .wc-layered-nav-term a:hover + .count {
	color: #fff !important;
	background-color: var(--wds-color-primary, #6A4972) !important;
	border-color: var(--wds-color-primary, #6A4972) !important;
}

/* Scrollable filter lists: thin bar on actual scroll element (.wd-scroll-content) */
body.woocommerce-shop .wd-sidebar .wd-scroll .wd-scroll-content,
body.tax-product_cat .wd-sidebar .wd-scroll .wd-scroll-content,
body.woodmart-archive-shop .wd-sidebar .wd-scroll .wd-scroll-content,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter.wd-scroll-content,
body.tax-product_cat .wd-sidebar .wd-swatches-filter.wd-scroll-content,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter.wd-scroll-content,
body.woocommerce-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content,
body.tax-product_cat .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content,
body.woodmart-archive-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content {
	padding-inline-end: 10px !important;
	box-sizing: border-box !important;
	scrollbar-width: thin; /* Firefox */
	scrollbar-color: #BDBDBD transparent;
}

body.woocommerce-shop .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar,
body.tax-product_cat .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar,
body.woodmart-archive-shop .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter.wd-scroll-content::-webkit-scrollbar,
body.tax-product_cat .wd-sidebar .wd-swatches-filter.wd-scroll-content::-webkit-scrollbar,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter.wd-scroll-content::-webkit-scrollbar,
body.woocommerce-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar,
body.tax-product_cat .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar,
body.woodmart-archive-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar {
	width: 3px;
	height: 3px;
}

body.woocommerce-shop .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar-track,
body.tax-product_cat .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar-track,
body.woodmart-archive-shop .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar-track,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter.wd-scroll-content::-webkit-scrollbar-track,
body.tax-product_cat .wd-sidebar .wd-swatches-filter.wd-scroll-content::-webkit-scrollbar-track,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter.wd-scroll-content::-webkit-scrollbar-track,
body.woocommerce-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar-track,
body.tax-product_cat .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar-track,
body.woodmart-archive-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar-track {
	background: transparent;
}

body.woocommerce-shop .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar-thumb,
body.tax-product_cat .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar-thumb,
body.woodmart-archive-shop .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar-thumb,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter.wd-scroll-content::-webkit-scrollbar-thumb,
body.tax-product_cat .wd-sidebar .wd-swatches-filter.wd-scroll-content::-webkit-scrollbar-thumb,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter.wd-scroll-content::-webkit-scrollbar-thumb,
body.woocommerce-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar-thumb,
body.tax-product_cat .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar-thumb,
body.woodmart-archive-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar-thumb {
	background: #BDBDBD;
	border-radius: 0;
}

/* Hide classic OS arrows / thick gutter where possible */
body.woocommerce-shop .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar-button,
body.tax-product_cat .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar-button,
body.woodmart-archive-shop .wd-sidebar .wd-scroll .wd-scroll-content::-webkit-scrollbar-button,
body.woocommerce-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar-button,
body.tax-product_cat .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar-button,
body.woodmart-archive-shop .wd-sidebar .woodmart-woocommerce-layered-nav .wd-scroll-content::-webkit-scrollbar-button {
	display: none;
	width: 0;
	height: 0;
}

/* Color filter — circle + name list (not square grid) */
body.woocommerce-shop .wd-sidebar .wd-swatches-filter,
body.tax-product_cat .wd-sidebar .wd-swatches-filter,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter.wd-layout-inline,
body.tax-product_cat .wd-sidebar .wd-swatches-filter.wd-layout-inline,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter.wd-layout-inline,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter.wd-layout-list,
body.tax-product_cat .wd-sidebar .wd-swatches-filter.wd-layout-list,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter.wd-layout-list {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 0 !important;
	--wd-swatch-h-sp: 0 !important;
	--wd-swatch-v-sp: 0 !important;
}

body.woocommerce-shop .wd-sidebar .wd-swatches-filter .wd-swatch-wrap,
body.tax-product_cat .wd-sidebar .wd-swatches-filter .wd-swatch-wrap,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter .wd-swatch-wrap {
	display: flex !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
}

/* Size / label attributes: hide empty round text chips (were showing as broken circles) */
body.woocommerce-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-text,
body.tax-product_cat .wd-sidebar .wd-swatches-filter .wd-swatch.wd-text,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-text {
	display: none !important;
}

/* Color dots only (background swatches) */
body.woocommerce-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg,
body.tax-product_cat .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg {
	--wd-swatch-w: 24px !important;
	--wd-swatch-h: 24px !important;
	--wd-swatch-size: 24px !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	border-radius: 0 !important;
	border: 1px solid rgba(0, 0, 0, 0.12) !important;
	box-shadow: none !important;
	overflow: hidden !important;
	flex: 0 0 24px !important;
}

body.woocommerce-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg .wd-swatch-bg,
body.tax-product_cat .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg .wd-swatch-bg,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg .wd-swatch-bg {
	border-radius: 0 !important;
}

/* Hide text baked into color swatch chip; show side label instead */
body.woocommerce-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg .wd-swatch-text,
body.tax-product_cat .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg .wd-swatch-text,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg .wd-swatch-text {
	display: none !important;
}

body.woocommerce-shop .wd-sidebar .wd-swatches-filter.wd-labels-off .wd-filter-lable,
body.tax-product_cat .wd-sidebar .wd-swatches-filter.wd-labels-off .wd-filter-lable,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter.wd-labels-off .wd-filter-lable,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter.wd-labels-off .wd-swatch + span,
body.tax-product_cat .wd-sidebar .wd-swatches-filter.wd-labels-off .wd-swatch + span,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter.wd-labels-off .wd-swatch + span,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter .layer-term-lable,
body.tax-product_cat .wd-sidebar .wd-swatches-filter .layer-term-lable,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter .layer-term-lable {
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: inherit !important;
	margin: 0 !important;
	margin-inline-start: 0 !important;
	padding: 0 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	overflow: visible !important;
}

/* Theme hides counts when labels-off — keep count pills visible */
body.woocommerce-shop .wd-sidebar .wd-swatches-filter.wd-labels-off .count,
body.tax-product_cat .wd-sidebar .wd-swatches-filter.wd-labels-off .count,
body.woodmart-archive-shop .wd-sidebar .wd-swatches-filter.wd-labels-off .count {
	display: inline-flex !important;
	visibility: visible !important;
}

/* Selected color: circular swatch + white check (reference screenshot) */
body.woocommerce-shop .wd-sidebar .wd-swatch-wrap.wd-active .wd-swatch.wd-bg,
body.tax-product_cat .wd-sidebar .wd-swatch-wrap.wd-active .wd-swatch.wd-bg,
body.woodmart-archive-shop .wd-sidebar .wd-swatch-wrap.wd-active .wd-swatch.wd-bg {
	box-shadow: none !important;
	position: relative !important;
	overflow: hidden !important;
}

body.woocommerce-shop .wd-sidebar .wd-swatch-wrap.wd-active .wd-swatch.wd-bg:before,
body.tax-product_cat .wd-sidebar .wd-swatch-wrap.wd-active .wd-swatch.wd-bg:before,
body.woodmart-archive-shop .wd-sidebar .wd-swatch-wrap.wd-active .wd-swatch.wd-bg:before {
	opacity: 1 !important;
	content: "\f107" !important;
	font-family: "woodmart-font" !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	color: #fff !important;
	background-color: rgba(0, 0, 0, 0.28) !important;
	inset: 0 !important;
	border-radius: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 1 !important;
}

/* White swatch needs a visible ring */
body.woocommerce-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg[style*="#fff"] .wd-swatch-bg,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg[style*="#FFF"] .wd-swatch-bg,
body.woocommerce-shop .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg[style*="ffffff"] .wd-swatch-bg,
body.tax-product_cat .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg[style*="#fff"] .wd-swatch-bg,
body.tax-product_cat .wd-sidebar .wd-swatches-filter .wd-swatch.wd-bg[style*="#FFF"] .wd-swatch-bg {
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* Price filter — theme purple + solid round handles (not broken ticks) */
body.woocommerce-shop .widget_price_filter .price_slider_wrapper,
body.tax-product_cat .widget_price_filter .price_slider_wrapper,
body.woodmart-archive-shop .widget_price_filter .price_slider_wrapper {
	padding-top: 10px;
}

body.woocommerce-shop .widget_price_filter .price_slider,
body.tax-product_cat .widget_price_filter .price_slider,
body.woodmart-archive-shop .widget_price_filter .price_slider {
	margin-bottom: 4px !important;
}

body.woocommerce-shop .widget_price_filter .ui-slider-horizontal,
body.tax-product_cat .widget_price_filter .ui-slider-horizontal,
body.woodmart-archive-shop .widget_price_filter .ui-slider-horizontal {
	height: 4px !important;
	background: transparent !important;
	border: none !important;
}

body.woocommerce-shop .widget_price_filter .ui-slider-horizontal:before,
body.tax-product_cat .widget_price_filter .ui-slider-horizontal:before,
body.woodmart-archive-shop .widget_price_filter .ui-slider-horizontal:before {
	height: 4px !important;
	margin-top: -2px !important;
	background-color: #E5E5EA !important;
	border-radius: 0 !important;
	opacity: 1 !important;
}

body.woocommerce-shop .widget_price_filter .ui-slider .ui-slider-range,
body.tax-product_cat .widget_price_filter .ui-slider .ui-slider-range,
body.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-range {
	height: 4px !important;
	margin-top: -2px !important;
	background-color: var(--wds-color-primary, #6A4972) !important;
	border-radius: 0 !important;
}

body.woocommerce-shop .widget_price_filter .ui-slider .ui-slider-handle,
body.tax-product_cat .widget_price_filter .ui-slider .ui-slider-handle,
body.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-handle {
	top: 50% !important;
	width: 16px !important;
	height: 16px !important;
	margin-top: 0 !important;
	margin-left: -8px !important;
	transform: translateY(-50%) !important;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	cursor: pointer !important;
	z-index: 2 !important;
}

body.woocommerce-shop .widget_price_filter .ui-slider .ui-slider-handle:before,
body.tax-product_cat .widget_price_filter .ui-slider .ui-slider-handle:before,
body.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-handle:before {
	display: none !important;
}

body.woocommerce-shop .widget_price_filter .ui-slider .ui-slider-handle:after,
body.tax-product_cat .widget_price_filter .ui-slider .ui-slider-handle:after,
body.woodmart-archive-shop .widget_price_filter .ui-slider .ui-slider-handle:after {
	content: "" !important;
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	transform: translate(-50%, -50%) !important;
	border-radius: 0 !important;
	background-color: var(--wds-color-primary, #6A4972) !important;
	border: 2px solid #FFFFFF !important;
	box-shadow: 0 1px 4px rgba(31, 38, 65, 0.22) !important;
}

body.woocommerce-shop .widget_price_filter .price_slider_amount,
body.tax-product_cat .widget_price_filter .price_slider_amount,
body.woodmart-archive-shop .widget_price_filter .price_slider_amount {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin-top: 18px !important;
}

body.woocommerce-shop .widget_price_filter .price_slider_amount > input,
body.tax-product_cat .widget_price_filter .price_slider_amount > input {
	display: none !important;
}

body.woocommerce-shop .widget_price_filter .price_label,
body.tax-product_cat .widget_price_filter .price_label,
body.woodmart-archive-shop .widget_price_filter .price_label {
	display: block !important;
	order: 1;
	flex: 1 1 auto;
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 14px !important;
	color: #333333 !important;
	margin: 0 !important;
}

body.woocommerce-shop .widget_price_filter .price_label > span,
body.tax-product_cat .widget_price_filter .price_label > span,
body.woodmart-archive-shop .widget_price_filter .price_label > span {
	color: #242424 !important;
	font-weight: 600 !important;
}

body.woocommerce-shop .widget_price_filter .button,
body.tax-product_cat .widget_price_filter .button,
body.woodmart-archive-shop .widget_price_filter .button {
	order: 2;
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase !important;
	min-height: 36px !important;
	padding: 8px 18px !important;
	border-radius: 0 !important;
	background-color: #F1F1F1 !important;
	color: #333333 !important;
	border: none !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.woocommerce-shop .widget_price_filter .button:hover,
body.tax-product_cat .widget_price_filter .button:hover,
body.woodmart-archive-shop .widget_price_filter .button:hover {
	background-color: #E4E4E4 !important;
	color: #111111 !important;
}

/* Active filters chips */
body.woocommerce-shop .wd-active-filters,
body.tax-product_cat .wd-active-filters,
body.woodmart-archive-shop .wd-active-filters {
	gap: 8px;
	margin-bottom: 20px;
}

body.woocommerce-shop .wd-active-filters a,
body.tax-product_cat .wd-active-filters a {
	font-family: var(--wds-font-body, 'Inter', sans-serif) !important;
	font-size: 12px !important;
	border-radius: 0 !important;
	border: 1px solid var(--wds-color-border, #E5E5EA) !important;
	background: #FFFFFF !important;
	color: var(--wds-color-text, #3A3A3A) !important;
	padding: 6px 10px !important;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

body.woocommerce-shop .woocommerce-pagination,
body.tax-product_cat .woocommerce-pagination,
body.woodmart-archive-shop .woocommerce-pagination,
body.woocommerce-shop .wd-pagination,
body.tax-product_cat .wd-pagination {
	margin-top: 48px !important;
	padding-top: 28px;
	border-top: 1px solid var(--wds-color-border, #E5E5EA);
}

body.woocommerce-shop .woocommerce-pagination .page-numbers,
body.tax-product_cat .woocommerce-pagination .page-numbers,
body.woocommerce-shop .wd-pagination a,
body.tax-product_cat .wd-pagination a,
body.woocommerce-shop .wd-pagination span,
body.tax-product_cat .wd-pagination span {
	font-family: var(--wds-font-heading, 'Space Grotesk', sans-serif) !important;
	font-size: 14px !important;
	min-width: 40px;
	height: 40px;
	border-radius: 0 !important;
	border: 1px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--wds-color-text, #3A3A3A) !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.woocommerce-shop .woocommerce-pagination .page-numbers.current,
body.tax-product_cat .woocommerce-pagination .page-numbers.current,
body.woocommerce-shop .wd-pagination .current,
body.tax-product_cat .wd-pagination .current {
	background: var(--wds-color-secondary, #1F2641) !important;
	color: #FFFFFF !important;
	border-color: var(--wds-color-secondary, #1F2641) !important;
}

body.woocommerce-shop .woocommerce-pagination a.page-numbers:hover,
body.tax-product_cat .woocommerce-pagination a.page-numbers:hover {
	border-color: var(--wds-color-border, #E5E5EA);
	color: var(--wds-color-primary, #6A4972) !important;
}

/* --------------------------------------------------------------------------
   Mobile filters button
   -------------------------------------------------------------------------- */

body.woocommerce-shop .wd-show-sidebar-btn,
body.tax-product_cat .wd-show-sidebar-btn,
body.woodmart-archive-shop .wd-show-sidebar-btn {
	font-family: var(--wds-font-heading, 'Space Grotesk', sans-serif) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	border: 1px solid var(--wds-color-border, #E5E5EA) !important;
	border-radius: 0 !important;
	padding: 10px 14px !important;
	background: #FFFFFF !important;
	color: var(--wds-color-secondary, #1F2641) !important;
}

/* --------------------------------------------------------------------------
   Responsive product grid spacing
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	body.woocommerce-shop .shop-loop-head,
	body.tax-product_cat .shop-loop-head,
	body.woodmart-archive-shop .shop-loop-head {
		margin-bottom: 20px !important;
		padding-bottom: 16px;
	}
}

@media (max-width: 767.98px) {
	body.woocommerce-shop .wd-product .wd-entities-title,
	body.tax-product_cat .wd-product .wd-entities-title,
	body.woocommerce-shop .wd-product .woocommerce-loop-product__title,
	body.tax-product_cat .wd-product .woocommerce-loop-product__title {
		font-size: 13px !important;
	}

	body.woocommerce-shop .wd-product .price,
	body.tax-product_cat .wd-product .price {
		font-size: 13px !important;
	}

	body.woocommerce-shop .wd-product .wd-buttons > *,
	body.tax-product_cat .wd-product .wd-buttons > * {
		opacity: 1;
		transform: none;
	}

	/* Filter row: "Filter" (show sidebar) flush left, sort icon flush right.
	   Both controls share one 40px height so the row reads as a matched pair
	   instead of two differently-sized boxes. */
	body.woocommerce-shop .shop-loop-head,
	body.tax-product_cat .shop-loop-head,
	body.woodmart-archive-shop .shop-loop-head {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	body.woocommerce-shop .shop-loop-head > .wd-shop-tools,
	body.tax-product_cat .shop-loop-head > .wd-shop-tools,
	body.woodmart-archive-shop .shop-loop-head > .wd-shop-tools {
		width: 100% !important;
		justify-content: space-between !important;
	}

	body.woocommerce-shop .wd-show-sidebar-btn,
	body.tax-product_cat .wd-show-sidebar-btn,
	body.woodmart-archive-shop .wd-show-sidebar-btn {
		margin-inline-end: auto !important;
		height: 40px !important;
		align-items: center !important;
		gap: 8px !important;
		transition: background-color 0.2s ease, border-color 0.2s ease;
	}

	body.woocommerce-shop .wd-show-sidebar-btn:hover,
	body.tax-product_cat .wd-show-sidebar-btn:hover,
	body.woodmart-archive-shop .wd-show-sidebar-btn:hover {
		background-color: #F7F7F8 !important;
		border-color: var(--wds-color-secondary, #1F2641) !important;
	}

	/* Sort control: WooCommerce/WoodMart's mobile "icon-only" select relies on
	   overflow clipping to hide itself, which our desktop select skin
	   (border + background + padding) breaks — it shows as an oversized,
	   off-square box instead of a clean icon button. Rebuild it as a fixed
	   40x40 button matching the Filter button so the row is visually even. */
	body.woocommerce-shop .woocommerce-ordering.wd-ordering-mb-icon,
	body.tax-product_cat .woocommerce-ordering.wd-ordering-mb-icon,
	body.woodmart-archive-shop .woocommerce-ordering.wd-ordering-mb-icon {
		width: 40px !important;
		height: 40px !important;
		border: 1px solid var(--wds-color-border, #E5E5EA) !important;
		background-color: #FFFFFF !important;
		transition: background-color 0.2s ease, border-color 0.2s ease;
	}

	body.woocommerce-shop .woocommerce-ordering.wd-ordering-mb-icon select,
	body.tax-product_cat .woocommerce-ordering.wd-ordering-mb-icon select,
	body.woodmart-archive-shop .woocommerce-ordering.wd-ordering-mb-icon select {
		width: 100% !important;
		height: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		background-color: transparent !important;
		color: transparent !important;
	}

	body.woocommerce-shop .woocommerce-ordering.wd-ordering-mb-icon:after,
	body.tax-product_cat .woocommerce-ordering.wd-ordering-mb-icon:after,
	body.woodmart-archive-shop .woocommerce-ordering.wd-ordering-mb-icon:after {
		color: var(--wds-color-secondary, #1F2641) !important;
		font-size: 16px !important;
	}

	body.woocommerce-shop .woocommerce-ordering.wd-ordering-mb-icon:hover,
	body.tax-product_cat .woocommerce-ordering.wd-ordering-mb-icon:hover,
	body.woodmart-archive-shop .woocommerce-ordering.wd-ordering-mb-icon:hover {
		background-color: #F7F7F8 !important;
		border-color: var(--wds-color-secondary, #1F2641) !important;
	}
}
