/**
 * Mobile product grids — shop "all cards", game categories, tags and search
 * results. Pairs with pcf_render_mobile_shop_header() /
 * pcf_render_mobile_shop_overlays() and assets/mobile-shop.js.
 *
 * Enqueued on product grid pages (pcf_is_product_grid_page()), and on
 * product pages for the tile rules, which style their Related products grid
 * too. Scoped to max-width:1025px like the rest of the nav shell. Above that
 * the desktop layout — hero, sidebar filters, WooCommerce's own count and
 * ordering — is untouched.
 *
 * Design tokens come from nav-shell.css, declared as this file's dependency.
 * Status and selection colours stay on the brand palette: no green.
 */

.pc-shop-mobile,
.pc-filters,
.pc-shop-empty {
	display: none;
}

@media (max-width: 1025px) {

	.pc-shop-mobile__back,
	.pc-shopbar__btn,
	.pc-shopbar__scan,
	.pc-shop-search__field,
	.pc-shop-search__clear,
	.pc-filters button,
	.pc-sort-sheet button {
		-webkit-tap-highlight-color: transparent;
	}

	/* ---------- What the mobile header replaces ----------
	   The hero banner, the sidebar the filter panel is lifted out of (its
	   "FILTERS" heading and borders would stay behind otherwise), and
	   WooCommerce's own count and ordering dropdown — the header carries
	   the count, and the Sort sheet the ordering. */
	.pc-shop-hero,
	.pc-shop-sidebar,
	.woocommerce-result-count,
	.woocommerce-ordering,
	.woocommerce-products-header,
	.woocommerce-breadcrumb {
		display: none !important;
	}

	/* ---------- Grid header ---------- */

	.pc-shop-mobile {
		display: block;
		padding: 16px 18px 0;
		background: var(--surface-page);
		font-family: var(--font-body);
		color: var(--text-body);
	}

	.pc-shop-mobile__head {
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0 0 14px -10px;
	}

	.pc-shop-mobile__back {
		flex: none;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		color: var(--text-heading) !important;
		text-decoration: none;
	}

	/* The brand mark and title (pcf_header_brand()) read from the back
	   arrow, left-aligned like the title always was here. */
	.pc-shop-mobile__head .pc-header-brand {
		justify-content: flex-start;
	}

	.pc-shop-mobile__title {
		margin: 0;
		min-width: 0;
		font-family: var(--font-display);
		/* !important: the theme sets heading sizes with !important. */
		font-size: 1.15rem !important;
		font-weight: 600;
		line-height: 1.25;
		letter-spacing: normal;
		text-transform: none;
		color: var(--text-heading);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.pc-shop-mobile__count {
		margin: 12px 0 0;
		font-family: var(--font-ui);
		font-size: 0.75rem;
		color: rgba(82, 53, 27, 0.6);
	}

	.pc-shop-mobile__count[hidden] {
		display: none;
	}

	/* Search results: the Search tab's root header and the field sit on top
	   and stay reachable while the grid scrolls. Tapping the field reopens
	   the full-screen search, which opens with the same header. */
	.pc-shop-mobile--search {
		padding-top: 0;
	}

	.pc-shop-mobile__search {
		position: sticky;
		top: 0;
		z-index: 20;
		margin: 0 -18px;
		padding: 14px 18px 10px;
		background: var(--surface-page);
		border-bottom: 1px solid var(--border-hairline);
	}

	.pc-shop-mobile__search .pc-root-header {
		margin: -14px -18px 12px;
	}

	.pc-shop-search {
		display: flex;
		align-items: center;
		min-height: 48px;
		border: var(--bw-default) solid var(--border-strong);
		border-radius: var(--radius-md);
		background: var(--surface-card);
	}

	.pc-shop-search__field,
	.pc-shop-search__field:hover,
	.pc-shop-search__field:focus {
		flex: 1;
		min-width: 0;
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 44px;
		margin: 0;
		padding: 0 0 0 13px;
		border: 0;
		background: none;
		box-shadow: none;
		text-align: left;
		color: rgba(82, 53, 27, 0.6);
		cursor: text;
	}

	.pc-shop-search__query {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-family: var(--font-body);
		font-size: 16px;
		color: var(--text-heading);
	}

	.pc-shop-search__clear,
	.pc-shop-search__clear:hover,
	.pc-shop-search__clear:focus {
		flex: none;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
		color: rgba(82, 53, 27, 0.6);
	}

	/* ---------- Filters / Sort / scans bar ---------- */

	.pc-shopbar {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-top: 12px;
	}

	.pc-shopbar__btn,
	.pc-shopbar__btn:hover,
	.pc-shopbar__btn:focus,
	.pc-shopbar__btn:active {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		margin: 0;
		padding: 0 16px;
		border: var(--bw-default) solid var(--border-default);
		border-radius: var(--radius-pill);
		background: transparent;
		box-shadow: none;
		outline: none;
		font-family: var(--font-ui);
		font-size: 0.85rem;
		font-weight: 700;
		line-height: 1;
		text-transform: none;
		color: var(--text-heading);
		cursor: pointer;
	}

	.pc-shopbar__btn:focus-visible,
	.pc-shopbar__scan:focus-within {
		outline: 2px solid var(--accent);
		outline-offset: 2px;
	}

	.pc-shopbar__btn[hidden] {
		display: none;
	}

	.pc-shopbar__badge {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 22px;
		height: 22px;
		padding: 0 6px;
		border-radius: var(--radius-pill);
		background: var(--accent);
		font-size: 0.72rem;
		color: #fff;
	}

	.pc-shopbar__badge[hidden] {
		display: none;
	}

	/* Card-scan toggle as a square icon button. The checkbox stays the real
	   control (scan-toggle.js listens to it); it is just drawn by the label. */
	.pc-shopbar__scan {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: 0 0 0 auto;
		border: var(--bw-default) solid var(--border-default);
		border-radius: var(--radius-md);
		color: var(--text-heading);
		cursor: pointer;
		transition: var(--motion-default);
	}

	.pc-shopbar__scan[hidden] {
		display: none;
	}

	.pc-shopbar__scan-input {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		opacity: 0;
		cursor: pointer;
	}

	.pc-shopbar__scan:has(.pc-shopbar__scan-input:checked) {
		border-color: var(--accent);
		background: var(--pc-brown-08);
		color: var(--accent);
	}

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

	/* Edge to edge: the theme's container stops at 540px from 540px wide
	   and 720px from 781px, which left a wide phone or a tablet with a
	   grid a third narrower than its screen. */
	.archive .container.px-4 {
		max-width: none;
		padding-left: 18px !important;
		padding-right: 18px !important;
	}

	.archive .container.px-4 > .row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.archive .container.px-4 > .row > .col-md {
		padding: 12px 0 0 !important;
		border: 0 !important;
	}

	.archive .container.px-4 .stripes-bg {
		display: none;
	}

	/* Tiles — grids, and a product page's Related products. :is() keeps the
	   specificity a single .archive gave, which the theme's own tile rules
	   were measured against. */
	:is(.archive, .single-product) ul.products,
	:is(.archive, .single-product) ul.products.columns-4 {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	:is(.archive, .single-product) ul.products::before,
	:is(.archive, .single-product) ul.products::after {
		display: none !important;
	}

	:is(.archive, .single-product) ul.products li.pcf-tile {
		width: auto !important;
		margin: 0 !important;
		padding: 10px !important;
		border-radius: var(--radius-lg);
		background: var(--surface-card);
		box-shadow: var(--shadow-sm);
	}

	/* A card-shaped 5:7 box with the image filling it. On grids
	   product-tile.css already draws exactly this; it's repeated here for
	   product pages, where that file doesn't load, so Related products
	   matches the grid instead of cropping cards square. */
	:is(.archive, .single-product) li.pcf-tile .pcf-tile-media {
		position: relative;
		aspect-ratio: 5 / 7;
		border-radius: 8px;
		overflow: hidden;
		/* One step darker than the tile itself (--surface-card), so an
		   image still loading reads as a well rather than blending in. */
		background: var(--pc-tan);
	}

	/* Also the foil overlay's box. */
	:is(.archive, .single-product) li.pcf-tile .pcf-tile-media-link {
		position: absolute;
		inset: 0;
		display: block;
		overflow: hidden;
		border-radius: var(--pcf-card-radius, 3.99% / 2.85%);
	}

	/* ul.products to outrank WooCommerce's and Astra's loop image rules
	   (a 1em bottom margin, height:auto). */
	:is(.archive, .single-product) ul.products li.pcf-tile .pcf-tile-media img {
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
		object-fit: cover;
	}

	:is(.archive, .single-product) li.pcf-tile .pcf-tile-caption {
		display: block;
		padding: 10px 0 0;
		text-decoration: none;
	}

	:is(.archive, .single-product) li.pcf-tile .pcf-tile-title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		font-family: var(--font-display);
		font-size: 0.8rem;
		font-weight: 600;
		line-height: 1.3;
		color: var(--text-heading);
	}

	:is(.archive, .single-product) li.pcf-tile .pcf-tile-price {
		display: block;
		margin-top: 4px;
		font-family: var(--font-ui);
		font-size: 0.75rem;
		font-weight: 700;
		color: var(--accent);
	}

	:is(.archive, .single-product) li.pcf-tile .pcf-tile-price * {
		color: inherit;
		font-size: inherit;
	}

	/* A variable product's "$3.00 – $4.00" becomes "from $3.00" here. The
	   "from" span is rendered [hidden] for every other context. */
	:is(.archive, .single-product) li.pcf-tile .pcf-tile-price--range {
		display: none;
	}

	/* !important: Bootstrap's [hidden] { display: none !important }. */
	:is(.archive, .single-product) li.pcf-tile .pcf-tile-price--from[hidden] {
		display: block !important;
	}

	.woocommerce-pagination {
		margin-top: 16px;
	}

	/* ---------- Search with no results ---------- */

	.woocommerce-no-products-found,
	.woocommerce-info.woocommerce-no-products-found {
		display: none;
	}

	.pc-shop-empty {
		display: block;
		padding: 40px 10px 24px;
		text-align: center;
		color: rgba(82, 53, 27, 0.6);
	}

	.pc-shop-empty__title {
		margin: 14px 0 6px;
		font-family: var(--font-display);
		font-size: 1.05rem;
		font-weight: 600;
		line-height: 1.3;
		color: var(--text-heading);
		overflow-wrap: anywhere;
	}

	.pc-shop-empty__hint {
		max-width: 290px;
		margin: 0 auto;
		font-size: 0.85rem;
		line-height: 1.45;
	}

	.pc-shop-empty__eyebrow {
		margin: 32px 0 10px;
		font-family: var(--font-ui);
		font-size: 0.72rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.pc-shop-empty__chips {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
	}

	.pc-chip {
		display: inline-flex;
		align-items: center;
		min-height: 40px;
		padding: 0 14px;
		border: 1.5px solid var(--border-default);
		border-radius: var(--radius-pill);
		font-family: var(--font-ui);
		font-size: 0.85rem;
		color: var(--text-heading) !important;
		text-decoration: none !important;
	}

	/* ---------- Filters screen ----------
	   Full screen, no tab bar: z-index above the tab bar (200) and drawers
	   (205/210). */
	html.pc-filters-open,
	html.pc-filters-open body {
		overflow: hidden;
	}

	.pc-filters {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0;
		z-index: 300;
		background: var(--surface-page);
		font-family: var(--font-body);
		color: var(--text-body);
	}

	.pc-filters[hidden] {
		display: none;
	}

	.pc-filters__header {
		flex: none;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		min-height: 56px;
		padding: 0 8px;
		border-bottom: 1px solid var(--border-hairline);
	}

	.pc-filters__title {
		margin: 0;
		font-family: var(--font-display);
		font-size: 1.05rem !important;
		font-weight: 600;
		letter-spacing: normal;
		text-transform: none;
		color: var(--text-heading);
	}

	.pc-filters .pc-filters__icon-btn,
	.pc-filters .pc-filters__icon-btn:hover,
	.pc-filters .pc-filters__icon-btn:focus,
	.pc-filters .pc-filters__text-btn,
	.pc-filters .pc-filters__text-btn:hover,
	.pc-filters .pc-filters__text-btn:focus {
		display: flex;
		align-items: center;
		min-height: 44px;
		margin: 0;
		padding: 0 10px;
		border: 0;
		background: none;
		box-shadow: none;
		font-family: var(--font-ui);
		font-size: 0.85rem;
		font-weight: 500;
		text-transform: none;
		color: var(--text-heading);
		cursor: pointer;
	}

	.pc-filters .pc-filters__icon-btn {
		justify-self: start;
		width: 44px;
		justify-content: center;
		padding: 0;
	}

	.pc-filters .pc-filters__text-btn {
		justify-self: end;
		color: var(--accent);
	}

	.pc-filters__body {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.pc-filters__footer {
		flex: none;
		display: flex;
		gap: 12px;
		padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
		border-top: var(--bw-default) solid var(--border-strong);
		background: var(--surface-page);
	}

	.pc-filters .pc-filters__clear {
		flex: none;
		min-width: 0;
		min-height: 55px;
		padding: 0 20px;
		border-color: var(--border-strong) !important;
		color: var(--text-heading) !important;
		font-size: 1rem;
	}

	.pc-filters .pc-filters__apply {
		flex: 1;
		min-width: 0;
		min-height: 55px;
		font-size: 1rem;
		transition: opacity 0.15s ease-in-out;
	}

	.pc-filters .pc-filters__apply.is-pending {
		opacity: 0.7;
	}

	/* The card-scan toggle, lifted from the sidebar along with the panel. The
	   switch itself is nav-shell.css's. */
	.pc-filters__body .pcs-scan-toggle {
		margin: 0;
		padding: 14px 18px;
		border-bottom: 1px solid var(--border-hairline);
	}

	.pc-filters__body .pcs-scan-toggle[hidden] {
		display: none;
	}

	.pc-filters__body .pcs-scan-toggle__label {
		flex-direction: row-reverse;
		justify-content: space-between;
		min-height: 32px;
		font-family: var(--font-ui);
		font-size: 0.95rem;
		font-weight: 500;
		color: var(--text-heading);
	}

	.pc-filters__body .pcs-scan-toggle__hint {
		display: none;
	}

	/* ---------- The filter panel, as accordion groups ---------- */

	.pc-filters .wpfMainWrapper {
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	/* The plugin's own clear button and titles are replaced by the screen's
	   header/footer and the group headers mobile-shop.js adds. */
	.pc-filters .wpfMainWrapper .wpfFilterButtons,
	.pc-filters .wpfMainWrapper .wpfClearButton,
	.pc-filters .wpfMainWrapper .wpfFilterTitle,
	.pc-filters .wpfMainWrapper .pc-fgroup--skip {
		display: none !important;
	}

	.pc-filters .wpfMainWrapper .pc-fgroup {
		margin: 0 !important;
		padding: 0 !important;
		border-bottom: 1px solid var(--border-hairline);
	}

	.pc-filters .pc-fgroup__head,
	.pc-filters .pc-fgroup__head:hover,
	.pc-filters .pc-fgroup__head:focus {
		display: flex;
		align-items: center;
		gap: 6px;
		width: 100%;
		min-height: 56px;
		margin: 0;
		padding: 0 18px;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		text-align: left;
		font-family: var(--font-ui);
		font-size: 0.95rem;
		font-weight: 500;
		text-transform: none;
		color: var(--text-heading);
		cursor: pointer;
	}

	.pc-fgroup__label {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.pc-fgroup__count {
		color: var(--accent);
	}

	.pc-fgroup__swatches {
		display: flex;
		gap: 4px;
		margin-left: auto;
	}

	.pc-fgroup__swatch {
		width: 14px;
		height: 14px;
		border-radius: 50%;
		box-shadow: inset 0 0 0 1px rgba(67, 47, 31, 0.25);
	}

	.pc-fgroup__chevron {
		flex: none;
		margin-left: auto;
		color: rgba(82, 53, 27, 0.6);
		transition: transform 0.25s ease-in-out;
	}

	.pc-fgroup__swatches:not(:empty) + .pc-fgroup__chevron {
		margin-left: 8px;
	}

	.pc-fgroup.is-open .pc-fgroup__chevron {
		transform: rotate(180deg);
	}

	.pc-filters .wpfMainWrapper .pc-fgroup .wpfFilterContent {
		display: none !important;
		padding: 0 18px 14px !important;
	}

	/* The plugin collapses its own groups with .wpfHide (max-height:0). */
	.pc-filters .wpfMainWrapper .pc-fgroup.is-open .wpfFilterContent {
		display: block !important;
		max-height: none !important;
		overflow: visible !important;
	}

	/* No inner scroller: the screen itself scrolls. */
	.pc-filters .wpfMainWrapper .wpfFilterVerScroll {
		max-height: none !important;
		overflow: visible !important;
	}

	/* !important: `.woocommerce input[type=search]` would otherwise paint
	   this white with its own border and padding. */
	.pc-filters .pc-fgroup__search {
		width: 100%;
		min-height: 44px;
		margin: 0 0 8px !important;
		padding: 0 12px !important;
		border: var(--bw-default) solid var(--border-default) !important;
		border-radius: var(--radius-md) !important;
		background: var(--surface-card) !important;
		font-family: var(--font-body);
		font-size: 16px;
		color: var(--text-heading);
		box-shadow: none !important;
	}

	.pc-filters .wpfMainWrapper .wpfCheckboxHier ul {
		margin: 0 !important;
		padding: 0 !important;
	}

	.pc-filters .wpfMainWrapper .wpfCheckboxHier li > ul {
		margin-left: 18px !important;
	}

	.pc-filters .wpfMainWrapper .wpfCheckboxHier li {
		margin: 0 !important;
		padding: 0 !important;
	}

	.pc-filters .wpfMainWrapper .wpfCheckboxHier li[hidden] {
		display: none !important;
	}

	.pc-filters .wpfMainWrapper .wpfLiLabel {
		display: flex !important;
		align-items: center;
		gap: 12px;
		min-height: 44px;
		margin: 0 !important;
		padding: 0 !important;
		cursor: pointer;
	}

	/* The plugin draws its box on the inner label's pseudo-elements; draw
	   the real input instead, per the component kit's Checkbox. */
	.pc-filters .wpfMainWrapper .wpfCheckbox {
		display: flex !important;
		flex: none;
	}

	.pc-filters .wpfMainWrapper .wpfCheckbox > label {
		display: none !important;
	}

	.pc-filters .wpfMainWrapper .wpfCheckbox input[type="checkbox"],
	.pc-filters .wpfMainWrapper .wpfCheckbox input[type="radio"] {
		-webkit-appearance: none;
		appearance: none;
		display: block !important;
		position: relative !important;
		width: 24px !important;
		height: 24px !important;
		margin: 0 !important;
		border: var(--bw-default) solid var(--border-default) !important;
		border-radius: 6px !important;
		background: var(--surface-card) !important;
		opacity: 1 !important;
		cursor: pointer;
		transition: var(--motion-default);
	}

	.pc-filters .wpfMainWrapper .wpfFilterWrapper[data-radio="1"] .wpfCheckbox input {
		border-radius: 50% !important;
	}

	.pc-filters .wpfMainWrapper .wpfCheckbox input:checked {
		border-color: var(--accent) !important;
		background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important;
	}

	.pc-filters .wpfMainWrapper .wpfCheckbox input:focus-visible {
		outline: 2px solid var(--accent) !important;
		outline-offset: 2px;
	}

	.pc-filters .wpfMainWrapper .wpfDisplay,
	.pc-filters .wpfMainWrapper .wpfValue,
	.pc-filters .wpfMainWrapper .wpfFilterTaxNameWrapper {
		font-family: var(--font-body) !important;
		font-size: 0.95rem !important;
		color: var(--text-heading) !important;
	}

	.pc-filters .wpfMainWrapper .wpfCount {
		color: rgba(82, 53, 27, 0.6);
		font-size: 0.8rem;
	}

	/* ---------- Sort sheet ---------- */

	.pc-sort-sheet__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: var(--space-3);
	}

	.pc-sort-sheet .pc-sheet__title {
		margin: 0;
		font-size: 1.05rem !important;
	}

	.pc-sort-sheet .pc-sort-sheet__close,
	.pc-sort-sheet .pc-sort-sheet__close:hover,
	.pc-sort-sheet .pc-sort-sheet__close:focus {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: -10px -12px -10px 0;
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
		color: rgba(82, 53, 27, 0.6);
	}

	.pc-sort-sheet .pc-sheet__option {
		min-height: 52px;
		font-family: var(--font-ui);
	}

	/* Only the selected sort is outlined; the rest read as plain rows. */
	.pc-sort-sheet .pc-sheet__option:not(.is-selected),
	.pc-sort-sheet .pc-sheet__option:not(.is-selected):hover,
	.pc-sort-sheet .pc-sheet__option:not(.is-selected):focus,
	.pc-sort-sheet .pc-sheet__option:not(.is-selected):active {
		border-color: transparent;
	}

	.pc-sort-sheet .pc-sheet__option-name {
		font-size: 0.95rem;
		font-weight: 500;
	}

	.pc-sort-sheet .pc-sheet__option.is-selected {
		background: var(--pc-brown-08);
	}

	.pc-sort-sheet .pc-sheet__option-check {
		font-size: 1.1rem;
	}

	@media (prefers-reduced-motion: reduce) {
		.pc-fgroup__chevron,
		.pc-shopbar__scan,
		.pc-filters .wpfMainWrapper .wpfCheckbox input {
			transition: none;
		}
	}
}

/* The Filters screen's scrim, only drawn where the screen is a side panel
   (tablets, below). */
.pc-filters-scrim {
	display: none;
}

/* ---------- Tablets ----------
   Three tiles to a row, four from 900px. Filters slides in as a panel on
   the right over a scrim, so the grid it refreshes stays in view; the Sort
   sheet is centred by nav-shell.css. */
@media (min-width: 600px) and (max-width: 1025px) {
	.archive .container.px-4 {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}

	:is(.archive, .single-product) ul.products,
	:is(.archive, .single-product) ul.products.columns-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}

	:is(.archive, .single-product) li.pcf-tile .pcf-tile-title {
		font-size: 0.85rem;
	}

	:is(.archive, .single-product) li.pcf-tile .pcf-tile-price {
		font-size: 0.8rem;
	}

	.pc-filters {
		left: auto;
		width: min(100%, 440px);
		border-left: var(--bw-default) solid var(--border-strong);
		box-shadow: var(--shadow-drawer);
	}

	.pc-filters-scrim:not([hidden]) {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 299;
		background: rgba(35, 25, 15, 0.4);
	}
}

@media (min-width: 900px) and (max-width: 1025px) {
	:is(.archive, .single-product) ul.products,
	:is(.archive, .single-product) ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}
