/**
 * Full catalog, filtering controls, pagination and listing feedback.
 */

.myc-view-catalog .myc-page,
.myc-view-search .myc-page,
.myc-view-category .myc-page {
	max-width: var(--ps-content-discovery);
}

.myc-view-catalog .myc-page {
	--myc-catalog-heading-gutter: 24px;
	padding-top: 0;
}

.myc-view-search .myc-page {
	--myc-catalog-heading-gutter: 24px;
	padding-top: 0;
}

/* The catalog has full-bleed heading and off-canvas controls. Safari uses the
 * root scroll container rather than body in some iOS configurations, so the
 * horizontal clip must live at both levels. */
html:has(body.myc-view-catalog) {
	overflow-x: hidden;
}

html:has(body.myc-view-search) {
	overflow-x: hidden;
}

body.myc-view-catalog {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

body.myc-view-search {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

/* `hidden` prevents the full-bleed heading from creating a horizontal scrollbar,
 * but also establishes a scroll container that stops the shared sticky header on
 * catalog and search views. `clip` retains the visual containment without taking
 * ownership of scrolling. Keep the declarations above as a fallback for older
 * browsers that do not support `clip`. */
@supports (overflow: clip) {
	html:has(body.myc-view-catalog),
	html:has(body.myc-view-search),
	body.myc-view-catalog,
	body.myc-view-search {
		overflow-x: clip;
	}
}

body.myc-layout-full.myc-view-catalog .myc-page {
	--myc-catalog-heading-gutter: var(--myc-full-width-padding, 56px);
}

body.myc-layout-full.myc-view-search .myc-page {
	--myc-catalog-heading-gutter: var(--myc-full-width-padding, 56px);
}

@media (max-width: 1199px) {
	body.myc-layout-full.myc-view-catalog .myc-page {
		--myc-catalog-heading-gutter: clamp(20px, 3vw, 32px);
	}

	body.myc-layout-full.myc-view-search .myc-page {
		--myc-catalog-heading-gutter: clamp(20px, 3vw, 32px);
	}
}

@media (min-width: 761px) and (max-width: 1199px) {
	.myc-view-catalog .myc-catalog-page-heading,
	.myc-view-search .myc-catalog-page-heading {
		padding-inline: max(var(--ps-space-5), calc((100vw - var(--ps-content-discovery)) / 2));
	}
}

body.myc-layout-full.myc-view-catalog .myc-page,
body.myc-layout-full.myc-view-search .myc-page,
body.myc-layout-full.myc-view-category .myc-page {
	max-width: none;
}

/*
 * Shop, search and category archives share one wide-page gutter. Defining it
 * on their common page shell keeps the editorial heading, filter panel and
 * results grid on the same axis in every discovery view.
 */
@media (min-width: 1200px) {
	body.myc-layout-wide.myc-view-catalog .myc-page,
	body.myc-layout-wide.myc-view-search .myc-page,
	body.myc-layout-wide.myc-view-category .myc-page {
		--myc-discovery-content-gutter: max(
			var(--ps-space-5),
			var(--myc-full-width-padding, 56px),
			calc((100vw - var(--ps-content-discovery)) / 2)
		);
		width: 100%;
		max-width: none;
		padding-right: var(--myc-discovery-content-gutter);
		padding-left: var(--myc-discovery-content-gutter);
	}
}

.myc-view-catalog .myc-page-heading,
.myc-view-search .myc-page-heading,
.myc-view-category .myc-page-heading {
	margin-bottom: var(--ps-space-7);
}

.myc-view-catalog .myc-page-heading .myc-kicker,
.myc-view-search .myc-page-heading .myc-kicker,
.myc-view-category .myc-page-heading .myc-kicker {
	color: var(--ps-color-brand-700);
}

.myc-view-catalog .myc-page-heading h1,
.myc-view-search .myc-page-heading h1,
.myc-view-category .myc-page-heading h1 {
	font-size: clamp(42px, 5vw, 68px);
}

.myc-view-catalog .myc-heading-row {
	align-items: center;
}

.myc-view-search .myc-heading-row {
	align-items: center;
}

.myc-view-catalog .myc-catalog-page-heading {
	position: relative;
	max-width: none;
	width: calc(100% + (2 * var(--myc-catalog-heading-gutter)));
	margin: 0 calc(-1 * var(--myc-catalog-heading-gutter)) var(--ps-space-6);
	padding-block: clamp(32px, 5vw, 58px);
	padding-inline: max(var(--ps-space-5), var(--myc-full-width-padding, 56px), calc((100vw - var(--ps-content-discovery)) / 2));
	border-bottom: 1px solid var(--ps-color-border);
	/* Background/texture shared with every page-heading band (shop, search,
	   category, account) — defined once in base.css so changing it changes
	   all four. */
}

.myc-view-search .myc-catalog-page-heading {
	position: relative;
	max-width: none;
	width: calc(100% + (2 * var(--myc-catalog-heading-gutter)));
	margin: 0 calc(-1 * var(--myc-catalog-heading-gutter)) var(--ps-space-6);
	padding-block: clamp(32px, 5vw, 58px);
	padding-inline: max(var(--ps-space-5), var(--myc-full-width-padding, 56px), calc((100vw - var(--ps-content-discovery)) / 2));
	border-bottom: 1px solid var(--ps-color-border);
	/* Background/texture shared with every page-heading band (shop, search,
	   category, account) — defined once in base.css so changing it changes
	   all four. */
}

.myc-view-catalog .myc-catalog-page-description {
	max-width: 520px;
	margin: 0 0 var(--ps-space-4);
	color: var(--ps-color-text-muted);
	line-height: 1.7;
}

.myc-view-search .myc-catalog-page-description {
	max-width: 520px;
	margin: 0 0 var(--ps-space-4);
	color: var(--ps-color-text-muted);
	line-height: 1.7;
}

.myc-view-catalog .myc-catalog-page-heading .myc-catalog-page-description {
	margin: var(--ps-space-3) 0 0;
}

.myc-view-search .myc-catalog-page-heading .myc-catalog-page-description {
	margin: var(--ps-space-3) 0 0;
}

.myc-results-summary {
	margin: 0 0 var(--ps-space-5);
	color: var(--ps-color-text-muted);
}

.myc-results-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ps-space-3);
	margin-bottom: var(--ps-space-5);
}

.myc-results-header .myc-results-summary {
	margin: 0;
}

.myc-results-summary-group {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: var(--ps-space-2);
	min-width: 0;
}

.myc-results-summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--ps-space-3);
	border: 1px solid var(--ps-color-border);
	border-radius: var(--ps-radius-sm);
	background: var(--ps-color-surface-subtle);
	font-size: 13px;
	font-weight: 750;
	line-height: 1;
	white-space: nowrap;
}

.myc-results-header-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: flex-end;
	gap: var(--ps-space-3);
	min-width: 0;
}

.myc-active-filter-chips--desktop {
	flex: 0 1 auto;
	flex-wrap: nowrap;
	justify-content: flex-start;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.myc-active-filter-chips--desktop::-webkit-scrollbar {
	display: none;
}

.myc-active-filter-chips--desktop .myc-active-filter-chip {
	flex: 0 0 auto;
	white-space: nowrap;
}

.myc-catalog-sort {
	flex: 0 0 220px;
	min-width: 0;
}

.myc-catalog-sort--compact {
	display: none;
}

.myc-catalog-sort select {
	width: 100%;
	min-height: 44px;
	padding: 0 calc(var(--ps-space-3) + 28px) 0 var(--ps-space-3);
	border: 1px solid var(--ps-color-border);
	border-radius: var(--ps-radius-sm);
	background-color: var(--ps-color-surface-subtle);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2370676B' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
	background-position: right var(--ps-space-3) center;
	background-repeat: no-repeat;
	background-size: 16px;
	color: var(--ps-color-text-muted);
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	cursor: pointer;
}

@media (hover: hover) {
	.myc-catalog-sort select:hover {
		border-color: var(--ps-color-text-muted);
	}
}

.myc-catalog-sort select:focus,
.myc-catalog-sort select:focus-visible {
	border-color: var(--ps-color-border);
	outline: none !important;
	box-shadow: none !important;
	-webkit-tap-highlight-color: transparent;
}

.myc-active-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.myc-active-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	min-height: 28px;
	padding: 3px 9px;
	border: 1px solid var(--ps-color-brand-border);
	border-radius: 999px;
	background: var(--ps-color-brand-50);
	color: var(--ps-color-brand-700);
	font: inherit;
	font-size: 12px;
	line-height: 1.25;
	cursor: pointer;
	transition: border-color var(--ps-transition-fast), background-color var(--ps-transition-fast), color var(--ps-transition-fast);
}

.myc-active-filter-chip strong {
	color: var(--ps-color-text-muted);
	font-weight: 700;
}

.myc-active-filter-chip > span:not(.myc-active-filter-chip-remove) {
	color: var(--ps-color-brand-700);
	font-weight: 700;
}

.myc-active-filter-chip-remove {
	margin-left: 2px;
	color: var(--ps-color-brand-700);
	font-size: 16px;
	font-weight: 600;
	line-height: .75;
}

.myc-active-filter-chip:hover {
	border-color: var(--ps-color-brand-600);
	background: var(--ps-color-surface);
}

.myc-active-filter-chip:focus-visible {
	outline: 2px solid var(--ps-color-brand-border);
	outline-offset: 2px;
}

.myc-active-filter-chips--compact {
	display: none;
}

.myc-catalog-layout {
	display: grid;
	grid-template-columns: minmax(248px, 280px) minmax(0, 1fr);
	align-items: start;
	gap: clamp(var(--ps-space-5), 4vw, var(--ps-space-7));
}

.myc-catalog-layout .myc-album-grid {
	grid-template-columns: repeat(var(--myc-filter-grid-columns, 4), minmax(0, 1fr));
}

.myc-catalog-filter-panel {
	position: sticky;
	top: var(--myc-sticky-top);
	padding: var(--ps-space-4);
	border: 1px solid var(--ps-color-border);
	border-radius: var(--ps-radius-lg);
	background: var(--ps-color-surface);
	box-shadow: 0 14px 30px rgb(23 19 21 / 5%);
}

.myc-filter-trigger,
.myc-filter-close {
	display: none;
}

.myc-catalog-filter-head,
.myc-filter-group-toggle,
.myc-filter-option,
.myc-catalog-filter-actions {
	display: flex;
	align-items: center;
}

.myc-catalog-filter-head {
	justify-content: space-between;
	margin-bottom: var(--ps-space-3);
	padding: 0 calc(var(--ps-space-2) / 2) var(--ps-space-3);
	border-bottom: 1px solid var(--ps-color-border);
}

.myc-catalog-filter-head .myc-kicker {
	display: block;
	margin-bottom: 4px;
	color: var(--ps-color-brand-700);
}

.myc-catalog-filter-head h2 {
	margin: 0;
	color: var(--ps-color-ink-strong);
	font-size: 22px;
	letter-spacing: -.025em;
}

.myc-filter-group + .myc-filter-group {
	border-top: 1px solid var(--ps-color-border);
}

.myc-filter-group-toggle {
	justify-content: space-between;
	width: 100%;
	min-height: 46px;
	padding: var(--ps-space-2) calc(var(--ps-space-2) / 2);
	border: 0;
	background: transparent;
	color: var(--ps-color-text);
	appearance: none;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	text-align: left;
	cursor: pointer;
}

.myc-filter-group-meta {
	display: inline-flex;
	align-items: center;
	gap: var(--ps-space-2);
	color: var(--ps-color-text-muted);
	font-size: 12px;
}

.myc-filter-group-meta svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	transition: transform var(--ps-transition-fast);
}

.myc-filter-group.is-collapsed .myc-filter-group-meta svg {
	transform: rotate(-90deg);
}

.myc-filter-group-options {
	max-height: 248px;
	padding: 0 calc(var(--ps-space-2) / 2) var(--ps-space-3);
	overflow: auto;
	transition: max-height var(--ps-transition-base), padding var(--ps-transition-fast), opacity var(--ps-transition-fast);
}

.myc-filter-group.is-collapsed .myc-filter-group-options {
	max-height: 0;
	padding-bottom: 0;
	overflow: hidden;
	opacity: 0;
}

.myc-filter-group-options > p {
	margin: 0;
	padding: 0 0 var(--ps-space-2);
	color: var(--ps-color-text-muted);
	font-size: 13px;
	line-height: 1.5;
}

.myc-filter-options {
	display: grid;
	gap: 4px;
}

.myc-filter-options.is-size {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.myc-filter-option {
	position: relative;
	gap: var(--ps-space-2);
	min-height: 38px;
	padding: 0 var(--ps-space-2);
	border: 1px solid transparent;
	border-radius: var(--ps-radius-sm);
	color: var(--ps-color-text);
	font-size: 14px;
	line-height: 1.25;
	cursor: pointer;
	transition: background-color var(--ps-transition-fast), border-color var(--ps-transition-fast), color var(--ps-transition-fast);
}

@media (hover: hover) {
	.myc-filter-option:hover {
		border-color: var(--ps-color-brand-border);
		background: var(--ps-color-brand-50);
	}
}

.myc-filter-option.is-selected {
	border-color: var(--ps-color-brand-600);
	background: var(--ps-color-brand-50);
}

.myc-filter-option input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--ps-color-brand-600);
}

.myc-filter-options.is-size .myc-filter-option {
	justify-content: center;
	padding: 0;
	border-color: var(--ps-color-border);
	background: var(--ps-color-surface-subtle);
}

.myc-filter-options.is-size .myc-filter-option span {
	cursor: pointer;
	font-size: 13px;
	font-weight: 750;
	pointer-events: none;
}

.myc-filter-options.is-size .myc-filter-option input {
	position: absolute;
	cursor: pointer;
	opacity: 0;
}

@media (hover: hover) {
	.myc-filter-options.is-size .myc-filter-option:hover {
		border-color: var(--ps-color-text-muted);
		background: var(--ps-color-surface-subtle);
	}
}

.myc-filter-options.is-size .myc-filter-option.is-selected {
	border-color: var(--ps-color-brand-600);
	background: var(--ps-color-brand-50);
	color: var(--ps-color-brand-700);
}

.myc-catalog-filter-actions {
	gap: var(--ps-space-2);
	margin-top: var(--ps-space-3);
	padding-top: var(--ps-space-3);
	border-top: 1px solid var(--ps-color-border);
}

.myc-filter-clear,
.myc-filter-apply {
	min-height: 44px;
	border-radius: var(--ps-radius-sm);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.myc-filter-clear {
	flex: 0 0 auto;
	padding: 0 var(--ps-space-3);
	border: 1px solid var(--ps-color-border);
	background: var(--ps-color-surface);
	color: var(--ps-color-text-muted);
}

.myc-filter-apply {
	flex: 1;
	border: 1px solid var(--ps-color-brand-600);
	background: var(--ps-color-brand-600);
	color: #fff;
}

.myc-filter-apply.is-loading {
	position: relative;
	border-color: var(--ps-color-brand-700);
	background: var(--ps-color-brand-700);
	color: transparent;
	cursor: progress;
	pointer-events: none;
}

.myc-filter-apply.is-loading::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, .38);
	border-top-color: #fff;
	border-radius: 50%;
	content: '';
	transform: translate(-50%, -50%);
	animation: myc-cart-spinner .65s linear infinite;
}

.myc-filter-clear:hover:not(:disabled),
.myc-filter-clear:focus-visible {
	border-color: var(--ps-color-text-muted);
	color: var(--ps-color-text);
}

.myc-filter-apply:hover,
.myc-filter-apply:focus-visible {
	border-color: var(--ps-color-brand-700);
	background: var(--ps-color-brand-700);
}

.myc-filter-clear:disabled {
	cursor: not-allowed;
	opacity: .5;
}

.myc-filter-trigger:focus-visible,
.myc-filter-close:focus-visible,
.myc-filter-group-toggle:focus-visible,
.myc-filter-clear:focus-visible,
.myc-filter-apply:focus-visible {
	outline: 0;
	box-shadow: var(--ps-shadow-focus);
}

.myc-filter-option:focus-within {
	box-shadow: none;
}

.myc-filter-option input:focus-visible {
	outline: none;
	box-shadow: none;
}

.myc-filter-option:has(input:focus-visible) {
	border-color: var(--ps-color-brand-600);
}

.myc-filter-group-toggle:focus,
.myc-filter-group-toggle:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	-webkit-tap-highlight-color: transparent;
}

.myc-filter-group-toggle:active {
	background: transparent !important;
	color: var(--ps-color-text);
}

.myc-catalog-results {
	min-width: 0;
	transition: opacity var(--ps-transition-fast);
}

.myc-catalog-results.is-loading {
	pointer-events: none;
	opacity: .45;
}

.myc-pagination {
	gap: var(--ps-space-2);
	margin-top: var(--ps-space-7);
}

.myc-page-link {
	min-width: 42px;
	height: 42px;
	border-radius: var(--ps-radius-sm);
}

.myc-page-dots {
	color: var(--ps-color-text-muted);
}

.myc-load-more {
	min-width: 208px;
	border-radius: var(--ps-radius-sm);
}

.myc-load-status {
	color: var(--ps-color-text-muted);
}

.myc-empty,
.myc-no-results {
	padding: var(--ps-space-7) var(--ps-space-5);
	border-color: var(--ps-color-brand-border-strong);
	border-radius: var(--ps-radius-lg);
	background: var(--ps-color-brand-50);
	color: var(--ps-color-text-muted);
}

@media (max-width: 1080px) {
	.myc-catalog-layout {
		display: block;
	}

	.myc-catalog-layout .myc-album-grid {
		grid-template-columns: repeat(var(--myc-grid-tablet-columns, 4), minmax(0, 1fr));
	}

	.myc-filter-mobile-toolbar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 44px;
		align-items: center;
		gap: var(--ps-space-2);
		margin-bottom: var(--ps-space-2);
	}

	.myc-catalog-filter-shell.has-active-filters .myc-filter-mobile-toolbar {
		margin-bottom: var(--ps-space-4);
	}

	.myc-catalog-sort--desktop {
		display: none;
	}

	.myc-catalog-sort--compact {
		display: block;
		flex: 0 0 44px;
		position: relative;
		width: 44px;
		height: 44px;
		border: 1px solid var(--ps-color-border);
		border-radius: var(--ps-radius-sm);
		background: var(--ps-color-surface-subtle);
	}

	.myc-filter-trigger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: var(--ps-space-2);
		width: 100%;
		height: 44px;
		min-height: 0;
		margin: 0;
		padding: 0 var(--ps-space-3);
		border: 1px solid var(--ps-color-border);
		border-radius: var(--ps-radius-sm);
		background: var(--ps-color-surface-subtle);
		color: var(--ps-color-text);
		font: inherit;
		font-size: 14px;
		font-weight: 800;
		cursor: pointer;
	}

	.myc-catalog-sort--compact label,
	.myc-catalog-sort--compact select {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		min-height: 0;
		margin: 0;
	}

	.myc-catalog-sort--compact select {
		z-index: 1;
		padding: 0;
		border: 0;
		background: transparent;
		background-image: none;
		opacity: 0;
	}

	.myc-catalog-sort-icon {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 21px;
		height: 21px;
		transform: translate(-50%, -50%);
		fill: var(--ps-color-surface-subtle);
		stroke: var(--ps-color-text-muted);
		stroke-width: 1.7;
		pointer-events: none;
	}

	.myc-catalog-sort--compact select:focus,
	.myc-catalog-sort--compact select:focus-visible {
		border-color: transparent;
		background-color: transparent;
		outline: none !important;
		box-shadow: none !important;
		-webkit-tap-highlight-color: transparent;
	}

	.myc-catalog-sort--compact:focus-within {
		border-color: var(--ps-color-border);
		outline: none !important;
		box-shadow: none !important;
	}

	.myc-filter-trigger:focus,
	.myc-filter-trigger:focus-visible {
		border-color: var(--ps-color-border);
		background: var(--ps-color-surface-subtle);
		color: var(--ps-color-text);
		outline: none !important;
		box-shadow: none !important;
		-webkit-tap-highlight-color: transparent;
	}

	@media (hover: hover) {
		.myc-filter-trigger:hover {
			border-color: var(--ps-color-brand-600);
			background: var(--ps-color-brand-50);
			color: var(--ps-color-brand-700);
		}
	}

	.myc-active-filter-chips--desktop {
		display: none;
	}

	.myc-active-filter-chips--compact {
		display: flex;
		margin: 0 0 var(--ps-space-4);
	}

	.myc-catalog-filter-shell.has-active-filters .myc-active-filter-chips--compact {
		margin-bottom: var(--ps-space-5);
	}

	.myc-results-summary {
		min-height: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.myc-filter-trigger-count {
		display: inline-grid;
		place-items: center;
		min-width: 20px;
		height: 20px;
		padding: 0 5px;
		border-radius: 999px;
		background: var(--ps-color-brand-600);
		color: #fff;
		font-size: 11px;
	}

	.myc-filter-overlay {
		position: fixed;
		z-index: 1100;
		inset: 0;
		visibility: hidden;
		background: rgb(15 12 13 / 56%);
		backdrop-filter: blur(3px);
		opacity: 0;
		transition: opacity var(--ps-transition-base), visibility 0s linear 220ms;
	}

	.myc-filter-overlay.is-open {
		visibility: visible;
		opacity: 1;
		transition-delay: 0s;
	}

	.myc-filter-overlay .myc-catalog-filter-panel {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		width: min(390px, calc(100% - var(--ps-space-5)));
		min-height: 100dvh;
		padding: var(--ps-space-5) var(--ps-space-5) calc(var(--ps-space-5) + env(safe-area-inset-bottom));
		border: 0;
		border-radius: 0;
		background: var(--ps-color-surface);
		box-shadow: 24px 0 64px rgb(15 12 13 / 18%);
		transform: translateX(calc(-100% - var(--ps-space-3)));
		transition: transform var(--ps-transition-base);
	}

	.myc-filter-overlay .myc-catalog-filter-panel:focus,
	.myc-filter-overlay .myc-catalog-filter-panel:focus-visible {
		outline: none;
	}

	.myc-filter-overlay .myc-filter-option,
	.myc-filter-overlay .myc-filter-option input {
		-webkit-tap-highlight-color: transparent;
	}

	.myc-filter-overlay .myc-filter-option:focus-within,
	.myc-filter-overlay .myc-filter-option input:focus,
	.myc-filter-overlay .myc-filter-option input:focus-visible {
		outline: none !important;
		box-shadow: none !important;
	}

	.myc-filter-overlay.is-open .myc-catalog-filter-panel {
		transform: translateX(0);
	}

	.myc-catalog-filter-form {
		display: flex;
		flex: 1;
		min-height: 0;
		flex-direction: column;
	}

	.myc-filter-close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		flex: 0 0 44px;
		padding: 0 0 2px;
		border: 1px solid var(--ps-color-border);
		border-radius: 999px;
		background: var(--ps-color-surface);
		color: var(--ps-color-text);
		font-size: 28px;
		font-weight: 400;
		line-height: 1;
		cursor: pointer;
		transition: border-color var(--ps-transition-fast), background-color var(--ps-transition-fast), color var(--ps-transition-fast), transform var(--ps-transition-fast);
	}

	.myc-filter-close:focus,
	.myc-filter-close:focus-visible {
		border-color: var(--ps-color-border);
		background: var(--ps-color-surface);
		color: var(--ps-color-text);
		outline: none !important;
		box-shadow: none !important;
		-webkit-tap-highlight-color: transparent;
	}

	.myc-filter-close:hover {
		border-color: var(--ps-color-brand-600);
		background: var(--ps-color-brand-50);
		color: var(--ps-color-brand-700);
	}

	.myc-filter-close:active {
		transform: scale(.96);
	}

	.myc-catalog-filter-groups {
		overflow: auto;
	}

	.myc-catalog-filter-actions {
		margin-top: auto;
	}

}

@media (max-width: 760px) {
	.myc-view-catalog .myc-page,
	.myc-view-search .myc-page,
	body.myc-layout-full.myc-view-catalog .myc-page {
		--myc-catalog-heading-gutter: clamp(var(--ps-page-gutter-mobile), 4vw, 16px);
	}

	body.myc-layout-full.myc-view-search .myc-page {
		--myc-catalog-heading-gutter: clamp(var(--ps-page-gutter-mobile), 4vw, 16px);
	}

	.myc-catalog-layout .myc-album-grid {
		grid-template-columns: repeat(var(--myc-grid-mobile-columns, 2), minmax(0, 1fr));
	}
	.myc-view-catalog .myc-page-heading,
	.myc-view-search .myc-page-heading,
	.myc-view-category .myc-page-heading {
		margin-bottom: var(--ps-space-6);
	}

	.myc-view-catalog .myc-catalog-page-heading {
		margin-bottom: var(--ps-space-4);
	}

	.myc-view-search .myc-catalog-page-heading {
		margin-bottom: var(--ps-space-4);
	}

	.myc-view-catalog .myc-catalog-page-heading,
	.myc-view-search .myc-catalog-page-heading {
		padding-inline: calc(var(--ps-page-gutter-mobile) + var(--ps-space-5));
	}

	.myc-view-catalog .myc-catalog-page-heading .myc-catalog-page-description {
		margin: var(--ps-space-4) 0 0;
	}

	.myc-view-search .myc-catalog-page-heading .myc-catalog-page-description {
		margin: var(--ps-space-4) 0 0;
	}

	.myc-results-summary {
		margin-top: 0;
	}

	.myc-results-header {
		margin-bottom: var(--ps-space-5);
	}

	.myc-pagination {
		margin-top: var(--ps-space-6);
	}

	.myc-empty,
	.myc-no-results {
		padding: var(--ps-space-6) var(--ps-space-4);
	}
}
/* A product category uses the same full-bleed editorial heading as the catalogue. */
.myc-view-category .myc-page {
	--myc-catalog-heading-gutter: 24px;
	padding-top: 0;
}

html:has(body.myc-view-category) {
	overflow-x: hidden;
}

body.myc-view-category {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

@supports (overflow: clip) {
	html:has(body.myc-view-category),
	body.myc-view-category {
		overflow-x: clip;
	}
}

body.myc-layout-full.myc-view-category .myc-page {
	--myc-catalog-heading-gutter: var(--myc-full-width-padding, 56px);
}

@media (max-width: 1199px) {
	body.myc-layout-full.myc-view-category .myc-page {
		--myc-catalog-heading-gutter: clamp(20px, 3vw, 32px);
	}
}

@media (min-width: 761px) and (max-width: 1199px) {
	.myc-view-category .myc-catalog-page-heading {
		padding-inline: max(var(--ps-space-5), calc((100vw - var(--ps-content-discovery)) / 2));
	}
}

.myc-view-category .myc-catalog-page-heading {
	position: relative;
	max-width: none;
	width: calc(100% + (2 * var(--myc-catalog-heading-gutter)));
	margin: 0 calc(-1 * var(--myc-catalog-heading-gutter)) var(--ps-space-6);
	padding-block: clamp(32px, 5vw, 58px);
	padding-inline: max(var(--ps-space-5), var(--myc-full-width-padding, 56px), calc((100vw - var(--ps-content-discovery)) / 2));
	border-bottom: 1px solid var(--ps-color-border);
	/* Background/texture shared with every page-heading band (shop, search,
	   category, account) — defined once in base.css so changing it changes
	   all four. */
}

.myc-view-category .myc-catalog-page-description {
	max-width: 520px;
	margin: var(--ps-space-3) 0 0;
	color: var(--ps-color-text-muted);
	line-height: 1.7;
}

@media (max-width: 760px) {
	.myc-view-category .myc-page,
	body.myc-layout-full.myc-view-category .myc-page {
		--myc-catalog-heading-gutter: clamp(var(--ps-page-gutter-mobile), 4vw, 16px);
	}

	.myc-view-category .myc-catalog-page-heading {
		margin-bottom: var(--ps-space-4);
		padding-inline: calc(var(--ps-page-gutter-mobile) + var(--ps-space-5));
	}

	.myc-view-category .myc-catalog-page-heading .myc-catalog-page-description {
		margin: var(--ps-space-4) 0 0;
	}
}

/* The wide preset constrains the catalogue shell to a comfortable reading
 * width. The editorial surface, however, must still reach both viewport
 * edges just as it does in the full preset. Keep its contents aligned to the
 * existing catalogue grid while only the background becomes full-bleed. */
@media (min-width: 1200px) {
	body.myc-layout-wide.myc-view-catalog .myc-catalog-page-heading,
	body.myc-layout-wide.myc-view-search .myc-catalog-page-heading,
	body.myc-layout-wide.myc-view-category .myc-catalog-page-heading {
		width: 100vw;
		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - 50vw);
		padding-inline: var(--myc-discovery-content-gutter);
	}
}
