.woodmart-archive-shop .wd-page-content {
	position: relative;

	.shop-loop-head {
		justify-content: flex-start;
		column-gap: 0;
	}
}
.wp-block-wd-section.shop-term-description {
	background-color: #F9F9F9;
	padding-inline: 30px;
	padding-block: 60px;
}

.wp-block-wd-section.shop-term-description:empty {
	display: none !important;
}
.wd-content-layout .filters-area {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: none !important;
	justify-content: flex-end;
	padding-bottom: 20px;
	margin-bottom: 0;
	padding-top: 0;
	.filters-inner-area {
		display: flex;
		flex-direction: column;
		max-width: 477px;
		width: 477px;
		background: #fff;
		padding: 20px;
	}

	.filters-area__head {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-bottom: 20px;
		border-bottom: 1px dashed #000;
	}

	.filters-area__title {
		text-transform: uppercase;
		font-weight: 700;
		font-size: 24px;
	}

	.filters-area__close {

	}

	.wd-widget {
		margin-bottom: 0;
		padding-bottom: 0;
		padding-top: 15px;
	}

	.wd-widget {
		padding-bottom: 20px;
		border-bottom: 1px dashed #000;
		ul.children {
			display: flex;
			flex-wrap: wrap;

			li {
				margin-bottom: 0;
				width: 50%;
				padding-inline: 20px;
			}
		}

		.product-categories:not(:has(.children)) {
			display: flex;
			flex-wrap: wrap;

			li {
				width: 50%;
				padding-inline: 20px;
			}
		}
		li {
			margin-bottom: 0;
		}

		li.current-cat {
			span {
				border-bottom: 1px solid #000;
			}
		}
	}

	.wd-widget:has(+ .filters-area__footer), .wd-widget.woocommerce-ordering-list {
		padding-bottom: 0;
		border-bottom: 0;
	}

	input {
		display: none;
	}

	.woodmart-woocommerce-layered-nav {
		ul {
			row-gap: 10px;
			display: flex;
			flex-wrap: wrap;
			column-gap: 40px;
		}

	
		label {
			font-size: 18px;
			font-weight: 700;
			position: relative;
			cursor: pointer;
			display: flex;
			align-items: center;
			column-gap: 5px;
			span {
				position: relative;	
				font-size: 14px;
				display: block;
				margin-top: 1px;
			}
		}

		input:checked + label::after, label:hover::after {
			content: '';
			position: absolute;
			display: block;
			inset-inline-start: 0;
			inset-inline-end: 0;
			bottom: 0;
			height: 2px;
			background: #000;
		}

		li.layered-nav-has-image {

			input:checked + label::after, label:hover::after {

				content:unset !important;
	
			}

			input:checked + label span::after, label:hover span::after {
				content: '';
				position: absolute;
				display: block;
				inset-inline-start: 0;
				inset-inline-end: 0;
				bottom: -2px;
				height: 2px;
				background: #000;
			}

		}
	}

	.hoodie-product-attributes ul {

		display: flex;
		flex-wrap: wrap;
		row-gap: 20px;
		column-gap: 10px;

		label {
			font-size: 18px;
			font-weight: 700;
			position: relative;
			padding: 5px;
			cursor: pointer;
		}

		input:checked + label::after, label:hover::after {

			bottom: -5px;

		}

	}

	.filters-area__footer {
		display: flex;
		justify-content: space-between;
		align-items: center;
		column-gap: 10px;
		padding-top: 20px;

		a {
			display: flex;
			justify-content: center;
			align-items: center;
			text-transform: uppercase;
			min-height: 64px;
			border: 1px solid #000;
			border-radius: 0;
			padding: 0;
			flex: 1;
			font-size: 16px;
		}
	}

	.filters-area__reset {
		background: #fff;
		color: #000;
	}

	.filters-area__apply {
		background: #000;
		color: #fff;
	}
}

.woocommerce-ordering-list {
	ul {
		display: flex;
		list-style: none;
		flex-direction: column;
		row-gap: 15px;
		}

	li label {

		font-size: 13px;
		color: #000;
		font-weight: 400;
		position: relative;
		padding-left: 25px;
		cursor: pointer;
	}

	li label::before {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		top: 2px;
		width: 15px;
		height: 15px;
		border-radius: 50%;
		border: 1px solid #000;
	}
	li input:checked + label::after {
		content: "";
		display: block;
		position: absolute;
		left: 3px;
		top:5px;
		width: 9px;
		height: 9px;
		border-radius: 50%;
		background-color: #000;
	}
}

.wd-content-layout .filters-area.filters-opened {
	background: rgba(255, 255, 255, 0.8);
	display: flex !important;
	z-index: 150;
	max-height: 80vh;
	min-height: calc(100vh - var(--wd-header-general-h, 100px) - 300px );
	overflow: auto;
}

.wd-widget-collapse .widget-title {
	position: relative;
}
.wd-widget-collapse .widget-title::after {
	content: '';
	position: absolute;
	inset-inline-end: 0;
    display: flex;
	border-radius: 50%;
    color: #333;
    font-weight: 400;
    font-size: 10px;
    transition: all .25s ease;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='black' stroke-width='2'/%3E%3C/svg%3E") no-repeat 50%;
    border: none;
    bottom: 0;
    height: 20px;
    margin: auto;
    top: 0;
    right: 10px;
    transform: none;
    width: 20px;
	font-family: "woodmart-font";
}

.wd-widget-collapse.wd-opened .widget-title::after {
	content: '';
    background-color: transparent;
	transform: rotate(180deg);
}

.wd-term-desc {
	margin-top: 0;
}


.widget .product-categories {
	li {
		a {
			display: flex;
			align-items: center !important;
			column-gap: 5px;
		}

		img {
			max-width: 32px;
			
		}
	}
}

.cat-item.cat-item-119 {
	margin-top: 20px !important;
}

@media (max-width: 576px) {

	.wd-content-layout .filters-area.filters-opened {

		z-index: 150;
		max-height: 100%;
		height: 100%;
	}

	.wd-content-layout .filters-area #filters-form{
		display: flex;
		flex-direction: column;
		height: 100%;

		.filters-area__footer {
			margin-top: auto;
		
		}
	}

	.wp-block-wd-section.shop-term-description {
	
		padding-inline: 15px;
		padding-block: 20px 40px;
	}

	.wd-content-layout .filters-area {

	
		.woodmart-woocommerce-layered-nav {

	
			label:hover::after {
				content:none;

			}
	
			li.layered-nav-has-image {

	
				label:hover span::after {
					content: none;
					
				}
	
			}
		}
	}
}
/* ============================================================
   GGoose custom overrides (2026-06-24)
   1) Filter drawer: dark overlay + full screen height
   2) Hide broken icons on parent categories (Men / Women)
   ============================================================ */

/* 1a. Full-screen dark overlay behind the filter panel.
   Clicking the overlay (outside the panel) closes the drawer. */
.wd-content-layout .filters-area.filters-opened {
	background: rgba(0, 0, 0, .4) !important;
	transition: opacity .3s ease !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100vh !important;
	min-height: 100vh !important;
	max-height: 100vh !important;
	overflow: hidden !important;
	z-index: 9999 !important;
}

/* 1b. Make the actual filter panel span the full viewport height (scroll inside) */
.wd-content-layout .filters-area.filters-opened .filters-inner-area {
	height: 100vh !important;
	max-height: 100vh !important;
	overflow-y: auto !important;
}

/* 2. Hide the (empty/broken) category icon on parent categories Men & Women */
.filters-inner-area .widget_product_categories > ul.product-categories > li.cat-parent > a img.hoodie-category-icon {
	display: none !important;
}

/* 3. Out-of-stock badge on catalog product cards */
.wd-product.outofstock .product-element-top {
	position: relative;
}
.wd-product.outofstock .product-element-top::after {
	content: "Sold Out";
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 5;
	background: #000;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 5px 8px;
	border-radius: 2px;
	pointer-events: none;
}
.wd-product.outofstock .product-image-link img {
	opacity: .85;
}
