/*
 * Hemp Trading Post Classic: version 2 design.
 *
 * Used on every version 2 page (see inc/v2.php). It replaces the copied OneSocial stylesheets
 * on those pages and sits on top of WooCommerce's own stylesheet. Ordinary pages, the blog,
 * search results, the account, the cart and the checkout add assets/css/v2-pages.css.
 *
 * Fixed from the existing identity: the logo, sage rgb(155,193,158) and deep green
 * rgb(19,122,53). Added: a dark green-black "ink" for text, a warm off-white for quiet
 * bands, a pale sage tint and a light line colour. Headings use Doppio One (the typeface
 * of the logo's wordmark, already part of the theme); text uses the device's own sans-serif.
 *
 * Contents: 1 base  2 buttons and links  3 header  4 footer  5 home  6 product cards
 *           7 shop and category pages  8 product page  9 store page  10 forms and notices
 */

/* 1. Base ------------------------------------------------------------------------------- */

.htp-v2 {
	--htp-sage: #9bc19e;
	--htp-green: #137a35;
	--htp-green-dark: #0e5c28;
	--htp-ink: #1d2a21;
	--htp-text: #2c332e;
	--htp-muted: #566159;
	--htp-line: #dbe4dc;
	--htp-cream: #f6f3ec;
	--htp-tint: #edf4ee;
	--htp-radius: 8px;
	--htp-gutter: 24px;
	--htp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--htp-display: "Doppio One", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
	background: #fff;
	color: var(--htp-text);
	font-family: var(--htp-font);
	font-size: 17px;
	line-height: 1.6;
	margin: 0;
	-webkit-text-size-adjust: 100%;
}

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

.htp-v2 img {
	height: auto;
	max-width: 100%;
}

.htp-v2 h1,
.htp-v2 h2,
.htp-v2 h3,
.htp-v2 h4 {
	color: var(--htp-ink);
	font-family: var(--htp-display);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 0.6em;
}

.htp-v2 h1 {
	font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
}

.htp-v2 h2 {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
}

.htp-v2 h3 {
	font-size: 1.25rem;
}

.htp-v2 p {
	margin: 0 0 1em;
}

.htp-v2 a {
	color: var(--htp-green);
	text-underline-offset: 3px;
}

.htp-v2 a:hover {
	color: var(--htp-green-dark);
}

.htp-v2 :focus-visible {
	outline: 3px solid var(--htp-ink);
	outline-offset: 2px;
}

.htp-v2 .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.htp-container {
	margin: 0 auto;
	max-width: 1288px;
	padding: 0 var(--htp-gutter);
	width: 100%;
}

.htp-skip {
	background: #fff;
	color: var(--htp-ink);
	left: 8px;
	padding: 12px 16px;
	position: absolute;
	top: -80px;
	z-index: 100;
}

.htp-skip:focus {
	top: 8px;
}

.htp-icon {
	flex: none;
	height: 1.25em;
	vertical-align: -0.25em;
	width: 1.25em;
}

.htp-main {
	display: block;
	min-height: 50vh;
}

/* 2. Buttons and links ------------------------------------------------------------------- */

.htp-button,
.htp-v2 .woocommerce a.button,
.htp-v2 .woocommerce button.button,
.htp-v2 .woocommerce input.button,
.htp-v2.woocommerce a.button,
.htp-v2.woocommerce button.button,
.htp-v2.woocommerce input.button,
.htp-v2 .woocommerce #respond input#submit,
.htp-v2 a.button,
.htp-v2 button.button,
.htp-v2 input[type="submit"] {
	align-items: center;
	background: var(--htp-green);
	border: 2px solid var(--htp-green);
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--htp-font);
	font-size: 1rem;
	font-weight: 600;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 10px 22px;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.htp-button:hover,
.htp-v2 .woocommerce a.button:hover,
.htp-v2 .woocommerce button.button:hover,
.htp-v2 .woocommerce input.button:hover,
.htp-v2.woocommerce a.button:hover,
.htp-v2.woocommerce button.button:hover,
.htp-v2.woocommerce input.button:hover,
.htp-v2 a.button:hover,
.htp-v2 button.button:hover,
.htp-v2 input[type="submit"]:hover {
	background: var(--htp-green-dark);
	border-color: var(--htp-green-dark);
	color: #fff;
}

.htp-v2 .woocommerce button.button.alt,
.htp-v2.woocommerce button.button.alt,
.htp-v2.woocommerce button.button.alt.disabled,
.htp-v2.woocommerce button.button.alt:disabled {
	background: var(--htp-green) !important;
	color: #fff !important;
}

.htp-button--light {
	background: #fff;
	border-color: #fff;
	color: var(--htp-ink);
}

.htp-button--light:hover {
	background: var(--htp-tint);
	border-color: var(--htp-tint);
	color: var(--htp-ink);
}

.htp-button--ghost {
	background: transparent;
	color: var(--htp-green);
}

.htp-link {
	align-items: center;
	color: var(--htp-green);
	display: inline-flex;
	font-weight: 600;
	gap: 6px;
	min-height: 44px;
	text-decoration: none;
}

.htp-link:hover {
	text-decoration: underline;
}

.htp-kicker {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	margin: 0 0 0.7em;
	text-transform: uppercase;
}

/* 3. Header ------------------------------------------------------------------------------ */

.htp-topbar {
	background: var(--htp-green);
	color: #fff;
	font-size: 0.86rem;
}

.htp-topbar__row {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	min-height: 40px;
}

.htp-v2 .htp-topbar__text {
	margin: 0;
}

.htp-v2 .htp-topbar__link {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-weight: 600;
	gap: 6px;
	min-height: 40px;
	white-space: nowrap;
}

.htp-header {
	background: var(--htp-sage);
	border-bottom: 1px solid rgba(29, 42, 33, 0.12);
	position: sticky;
	top: 0;
	z-index: 50;
}

/* The people who run the site see the WordPress toolbar above the page; the page starts below it. */
.htp-v2.admin-bar {
	margin-top: 32px;
}

.admin-bar .htp-header {
	top: 32px;
}

@media screen and (max-width: 782px) {

	.htp-v2.admin-bar {
		margin-top: 46px;
	}

	.admin-bar .htp-header {
		top: 46px;
	}
}

/* On narrow phones the toolbar scrolls away with the page. */
@media screen and (max-width: 600px) {

	.admin-bar .htp-header {
		top: 0;
	}
}

.htp-header__row {
	align-items: center;
	display: flex;
	gap: 28px;
	min-height: 84px;
}

.htp-logo {
	display: block;
	flex: none;
	line-height: 0;
}

.htp-logo__img {
	display: block;
	height: 64px;
	width: auto;
}

.htp-header__toggle {
	display: none;
}

.htp-nav__list {
	align-items: center;
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.htp-nav__item {
	position: relative;
}

.htp-v2 .htp-nav__item > a,
.htp-nav__button {
	align-items: center;
	background: none;
	border: 0;
	border-radius: 6px;
	color: var(--htp-ink);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--htp-font);
	font-size: 0.86rem;
	font-weight: 700;
	gap: 4px;
	letter-spacing: 0.06em;
	min-height: 44px;
	padding: 0 12px;
	text-decoration: none;
	text-transform: uppercase;
}

.htp-v2 .htp-nav__item > a:hover,
.htp-nav__button:hover,
.htp-nav__button[aria-expanded="true"],
.htp-v2 .htp-nav__item > a[aria-current="page"] {
	background: rgba(255, 255, 255, 0.45);
	color: var(--htp-ink);
}

.htp-nav__sub {
	background: #fff;
	border-radius: var(--htp-radius);
	box-shadow: 0 12px 32px rgba(29, 42, 33, 0.18);
	display: none;
	left: 0;
	list-style: none;
	margin: 6px 0 0;
	min-width: 240px;
	padding: 8px;
	position: absolute;
	top: 100%;
}

.htp-nav__button[aria-expanded="true"] + .htp-nav__sub {
	display: block;
}

.htp-v2 .htp-nav__sub a {
	border-radius: 6px;
	color: var(--htp-ink);
	display: block;
	padding: 10px 12px;
	text-decoration: none;
}

.htp-v2 .htp-nav__sub a:hover {
	background: var(--htp-tint);
}

.htp-search {
	display: flex;
	flex: 1 1 260px;
	margin-left: auto;
	max-width: 420px;
	position: relative;
}

.htp-v2 .htp-search input[type="search"] {
	appearance: none;
	background: #fff;
	border: 1px solid rgba(29, 42, 33, 0.25);
	border-radius: 999px;
	color: var(--htp-ink);
	font-family: var(--htp-font);
	font-size: 1rem;
	height: 48px;
	padding: 0 54px 0 20px;
	width: 100%;
}

.htp-v2 .htp-search input[type="search"]::placeholder {
	color: var(--htp-muted);
	opacity: 1;
}

.htp-v2 .htp-search button {
	align-items: center;
	background: var(--htp-green);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	min-height: 0;
	padding: 0;
	position: absolute;
	right: 2px;
	top: 2px;
	width: 44px;
}

.htp-header__actions {
	display: flex;
	flex: none;
	gap: 4px;
}

.htp-v2 .htp-action {
	align-items: center;
	border-radius: 6px;
	color: var(--htp-ink);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 600;
	gap: 6px;
	min-height: 44px;
	min-width: 44px;
	padding: 0 10px;
	position: relative;
	text-decoration: none;
}

.htp-v2 .htp-action:hover {
	background: rgba(255, 255, 255, 0.45);
}

.htp-cart__count {
	background: var(--htp-green);
	border-radius: 999px;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 20px;
	min-width: 20px;
	padding: 0 6px;
	text-align: center;
}

.htp-cart__count[data-count="0"] {
	display: none;
}

@media (max-width: 1080px) {

	.htp-action__label {
		border: 0;
		clip: rect(1px, 1px, 1px, 1px);
		height: 1px;
		overflow: hidden;
		position: absolute;
		width: 1px;
	}

	.htp-header__row {
		gap: 16px;
	}
}

@media (max-width: 900px) {

	.htp-v2 {
		--htp-gutter: 16px;
		font-size: 16px;
	}

	.htp-topbar__text {
		display: none;
	}

	.htp-topbar__row {
		justify-content: center;
		min-height: 44px;
	}

	.htp-v2 .htp-topbar__link {
		min-height: 44px;
	}

	.htp-header__row {
		flex-wrap: wrap;
		gap: 8px;
		min-height: 0;
		padding-bottom: 10px;
		padding-top: 8px;
	}

	.htp-header__toggle {
		align-items: center;
		background: none;
		border: 0;
		border-radius: 6px;
		color: var(--htp-ink);
		cursor: pointer;
		display: inline-flex;
		height: 48px;
		justify-content: center;
		margin-left: -8px;
		padding: 0;
		width: 48px;
	}

	.htp-header__toggle .htp-icon {
		height: 28px;
		width: 28px;
	}

	.htp-header__toggle-close,
	.htp-header__toggle[aria-expanded="true"] .htp-header__toggle-open {
		display: none;
	}

	.htp-header__toggle[aria-expanded="true"] .htp-header__toggle-close {
		display: inline-flex;
	}

	.htp-logo {
		margin-right: auto;
	}

	.htp-logo__img {
		height: 48px;
	}

	.htp-search {
		flex: 1 0 100%;
		margin: 0;
		max-width: none;
		order: 5;
	}

	.htp-nav {
		background: #fff;
		border-radius: var(--htp-radius);
		box-shadow: 0 12px 32px rgba(29, 42, 33, 0.18);
		display: none;
		flex: 1 0 100%;
		order: 6;
		padding: 8px;
	}

	.htp-nav.is-open {
		display: block;
	}

	.htp-nav__list {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.htp-v2 .htp-nav__item > a,
	.htp-nav__button {
		justify-content: space-between;
		min-height: 48px;
		width: 100%;
	}

	.htp-nav__sub {
		box-shadow: none;
		margin: 0;
		padding: 0 0 8px 12px;
		position: static;
	}
}

/* 4. Footer ------------------------------------------------------------------------------- */

.htp-footer {
	background: var(--htp-sage);
	color: var(--htp-ink);
	font-size: 0.95rem;
	margin-top: 72px;
}

.htp-footer__grid {
	display: grid;
	gap: 40px 32px;
	grid-template-columns: 1.3fr 1fr 1fr 1fr 1.4fr;
	padding-bottom: 56px;
	padding-top: 56px;
}

.htp-footer__brand p {
	margin: 16px 0;
	max-width: 30ch;
}

.htp-v2 .htp-footer__title,
.htp-v2 .htp-footer .widgettitle {
	color: var(--htp-ink);
	font-family: var(--htp-display);
	font-size: 1.1rem;
	font-weight: 400;
	margin: 0 0 12px;
}

.htp-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.htp-footer .widget {
	margin: 0;
}

.htp-v2 .htp-footer a {
	color: var(--htp-ink);
	display: inline-block;
	padding: 5px 0;
	text-decoration: none;
}

.htp-v2 .htp-footer a:hover {
	text-decoration: underline;
}

.htp-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
}

.htp-footer__bottom {
	background: var(--htp-ink);
	color: #e3ebe4;
	font-size: 0.88rem;
	padding: 18px 0;
}

.htp-footer__bottom p {
	margin: 0;
}

@media (max-width: 1000px) {

	.htp-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.htp-footer__brand,
	.htp-footer__col--news {
		grid-column: 1 / -1;
	}

	.htp-v2 .htp-footer a {
		padding: 11px 0;
	}
}

/* 5. Home ---------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.htp-v2 * {
		transition: none !important;
	}
}

.htp-section {
	padding: 64px 0 0;
}

.htp-section--tint {
	background: var(--htp-cream);
	margin-top: 64px;
	padding-bottom: 64px;
}

.htp-section__head {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
	margin-bottom: 24px;
}

.htp-v2 .htp-section__title {
	margin: 0;
}

.htp-tiles,
.htp-stores {
	display: grid;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.htp-tiles {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.htp-v2 .htp-tile a,
.htp-v2 .htp-store a {
	color: var(--htp-ink);
	display: block;
	text-decoration: none;
}

.htp-tile__frame,
.htp-card__frame {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #fff;
	border: 1px solid var(--htp-line);
	border-radius: var(--htp-radius);
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: 10px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Pictures keep their shape and are never enlarged beyond their own size, so small originals stay sharp. */
.htp-v2 .htp-tile__frame img,
.htp-v2 .htp-card__frame img,
.htp-v2.woocommerce ul.products li.product .htp-card__frame img,
.htp-v2 .woocommerce ul.products li.product .htp-card__frame img {
	display: block;
	height: auto;
	margin: 0;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.htp-tile a:hover .htp-tile__frame,
.htp-v2 ul.products li.product a:hover .htp-card__frame {
	border-color: var(--htp-green);
	box-shadow: 0 6px 18px rgba(29, 42, 33, 0.1);
}

.htp-tile__name {
	display: block;
	font-weight: 700;
	line-height: 1.3;
	margin-top: 12px;
}

.htp-tile__count,
.htp-store__count {
	color: var(--htp-muted);
	display: block;
	font-size: 0.9rem;
}

.htp-stores {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.htp-v2 .htp-store a {
	align-items: center;
	border: 1px solid var(--htp-line);
	border-radius: var(--htp-radius);
	column-gap: 18px;
	display: grid;
	grid-template-columns: 88px 1fr;
	padding: 20px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.htp-v2 .htp-store a:hover {
	border-color: var(--htp-green);
	box-shadow: 0 6px 18px rgba(29, 42, 33, 0.1);
}

.htp-store__avatar {
	grid-row: 1 / span 3;
}

.htp-v2 .htp-store__avatar img {
	border-radius: 50%;
	display: block;
	height: 88px;
	object-fit: cover;
	width: 88px;
}

.htp-store__name {
	font-family: var(--htp-display);
	font-size: 1.2rem;
	line-height: 1.25;
}

.htp-news {
	align-items: center;
	display: grid;
	gap: 16px 48px;
	grid-template-columns: 1fr 1fr;
}

.htp-news__text p {
	margin: 8px 0 0;
}

.htp-newsform .mc4wp-form-fields .table {
	display: flex;
	gap: 8px;
}

.htp-newsform .mc4wp-form-fields p {
	margin: 0;
}

.htp-newsform .mc4wp-form-fields p:first-child {
	flex: 1 1 auto;
}

.htp-newsform .mc4wp-form-fields label {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.htp-v2 .htp-newsform input[type="email"] {
	background: #fff;
	border: 1px solid rgba(29, 42, 33, 0.35);
	border-radius: 6px;
	color: var(--htp-ink);
	font-family: var(--htp-font);
	font-size: 1rem;
	height: 48px;
	padding: 0 16px;
	width: 100%;
}

.htp-v2 .htp-newsform button {
	background: var(--htp-green);
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-family: var(--htp-font);
	font-size: 1rem;
	font-weight: 600;
	height: 48px;
	padding: 0 20px;
}

.htp-v2 .htp-footer .htp-newsform button {
	background: var(--htp-ink);
}

@media (max-width: 1000px) {

	.htp-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.htp-stores,
	.htp-news {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {

	.htp-tiles {
		gap: 16px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.htp-section {
		padding-top: 48px;
	}

	.htp-section--tint {
		margin-top: 48px;
		padding-bottom: 48px;
	}

	.htp-newsform .mc4wp-form-fields .table {
		flex-direction: column;
	}
}

/*
 * Home page since 2.2.0: hero, trust points, category tiles, featured stores, selling band and
 * newsletter card. Written for phones first; the wider layouts start at 901 px.
 */

.htp-homehero {
	background: var(--htp-tint);
	overflow: hidden;
	padding: 28px 0 44px;
}

.htp-homehero__grid {
	align-items: center;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr);
}

.htp-homehero .htp-kicker {
	color: var(--htp-green);
}

.htp-v2 .htp-homehero__title {
	font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
	letter-spacing: -0.01em;
	line-height: 1.08;
	margin: 0 0 0.4em;
	text-wrap: balance;
}

.htp-homehero__lead {
	font-size: 1.15rem;
	margin: 0 0 1.4em;
	max-width: 46ch;
}

.htp-homehero__search {
	display: none;
}

.htp-homehero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.htp-homehero__actions .htp-button {
	flex: 1 1 auto;
	min-height: 52px;
}

.htp-v2 a.htp-button.htp-button--ghost {
	color: var(--htp-green);
}

.htp-v2 a.htp-button.htp-button--ghost:hover {
	background: var(--htp-green);
	color: #fff;
}

.htp-homehero__media {
	margin-left: 22px;
	padding-bottom: 26px;
	position: relative;
}

.htp-homehero__media::before {
	background: var(--htp-sage);
	border-radius: 20px;
	content: "";
	height: 56%;
	position: absolute;
	right: -10px;
	top: -10px;
	width: 48%;
}

.htp-homehero__photo,
.htp-homehero__inset {
	position: relative;
}

.htp-v2 .htp-homehero__photo img {
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.htp-homehero__inset {
	bottom: 0;
	left: -22px;
	position: absolute;
	width: 34%;
}

.htp-v2 .htp-homehero__inset img {
	aspect-ratio: 1 / 1;
	border: 5px solid var(--htp-tint);
	border-radius: 18px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.htp-trust {
	border-bottom: 1px solid var(--htp-line);
}

.htp-trust__list {
	display: grid;
	gap: 16px 24px;
	grid-template-columns: minmax(0, 1fr);
	list-style: none;
	margin: 0;
	padding: 24px 0;
}

.htp-trust__item {
	align-items: start;
	column-gap: 14px;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
}

.htp-trust__icon {
	align-items: center;
	background: var(--htp-tint);
	border-radius: 50%;
	color: var(--htp-green);
	display: flex;
	grid-row: span 2;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.htp-trust__title {
	color: var(--htp-ink);
	line-height: 1.3;
}

.htp-trust__text {
	color: var(--htp-muted);
	font-size: 0.9rem;
	grid-column: 2;
	line-height: 1.45;
}

@media (min-width: 600px) {

	.htp-trust__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.htp-catgrid,
.htp-shopcards,
.htp-chips,
.htp-cat__subs {
	list-style: none;
	margin: 0;
	padding: 0;
}

.htp-catgrid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.htp-cat {
	background: var(--htp-cream);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: box-shadow 0.15s ease;
}

.htp-cat:hover {
	box-shadow: 0 10px 28px rgba(29, 42, 33, 0.14);
}

.htp-cat--lead {
	grid-column: 1 / -1;
}

.htp-v2 .htp-cat__link {
	color: var(--htp-ink);
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	text-decoration: none;
}

.htp-cat__pic {
	aspect-ratio: 4 / 3;
	display: block;
	position: relative;
}

.htp-cat--lead .htp-cat__pic {
	aspect-ratio: 16 / 9;
}

/* The picture fills its frame without being cut; its white background blends into the tile. */
.htp-v2 .htp-cat__pic img {
	height: calc(100% - 28px);
	inset: 16px 16px 12px;
	mix-blend-mode: multiply;
	object-fit: contain;
	position: absolute;
	width: calc(100% - 32px);
}

.htp-cat__text {
	display: block;
	padding: 4px 16px 16px;
}

.htp-cat__name {
	display: block;
	font-family: var(--htp-display);
	font-size: 1.1rem;
	line-height: 1.25;
}

.htp-cat__link:hover .htp-cat__name {
	color: var(--htp-green);
}

.htp-cat--lead .htp-cat__name {
	font-size: 1.45rem;
}

.htp-cat__count,
.htp-shopcard__count {
	color: var(--htp-muted);
	display: block;
	font-size: 0.9rem;
}

.htp-cat__subs,
.htp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.htp-cat__subs {
	padding: 0 16px 16px;
}

.htp-chips {
	margin-top: 16px;
}

.htp-v2 .htp-chip {
	align-items: center;
	background: #fff;
	border: 1px solid var(--htp-line);
	border-radius: 999px;
	color: var(--htp-ink);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 600;
	min-height: 44px;
	padding: 0 16px;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.htp-v2 .htp-chip:hover {
	border-color: var(--htp-green);
	color: var(--htp-green);
}

.htp-shopcards {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr);
}

.htp-v2 .htp-shopcard a {
	background: #fff;
	border: 1px solid var(--htp-line);
	border-radius: 16px;
	color: var(--htp-ink);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.htp-v2 .htp-shopcard a:hover {
	border-color: var(--htp-green);
	box-shadow: 0 10px 28px rgba(29, 42, 33, 0.14);
}

.htp-shopcard__pics {
	background: var(--htp-cream);
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 12px;
}

.htp-shopcard--lead .htp-shopcard__pics {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.htp-v2 .htp-shopcard__pics img {
	aspect-ratio: 1 / 1;
	background: #fff;
	border-radius: 10px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.htp-shopcard__head {
	align-items: center;
	column-gap: 14px;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	padding: 16px 18px 0;
}

.htp-shopcard__avatar {
	grid-row: span 2;
}

.htp-shopcard__avatar .htp-avatar {
	font-size: 1.4rem;
	height: 52px;
	width: 52px;
}

.htp-shopcard__name {
	align-self: end;
	font-family: var(--htp-display);
	font-size: 1.25rem;
	line-height: 1.25;
}

.htp-shopcard__count {
	align-self: start;
}

.htp-shopcard__about {
	display: block;
	font-size: 0.95rem;
	line-height: 1.5;
	padding: 12px 18px 0;
}

.htp-shopcard .htp-link {
	margin-top: auto;
	padding: 8px 18px 10px;
}

.htp-sellband {
	background: var(--htp-green);
	border-radius: 20px;
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
}

.htp-sellband__text {
	padding: 32px 20px;
}

.htp-v2 .htp-sellband__title {
	color: #fff;
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
}

.htp-sellband__steps {
	counter-reset: htp-sell;
	display: flex;
	flex-wrap: wrap;
	font-weight: 600;
	gap: 10px 22px;
	list-style: none;
	margin: 0 0 1.6em;
	padding: 0;
}

.htp-sellband__steps li {
	align-items: center;
	counter-increment: htp-sell;
	display: flex;
	gap: 8px;
}

.htp-sellband__steps li::before {
	align-items: center;
	background: #fff;
	border-radius: 50%;
	color: var(--htp-green);
	content: counter(htp-sell);
	display: flex;
	font-size: 0.9rem;
	font-weight: 700;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.htp-sellband__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
}

.htp-v2 .htp-sellband__actions .htp-link,
.htp-v2 .htp-sellband__actions .htp-link:hover {
	color: #fff;
	text-decoration: underline;
}

.htp-sellband :focus-visible {
	outline-color: #fff;
}

.htp-sellband__media {
	min-height: 200px;
	position: relative;
}

.htp-v2 .htp-sellband__media img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: 42% 57%;
	position: absolute;
	width: 100%;
}

.htp-newscard {
	background: var(--htp-tint);
	border-radius: 20px;
	padding: 28px 20px;
}

@media (max-width: 900px) {

	/* Phones show the first six of the newest products (three rows of two). */
	.htp-v2 .htp-newest ul.products li.product:nth-child(n+7) {
		display: none;
	}
}

@media (min-width: 901px) {

	.htp-homehero {
		padding: 56px 0 64px;
	}

	.htp-homehero__grid {
		gap: 64px;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	}

	.htp-homehero__lead {
		font-size: 1.25rem;
	}

	.htp-homehero__search {
		align-items: center;
		background: #fff;
		border: 1px solid rgba(29, 42, 33, 0.3);
		border-radius: 999px;
		color: var(--htp-muted);
		display: flex;
		gap: 10px;
		margin: 0 0 20px;
		max-width: 540px;
		padding: 5px 5px 5px 20px;
	}

	.htp-homehero__search:focus-within {
		border-color: var(--htp-green);
		box-shadow: 0 0 0 3px rgba(19, 122, 53, 0.2);
	}

	.htp-v2 .htp-homehero__search input[type="search"] {
		appearance: none;
		background: none;
		border: 0;
		color: var(--htp-ink);
		flex: 1 1 auto;
		font-family: var(--htp-font);
		font-size: 1.05rem;
		height: 46px;
		min-width: 0;
		outline: 0;
		padding: 0;
	}

	.htp-v2 .htp-homehero__search input[type="search"]::placeholder {
		color: var(--htp-muted);
		opacity: 1;
	}

	.htp-v2 .htp-homehero__search button {
		background: var(--htp-green);
		border: 0;
		border-radius: 999px;
		color: #fff;
		cursor: pointer;
		flex: none;
		font-family: var(--htp-font);
		font-size: 1rem;
		font-weight: 600;
		height: 46px;
		padding: 0 24px;
	}

	.htp-v2 .htp-homehero__search button:hover {
		background: var(--htp-green-dark);
	}

	.htp-homehero__actions .htp-button {
		flex: 0 0 auto;
	}

	.htp-homehero__media {
		margin-left: 36px;
		padding-bottom: 36px;
	}

	.htp-homehero__media::before {
		right: -18px;
		top: -18px;
	}

	.htp-homehero__inset {
		left: -36px;
		width: 38%;
	}

	.htp-v2 .htp-homehero__inset img {
		border-width: 6px;
	}

	.htp-trust__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: 28px 0;
	}

	.htp-catgrid {
		gap: 24px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.htp-cat--lead {
		grid-column: span 2;
		grid-row: span 2;
	}

	.htp-cat--lead .htp-cat__pic {
		aspect-ratio: auto;
		flex: 1 1 0;
		min-height: 240px;
	}

	.htp-v2 .htp-cat--lead .htp-cat__pic img {
		height: calc(100% - 48px);
		inset: 28px 28px 20px;
		width: calc(100% - 56px);
	}

	.htp-cat__text {
		padding: 4px 20px 18px;
	}

	.htp-cat--lead .htp-cat__text,
	.htp-cat--lead .htp-cat__subs {
		padding-left: 28px;
		padding-right: 28px;
	}

	.htp-cat--lead .htp-cat__subs {
		padding-bottom: 28px;
	}

	.htp-cat--lead .htp-cat__name {
		font-size: 1.7rem;
	}

	.htp-shopcards {
		gap: 24px;
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
	}

	.htp-sellband {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	}

	.htp-sellband__text {
		padding: 56px;
	}

	.htp-newscard {
		padding: 40px 48px;
	}
}

/* 6. Product cards --------------------------------------------------------------------------- */

.htp-v2 .woocommerce ul.products,
.htp-v2.woocommerce ul.products {
	display: grid;
	gap: 36px 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.htp-v2 .woocommerce ul.products.columns-3,
.htp-v2.woocommerce ul.products.columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.htp-v2 .woocommerce ul.products::before,
.htp-v2 .woocommerce ul.products::after,
.htp-v2.woocommerce ul.products::before,
.htp-v2.woocommerce ul.products::after {
	display: none;
}

.htp-v2 .woocommerce ul.products li.product,
.htp-v2.woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
	float: none !important;
	margin: 0 !important;
	width: auto !important;
}

.htp-v2 ul.products li.product a.woocommerce-loop-product__link {
	color: var(--htp-ink);
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	text-decoration: none;
}

.htp-v2 ul.products li.product .woocommerce-loop-product__title {
	color: var(--htp-ink);
	font-family: var(--htp-font);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 14px 0 6px;
	padding: 0;
}

.htp-v2 ul.products li.product .price {
	color: var(--htp-green);
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	margin: auto 0 2px;
}

.htp-v2 ul.products li.product .wcvendors_sold_by_in_loop {
	color: var(--htp-muted);
	display: block;
	font-size: 0.86rem;
	margin: 0 0 12px;
}

/* The store name is a full-size tap target without the line growing taller. */
.htp-v2 ul.products li.product .wcvendors_sold_by_in_loop a {
	display: inline-block;
	margin: -14px 0;
	padding: 14px 0;
}

.htp-v2 ul.products li.product > br {
	display: none;
}

.htp-v2 ul.products li.product .button {
	align-items: center;
	align-self: stretch;
	background: #fff;
	color: var(--htp-green);
	display: flex;
	justify-content: center;
	margin: 0;
	min-height: 44px;
	padding: 8px 14px;
	text-align: center;
}

.htp-v2 ul.products li.product .button:hover {
	background: var(--htp-green);
	color: #fff;
}

.htp-v2 ul.products li.product .added_to_cart {
	display: inline-block;
	font-weight: 600;
	padding: 10px 0 0;
}

/*
 * Cards in one row line up: each card places its parts (picture, name and price; "Sold by";
 * button; "View cart") on four rows shared by the whole row of cards. A store name that
 * wraps to two lines makes that row taller for every card, so prices, "Sold by" lines and
 * buttons stay level. Browsers without shared rows keep the stacked card above.
 */
@supports (grid-template-rows: subgrid) {

	.htp-v2 .woocommerce ul.products li.product,
	.htp-v2.woocommerce ul.products li.product {
		display: grid;
		grid-row: span 4;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: subgrid;
		row-gap: 0;
	}

	.htp-v2 ul.products li.product > a.woocommerce-loop-product__link,
	.htp-v2 ul.products li.product.product-category > a {
		grid-row: 1;
	}

	.htp-v2 ul.products li.product > .wcvendors_sold_by_in_loop {
		grid-row: 2;
	}

	.htp-v2 ul.products li.product > .button {
		align-self: end;
		grid-row: 3;
	}

	.htp-v2 ul.products li.product > .added_to_cart {
		grid-row: 4;
	}
}

.htp-v2 .woocommerce span.onsale,
.htp-v2.woocommerce span.onsale {
	background: var(--htp-green);
	border-radius: 6px;
	color: #fff;
	left: 10px;
	line-height: 1.2;
	margin: 0;
	min-height: 0;
	min-width: 0;
	padding: 6px 10px;
	right: auto;
	top: 10px;
}

@media (max-width: 1000px) {

	.htp-v2 .woocommerce ul.products,
	.htp-v2.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {

	.htp-v2 .woocommerce ul.products,
	.htp-v2.woocommerce ul.products,
	.htp-v2 .woocommerce ul.products.columns-3,
	.htp-v2.woocommerce ul.products.columns-3 {
		gap: 28px 14px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 7. Shop and category pages --------------------------------------------------------------- */

.htp-shop {
	display: grid;
	gap: 40px;
	padding-top: 28px;
}

.htp-has-filters .htp-shop {
	grid-template-columns: 250px minmax(0, 1fr);
}

.htp-has-filters .htp-shop__main {
	grid-column: 2;
	grid-row: 1;
}

.htp-shop__filters {
	grid-column: 1;
	grid-row: 1;
}

.htp-v2 .woocommerce-breadcrumb {
	color: var(--htp-muted);
	font-size: 0.9rem;
	margin: 0 0 14px;
}

.htp-v2 .woocommerce-breadcrumb a {
	color: var(--htp-muted);
}

.htp-v2 .woocommerce-products-header__title,
.htp-v2 h1.wcv-shop-header-name {
	margin: 0 0 20px;
}

.htp-v2 .woocommerce-result-count {
	color: var(--htp-muted);
	float: left;
	font-size: 0.95rem;
	line-height: 46px;
	margin: 0 0 20px;
}

.htp-v2 .woocommerce-ordering {
	float: right;
	margin: 0 0 20px;
}

.htp-v2 select,
.htp-v2 .woocommerce-ordering select {
	appearance: auto;
	background: #fff;
	border: 1px solid rgba(29, 42, 33, 0.35);
	border-radius: 6px;
	color: var(--htp-ink);
	font-family: var(--htp-font);
	font-size: 0.95rem;
	height: 46px;
	padding: 0 12px;
}

.htp-v2 ul.products {
	clear: both;
}

.htp-filter-toggle {
	display: none;
}

.htp-shop__filters .widget {
	border-bottom: 1px solid var(--htp-line);
	margin: 0 0 24px;
	padding: 0 0 24px;
}

.htp-v2 .htp-shop__filters .widgettitle {
	font-size: 1.1rem;
	margin: 0 0 12px;
}

.htp-shop__filters ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.htp-shop__filters ul ul {
	padding-left: 14px;
}

.htp-v2 .htp-shop__filters li a {
	color: var(--htp-ink);
	display: inline-block;
	padding: 6px 0;
	text-decoration: none;
}

.htp-v2 .htp-shop__filters li a:hover,
.htp-v2 .htp-shop__filters li.current-cat > a {
	color: var(--htp-green);
	text-decoration: underline;
}

.htp-v2 .widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: var(--htp-line);
}

.htp-v2 .widget_price_filter .ui-slider .ui-slider-range,
.htp-v2 .widget_price_filter .ui-slider .ui-slider-handle {
	background: var(--htp-green);
}

.htp-v2 .widget_price_filter .price_slider_amount {
	align-items: center;
	display: flex;
	flex-direction: row-reverse;
	font-size: 0.9rem;
	gap: 12px;
	justify-content: space-between;
}

.htp-v2 .widget_price_filter .price_slider_amount .button {
	float: none;
	min-height: 40px;
	padding: 6px 16px;
}

.htp-v2 .woocommerce-pagination {
	margin: 44px 0 0;
	text-align: center;
}

.htp-v2 .woocommerce-pagination ul.page-numbers {
	border: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin: 0;
}

.htp-v2 .woocommerce-pagination ul.page-numbers li {
	border: 0;
	float: none;
}

.htp-v2 .woocommerce-pagination ul.page-numbers li a,
.htp-v2 .woocommerce-pagination ul.page-numbers li span {
	align-items: center;
	background: #fff;
	border: 1px solid var(--htp-line);
	border-radius: 6px;
	color: var(--htp-ink);
	display: inline-flex;
	font-weight: 600;
	height: 44px;
	justify-content: center;
	min-width: 44px;
	padding: 0 8px;
	text-decoration: none;
}

.htp-v2 .woocommerce-pagination ul.page-numbers li span.current,
.htp-v2 .woocommerce-pagination ul.page-numbers li a:hover {
	background: var(--htp-green);
	border-color: var(--htp-green);
	color: #fff;
}

@media (max-width: 900px) {

	.htp-has-filters .htp-shop {
		grid-template-columns: minmax(0, 1fr);
	}

	.htp-has-filters .htp-shop__main,
	.htp-shop__filters {
		grid-column: 1;
		grid-row: auto;
	}

	.htp-filter-toggle {
		align-items: center;
		background: #fff;
		border: 1px solid rgba(29, 42, 33, 0.35);
		border-radius: 6px;
		color: var(--htp-ink);
		cursor: pointer;
		display: inline-flex;
		font-family: var(--htp-font);
		font-size: 0.95rem;
		font-weight: 600;
		gap: 6px;
		height: 46px;
		margin: 0 0 16px;
		padding: 0 16px;
	}

	.htp-shop__filters {
		display: none;
		order: -1;
	}

	.htp-shop__filters.is-open {
		display: block;
	}

	.htp-v2 .woocommerce-result-count,
	.htp-v2 .woocommerce-ordering {
		float: none;
		line-height: 1.5;
		margin-bottom: 14px;
	}

	.htp-v2 .woocommerce-ordering select {
		width: 100%;
	}
}

/* 8. Product page ------------------------------------------------------------------------------ */

.htp-v2.single-product div.product {
	display: grid;
	gap: 32px 56px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.htp-v2.single-product div.product .woocommerce-product-gallery,
.htp-v2.single-product div.product .summary {
	float: none;
	margin: 0;
	width: auto;
}

.htp-v2.single-product div.product .woocommerce-tabs,
.htp-v2.single-product div.product .related,
.htp-v2.single-product div.product .upsells {
	grid-column: 1 / -1;
}

.htp-v2.single-product .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.htp-v2.single-product .woocommerce-product-gallery__image {
	background: #fff;
	border: 1px solid var(--htp-line);
	border-radius: var(--htp-radius);
	overflow: hidden;
}

/* A small original is shown at its own size in the middle of the frame instead of being stretched. */
.htp-v2.single-product .woocommerce-product-gallery__image a {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 320px;
}

.htp-v2.single-product .woocommerce-product-gallery__image img.wp-post-image,
.htp-v2.single-product .woocommerce-product-gallery__image a > img {
	height: auto;
	max-width: 100%;
	width: auto;
}

.htp-v2.single-product .flex-control-thumbs {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

/* One step more specific than WooCommerce's own rule, which makes each small picture a quarter of its cell. */
.htp-v2.single-product div.product div.images .flex-control-thumbs li {
	float: none;
	margin: 0;
	width: auto;
}

.htp-v2.single-product .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	border: 1px solid var(--htp-line);
	border-radius: 6px;
	cursor: pointer;
	display: block;
	height: auto;
	object-fit: cover;
	opacity: 0.75;
	width: 100%;
}

/* The row of small pictures is added by script: its room is kept free, so the page below does not jump. */
.htp-v2.single-product .woocommerce-product-gallery:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image):not(:has(.flex-control-thumbs)) {
	padding-bottom: calc((100% - 40px) / 5 + 12px);
}

.htp-v2.single-product .flex-control-thumbs img.flex-active,
.htp-v2.single-product .flex-control-thumbs img:hover {
	border-color: var(--htp-green);
	opacity: 1;
}

.htp-v2.single-product .product_title {
	font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem);
	margin: 0 0 10px;
}

.htp-v2.single-product div.product p.price {
	color: var(--htp-green);
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 16px;
}

.htp-v2.single-product div.product .stock {
	color: var(--htp-ink);
	font-weight: 600;
}

.htp-v2.single-product div.product .stock.out-of-stock {
	color: #a12a1e;
}

.htp-v2.single-product form.cart {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0;
}

/* WooCommerce's float-clearing boxes would count as items here and push the quantity field in. */
.htp-v2.single-product div.product form.cart::before,
.htp-v2.single-product div.product form.cart::after,
.htp-v2.single-product div.product form.cart .woocommerce-variation-add-to-cart::before,
.htp-v2.single-product div.product form.cart .woocommerce-variation-add-to-cart::after {
	display: none;
}

.htp-v2.single-product div.product form.cart div.quantity {
	float: none;
	margin: 0;
}

.htp-v2.single-product form.variations_form {
	display: block;
}

.htp-v2.single-product .woocommerce-variation-add-to-cart {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.htp-v2.single-product table.variations {
	border: 0;
	margin: 0 0 16px;
}

.htp-v2.single-product table.variations th,
.htp-v2.single-product table.variations td {
	border: 0;
	display: block;
	padding: 0 0 6px;
	text-align: left;
}

.htp-v2.single-product table.variations select {
	max-width: 100%;
	min-width: 220px;
}

.htp-v2 .quantity .qty {
	background: #fff;
	border: 1px solid rgba(29, 42, 33, 0.35);
	border-radius: 6px;
	color: var(--htp-ink);
	font-family: var(--htp-font);
	font-size: 1rem;
	height: 48px;
	padding: 0 8px;
	text-align: center;
	width: 84px;
}

.htp-v2.single-product form.cart .button {
	flex: 1 1 220px;
	float: none;
	max-width: 360px;
}

.htp-seller {
	align-items: center;
	background: var(--htp-cream);
	border-radius: var(--htp-radius);
	display: flex;
	gap: 14px;
	margin: 24px 0;
	padding: 16px 18px;
}

.htp-v2 .htp-seller img {
	border-radius: 50%;
	height: 56px;
	object-fit: cover;
	width: 56px;
}

.htp-seller__label {
	color: var(--htp-muted);
	display: block;
	font-size: 0.86rem;
}

.htp-seller__name {
	color: var(--htp-ink);
	display: block;
	font-weight: 700;
}

.htp-seller .htp-link {
	margin-left: auto;
}

.htp-v2.single-product .product_meta {
	border-top: 1px solid var(--htp-line);
	color: var(--htp-muted);
	font-size: 0.92rem;
	padding-top: 16px;
}

.htp-v2.single-product .product_meta > span {
	display: block;
	padding: 2px 0;
}

.htp-v2.single-product div.product .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid var(--htp-line);
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 24px 0 24px;
	padding: 0;
}

.htp-v2.single-product div.product .woocommerce-tabs ul.tabs::before,
.htp-v2.single-product div.product .woocommerce-tabs ul.tabs::after,
.htp-v2.single-product div.product .woocommerce-tabs ul.tabs li::before,
.htp-v2.single-product div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.htp-v2.single-product div.product .woocommerce-tabs ul.tabs li {
	background: none;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

.htp-v2.single-product div.product .woocommerce-tabs ul.tabs li a {
	border-bottom: 3px solid transparent;
	color: var(--htp-muted);
	display: block;
	font-weight: 600;
	padding: 12px 16px;
	text-decoration: none;
}

.htp-v2.single-product div.product .woocommerce-tabs ul.tabs li.active a,
.htp-v2.single-product div.product .woocommerce-tabs ul.tabs li a:hover {
	border-bottom-color: var(--htp-green);
	color: var(--htp-ink);
}

.htp-v2.single-product .woocommerce-Tabs-panel {
	max-width: 760px;
}

.htp-v2.single-product .related > h2 {
	margin: 40px 0 24px;
}

@media (max-width: 900px) {

	.htp-v2.single-product div.product {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 9. Store page ---------------------------------------------------------------------------------- */

.htp-storehead {
	align-items: center;
	background: var(--htp-cream);
	border-radius: var(--htp-radius);
	display: grid;
	gap: 8px 24px;
	grid-template-columns: 112px minmax(0, 1fr);
	margin: 0 0 32px;
	padding: 24px;
}

.htp-v2 .htp-storehead__avatar img {
	border-radius: 50%;
	display: block;
	height: 112px;
	object-fit: cover;
	width: 112px;
}

.htp-v2 .htp-storehead h1.wcv-shop-header-name {
	margin: 0 0 6px;
}

.htp-storehead__meta {
	color: var(--htp-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.95rem;
	gap: 4px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.htp-storehead__text {
	margin: 10px 0 0;
	max-width: 70ch;
}

.htp-storehead__text p:last-child {
	margin-bottom: 0;
}

@media (max-width: 640px) {

	.htp-storehead {
		grid-template-columns: 72px minmax(0, 1fr);
		padding: 16px;
	}

	.htp-v2 .htp-storehead__avatar img {
		height: 72px;
		width: 72px;
	}
}

/* 10. Forms and notices ---------------------------------------------------------------------------- */

.htp-v2 .woocommerce-message,
.htp-v2 .woocommerce-info,
.htp-v2 .woocommerce-error {
	background: var(--htp-tint);
	border: 0;
	border-left: 4px solid var(--htp-green);
	border-radius: 6px;
	color: var(--htp-ink);
	list-style: none;
	margin: 0 0 24px;
	padding: 14px 18px;
}

.htp-v2 .woocommerce-error {
	background: #fbeeec;
	border-left-color: #a12a1e;
}

.htp-v2 .woocommerce-message::before,
.htp-v2 .woocommerce-info::before,
.htp-v2 .woocommerce-error::before {
	display: none;
}

.htp-v2 .woocommerce-message .button,
.htp-v2 .woocommerce-info .button {
	float: right;
	margin: -6px 0 -6px 16px;
	min-height: 40px;
	padding: 6px 14px;
}

/* 11. Selling page ------------------------------------------------------------------------------------ */

.htp-sellhero {
	background: var(--htp-tint);
	padding: 56px 0;
}

.htp-sellhero__grid {
	align-items: center;
	display: grid;
	gap: 40px 56px;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.htp-lead {
	font-size: 1.2rem;
	max-width: 52ch;
}

.htp-sellhero__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 1.5em 0 0;
}

.htp-sellhero__media img {
	aspect-ratio: 4 / 3;
	border-radius: var(--htp-radius);
	display: block;
	object-fit: cover;
	width: 100%;
}

.htp-twocol {
	display: grid;
	gap: 32px 56px;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.htp-cost {
	background: var(--htp-cream);
	border-radius: var(--htp-radius);
	padding: 28px;
}

.htp-checks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.htp-checks li {
	display: flex;
	gap: 10px;
	padding: 6px 0;
}

.htp-checks .htp-icon {
	color: var(--htp-green);
	margin-top: 0.2em;
}

.htp-steps {
	counter-reset: htp-step;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.htp-step {
	background: #fff;
	border-radius: var(--htp-radius);
	counter-increment: htp-step;
	padding: 24px;
}

.htp-step::before {
	align-items: center;
	background: var(--htp-green);
	border-radius: 50%;
	color: #fff;
	content: counter(htp-step);
	display: flex;
	font-family: var(--htp-display);
	font-size: 1.1rem;
	height: 40px;
	justify-content: center;
	margin-bottom: 14px;
	width: 40px;
}

.htp-v2 .htp-step h3 {
	margin: 0 0 6px;
}

.htp-step p {
	margin: 0;
}

.htp-narrow {
	max-width: 860px;
}

.htp-faq details {
	border-bottom: 1px solid var(--htp-line);
}

.htp-faq summary {
	color: var(--htp-ink);
	cursor: pointer;
	font-weight: 700;
	min-height: 44px;
	padding: 16px 0;
}

.htp-faq details p {
	margin: 0 0 18px;
	max-width: 65ch;
}

.htp-apply {
	border: 1px solid var(--htp-line);
	border-radius: var(--htp-radius);
	padding: 32px;
}

.htp-apply__note {
	color: var(--htp-muted);
	font-size: 0.92rem;
}

.htp-hint {
	color: var(--htp-muted);
	display: block;
	font-size: 0.9rem;
	line-height: 1.45;
	margin-top: 6px;
}

.htp-optional {
	color: var(--htp-muted);
	font-size: 0.9rem;
	font-weight: 400;
	margin-left: 4px;
}

/* Fields shared by the application, the account forms and the vendor dashboard. */
.htp-v2 .woocommerce form .form-row,
.htp-v2 .htp-apply .form-row {
	display: block;
	float: none;
	margin: 0 0 16px;
	padding: 0;
	width: auto;
}

.htp-v2 .woocommerce form .form-row label,
.htp-v2 .htp-apply label {
	color: var(--htp-ink);
	display: block;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 6px;
}

.htp-v2 input[type="text"],
.htp-v2 input[type="email"],
.htp-v2 input[type="password"],
.htp-v2 input[type="tel"],
.htp-v2 input[type="url"],
.htp-v2 input[type="number"],
.htp-v2 textarea {
	background: #fff;
	border: 1px solid rgba(29, 42, 33, 0.45);
	border-radius: 6px;
	color: var(--htp-ink);
	font-family: var(--htp-font);
	font-size: 1rem;
	max-width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	width: 100%;
}

.htp-v2 .htp-apply label.htp-check,
.htp-v2 .htp-apply .apply_for_vendor_label,
.htp-v2 .htp-apply .agree_to_terms_label {
	align-items: flex-start;
	display: flex;
	font-weight: 400;
	gap: 10px;
}

.htp-v2 input[type="checkbox"] {
	accent-color: var(--htp-green);
	flex: none;
	height: 20px;
	margin: 2px 0 0;
	width: 20px;
}

.htp-hp {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

@media (max-width: 900px) {

	.htp-sellhero__grid,
	.htp-twocol {
		grid-template-columns: minmax(0, 1fr);
	}

	.htp-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.htp-apply {
		padding: 20px;
	}
}

/* 12. Where each photograph is anchored when it is cropped to fit (see assets/img/credits.json) ------- */

.htp-sellhero__media img {
	object-position: 42% 57%;
}

/* 13. Small corrections and the vendor dashboard frame -------------------------------------------- */

/* Buttons keep their own text colour (links are green by default). */
.htp-v2 a.htp-button,
.htp-v2 a.htp-button:hover {
	color: #fff;
	text-decoration: none;
}

.htp-v2 a.htp-button--light,
.htp-v2 a.htp-button--light:hover {
	color: var(--htp-ink);
}

.htp-avatar {
	border-radius: 50%;
	display: block;
	object-fit: cover;
}

.htp-avatar--initial {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: var(--htp-sage);
	color: var(--htp-ink);
	display: flex;
	font-family: var(--htp-display);
	font-size: 2rem;
	justify-content: center;
	width: 100%;
}

.htp-seller .htp-avatar {
	flex: none;
	font-size: 1.4rem;
	height: 56px;
	width: 56px;
}

.htp-storehead__avatar .htp-avatar {
	font-size: 2.6rem;
	height: auto;
	width: 100%;
}

.htp-footer .htp-newsform .mc4wp-form-fields .table {
	flex-direction: column;
}

.htp-page {
	padding-bottom: 24px;
	padding-top: 40px;
}

.htp-gate {
	background: var(--htp-cream);
	border-radius: var(--htp-radius);
	max-width: 720px;
	padding: 28px;
}

.htp-gate__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
}

/* The vendor dashboard is styled in assets/css/v2-dashboard.css (see inc/v2-onboarding.php). */
