﻿/**
 * Page: products archive
 * Block: p-products
 *
 * Rule:
 * - Outer block: .p-products
 * - Page parts: .p-products__*
 */

.p-product-archive,
.p-products {
	--p-content-width: 1200px;
	--p-color-text: #1f2933;
	--p-color-heading: #202832;
	--p-color-body: #344454;
	--p-color-muted: #68717c;
	--p-color-muted-dark: #59636f;
	--p-color-muted-light: #9099a3;
	--p-color-neutral: #666;
	--p-color-neutral-dark: #555;
	--p-color-neutral-strong: #333;
	--p-color-control-border: #cfcfcf;
	--p-color-control-border-hover: #999;
	--p-color-control-border-soft: #ccc;
	--p-color-card-border: #e3e3e3;
	--p-color-card-border-hover: #c9d2da;
	--p-color-chip-border: #dbe2e8;
	--p-color-pagination-border: #cfd8df;
	--p-color-primary: #1f4e5f;
	--p-color-accent: #5bc0de;
	--p-color-white: #fff;
	--p-color-black: #000;
	--p-color-strong: #222;
	--p-color-border: #d9dee3;
	--p-color-border-light: #e5e7eb;
	--p-color-border-lighter: #eee;
	--p-color-surface: #f8f8f8;
	--p-color-surface-soft: #f5f3f3;
	--p-color-black-rgb: 0 0 0;
	--p-shadow-rgb: 18 28 38;
	--p-font-size-xs: 10px;
	--p-font-size-s: 11px;
	--p-font-size-sm: 12px;
	--p-font-size-md: 13px;
	--p-font-size-base: 14px;
	--p-font-size-lg: 15px;
	--p-font-size-drawer-title: 16px;
	--p-content-gap: 48px;
	--p-radius-sm: 4px;
	--p-radius-md: 8px;
}

body.post-type-archive-product #primary.p-product-archive,
.p-product-archive {
	clear: both !important;
	float: none !important;
	display: block;
	width: min(calc(100% - 48px), var(--p-content-width));
	max-width: var(--p-content-width) !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: 44px 0 64px;
	box-sizing: border-box;
}

.p-breadcrumb {
	margin: 0 0 14px;
	color: var(--p-color-muted);
	font-size: var(--p-font-size-sm);
	line-height: 1.5;
}

.p-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.p-breadcrumb__link {
	color: var(--p-color-body);
	text-decoration: none;
}

.p-breadcrumb__link:hover,
.p-breadcrumb__link:focus {
	color: var(--p-color-heading);
	text-decoration: underline;
}

.p-breadcrumb__current {
	color: var(--p-color-muted-light);
}

.p-breadcrumb__separator {
	margin: 0 7px;
	color: var(--p-color-muted-light);
}

body.post-type-archive-product #primary.p-product-archive article.p-product-card,
body.archive:not(.page-one-column):not(.has-sidebar) #primary.p-product-archive article.p-product-card {
	clear: none !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-bottom: 0 !important;
}

body.post-type-archive-product #primary.p-product-archive .navigation.pagination,
body.archive:not(.page-one-column):not(.has-sidebar) #primary.p-product-archive .navigation.pagination {
	clear: none !important;
	float: none !important;
	width: 100% !important;
}

.p-product-archive__header {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: flex-end;
	justify-content: space-between;
	margin: 0;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--p-color-border-light);
}

.p-product-archive__title {
	margin: 0;
	color: var(--p-color-heading);
	font-size: var(--p-font-size-base);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0;
}

.p-product-archive__lead {
	margin: 6px 0 0;
	color: var(--p-color-muted-dark);
	font-size: var(--p-font-size-base);
	line-height: 1.7;
}

.p-product-toolbar {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 14px;
	padding: 16px 0;
	border-top: 0;
	border-bottom: 1px solid var(--p-color-border-lighter);
}

.p-product-toolbar__title,
.p-product-toolbar__count {
	margin: 0;
	color: var(--p-color-body);
	font-size: var(--p-font-size-md);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
}

.p-product-toolbar__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: flex-end;
}

.p-product-toolbar__actions .p-icon {
	display: block;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.p-product-toolbar__actions .p-icon--fill {
	fill: currentColor;
	stroke: none;
}

.p-product-toolbar__filter-button {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 16px;
	border: 1px solid var(--p-color-control-border);
	border-radius: 0;
	background: var(--p-color-white);
	color: var(--p-color-strong);
	font-size: var(--p-font-size-sm);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	cursor: pointer;
	transition: background 0.16s ease, border-color 0.16s ease;
}

.p-product-toolbar__filter-button:visited,
.p-product-toolbar__filter-button:hover,
.p-product-toolbar__filter-button:active,
.p-product-toolbar__filter-button:focus,
.p-product-toolbar__filter-button:focus-visible {
	border-color: var(--p-color-control-border);
	background: var(--p-color-white);
	color: var(--p-color-strong);
	outline: none;
}

.p-product-sort {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	margin: 0;
}

.p-product-sort__label {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--p-color-neutral-dark);
	font-size: var(--p-font-size-sm);
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.p-product-sort__select {
	min-height: 38px;
	min-width: 156px;
	padding: 8px 34px 8px 12px;
	border: 1px solid var(--p-color-control-border);
	border-radius: 0;
	background-color: var(--p-color-white);
	color: var(--p-color-strong);
	font-size: var(--p-font-size-sm);
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

.p-product-sort__select:focus {
	border-color: var(--p-color-strong);
	outline: 1px solid rgb(var(--p-color-black-rgb) / 0.25);
	outline-offset: 2px;
}

.p-product-filter-drawer {
	position: fixed;
	inset: 0;
	z-index: 9999;
	visibility: hidden;
	pointer-events: none;
}

.p-product-filter-drawer.is-open {
	visibility: visible;
	pointer-events: none;
}

.p-product-filter-drawer__panel {
	position: relative;
	z-index: 2;
	display: flex;
	width: min(360px, 88vw);
	height: 100%;
	background: var(--p-color-white);
	box-shadow: 8px 0 24px rgb(var(--p-color-black-rgb) / 0.08);
	transform: translateX(-100%);
	transition: transform 0.24s ease;
	pointer-events: auto;
}

.p-product-filter-drawer.is-open .p-product-filter-drawer__panel {
	transform: translateX(0);
}

.p-product-filter-drawer__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgb(var(--p-color-black-rgb) / 0.4);
	opacity: 1;
	cursor: pointer;
	pointer-events: none;
}

.p-product-filter-drawer__overlay:hover,
.p-product-filter-drawer__overlay:focus,
.p-product-filter-drawer__overlay:active,
.p-product-filter-drawer.is-open .p-product-filter-drawer__overlay {
	background: rgb(var(--p-color-black-rgb) / 0.4);
	opacity: 1;
}

.p-product-filter {
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	flex-direction: column;
	border: 0;
	background: var(--p-color-white);
}

.p-product-filter__header {
	display: flex;
	gap: 16px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: flex-end;
	padding: 22px 26px 18px;
	border-bottom: 0;
}

.p-product-filter__title {
	margin: 0;
	color: var(--p-color-strong);
	font-size: var(--p-font-size-drawer-title);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
}

.p-product-filter__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--p-color-muted-light);
	font-size: 26px;
	font-weight: 300;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.p-product-filter__close:hover,
.p-product-filter__close:focus {
	color: var(--p-color-body);
}

.p-product-filter__body {
	display: grid;
	flex: 1 1 auto;
	grid-template-columns: 1fr;
	gap: 0;
	padding: 0 26px 22px;
	overflow-y: auto;
}

.p-product-filter__keyword {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 62px;
	width: 100%;
	margin: 0 0 26px;
	border: 1px solid var(--p-color-control-border);
	border-radius: 0;
	background: var(--p-color-white);
}

.p-product-filter .p-product-filter__keyword-input[type="search"] {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	min-width: 0;
	margin: 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 0 !important;
	background: var(--p-color-white);
	color: var(--p-color-neutral-strong);
	font-size: var(--p-font-size-sm);
	line-height: 1.4;
	box-shadow: none;
}

.p-product-filter .p-product-filter__keyword-input[type="search"]::placeholder {
	color: var(--p-color-muted-light);
	font-size: var(--p-font-size-sm);
	opacity: 1;
}

.p-product-filter__keyword:focus-within {
	border-color: var(--p-color-strong);
	outline: 1px solid var(--p-color-strong);
	outline-offset: -1px;
}

.p-product-filter .p-product-filter__keyword-input[type="search"]:focus {
	border: 0;
	outline: 0;
	box-shadow: none;
}

.p-product-filter__keyword-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 0;
	border-radius: 0 !important;
	background: var(--p-color-strong);
	color: var(--p-color-white);
	cursor: pointer;
}

.p-product-filter__keyword-submit:hover,
.p-product-filter__keyword-submit:focus {
	border-color: var(--p-color-black);
	background: var(--p-color-black);
	color: var(--p-color-white);
}

.p-product-filter__keyword-submit .p-icon {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.p-product-filter__group {
	min-width: 0;
	margin: 0 0 25px;
	padding: 0;
	border: 0;
	border-bottom: 0;
}

.p-product-filter__group:last-child {
	margin-bottom: 0;
}

.p-product-filter__group:nth-child(3n) {
	border-right: 0;
}

.p-product-filter__group-title {
	display: block;
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	border-bottom: 0;
	color: var(--p-color-neutral-strong);
	font-size: var(--p-font-size-lg);
	font-weight: 700;
	line-height: 1.4;
}

.p-product-filter__group-title::before {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	margin: 0 0 18px;
	background: var(--p-color-border);
}

.p-product-filter__options {
	display: grid;
	grid-template-columns: 1fr;
	gap: 5px;
}

.p-product-filter__option {
	display: flex;
	width: 100%;
	gap: 0;
	align-items: center;
	min-width: 0;
	min-height: 22px;
	cursor: pointer;
}

.p-product-filter__checkbox {
	position: static;
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
	margin: 0 5px 0 0;
	padding: 0;
	accent-color: var(--p-color-strong);
}

.p-product-filter__label {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	min-height: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--p-color-neutral-strong);
	font-size: var(--p-font-size-base);
	font-weight: 400;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.16s ease;
	white-space: nowrap;
}

.p-product-filter__option:hover .p-product-filter__label,
.p-product-filter__checkbox:focus-visible + .p-product-filter__label {
	color: var(--p-color-black);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.p-product-filter__checkbox:checked + .p-product-filter__label {
	border-color: transparent;
	background: transparent;
	color: var(--p-color-strong);
	font-weight: 400;
	box-shadow: none;
}

.p-product-filter__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
	align-items: center;
	justify-content: flex-end;
	padding: 20px 26px 24px;
	border-top: 1px solid var(--p-color-border-lighter);
	background: var(--p-color-white);
}

.p-product-filter__submit,
.p-product-filter__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 24px;
	border-radius: 0;
	font-size: var(--p-font-size-sm);
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}

.p-product-filter__submit {
	border: 1px solid var(--p-color-strong);
	background: var(--p-color-strong);
	color: var(--p-color-white);
}

.p-product-filter__submit:hover,
.p-product-filter__submit:focus {
	border-color: var(--p-color-black);
	background: var(--p-color-black);
}

.p-product-filter__reset {
	border: 1px solid var(--p-color-control-border-soft);
	background: var(--p-color-white);
	color: var(--p-color-strong);
}

.p-product-filter__reset:hover,
.p-product-filter__reset:focus {
	border-color: var(--p-color-muted);
	color: var(--p-color-strong);
	text-decoration: none;
}

.p-product-filter__selected {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	align-items: center;
	margin: -2px 0 16px;
	padding: 0;
}

.p-product-filter__selected-title {
	color: var(--p-color-neutral);
	font-size: var(--p-font-size-sm);
	font-weight: 600;
	line-height: 1.4;
}

.p-product-filter__selected-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.p-product-filter__selected-item {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 8px;
	border: 1px solid var(--p-color-card-border);
	border-radius: 0;
	background: var(--p-color-surface);
	color: var(--p-color-body);
	font-size: var(--p-font-size-sm);
	font-weight: 500;
	line-height: 1.3;
}

.p-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	justify-content: center;
}

.p-product-card {
	min-width: 0;
	border: 1px solid var(--p-color-border);
	border-radius: 10px;
	background: var(--p-color-white);
	box-shadow: 0 1px 2px rgb(var(--p-shadow-rgb) / 0.04);
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.p-product-card:hover,
.p-product-card:focus-within {
	border-color: var(--p-color-card-border-hover);
	box-shadow: 0 10px 24px rgb(var(--p-shadow-rgb) / 0.09);
	transform: translateY(-2px);
}

.p-product-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.p-product-card__link:hover .p-product-card__title,
.p-product-card__link:focus .p-product-card__title {
	color: var(--p-color-primary);
	text-decoration: none;
}

.p-product-card__image {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	padding: 12px;
	background: var(--p-color-white);
	color: var(--p-color-muted);
	font-size: var(--p-font-size-sm);
	font-weight: 700;
	letter-spacing: 0;
	box-sizing: border-box;
}

.p-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.p-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 0 13px 18px;
}

.p-product-card__meta,
.p-product-card__note,
.p-product-card__price,
.p-product-card__counts {
	margin: 0;
}

.p-product-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0 5px;
	align-items: center;
	color: var(--p-color-muted);
	font-size: var(--p-font-size-sm);
	font-weight: 400;
	line-height: 1.2;
}

.p-product-card__code {
	color: var(--p-color-muted);
	font-size: var(--p-font-size-sm);
	font-weight: 400;
	line-height: 1.2;
}

.p-product-card__brand {
	color: var(--p-color-primary);
	font-size: var(--p-font-size-sm);
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
}

.p-product-card__separator {
	color: var(--p-color-muted-light);
	font-size: var(--p-font-size-sm);
	font-weight: 400;
	line-height: 1.2;
}

.p-product-card__badges {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.p-product-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--p-color-strong);
	color: var(--p-color-white);
	font-size: var(--p-font-size-sm);
	font-weight: 700;
	line-height: 1;
}

.p-product-card__badge--new {
	background: #c94f3d;
}

.p-product-card__title {
	clear: none;
	margin: 0;
	padding: 0;
	color: var(--p-color-text);
	font-size: var(--p-font-size-base);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0;
}

.p-product-card__note {
	color: var(--p-color-muted-dark);
	font-size: var(--p-font-size-sm);
	line-height: 1.5;
}

.p-product-card__counts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2px;
}

.p-product-card__counts span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 5px 9px;
	border: 1px solid var(--p-color-chip-border);
	border-radius: 999px;
	background: var(--p-color-white);
	color: var(--p-color-body);
	font-size: var(--p-font-size-s);
	font-weight: 700;
	line-height: 1.2;
}

.p-product-card__price {
	margin-top: auto;
	padding-top: 6px;
	color: var(--p-color-body);
	font-size: var(--p-font-size-drawer-title);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.p-product-card__price-symbol,
.p-product-card__price-suffix,
.p-product-card__price .p-price-symbol,
.p-product-card__price .p-price-suffix {
	display: inline-block;
	font-size: 0.72em;
	line-height: 1;
	vertical-align: 0.08em;
}

.p-product-card__price-number,
.p-product-card__price .p-price-number {
	display: inline-block;
	line-height: 1;
}

.p-product-card__price .p-price-tax {
	font-weight: 400;
}

.p-product-card__price .p-price-tax-label {
	display: inline-block;
	font-size: 0.72em;
	line-height: 1;
	vertical-align: 0.08em;
}

.p-product-archive .navigation.pagination {
	margin: 36px 0 0;
}

.p-product-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	justify-content: center;
}

.p-product-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--p-color-primary);
	font-size: var(--p-font-size-md);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.p-product-archive .page-numbers:visited,
.p-product-archive .page-numbers:hover {
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--p-color-primary);
	outline: none;
	text-decoration: none;
}

.p-product-archive .page-numbers:focus,
.p-product-archive .page-numbers:focus-visible {
	border: 0;
	background: var(--p-color-muted-dark);
	box-shadow: none;
	color: var(--p-color-white);
	outline: none;
	text-decoration: none;
}

.p-product-archive .page-numbers.current {
	background: var(--p-color-primary);
	color: var(--p-color-white);
}

.p-product-archive .page-numbers.current:hover,
.p-product-archive .page-numbers.current:focus,
.p-product-archive .page-numbers.current:focus-visible {
	background: var(--p-color-primary);
	color: var(--p-color-white);
}

body.post-type-archive-product #primary.p-product-archive .navigation.pagination .nav-links a.page-numbers:visited,
body.post-type-archive-product #primary.p-product-archive .navigation.pagination .nav-links a.page-numbers:hover {
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--p-color-primary);
	outline: none;
	text-decoration: none;
}

body.post-type-archive-product #primary.p-product-archive .navigation.pagination .nav-links a.page-numbers:focus,
body.post-type-archive-product #primary.p-product-archive .navigation.pagination .nav-links a.page-numbers:focus-visible {
	border: 0;
	background: var(--p-color-muted-dark);
	box-shadow: none;
	color: var(--p-color-white);
	outline: none;
	text-decoration: none;
}

body.post-type-archive-product #primary.p-product-archive .navigation.pagination .nav-links a.page-numbers.current:hover,
body.post-type-archive-product #primary.p-product-archive .navigation.pagination .nav-links a.page-numbers.current:focus,
body.post-type-archive-product #primary.p-product-archive .navigation.pagination .nav-links a.page-numbers.current:focus-visible {
	background: var(--p-color-primary);
	color: var(--p-color-white);
}

.p-product-archive .page-numbers.dots {
	width: 32px;
	color: var(--p-color-muted);
}

.p-product-archive .page-numbers.prev,
.p-product-archive .page-numbers.next {
	font-size: 24px;
	font-weight: 400;
}

.p-product-archive__empty {
	margin: 24px 0 0;
}

@media (max-width: 960px) {
	.p-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.p-product-archive__header {
		align-items: flex-start;
	}

	.p-product-filter__actions {
		flex-direction: column-reverse;
		align-items: stretch;
		padding-bottom: 18px;
	}

	.p-product-filter__submit,
	.p-product-filter__reset {
		justify-content: center;
	}

	.p-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	body.post-type-archive-product #primary.p-product-archive,
	.p-product-archive {
		width: min(calc(100% - 24px), var(--p-content-width));
		padding: 28px 0 40px;
	}

	.p-product-archive__header {
		margin-bottom: 22px;
	}

	.p-product-toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
		margin-bottom: 16px;
		padding: 14px 0 16px;
	}

	.p-product-toolbar__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		justify-content: stretch;
		overflow: hidden;
		border-radius: 8px;
		background: var(--p-color-surface-soft);
	}

	.p-product-toolbar__filter-button {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: max-content;
		align-items: center;
		justify-content: center;
		column-gap: 8px;
		width: 100%;
		height: 48px;
		min-height: 48px;
		padding: 12px 14px;
		border: 0;
		background: transparent;
		color: var(--p-color-body);
		font-size: var(--p-font-size-md);
		font-weight: 600;
		line-height: 1;
	}

	.p-product-toolbar__filter-button:visited,
	.p-product-toolbar__filter-button:hover,
	.p-product-toolbar__filter-button:active,
	.p-product-toolbar__filter-button:focus,
	.p-product-toolbar__filter-button:focus-visible {
		border-color: transparent;
		background: transparent;
		color: var(--p-color-body);
		outline: none;
	}

	.p-product-sort {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 48px;
		min-height: 48px;
		gap: 0;
	}

	.p-product-sort__label {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: max-content;
		align-items: center;
		width: 100%;
		height: 48px;
		column-gap: 8px;
		justify-content: center;
		color: var(--p-color-body);
		font-size: var(--p-font-size-md);
		font-weight: 600;
		line-height: 1;
		pointer-events: none;
	}

	.p-product-toolbar__filter-button span,
	.p-product-sort__label span {
		display: inline-flex;
		align-items: center;
		line-height: 1;
	}

	.p-product-toolbar__filter-button > * {
		transform: translateY(-2px);
	}

	.p-product-sort__select {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		min-width: 0;
		border: 0;
		background: transparent;
		opacity: 0;
	}

	.p-product-sort__select,
	.p-product-sort__select option {
		color: var(--p-color-neutral-strong);
	}

	.p-product-filter-drawer__panel {
		width: min(90vw, 360px);
	}

	.p-product-filter__header {
		padding: 26px 22px 28px;
	}

	.p-product-filter__label {
		min-height: 24px;
	}

	.p-product-filter__body {
		padding-right: 22px;
		padding-left: 22px;
	}

	.p-product-filter__selected {
		margin-bottom: 16px;
	}

	.p-product-filter__actions {
		padding-right: 22px;
		padding-left: 22px;
	}

	.p-product-filter__submit,
	.p-product-filter__reset {
		width: 100%;
	}

	.p-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.p-product-card__image {
		aspect-ratio: 1 / 1;
		padding: 8px;
	}
}

body.post-type-archive-product #primary.p-product-archive .p-product-grid > article.p-product-card,
body.archive:not(.page-one-column):not(.has-sidebar) #primary.p-product-archive .p-product-grid > article.p-product-card {
	clear: none !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.post-type-archive-product #primary.p-product-archive .p-product-grid,
body.archive:not(.page-one-column):not(.has-sidebar) #primary.p-product-archive .p-product-grid {
	clear: both;
	width: 100%;
}

