/* ==========================================================================
   Harry Motors — shop and content styles
   Loaded after theme.css (which holds the shared layout from the base theme).
   ========================================================================== */

.hm-ico-truck {
	--hm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M1.8 6.2h11.4v10.3H1.8zM13.2 9.3h4.3l3.2 3.6v3.6h-7.5'/%3E%3Ccircle cx='6' cy='17.6' r='1.9'/%3E%3Ccircle cx='17' cy='17.6' r='1.9'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Header: search, account, mini-cart
   -------------------------------------------------------------------------- */

.hm-shop-tools {
	gap: 0.35rem !important;
	align-items: center !important;
	padding-left: clamp(0.5rem, 1.5vw, 1.25rem);
	border-left: 1px solid var(--hm-line-soft);
}

.hm-shop-tools > * {
	margin: 0 !important;
}

.hm-shop-tools .wp-block-search__button,
.hm-shop-tools .wc-block-customer-account a,
.hm-shop-tools .wc-block-mini-cart__button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0 !important;
	margin: 0;
	background: transparent !important;
	border: 0;
	border-radius: 2px;
	color: #fff !important;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.hm-shop-tools .wp-block-search__button:hover,
.hm-shop-tools .wc-block-customer-account a:hover,
.hm-shop-tools .wc-block-mini-cart__button:hover {
	background: rgba(240, 164, 30, 0.14) !important;
	color: var(--wp--preset--color--amber-light) !important;
}

.hm-shop-tools svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.hm-search .wp-block-search__inside-wrapper {
	position: relative;
	padding: 0;
	background: none;
	border: 0;
}

.hm-search .wp-block-search__input {
	position: absolute;
	top: 50%;
	right: 48px;
	z-index: 5;
	width: min(320px, 70vw);
	height: 44px;
	padding: 0 1rem;
	background: #fff;
	border: 2px solid var(--wp--preset--color--amber);
	border-radius: 2px;
	color: var(--wp--preset--color--ink);
	font: inherit;
	transform: translateY(-50%);
	box-shadow: var(--hm-shadow);
}

.hm-search.wp-block-search__searchfield-hidden .wp-block-search__input {
	display: none;
}

.wc-block-mini-cart__badge {
	background: var(--wp--preset--color--amber) !important;
	border: 0 !important;
	color: var(--wp--preset--color--night) !important;
	font-weight: 700;
}

.wc-block-mini-cart__amount {
	display: none !important;
}

@media (max-width: 1079px) {
	.hm-shop-tools {
		order: -1;
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 420px) {
	.hm-mainbar__actions {
		gap: 0.25rem !important;
	}

	.hm-shop-tools .hm-account {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Page hero additions
   -------------------------------------------------------------------------- */

.hm-page-hero__lead,
.hm-page-hero .wp-block-term-description {
	max-width: 62ch;
	margin-top: 1rem !important;
	color: #d5d9de;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.hm-page-hero .wp-block-term-description p {
	margin: 0;
}

.hm-page-hero__meta {
	margin-top: 0.75rem !important;
	color: var(--wp--preset--color--amber-light);
	font-family: var(--wp--preset--font-family--heading);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hm-page-hero--slim {
	padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem) !important;
}

.hm-page-hero--slim .hm-page-hero__title {
	font-size: clamp(2rem, 4vw, 3rem) !important;
}

.hm-page-band {
	margin: 0 !important;
	padding-block: 1rem !important;
	background: var(--wp--preset--color--night);
	border-bottom: 3px solid var(--wp--preset--color--amber);
}

.hm-page-band .hm-breadcrumbs {
	margin: 0 !important;
}

.hm-section--shop,
.hm-section--product {
	padding-top: var(--wp--preset--spacing--50) !important;
}

/* --------------------------------------------------------------------------
   Sorting / results bar
   -------------------------------------------------------------------------- */

.hm-shop-bar {
	align-items: center !important;
	gap: 1rem !important;
	margin-bottom: 1.75rem !important;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--wp--preset--color--stone);
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--small);
}

.hm-shop-bar > *,
.hm-shop-bar p {
	margin: 0 !important;
}

.woocommerce-ordering {
	margin: 0 !important;
}

.woocommerce-ordering select {
	padding: 0.55rem 2.25rem 0.55rem 0.9rem;
	background-color: #fff;
	border: 1px solid #cfd1cc;
	border-radius: 2px;
	color: var(--wp--preset--color--ink);
	font: inherit;
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.hm-products .wc-block-product-template,
.hm-related__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: clamp(1rem, 2vw, 1.5rem) !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

@media (max-width: 1080px) {
	.hm-products .wc-block-product-template,
	.hm-related__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 800px) {
	.hm-products .wc-block-product-template,
	.hm-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 440px) {
	.hm-products .wc-block-product-template,
	.hm-related__grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

.hm-products .wc-block-product,
.hm-related__grid > li {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 0 1.25rem !important;
	background: #fff;
	border: 1px solid var(--wp--preset--color--stone);
	text-align: left;
	transition: transform 0.35s var(--hm-ease), box-shadow 0.35s var(--hm-ease), border-color 0.35s;
}

.hm-products .wc-block-product:hover,
.hm-related__grid > li:hover {
	transform: translateY(-4px);
	border-color: var(--wp--preset--color--amber);
	box-shadow: var(--hm-shadow);
}

.hm-products .wc-block-product > *,
.hm-related__grid > li > * {
	margin-inline: 1.1rem !important;
}

.hm-products .wc-block-product > .wc-block-components-product-image,
.hm-related__grid > li > .wc-block-components-product-image {
	margin: 0 0 1rem !important;
	overflow: hidden;
	background: var(--wp--preset--color--paper);
}

.hm-products .wc-block-components-product-image img,
.hm-related__grid .wc-block-components-product-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.8s var(--hm-ease);
}

.hm-products .wc-block-product:hover .wc-block-components-product-image img,
.hm-related__grid > li:hover .wc-block-components-product-image img {
	transform: scale(1.05);
}

.hm-product-cat {
	margin-bottom: 0.35rem !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber-deep);
}

.hm-product-cat a {
	color: inherit;
	text-decoration: none;
}

/* Cards name only the first category. */
.hm-product-cat .wp-block-post-terms__separator,
.hm-product-cat .wp-block-post-terms__separator ~ a {
	display: none;
}

.hm-product-title {
	margin-top: 0 !important;
	margin-bottom: 0.5rem !important;
	font-size: 1.375rem !important;
	line-height: 1.15 !important;
	text-align: left !important;
}

.hm-product-title a {
	color: var(--wp--preset--color--night);
	text-decoration: none;
}

.hm-product-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hm-product-price,
.hm-products .wc-block-components-product-price {
	margin-bottom: 1rem !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.375rem !important;
	font-weight: 700;
	color: var(--wp--preset--color--night);
	text-align: left !important;
}

.hm-product-button {
	position: relative;
	z-index: 2;
	margin-top: auto !important;
}

.hm-product-button .wp-block-button__link,
.hm-product-button .wc-block-components-product-button__button {
	width: 100%;
	justify-content: center;
	padding: 0.75rem 1rem !important;
	font-size: 0.9375rem !important;
}

.hm-product-button .added_to_cart {
	display: block;
	margin-top: 0.5rem;
	color: var(--wp--preset--color--amber-deep);
	font-weight: 600;
	text-align: center;
}

.wc-block-components-product-sale-badge,
.onsale {
	background: var(--wp--preset--color--amber) !important;
	border: 0 !important;
	border-radius: 2px !important;
	color: var(--wp--preset--color--night) !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* Pagination */
.wp-block-query-pagination {
	gap: 0.4rem;
	margin-top: var(--wp--preset--spacing--50) !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}

.wp-block-query-pagination-numbers {
	display: flex;
	gap: 0.4rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--wp--preset--color--stone);
	color: var(--wp--preset--color--night);
	text-decoration: none;
}

.wp-block-query-pagination .page-numbers.current,
.wp-block-query-pagination a:hover {
	background: var(--wp--preset--color--night);
	border-color: var(--wp--preset--color--night);
	color: #fff;
}

/* Long category description under the grid */
.hm-term-content {
	max-width: 860px;
	margin: var(--wp--preset--spacing--60) auto 0 !important;
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--wp--preset--color--stone);
}

.hm-term-content h2 {
	font-size: var(--wp--preset--font-size--x-large);
}

.hm-term-content h3 {
	font-size: var(--wp--preset--font-size--large);
}

/* --------------------------------------------------------------------------
   Single product
   -------------------------------------------------------------------------- */

.hm-product.wp-block-columns {
	gap: clamp(2rem, 5vw, 4rem);
	margin-bottom: var(--wp--preset--spacing--50) !important;
}

.hm-product .woocommerce-product-gallery {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

.hm-product .woocommerce-product-gallery__image img {
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--stone);
}

.hm-product .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0.5rem 0 0 !important;
	padding: 0 !important;
}

.hm-product .flex-control-thumbs li {
	width: auto !important;
	float: none !important;
}

.hm-product .flex-control-thumbs img {
	border: 1px solid var(--wp--preset--color--stone);
	opacity: 0.65;
	cursor: pointer;
}

.hm-product .flex-control-thumbs img.flex-active,
.hm-product .flex-control-thumbs img:hover {
	border-color: var(--wp--preset--color--amber);
	opacity: 1;
}

.hm-product__info > * {
	margin-block: 0 !important;
}

.hm-product__info > * + * {
	margin-top: 1.1rem !important;
}

.hm-product__cats a {
	color: inherit;
	text-decoration: none;
}

.hm-product__cats::before {
	align-self: center;
}

.hm-product__cats .wp-block-post-terms__separator {
	color: var(--wp--preset--color--amber);
}

.hm-product__title {
	font-size: clamp(2.25rem, 4vw, 3.25rem) !important;
	line-height: 1.02 !important;
}

.hm-product__price,
.hm-product__price .woocommerce-Price-amount {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.25rem !important;
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--night);
}

.hm-product__price small,
.woocommerce-price-suffix {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9375rem;
	font-weight: 400;
	color: var(--wp--preset--color--slate);
}

.hm-product__summary {
	color: var(--wp--preset--color--slate);
	font-size: 1.0625rem;
}

.hm-product__cart form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: stretch;
	margin: 0;
	padding: 1.25rem;
	background: var(--wp--preset--color--paper);
	border-top: 3px solid var(--wp--preset--color--amber);
}

.hm-product__cart .stock {
	width: 100%;
	margin: 0;
	font-weight: 600;
	color: #1d7a3e;
}

.hm-product__cart .quantity .qty {
	width: 5rem;
	height: 100%;
	min-height: 52px;
	padding: 0 0.5rem;
	background: #fff;
	border: 1px solid #cfd1cc;
	border-radius: 2px;
	font: inherit;
	font-weight: 600;
	text-align: center;
}

.hm-product__cart .single_add_to_cart_button {
	flex: 1;
	min-height: 52px;
	padding: 0.8rem 1.75rem;
	background: var(--wp--preset--color--amber) !important;
	border: 0;
	border-radius: 2px;
	color: var(--wp--preset--color--night) !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s;
}

.hm-product__cart .single_add_to_cart_button:hover {
	background: var(--wp--preset--color--amber-light) !important;
}

.hm-product__assurances {
	margin: 0;
	padding: 0 !important;
	list-style: none;
	font-size: 0.975rem;
}

.hm-product__assurances li {
	position: relative;
	padding: 0.3rem 0 0.3rem 1.75rem;
}

.hm-product__assurances li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62rem;
	width: 1.05rem;
	height: 1.05rem;
	background: var(--wp--preset--color--amber-deep);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hm-product__meta {
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--stone);
	color: var(--wp--preset--color--slate);
	font-size: 0.9375rem;
}

.hm-product__meta .wp-block-group {
	flex-wrap: wrap !important;
	gap: 0.35rem 1.5rem !important;
}

.hm-product__meta .wp-block-group > * {
	margin: 0 !important;
}

/* Tabs */
.hm-product-details {
	margin-top: var(--wp--preset--spacing--40) !important;
}

.hm-product-details .wc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: 2px solid var(--wp--preset--color--night);
	list-style: none;
}

.hm-product-details .wc-tabs::before,
.hm-product-details .wc-tabs::after,
.hm-product-details .wc-tabs li::before,
.hm-product-details .wc-tabs li::after {
	display: none !important;
}

.hm-product-details .wc-tabs li {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
}

.hm-product-details .wc-tabs li a {
	display: block;
	padding: 0.8rem 1.4rem !important;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--night) !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.hm-product-details .wc-tabs li.active a {
	background: var(--wp--preset--color--night);
	color: #fff !important;
}

.hm-product-details .woocommerce-Tabs-panel {
	max-width: 900px;
	padding: var(--wp--preset--spacing--40) 0 0 !important;
}

.hm-product-details .woocommerce-Tabs-panel > h2:first-child {
	display: none;
}

.hm-product-details .woocommerce-Tabs-panel > * + * {
	margin-top: 1.1rem;
}

.hm-product-details .woocommerce-Tabs-panel h2 {
	margin-top: 2rem;
	font-size: var(--wp--preset--font-size--x-large);
}

.hm-product-details .woocommerce-Tabs-panel h3 {
	margin-top: 1.75rem;
	font-size: var(--wp--preset--font-size--large);
}

.hm-product-details table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.hm-product-details table th,
.hm-product-details table td {
	padding: 0.7rem 1rem !important;
	border: 0 !important;
	border-bottom: 1px solid var(--wp--preset--color--stone) !important;
	font-style: normal !important;
	text-align: left;
}

.hm-product-details table th {
	width: 34%;
	color: var(--wp--preset--color--night);
	font-weight: 600;
}

.hm-product-details table tr:nth-child(even) td,
.hm-product-details table tr:nth-child(even) th {
	background: var(--wp--preset--color--paper) !important;
}

.hm-product-details table p {
	margin: 0;
}

/* Related products */
.hm-related {
	margin-top: var(--wp--preset--spacing--60) !important;
}

.hm-related .hm-rule {
	margin-bottom: var(--wp--preset--spacing--40) !important;
	font-size: var(--wp--preset--font-size--xx-large);
}

/* Reviews */
#reviews h2,
#reviews .comment-reply-title {
	font-size: var(--wp--preset--font-size--large);
}

#reviews input[type="text"],
#reviews input[type="email"],
#reviews textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid #cfd1cc;
	border-radius: 2px;
	font: inherit;
}

#reviews .submit {
	padding: 0.8rem 1.75rem;
	background: var(--wp--preset--color--amber);
	border: 0;
	border-radius: 2px;
	color: var(--wp--preset--color--night);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
}

.star-rating span::before,
.wc-block-components-product-rating__stars span::before {
	color: var(--wp--preset--color--amber);
}

/* --------------------------------------------------------------------------
   Cart, checkout, account
   -------------------------------------------------------------------------- */

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.woocommerce-button,
.woocommerce .button {
	background: var(--wp--preset--color--amber) !important;
	border: 0 !important;
	border-radius: 2px !important;
	color: var(--wp--preset--color--night) !important;
	font-family: var(--wp--preset--font-family--heading) !important;
	font-weight: 700 !important;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	transition: background 0.2s;
}

.wc-block-components-button:not(.is-link):hover,
.woocommerce-button:hover,
.woocommerce .button:hover {
	background: var(--wp--preset--color--amber-light) !important;
}

.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	background: var(--wp--preset--color--paper);
}

.wc-block-components-title,
.wc-block-cart__totals-title,
.wc-block-components-checkout-step__title {
	color: var(--wp--preset--color--night);
	font-family: var(--wp--preset--font-family--heading) !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
}

.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__select {
	border-radius: 2px !important;
}

.wc-block-components-text-input input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--wp--preset--color--amber) !important;
	box-shadow: 0 0 0 1px var(--wp--preset--color--amber) !important;
}

.wc-block-components-product-name {
	color: var(--wp--preset--color--night) !important;
	font-weight: 600;
}

.wc-block-components-notice-banner.is-info,
.woocommerce-info,
.woocommerce-message {
	border-color: var(--wp--preset--color--amber) !important;
}

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
}

.woocommerce-account:not(.logged-in) .woocommerce {
	display: block;
}

.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0 !important;
	list-style: none;
	background: var(--wp--preset--color--paper);
	border-top: 3px solid var(--wp--preset--color--amber);
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.75rem 1.1rem;
	border-bottom: 1px solid var(--wp--preset--color--stone);
	color: var(--wp--preset--color--night);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
	background: var(--wp--preset--color--night);
	color: #fff;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
	padding: 0.75rem 1rem;
	border: 1px solid #cfd1cc;
	border-radius: 2px;
	font: inherit;
}

@media (max-width: 781px) {
	.woocommerce-account .woocommerce {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --------------------------------------------------------------------------
   Home: category tiles, brand strip, steps
   -------------------------------------------------------------------------- */

.hm-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 360px;
	margin: 0 !important;
	padding: 1.75rem !important;
	overflow: hidden;
	isolation: isolate;
	background: var(--wp--preset--color--night);
	color: #fff;
}

.hm-cat > .wp-block-image {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0 !important;
}

.hm-cat > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--hm-ease);
}

.hm-cat::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(11, 14, 18, 0.05) 20%, rgba(11, 14, 18, 0.9) 100%);
}

.hm-cat::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--wp--preset--color--amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--hm-ease);
}

.hm-cat:hover > .wp-block-image img,
.hm-cat:focus-within > .wp-block-image img {
	transform: scale(1.06);
}

.hm-cat:hover::after,
.hm-cat:focus-within::after {
	transform: scaleX(1);
}

.hm-cat > :not(.wp-block-image) {
	margin: 0 !important;
}

.hm-cat > * + * {
	margin-top: 0.4rem !important;
}

.hm-cat__count {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber-light);
}

.hm-cat h3 {
	color: #fff;
	font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}

.hm-cat h3 a {
	color: inherit;
	text-decoration: none;
}

.hm-cat h3 a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
}

.hm-cat p:not(.hm-cat__count) {
	max-width: 36ch;
	color: #d5d9de;
	font-size: 1rem;
	line-height: 1.5;
}

.hm-cat--wide {
	grid-column: span 2;
}

@media (max-width: 900px) {
	.hm-cat--wide {
		grid-column: auto;
	}
}

.hm-brands {
	margin-block: 0 !important;
	padding-block: 1.75rem !important;
	background: var(--wp--preset--color--paper);
	border-bottom: 1px solid var(--wp--preset--color--stone);
}

.hm-brands__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem clamp(1.5rem, 5vw, 4rem);
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.hm-brands__list li {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.25rem, 2.2vw, 1.625rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6f757c;
}

.hm-step {
	padding: 1.75rem !important;
	background: #fff;
	border: 1px solid var(--wp--preset--color--stone);
	border-top: 3px solid var(--wp--preset--color--amber);
}

.hm-step > * {
	margin-block: 0 !important;
}

.hm-step > * + * {
	margin-top: 0.6rem !important;
}

.hm-step h3 {
	font-size: 1.5rem;
}

.hm-step p {
	color: var(--wp--preset--color--slate);
	font-size: 1rem;
	line-height: 1.6;
}

/* Home product rows (product collection on the front page) */
.hm-home-products .wc-block-product-template {
	margin-top: 0 !important;
}

/* --------------------------------------------------------------------------
   FAQ, articles, misc
   -------------------------------------------------------------------------- */

.hm-faq {
	border-top: 1px solid var(--wp--preset--color--stone);
}

.hm-faq .wp-block-details {
	margin: 0 !important;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--stone);
}

.hm-faq summary {
	position: relative;
	padding-right: 2.5rem;
	color: var(--wp--preset--color--night);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.3125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	list-style: none;
	cursor: pointer;
}

.hm-faq summary::-webkit-details-marker {
	display: none;
}

.hm-faq summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 0.25rem;
	color: var(--wp--preset--color--amber-deep);
	font-size: 1.75rem;
	line-height: 1;
	transform: translateY(-50%);
	transition: transform 0.25s;
}

.hm-faq details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.hm-faq .wp-block-details > :not(summary) {
	margin-top: 0.75rem;
	color: var(--wp--preset--color--slate);
}

.hm-article {
	font-size: 1.125rem;
}

.hm-article > * {
	margin-block: 0 !important;
}

.hm-article > * + * {
	margin-top: 1.2rem !important;
}

.hm-article > h2 {
	margin-top: 2.5rem !important;
	font-size: var(--wp--preset--font-size--x-large);
}

.hm-article > h3 {
	margin-top: 2rem !important;
	font-size: var(--wp--preset--font-size--large);
}

.hm-card__meta {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber-deep);
}

.hm-posts {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.hm-posts .hm-card h2 {
	font-size: 1.625rem;
}

.hm-posts .hm-card h2 a {
	color: var(--wp--preset--color--night);
	text-decoration: none;
}

.hm-more-link {
	margin-top: auto !important;
	color: var(--wp--preset--color--amber-deep);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.hm-more-link::after {
	content: " →";
}

.hm-search-wide {
	max-width: 620px;
}

.hm-search-wide .wp-block-search__input {
	padding: 0.8rem 1rem;
	border: 1px solid #cfd1cc;
	border-radius: 2px;
	font: inherit;
}

.hm-search-wide .wp-block-search__button {
	margin-left: 0.5rem;
	padding: 0.8rem 1.5rem;
	background: var(--wp--preset--color--night);
	border: 0;
	border-radius: 2px;
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.hm-slide.wp-block-cover {
	padding-inline: clamp(1rem, 4vw, 2rem) !important;
}

.hm-cta__inner {
	flex-wrap: wrap !important;
	justify-content: space-between !important;
}

.hm-center-buttons {
	justify-content: center;
	margin-top: var(--wp--preset--spacing--40) !important;
}

.wpcf7 select {
	width: 100%;
	padding: 0.8rem 1rem;
	background: #fff;
	border: 1px solid #cfd1cc;
	border-radius: 2px;
	color: var(--wp--preset--color--ink);
	font: inherit;
}

.wpcf7 select:focus {
	outline: none;
	border-color: var(--wp--preset--color--amber);
	box-shadow: 0 0 0 3px rgba(240, 164, 30, 0.25);
}

.hm-field--consent {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--slate);
}

.hm-field--consent input {
	margin-right: 0.4rem;
	accent-color: var(--wp--preset--color--amber-deep);
}

.hm-footer__legal a + a {
	margin-left: 1.25rem;
}

.hm-footer .hm-logo__name {
	font-size: 1.625rem;
}
