/**
 * HSC Checkout – My account (since 1.21.0).
 *
 * Built on WooCommerce's own My account markup (Avada's styles underneath),
 * so every rule is scoped to a body class the module adds for the part
 * that is switched on: hsc-acc (module on), hsc-acc-layout,
 * hsc-acc-hide-avada-bar, hsc-acc-greeting, hsc-acc-menu-icons,
 * hsc-acc-list-cards, hsc-acc-list-status, hsc-acc-no-display-name,
 * hsc-acc-login-layout, hsc-acc-register-collapse.
 *
 * Colors: black CTAs, lime #c4f280 for "good" states and the deals block,
 * terracotta #cc692a for "action needed". Typography is inherited from the
 * theme (Poppins).
 */

.hsc-acc {
	--hsc-acc-black: #000;
	--hsc-acc-ink: #2b2b2b;
	--hsc-acc-muted: #5c5c5c;
	--hsc-acc-line: #e4e1da;
	--hsc-acc-field: #a9a59c;
	--hsc-acc-paper: #f6f5f2;
	--hsc-acc-soft: #f2f0eb;
	--hsc-acc-lime: #c4f280;
	--hsc-acc-lime-soft: #eaf7d6;
	--hsc-acc-terra: #cc692a;
	--hsc-acc-terra-soft: #fbe3d3;
	--hsc-acc-terra-ink: #6e2e0c;
	--hsc-acc-terra-paper: #fff7f1;
	--hsc-acc-radius: 16px;
}

/* ---------- Shared pieces ---------- */

.hsc-acc .hsc-acc-card {
	background: #fff;
	border: 1px solid var(--hsc-acc-line);
	border-radius: var(--hsc-acc-radius);
	padding: 24px;
	margin: 0 0 20px;
}

.hsc-acc .hsc-acc-card h2 {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	vertical-align: middle;
}

.hsc-acc .hsc-acc-eyebrow {
	display: block;
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-value {
	white-space: nowrap;
}

/* Buttons: black pill, or white pill with a black border. */
.hsc-acc .hsc-acc-btn,
.hsc-acc .hsc-acc-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	border: 2px solid var(--hsc-acc-black);
	background: var(--hsc-acc-black);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.hsc-acc .hsc-acc-btn:hover,
.hsc-acc .hsc-acc-btn:focus {
	background: #222;
	color: #fff;
	text-decoration: none;
}

.hsc-acc .hsc-acc-btn--secondary,
.hsc-acc .hsc-acc-btn--secondary:visited {
	background: #fff;
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-btn--secondary:hover,
.hsc-acc .hsc-acc-btn--secondary:focus {
	background: var(--hsc-acc-soft);
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

/* Status badges. */
.hsc-acc .hsc-acc-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	background: #fff;
	color: var(--hsc-acc-muted);
	border: 1px solid #cfcbc2;
}

.hsc-acc .hsc-acc-badge--wait {
	background: var(--hsc-acc-terra-soft);
	color: var(--hsc-acc-terra-ink);
	border-color: transparent;
}

.hsc-acc .hsc-acc-badge--ship {
	background: var(--hsc-acc-lime);
	color: var(--hsc-acc-black);
	border-color: transparent;
}

.hsc-acc .hsc-acc-badge--done {
	background: var(--hsc-acc-black);
	color: #fff;
	border-color: transparent;
}

.hsc-acc .hsc-acc-badge--fail {
	background: #fde8e8;
	color: #8a1c1c;
	border-color: transparent;
}

/* Copy button (bank details, tracking numbers). */
.hsc-acc .hsc-acc-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border: 1px solid #d8d4cb;
	border-radius: 10px;
	background: #fff;
	color: var(--hsc-acc-black);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.hsc-acc .hsc-acc-copy:hover,
.hsc-acc .hsc-acc-copy:focus {
	background: var(--hsc-acc-soft);
}

.hsc-acc .hsc-acc-copy.is-copied {
	background: var(--hsc-acc-lime);
	border-color: var(--hsc-acc-lime);
}

/* Page headers. */
.hsc-acc .hsc-acc-head {
	margin: 0 0 24px;
}

.hsc-acc .hsc-acc-head__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.hsc-acc .hsc-acc-head__title {
	margin: 0;
	font-size: 34px;
	line-height: 1.1;
	font-weight: 800;
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-head__intro {
	margin: 8px 0 0;
	font-size: 16px;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-head__actions {
	margin-top: 16px;
}

.hsc-acc .hsc-acc-back,
.hsc-acc .hsc-acc-back:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--hsc-acc-black);
	text-decoration: none;
}

.hsc-acc .hsc-acc-back:hover {
	text-decoration: underline;
}

/* ---------- Layout: sidebar + content ---------- */

.hsc-acc-hide-avada-bar .avada-myaccount-user {
	display: none !important;
}

/* The "Had an account on our old website?" block of the page: visitors only. */
.hsc-acc.logged-in .hsc-old-site-notice {
	display: none;
}

/* Avada frames the content (1px border, 30px padding, 240px left margin): the cards carry the design now. */
body.hsc-acc-layout.logged-in .woocommerce-MyAccount-content {
	border: 0 !important;
	padding: 0 !important;
	margin-left: 0 !important;
	overflow: visible !important;
	background: transparent !important;
}

/* Avada's heading of each page ("Orders", "Addresses"…): same style as the Overview title, no underline. */
/* Any depth: on Account details Avada prints it inside the form. */
body.hsc-acc-layout .woocommerce-MyAccount-content .avada-woocommerce-myaccount-heading,
body.hsc-acc-layout .woocommerce-MyAccount-content > h2:first-of-type {
	margin: 0 0 24px;
	padding: 0;
	border: 0 !important;
	font-size: 34px;
	line-height: 1.1;
	font-weight: 800;
	color: var(--hsc-acc-black);
}

/* The Overview and the order page print their own title. */
body.hsc-acc-overview.woocommerce-account:not(.woocommerce-orders):not(.woocommerce-view-order):not(.woocommerce-edit-address):not(.woocommerce-edit-account):not(.woocommerce-lost-password):not(.woocommerce-payment-methods):not(.woocommerce-downloads) .woocommerce-MyAccount-content > .avada-woocommerce-myaccount-heading,
body.hsc-acc-order-header.woocommerce-view-order .woocommerce-MyAccount-content > .avada-woocommerce-myaccount-heading {
	display: none;
}

/* Avada underlines every h2 inside the account: not in the cards. */
body.hsc-acc .woocommerce-MyAccount-content .hsc-acc-card h2,
body.hsc-acc .woocommerce-MyAccount-content .hsc-acc-deals h2,
body.hsc-acc .woocommerce-MyAccount-content .hsc-acc-head h1,
body.hsc-acc .woocommerce-MyAccount-content .hsc-acc-head h2 {
	border-bottom: 0;
	padding-bottom: 0;
}

body.hsc-acc .woocommerce-MyAccount-content .shop_table th,
body.hsc-acc .woocommerce-MyAccount-content .shop_table td {
	font-family: inherit;
}

.hsc-acc-layout.logged-in .woocommerce-MyAccount-navigation,
.hsc-acc-layout.logged-in .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

body.hsc-acc-layout.logged-in .woocommerce-MyAccount-content .woocommerce-content-box {
	border: 0;
	padding: 0;
	margin: 0;
}

@media (min-width: 801px) {
	.hsc-acc-layout.logged-in .woocommerce:has(> .woocommerce-MyAccount-navigation),
	.hsc-acc-layout.logged-in .woocommerce:has(> .hsc-acc-greeting) {
		display: grid;
		grid-template-columns: 272px minmax(0, 1fr);
		grid-template-rows: auto auto auto 1fr;
		column-gap: 32px;
		align-items: start;
	}

	.hsc-acc-layout.logged-in .woocommerce > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.hsc-acc-layout.logged-in .woocommerce > .hsc-acc-greeting {
		grid-column: 1;
		grid-row: 2;
	}

	.hsc-acc-layout.logged-in .woocommerce > .woocommerce-MyAccount-navigation {
		grid-column: 1;
		grid-row: 3;
	}

	.hsc-acc-layout.logged-in .woocommerce > .woocommerce-MyAccount-content {
		grid-column: 2;
		grid-row: 2 / span 3;
	}
}

/* ---------- Greeting card ---------- */

.hsc-acc .hsc-acc-greeting {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	margin: 0 0 12px;
	background: #fff;
	border: 1px solid var(--hsc-acc-line);
	border-radius: var(--hsc-acc-radius);
}

.hsc-acc .hsc-acc-greeting__initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--hsc-acc-lime);
	color: var(--hsc-acc-black);
	font-size: 18px;
	font-weight: 700;
}

.hsc-acc .hsc-acc-greeting__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.hsc-acc .hsc-acc-greeting__name {
	font-size: 17px;
	font-weight: 700;
	color: var(--hsc-acc-black);
	line-height: 1.3;
}

.hsc-acc .hsc-acc-greeting__email {
	font-size: 13px;
	color: var(--hsc-acc-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hsc-acc .hsc-acc-greeting__logout,
.hsc-acc .hsc-acc-greeting__logout:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	border: 1px solid #d8d4cb;
	border-radius: 10px;
	color: var(--hsc-acc-black);
	background: #fff;
}

.hsc-acc .hsc-acc-greeting__logout:hover {
	background: var(--hsc-acc-soft);
}

/* ---------- Menu ---------- */

.hsc-acc-layout .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.hsc-acc-layout .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.hsc-acc-layout .woocommerce-MyAccount-navigation li a,
.hsc-acc-layout .woocommerce-MyAccount-navigation li a:visited {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 0 14px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--hsc-acc-black);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
}

.hsc-acc-layout .woocommerce-MyAccount-navigation li a:hover {
	background: var(--hsc-acc-soft);
	color: var(--hsc-acc-black);
}

.hsc-acc-layout .woocommerce-MyAccount-navigation li.is-active a,
.hsc-acc-layout .woocommerce-MyAccount-navigation li.is-active a:hover {
	background: var(--hsc-acc-black);
	color: #fff;
}

/* Avada's chevrons. */
.hsc-acc-layout .woocommerce-MyAccount-navigation li a::before,
.hsc-acc-layout .woocommerce-MyAccount-navigation li a::after {
	display: none;
}

/* Icons: one per endpoint, drawn with a mask so they take the text color. */
.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li a::before,
.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.is-active a::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: var(--hsc-acc-menu-icon) center / contain no-repeat;
	mask: var(--hsc-acc-menu-icon) center / contain no-repeat;
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li a {
	--hsc-acc-menu-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8'/></svg>");
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a {
	--hsc-acc-menu-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='4' width='7' height='7' rx='1.5'/><rect x='13' y='4' width='7' height='7' rx='1.5'/><rect x='4' y='13' width='7' height='7' rx='1.5'/><rect x='13' y='13' width='7' height='7' rx='1.5'/></svg>");
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a {
	--hsc-acc-menu-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 8l-9-5-9 5 9 5 9-5z'/><path d='M3 8v8l9 5 9-5V8'/><path d='M12 13v8'/></svg>");
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address a {
	--hsc-acc-menu-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/><circle cx='12' cy='9.5' r='2.5'/></svg>");
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a {
	--hsc-acc-menu-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/></svg>");
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads a {
	--hsc-acc-menu-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4v11'/><path d='M7 10l5 5 5-5'/><path d='M4 19h16'/></svg>");
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--payment-methods a {
	--hsc-acc-menu-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='6' width='18' height='12' rx='2'/><path d='M3 10h18'/></svg>");
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	--hsc-acc-menu-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3'/><path d='M10 16l-4-4 4-4'/><path d='M6 12h10'/></svg>");
}

@media (min-width: 801px) {
	body.hsc-acc-layout .woocommerce-MyAccount-navigation {
		padding: 12px;
		margin: 0;
		background: #fff;
		border: 1px solid var(--hsc-acc-line);
		border-radius: var(--hsc-acc-radius);
	}

	.hsc-acc-layout .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-direction: column;
		gap: 4px;
	}

	/* "Log out" set apart at the bottom. */
	.hsc-acc-layout .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 8px;
		padding-top: 12px;
		border-top: 1px solid var(--hsc-acc-line);
	}
}

@media (max-width: 800px) {
	body.hsc-acc-layout .woocommerce-MyAccount-navigation {
		margin: 0 -16px 20px;
		padding: 0 16px 6px;
		border: 0;
		background: transparent;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.hsc-acc-layout .woocommerce-MyAccount-navigation::-webkit-scrollbar {
		display: none;
	}

	.hsc-acc-layout .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: nowrap;
		gap: 8px;
		width: max-content;
	}

	.hsc-acc-layout .woocommerce-MyAccount-navigation li {
		flex: 0 0 auto;
	}

	.hsc-acc-layout .woocommerce-MyAccount-navigation li a,
	.hsc-acc-layout .woocommerce-MyAccount-navigation li a:visited {
		min-height: 44px;
		padding: 0 16px;
		border: 1px solid var(--hsc-acc-black);
		border-radius: 999px;
		background: #fff;
		font-size: 14px;
		white-space: nowrap;
	}

	.hsc-acc-layout .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
		border-color: #cfcbc2;
	}

	/* Logged out: the greeting card has its own button. */
	.hsc-acc-greeting-on .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
		display: none;
	}

	.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li a::before,
	.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.is-active a::before {
		display: none;
	}

	.hsc-acc .hsc-acc-greeting {
		padding: 12px 14px;
	}
}

/* ---------- Overview ---------- */

.hsc-acc .hsc-acc-overview {
	display: flex;
	flex-direction: column;
}

/* Progress steps: a row on wide screens, a rail on narrow ones. */
.hsc-acc .hsc-acc-steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
}

.hsc-acc .hsc-acc-steps--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hsc-acc .hsc-acc-steps--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hsc-acc .hsc-acc-step {
	position: relative;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	grid-template-areas:
		"dot line"
		"label label"
		"sub sub"
		"parcels parcels";
	column-gap: 0;
	row-gap: 6px;
	margin: 0;
	padding: 0 12px 0 0;
	list-style: none;
}

.hsc-acc .hsc-acc-step__dot {
	grid-area: dot;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #cfcbc2;
	background: #fff;
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-step__dot .hsc-acc-icon {
	width: 16px;
	height: 16px;
}

.hsc-acc .hsc-acc-step__line {
	grid-area: line;
	align-self: center;
	height: 3px;
	margin-left: 4px;
	background: #dad6ce;
}

.hsc-acc .hsc-acc-step:last-child .hsc-acc-step__line {
	display: none;
}

.hsc-acc .hsc-acc-step__label {
	grid-area: label;
	font-size: 14px;
	font-weight: 600;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-step__sub {
	grid-area: sub;
	font-size: 12px;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-step--done .hsc-acc-step__dot {
	background: var(--hsc-acc-black);
	border-color: var(--hsc-acc-black);
	color: var(--hsc-acc-lime);
}

.hsc-acc .hsc-acc-step--done .hsc-acc-step__line {
	background: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-step--done .hsc-acc-step__label,
.hsc-acc .hsc-acc-step--current .hsc-acc-step__label {
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-step--current .hsc-acc-step__dot {
	background: var(--hsc-acc-lime);
	border-color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-step--current.hsc-acc-step--paid .hsc-acc-step__dot,
.hsc-acc .hsc-acc-step--current.hsc-acc-step--end .hsc-acc-step__dot {
	background: var(--hsc-acc-terra);
	border-color: var(--hsc-acc-terra);
	color: #fff;
}

.hsc-acc .hsc-acc-step--current.hsc-acc-step--paid .hsc-acc-step__sub {
	color: var(--hsc-acc-terra-ink);
	font-weight: 500;
}

/* Parcels inside the "Shipped" step (order page). */
.hsc-acc .hsc-acc-parcels {
	grid-area: parcels;
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hsc-acc .hsc-acc-parcel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 8px 8px 12px;
	border: 1px solid var(--hsc-acc-line);
	border-radius: 10px;
	list-style: none;
}

.hsc-acc .hsc-acc-parcel__number {
	display: flex;
	flex-direction: column;
	flex: 1 1 140px;
	min-width: 0;
}

.hsc-acc .hsc-acc-parcel__label {
	font-size: 11px;
	font-weight: 500;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-parcel__value {
	font-size: 14px;
	font-weight: 600;
	color: var(--hsc-acc-black);
	word-break: break-all;
}

.hsc-acc .hsc-acc-parcel .hsc-acc-btn {
	min-height: 44px;
	padding: 0 18px;
	font-size: 14px;
}

@media (max-width: 640px) {
	.hsc-acc .hsc-acc-progress .hsc-acc-steps {
		display: flex;
		flex-direction: column;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-step {
		grid-template-columns: 28px minmax(0, 1fr);
		grid-template-areas:
			"dot label"
			"line sub"
			"line parcels";
		column-gap: 14px;
		row-gap: 2px;
		padding: 0 0 16px;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-step__line {
		align-self: stretch;
		justify-self: center;
		width: 3px;
		height: auto;
		min-height: 18px;
		margin: 2px 0 0;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-step:last-child {
		padding-bottom: 0;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-step__label {
		align-self: center;
		font-size: 15px;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-parcels {
		margin-top: 8px;
	}

	.hsc-acc .hsc-acc-parcel .hsc-acc-btn {
		flex: 1 1 100%;
	}

	/* Overview card: the row keeps four short steps. */
	.hsc-acc .hsc-acc-shipment .hsc-acc-step__sub {
		display: none;
	}

	.hsc-acc .hsc-acc-shipment .hsc-acc-step__label {
		font-size: 12px;
	}
}

/* Bank transfer box ("How to pay"). */
.hsc-acc .hsc-acc-bank {
	background: var(--hsc-acc-terra-paper);
	border: 2px solid var(--hsc-acc-terra);
}

.hsc-acc .hsc-acc-bank__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 18px;
}

.hsc-acc .hsc-acc-bank__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--hsc-acc-terra);
	color: #fff;
}

.hsc-acc .hsc-acc-bank__text {
	flex: 1 1 240px;
	min-width: 0;
}

.hsc-acc .hsc-acc-bank__text p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #3d2a1e;
}

.hsc-acc .hsc-acc-bank__head .hsc-acc-badge {
	flex: 0 0 auto;
}

.hsc-acc .hsc-acc-bank__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.hsc-acc .hsc-acc-bank__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 10px 10px 16px;
	background: #fff;
	border: 1px solid #ebcdb8;
	border-radius: 12px;
}

.hsc-acc .hsc-acc-bank__field {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.hsc-acc .hsc-acc-bank__label {
	font-size: 12px;
	font-weight: 500;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-bank__value {
	font-size: 16px;
	font-weight: 700;
	color: var(--hsc-acc-black);
	word-break: break-all;
}

.hsc-acc .hsc-acc-bank__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	margin-top: 18px;
}

.hsc-acc .hsc-acc-bank__note {
	font-size: 13px;
	line-height: 1.5;
	color: #3d2a1e;
}

@media (max-width: 640px) {
	.hsc-acc .hsc-acc-bank__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hsc-acc .hsc-acc-bank__head {
		flex-wrap: wrap;
	}

	/* The heading already says it. */
	.hsc-acc .hsc-acc-bank--overview .hsc-acc-bank__head .hsc-acc-badge {
		display: none;
	}

	.hsc-acc .hsc-acc-bank__icon {
		width: 36px;
		height: 36px;
	}

	.hsc-acc .hsc-acc-bank__foot .hsc-acc-btn {
		width: 100%;
	}
}

/* Latest shipment. */
.hsc-acc .hsc-acc-shipment__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 16px;
}

.hsc-acc .hsc-acc-shipment__products {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	font-size: 14px;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-thumbs {
	display: inline-flex;
	flex: 0 0 auto;
}

.hsc-acc .hsc-acc-thumb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--hsc-acc-soft);
	border: 2px solid #fff;
	box-sizing: border-box;
}

.hsc-acc .hsc-acc-thumb + .hsc-acc-thumb {
	margin-left: -10px;
}

.hsc-acc .hsc-acc-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* Quick links. */
.hsc-acc .hsc-acc-quick {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 20px;
}

.hsc-acc .hsc-acc-quick__link,
.hsc-acc .hsc-acc-quick__link:visited {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 20px;
	color: var(--hsc-acc-black);
	text-decoration: none;
	transition: border-color 0.15s ease;
}

.hsc-acc .hsc-acc-quick__link:hover {
	border-color: var(--hsc-acc-black);
	color: var(--hsc-acc-black);
	text-decoration: none;
}

.hsc-acc .hsc-acc-quick__link .hsc-acc-icon {
	width: 24px;
	height: 24px;
}

.hsc-acc .hsc-acc-quick__title {
	font-size: 16px;
	font-weight: 700;
}

.hsc-acc .hsc-acc-quick__sub {
	font-size: 13px;
	color: var(--hsc-acc-muted);
}

@media (max-width: 1024px) {
	.hsc-acc .hsc-acc-quick {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* Deals. */
.hsc-acc .hsc-acc-deals {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 20px;
	padding: 28px 32px;
	background: var(--hsc-acc-lime);
	border-radius: var(--hsc-acc-radius);
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-deals h2 {
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 800;
}

.hsc-acc .hsc-acc-deals p {
	margin: 0;
	font-size: 15px;
}

@media (max-width: 640px) {
	.hsc-acc .hsc-acc-deals {
		padding: 20px;
	}

	.hsc-acc .hsc-acc-deals .hsc-acc-btn {
		width: 100%;
	}
}

/* Empty state. */
.hsc-acc .hsc-acc-empty {
	text-align: center;
	padding: 36px 24px;
}

.hsc-acc .hsc-acc-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 0 12px;
	border-radius: 50%;
	background: var(--hsc-acc-lime-soft);
}

.hsc-acc .hsc-acc-empty__icon .hsc-acc-icon {
	width: 26px;
	height: 26px;
}

.hsc-acc .hsc-acc-empty p {
	margin: 0 0 18px;
	color: var(--hsc-acc-muted);
}

/* Help box. */
.hsc-acc .hsc-acc-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 18px 24px;
}

.hsc-acc .hsc-acc-help__head {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
}

.hsc-acc .hsc-acc-help__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--hsc-acc-soft);
}

.hsc-acc .hsc-acc-help__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}

.hsc-acc .hsc-acc-help__links a,
.hsc-acc .hsc-acc-help__links a:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 500;
	color: var(--hsc-acc-black);
	text-decoration: none;
}

.hsc-acc .hsc-acc-help__links a:hover {
	text-decoration: underline;
}

.hsc-acc .hsc-acc-help__links a span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.hsc-acc .hsc-acc-help__links .hsc-acc-icon {
	width: 18px;
	height: 18px;
}

@media (max-width: 640px) {
	.hsc-acc .hsc-acc-help {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.hsc-acc .hsc-acc-help__links {
		flex-direction: column;
		gap: 0;
	}
}

/* ---------- Orders list ---------- */

.hsc-acc .woocommerce-orders-table th,
.hsc-acc .woocommerce-orders-table td,
.hsc-acc .woocommerce-orders-table__cell-order-number a {
	font-family: inherit;
}

.hsc-acc .woocommerce-orders-table th {
	font-size: 13px;
	font-weight: 600;
	color: var(--hsc-acc-muted);
}

.hsc-acc .woocommerce-orders-table__cell-order-number a {
	font-weight: 700;
}

.hsc-acc .hsc-acc-total__amount {
	display: block;
	font-weight: 600;
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-total__items {
	display: block;
	font-size: 13px;
	color: var(--hsc-acc-muted);
}

.hsc-acc .woocommerce-orders-table__cell-order-actions,
.hsc-acc .woocommerce-orders-table__cell-order-date {
	white-space: nowrap;
}

.hsc-acc .woocommerce-orders-table__cell-order-actions .woocommerce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin: 2px 6px 2px 0;
	padding: 0 16px;
	border: 2px solid var(--hsc-acc-black);
	border-radius: 999px;
	background: #fff;
	color: var(--hsc-acc-black);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.hsc-acc .woocommerce-orders-table__cell-order-actions .woocommerce-button:hover {
	background: var(--hsc-acc-soft);
	color: var(--hsc-acc-black);
}

/* The first (primary) action is black. */
.hsc-acc .woocommerce-orders-table__cell-order-actions .woocommerce-button:first-child:not(.view) {
	background: var(--hsc-acc-black);
	color: #fff;
}

.hsc-acc .woocommerce-orders-table__cell-order-actions .woocommerce-button:first-child:not(.view):hover {
	background: #222;
	color: #fff;
}

.hsc-acc .woocommerce-orders-table__cell-order-actions .woocommerce-button::after,
.hsc-acc .woocommerce-orders-table__cell-order-actions .woocommerce-button::before {
	display: none;
}

@media (max-width: 1199px) {
	.hsc-acc-list-cards .woocommerce-orders-table,
	.hsc-acc-list-cards .woocommerce-orders-table tbody,
	.hsc-acc-list-cards .woocommerce-orders-table tr,
	.hsc-acc-list-cards .woocommerce-orders-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.hsc-acc-list-cards .woocommerce-orders-table thead {
		display: none;
	}

	.hsc-acc-list-cards .woocommerce-orders-table {
		border: 0;
	}

	.hsc-acc-list-cards .woocommerce-orders-table tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"number status"
			"date date"
			"items total"
			"actions actions";
		gap: 8px 12px;
		margin: 0 0 12px;
		padding: 16px;
		background: #fff;
		border: 1px solid var(--hsc-acc-line);
		border-radius: var(--hsc-acc-radius);
	}

	/* An order that needs action gets the terracotta frame. */
	.hsc-acc-list-cards .woocommerce-orders-table tr:has(.hsc-acc-badge--wait),
	.hsc-acc-list-cards .woocommerce-orders-table tr:has(.hsc-acc-badge--fail) {
		border: 2px solid var(--hsc-acc-terra);
	}

	.hsc-acc-list-cards .woocommerce-orders-table td {
		padding: 0;
		border: 0;
		text-align: left;
	}

	.hsc-acc-list-cards .woocommerce-orders-table td::before {
		display: none;
	}

	.hsc-acc-list-cards .woocommerce-orders-table__cell-order-number {
		grid-area: number;
		font-size: 16px;
	}

	.hsc-acc-list-cards .woocommerce-orders-table__cell-order-status {
		grid-area: status;
		justify-self: end;
	}

	.hsc-acc-list-cards .woocommerce-orders-table__cell-order-date {
		grid-area: date;
		margin-top: -6px;
		font-size: 13px;
		color: var(--hsc-acc-muted);
	}

	.hsc-acc-list-cards .woocommerce-orders-table__cell-hsc-items {
		grid-area: items;
		align-self: center;
		min-width: 0;
		overflow: hidden;
	}

	.hsc-acc-list-cards .woocommerce-orders-table__cell-order-total {
		grid-area: total;
		justify-self: end;
		text-align: right;
		align-self: center;
	}

	.hsc-acc-list-cards .hsc-acc-total__amount {
		font-size: 17px;
		font-weight: 700;
	}

	.hsc-acc-list-cards .woocommerce-orders-table__cell-order-actions {
		grid-area: actions;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 6px;
		white-space: normal;
	}

	.hsc-acc-list-cards .woocommerce-orders-table__cell-order-actions .woocommerce-button {
		margin: 0;
		min-height: 44px;
	}

	.hsc-acc-list-cards .woocommerce-orders-table__cell-order-actions .woocommerce-button:only-child {
		grid-column: 1 / -1;
	}

	.hsc-acc-list-cards .hsc-acc-thumb {
		width: 40px;
		height: 40px;
		border-radius: 8px;
	}

	.hsc-acc-list-cards .hsc-acc-thumb + .hsc-acc-thumb {
		margin-left: -14px;
	}
}

/* ---------- Order page ---------- */

.hsc-acc .hsc-acc-progress {
	padding: 24px 28px;
}

.hsc-acc .hsc-acc-notes {
	margin-top: 20px;
}

.hsc-acc .woocommerce-order-details {
	margin-top: 20px;
}

.hsc-acc .woocommerce-customer-details {
	margin-top: 40px;
}

.hsc-acc .hsc-acc-line__name {
	display: block;
	font-weight: 600;
}

.hsc-acc .hsc-acc-line__variation {
	display: block;
	font-size: 13px;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-line__free {
	font-weight: 700;
}

.hsc-acc .woocommerce-view-order .woocommerce-order-details__title,
.hsc-acc .woocommerce-view-order .woocommerce-column__title {
	font-size: 20px;
	font-weight: 700;
}

/* ---------- Account details ---------- */

.hsc-acc-no-display-name .woocommerce-EditAccountForm p.form-row:has(#account_display_name) {
	display: none;
}

.hsc-acc .woocommerce-EditAccountForm fieldset {
	margin: 24px 0;
	padding: 20px 24px;
	border: 1px solid var(--hsc-acc-line);
	border-radius: var(--hsc-acc-radius);
}

.hsc-acc .woocommerce-EditAccountForm fieldset legend {
	padding: 0 8px;
	font-size: 16px;
	font-weight: 700;
}

/* Avada floats "Save changes" to the right: back in the flow, so nothing sits on the card below. */
body.hsc-acc .woocommerce-EditAccountForm .woocommerce-Button,
body.hsc-acc .woocommerce-EditAccountForm p:has(> .woocommerce-Button) {
	float: none;
	clear: both;
}

/* HSC Klaviyo's form was designed for the black footer: the card is black too. */
body.hsc-acc .hsc-acc-newsletter {
	clear: both;
	margin-top: 32px;
	background: var(--hsc-acc-black);
	border-color: var(--hsc-acc-black);
	color: #fff;
}

body.hsc-acc .woocommerce-MyAccount-content .hsc-acc-newsletter h2 {
	color: #fff;
}

body.hsc-acc .hsc-acc-newsletter > p {
	margin: 0 0 16px;
	color: #d8d4cb;
}

/* ---------- Addresses ---------- */

.hsc-acc .woocommerce-Addresses .woocommerce-Address {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--hsc-acc-line);
	border-radius: var(--hsc-acc-radius);
	box-sizing: border-box;
}

.hsc-acc .woocommerce-Addresses .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
}

.hsc-acc .woocommerce-Addresses .woocommerce-Address-title h2,
.hsc-acc .woocommerce-Addresses .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.hsc-acc .woocommerce-Addresses .woocommerce-Address-title .edit {
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
}

.hsc-acc .woocommerce-Addresses address {
	font-style: normal;
	line-height: 1.6;
}

@media (max-width: 640px) {
	.hsc-acc .woocommerce-Addresses .woocommerce-Address {
		margin-bottom: 12px;
	}
}

/* ---------- Log in / register ---------- */

.hsc-acc-login-layout #customer_login > .u-column1 > h2,
.hsc-acc-login-layout #customer_login > .u-column2 > h2 {
	display: none;
}

.hsc-acc-login-layout #customer_login {
	margin-bottom: 20px;
}

.hsc-acc-login-layout #customer_login > .u-column1,
.hsc-acc-login-layout #customer_login > .u-column2 {
	padding: 32px;
	background: #fff;
	border: 1px solid var(--hsc-acc-line);
	border-radius: var(--hsc-acc-radius);
	box-sizing: border-box;
}

.hsc-acc-login-layout #customer_login .woocommerce-form-login,
.hsc-acc-login-layout #customer_login .woocommerce-form-register {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Avada underlines the h2 of the log in / register forms: not these. */
body.hsc-acc .hsc-acc-form__title,
body.hsc-acc #customer_login .hsc-acc-form__title {
	margin: 0 0 18px;
	padding: 0 !important;
	border: 0 !important;
	font-size: 24px;
	font-weight: 700;
}

/* "Remember me" on its own line, a bigger box; "Lost your password?" under the button. */
body.hsc-acc-login-layout .woocommerce-form-login .woocommerce-form-login__submit {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
}

/* Avada makes this row an inline-flex box as wide as the button, with the link beside it. */
body.hsc-acc-login-layout .woocommerce-form-login .form-row:has(> .woocommerce-form-login__submit) {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	width: 100% !important;
	gap: 12px;
}

/* Avada sets order: 2 on this label (".woocommerce #customer_login .login …"), so it ends up under the button. */
body.hsc-acc-login-layout .woocommerce-form-login .woocommerce-form-login__rememberme {
	display: flex !important;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
	padding: 0 !important;
	order: -1 !important;
	cursor: pointer;
}

.hsc-acc-login-layout .woocommerce-form-login .woocommerce-form-login__rememberme input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--hsc-acc-black);
}

body.hsc-acc-login-layout .woocommerce-form-login .woocommerce-LostPassword {
	display: block;
	width: 100%;
	margin: 12px 0 0;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
}

/* Benefits above the registration fields. */
.hsc-acc .hsc-acc-benefits {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hsc-acc .hsc-acc-benefits li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	list-style: none;
}

.hsc-acc .hsc-acc-benefits__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--hsc-acc-lime);
}

.hsc-acc .hsc-acc-hint {
	margin: -8px 0 12px;
	font-size: 12px;
	color: var(--hsc-acc-muted);
}

/* Registration folded on phones (account.js adds the button and the classes). */
.hsc-acc .hsc-acc-register-toggle {
	display: none;
}

@media (max-width: 800px) {
	.hsc-acc-login-layout #customer_login > .u-column1,
	.hsc-acc-login-layout #customer_login > .u-column2 {
		padding: 20px;
	}

	.hsc-acc-register-collapse .hsc-acc-register-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		min-height: 64px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--hsc-acc-black);
		font-family: inherit;
		text-align: left;
		cursor: pointer;
	}

	.hsc-acc-register-collapse .hsc-acc-register-toggle__text {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	.hsc-acc-register-collapse .hsc-acc-register-toggle__title {
		font-size: 17px;
		font-weight: 700;
	}

	.hsc-acc-register-collapse .hsc-acc-register-toggle__sub {
		font-size: 13px;
		color: var(--hsc-acc-muted);
	}

	.hsc-acc-register-collapse .hsc-acc-register-toggle__chevron {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		flex: 0 0 auto;
		border-radius: 50%;
		background: var(--hsc-acc-lime);
		transition: transform 0.2s ease;
	}

	.hsc-acc-register-collapse .u-column2.is-open .hsc-acc-register-toggle__chevron {
		transform: rotate(180deg);
	}

	.hsc-acc-register-collapse .u-column2.is-folded > .woocommerce-form-register {
		display: none;
	}

	.hsc-acc-register-collapse .u-column2.is-open > .woocommerce-form-register {
		margin-top: 16px !important;
		padding-top: 16px !important;
		border-top: 1px solid var(--hsc-acc-line) !important;
	}

	.hsc-acc-register-collapse .u-column2.is-open .hsc-acc-form__title {
		display: none;
	}
}

/* =====================================================================
 * 1.21.6 – layout fixes from the mobile review on eucommdev
 * (5 November 2026). Avada's own rules weigh as much as ours and load
 * later, hence the body prefix and, where Avada uses !important, ours too.
 * ===================================================================== */

/* ---------- Shared: headings inside the account content ---------- */

/* WooCommerce's own headings (order details, customer details, address forms):
   no Avada underline, sizes that fit a phone. */
body.hsc-acc .woocommerce-MyAccount-content .woocommerce-order-details__title,
body.hsc-acc .woocommerce-MyAccount-content .woocommerce-column__title,
body.hsc-acc .woocommerce-MyAccount-content .woocommerce-customer-details h2,
body.hsc-acc .woocommerce-MyAccount-content .hsc-acc-notes h2 {
	margin: 0 0 16px;
	padding: 0;
	border: 0 !important;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
}

body.hsc-acc .woocommerce-MyAccount-content .woocommerce-column__title {
	font-size: 18px;
	margin-bottom: 8px;
}

/* Address form: its h2/h3 ("Billing address") is the page title. */
body.hsc-acc .woocommerce-MyAccount-content form > h2:first-of-type,
body.hsc-acc .woocommerce-MyAccount-content form > h3:first-of-type {
	margin: 0 0 24px;
	padding: 0;
	border: 0 !important;
	font-size: 34px;
	line-height: 1.1;
	font-weight: 800;
}

/* Help box heading in bold, whatever the theme does with <strong>. */
body.hsc-acc .hsc-acc-help__head strong {
	font-weight: 700;
}

/* Long values (emails, IBANs) wrap between words, never mid-number. */
body.hsc-acc .hsc-acc-bank__value,
body.hsc-acc .hsc-acc-parcel__value {
	word-break: normal;
	overflow-wrap: anywhere;
}

body.hsc-acc .woocommerce-customer-details dd,
body.hsc-acc .woocommerce-customer-details address {
	overflow-wrap: anywhere;
	min-width: 0;
}

/* Save buttons: in the flow, never floated to the right. */
body.hsc-acc .woocommerce-MyAccount-content form .button[name="save_address"],
body.hsc-acc .woocommerce-MyAccount-content form .button[name="save_account_details"] {
	float: none !important;
	margin: 8px 0 0;
}

/* ---------- Log in / register / lost password ---------- */

/* WooCommerce's privacy sentence under the registration fields: small print. */
body.hsc-acc .woocommerce-form-register .woocommerce-privacy-policy-text,
body.hsc-acc .woocommerce-form-register .woocommerce-privacy-policy-text p {
	margin: 0 0 16px;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: var(--hsc-acc-muted);
}

body.hsc-acc .hsc-acc-hint {
	margin: -6px 0 16px;
}

/* "Register" as wide as "Log in". */
body.hsc-acc-login-layout .woocommerce-form-register .woocommerce-form-register__submit,
body.hsc-acc-login-layout .woocommerce-form-register .woocommerce-Button {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

/* Same gap between the log in card, the registration card and the help box. */
body.hsc-acc-login-layout #customer_login > .u-column1 {
	margin-bottom: 20px;
}

body.hsc-acc-login-layout #customer_login {
	margin-bottom: 20px !important;
}

/* Lost password / new password: a card like the log in form. */
body.hsc-acc .woocommerce-ResetPassword {
	max-width: 560px;
	margin: 0 0 20px;
	padding: 32px;
	background: #fff;
	border: 1px solid var(--hsc-acc-line);
	border-radius: var(--hsc-acc-radius);
	box-sizing: border-box;
}

body.hsc-acc .woocommerce-ResetPassword > p:first-child {
	margin-top: 0;
	color: var(--hsc-acc-muted);
	font-size: 15px;
	line-height: 1.5;
}

body.hsc-acc .woocommerce-ResetPassword .woocommerce-Button,
body.hsc-acc .woocommerce-ResetPassword button[type="submit"] {
	display: block !important;
	width: 100% !important;
	float: none !important;
}

/* The page's "Had an account on our old website? Reset your password" block:
   not on the page that resets it (needs the CSS class hsc-old-site-notice on the Avada element). */
body.woocommerce-lost-password .hsc-old-site-notice {
	display: none;
}

@media (max-width: 800px) {
	body.hsc-acc .woocommerce-ResetPassword {
		padding: 20px;
	}
}

/* ---------- Orders list ---------- */

/* Phones: the actions row as a two-column grid (the generic "td: block" rule outweighed it). */
@media (max-width: 1199px) {
	body.hsc-acc-list-cards .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding: 0 !important;
	}

	body.hsc-acc-list-cards .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .woocommerce-button {
		width: 100%;
		margin: 0 !important;
		justify-content: center;
	}
}

/* Pagination: two pill buttons. */
body.hsc-acc .woocommerce-pagination {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 8px 0 0;
}

body.hsc-acc .woocommerce-pagination .woocommerce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border: 2px solid var(--hsc-acc-black);
	border-radius: 999px;
	background: #fff;
	color: var(--hsc-acc-black);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

body.hsc-acc .woocommerce-pagination .woocommerce-button::before,
body.hsc-acc .woocommerce-pagination .woocommerce-button::after {
	display: none;
}

body.hsc-acc .woocommerce-pagination .woocommerce-button--next {
	margin-left: auto;
	background: var(--hsc-acc-black);
	color: #fff;
}

/* ---------- Order page: products and totals ---------- */

body.hsc-acc .woocommerce-table--order-details .product-name,
body.hsc-acc .woocommerce-table--order-details .product-name a {
	font-size: 16px;
	line-height: 1.35;
}

body.hsc-acc .woocommerce-table--order-details .hsc-acc-line__name {
	font-size: 16px;
	line-height: 1.3;
}

body.hsc-acc .woocommerce-table--order-details tfoot th,
body.hsc-acc .woocommerce-table--order-details tfoot td {
	font-size: 15px;
	line-height: 1.4;
	vertical-align: top;
}

@media (max-width: 640px) {
	body.hsc-acc .woocommerce-table--order-details .product-name,
	body.hsc-acc .woocommerce-table--order-details .product-name a,
	body.hsc-acc .woocommerce-table--order-details .hsc-acc-line__name {
		font-size: 15px;
	}

	body.hsc-acc .woocommerce-MyAccount-content .woocommerce-order-details__title,
	body.hsc-acc .woocommerce-MyAccount-content .woocommerce-customer-details h2 {
		font-size: 22px;
	}
}

/* ---------- Addresses ---------- */

body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}

body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses::after {
	display: none;
}

body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
	display: block !important;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 20px 24px !important;
	background: #fff;
	border: 1px solid var(--hsc-acc-line);
	border-radius: var(--hsc-acc-radius);
	box-sizing: border-box;
}

body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	margin: 0 0 12px;
	padding: 0 !important;
	border: 0 !important;
}

body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h2,
body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3 {
	margin: 0;
	padding: 0;
	border: 0 !important;
	font-size: 18px;
	line-height: 1.3;
}

body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title .edit {
	padding: 0 !important;
	font-size: 14px;
	white-space: nowrap;
}

body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title .edit::after {
	display: none;
}

@media (max-width: 800px) {
	body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
		padding: 18px !important;
	}

	/* Save buttons full width on phones, like the log in buttons. */
	body.hsc-acc .woocommerce-MyAccount-content form .button[name="save_address"],
	body.hsc-acc .woocommerce-MyAccount-content form .button[name="save_account_details"] {
		display: block;
		width: 100%;
	}

	body.hsc-acc .woocommerce-MyAccount-content form > h2:first-of-type,
	body.hsc-acc .woocommerce-MyAccount-content form > h3:first-of-type {
		font-size: 30px;
	}
}

/* ---------- 1.21.7 – Order page totals laid out as in the checkout ----------
 * Avada gives the totals the products' columns (label 70%, amount 30%), so
 * the shipping method was squeezed into the narrow right column. The table
 * becomes rows of a grid: products with their price on the right; totals in
 * a block on the right (full width on phones) with the label right-aligned
 * next to its amount, the shipping method on its own line under
 * "Shipping:", and Total last with a rule above, as in the checkout. */

body.hsc-acc .woocommerce-table--order-details {
	display: block !important;
	width: 100% !important;
}

body.hsc-acc .woocommerce-table--order-details > thead,
body.hsc-acc .woocommerce-table--order-details > tbody,
body.hsc-acc .woocommerce-table--order-details > tfoot {
	display: block !important;
	width: 100% !important;
}

body.hsc-acc .woocommerce-table--order-details > thead > tr,
body.hsc-acc .woocommerce-table--order-details > tbody > tr {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 24px;
	align-items: center;
}

body.hsc-acc .woocommerce-table--order-details > thead > tr > *,
body.hsc-acc .woocommerce-table--order-details > tbody > tr > * {
	display: block !important;
	width: auto !important;
}

/* Purchase notes and other one-cell rows: both columns. */
body.hsc-acc .woocommerce-table--order-details > tbody > tr > :only-child {
	grid-column: 1 / -1;
}

body.hsc-acc .woocommerce-table--order-details > tfoot > tr {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(110px, auto);
	column-gap: 24px;
	align-items: baseline;
}

body.hsc-acc .woocommerce-table--order-details > tfoot > tr > th,
body.hsc-acc .woocommerce-table--order-details > tfoot > tr > td {
	display: block !important;
	width: auto !important;
	padding: 8px 0 !important;
	text-align: right !important;
}

body.hsc-acc .woocommerce-table--order-details > tfoot > tr > :only-child {
	grid-column: 1 / -1;
}

/* Shipping: the method on its own line, right-aligned, as wide as needed. */
body.hsc-acc .woocommerce-table--order-details > tfoot > tr:has(.hsc-acc-total-shipping) > td {
	grid-column: 1 / -1;
	padding-top: 0 !important;
}

/* Total: last row, rule above, bold. */
body.hsc-acc .woocommerce-table--order-details > tfoot > tr:has(.hsc-acc-total-order) {
	margin-top: 8px;
	border-top: 1px solid var(--hsc-acc-black, #000) !important;
}

body.hsc-acc .woocommerce-table--order-details > tfoot > tr:has(.hsc-acc-total-order) > * {
	padding-top: 14px !important;
	font-weight: 700 !important;
}

body.hsc-acc .woocommerce-table--order-details > tfoot .includes_tax {
	display: block;
	font-size: 13px;
	font-weight: 300;
}

@media (min-width: 769px) {
	body.hsc-acc .woocommerce-table--order-details > tfoot {
		max-width: 520px;
		margin-left: auto;
	}
}

/* ---------- 1.21.9 – Shipped step with its parcel, customer details ---------- */

/* Each step keeps its label and date at the top: a taller "Shipped" step
   (with the parcel box) no longer pushes the other labels down. */
.hsc-acc .hsc-acc-step {
	align-content: start;
}

/* Number and copy button on one line, the tracking button below. */
.hsc-acc .hsc-acc-parcel__number {
	flex-basis: 90px;
}

.hsc-acc .hsc-acc-parcel .hsc-acc-btn {
	flex: 1 1 100%;
}

/* Order page: when the steps card is too narrow for a parcel box in its
   column (tablet, laptop with the menu on the side), the steps become the
   rail used on phones. Measured on the card, not the screen. */
.hsc-acc .hsc-acc-progress {
	container-type: inline-size;
}

@container (max-width: 760px) {
	.hsc-acc .hsc-acc-progress .hsc-acc-steps:has(.hsc-acc-parcels) {
		display: flex;
		flex-direction: column;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-steps:has(.hsc-acc-parcels) .hsc-acc-step {
		grid-template-columns: 28px minmax(0, 1fr);
		grid-template-areas:
			"dot label"
			"line sub"
			"line parcels";
		column-gap: 14px;
		row-gap: 2px;
		padding: 0 0 16px;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-steps:has(.hsc-acc-parcels) .hsc-acc-step__line {
		align-self: stretch;
		justify-self: center;
		width: 3px;
		height: auto;
		min-height: 18px;
		margin: 2px 0 0;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-steps:has(.hsc-acc-parcels) .hsc-acc-step:last-child {
		padding-bottom: 0;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-steps:has(.hsc-acc-parcels) .hsc-acc-step__label {
		align-self: center;
		font-size: 15px;
	}

	.hsc-acc .hsc-acc-progress .hsc-acc-steps:has(.hsc-acc-parcels) .hsc-acc-parcels {
		margin-top: 8px;
		max-width: 420px;
	}
}

/* Customer details: a long email wraps inside the screen. */
body.hsc-acc .woocommerce-customer-details dd {
	max-width: 100%;
}

/* ---------- 1.21.10 – Avada's customer details ----------
 * Avada prints its own customer details (section.avada-customer-details,
 * heading inside a <header>, dl.customer_details), not WooCommerce's
 * .woocommerce-customer-details, so the 1.21.9 rules did not reach it. */

body.hsc-acc .woocommerce-MyAccount-content .avada-customer-details header h2 {
	margin: 0 0 16px;
	padding: 0;
	border: 0 !important;
	font-size: 24px;
	overflow-wrap: anywhere;
}

body.hsc-acc .woocommerce-MyAccount-content .avada-customer-details h3 {
	font-size: 20px;
}

body.hsc-acc .woocommerce-MyAccount-content dl.customer_details dd {
	max-width: 100%;
	overflow-wrap: anywhere;
	min-width: 0;
}

@media (max-width: 640px) {
	body.hsc-acc .woocommerce-MyAccount-content .avada-customer-details header h2 {
		font-size: 22px;
	}

	body.hsc-acc .woocommerce-MyAccount-content .avada-customer-details h3 {
		font-size: 18px;
	}
}

/* ---------- 1.21.11 – Tracking button on the narrowest phones ----------
 * At 320 px "Track your parcel" (nowrap, 18 px side padding) was wider than
 * the parcel box and stuck out of it. It now fits the box, a bit smaller on
 * screens up to 360 px, and wraps only if it still does not fit. */

.hsc-acc .hsc-acc-parcel .hsc-acc-btn {
	min-width: 0;
	max-width: 100%;
	white-space: normal;
	text-align: center;
	line-height: 1.2;
}

@media (max-width: 360px) {
	.hsc-acc .hsc-acc-parcel .hsc-acc-btn {
		padding-left: 10px;
		padding-right: 10px;
		gap: 6px;
		font-size: 13px;
	}
}

/* ---------- 1.22.1 – Active menu item on visited links ----------
 * The phone pills set "li a, li a:visited { background: #fff }" with the
 * same weight as the active item and later in the file, so a selected item
 * the browser had already visited (Safari on iPhone) turned white with
 * white text. The active item now wins in every state. */

.hsc-acc-layout .woocommerce-MyAccount-navigation li.is-active a,
.hsc-acc-layout .woocommerce-MyAccount-navigation li.is-active a:visited,
.hsc-acc-layout .woocommerce-MyAccount-navigation li.is-active a:hover,
.hsc-acc-layout .woocommerce-MyAccount-navigation li.is-active a:focus {
	border-color: var(--hsc-acc-black);
	background: var(--hsc-acc-black);
	color: #fff;
}

/* ---------- 1.22.3 – Orders list as cards up to 1199 px ----------
 * In the order cards the right column was as wide as the status badge
 * ("Awaiting bank transfer"), which left the products about 75 px at
 * 320 px: the badge now spans the middle column too, so the products get
 * everything left of the total. The cards (and their action grid) are now
 * used up to 1199 px instead of 800: between 801 and 1199 px the table next
 * to the side menu was about 110 px wider than the content, and the action
 * buttons were cut off. */

@media (max-width: 1199px) {
	body.hsc-acc-list-cards .woocommerce-orders-table tr {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas:
			"number status status"
			"date date date"
			"items items total"
			"actions actions actions";
	}

}

/* Order cards up to 1199 px: the status cell is a full-width block, so its badge is aligned right by text. */
@media (max-width: 1199px) {
	body.hsc-acc-list-cards .woocommerce-orders-table td.woocommerce-orders-table__cell-order-status {
		text-align: right;
	}
}

/* Addresses: Avada's column row has negative side margins (-19 px), so the
   two cards stuck out of the content and touched the screen edge at 1280 px. */
body.hsc-acc .woocommerce-MyAccount-content .woocommerce-Addresses {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: auto !important;
}

/* Status badges wrap instead of leaving the screen: translated by Weglot
   they get much longer ("A la espera de la transferencia bancaria",
   "In afwachting van een bankoverschrijving") and went past the edge at 320 px. */
body.hsc-acc .hsc-acc-badge {
	max-width: 100%;
	box-sizing: border-box;
	white-space: normal;
	text-align: center;
	line-height: 1.25;
}

body.hsc-acc-list-cards .woocommerce-orders-table .hsc-acc-badge {
	border-radius: 12px;
}

/* ---------- 1.22.4 – Upright thumbnails with the whole pack ----------
 * The square thumbnails are a crop that cuts the top and bottom off the
 * packs. When HSC Product has its small email copy of the image (104 × 150
 * px, the whole pack), the tile is upright and shows it whole
 * (account_thumb()). Tiles still overlap as before; a square fallback keeps
 * the old look. */

.hsc-acc .hsc-acc-thumb--tall {
	width: 40px;
	height: 58px;
}

.hsc-acc .hsc-acc-thumb--tall img {
	object-fit: contain;
}

@media (max-width: 1199px) {
	.hsc-acc-list-cards .hsc-acc-thumb--tall {
		width: 38px;
		height: 55px;
	}

	.hsc-acc-list-cards .hsc-acc-thumb--tall + .hsc-acc-thumb,
	.hsc-acc-list-cards .hsc-acc-thumb + .hsc-acc-thumb--tall {
		margin-left: -12px;
	}
}

/* ---------- 1.22.5 – Order cards: date under the number, next to the badge ----------
 * The date column prints a long and a short date (account_column_date()).
 * The table shows the long one; the order cards (up to 1199 px) show the
 * short one ("Oct 29, 2026") under the order number, so the status badge
 * sits beside both lines instead of having a row to itself. */

.hsc-acc .hsc-acc-date-short {
	display: none;
}

@media (max-width: 1199px) {
	body.hsc-acc-list-cards .woocommerce-orders-table tr {
		grid-template-areas:
			"number status status"
			"date status status"
			"items items total"
			"actions actions actions";
		row-gap: 8px;
	}

	body.hsc-acc-list-cards .woocommerce-orders-table__cell-order-number {
		align-self: end;
		line-height: 1.2;
	}

	body.hsc-acc-list-cards .woocommerce-orders-table__cell-order-date {
		align-self: start;
		margin-top: -6px;
		line-height: 1.3;
		white-space: nowrap;
	}

	body.hsc-acc-list-cards .woocommerce-orders-table td.woocommerce-orders-table__cell-order-status {
		align-self: center;
	}

	body.hsc-acc-list-cards .hsc-acc-date-long {
		display: none;
	}

	body.hsc-acc-list-cards .hsc-acc-date-short {
		display: inline;
	}
}

/* ---------- 1.22.7 – No focus ring on a clicked menu item ----------
 * After a click, Avada's a:focus rule (and the browser's own focus ring)
 * drew a thin black rectangle around the selected menu item, over the
 * rounded black pill. The ring now only shows for keyboard users
 * (:focus-visible), as a soft outline set off from the pill. */

.hsc-acc-layout .woocommerce-MyAccount-navigation li a:focus,
.hsc-acc-layout .woocommerce-MyAccount-navigation li a:active,
.hsc-acc-layout .woocommerce-MyAccount-navigation li.is-active a:focus {
	outline: none;
	box-shadow: none;
}

.hsc-acc-layout .woocommerce-MyAccount-navigation li a:focus-visible,
.hsc-acc-layout .woocommerce-MyAccount-navigation li.is-active a:focus-visible {
	outline: 2px solid var(--hsc-acc-field);
	outline-offset: 2px;
}

/* ---------- 1.23.2 – Active menu item: no square frame, icon visible ----------
 * Checked on eucommdev on 9 November 2026: the black square rectangle
 * around the selected (rounded) menu item was not the focus outline (1.22.7)
 * but Avada's tab border on the list item (".woo-tabs-horizontal
 * .woocommerce-MyAccount-navigation > ul .is-active": 1px border on three
 * sides, margin-bottom -1px), which outweighed this file's "li { border: 0 }".
 * And the icon of the selected item was black on the black pill: Avada sets
 * "body a::before { color: var(--link_color) }", so the mask's currentColor
 * was the link color instead of the pill's white text. */

.hsc-acc-layout .woocommerce-MyAccount-navigation > ul li,
.hsc-acc-layout .woocommerce-MyAccount-navigation > ul li.is-active {
	min-height: 0;
	margin: 0;
	border: 0 !important;
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li a::before,
.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.is-active a::before {
	color: inherit;
}

/* 1.24.0: the account holder takes the whole first row of the "How to pay" grid. */
.hsc-acc .hsc-acc-bank__row--holder {
	grid-column: 1 / -1;
}

/* ---------- 1.24.2 – "Prefer to pay by card?" in "How to pay" ---------- */

.hsc-acc .hsc-acc-bank__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 16px 0 0;
	padding: 16px 0 0;
	border-top: 1px dashed var(--hsc-acc-line);
}

.hsc-acc .hsc-acc-bank__card-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-size: 14px;
	line-height: 1.4;
}

.hsc-acc .hsc-acc-bank__card-text strong {
	font-size: 15px;
}

.hsc-acc .hsc-acc-bank__card .hsc-acc-btn {
	flex: 0 0 auto;
}

@media (max-width: 640px) {
	.hsc-acc .hsc-acc-bank__card {
		flex-direction: column;
		align-items: stretch;
	}

	.hsc-acc .hsc-acc-bank__card .hsc-acc-btn {
		width: 100%;
		justify-content: center;
	}
}

/* ---------- 1.25.0 – Your collection ---------- */

/* Avada's heading: the page prints its own title in the header block. */
body.hsc-acc-layout.woocommerce-collection .woocommerce-MyAccount-content > .avada-woocommerce-myaccount-heading {
	display: none;
}

.hsc-acc-menu-icons .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--collection a {
	--hsc-acc-menu-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M5 19c0-8 6-14 14-14 0 8-6 14-14 14z'/><path d='M5 19l8-8'/></svg>");
}

.hsc-acc .hsc-acc-col {
	--hsc-acc-col-forest: #0f2a1b;
}

/* Header block. */
.hsc-acc .hsc-acc-col-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	margin: 0 0 20px;
	padding: 28px 32px;
	border-radius: var(--hsc-acc-radius);
	background: var(--hsc-acc-col-forest);
	color: #fff;
}

.hsc-acc .hsc-acc-col-hero__text {
	flex: 1 1 320px;
	min-width: 0;
}

.hsc-acc .hsc-acc-col-hero__eyebrow {
	display: block;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--hsc-acc-lime);
}

.hsc-acc .woocommerce-MyAccount-content h2.hsc-acc-col-hero__title,
.hsc-acc h2.hsc-acc-col-hero__title {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 34px;
	line-height: 1.1;
	font-weight: 800;
	color: #fff;
}

.hsc-acc .hsc-acc-col-hero__intro {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: #dce8d8;
}

.hsc-acc .hsc-acc-col-hero__stats {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

.hsc-acc .hsc-acc-col-stat {
	display: flex;
	flex-direction: column;
	min-width: 92px;
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
}

.hsc-acc .hsc-acc-col-stat strong {
	font-size: 26px;
	line-height: 1.1;
	font-weight: 700;
	color: #fff;
}

.hsc-acc .hsc-acc-col-stat span {
	font-size: 13px;
	color: #dce8d8;
}

/* Filter chips. */
.hsc-acc .hsc-acc-col-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.hsc-acc .hsc-acc-col-chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #d8d4cb;
	border-radius: 999px;
	background: #fff;
	color: var(--hsc-acc-black);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
}

.hsc-acc .hsc-acc-col-chip:hover {
	background: var(--hsc-acc-soft);
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-col-chip.is-on,
.hsc-acc .hsc-acc-col-chip.is-on:hover {
	background: var(--hsc-acc-black);
	border-color: var(--hsc-acc-black);
	color: #fff;
}

.hsc-acc .hsc-acc-col-chip:focus-visible {
	outline: 2px solid var(--hsc-acc-black);
	outline-offset: 2px;
}

/* Strain cards: two per row on wide screens, one on phones. */
.hsc-acc .hsc-acc-col-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.hsc-acc .hsc-acc-col-card {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--hsc-acc-line);
	border-radius: var(--hsc-acc-radius);
}

.hsc-acc .hsc-acc-col-card[hidden] {
	display: none;
}

.hsc-acc .hsc-acc-col-card__media {
	flex: 0 0 auto;
	align-self: flex-start;
}

.hsc-acc .hsc-acc-col-card .hsc-acc-thumb,
.hsc-acc .hsc-acc-col-card .hsc-acc-thumb--tall {
	width: 80px;
	height: 116px;
	border-radius: 12px;
}

.hsc-acc .hsc-acc-col-card .hsc-acc-thumb + .hsc-acc-thumb {
	margin-left: 0;
}

.hsc-acc .hsc-acc-col-card--notify .hsc-acc-thumb img {
	opacity: 0.55;
}

.hsc-acc .hsc-acc-col-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	flex: 1 1 auto;
}

.hsc-acc .hsc-acc-col-card__type {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #2e7d32;
}

.hsc-acc .hsc-acc-col-card__type--triploid {
	color: #a8521c;
}

.hsc-acc .hsc-acc-col-card__type--collective {
	color: #5a3e8c;
}

.hsc-acc .woocommerce-MyAccount-content h3.hsc-acc-col-card__name,
.hsc-acc h3.hsc-acc-col-card__name {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 700;
}

.hsc-acc .hsc-acc-col-card__name a,
.hsc-acc .hsc-acc-col-card__name a:visited {
	color: var(--hsc-acc-black);
	text-decoration: none;
}

.hsc-acc .hsc-acc-col-card__name a:hover {
	text-decoration: underline;
}

.hsc-acc .hsc-acc-col-card__by {
	font-size: 13px;
	font-weight: 600;
	color: var(--hsc-acc-ink);
}

.hsc-acc .hsc-acc-col-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * The colours come from HSC Catalog, one chip at a time, as the two
 * custom properties below (since 1.25.4). Without them — HSC Catalog off,
 * or the option off — the chip keeps the grey it had.
 */
.hsc-acc .hsc-acc-col-card__tags li {
	margin: 0;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--hsc-acc-tag-bg, var(--hsc-acc-soft));
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--hsc-acc-tag-fg, #3d3d3d);
}

.hsc-acc .hsc-acc-col-card__meta {
	font-size: 12px;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-col-card__action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-top: auto;
	padding-top: 6px;
}

.hsc-acc .hsc-acc-col-card__action .hsc-acc-btn {
	min-height: 44px;
	padding: 0 18px;
	font-size: 14px;
}

.hsc-acc .hsc-acc-col-card__pack {
	font-size: 12px;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-col-card__out {
	flex: 1 1 100%;
	font-size: 12px;
	font-weight: 600;
	color: #a8521c;
}

/* Storage tip and "Find your strain". */
.hsc-acc .hsc-acc-col-extra {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.hsc-acc .hsc-acc-col-extra .hsc-acc-card {
	margin: 0;
}

.hsc-acc .hsc-acc-col-extra p,
.hsc-acc .hsc-acc-col-empty p {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--hsc-acc-muted);
}

.hsc-acc .hsc-acc-col-store {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #fffdf5;
	border-color: #efe3b5;
}

.hsc-acc .hsc-acc-col-store__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #f2b807;
	color: var(--hsc-acc-black);
}

.hsc-acc .hsc-acc-col-finder {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.hsc-acc .hsc-acc-col-extra h2,
.hsc-acc .hsc-acc-col-empty h2 {
	font-size: 17px;
}

@media (max-width: 1199px) {
	.hsc-acc .hsc-acc-col-grid,
	.hsc-acc .hsc-acc-col-extra {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.hsc-acc .hsc-acc-col-hero {
		padding: 22px 20px;
	}

	.hsc-acc .woocommerce-MyAccount-content h2.hsc-acc-col-hero__title,
	.hsc-acc h2.hsc-acc-col-hero__title {
		font-size: 28px;
	}

	.hsc-acc .hsc-acc-col-hero__stats {
		width: 100%;
	}

	.hsc-acc .hsc-acc-col-stat {
		flex: 1 1 0;
		min-width: 0;
		padding: 10px 12px;
	}

	.hsc-acc .hsc-acc-col-filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: 0 -16px 16px;
		padding: 0 16px 4px;
		scrollbar-width: none;
	}

	.hsc-acc .hsc-acc-col-chip {
		flex: 0 0 auto;
	}

	.hsc-acc .hsc-acc-col-card {
		gap: 14px;
		padding: 14px;
	}

	.hsc-acc .hsc-acc-col-card .hsc-acc-thumb,
	.hsc-acc .hsc-acc-col-card .hsc-acc-thumb--tall {
		width: 68px;
		height: 98px;
	}

	.hsc-acc .hsc-acc-col-card__action .hsc-acc-btn {
		width: 100%;
	}
}

/* 1.25.1 – how many times a strain was bought, on its image. */
.hsc-acc .hsc-acc-col-card__media {
	position: relative;
}

.hsc-acc .hsc-acc-col-card__times {
	position: absolute;
	right: -6px;
	bottom: -6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 7px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--hsc-acc-black);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}
