/*
Theme Name: UHAC Store
Theme URI: 
Author: Abstract Marketing
Author URI: 
Description: Custom theme developed for Union Hearing
Requires at least: 6.9
Tested up to: 7.0
Requires PHP: 8.0
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uhac-store
Tags: full-site-editing
*/

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

html {
	scroll-behavior: smooth;
}

iframe {
	display: block;
}

:where(input:not(:is([type='button'], [type='submit'])), select, textarea) {
	background-color: var(--wp--preset--color--base);
	border: 1px solid #bbb;
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	line-height: 1.5;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	width: 100%;
}

:where(input:focus, textarea:focus, select:focus) {
	outline: 2px solid var(--wp--preset--color--primary);
}

:where(input[type='checkbox'], input[type='image'], input[type='radio']) {
	width: auto;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	opacity: 0.5;
}

.entry-content {
	container-type: inline-size;
}

.entry-content :is(.alignleft, .alignright) {
	margin-block-end: 1em;
}

.entry-content :is(.alignleft, .alignright):first-child + * {
	margin-top: 0;
}

@container (width < 600px) {
	.entry-content .wp-block-image:is(.alignright, .alignleft) {
		float: none !important;
		margin: 0 0 1.5rem;
		width: 100%;
		text-align: center;
	}

	.entry-content .wp-block-image:is(.alignright, .alignleft) img {
		max-height: 400px;
		width: auto !important;
		display: inline-block !important;
	}
}

.lost_reset_password {
	text-align: center;

	.form-row {
		float: unset !important;
		margin: 1rem auto !important;
	}
}

a:not(:hover) {
	text-decoration: none;
}

.wp-block-query .wp-block-query-pagination {
	margin-block-start: var(--wp--preset--spacing--40);
}

.wp-block-media-text {
	gap: 1.5em;
}

.wp-block-media-text > .wp-block-media-text__content {
	padding: 0;
}

.is-style-outline .wp-block-button__link {
	box-shadow: inset 0 0 0 1px currentColor;
	border: none !important;
}

.is-style-outline:is(:hover, :focus) .wp-block-button__link:not(.has-background) {
	background-color: rgb(0 0 0 / .1);
}

.woocommerce-account .wp-block-post-title,
.woocommerce-account main .woocommerce,
.woocommerce-cart .wp-block-post-title,
.woocommerce-cart main .woocommerce,
.woocommerce-checkout .wp-block-post-title,
.woocommerce-checkout main .woocommerce {
	max-width: 1250px;	
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: unset;
	width: unset;
}

.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
	justify-content: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	padding: 0;
}

.product-card__image .wp-block-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
	white-space: nowrap;
	width: 100%;
}

.product-card__image:hover .wp-block-button {
	opacity: 1;
	pointer-events: unset;
	transition: background .25s ease;
	text-wrap: nowrap;
}

.product-card__image .wp-block-button__link:hover {
	background: #fff;
}

.single-product .wp-post-image {
	max-height: 500px;
	object-fit: contain;
}

.my-account-login-notice {
	font-size: 2rem;
	line-height: 1.2;
	text-align: center;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}

.ctct-inline-form * {
	font-family: inherit !important;
}

.ctct-form-defaults {
	background: transparent !important;
	padding: 0 !important;
}

