html {
	scroll-behavior: smooth;
}

body.acx-storefront {
	background: var(--acx-neutral-warm);
	color: var(--acx-text);
	margin: 0;
	min-width: 320px;
}

body.acx-storefront.is-menu-open {
	overflow: hidden;
}

.acx-skip-link {
	background: var(--acx-black);
	border-radius: 0 0 var(--acx-radius-card) 0;
	color: var(--acx-white);
	left: 0;
	padding: 10px 16px;
	position: fixed;
	top: -100px;
	z-index: 100002;
}

.acx-skip-link:focus {
	top: 0;
}

.acx-store-header {
	background: var(--acx-white);
	box-shadow: var(--acx-shadow-nav);
	height: 64px;
	position: sticky;
	top: 0;
	z-index: 1000;
}

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

.acx-store-header__inner {
	align-items: center;
	display: flex;
	gap: var(--acx-space-4);
	height: 100%;
	margin-inline: auto;
	max-width: var(--acx-content-xl);
	padding-inline: var(--acx-gutter);
}

.acx-store-header__brand {
	color: var(--acx-green-brand);
	font-size: var(--acx-text-4);
	font-weight: 600;
	letter-spacing: -0.03em;
	text-decoration: none;
	white-space: nowrap;
}

.acx-store-header__nav {
	align-items: center;
	display: none;
	gap: var(--acx-space-5);
}

.acx-store-header__nav a,
.acx-store-header__account {
	color: var(--acx-text);
	font-size: var(--acx-text-2);
	font-weight: 600;
	text-decoration: none;
}

.acx-store-header__nav a {
	align-items: center;
	display: flex;
	height: 100%;
	position: relative;
}

.acx-store-header__nav a::after {
	background: var(--acx-green-accent);
	bottom: -8px;
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transition: transform var(--acx-duration-fast) ease;
	width: 100%;
}

.acx-store-header__nav a:hover,
.acx-store-header__nav a:focus,
.acx-store-header__nav a[aria-current="page"],
.acx-store-header__account:hover,
.acx-store-header__account:focus {
	color: var(--acx-green-accent);
}

.acx-store-header__nav a:hover::after,
.acx-store-header__nav a:focus::after,
.acx-store-header__nav a[aria-current="page"]::after {
	transform: scaleX(1);
}

.acx-store-header__actions {
	align-items: center;
	display: flex;
	gap: var(--acx-space-2);
	margin-left: auto;
}

.acx-store-header__account {
	align-items: center;
	display: none;
	gap: var(--acx-space-2);
}

.acx-store-header__cart,
.acx-store-header__menu {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--acx-text);
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	position: relative;
	text-decoration: none;
	width: 44px;
}

.acx-store-header__cart:hover,
.acx-store-header__cart:focus,
.acx-store-header__menu:hover,
.acx-store-header__menu:focus {
	background: rgba(0, 0, 0, 0.06);
	color: var(--acx-green-accent);
}

.acx-store-header__cart-count {
	align-items: center;
	background: var(--acx-green-accent);
	border: 2px solid var(--acx-white);
	border-radius: 50%;
	color: var(--acx-white);
	display: flex;
	font-size: 10px;
	font-weight: 700;
	height: 20px;
	justify-content: center;
	position: absolute;
	right: 0;
	top: 0;
	width: 20px;
}

.acx-mobile-drawer[hidden] {
	display: none;
}

.acx-mobile-drawer {
	inset: 0;
	position: fixed;
	z-index: 100001;
}

.acx-mobile-drawer__backdrop {
	background: rgba(0, 0, 0, 0.58);
	inset: 0;
	position: absolute;
}

.acx-mobile-drawer__panel {
	background: var(--acx-neutral-warm);
	bottom: 0;
	box-shadow: -8px 0 24px rgba(0, 0, 0, 0.16);
	max-width: 360px;
	padding: var(--acx-space-4);
	position: absolute;
	right: 0;
	top: 0;
	width: calc(100% - 48px);
}

.acx-mobile-drawer__top {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: var(--acx-space-5);
}

.acx-mobile-drawer__top > strong {
	color: var(--acx-green-brand);
	font-size: var(--acx-text-4);
}

.acx-mobile-drawer nav {
	display: grid;
	gap: var(--acx-space-1);
}

.acx-mobile-drawer nav a {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	color: var(--acx-text);
	font-size: var(--acx-text-4);
	font-weight: 600;
	padding: 14px 0;
	text-decoration: none;
}

.acx-store-main {
	margin-inline: auto;
	max-width: var(--acx-content-xl);
	min-height: calc(100vh - 64px);
	padding: var(--acx-space-6) var(--acx-gutter) var(--acx-space-9);
}

.acx-shell-placeholder {
	align-items: flex-start;
	background: var(--acx-white);
	border-radius: var(--acx-radius-card);
	box-shadow: var(--acx-shadow-card);
	display: flex;
	flex-direction: column;
	margin-inline: auto;
	max-width: 760px;
	min-height: 360px;
	padding: clamp(32px, 7vw, 64px);
}

.acx-shell-placeholder h1 {
	font-size: clamp(36px, 6vw, 58px);
	line-height: 1.2;
	margin-bottom: var(--acx-space-3);
}

.acx-shell-placeholder > p:last-child {
	color: var(--acx-text-soft);
	font-size: var(--acx-text-4);
	max-width: 560px;
}

.acx-store-frap {
	bottom: 24px;
	position: fixed;
	right: 24px;
	text-decoration: none;
	z-index: 990;
}

.acx-store-frap__count {
	align-items: center;
	background: var(--acx-white);
	border: 2px solid var(--acx-green-accent);
	border-radius: 50%;
	color: var(--acx-green-brand);
	display: flex;
	font-size: 10px;
	font-weight: 700;
	height: 22px;
	justify-content: center;
	position: absolute;
	right: -3px;
	top: -3px;
	width: 22px;
}

.acx-store-footer {
	background: var(--acx-green-house);
	color: var(--acx-text-white);
}

.acx-store-footer__inner {
	display: grid;
	gap: var(--acx-space-5);
	margin-inline: auto;
	max-width: var(--acx-content-xl);
	padding: var(--acx-space-8) var(--acx-gutter);
}

.acx-store-footer__brand {
	font-size: var(--acx-text-4);
}

.acx-store-footer p,
.acx-store-footer a {
	color: var(--acx-text-white-soft);
}

.acx-store-footer p {
	margin-block: var(--acx-space-2) 0;
}

.acx-store-footer nav {
	display: grid;
	gap: var(--acx-space-2);
}

.acx-store-footer nav a {
	text-decoration: none;
}

.acx-store-footer nav a:hover,
.acx-store-footer nav a:focus {
	color: var(--acx-white);
	text-decoration: underline;
}

.acx-store-footer__legal {
	font-size: var(--acx-text-1);
}

@media (max-width: 782px) {
	.admin-bar .acx-store-header {
		top: 46px;
	}
}

@media (min-width: 480px) {
	.acx-store-header {
		height: 72px;
	}

	.acx-store-main {
		min-height: calc(100vh - 72px);
	}
}

@media (min-width: 768px) {
	.acx-store-header {
		height: 83px;
	}

	.acx-store-header__nav,
	.acx-store-header__account {
		display: flex;
	}

	.acx-store-header__menu {
		display: none;
	}

	.acx-store-main {
		min-height: calc(100vh - 83px);
		padding-top: var(--acx-space-8);
	}

	.acx-store-footer__inner {
		grid-template-columns: 2fr 1fr;
	}

	.acx-store-footer__legal {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.acx-store-header {
		height: 99px;
	}

	.acx-store-main {
		min-height: calc(100vh - 99px);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

