.ar-store {
	--wall: var(--wp--preset--color--wall);
	--line: var(--wp--preset--color--line);

	box-sizing: border-box;
	max-width: 1440px;
	margin: 0 auto;
	color: var(--wp--preset--color--ink);
}

.wp-site-blocks:has(.ar-store) {
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks > main:has(.ar-store) {
	margin-block: 0;
}

.ar-store *,
.ar-store *::before,
.ar-store *::after {
	box-sizing: border-box;
}

.ar-store :where(h1, h2, p, form, table) {
	margin: 0;
}

.ar-store a {
	color: inherit;
	text-decoration: none;
}

.ar-store a:hover {
	text-decoration: underline;
}

.ar-store :where(input, select, button) {
	font: inherit;
	color: inherit;
}

.ar-store select,
.ar-store input[type="search"] {
	border: 1px solid currentcolor;
	border-radius: 0;
	background-color: #fff;
	min-height: 48px;
	width: 100%;
}

.ar-store select {
	appearance: none;
	background: #fff url(icons/chevron.svg) right 14px center / 16px 16px no-repeat;
	padding: 10px 40px 10px 14px;
	cursor: pointer;
}

.ar-store .ar-button,
.ar-buy button {
	font-weight: 500;
	display: inline-block;
	background: #0a0a0a;
	color: #fff;
	border: 0;
	padding: 14px 28px;
	cursor: pointer;
}

.ar-query {
	position: relative;
	min-width: 0;
}

.ar-query label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 17px;
	margin-bottom: 8px;
}

.ar-query input[type="search"] {
	background: #fff url(icons/search.svg) left 15px center / 20px 20px no-repeat;
	padding: 10px 14px 10px 42px;
}

.ar-query .ar-button {
	margin-top: 20px;
}

.ar-search-submit:not(:focus-visible) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	clip-path: inset(50%);
	overflow: hidden;
	inset-inline-start: 0;
}

.ar-quiet {
	display: inline-block;
	font-weight: 500;
	margin-top: 20px;
	padding: 12px 20px;
	font-size: 14px;
}

.ar-catalog {
	padding: 32px clamp(24px, 3.06vw, 44px) 56px;
}

.ar-catalog .ar-discovery {
	display: grid;
	grid-template-columns: minmax(170px, 19.75%) minmax(0, 1fr) auto;
	column-gap: 3.25%;
	align-items: start;
}

.ar-catalog-title {
	grid-area: 1 / 1 / 2 / 3;
	text-transform: uppercase;
	font-size: clamp(48px, 5.42vw, 78px);
	line-height: 1.487;
}

.ar-catalog-title span:last-child {
	display: none;
}

.ar-catalog .ar-query {
	grid-area: 1 / 2 / 2 / 4;
	place-self: center end;
	width: min(50%, 502px);
}

.ar-catalog .ar-query input {
	min-height: 52px;
}

#ar-filters {
	grid-area: 2 / 1 / 4 / 2;
}

.ar-catalog :where(#ar-filters, .ar-count, .ar-sort) {
	margin-top: 28px;
}

.ar-count {
	grid-area: 2 / 2;
	font-size: 18px;
	align-self: center;
}

.ar-sort {
	align-self: start;
	margin-block-end: 0;
	grid-area: 2 / 3;
	display: flex;
	align-items: center;
	gap: 12px;
}

.ar-store .ar-sort > label {
	margin-block: 0;
	text-align: end;
	width: 72px;
	font-size: 13px;
	color: #444;
}

.ar-sort select {
	width: 196px;
	min-height: 44px;
	text-align: center;
	padding: 8px;
	background-image: none;
}

.ar-trigger,
.ar-button.ar-trigger {
	display: none;
}

#ar-facet-panel h2 {
	line-height: 41px;
	text-transform: uppercase;
	font-size: 28px;
}

.ar-facet {
	display: block;
	margin: 0;
	min-height: 74px;
	padding: 14px 0;
	font-weight: 500;
	font-size: 14px;
}

.ar-facet select {
	display: block;
	background-position: right 6px center;
	background-size: 12px;
	min-height: 24px;
	border: 0;
	padding: 0 25px 0 0;
	font-weight: 400;
}

.ar-apply {
	margin-top: 20px;
}

.ar-clear {
	display: block;
	padding: 12px 0;
}

.ar-list {
	grid-area: 3 / 2 / 4 / 4;
	min-width: 0;
	padding-top: 18px;
}

.ar-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 18px;
}

.ar-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-content: start;
	align-items: baseline;
	gap: 3px 8px;
	overflow-wrap: anywhere;
}

.ar-card .ar-image {
	grid-column: 1 / -1;
	margin-bottom: 7px;
}

.ar-by {
	font-weight: 600;
}

.ar-price {
	grid-area: 2 / 2;
}

.ar-name {
	grid-column: 1 / -1;
	color: #444;
}

.ar-search-page {
	--section-gap: 22px;
	padding: 44px 64px 64px;
}

.ar-intro {
	margin-bottom: 32px;
}

.ar-intro p {
	font-size: 19px;
	margin-top: 8px;
	color: #444;
}

.ar-store .ar-query input[type="search"] {
	font-size: 16px;
	font-weight: 400;
}

.ar-search-page:has(.ar-suggestions) .ar-query,
.ar-suggestions {
	max-width: 760px;
}

.ar-search-page .ar-query .ar-button {
	display: block;
	margin-top: var(--section-gap);
	min-width: 162px;
	min-height: 47px;
	padding-block: 12px;
}

.ar-suggestions {
	display: grid;
	gap: var(--section-gap);
	margin-top: var(--section-gap);
}

/* stylelint-disable-next-line no-descending-specificity --
   Suggestion row geometry also applies on hover. */
.ar-suggestions a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 62px;
	padding-right: 10px;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	font-weight: 500;
}

.ar-suggestions small {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #444;
}

.ar-search-page .ar-grid {
	column-gap: 24px;
}

.ar-search-page .ar-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ar-search-page .ar-image {
	width: 100%;
	aspect-ratio: 421.333 / 265;
	margin-bottom: 0;
}

.ar-search-page .ar-by,
.ar-medium {
	font-size: 14px;
	color: #444;
	font-weight: 400;
}

.ar-search-page .ar-by {
	font-weight: 500;
}

.ar-search-page .ar-by,
.ar-search-page .ar-medium {
	line-height: 20px;
}

.ar-search-page .ar-name {
	color: inherit;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.4;
}

.ar-search-page .ar-list {
	padding-top: var(--section-gap);
}

.ar-search-page .ar-quiet {
	padding-inline: 8px;
	margin-top: var(--section-gap);
	min-width: 130px;
	min-height: 44px;
	text-align: center;
}

.ar-suggestions + .ar-quiet {
	min-width: 194px;
}

.ar-print {
	padding: 0 32px 72px;
}

.ar-back {
	display: inline-flex;
	font-weight: 500;
	align-items: center;
	min-height: 44px;
	padding-inline: 8px;
	margin: 0 0 38px;
	font-size: 14px;
}

.ar-print-grid {
	display: grid;
	grid-template-columns: minmax(0, 780fr) minmax(0, 488fr);
	gap: 4.37%;
	align-items: start;
	padding-right: 3.6%;
}

.ar-info {
	--info-gap: 20px;
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: var(--info-gap);
	overflow-wrap: anywhere;
}

.ar-info > :is(h1, h2, p, a, .ar-buy) {
	margin: 0;
}

/* stylelint-disable no-descending-specificity --
   Product headings sit outside the catalogue filter panel. */
.ar-info h1,
.ar-print h2 {
	font-family: inherit;
	font-weight: 600;
}
/* stylelint-enable no-descending-specificity */

.ar-info h1 {
	font-size: 42px;
	line-height: 1.215;
}

.ar-info .ar-artist {
	font-size: 26px;
	line-height: 1.192;
	font-weight: 500;
	color: inherit;
}

.ar-info .ar-medium,
.ar-info > p {
	font-size: 14px;
	line-height: 17px;
	color: #444;
}

/* stylelint-disable-next-line no-descending-specificity --
   Product details and filter headings have different type scales. */
.ar-info h2 {
	font-size: 19px;
	line-height: 23px;
}

.ar-info h2 + p,
.ar-hint {
	font-size: 15px;
	line-height: 18px;
	color: #444;
}

/* stylelint-disable-next-line no-descending-specificity --
   Product link typography also applies on hover. */
.ar-info > a {
	font-size: 17px;
	line-height: 21px;
	font-weight: 500;
}

.ar-info > .ar-artist-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding-inline: 8px;
	font-size: 14px;
}

.ar-buy {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.ar-buy .variations_form,
.ar-buy .single_variation_wrap {
	display: contents;
}

.ar-buy .variations {
	order: -1;
	width: 100%;
	display: block;
}

.ar-buy .variations :is(tbody, tr, th, td) {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0;
}

.ar-buy .variations .label {
	font-size: 14px;
	font-weight: 500;
	line-height: 17px;
	margin-bottom: 8px;
}

.ar-buy .variations tr {
	margin-bottom: var(--info-gap);
}

.ar-buy .reset_variations {
	font-size: 13px;
}

.ar-buy .reset_variations[style*="hidden"] {
	display: none;
}

.ar-buy .quantity {
	display: inline-block;
}

.ar-buy .quantity input {
	width: 60px;
	height: 48px;
}

.ar-buy .woocommerce-variation-add-to-cart {
	margin-top: var(--info-gap);
}

.ar-buy .woocommerce-variation-add-to-cart-disabled .quantity {
	display: none;
}

.ar-buy button {
	min-height: 48px;
	min-width: 64%;
}

.ar-buy button:disabled {
	opacity: 1;
	background: var(--wall);
	color: #444;
	cursor: default;
}

.ar-related {
	margin-top: 36px;
}

.ar-related .ar-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 24px;
}

/* stylelint-disable-next-line no-descending-specificity --
   Related works are outside the catalogue filter panel. */
.ar-related h2 {
	font-size: 34px;
	line-height: 41px;
	margin-bottom: 36px;
}

.ar-related .ar-image {
	width: 100%;
	aspect-ratio: 326 / 218;
	margin-bottom: 0;
}

.ar-related .ar-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 17px;
	line-height: normal;
}

.ar-related .ar-name,
.ar-related .ar-price {
	font-size: 15px;
	line-height: 18px;
}

.ar-related .ar-by {
	line-height: 21px;
}

@media (width <= 700px) {

	.ar-catalog,
	.ar-search-page,
	.ar-print {
		padding: 24px 20px 44px;
	}

	.ar-catalog .ar-discovery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 10px;
	}

	.ar-catalog {
		padding-top: 12px;
	}

	.ar-catalog-title {
		grid-area: 1 / 1;
		font-size: 47px;
		line-height: 70px;
	}

	.ar-catalog-title span:first-child {
		display: none;
	}

	.ar-catalog-title span:last-child {
		display: inline;
	}

	.ar-catalog .ar-count {
		grid-area: 1 / 2;
		place-self: start end;
		margin-top: 37px;
		font-size: 15px;
		line-height: 18px;
	}

	.ar-catalog .ar-query {
		grid-area: 2 / 1 / 3 / 3;
		width: 100%;
		margin-top: 15px;
	}

	.ar-catalog #ar-filters {
		grid-area: 3 / 1 / 4 / 3;
		margin-top: 27px;
	}

	.ar-button.ar-trigger {
		display: inline-block;
		width: calc(50% - 5px);
		height: 46px;
	}

	#ar-facet-panel {
		padding: 18px 0;
	}

	.ar-catalog .ar-sort {
		grid-area: 3 / 2;
		margin-top: 27px;
	}

	.ar-sort > label {
		display: none;
	}

	.ar-sort select {
		width: 100%;
		height: 46px;
	}

	.ar-catalog .ar-list {
		grid-area: 4 / 1 / 5 / 3;
		padding-top: 18px;
	}

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

	.ar-card {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto 1fr auto;
		font-size: 14px;
	}

	.ar-card .ar-image {
		aspect-ratio: 169 / 156;
	}

	.ar-price {
		grid-area: 4 / 1;
		margin-top: 4px;
	}

	.ar-search-page {
		--section-gap: 18px;
		padding-top: 28px;
		padding-bottom: 48px;
	}

	.ar-intro {
		margin-bottom: 22px;
	}

	.ar-intro p {
		font-size: 16px;
		line-height: 22px;
	}

	.ar-search-page .ar-grid {
		grid-template-columns: 1fr;
	}

	.ar-search-page .ar-image {
		aspect-ratio: 350 / 265;
	}

	.ar-print {
		padding-top: 0;
		padding-bottom: 42px;
	}

	.ar-print-grid {
		display: block;
		padding-right: 0;
	}

	.ar-back {
		margin-bottom: 20px;
	}

	.ar-info {
		--info-gap: 13px;
		margin-top: 20px;
	}

	.ar-info .ar-artist {
		font-size: 21px;
	}

	.ar-info h1 {
		font-size: 30px;
		line-height: 36px;
	}

	.ar-buy button {
		width: 100%;
	}

	.ar-related {
		margin-top: 24px;
	}

	.ar-related h2 {
		font-size: 24px;
		line-height: 29px;
		margin-bottom: 24px;
	}

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

	.ar-related .ar-image {
		aspect-ratio: 169 / 218;
	}

	.ar-related :is(.ar-by, .ar-name, .ar-price) {
		font-size: 13px;
		line-height: 16px;
		margin: 0;
	}
}

.woocommerce .ar-buy .quantity .qty {
	min-height: 46px;
}

.woocommerce .ar-buy .single_add_to_cart_button {
	border-radius: 0;
}

.ar-buy:not([data-state="available"]) .quantity,
.ar-buy:not(:has(option:checked:not([value=""]))) .reset_variations {
	display: none;
}

.ar-buy .variations label {
	margin-bottom: 0;
}

.ar-buy .variations :is(th, td) {
	padding: 0;
}

.ar-store .ar-info .ar-buy .variations {
	margin-bottom: 0;
}

@media (width > 700px) {

	.ar-discovery.ar-enhanced .ar-apply {
		display: none;
	}

	.ar-catalog .ar-by {
		line-height: 18.5px;
	}

	.ar-catalog .ar-price {
		font-size: 17px;
		line-height: 20px;
	}

	.ar-catalog .ar-name {
		line-height: 21px;
		margin-top: 2px;
	}
}

/*
 * WooCommerce applies block-end cell padding to tables inside cart
 * forms.
 */
.woocommerce .ar-info .ar-buy form.cart table.variations :is(th, td) {
	padding: 0;
}

.ar-catalog .ar-by {
	font-size: 14.65px;
}

.ar-catalog .ar-price {
	font-weight: 500;
}

.ar-catalog .ar-card {
	min-height: 310px;
}

.ar-catalog .ar-sort {
	margin-bottom: 0;
}

.ar-catalog .ar-facet::after {
	content: "›";
	position: absolute;
	right: 8px;
	top: 50%;
	translate: 0 -50%;
	pointer-events: none;
}

.ar-catalog .ar-facet {
	margin-bottom: 0;
	position: relative;
	padding-block: 13px 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	line-height: 17px;
}

.ar-catalog .ar-facet select {
	background-image: none;
	min-height: 16px;
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
	color: #444;
}

.woocommerce .ar-info form.cart .variations select {
	font-size: 16px;
	font-weight: 400;
	line-height: 19px;
	padding: 0 44px 2px 14px;
	border-color: var(--wp--preset--color--ink);
	color: #444;
}

.woocommerce .ar-buy form.cart button.single_add_to_cart_button:disabled {
	background: var(--wall);
	color: #444;
	opacity: 1;
	text-align: start;
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	min-height: 50px;
	padding: 11px 18px 15px;
	width: min(360px, 100%);
}

.ar-buy .single_variation:empty {
	display: none;
}

.ar-buy[data-state="incomplete"] .single_variation {
	display: none !important;
}

@media (width <= 700px) {

	.ar-catalog .ar-by {
		font-size: 14px;
		line-height: 18px;
	}

	.ar-catalog .ar-grid {
		row-gap: 4px;
	}

	.ar-catalog .ar-card {
		min-height: 256px;
		grid-template-rows: auto auto minmax(38px, 1fr) auto;
		align-content: stretch;
		padding-bottom: 7px;
	}

	.ar-catalog .ar-name,
	.ar-catalog .ar-price {
		line-height: 18px;
	}

	.ar-catalog .ar-name {
		margin-top: 1px;
	}

	.ar-catalog .ar-price {
		margin-top: 0;
	}

	.woocommerce .ar-buy form.cart button.single_add_to_cart_button:disabled {
		width: 100%;
	}
}

/* Selection menus share the same rows on catalogue and variation forms. */
.ar-store select[hidden],
.ar-picker [hidden] {
	display: none !important;
}

.ar-picker {
	position: relative;
	width: 100%;
	min-width: 0;
}

.ar-store .ar-picker-trigger {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	border: 1px solid currentcolor;
	border-radius: 0;
	padding: 0 40px 2px 14px;
	background: #fff url(icons/chevron.svg) right 14px center / 16px no-repeat;
	color: inherit;
	text-align: start;
	font: inherit;
	cursor: pointer;
}

.ar-facet .ar-picker-trigger {
	border: 0;
	min-height: 18px;
	padding: 0 24px 0 0;
	color: #444;
	font-size: 13px;
	line-height: 16px;
	font-weight: 500;
	background: none;
}

.ar-store .ar-facet label {
	margin: 0;
	font: inherit;
}

.ar-sort .ar-picker {
	width: 196px;
}

.ar-picker-panel {
	position: absolute;
	z-index: 15;
	inset-inline: 0;
	top: calc(100% + 8px);
	background: #fff;
	color: #0a0a0a;
	border: 1px solid var(--line, #d6d6d6);
	font-size: 14px;
	line-height: 18px;
	text-align: start;
}

.ar-picker-panel [role="listbox"] {
	max-height: min(264px, 40dvh);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.ar-picker-panel:has(input[type="search"]) [role="listbox"] {
	max-height: min(132px, 40dvh);
}

.ar-buy .ar-picker-panel {
	position: static;
	margin-top: 8px;
}

.ar-picker-panel [role="option"],
.ar-picker-empty {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 9px 14px;
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
}

.ar-picker-panel [role="option"] {
	cursor: pointer;
}

.ar-picker-panel [role="option"]:hover,
.ar-picker-panel [data-active],
.ar-picker[data-filled] [aria-selected="true"] {
	background: var(--wall);
}

.ar-picker[data-filled] [aria-selected="true"]::after {
	content: "✓";
	margin-inline-start: auto;
	padding-inline-start: 8px;
}

.ar-picker-panel [aria-disabled="true"] {
	color: #737373;
	cursor: default;
}

/* stylelint-disable-next-line no-descending-specificity --
   Picker search and catalogue search are separate inputs. */
.ar-picker-panel input[type="search"] {
	height: 50px;
	padding: 0 14px 0 48px;
	background: #fff url(icons/search.svg) 14px center / 20px no-repeat;
	font-size: 14px;
}

@media (width <= 700px) {

	.ar-sort .ar-picker {
		width: 100%;
	}
}

.ar-picker:has(.ar-picker-trigger[aria-expanded="true"]) {
	z-index: 16;
}

.ar-store .ar-picker-trigger[aria-expanded="true"] {
	position: relative;
	min-height: 48px;
	padding: 0 42px 0 14px;
	border: 2px solid var(--wp--preset--color--ink);
	background: #fff;
	color: var(--wp--preset--color--muted);
	font-size: 16px;
	font-weight: 400;
	line-height: 19px;
	text-align: start;
}

.ar-store .ar-picker[data-filled] .ar-picker-trigger[aria-expanded="true"] {
	color: var(--wp--preset--color--ink);
}

.ar-picker-panel input::placeholder {
	color: var(--wp--preset--color--ink);
	opacity: 1;
}

.ar-catalog .ar-facet:has(.ar-picker-trigger[aria-expanded="true"]) {
	gap: 8px;
}

.ar-store .ar-picker-trigger[aria-expanded="true"]::after {
	content: "";
	position: absolute;
	inset-inline-end: 14px;
	top: 50%;
	width: 16px;
	height: 16px;
	translate: 0 -50%;
	rotate: 180deg;
	background: url(icons/chevron.svg) center / contain no-repeat;
}

.ar-catalog .ar-facet:has(.ar-picker-trigger[aria-expanded="true"])::after {
	display: none;
}

.ar-artist-archive .ar-catalog-title {
	font-size: clamp(50px, 5.42vw, 78px);
}

.tax-product_cat .ar-catalog-title {
	font-size: var(--wp--preset--font-size--display);
}

:is(.ar-artist-archive, .tax-product_cat) .ar-catalog .ar-name {
	font-size: 23px;
	font-weight: 600;
	line-height: 1.35;
}

:is(.ar-artist-archive, .tax-product_cat) .ar-catalog .ar-by {
	font-size: 14px;
	font-weight: 500;
}

/* Keep the same label, text origin and arrow box while the panel opens. */

.ar-store .ar-sort :is(select, .ar-picker-trigger, .ar-picker-trigger[aria-expanded="true"]) {
	position: relative;
	box-sizing: border-box;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 35px 0 12px;
	border: 1px solid var(--ar-field-border, #858585);
	border-radius: 0;
	background: #fff;
	color: var(--wp--preset--color--ink, #0a0a0a);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	text-align: start;
}

/* stylelint-disable-next-line no-descending-specificity --
   Sorting and Woo variation selects belong to separate forms. */
.ar-store .ar-sort select {
	background: #fff url(icons/chevron.svg) right 12px center / 16px no-repeat;
}

/* stylelint-disable-next-line no-descending-specificity --
   The filled picker keeps its more specific open-state paint. */
.ar-store .ar-sort .ar-picker-trigger[aria-expanded="true"] {
	border-color: currentcolor;
}

.ar-store .ar-sort .ar-picker-trigger::after {
	content: "";
	position: absolute;
	inset-inline-end: 12px;
	top: 50%;
	width: 16px;
	height: 16px;
	translate: 0 -50%;
	background: url(icons/chevron.svg) center / contain no-repeat;
	rotate: 0deg;
	transition: rotate 140ms ease-in;
}

.ar-store .ar-sort .ar-picker-trigger[aria-expanded="true"]::after {
	rotate: 180deg;
	transition: rotate 180ms ease-out;
}

.ar-sort .ar-picker-panel {
	inset-block-start: calc(100% + 4px);
	padding-block: 3px;
	box-shadow: 0 3px 10px rgb(0 0 0 / 9%);
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
	transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 0s;
}

.ar-sort .ar-picker .ar-picker-panel[hidden] {
	display: block !important;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 140ms ease-in, transform 140ms ease-in, visibility 0s 140ms;
}

.ar-sort .ar-picker-panel [role="option"] {
	min-height: 40px;
	padding: 8px 11px;
}

.ar-sort .ar-picker-panel [aria-selected="true"] {
	background: var(--ar-quiet-rest, #f7f7f7);
}

.ar-sort .ar-picker-panel [aria-selected="true"]::after {
	content: "✓";
	margin-inline-start: auto;
	padding-inline-start: 6px;
}

@media (width <= 700px) {

	.ar-store .ar-sort :is(select, .ar-picker-trigger, .ar-picker-trigger[aria-expanded="true"]) {
		height: 46px;
		min-height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.ar-store .ar-sort .ar-picker-trigger::after,
	.ar-store .ar-sort .ar-picker-trigger[aria-expanded="true"]::after,
	.ar-sort .ar-picker :is(.ar-picker-panel, .ar-picker-panel[hidden]) {
		transition: none;
	}
}

/*
 * Native template parts hold the curator's sections. Empty space
 * belongs only between sections.
 */
.ar-artist-profile {
	display: grid;
	gap: 60px;
	max-width: 1440px;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 26px 5% 82px;
}

.ar-artist-profile > *,
.ar-artist-profile .wp-block-group > *,
.ar-artist-profile :where(h1, h2, h3, p, figure) {
	margin-block: 0;
}

.ar-artist-profile :where(section, div) {
	min-width: 0;
}

.ar-profile-intro,
.ar-profile-section {
	display: grid;
	gap: 20px;
}

.ar-profile-intro {
	gap: 25px;
}

.ar-profile-hero,
.ar-profile-feature {
	display: grid;
	grid-template-columns: 528fr 712fr;
	gap: 4.32%;
	align-items: center;
}

.ar-profile-feature {
	grid-template-columns: 604fr 628fr;
}

.ar-profile-copy {
	display: grid;
	gap: 20px;
}

.ar-artist-profile h1 {
	font-size: clamp(50px, 5.42vw, 78px);
	line-height: 1.09;
}

/* stylelint-disable-next-line no-descending-specificity --
   Profile headings sit outside the catalogue filters. */
.ar-profile-section h2 {
	font-size: clamp(32px, 3.34vw, 48px);
	line-height: 1.125;
}

.ar-profile-feature h3 {
	font: 600 clamp(22px, 2.23vw, 32px) / 1.25 var(--wp--preset--font-family--inter);
}

/* stylelint-disable no-descending-specificity --
   Profile copy and product details use separate paragraphs. */
.ar-profile-copy p,
.ar-profile-bio > p {
	max-width: 880px;
	font-size: clamp(16px, 1.6vw, 23px);
	line-height: 1.48;
}
/* stylelint-enable no-descending-specificity */

.ar-profile-copy .ar-profile-meta,
.ar-profile-card .ar-profile-meta {
	color: var(--wp--preset--color--muted);
	font-size: 14px;
}

.ar-profile-links {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
}

.ar-artist-profile .ar-profile-links a {
	display: inline-flex;
	align-items: center;
	padding-inline: 8px;
	min-height: 44px;
	font-size: 14px;
	text-decoration: none;
}

.ar-profile-works {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ar-profile-card {
	display: grid;
	gap: 6px;
	align-content: start;
}

.ar-profile-card h3 {
	font: 600 23px/1.4 var(--wp--preset--font-family--inter);
}

.ar-artist-profile .wp-block-image {
	margin: 0;
}

.ar-artist-profile .wp-block-image img {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: auto;
}

/* stylelint-disable-next-line no-descending-specificity --
   The hero and WordPress image blocks own different layouts. */
.ar-profile-hero img {
	aspect-ratio: 712/372;
	object-fit: cover;
	padding: 3.2%;
	background-color: var(--wp--preset--color--wall);
}

/* stylelint-disable-next-line no-descending-specificity --
   Profile cards and WordPress image blocks size images separately. */
.ar-profile-card img {
	aspect-ratio: 416/265;
	object-fit: contain;
	padding: 5.5%;
	background-color: var(--wp--preset--color--wall);
}

/* stylelint-disable-next-line no-descending-specificity --
   Featured works and WordPress image blocks use different crops. */
.ar-profile-feature img {
	aspect-ratio: 604/340;
	object-fit: cover;
}

.ar-artist-profile figcaption {
	font-size: 13px;
	line-height: 1.4;
	color: var(--wp--preset--color--muted);
}

@media (width <= 781px) {

	.ar-artist-profile {
		gap: 35px;
		padding: 12px 20px 50px;
	}

	.ar-profile-hero,
	.ar-profile-feature,
	.ar-profile-works {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.ar-profile-section,
	.ar-profile-copy,
	.ar-profile-intro {
		gap: 12px;
	}
}

/* Keep the live region mounted before announcing a validation error. */
#ar-price-error:empty {
	margin: 0;
}
