.h2o-product-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: .75rem;
	padding: 1rem 1rem 1.5rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--soft);
	transition: transform .45s var(--wp--custom--ease), box-shadow .45s var(--wp--custom--ease), border-color .3s;
}

.h2o-product-card:hover {
	transform: translateY(-6px);
	border-color: var(--wp--preset--color--primary);
	box-shadow: var(--wp--preset--shadow--lift);
}

.h2o-product-card .wc-block-components-product-image {
	margin: 0 !important;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--surface);
}

.h2o-product-card .wc-block-components-product-image img {
	transition: transform 1s var(--wp--custom--ease);
}

.h2o-product-card:hover .wc-block-components-product-image img {
	transform: scale(1.04);
}

.h2o-product-card .wp-block-post-title {
	margin: .25rem .5rem 0;
}

.h2o-product-card .wc-block-components-product-price,
.h2o-product-card .wp-block-woocommerce-product-price {
	margin: 0 .5rem;
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 900;
}

.h2o-product-card .wp-block-button,
.h2o-product-card .wc-block-components-product-button {
	margin: auto .5rem 0 !important;
}

.h2o-product-card .wp-block-button__link,
.h2o-product-card .wc-block-components-product-button__button {
	width: 100%;
	color: var(--wp--preset--color--base) !important;
	background: var(--wp--preset--color--ink) !important;
	border-radius: 14px !important;
	font-weight: 800;
}

.h2o-product-card .wp-block-button__link:hover,
.h2o-product-card .wc-block-components-product-button__button:hover {
	color: var(--wp--preset--color--ink) !important;
	background: var(--wp--preset--color--primary) !important;
}

@media (min-width: 782px) {
	.h2o-product__summary {
		position: sticky;
		top: calc(var(--wp--custom--header-height) + 1.5rem);
		align-self: flex-start;
	}
}

.h2o-product__image img {
	width: 100%;
	display: block;
}

.h2o-product__price,
.h2o-product__price .wc-block-components-product-price {
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1.1;
}

.h2o-product__price del {
	font-size: .55em;
	opacity: .5;
}

.h2o-product__price ins {
	text-decoration: none;
}

.h2o-product__price .woocommerce-price-suffix,
.h2o-product__price .subscription-details {
	display: block;
	margin-top: .35rem;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	letter-spacing: 0;
	color: var(--wp--preset--color--muted);
}

.h2o-product__excerpt {
	color: var(--wp--preset--color--muted);
}

.wp-block-add-to-cart-form form.cart,
.wc-block-add-to-cart-form form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: .75rem;
}

.wp-block-add-to-cart-form form.cart > *:not(.quantity):not(button),
.wc-block-add-to-cart-form form.cart > *:not(.quantity):not(button) {
	flex-basis: 100%;
}

form.cart .quantity input.qty {
	width: 5rem;
	height: 100%;
	min-height: 3.4rem;
	text-align: center;
	font-weight: 800;
}

form.cart .single_add_to_cart_button,
form.cart button[type="submit"] {
	flex: 1;
	min-height: 3.4rem;
	padding: 1rem 1.75rem;
	font: inherit;
	font-weight: 800;
	font-size: var(--wp--preset--font-size--lg);
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--primary);
	border: 0;
	border-radius: 16px;
	box-shadow: 0 12px 30px -12px rgba(64, 202, 242, .9);
	cursor: pointer;
	transition: background-color .25s, color .25s, transform .3s var(--wp--custom--ease);
}

form.cart .single_add_to_cart_button:hover,
form.cart button[type="submit"]:hover {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--ink);
	transform: translateY(-2px);
}

.h2o-reassurance {
	padding: 1.25rem 1.5rem;
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--md);
}

.h2o-upsells .products-block-post-template {
	gap: clamp(1rem, 2vw, 1.5rem);
}

.wc-block-cart,
.wc-block-checkout {
	--h2o-radius: var(--wp--custom--radius--md);
}

.wc-block-cart .wc-block-cart__totals-title,
.wc-block-checkout .wc-block-components-checkout-step__title,
.wc-block-components-title.wc-block-components-title {
	font-weight: 900;
	letter-spacing: -.02em;
	text-transform: none;
}

.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wc-block-checkout__sidebar .wc-block-components-order-summary {
	border-color: var(--wp--preset--color--line);
}

.wc-block-components-sidebar {
	padding: clamp(1rem, 2vw, 1.75rem) !important;
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--lg);
}

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	min-height: 3.5rem;
	font-weight: 800 !important;
	color: var(--wp--preset--color--ink) !important;
	background: var(--wp--preset--color--primary) !important;
	border: 0 !important;
	border-radius: 16px !important;
	box-shadow: 0 12px 30px -12px rgba(64, 202, 242, .9);
	transition: background-color .25s, color .25s, transform .3s var(--wp--custom--ease);
}

.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	color: var(--wp--preset--color--base) !important;
	background: var(--wp--preset--color--ink) !important;
	transform: translateY(-2px);
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea {
	border-radius: 14px !important;
	border-color: var(--wp--preset--color--line) !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus {
	border-color: var(--wp--preset--color--primary-ink) !important;
	box-shadow: 0 0 0 4px rgba(64, 202, 242, .25) !important;
}

.wc-block-components-product-name {
	font-weight: 800;
	color: var(--wp--preset--color--ink);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-weight: 900;
	font-size: var(--wp--preset--font-size--xl);
}

.wp-block-woocommerce-cart-cross-sells-block {
	margin-top: var(--wp--preset--spacing--40);
}

.wp-block-woocommerce-cart-cross-sells-block .cross-sells-product {
	padding: 1rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
}

.wc-block-order-confirmation-status {
	font-weight: 900;
	letter-spacing: -.02em;
}

.wc-block-order-confirmation-summary {
	padding: 1.5rem;
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--md);
}

.woocommerce-account .woocommerce {
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

@media (min-width: 782px) {
	.woocommerce-account .woocommerce {
		grid-template-columns: 260px 1fr;
		align-items: start;
	}
	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}
}

.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: .5rem;
	list-style: none;
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--md);
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: .7rem 1rem;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	border-radius: 12px;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--soft);
}

.woocommerce-account .woocommerce-Button,
.woocommerce-account button.button,
.woocommerce-account a.button {
	display: inline-block;
	padding: .85rem 1.5rem;
	font: inherit;
	font-weight: 800;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--primary);
	border: 0;
	border-radius: 14px;
	text-decoration: none;
	cursor: pointer;
}

.woocommerce-account table.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--sm);
}

.woocommerce-account table.shop_table :is(th, td) {
	padding: .8rem;
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.wc-block-components-notice-banner {
	border-radius: 14px !important;
}

.h2o-product__media:not(:has(img)) {
	min-height: 420px;
	border-radius: var(--wp--custom--radius--xl);
	background:
		url("../images/logo.webp") center / min(55%, 260px) no-repeat,
		radial-gradient(60% 60% at 50% 45%, rgba(64, 202, 242, .35), transparent 70%),
		var(--wp--preset--color--surface);
}

@media (max-width: 781px) {
	.h2o-product__media:not(:has(img)) {
		min-height: 240px;
	}
}

.h2o-product-card .wc-block-components-product-image:has(img[src*="placeholder"]) {
	display: none;
}

.h2o-product__excerpt ul {
	padding-left: 0;
	list-style: none;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.h2o-product__excerpt li {
	position: relative;
	padding-left: 1.9rem;
}

.h2o-product__excerpt li + li {
	margin-top: .5rem;
}

.h2o-product__excerpt li::before {
	content: "";
	position: absolute;
	top: .2em;
	left: 0;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0f14' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.h2o-thankyou-brief,
.h2o-thankyou-maintenance {
	margin-block: var(--wp--preset--spacing--40);
}

.h2o-thankyou-brief h2,
.h2o-thankyou-maintenance h2 {
	font-size: var(--wp--preset--font-size--xl);
}

.h2o-thankyou-maintenance {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--lg);
}

.h2o-product-card .woocommerce-price-suffix,
.wc-block-components-product-price .woocommerce-price-suffix,
.h2o-product__price .woocommerce-price-suffix {
	display: block;
	margin-top: .3rem;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	letter-spacing: 0;
	color: var(--wp--preset--color--muted);
}

.h2o-product-card .h2o-price-prefix,
.h2o-product__price .h2o-price-prefix {
	display: block;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	color: var(--wp--preset--color--muted);
}
