/* HZS shop styles. Loaded on WooCommerce pages only.
   WooCommerce and Divi bring their own light styles. These rules turn the
   shop dark and match it to the rest of the site. Layout only: no shop
   setting, product, or payment is changed. */

/* ==========================================================================
   Shared: words, links, fields, buttons, notes
   ========================================================================== */

body.hzs .woocommerce,
body.hzs.woocommerce #main-content,
body.hzs .wc-block-components-text-input,
body.hzs .wp-block-woocommerce-cart,
body.hzs .wp-block-woocommerce-checkout {
	color: var(--text-body);
	font-family: var(--font-body);
}

body.hzs #main-content .woocommerce a:not(.button):not(.hzs-btn),
body.hzs.woocommerce-page #main-content a:not(.button):not(.hzs-btn),
body.hzs .wc-block-components-product-name,
body.hzs .wp-block-woocommerce-cart a,
body.hzs .wp-block-woocommerce-checkout a {
	color: var(--accent-primary);
}

/* Fields */
body.hzs .woocommerce input.input-text,
body.hzs.woocommerce-page #main-content input.input-text,
body.hzs .woocommerce input[type="text"],
body.hzs.woocommerce-page #main-content input[type="text"],
body.hzs .woocommerce input[type="email"],
body.hzs.woocommerce-page #main-content input[type="email"],
body.hzs .woocommerce input[type="tel"],
body.hzs.woocommerce-page #main-content input[type="tel"],
body.hzs .woocommerce input[type="password"],
body.hzs.woocommerce-page #main-content input[type="password"],
body.hzs .woocommerce input[type="number"],
body.hzs.woocommerce-page #main-content input[type="number"],
body.hzs .woocommerce textarea,
body.hzs.woocommerce-page #main-content textarea,
body.hzs .woocommerce select,
body.hzs.woocommerce-page #main-content select,
body.hzs .woocommerce .select2-container .select2-selection,
body.hzs.woocommerce-page #main-content .select2-container .select2-selection,
body.hzs .wc-block-components-text-input input,
body.hzs .wc-block-components-textarea,
body.hzs .wc-blocks-components-select .wc-blocks-components-select__select,
body.hzs .wc-block-components-combobox .wc-block-components-combobox-control input,
body.hzs .wc-block-components-quantity-selector {
	box-sizing: border-box;
	min-height: var(--tap-min);
	padding: 0.75rem 0.9375rem;
	border: 1px solid var(--border-control);
	border-radius: var(--r-button);
	background: var(--surface-field);
	background-color: var(--surface-field);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.4;
	color: var(--text-strong);
	box-shadow: none;
}

body.hzs .wc-block-components-text-input input,
body.hzs .wc-blocks-components-select .wc-blocks-components-select__select {
	padding-top: 1.375rem;
	padding-bottom: 0.375rem;
}

body.hzs .woocommerce select,
body.hzs.woocommerce-page #main-content select {
	padding-right: 2.25rem;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7B5FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1rem;
}

body.hzs .woocommerce label,
body.hzs.woocommerce-page #main-content label,
body.hzs .woocommerce table.variations th.label label,
body.hzs.woocommerce-page #main-content table.variations th.label label,
body.hzs .wc-block-components-text-input label,
body.hzs .wc-blocks-components-select .wc-blocks-components-select__label,
body.hzs .wc-block-components-checkbox__label {
	font-family: var(--font-body);
	color: var(--text-body);
}

body.hzs .woocommerce input:focus-visible,
body.hzs.woocommerce-page #main-content input:focus-visible,
body.hzs .woocommerce select:focus-visible,
body.hzs.woocommerce-page #main-content select:focus-visible,
body.hzs .woocommerce textarea:focus-visible,
body.hzs.woocommerce-page #main-content textarea:focus-visible,
body.hzs .wc-block-components-text-input input:focus,
body.hzs .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	outline: 2px solid var(--focus-ring);
	outline-offset: 2px;
	border-color: var(--accent-primary);
	box-shadow: none;
}

/* Buttons: every shop button is the green primary button */
body.hzs .woocommerce a.button,
body.hzs .woocommerce button.button,
body.hzs .woocommerce input.button,
body.hzs.woocommerce-page #main-content input.button,
body.hzs .woocommerce #respond input#submit,
body.hzs.woocommerce-page #main-content #respond input#submit,
body.hzs .woocommerce button.button.alt,
body.hzs.woocommerce-page #main-content button.button.alt,
body.hzs .woocommerce a.button.alt,
body.hzs.woocommerce-page #main-content a.button.alt,
body.hzs.woocommerce-page #main-content a.button,
body.hzs.woocommerce-page #main-content button.button,
body.hzs .woocommerce .et_pb_button,
body.hzs.woocommerce-page #main-content .et_pb_button,
body.hzs .wc-block-components-button:not(.is-link),
body.hzs .wc-block-cart__submit-button,
body.hzs .wc-block-components-checkout-place-order-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: var(--tap-min);
	padding: 0.8125rem 1.375rem;
	border: 0;
	border-radius: var(--r-button);
	background: var(--button-primary-bg);
	background-color: var(--button-primary-bg);
	font-family: var(--font-body);
	font-size: var(--fs-button);
	font-weight: 700;
	line-height: 1.3 !important;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--button-primary-text);
	opacity: 1;
	transition: background-color var(--d-color);
}

body.hzs .woocommerce a.button:hover,
body.hzs .woocommerce button.button:hover,
body.hzs .woocommerce input.button:hover,
body.hzs.woocommerce-page #main-content input.button:hover,
body.hzs .woocommerce button.button.alt:hover,
body.hzs.woocommerce-page #main-content button.button.alt:hover,
body.hzs .woocommerce a.button.alt:hover,
body.hzs.woocommerce-page #main-content a.button.alt:hover,
body.hzs.woocommerce-page #main-content a.button:hover,
body.hzs.woocommerce-page #main-content button.button:hover,
body.hzs .woocommerce .et_pb_button:hover,
body.hzs.woocommerce-page #main-content .et_pb_button:hover,
body.hzs .wc-block-components-button:not(.is-link):hover {
	padding: 0.8125rem 1.375rem;
	border: 0;
	background: var(--button-primary-bg-hover);
	background-color: var(--button-primary-bg-hover);
	color: var(--button-primary-text);
}

body.hzs .woocommerce a.button::after,
body.hzs.woocommerce-page #main-content a.button::after,
body.hzs .woocommerce button.button::after,
body.hzs.woocommerce-page #main-content button.button::after,
body.hzs .woocommerce a.button::before,
body.hzs.woocommerce-page #main-content a.button::before,
body.hzs .woocommerce button.button::before,
body.hzs.woocommerce-page #main-content button.button::before,
body.hzs .woocommerce .et_pb_button::after,
body.hzs.woocommerce-page #main-content .et_pb_button::after,
body.hzs .woocommerce .et_pb_button::before,
body.hzs.woocommerce-page #main-content .et_pb_button::before {
	display: none;
}

body.hzs .woocommerce button.button.disabled,
body.hzs.woocommerce-page #main-content button.button.disabled,
body.hzs .woocommerce button.button:disabled,
body.hzs.woocommerce-page #main-content button.button:disabled,
body.hzs .woocommerce button.button.alt.disabled,
body.hzs.woocommerce-page #main-content button.button.alt.disabled {
	background: var(--surface-card);
	background-color: var(--surface-card);
	color: var(--text-body);
	opacity: 1;
	cursor: not-allowed;
}

/* Notes from the shop */
body.hzs .woocommerce-message,
body.hzs .woocommerce-info,
body.hzs .woocommerce-error,
body.hzs .woocommerce-noreviews,
body.hzs p.no-comments,
body.hzs .wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem !important;
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent-primary);
	border-radius: var(--r-button);
	background: var(--surface-card) !important;
	font-size: 1rem;
	color: var(--text-strong) !important;
	list-style: none;
}

body.hzs .woocommerce-error {
	border-left-color: var(--hzs-gold-light);
}

body.hzs .woocommerce-message {
	border-left-color: var(--accent-grow);
}

body.hzs .woocommerce-message::before,
body.hzs .woocommerce-info::before,
body.hzs .woocommerce-error::before {
	display: none;
}

body.hzs .woocommerce-message a.button,
body.hzs .woocommerce-info a.button {
	order: 2;
	margin-left: auto;
}

/* ==========================================================================
   Product list
   ========================================================================== */

body.hzs .woocommerce .woocommerce-result-count,
body.hzs.woocommerce-page #main-content .woocommerce-result-count,
body.hzs.woocommerce .woocommerce-result-count {
	margin: 0 0 1.5rem;
	padding-top: 0.875rem;
	font-family: var(--font-mono);
	font-size: var(--fs-kicker);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-dim);
}

body.hzs .woocommerce .woocommerce-ordering,
body.hzs.woocommerce-page #main-content .woocommerce-ordering,
body.hzs.woocommerce .woocommerce-ordering {
	margin: 0 0 1.5rem;
}

/* While the shop is not open, the empty Products part is not shown (inc/shop.php, hzs_shop_closed_class). */
body.hzs-shop-closed .hzs-shop {
	display: none;
}

body.hzs .woocommerce ul.products,
body.hzs.woocommerce-page #main-content ul.products,
body.hzs.woocommerce ul.products,
body.hzs #main-content .hzs-products ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.375rem;
	clear: both;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.hzs .woocommerce ul.products::before,
body.hzs.woocommerce-page #main-content ul.products::before,
body.hzs .woocommerce ul.products::after,
body.hzs.woocommerce-page #main-content ul.products::after,
body.hzs #main-content .hzs-products ul.products::before,
body.hzs #main-content .hzs-products ul.products::after {
	display: none;
}

body.hzs .woocommerce ul.products li.product,
body.hzs.woocommerce-page #main-content ul.products li.product,
body.hzs.woocommerce ul.products li.product,
body.hzs #main-content .hzs-products ul.products li.product {
	position: relative;
	float: none;
	width: auto;
	margin: 0;
	padding: 0 0 1.375rem;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-card-small);
	background: var(--surface-card);
	transition: border-color var(--d-move), transform var(--d-move);
}

body.hzs .woocommerce ul.products li.product:hover,
body.hzs.woocommerce-page #main-content ul.products li.product:hover,
body.hzs .woocommerce ul.products li.product:focus-within,
body.hzs.woocommerce-page #main-content ul.products li.product:focus-within,
body.hzs #main-content .hzs-products ul.products li.product:hover,
body.hzs #main-content .hzs-products ul.products li.product:focus-within {
	border-color: rgba(242, 100, 234, 0.45);
	transform: translateY(-3px);
}

body.hzs .woocommerce ul.products li.product a.woocommerce-loop-product__link,
body.hzs.woocommerce-page #main-content ul.products li.product a.woocommerce-loop-product__link,
body.hzs #main-content .hzs-products ul.products li.product a.woocommerce-loop-product__link {
	display: block;
	text-decoration: none;
}

body.hzs .woocommerce ul.products li.product .et_shop_image,
body.hzs.woocommerce-page #main-content ul.products li.product .et_shop_image,
body.hzs .woocommerce ul.products li.product a img,
body.hzs.woocommerce-page #main-content ul.products li.product a img,
body.hzs #main-content .hzs-products ul.products li.product .et_shop_image,
body.hzs #main-content .hzs-products ul.products li.product a img {
	display: block;
	width: 100%;
	margin: 0;
	box-shadow: none;
}

body.hzs .woocommerce ul.products li.product .et_overlay,
body.hzs.woocommerce-page #main-content ul.products li.product .et_overlay,
body.hzs #main-content .hzs-products ul.products li.product .et_overlay {
	display: none;
}

body.hzs .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.hzs.woocommerce-page #main-content ul.products li.product .woocommerce-loop-product__title,
body.hzs .woocommerce ul.products li.product h2,
body.hzs.woocommerce-page #main-content ul.products li.product h2,
body.hzs #main-content .hzs-products ul.products li.product .woocommerce-loop-product__title,
body.hzs #main-content .hzs-products ul.products li.product h2 {
	padding: 1.125rem 1.25rem 0.375rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--text-strong);
}

body.hzs .woocommerce ul.products li.product .price,
body.hzs.woocommerce-page #main-content ul.products li.product .price,
body.hzs .woocommerce ul.products li.product .price .amount,
body.hzs.woocommerce-page #main-content ul.products li.product .price .amount,
body.hzs #main-content .hzs-products ul.products li.product .price,
body.hzs #main-content .hzs-products ul.products li.product .price .amount {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--accent-primary) !important;
}

body.hzs .woocommerce ul.products li.product .price,
body.hzs.woocommerce-page #main-content ul.products li.product .price,
body.hzs #main-content .hzs-products ul.products li.product .price {
	display: block;
	padding: 0 1.25rem;
}

body.hzs .woocommerce ul.products li.product .price del,
body.hzs.woocommerce-page #main-content ul.products li.product .price del,
body.hzs #main-content .hzs-products ul.products li.product .price del {
	color: var(--text-dim);
	opacity: 1;
}

body.hzs .woocommerce ul.products li.product .price ins,
body.hzs.woocommerce-page #main-content ul.products li.product .price ins,
body.hzs #main-content .hzs-products ul.products li.product .price ins {
	text-decoration: none;
}

body.hzs .woocommerce ul.products li.product .star-rating,
body.hzs.woocommerce-page #main-content ul.products li.product .star-rating,
body.hzs #main-content .hzs-products ul.products li.product .star-rating {
	margin: 0.5rem 1.25rem 0;
	color: var(--hzs-gold-light);
}

body.hzs .woocommerce ul.products li.product a.button,
body.hzs.woocommerce-page #main-content ul.products li.product a.button,
body.hzs #main-content .hzs-products ul.products li.product a.button {
	margin: 1rem 1.25rem 0;
}

body.hzs .woocommerce span.onsale,
body.hzs.woocommerce-page #main-content span.onsale,
body.hzs.woocommerce span.onsale {
	top: 1rem !important;
	right: auto !important;
	left: 1rem !important;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0.3125rem 0.6875rem;
	border-radius: var(--r-tag);
	background: var(--accent-mark) !important;
	font-family: var(--font-mono);
	font-size: var(--fs-note);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hzs-near-black);
}

body.hzs .woocommerce nav.woocommerce-pagination,
body.hzs.woocommerce-page #main-content nav.woocommerce-pagination {
	margin-top: 2.5rem;
}

body.hzs .woocommerce nav.woocommerce-pagination ul,
body.hzs.woocommerce-page #main-content nav.woocommerce-pagination ul {
	display: flex;
	gap: 0.5rem;
	border: 0;
}

body.hzs .woocommerce nav.woocommerce-pagination ul li,
body.hzs.woocommerce-page #main-content nav.woocommerce-pagination ul li {
	border: 0;
}

body.hzs .woocommerce nav.woocommerce-pagination ul li a,
body.hzs.woocommerce-page #main-content nav.woocommerce-pagination ul li a,
body.hzs .woocommerce nav.woocommerce-pagination ul li span,
body.hzs.woocommerce-page #main-content nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: var(--tap-min);
	min-height: var(--tap-min);
	padding: 0 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--r-button);
	background: transparent;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--text-body);
}

body.hzs .woocommerce nav.woocommerce-pagination ul li span.current,
body.hzs.woocommerce-page #main-content nav.woocommerce-pagination ul li span.current {
	border-color: var(--accent-primary);
	color: var(--text-strong);
}

/* ==========================================================================
   One product
   ========================================================================== */

.et_pb_section.hzs-product {
	padding-top: 4rem;
}

.hzs-product .hzs-spine-label {
	top: 4rem;
}

.hzs-product__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 3rem;
	align-items: start;
}

.hzs-wc-images .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	margin: 0;
	opacity: 1 !important;
}

.hzs-wc-images img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--r-card);
}

.hzs-wc-images .woocommerce-product-gallery__image {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	background: var(--surface-card);
}

.hzs-wc-images .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0.75rem 0 0 !important;
	padding: 0 !important;
}

.hzs-wc-images .flex-control-thumbs li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	list-style: none;
}

body.hzs .hzs-wc-images .woocommerce-product-gallery__trigger {
	top: 1rem;
	right: 1rem;
	width: var(--tap-min);
	height: var(--tap-min);
	border-radius: var(--r-button);
	background: var(--surface-b);
}

/* Plain text flow, so the slashes and the last name wrap like words
   on a phone. A flex row wrapped them as odd blocks. */
body.hzs .hzs-wc-crumbs .woocommerce-breadcrumb {
	display: block;
	margin: 0;
	line-height: 1.8;
	font-family: var(--font-mono);
	font-size: var(--fs-kicker);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-dim);
}

body.hzs .hzs-wc-crumbs .woocommerce-breadcrumb a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	vertical-align: middle;
	text-decoration: none;
}

body.hzs .hzs-wc-title h1 {
	margin-top: 0.5rem;
	font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
	line-height: 1.08;
	letter-spacing: var(--tracking-heading);
	text-wrap: balance;
}

body.hzs .hzs-wc-price .price,
body.hzs .hzs-wc-price .price .amount {
	margin: 1rem 0 0;
	font-family: var(--font-heading);
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--text-strong) !important;
}

.hzs-wc-currency {
	margin-top: 0.5rem;
}

.hzs-wc-short {
	max-width: 35rem;
	margin-top: 1.25rem;
}

.hzs-wc-cart {
	margin-top: 1.75rem;
}

body.hzs .hzs-wc-cart form.cart {
	margin: 0;
}

body.hzs .hzs-wc-cart table.variations {
	width: 100%;
	max-width: 30rem;
	margin: 0 0 1.25rem;
	border: 0;
	border-collapse: collapse;
}

body.hzs .hzs-wc-cart table.variations tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.375rem;
	margin-bottom: 1rem;
}

body.hzs .hzs-wc-cart table.variations th,
body.hzs .hzs-wc-cart table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	line-height: 1.4;
}

body.hzs .hzs-wc-cart table.variations th.label label {
	font-family: var(--font-mono);
	font-size: var(--fs-note);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-dim);
}

body.hzs .hzs-wc-cart table.variations select {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.hzs .hzs-wc-cart .reset_variations {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	font-size: var(--fs-small);
}

body.hzs .hzs-wc-cart .woocommerce-variation-price .price,
body.hzs .hzs-wc-cart .woocommerce-variation-price .amount {
	font-family: var(--font-heading);
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--text-strong) !important;
}

body.hzs .hzs-wc-cart .woocommerce-variation-add-to-cart,
body.hzs .hzs-wc-cart form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
	margin-top: 1rem;
}

body.hzs .hzs-wc-cart .quantity {
	float: none;
	margin: 0;
}

body.hzs .hzs-wc-cart .quantity input.qty {
	width: 4.5rem;
	height: 100%;
	min-height: 3.125rem;
	text-align: center;
	font-weight: 700;
}

body.hzs .hzs-wc-cart button.single_add_to_cart_button {
	float: none;
	flex: 1 1 12rem;
	max-width: 22rem;
	min-height: 3.125rem;
	margin: 0;
}

body.hzs .hzs-wc-meta {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

body.hzs .hzs-wc-meta .product_meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.5rem;
	padding: 0;
	border: 0;
	font-family: var(--font-mono);
	font-size: var(--fs-kicker);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-dim);
}

body.hzs .hzs-wc-meta .product_meta a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	text-decoration: none;
}

/* Tabs */
body.hzs .hzs-wc-tabs,
body.hzs .hzs-wc-tabs.et_pb_wc_tabs {
	border: 0;
	background: transparent;
}

body.hzs .hzs-wc-tabs ul.et_pb_tabs_controls,
body.hzs .hzs-wc-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	list-style: none;
}

body.hzs .hzs-wc-tabs ul.et_pb_tabs_controls::after,
body.hzs .hzs-wc-tabs ul.tabs::before,
body.hzs .hzs-wc-tabs ul.tabs::after {
	display: none;
}

body.hzs .hzs-wc-tabs ul.et_pb_tabs_controls li,
body.hzs .hzs-wc-tabs ul.tabs li {
	float: none;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.hzs .hzs-wc-tabs ul.et_pb_tabs_controls li a,
body.hzs .hzs-wc-tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	padding: 0;
	border-bottom: 2px solid transparent;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-body);
}

body.hzs .hzs-wc-tabs ul.et_pb_tabs_controls li.et_pb_tab_active a,
body.hzs .hzs-wc-tabs ul.tabs li.active a {
	border-bottom-color: var(--accent-primary);
	color: var(--text-strong);
}

body.hzs .hzs-wc-tabs .et_pb_tab,
body.hzs .hzs-wc-tabs .woocommerce-Tabs-panel {
	max-width: var(--measure);
	padding: 1.75rem 0 0;
	color: var(--text-body);
}

body.hzs .hzs-wc-tabs .et_pb_all_tabs {
	background: transparent;
}

body.hzs .hzs-wc-tabs h2 {
	padding-bottom: 0.75rem;
	font-size: var(--fs-h3);
}

body.hzs .woocommerce table.shop_attributes,
body.hzs.woocommerce-page #main-content table.shop_attributes {
	border: 0;
}

body.hzs .woocommerce table.shop_attributes th,
body.hzs.woocommerce-page #main-content table.shop_attributes th,
body.hzs .woocommerce table.shop_attributes td,
body.hzs.woocommerce-page #main-content table.shop_attributes td {
	padding: 0.75rem 0;
	border: 0;
	border-bottom: 1px solid var(--line-soft);
	background: transparent;
	font-style: normal;
	text-align: left;
	color: var(--text-body);
}

body.hzs .woocommerce table.shop_attributes th,
body.hzs.woocommerce-page #main-content table.shop_attributes th {
	width: 10rem;
	color: var(--text-strong);
}

body.hzs .hzs-products section.related > h2,
body.hzs .hzs-products > h2 {
	padding-bottom: 1.75rem;
	font-size: var(--fs-h2-small);
	letter-spacing: var(--tracking-heading);
}

/* ==========================================================================
   Cart, checkout, my account (both the old and the new WooCommerce pages)
   ========================================================================== */

body.hzs .hzs-wc-page {
	max-width: 68.75rem;
}

body.hzs .woocommerce table.shop_table,
body.hzs.woocommerce-page #main-content table.shop_table,
body.hzs .woocommerce-page table.shop_table {
	width: 100%;
	margin: 0 0 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--r-card-small);
	border-collapse: separate;
	background: transparent;
}

body.hzs .woocommerce table.shop_table th,
body.hzs.woocommerce-page #main-content table.shop_table th,
body.hzs .woocommerce table.shop_table td,
body.hzs.woocommerce-page #main-content table.shop_table td {
	padding: 1rem;
	border: 0;
	border-top: 1px solid var(--line-soft);
	background: transparent;
	color: var(--text-body);
}

body.hzs .woocommerce table.shop_table thead th,
body.hzs.woocommerce-page #main-content table.shop_table thead th {
	border-top: 0;
	font-family: var(--font-mono);
	font-size: var(--fs-note);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-dim);
}

body.hzs .woocommerce table.shop_table .amount,
body.hzs.woocommerce-page #main-content table.shop_table .amount,
body.hzs .woocommerce table.shop_table .product-name a,
body.hzs.woocommerce-page #main-content table.shop_table .product-name a {
	font-weight: 700;
	color: var(--text-strong);
}

body.hzs .woocommerce a.remove,
body.hzs.woocommerce-page #main-content a.remove {
	display: grid;
	place-items: center;
	width: var(--tap-min);
	height: var(--tap-min);
	border-radius: var(--r-button);
	font-size: 1.5rem;
	color: var(--text-body) !important;
}

body.hzs .woocommerce a.remove:hover,
body.hzs.woocommerce-page #main-content a.remove:hover {
	background: var(--surface-card);
	color: var(--text-strong) !important;
}

body.hzs .woocommerce .cart-collaterals .cart_totals,
body.hzs.woocommerce-page #main-content .cart-collaterals .cart_totals,
body.hzs .woocommerce-checkout #order_review,
body.hzs .woocommerce form.login,
body.hzs.woocommerce-page #main-content form.login,
body.hzs .woocommerce form.register,
body.hzs.woocommerce-page #main-content form.register,
body.hzs .woocommerce form.checkout_coupon,
body.hzs.woocommerce-page #main-content form.checkout_coupon,
body.hzs .wc-block-components-sidebar {
	box-sizing: border-box;
	padding: 1.75rem;
	border: 1px solid var(--line);
	border-radius: var(--r-form);
	background: var(--surface-card);
}

body.hzs #main-content .woocommerce-checkout h3,
body.hzs #main-content .cart_totals h2,
body.hzs #main-content .woocommerce-MyAccount-content h2,
body.hzs #main-content .woocommerce-MyAccount-content h3,
body.hzs #main-content .woocommerce form h2,
body.hzs #main-content .woocommerce form h3,
body.hzs .wc-block-components-title,
body.hzs .wc-block-cart__totals-title,
body.hzs .wp-block-woocommerce-checkout h2 {
	padding-bottom: 0.75rem;
	font-family: var(--font-heading);
	font-size: var(--fs-h3);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: none;
	color: var(--text-strong);
}

body.hzs .woocommerce-checkout #payment,
body.hzs .woocommerce-checkout #payment div.payment_box {
	border-radius: var(--r-button);
	background: var(--surface-b);
	color: var(--text-body);
}

body.hzs .woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--surface-b);
}

body.hzs .woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid var(--line);
}

/* Empty cart: the "New in store" list. WooCommerce draws it with light
   default styles; match it to the shop cards. */
body.hzs .wp-block-woocommerce-empty-cart-block h2 {
	font-family: var(--font-heading);
	font-size: var(--fs-h3-large);
	letter-spacing: var(--tracking-heading);
	color: var(--text-strong);
}

body.hzs .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

body.hzs .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0 0 1.375rem;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-card-small);
	background: var(--surface-card);
	text-align: left;
}

body.hzs .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
	margin: 0 0 1.125rem;
}

body.hzs .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
	display: block;
	width: 100%;
}

body.hzs .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
	text-decoration: none;
}

body.hzs .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
	margin: 0;
	padding: 0 1.25rem;
	font-family: var(--font-heading);
	font-size: var(--fs-h3);
	font-weight: 700;
	line-height: 1.25;
	color: var(--text-strong);
}

body.hzs .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
	margin: 0.5rem 0 0;
	padding: 0 1.25rem;
	font-family: var(--font-mono);
	font-size: var(--fs-small);
	color: var(--accent-primary);
}

body.hzs .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
	margin: 1rem 0 0;
	padding: 0 1.25rem;
}

body.hzs #main-content .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--tap-min);
	padding: 0.8125rem 1.375rem;
	border: 0;
	border-radius: var(--r-button);
	background: var(--button-primary-bg);
	font-family: var(--font-body);
	font-size: var(--fs-button);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	color: var(--button-primary-text);
	transition: background-color var(--d-color);
}

body.hzs #main-content .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a.wp-block-button__link:hover {
	background: var(--button-primary-bg-hover);
	color: var(--button-primary-text);
}

/* New WooCommerce cart and checkout (blocks) */
body.hzs .wc-block-cart,
body.hzs .wc-block-checkout {
	color: var(--text-body);
}

body.hzs .wc-block-cart table.wc-block-cart-items,
body.hzs .wc-block-cart table.wc-block-cart-items th,
body.hzs .wc-block-cart table.wc-block-cart-items td,
body.hzs .wc-block-components-totals-wrapper,
body.hzs .wc-block-components-panel,
body.hzs .wc-block-components-order-summary-item,
body.hzs .wc-block-components-totals-item,
body.hzs .wc-block-checkout__actions,
body.hzs .wc-block-components-address-card,
body.hzs .wc-block-components-radio-control-accordion-option,
body.hzs .wc-block-components-radio-control__option {
	border-color: var(--line) !important;
	background: transparent;
	color: var(--text-body);
}

body.hzs .wc-block-components-radio-control--highlight-checked::after,
body.hzs .wc-block-components-radio-control-accordion-option::after,
body.hzs .wc-block-components-radio-control .wc-block-components-radio-control__option-checked::after {
	border-color: var(--line) !important;
}

body.hzs .wc-block-cart-items__header th,
body.hzs .wc-block-components-totals-item__label,
body.hzs .wc-block-components-product-metadata,
body.hzs .wc-block-components-product-details,
body.hzs .wc-block-components-checkout-step__description,
body.hzs .wc-block-components-order-summary-item__individual-prices {
	color: var(--text-body);
}

body.hzs .wc-block-components-product-name,
body.hzs .wc-block-components-totals-item__value,
body.hzs .wc-block-components-product-price,
body.hzs .wc-block-components-formatted-money-amount,
body.hzs .wc-block-components-checkout-step__title,
body.hzs .wc-block-components-order-summary__button-text {
	color: var(--text-strong);
}

body.hzs .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--font-heading);
	font-size: 1.5rem;
}

body.hzs .wc-block-components-quantity-selector {
	padding: 0;
}

body.hzs .wc-block-components-quantity-selector::after {
	border-color: var(--border-control);
}

body.hzs .wc-block-components-quantity-selector input,
body.hzs .wc-block-components-quantity-selector button {
	min-height: var(--tap-min);
	background: transparent;
	color: var(--text-strong);
}

body.hzs .wc-block-components-quantity-selector button {
	min-width: var(--tap-min);
	opacity: 1;
}

body.hzs .wc-block-cart-item__remove-link,
body.hzs .wc-block-components-button.is-link,
body.hzs .wc-block-components-panel__button {
	min-height: var(--tap-min);
	color: var(--accent-primary) !important;
}

body.hzs .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
body.hzs .wc-block-components-radio-control__input {
	min-width: 1.5rem;
	min-height: 1.5rem;
	border-color: var(--border-control);
	background: var(--surface-field);
}

body.hzs .wc-block-components-validation-error,
body.hzs .wc-block-components-text-input.has-error label {
	color: var(--hzs-gold-light) !important;
}

body.hzs .wc-block-components-text-input.has-error input {
	border-color: var(--hzs-gold-light) !important;
}

body.hzs .wc-block-components-skeleton__element,
body.hzs .wc-block-components-loading-mask {
	opacity: 0.4;
}

/* My account */
body.hzs .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

body.hzs .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	min-height: 3rem;
	border-bottom: 1px solid var(--line-soft);
	font-weight: 600;
	text-decoration: none;
	color: var(--text-body);
}

/* The place you are in: white words and a green line at the left. The long name outweighs the shop's link color. */
body.hzs #main-content .woocommerce .woocommerce-MyAccount-navigation li.is-active a {
	padding-left: 0.75rem;
	box-shadow: inset 2px 0 0 var(--hzs-green-light);
	color: var(--text-strong);
}

/* The name of the account page you are on, above its content (inc/shop.php). */
body.hzs #main-content .woocommerce .hzs-account-place {
	margin-top: 0;
	padding-bottom: 1rem;
	font-size: var(--fs-h3-large);
}

/* Under 1024 px the account menu is a wrapping row of pills on top, not a
   list six rows tall: on a phone the list pushed the account itself to the
   second screen. The shop floats the menu to the left from 769 px, so both
   parts are set to full width here. */
@media (max-width: 1023px) {
	body.hzs.woocommerce-account .woocommerce-MyAccount-navigation,
	body.hzs.woocommerce-account .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
	}

	body.hzs .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: var(--sp-2);
		padding-bottom: var(--sp-5);
		border-top: 0;
	}

	body.hzs .woocommerce-MyAccount-navigation li a {
		min-height: var(--tap-min);
		padding: 0 var(--sp-3);
		border: 1px solid var(--border-control);
		border-radius: var(--r-button);
		font-size: var(--fs-small);
	}

	body.hzs #main-content .woocommerce .woocommerce-MyAccount-navigation li.is-active a {
		padding-left: var(--sp-3);
		border-color: var(--hzs-green-light);
		box-shadow: none;
		background: var(--surface-card);
	}
}

@media (max-width: 1023px) {
	body.hzs .woocommerce ul.products,
	body.hzs.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hzs-product__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.et_pb_section.hzs-product {
		padding-top: 2.5rem;
	}
}

@media (max-width: 640px) {
	body.hzs .woocommerce ul.products,
	body.hzs.woocommerce ul.products {
		grid-template-columns: minmax(0, 1fr);
	}

	body.hzs .woocommerce ul.products li.product,
	body.hzs.woocommerce ul.products li.product {
		width: auto !important;
		margin: 0 !important;
	}

	body.hzs .hzs-wc-cart button.single_add_to_cart_button {
		max-width: none;
	}
}

/* Size and color pickers on a product */
body.hzs #main-content .hzs-wc-cart table.variations td select,
body.hzs #main-content .et_pb_wc_add_to_cart form.cart .variations td select {
	width: 100%;
	min-height: var(--tap-min);
	padding: 0.75rem 2.25rem 0.75rem 0.9375rem;
	border: 1px solid var(--border-control) !important;
	border-radius: var(--r-button);
	background-color: var(--surface-field) !important;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--text-strong) !important;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7B5FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.75rem center !important;
	background-size: 1rem !important;
}

body.hzs #main-content .et_pb_wc_add_to_cart form.cart .variations td.value span::after {
	display: none;
}

body.hzs #main-content .hzs-wc-cart .quantity input.qty {
	border: 1px solid var(--border-control) !important;
	border-radius: var(--r-button) !important;
	background-color: var(--surface-field) !important;
	color: var(--text-strong) !important;
}

body.hzs .wc-block-components-order-summary-item .wc-block-components-product-name,
body.hzs .wc-block-cart-items .wc-block-components-product-name {
	padding: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--text-strong);
}

body.hzs .wc-block-components-order-summary-item__quantity {
	border-color: var(--line);
	background: var(--surface-b);
	color: var(--text-strong);
}

body.hzs .wc-block-components-notice-banner > svg {
	flex: none;
}

/* Tap sizes for shop controls */
body.hzs #main-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	width: var(--tap-min) !important;
	height: var(--tap-min) !important;
}

body.hzs .wc-block-cart-items .wc-block-components-product-name {
	display: inline-flex;
	align-items: center;
	min-width: var(--tap-min);
	min-height: var(--tap-min);
}

/* In the cart the shop sets the name to 13px. Small text on this site is 15px. */
body.hzs #main-content .wc-block-cart-items .wc-block-components-product-name {
	font-size: var(--fs-small);
}

body.hzs .wc-block-cart-item__remove-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--tap-min);
}

/* The checkout's tick box is the site's square box: 20px, a 2px corner, green with a dark tick when ticked. */
body.hzs .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	width: 1.25rem;
	min-width: 1.25rem;
	height: 1.25rem;
	min-height: 1.25rem;
	border-radius: var(--r-tag);
}

body.hzs .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	border-color: var(--accent-grow);
	background: var(--accent-grow);
}

body.hzs .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	width: 1rem;
	height: 1rem;
	margin: 0.125rem 0 0 0.125rem;
	fill: var(--button-primary-text);
}

body.hzs .woocommerce-MyAccount-content p a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

body.hzs #main-content .wc-block-components-button:not(.is-link),
body.hzs #main-content a.wc-block-cart__submit-button,
body.hzs #main-content a.wc-block-components-button:not(.is-link):hover {
	color: var(--button-primary-text) !important;
	text-decoration: none;
}

body.hzs #main-content .hzs-wc-tabs ul.et_pb_tabs_controls li.et_pb_tab_active a,
body.hzs #main-content .hzs-wc-tabs ul.tabs li.active a {
	color: var(--text-strong) !important;
}

body.hzs #main-content .hzs-wc-tabs ul.et_pb_tabs_controls li a,
body.hzs #main-content .hzs-wc-tabs ul.tabs li a {
	color: var(--text-body) !important;
}

@media (max-width: 1023px) {
	body.hzs #main-content .hzs-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body.hzs #main-content .hzs-products ul.products {
		grid-template-columns: minmax(0, 1fr);
	}

	body.hzs #main-content .hzs-products ul.products li.product {
		width: auto !important;
		margin: 0 !important;
	}
}

/* Contrast fixes found by the accessibility check */
body.hzs #main-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	background: var(--surface-b) !important;
	border: 1px solid var(--border-ghost);
}

body.hzs #main-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
	border-color: var(--text-strong);
}

body.hzs #main-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after {
	background: var(--text-strong);
}

body.hzs .wc-blocks-components-select .wc-blocks-components-select__container {
	border-radius: var(--r-button);
	background: var(--surface-field);
}

/* The star on a field that must be filled in. The shop's own dark red
   can not be read on a dark panel. */
body.hzs .woocommerce form .form-row .required,
body.hzs .woocommerce form .required,
body.hzs .woocommerce-account .required {
	color: var(--hzs-gold-light, #F5C542);
}

/* Fixes from the shop audit, 2026-09-29.
   The general "#main-content input" field rule above is stronger than the
   block cart and checkout rules, so these repeat #main-content. */

/* Checkout: the small label sits above the value, not on top of it. */
body.hzs #main-content .wc-block-checkout .wc-block-components-text-input input,
body.hzs #main-content .wc-block-cart .wc-block-components-text-input input,
body.hzs #main-content .wc-blocks-components-select .wc-blocks-components-select__select {
	padding-top: 1.375rem;
	padding-bottom: 0.375rem;
}

/* The label starts where the typed words start (field padding plus border). */
body.hzs .wc-block-components-text-input label,
body.hzs .wc-blocks-components-select .wc-blocks-components-select__label {
	left: calc(0.9375rem + 1px);
}

/* Cart: minus, number, plus in one box. */
body.hzs .wc-block-components-quantity-selector {
	width: calc(var(--tap-min) * 2 + 3rem);
}

body.hzs #main-content .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	flex: 1 1 auto;
	width: 3rem;
	min-width: 0;
	min-height: var(--tap-min);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
	font-weight: 700;
}

body.hzs .wc-block-components-quantity-selector button {
	flex: none;
}

/* Cart and checkout: "Add coupons" and its arrow on one line. */
body.hzs .wc-block-components-panel__button {
	display: flex;
	align-items: center;
	width: 100%;
}

/* Checkout: "+ Add apartment, suite, etc." and the cart picture link are
   44px to tap. */
body.hzs .wc-block-components-address-form__address_2-toggle {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
}

body.hzs .wc-block-cart-item__image a {
	display: block;
}

/* Checkout: one frame around the order summary, not two. */
body.hzs .wp-block-woocommerce-checkout-order-summary-block {
	border: 0;
}

/* The same summary on a phone is a box of the shop's own, with the shop's round corner. */
body.hzs .checkout-order-summary-block-fill {
	border-radius: var(--r-card);
}

/* Size and color: the hidden "Clear" link no longer leaves a gap. It sits
   beside the last label. */
body.hzs .hzs-wc-cart table.variations tr {
	position: relative;
}

body.hzs #main-content .hzs-wc-cart table.variations td.value {
	position: static;
}

body.hzs .hzs-wc-cart .reset_variations {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0 !important;
}

/* Tick boxes: the site's square box, drawn here (the same as the nickname's box), with a 44px row to tap. */
body.hzs .woocommerce input[type="checkbox"]:not(.wc-block-components-checkbox__input),
body.hzs #respond input[type="checkbox"] {
	display: inline-grid;
	flex: none;
	place-content: center;
	appearance: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	border: 1px solid var(--border-control);
	border-radius: var(--r-tag);
	background: var(--surface-field);
}

body.hzs .woocommerce input[type="checkbox"]:not(.wc-block-components-checkbox__input):checked,
body.hzs #respond input[type="checkbox"]:checked {
	border-color: var(--accent-grow);
	background: var(--accent-grow);
}

body.hzs .woocommerce input[type="checkbox"]:not(.wc-block-components-checkbox__input):checked::after,
body.hzs #respond input[type="checkbox"]:checked::after {
	content: "";
	width: 0.6875rem;
	height: 0.375rem;
	border: solid var(--button-primary-text);
	border-width: 0 0 2px 2px;
	transform: translateY(-1px) rotate(-45deg);
}

body.hzs .woocommerce form .woocommerce-form-login__rememberme,
body.hzs #respond .comment-form-cookies-consent,
body.hzs #respond .comment-form-cookies-consent label {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	min-height: var(--tap-min);
}

body.hzs #respond .comment-form-cookies-consent {
	display: flex;
}

/* Sign in: the button and "Remember me" on one line, button first. */
body.hzs .woocommerce form.login .form-row:has(.woocommerce-form-login__submit) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

body.hzs .woocommerce form.login .woocommerce-form-login__submit {
	order: -1;
	float: none;
	margin: 0;
}

/* Sign in: "Lost your password?" and the eye button are 44px to tap, and the
   eye can be seen on the dark field. */
body.hzs .woocommerce p.lost_password a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
}

body.hzs .woocommerce .password-input input {
	padding-right: 3.25rem;
}

body.hzs .woocommerce .show-password-input {
	right: 0.125rem;
	width: var(--tap-min);
	height: var(--tap-min);
	display: flex;
	align-items: center;
	justify-content: center;
}

body.hzs .woocommerce .show-password-input::before {
	filter: invert(1);
}

/* The return rule under Add to cart (inc/shop.php). */
body.hzs .hzs-return-line {
	max-width: 30rem;
	margin: 1rem 0 0;
	font-size: var(--fs-small);
	line-height: 1.5;
	color: var(--text-body);
}

body.hzs .hzs-return-line a {
	color: var(--accent-primary);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* ==========================================================================
   Fixes from the audit of the live site, 2026-10-04
   ========================================================================== */

/* Cart, checkout and account pages on the live site still hold wrappers
   from the old Divi 4 builder around the shop's own content: a section with
   a white fill, its own padding, and a row at 80% width. On My account that
   gave a white panel with a "Login" heading nobody could read. Inside the
   shop page part those wrappers are plain boxes: no fill, no padding, full
   width, no float. "!important" is needed for the fill: the old builder
   prints its own with it. */
body.hzs.woocommerce-account .et_d4_element.et_pb_section,
body.hzs .hzs-wc-page .et_d4_element.et_pb_section {
	padding: 0 !important;
	background: transparent !important;
}

body.hzs .hzs-wc-page .et_d4_element :is(.et_pb_row, .et_pb_column) {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Words in the account forms use the theme's colors on any wrapper. */
body.hzs.woocommerce-account #main-content .woocommerce :is(h1, h2, h3),
body.hzs.woocommerce-account #main-content .et_pb_text :is(h1, h2, h3) {
	color: var(--text-strong);
}

body.hzs.woocommerce-account #main-content .woocommerce :is(label, legend, p:not([class*="woocommerce-"])) {
	color: var(--text-body);
}

/* The old accent color can be saved in Divi's Theme Customizer. Divi then
   prints it with "!important" on this one button, so the green is set the
   same way. (Reviews are off, see inc/shop.php. This is for the day they
   come back.) */
body.hzs .woocommerce #respond input#submit,
body.hzs.woocommerce-page #main-content #respond input#submit {
	background: var(--button-primary-bg) !important;
	color: var(--button-primary-text);
}

/* Product page: Divi adds " / " after Category and after Tags. The two
   already sit apart in a row, so the slash is only a stray mark. Divi sets
   the mark with "!important", so the mark is hidden, not emptied. */
body.hzs .hzs-wc-meta .product_meta > span::after {
	display: none;
}

/* Product page: a band with nothing in it is not shown. "02 · More" lists
   other products; with one product in the shop there are none. "01 ·
   Details" holds the tabs; a product with no long text has none. Each band
   comes back by itself when it has something to show. */
body.hzs .et_pb_section.hzs-shop:has(.et_pb_wc_related_products):not(:has(li.product)),
body.hzs .et_pb_section.hzs-product-more:not(:has(.et_pb_tab, .woocommerce-Tabs-panel)) {
	display: none;
}

/* Shop page: the same for its list while the shop is not open (inc/shop.php,
   hzs_shop_is_open). The line under the headline says so. */
body.hzs .et_pb_section.hzs-shop:has(.et_pb_shop):not(:has(li.product)) {
	display: none;
}

/* Shop list: "Showing all 2 results" and the sort box say nothing useful
   on a short list. They show once a page lists six products, or when the
   list runs over more than one page. */
body.hzs .hzs-products:not(:has(li.product:nth-child(6))):not(:has(.woocommerce-pagination)) :is(.woocommerce-result-count, .woocommerce-ordering) {
	display: none;
}

/* Add to cart: Divi's hover icon is not used on any button of this site.
   On this one Divi turns it on with "!important" and an id, so the same
   weight is needed to take it off. With the icon gone, no page of the site
   fetches Divi's icon font (a fifth font). */
body.hzs #page-container #main-content .hzs-wc-cart button.single_add_to_cart_button::after {
	display: none !important;
}

/* The two buying buttons show the site's gold ring, not the shop's blue one (2.8 to 1 on a card). */
body.hzs #main-content .wc-block-components-button:not(.is-link):focus {
	box-shadow: none;
}

body.hzs #main-content .wc-block-components-button:not(.is-link):focus-visible {
	outline: 2px solid var(--focus-ring);
	outline-offset: 3px;
}

/* Cart on a small phone: the picture, then the words; the line total sits under the amount, at the left.
   The shop's own four columns pushed the total off the edge under 375 px. */
@media (max-width: 479px) {
	body.hzs .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row {
		grid-template-columns: 5rem minmax(0, 1fr);
	}

	body.hzs .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {
		grid-column: 2;
	}

	body.hzs .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
		grid-column: 2;
		grid-row: 2;
		justify-content: flex-start;
		padding-top: 0.5rem;
	}

	body.hzs .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper {
		align-items: flex-start;
	}

	/* At 320 px the amount box and "Remove item" do not fit on one line. */
	body.hzs .wc-block-cart-item__quantity {
		flex-wrap: wrap;
	}
}

/* Empty cart: no sad face above the words. */
body.hzs .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	display: none;
}

/* "Lost your password?": the shop's plain form, held to a reading width,
   its fields in line with its words. */
body.hzs .woocommerce form.lost_reset_password {
	max-width: 30rem;
}

body.hzs .woocommerce form.lost_reset_password p {
	margin-bottom: 0.75rem;
}

body.hzs .woocommerce form .form-row {
	padding-inline: 0;
}

/* Empty cart: set left like the rest of the site, with no row of dots. */
body.hzs .wp-block-woocommerce-empty-cart-block :is(h2, .wc-block-cart__empty-cart__title) {
	text-align: left;
}

/* Room between the empty cart line and the "New in store" list under it. */
body.hzs .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	margin-bottom: 2.25rem;
}

body.hzs .wp-block-woocommerce-empty-cart-block .is-style-dots {
	display: none;
}

/* Checkout: a tick box's row is 44px to tap. */
body.hzs .wc-block-components-checkbox label {
	align-items: center;
	min-height: var(--tap-min);
}

/* The stand-in picture of a product that has none: the shop's own pale edge
   is not in the color guide. */
body.hzs img.woocommerce-placeholder {
	border-color: var(--line);
}

/* Account details: the shop's own legend ("Password change") is a small heading, the same as the
   legend the Team plugin prints above it. */
body.hzs.woocommerce-account #main-content .woocommerce .woocommerce-EditAccountForm legend {
	padding: var(--sp-5) 0 var(--sp-2);
	font: 700 1.1875rem/1.3 var(--font-heading);
	color: var(--text-strong);
}

/* The Accounts plugin's own buttons (the sign-in panel, "Sign out everywhere", "Ask to delete my
   account") take the look of the site's outline button. The plugin reads these values; its edge is
   2px wide by itself, so the width and the size are set here too. */
body.hzs :is(.accounts-door, .accounts-ask) {
	--accounts-ink: var(--text-strong);
	--accounts-line: var(--border-ghost);
	--accounts-round: var(--r-button);
	--accounts-focus: var(--focus-ring);
	--accounts-bad: var(--accent-mark);
}

body.hzs :is(.accounts-door, .accounts-ask) .accounts-door__btn {
	border-width: 1px;
	font-size: var(--fs-button);
}


/* The shop while it is closed: one quiet next step under the line (inc/shop.php). */
body.hzs a.hzs-shop-next,
body.hzs.woocommerce-page #main-content a.hzs-link.hzs-shop-next:not(.button) {
	display: flex;
	color: var(--accent-grow);
	width: max-content;
	margin-top: 0.5rem;
}
