/* Shared catalog cards, also used while the cart is empty. */
body:is(.wmw-product-archive, .wmw-empty-cart) > .wp-site-blocks {
	background-color: #010205;
	color: #fff;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-template,
	.products-block-post-template,
	.wc-block-grid__products,
	ul.products
) {
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: 400 !important;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-image,
	.wc-block-grid__product-image,
	ul.products li.product a.woocommerce-LoopProduct-link > img
) {
	border: 1px solid #cdff09;
	border-radius: 50px;
	box-sizing: border-box;
	overflow: hidden;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-collection .wp-block-post-title,
	.products-block-post-template .wp-block-post-title,
	.wc-block-grid__product-title,
	ul.products li.product .woocommerce-loop-product__title
) {
	color: #fff !important;
	font-family: var(--wp--custom--heading--typography--font-family);
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: var(--wp--custom--heading--typography--font-weight, 700) !important;
	line-height: var(--wp--custom--heading--typography--line-height, 1.1);
	text-align: center;
	text-transform: uppercase;
	margin-top: 1.5rem !important;
	margin-bottom: 0.2rem !important;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-collection .wp-block-post-title,
	.products-block-post-template .wp-block-post-title
) a {
	color: inherit !important;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-price,
	.wc-block-grid__product > .wc-block-grid__product-price,
	ul.products li.product .price
) {
	color: #fff !important;
	font-size: var(--wp--preset--font-size--tiny) !important;
	font-style: normal;
	margin-bottom: var(--wp--preset--spacing--20) !important;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-price .wc-block-components-product-price,
	.wc-block-grid__product > .wc-block-grid__product-price,
	ul.products li.product .price
) {
	font-weight: 500;
	text-align: center;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-button,
	.wc-block-grid__product-add-to-cart,
	ul.products li.product
) {
	text-align: center;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-button .wp-block-button__link.wp-element-button,
	.wc-block-grid__product-add-to-cart .wp-block-button__link.wp-element-button,
	ul.products li.product a.button
) {
	background-color: transparent !important;
	background-image: none !important;
	border: 2px solid #d1ff0a !important;
	border-radius: var(--wp--custom--button--border--radius, 30px);
	color: #d1ff0a !important;
	font-family: var(--wp--custom--button--typography--font-family);
	font-size: 12px !important;
	font-weight: var(--wp--custom--button--typography--font-weight, 600);
	line-height: 1;
	padding-block: calc(var(--wp--custom--button--spacing--padding--top) + var(--wp--custom--button--border--width));
	padding-inline: var(--wp--custom--button--spacing--padding--left);
	text-transform: uppercase !important;
}

html body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-button .wp-block-button__link.wp-element-button,
	.wc-block-grid__product-add-to-cart .wp-block-button__link.wp-element-button,
	ul.products li.product a.button
):is(:hover, :focus-visible):not(:disabled):not(.disabled):not([aria-disabled="true"]) {
	background-color: #cdff09 !important;
	border-color: #cdff09 !important;
	color: #000 !important;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-woocommerce-product-button .wp-block-button__link,
	.wc-block-grid__product-add-to-cart .wp-block-button__link
) span {
	color: inherit !important;
}

/* Keep catalog controls readable on the matching dark surface. */
body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-query-title,
	.woocommerce-products-header__title
) {
	font-family: var(--wp--preset--font-family--unbounded, 'Unbounded', sans-serif);
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-query-title,
	.woocommerce-products-header__title,
	.wp-block-query-pagination a,
	.woocommerce-pagination a
) {
	color: #fff;
}

body:is(.wmw-product-archive, .wmw-empty-cart) :is(
	.wp-block-query-pagination .current,
	.woocommerce-pagination .current
) {
	color: #cdff09;
}

/* Match the single-product variation selects, including the white arrow. */
html body:is(.wmw-product-archive, .wmw-empty-cart) .woocommerce-ordering select.orderby {
	appearance: none;
	-webkit-appearance: none;
	background-color: transparent;
	border: 1px solid rgba(205, 255, 9, 0.66);
	border-radius: var(--wp--custom--form--border--radius);
	color: #fff;
	font-family: 'Golos Text';
	font-size: 14.436px;
	font-style: normal;
	font-weight: 400;
	line-height: 17.323px;
	letter-spacing: 0.722px;
	padding: 0.9em 40px 0.9em 1.1em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px 8px;
}

body:is(.wmw-product-archive, .wmw-empty-cart) .woocommerce-ordering select.orderby option {
	background-color: #010205;
	color: #fff;
}
