html {
	scroll-behavior: smooth;
	scroll-padding-top: 92px;
}

body {
	background: #f7f7f2;
	color: #161616;
}

#page.store-site {
	background: #fff;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
}

.store-site .site-content-contain {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	width: 100%;
}

.store-site .site-content {
	flex: 1 0 auto;
	width: 100%;
}

.store-site .wrap {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	padding-left: 20px;
	padding-right: 20px;
	width: 100%;
}

.store-site #primary {
	box-sizing: border-box;
	float: none;
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	width: 100%;
}

.store-site #secondary {
	display: none;
}

.store-site:not(.home):not(.front-page) #primary {
	background-color: #fff;
	padding: 30px;
}

.store-header {
	background: rgba(247, 247, 242, 0.92);
	border-bottom: 1px solid rgba(22, 22, 22, 0.08);
	flex: 0 0 auto;
	position: sticky;
	top: 0;
	z-index: 20;
}

.store-header__inner {
	align-items: center;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(160px, 1fr) auto minmax(90px, 1fr);
	margin: 0 auto;
	max-width: 1180px;
	min-height: 74px;
	padding: 0 20px;
}

.store-brand__name,
.store-brand .custom-logo-link {
	color: #161616;
	display: inline-flex;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.store-brand img {
	display: block;
	max-height: 42px;
	width: auto;
}

.store-nav__list {
	align-items: center;
	display: flex;
	gap: 24px;
	margin: 0;
}

.store-nav__list li {
	position: relative;
}

.store-nav__list a {
	color: #2a2a28;
	display: block;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.store-nav__list a:hover,
.store-nav__list a:focus {
	color: #227c68;
}

.store-nav__list .sub-menu {
	background: #fff;
	border: 1px solid #ece7df;
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.09);
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 190px;
	opacity: 0;
	padding: 8px;
	position: absolute;
	top: calc(100% + 12px);
	transform: translateY(4px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	visibility: hidden;
	z-index: 20;
}

.store-nav__list .sub-menu a {
	font-size: 13px;
	font-weight: 700;
	padding: 10px 12px;
	white-space: nowrap;
}

.store-nav__list .menu-item-has-children:hover > .sub-menu,
.store-nav__list .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.store-header__actions {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-self: end;
}

.store-cart-link,
.store-account-link {
	align-items: center;
	border: 1px solid #161616;
	color: #161616;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	min-height: 38px;
	padding: 0 14px;
	text-decoration: none;
}

.store-account-link__icon {
	display: inline-block;
	height: 18px;
	width: 18px;
}

.store-account-link__icon svg {
	display: block;
	fill: currentColor;
	height: 100%;
	width: 100%;
}

.store-cart-link span {
	align-items: center;
	background: #161616;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	height: 20px;
	justify-content: center;
	min-width: 20px;
	padding: 0 6px;
}

body.home #content,
body.front-page #content {
	padding: 0;
}

.store-home {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1280px;
	padding: 0 20px 72px;
	width: 100%;
}

body.home #primary.store-home,
body.front-page #primary.store-home {
	background-color: transparent;
	float: none;
	margin: 0 auto;
	max-width: 1280px;
	padding: 0 20px 72px;
	width: 100%;
}

.store-hero {
	align-items: center;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.36) 44%, rgba(255, 255, 255, 0.08) 100%),
		url("../img/home-hero.webp") center center / cover no-repeat;
	border: 1px solid rgba(22, 22, 22, 0.08);
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 680px);
	margin: 32px 0 56px;
	min-height: 520px;
	overflow: hidden;
	padding: 56px;
	position: relative;
}

.store-hero:before {
	display: none;
}

.store-hero__content {
	position: relative;
	z-index: 1;
}

.store-kicker {
	color: #227c68;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.store-hero h1 {
	color: #121212;
	font-size: 54px;
	font-weight: 700;
	line-height: 1;
	margin: 0;
	max-width: 720px;
}

.store-hero__lead {
	color: #4d4d47;
	font-size: 18px;
	line-height: 1.7;
	margin: 24px 0 0;
	max-width: 560px;
}

.store-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.store-button {
	align-items: center;
	border: 1px solid #161616;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	text-decoration: none;
	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.store-button:hover,
.store-button:focus {
	transform: translateY(-2px);
}

.store-button--primary {
	background: #161616;
	color: #fff;
}

.store-button--ghost {
	background: transparent;
	color: #161616;
}

.store-hero__visual {
	display: none;
	height: 420px;
}

.store-phone {
	border: 10px solid #141414;
	border-radius: 34px;
	box-shadow: 0 26px 56px rgba(0, 0, 0, 0.18);
	height: 330px;
	position: absolute;
	width: 170px;
}

.store-phone span {
	border-radius: 22px;
	display: block;
	height: 100%;
}

.store-phone--front {
	left: 44px;
	top: 52px;
	transform: rotate(-10deg);
}

.store-phone--front span {
	background: linear-gradient(160deg, #111 0%, #313131 52%, #74d6b8 100%);
}

.store-phone--back {
	right: 34px;
	top: 16px;
	transform: rotate(12deg);
}

.store-phone--back span {
	background:
		radial-gradient(circle at 50% 22%, #fff 0 7px, transparent 8px),
		linear-gradient(160deg, #f77864, #f6d58f 52%, #d7f1e6);
}

.store-section {
	margin-top: 56px;
}

.store-section__header {
	display: block;
	margin-bottom: 22px;
	max-width: 720px;
}

.store-section__header h2 {
	color: #161616;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
}

.store-category-header {
	border-bottom: 1px solid rgba(22, 22, 22, 0.09);
	margin: 0 0 28px;
	padding: 0 0 24px;
}

.store-category-header h1 {
	color: #161616;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
}

.store-product-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.store-product-card {
	background: #fff;
	border: 1px solid rgba(22, 22, 22, 0.09);
	min-width: 0;
}

.store-product-card__link {
	color: inherit;
	display: block;
	height: 100%;
	text-decoration: none;
}

.store-product-card__image {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #efeee8;
	display: flex;
	justify-content: center;
	overflow: hidden;
}

.store-product-card__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.store-product-card__body {
	display: block;
	padding: 16px;
}

.store-product-card h3 {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.store-product-card__link:hover h3,
.store-product-card__link:focus h3 {
	color: #227c68;
}

.store-product-card__price {
	color: #227c68;
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-top: 10px;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-height: 360px;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	width: 100%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	line-height: 1.35;
	min-height: 3.8em;
}

.woocommerce ul.products li.product .price {
	align-items: baseline;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	justify-content: center;
	line-height: 1.3;
}

.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price ins {
	display: inline-flex;
	float: none;
	margin: 0;
}

.woocommerce ul.products li.product .price del .woocommerce-Price-amount.amount {
	margin-left: 0;
}

.woocommerce ul.products li.product .price ins {
	background: transparent;
	font-weight: 700;
	text-decoration: none;
}

.store-case-visual,
.store-product-card__placeholder {
	border: 8px solid #151515;
	border-radius: 28px;
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
	display: block;
	height: 72%;
	position: relative;
	width: 42%;
}

.store-case-visual:before,
.store-product-card__placeholder:before {
	background: #161616;
	border-radius: 999px;
	content: "";
	height: 14px;
	left: 50%;
	position: absolute;
	top: 14px;
	transform: translateX(-50%);
	width: 14px;
}

.store-case-visual--rose {
	background: linear-gradient(160deg, #f67a82, #f8c8d1);
}

.store-case-visual--clear {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.6), #bfe7f1);
}

.store-case-visual--lime {
	background: linear-gradient(160deg, #d8ef74, #69c7a7);
}

.store-case-visual--night {
	background: linear-gradient(160deg, #23243a, #7765d8);
}

.store-product-card__placeholder {
	background: linear-gradient(160deg, #f6d58f, #74d6b8);
}

.store-category-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-category-card {
	align-items: center;
	border: 1px solid rgba(22, 22, 22, 0.09);
	color: #161616;
	display: grid;
	gap: 20px;
	grid-template-columns: 112px minmax(0, 1fr);
	min-height: 170px;
	padding: 22px;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-category-card:hover,
.store-category-card:focus {
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.09);
	transform: translateY(-3px);
}

.store-category-card--mint {
	background: #dff2ea;
}

.store-category-card--coral {
	background: #f8ded3;
}

.store-category-card--ink {
	background: #e5e4ef;
}

.store-category-card__media {
	align-items: center;
	background: rgba(255, 255, 255, 0.78);
	display: flex;
	height: 112px;
	justify-content: center;
	padding: 14px;
	width: 112px;
}

.store-category-card__media img {
	display: block;
	height: auto;
	max-height: 54px;
	max-width: 100%;
	width: auto;
}

.store-category-card__text strong,
.store-category-card__text small {
	display: block;
}

.store-category-card__text strong {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
}

.store-category-card__text small {
	color: #4d4d47;
	font-size: 14px;
	line-height: 1.55;
	margin-top: 8px;
}

.store-footer {
	background: #161616;
	color: #fff;
	flex: 0 0 auto;
	margin-top: auto;
	width: 100%;
}

.store-footer__inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1180px;
	min-height: 92px;
	padding: 0 20px;
	width: 100%;
}

.store-footer__brand {
	font-size: 15px;
	font-weight: 800;
	margin: 0;
}

.store-footer__nav {
	display: flex;
	gap: 18px;
}

.store-footer__nav a {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 980px) {
	.store-hero {
		grid-template-columns: 1fr;
		padding: 42px;
	}

	.store-hero__visual {
		height: 320px;
	}

	.store-product-grid,
	.store-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.store-header__inner {
		gap: 14px;
		grid-template-columns: 1fr auto;
		min-height: auto;
		padding: 16px 14px;
	}

	.store-nav {
		grid-column: 1 / -1;
		order: 3;
		width: 100%;
	}

	.store-nav__list {
		gap: 18px;
		justify-content: center;
		overflow-x: auto;
		padding-bottom: 2px;
	}

	.store-nav__list .sub-menu {
		box-shadow: none;
		display: none;
		left: auto;
		min-width: 0;
		position: static;
		top: auto;
		transform: none;
		visibility: visible;
	}

	.store-cart-link,
	.store-account-link {
		min-height: 36px;
		padding: 0 11px;
	}

	.store-account-link__text {
		display: none;
	}

	.store-home {
		padding: 0 14px 48px;
	}

	.store-hero {
		border-left: 0;
		border-right: 0;
		margin-left: -30px;
		margin-right: -30px;
		margin-top: -30px;
		min-height: auto;
		padding: 30px 22px;
		width: calc(100% + 60px);
	}

	.store-hero h1 {
		font-size: 36px;
	}

	.store-hero__lead {
		font-size: 16px;
	}

	.store-phone {
		height: 250px;
		width: 132px;
	}

	.store-product-grid,
	.store-category-grid {
		grid-template-columns: 1fr;
	}

	.woocommerce ul.products li.product a.woocommerce-loop-product__link {
		min-height: 320px;
	}

	.store-footer__inner {
		align-items: flex-start;
		display: block;
		padding: 24px 14px;
	}

	.store-footer__nav {
		flex-wrap: wrap;
		margin-top: 12px;
	}
}

/* Fix: cart remove (trash) button was clipped by a vertical scrollbar from overflow-y:auto */
.wc-block-cart-item__remove-link {
	overflow: hidden;
}
