body.mdgc-woo-modern .woocommerce .woocommerce-result-count,
body.mdgc-woo-modern .woocommerce .woocommerce-ordering {
	margin-bottom: 14px;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive {
	width: 100%;
}

body.mdgc-woo-modern.woocommerce-shop,
body.mdgc-woo-modern.woocommerce-shop .woocommerce,
body.mdgc-woo-modern.tax-product_cat,
body.mdgc-woo-modern.tax-product_cat .woocommerce,
body.mdgc-woo-modern.tax-product_tag,
body.mdgc-woo-modern.tax-product_tag .woocommerce {
	overflow-x: hidden;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive-cats {
	margin-bottom: 14px;
}

@media (min-width: 901px) {
	body.mdgc-woo-modern .woocommerce .mdgc-archive-cats {
		display: none;
	}
}

body.mdgc-woo-modern .woocommerce .mdgc-archive-cats__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 2px 2px 8px;
	scrollbar-width: none;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive-cats__track::-webkit-scrollbar {
	display: none;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive-cat {
	flex: 0 0 auto;
	width: 92px;
	text-decoration: none;
	color: rgba(233, 236, 239, 0.92);
	display: grid;
	gap: 8px;
	justify-items: center;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive-cat__icon {
	width: 72px;
	height: 72px;
	border-radius: 18px;
	background: rgba(17, 22, 17, 0.60);
	border: 1px solid rgba(14, 165, 233, 0.12);
	box-shadow: var(--mdgc-shadow);
	display: grid;
	place-items: center;
	overflow: hidden;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive-cats__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive-cat__initial {
	font-weight: 900;
	color: rgba(233, 236, 239, 0.92);
	font-size: 18px;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive-cat__name {
	width: 100%;
	font-size: 12px;
	line-height: 1.2;
	text-align: center;
	color: rgba(233, 236, 239, 0.78);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

@media (max-width: 900px) {
	body.mdgc-woo-modern .woocommerce .mdgc-archive__top {
		flex-direction: column;
		align-items: stretch;
	}
}

body.mdgc-woo-modern .woocommerce .mdgc-archive__top-left {
	min-width: 0;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive__chips {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.mdgc-woo-modern .woocommerce .mdgc-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(14, 165, 233, 0.16);
	background: rgba(8, 12, 8, 0.55);
	color: rgba(233, 236, 239, 0.92);
	text-decoration: none;
	font-weight: 800;
	font-size: 13px;
}

body.mdgc-woo-modern .woocommerce .mdgc-chip:hover {
	border-color: rgba(14, 165, 233, 0.28);
}

body.mdgc-woo-modern .woocommerce .mdgc-chip__x {
	opacity: 0.75;
	font-size: 16px;
	line-height: 1;
}

body.mdgc-woo-modern .woocommerce .mdgc-chip--clear {
	border-color: rgba(255, 255, 255, 0.14);
}

body.mdgc-woo-modern .woocommerce .mdgc-archive__top-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

@media (max-width: 900px) {
	body.mdgc-woo-modern .woocommerce .mdgc-archive__top-right {
		justify-content: space-between;
	}
}

body.mdgc-woo-modern .woocommerce .mdgc-filter-btn {
	height: 46px;
	padding: 0 16px;
	border-radius: 999px;
	background: rgba(8, 12, 8, 0.65);
	border: 1px solid rgba(14, 165, 233, 0.16);
	color: rgba(233, 236, 239, 0.92);
	font-weight: 900;
	cursor: pointer;
}

body.mdgc-woo-modern .woocommerce .mdgc-filter-btn:hover {
	border-color: rgba(14, 165, 233, 0.28);
}

@media (min-width: 901px) {
	body.mdgc-woo-modern .woocommerce .mdgc-filter-btn {
		display: none;
	}
}

body.mdgc-woo-modern .woocommerce .mdgc-archive__layout {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

@media (max-width: 900px) {
	body.mdgc-woo-modern .woocommerce .mdgc-archive__layout {
		grid-template-columns: 1fr;
	}
}

body.mdgc-woo-modern .woocommerce .mdgc-filters {
	background: rgba(17, 22, 17, 0.60);
	border: 1px solid rgba(14, 165, 233, 0.12);
	border-radius: 22px;
	box-shadow: var(--mdgc-shadow);
	padding: 14px;
	position: sticky;
	top: 18px;
}

@media (max-width: 900px) {
	body.mdgc-woo-modern .woocommerce .mdgc-filters {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		height: 100dvh;
		width: min(420px, 92vw);
		transform: translateX(110%);
		transition: transform 180ms ease;
		z-index: 99999;
		border-radius: 0;
		background: #050805;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		touch-action: pan-y;
		padding-bottom: calc(14px + env(safe-area-inset-bottom));
	}
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__title {
	font-weight: 900;
	color: rgba(233, 236, 239, 0.92);
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__close {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(8, 12, 8, 0.65);
	border: 1px solid rgba(14, 165, 233, 0.16);
	color: rgba(233, 236, 239, 0.92);
	cursor: pointer;
	display: none;
}

@media (max-width: 900px) {
	body.mdgc-woo-modern .woocommerce .mdgc-filters__close {
		display: inline-grid;
		place-items: center;
	}
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__form {
	display: grid;
	gap: 12px;
}

@media (max-width: 600px) {
	body.mdgc-woo-modern .mdgc-archive-page .mdgc-archive__content ul.products.mdgc-products {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		margin: 0;
		padding: 0;
	}
}

@media (max-width: 420px) {
	body.mdgc-woo-modern.woocommerce-shop .woocommerce,
	body.mdgc-woo-modern.tax-product_cat .woocommerce,
	body.mdgc-woo-modern.tax-product_tag .woocommerce {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.mdgc-woo-modern .mdgc-archive-page {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		max-width: 100vw;
		overflow-x: clip;
	}

	body.mdgc-woo-modern .woocommerce .mdgc-archive-cats__track {
		padding-left: 16px;
		padding-right: 16px;
	}

	body.mdgc-woo-modern .woocommerce .mdgc-archive__top,
	body.mdgc-woo-modern .woocommerce .mdgc-archive__layout {
		padding-left: 16px;
		padding-right: 16px;
	}

	body.mdgc-woo-modern .mdgc-archive-page .mdgc-archive__content {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		padding-left: calc(8px + env(safe-area-inset-left));
		padding-right: calc(8px + env(safe-area-inset-right));
	}

	body.mdgc-woo-modern .mdgc-archive-page .mdgc-archive__content ul.products.mdgc-products {
		gap: 10px;
	}
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__section {
	display: grid;
	gap: 8px;
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__label {
	color: rgba(233, 236, 239, 0.82);
	font-weight: 800;
	font-size: 13px;
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__input,
body.mdgc-woo-modern .woocommerce .mdgc-filters__select {
	width: 100%;
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__check {
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(233, 236, 239, 0.82);
	font-weight: 700;
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__actions {
	display: grid;
	gap: 10px;
	margin-top: 4px;
}

body.mdgc-woo-modern .woocommerce .mdgc-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.mdgc-woo-modern .woocommerce .mdgc-quick__btn {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(14, 165, 233, 0.16);
	background: rgba(8, 12, 8, 0.55);
	color: rgba(233, 236, 239, 0.92);
	text-decoration: none;
	font-weight: 800;
	font-size: 13px;
}

body.mdgc-woo-modern .woocommerce .mdgc-quick__btn:hover {
	border-color: rgba(14, 165, 233, 0.28);
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__clear {
	display: inline-flex;
	justify-content: center;
	color: rgba(233, 236, 239, 0.70);
	text-decoration: none;
	font-weight: 800;
}

body.mdgc-woo-modern .woocommerce .mdgc-filters__clear:hover {
	color: rgba(233, 236, 239, 0.92);
}

@media (max-width: 900px) {
	body.mdgc-woo-modern.mdgc-filters-open .woocommerce .mdgc-filters {
		transform: translateX(0);
	}

	body.mdgc-woo-modern.mdgc-filters-open {
		overflow: hidden;
	}

	.mdgc-filters__overlay {
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.86);
		backdrop-filter: blur(2px);
		z-index: 99998;
	}
}

body.mdgc-woo-modern .woocommerce .mdgc-archive__content ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: row dense;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive__content ul.products::before,
body.mdgc-woo-modern .woocommerce .mdgc-archive__content ul.products::after {
	content: none !important;
	display: none !important;
}

body.mdgc-woo-modern .woocommerce .mdgc-archive__content ul.products li.product {
	width: auto !important;
	float: none !important;
	grid-column: auto !important;
	justify-self: stretch;
	max-width: none;
}

@media (max-width: 1100px) {
	body.mdgc-woo-modern .woocommerce .mdgc-archive__content ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	body.mdgc-woo-modern .woocommerce .mdgc-archive__content ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	body.mdgc-woo-modern .woocommerce .mdgc-archive__content ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	body.mdgc-woo-modern .woocommerce .mdgc-archive__content ul.products {
		gap: 12px;
	}
}

@media (max-width: 360px) {
	body.mdgc-woo-modern .woocommerce .mdgc-archive__content ul.products {
		grid-template-columns: 1fr;
	}
}

body.mdgc-woo-modern .woocommerce .woocommerce-ordering {
	display: flex;
	justify-content: flex-end;
}

body.mdgc-woo-modern .woocommerce .woocommerce-ordering select {
	width: min(320px, 100%);
}

body.mdgc-woo-modern .woocommerce .woocommerce-result-count {
	color: rgba(233, 236, 239, 0.80);
}

body.mdgc-woo-modern .woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 16px 0 0;
	padding: 0;
}

@media (max-width: 1100px) {
	body.mdgc-woo-modern .woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	body.mdgc-woo-modern .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}
}

@media (max-width: 420px) {
	body.mdgc-woo-modern .woocommerce ul.products {
		grid-template-columns: 1fr;
	}
}

body.mdgc-woo-modern.woocommerce-page ul.products li.product,
body.mdgc-woo-modern .woocommerce ul.products li.product {
	background: rgba(17, 22, 17, 0.60);
	border: 1px solid rgba(14, 165, 233, 0.12);
	border-radius: 22px;
	box-shadow: var(--mdgc-shadow);
	padding: 16px;
	overflow: hidden;
	transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
	margin: 0 !important;
	width: auto !important;
	float: none !important;
	display: flex;
	flex-direction: column;
}

body.mdgc-woo-modern.woocommerce-page ul.products li.product:hover,
body.mdgc-woo-modern .woocommerce ul.products li.product:hover {
	transform: translateY(-2px);
	border-color: rgba(14, 165, 233, 0.22);
	box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.12), 0 28px 70px rgba(0, 0, 0, 0.60);
}

body.mdgc-woo-modern .woocommerce ul.products li.product a img {
	border-radius: 18px;
}

body.mdgc-woo-modern .woocommerce ul.products li.product:not(.mdgc-card) .woocommerce-loop-product__title {
	color: rgba(233, 236, 239, 0.92);
	font-size: 14px;
	line-height: 1.25;
	margin-top: 14px;
	font-weight: 900;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

body.mdgc-woo-modern .woocommerce ul.products li.product .price {
	color: var(--mdgc-accent);
	font-weight: 800;
}

body.mdgc-woo-modern .woocommerce ul.products li.product .price del {
	color: rgba(233, 236, 239, 0.55);
}

body.mdgc-woo-modern .woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

body.mdgc-woo-modern .woocommerce ul.products li.product:not(.mdgc-card) .button {
	width: 100%;
	text-align: center;
	margin-top: 12px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.1;
}
