/* Shared roles complement native Global Styles and the site's existing aliases. */
.psk-shop-header {
	background: var(--wp--custom--aws--color--menu-background);
	border-color: var(--wp--custom--aws--color--border);
	color: var(--wp--custom--aws--color--menu-text);
}

.psk-menu-item > summary,
.psk-menu-direct > a {
	color: var(--wp--custom--aws--color--menu-text);
}

.psk-menu-item > summary:hover,
.psk-menu-item > summary:focus-visible,
.psk-menu-direct > a:hover,
.psk-menu-direct > a:focus-visible {
	color: var(--wp--custom--aws--color--menu-hover);
}

.psk-menu-items [aria-current="page"],
.psk-menu-item[open] > summary {
	color: var(--wp--custom--aws--color--menu-active);
}

.psk-mega-panel {
	background: var(--wp--custom--aws--color--submenu-background);
	color: var(--wp--custom--aws--color--submenu-text);
}

.psk-mega-panel a {
	color: inherit;
}

.wp-block-group.has-surface-soft-background-color {
	background-color: var(--wp--custom--aws--color--section-background) !important;
	color: var(--wp--custom--aws--color--section-text);
}

.wp-block-group.has-surface-inverse-background-color,
.psk-color-scheme-inverse {
	background-color: var(--wp--custom--aws--color--inverse-background) !important;
	color: var(--wp--custom--aws--color--inverse-text);
}

.psk-color-scheme-inverse :where(h1, h2, h3, h4, h5, h6):not(.has-text-color) {
	color: var(--wp--custom--aws--color--inverse-text);
}

.psk-site-footer {
	background: var(--wp--custom--aws--color--footer-background);
	color: var(--wp--custom--aws--color--footer-text);
}

.psk-site-footer :where(a, h2, h3, .psk-site-details) {
	color: inherit;
}

.psk-catalogue :where(select, input[type="search"]),
.psk-single-product :where(select, input.qty),
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="range"]):not([type="hidden"]), textarea, select) {
	background-color: var(--wp--custom--aws--color--field-background);
	border-color: var(--wp--custom--aws--color--field-border);
	color: var(--wp--custom--aws--color--field-text);
}

.psk-product-grid .wc-block-components-product-price,
.psk-single-product .wc-block-components-product-price {
	color: var(--wp--custom--aws--color--shop-price);
}

.psk-product-grid .wc-block-components-product-sale-badge {
	background: var(--wp--custom--aws--color--shop-sale-background);
	border-color: var(--wp--custom--aws--color--shop-sale-background);
	color: var(--wp--custom--aws--color--shop-sale-text);
}

:root .woocommerce-message,
.wc-block-components-notice-banner.is-info {
	background: var(--wp--custom--aws--color--shop-notice-background);
	color: var(--wp--custom--aws--color--shop-notice-text);
}

.psk-product-grid .wp-block-woocommerce-product-button button.wc-block-components-product-button__button[class~="add_to_cart_button"] {
	background: var(--wp--custom--aws--color--shop-catalogue-cart-background);
	border-color: var(--wp--custom--aws--color--shop-catalogue-cart-border);
	color: var(--wp--custom--aws--color--shop-catalogue-cart-text);
}

.psk-product-grid .wp-block-woocommerce-product-button button.wc-block-components-product-button__button[class~="add_to_cart_button"]:is(:hover, :focus-visible) {
	background: var(--wp--custom--aws--color--shop-catalogue-cart-hover-background);
	border-color: var(--wp--custom--aws--color--shop-catalogue-cart-hover-border);
	color: var(--wp--custom--aws--color--shop-catalogue-cart-hover-text);
}

.psk-single-product :where([class~="single_add_to_cart_button"], .button.alt) {
	background: var(--wp--custom--aws--color--shop-cart-background);
	border-color: var(--wp--custom--aws--color--shop-cart-border);
	color: var(--wp--custom--aws--color--shop-cart-text);
}

.psk-single-product :where([class~="single_add_to_cart_button"], .button.alt):is(:hover, :focus-visible) {
	background: var(--wp--custom--aws--color--shop-cart-hover-background);
	border-color: var(--wp--custom--aws--color--shop-cart-hover-border);
	color: var(--wp--custom--aws--color--shop-cart-hover-text);
}

.psk-single-product :where([class~="single_add_to_cart_button"], .button.alt):disabled {
	background: var(--wp--custom--aws--color--shop-cart-disabled-background);
	border-color: var(--wp--custom--aws--color--shop-cart-disabled-border);
	color: var(--wp--custom--aws--color--shop-cart-disabled-text);
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.woocommerce .checkout-button {
	background: var(--wp--custom--aws--color--shop-checkout-background);
	border-color: var(--wp--custom--aws--color--shop-checkout-border);
	color: var(--wp--custom--aws--color--shop-checkout-text);
}

.wc-block-cart__submit-button:is(:hover, :focus-visible),
.wc-block-components-checkout-place-order-button:is(:hover, :focus-visible),
.woocommerce .checkout-button:is(:hover, :focus-visible) {
	background: var(--wp--custom--aws--color--shop-checkout-hover-background);
	border-color: var(--wp--custom--aws--color--shop-checkout-hover-border);
	color: var(--wp--custom--aws--color--shop-checkout-hover-text);
}
