/* ==========================================================================
   Leoverde design foundation
   ========================================================================== */

@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader/Newsreader-Variable.ttf") format("truetype");
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-display/PlayfairDisplay-Variable.ttf") format("truetype");
}

@font-face {
	font-family: "Hedvig Letters Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/hedvig-letters-serif/HedvigLettersSerif-Variable.ttf") format("truetype");
}

@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/figtree/Figtree-Variable.ttf") format("truetype");
}

:root {
	/* Brand colors */
	--lv-color-ink: #1f2c28;
	--lv-color-forest: #33413c;
	--lv-color-forest-soft: #43514b;
	--lv-color-sage: #b1b3a0;
	--lv-color-sage-light: #dedfd4;
	--lv-color-moss: #6f774b;
	--lv-color-canvas: #f4f0e8;
	--lv-color-paper: #fbf9f4;
	--lv-color-white: #ffffff;
	--lv-color-text: #2d312e;
	--lv-color-muted: #6b706a;
	--lv-color-line: #d8d4c9;
	--lv-color-gold: #b88a2f;
	--lv-color-focus: #6f774b;

	/* Surface palette: keep page and component backgrounds to these roles. */
	--lv-surface-page: var(--lv-color-canvas);
	--lv-surface-card: var(--lv-color-paper);
	--lv-surface-tint: var(--lv-color-sage-light);
	--lv-surface-accent: var(--lv-color-sage);
	--lv-surface-dark: var(--lv-color-ink);

	/* Typography */
	--lv-font-display: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
	--lv-font-sans: Figtree, "Avenir Next", "Segoe UI", Arial, sans-serif;
	--lv-text-xs: 0.75rem;
	--lv-text-sm: 0.875rem;
	--lv-text-base: 1rem;
	--lv-text-lead: clamp(1.0625rem, 1.5vw, 1.1875rem);
	--lv-text-h3: clamp(1.4rem, 2.4vw, 1.9rem);
	--lv-text-h2: clamp(2rem, 4vw, 3.125rem);
	--lv-text-display: clamp(3rem, 7vw, 5.5rem);

	/* Fluid spacing */
	--lv-space-1: clamp(0.375rem, 0.25rem + 0.3vw, 0.625rem);
	--lv-space-2: clamp(0.625rem, 0.5rem + 0.45vw, 1rem);
	--lv-space-3: clamp(1rem, 0.8rem + 0.65vw, 1.5rem);
	--lv-space-4: clamp(1.5rem, 1.15rem + 1vw, 2.25rem);
	--lv-space-5: clamp(2.25rem, 1.65rem + 1.7vw, 3.75rem);
	--lv-space-6: clamp(3.5rem, 2.4rem + 3vw, 6rem);
	--lv-space-7: clamp(5rem, 3.5rem + 5vw, 9rem);

	/* Layout */
	--lv-container: 80rem;
	--lv-reading-width: 47.5rem;
	--lv-gutter: clamp(1rem, 3.5vw, 3rem);
	--lv-header-height: 4.25rem;

	/* Shape, borders and motion */
	--lv-radius-sm: 0.25rem;
	--lv-radius-md: 0.75rem;
	--lv-radius-lg: 1.125rem;
	--lv-border: 1px solid var(--lv-color-line);
	--lv-shadow-soft: 0 1.25rem 3.5rem rgb(31 44 40 / 8%);
	--lv-shadow-card: 0 0.75rem 2rem rgb(31 44 40 / 6%);
	--lv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--lv-transition: 180ms var(--lv-ease);
}

/* Reset and base */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--lv-color-canvas);
	color: var(--lv-color-text);
	font-family: var(--lv-font-sans);
	font-size: var(--lv-text-base);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.lv-menu-open {
	overflow: hidden;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: var(--lv-color-ink);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--lv-color-forest-soft);
}

:focus-visible {
	outline: 2px solid var(--lv-color-focus);
	outline-offset: 4px;
}

h1,
h2,
h3,
h4 {
	margin-block: 0 0.55em;
	color: var(--lv-color-ink);
	font-family: var(--lv-font-display);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.05;
}

p {
	margin-block: 0 1em;
}

::selection {
	background: var(--lv-color-sage);
	color: var(--lv-color-ink);
}

/* Accessibility */

.lv-screen-reader-text,
.lv-skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lv-skip-link:focus {
	z-index: 100000;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--lv-color-paper);
	color: var(--lv-color-ink);
}

/* Layout primitives */

.lv-container {
	width: min(100% - (2 * var(--lv-gutter)), var(--lv-container));
	margin-inline: auto;
}

.lv-content-shell,
.lv-shop-shell {
	width: min(100% - (2 * var(--lv-gutter)), var(--lv-container));
	min-height: 45vh;
	margin-inline: auto;
	padding-block: var(--lv-space-6);
}

.lv-entry {
	width: min(100%, var(--lv-reading-width));
	margin-inline: auto;
}

.lv-entry__header {
	margin-bottom: var(--lv-space-5);
}

.lv-entry__title {
	max-width: 18ch;
	font-size: var(--lv-text-display);
}

.lv-eyebrow {
	margin-bottom: var(--lv-space-2);
	color: var(--lv-color-muted);
	font-size: var(--lv-text-xs);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.lv-prose {
	font-size: var(--lv-text-lead);
}

.lv-prose > * + * {
	margin-top: 1.2em;
}

.lv-prose h2 {
	margin-top: 1.8em;
	font-size: var(--lv-text-h2);
}

.lv-prose h3 {
	margin-top: 1.5em;
	font-size: var(--lv-text-h3);
}

.alignwide {
	width: min(100vw - (2 * var(--lv-gutter)), var(--lv-container));
	max-width: none;
	margin-inline: calc((min(100vw - (2 * var(--lv-gutter)), var(--lv-container)) - min(100%, var(--lv-reading-width))) / -2);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
}

/* Buttons */

.lv-button,
.wp-element-button,
.woocommerce :where(.button, button.button, input.button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.8rem 1.25rem;
	border: 1px solid var(--lv-color-ink);
	border-radius: var(--lv-radius-sm);
	background: var(--lv-color-ink);
	color: var(--lv-color-white);
	font-family: var(--lv-font-sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		background-color var(--lv-transition),
		border-color var(--lv-transition),
		color var(--lv-transition),
		transform var(--lv-transition);
}

.lv-button svg {
	width: 1rem;
	height: 1rem;
	margin-left: 0.55rem;
}

.lv-button:hover,
.wp-element-button:hover,
.woocommerce :where(.button, button.button, input.button):hover {
	border-color: var(--lv-color-forest-soft);
	background: var(--lv-color-forest-soft);
	color: var(--lv-color-white);
	transform: translateY(-1px);
}

.lv-button--secondary {
	background: transparent;
	color: var(--lv-color-ink);
}

/* Announcement and header shell */

.lv-site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	border-bottom: var(--lv-border);
	background: rgb(251 249 244 / 94%);
	backdrop-filter: blur(14px);
}

.lv-site-header--overlay {
	position: fixed;
	right: 0;
	left: 0;
	border-bottom: 0;
	background: transparent;
	backdrop-filter: none;
	transition: background-color var(--lv-transition), border-color var(--lv-transition), backdrop-filter var(--lv-transition);
}

.lv-site-header--overlay.is-scrolled {
	border-bottom: 1px solid rgb(31 44 40 / 12%);
	background: rgb(251 249 244 / 90%);
	backdrop-filter: blur(14px);
}

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

.lv-announcement {
	border-bottom: 1px solid rgb(31 44 40 / 10%);
	background: var(--lv-color-sage);
	color: var(--lv-color-ink);
	font-family: var(--lv-font-display);
	font-size: 0.875rem;
}

.lv-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-height: 2.25rem;
}

.lv-header-main {
	position: relative;
}

.lv-site-header--overlay .lv-header-main {
	background: transparent;
}

.lv-header-main__inner {
	display: grid;
	grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr);
	align-items: center;
	gap: var(--lv-space-4);
	min-height: var(--lv-header-height);
}

.lv-brand {
	justify-self: start;
}

.lv-brand .custom-logo-link,
.lv-brand__fallback {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--lv-color-ink);
	font-size: 1.0625rem;
	font-weight: 650;
	letter-spacing: 0.07em;
	text-decoration: none;
	text-transform: uppercase;
}

.lv-brand .custom-logo {
	width: auto;
	max-width: 13rem;
	height: 2.5rem;
	object-fit: contain;
}

.lv-brand__logo {
	width: auto;
	height: 2.65rem;
	object-fit: contain;
}

/* WooCommerce's generic image rule otherwise restores the logo's large
   intrinsic ratio on catalog, cart and account screens. */
.woocommerce .lv-brand__logo {
	width: auto;
	max-width: 13rem;
	height: 2.65rem;
}

.lv-primary-nav__list,
.lv-primary-nav__list ul,
.lv-footer-menu,
.lv-legal-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.lv-primary-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1.25rem, 3vw, 3rem);
}

.lv-primary-nav li {
	position: relative;
}

.lv-primary-nav a {
	display: block;
	padding-block: 1rem;
	color: var(--lv-color-text);
	font-size: var(--lv-text-xs);
	font-weight: 600;
	letter-spacing: 0.065em;
	text-decoration: none;
	text-transform: uppercase;
}

.lv-primary-nav a:hover,
.lv-primary-nav .current-menu-item > a {
	color: var(--lv-color-forest);
}

.lv-primary-nav .sub-menu {
	position: absolute;
	top: calc(100% - 0.35rem);
	left: 50%;
	width: max-content;
	min-width: 13rem;
	padding: 0.65rem;
	border: var(--lv-border);
	border-radius: var(--lv-radius-md);
	background: var(--lv-color-paper);
	box-shadow: var(--lv-shadow-card);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 0.5rem);
	transition:
		opacity var(--lv-transition),
		transform var(--lv-transition),
		visibility var(--lv-transition);
}

.lv-primary-nav li:hover > .sub-menu,
.lv-primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.lv-primary-nav .sub-menu a {
	padding: 0.7rem 0.8rem;
	border-radius: var(--lv-radius-sm);
	text-transform: none;
}

.lv-primary-nav .sub-menu a:hover {
	background: var(--lv-color-canvas);
}

.lv-header-actions {
	display: flex;
	align-items: center;
	justify-self: end;
	gap: 0.35rem;
}

.lv-icon-button {
	position: relative;
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--lv-color-ink);
	cursor: pointer;
	text-decoration: none;
	transition: background-color var(--lv-transition);
}

.lv-icon-button:hover {
	background: var(--lv-color-sage-light);
	color: var(--lv-color-ink);
}

.lv-icon-button svg {
	width: 1.55rem;
	height: 1.55rem;
}

.lv-header-actions__cart-count {
	position: absolute;
	top: 0.1rem;
	right: -0.05rem;
	display: grid;
	min-width: 1.1rem;
	height: 1.1rem;
	padding-inline: 0.2rem;
	place-items: center;
	border-radius: 999px;
	background: var(--lv-color-ink);
	color: var(--lv-color-white);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1;
}

.lv-menu-toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	place-items: center;
	border: 0;
	background: transparent;
	color: var(--lv-color-ink);
	cursor: pointer;
}

.lv-menu-toggle__lines,
.lv-menu-toggle__lines::before,
.lv-menu-toggle__lines::after {
	display: block;
	width: 1.35rem;
	height: 1px;
	background: currentColor;
	transition: transform var(--lv-transition);
}

.lv-menu-toggle__lines {
	position: relative;
}

.lv-menu-toggle__lines::before,
.lv-menu-toggle__lines::after {
	position: absolute;
	left: 0;
	content: "";
}

.lv-menu-toggle__lines::before {
	transform: translateY(-0.4rem);
}

.lv-menu-toggle__lines::after {
	transform: translateY(0.4rem);
}

.lv-menu-toggle[aria-expanded="true"] .lv-menu-toggle__lines {
	background: transparent;
}

.lv-menu-toggle[aria-expanded="true"] .lv-menu-toggle__lines::before {
	transform: rotate(45deg);
}

.lv-menu-toggle[aria-expanded="true"] .lv-menu-toggle__lines::after {
	transform: rotate(-45deg);
}

.lv-header-search {
	border-top: var(--lv-border);
	background: var(--lv-color-paper);
}

.lv-header-search__form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--lv-space-2);
	padding-block: var(--lv-space-3);
}

.lv-header-search input[type="search"] {
	width: 100%;
	min-height: 3rem;
	padding-inline: 1rem;
	border: var(--lv-border);
	border-radius: var(--lv-radius-sm);
	background: var(--lv-color-white);
	color: var(--lv-color-text);
}

/* Homepage */

.lv-front-page {
	overflow: clip;
}

.lv-home-hero {
	position: relative;
	min-height: clamp(35rem, 52vw, 48rem);
	isolation: isolate;
	overflow: hidden;
	background: var(--lv-surface-tint);
}

.lv-home-hero::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(90deg, rgb(244 240 232 / 62%) 0%, rgb(244 240 232 / 16%) 48%, transparent 70%);
	content: "";
	pointer-events: none;
}

.lv-home-hero__background {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% center;
}

.lv-home-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(18rem, 0.8fr) minmax(26rem, 1.2fr);
	min-height: inherit;
}

.lv-home-hero__content {
	z-index: 2;
	align-self: center;
	max-width: 35rem;
	padding-block: var(--lv-space-6);
	transform: translateY(2rem);
}

.lv-home-hero h1 {
	max-width: 8.8ch;
	margin-bottom: 1.25rem;
	font-size: clamp(3.15rem, 4.85vw, 5.25rem);
	line-height: 0.98;
}

.lv-home-hero__lead {
	max-width: 33rem;
	margin-bottom: 1.75rem;
	font-size: var(--lv-text-lead);
	line-height: 1.55;
}

.lv-home-hero .lv-button {
	min-height: 3.15rem;
	padding-inline: 1.45rem;
}

.lv-home-hero__benefits {
	display: flex;
	padding: 0;
	margin: 2.5rem 0 0;
	list-style: none;
}

.lv-home-hero__benefits li {
	display: grid;
	min-width: 8.2rem;
	justify-items: center;
	gap: 0.65rem;
	padding-inline: 1.15rem;
	border-right: var(--lv-border);
	color: var(--lv-color-forest-soft);
	font-size: 0.6875rem;
	font-weight: 650;
	letter-spacing: 0.055em;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
}

.lv-home-hero__benefits li:first-child {
	padding-left: 0;
}

.lv-home-hero__benefits li:last-child {
	border-right: 0;
}

.lv-home-hero__benefit-icon {
	display: grid;
	width: 2.65rem;
	height: 2.65rem;
	place-items: center;
	border: 1px solid rgb(31 44 40 / 28%);
	border-radius: 50%;
	background: rgb(251 249 244 / 44%);
}

.lv-home-hero__benefit-icon svg {
	width: 1.85rem;
	height: 1.85rem;
}

.lv-home-products {
	padding-block: clamp(4rem, 6vw, 6.75rem);
	background: var(--lv-color-paper);
}

.lv-section-heading {
	max-width: 46rem;
	margin: 0 auto var(--lv-space-5);
	text-align: center;
}

.lv-section-heading .lv-eyebrow {
	margin-bottom: 0.65rem;
}

.lv-section-heading h2 {
	margin-bottom: 0.45rem;
	font-size: var(--lv-text-h2);
}

.lv-section-heading > p:last-child {
	margin: 0;
	color: var(--lv-color-muted);
}

.lv-product-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--lv-space-3);
}

.lv-product-card {
	display: grid;
	grid-template-columns: minmax(8rem, 0.95fr) minmax(9rem, 1.05fr);
	min-height: 18rem;
	overflow: hidden;
	border: var(--lv-border);
	border-radius: var(--lv-radius-md);
	background: var(--lv-color-canvas);
}

.lv-product-card__media {
	display: grid;
	min-width: 0;
	place-items: center;
	padding: 1rem 0 1rem 1rem;
	overflow: hidden;
	background: var(--lv-surface-tint);
}

.lv-product-card__media img {
	width: 118%;
	max-width: none;
	height: 15.5rem;
	object-fit: contain;
	transform: scale(1.16);
	transition: transform 260ms var(--lv-ease);
}

.lv-product-card:hover .lv-product-card__media img {
	transform: scale(1.21);
}

.lv-product-card__content {
	display: flex;
	min-width: 0;
	padding: 1.65rem 1.4rem;
	flex-direction: column;
}

.lv-product-card__label {
	margin-bottom: 0.65rem;
	color: var(--lv-color-moss);
	font-size: 0.6875rem;
	font-weight: 650;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.lv-product-card h3 {
	margin-bottom: 0.7rem;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.08;
}

.lv-product-card h3 a {
	text-decoration: none;
}

.lv-product-card__description {
	margin-bottom: 1rem;
	color: var(--lv-color-muted);
	font-size: 0.875rem;
	line-height: 1.55;
}

.lv-product-card__footer {
	display: grid;
	justify-items: start;
	gap: 1rem;
	margin-top: auto;
}

.lv-product-card__price {
	color: var(--lv-color-ink);
	font-family: var(--lv-font-display);
	font-size: 1.45rem;
	line-height: 1;
}

.lv-product-card__price del {
	color: var(--lv-color-muted);
	font-size: 0.85rem;
	opacity: 0.72;
}

.lv-product-card__price ins {
	text-decoration: none;
}

.lv-product-card__button {
	min-height: 2.65rem;
	padding: 0.72rem 0.9rem;
	font-size: 0.6875rem;
}

.lv-home-products__empty {
	display: grid;
	grid-template-columns: minmax(10rem, 20rem) minmax(14rem, 26rem);
	width: min(100%, 48rem);
	align-items: center;
	justify-content: center;
	gap: var(--lv-space-4);
	margin-inline: auto;
	padding: var(--lv-space-4);
	border: var(--lv-border);
	border-radius: var(--lv-radius-md);
	background: var(--lv-color-paper);
}

.lv-home-products__empty img {
	width: 100%;
	height: 18rem;
	object-fit: contain;
}

.lv-home-products__all {
	margin: 2rem 0 0;
	text-align: center;
}

.lv-home-products__all a {
	font-size: var(--lv-text-sm);
	font-weight: 600;
	text-decoration: none;
}

.lv-home-trust {
	border-block: var(--lv-border);
	background: var(--lv-color-sage-light);
}

.lv-home-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lv-home-trust__item {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 1rem;
	min-height: 7.25rem;
	padding: 1.35rem var(--lv-space-3);
	border-right: 1px solid rgb(31 44 40 / 16%);
}

.lv-home-trust__item:first-child {
	padding-left: 0;
}

.lv-home-trust__item:last-child {
	padding-right: 0;
	border-right: 0;
}

.lv-home-trust__icon {
	display: grid;
	width: 3.25rem;
	height: 3.25rem;
	place-items: center;
	border: 1px solid rgb(31 44 40 / 26%);
	border-radius: 50%;
	color: var(--lv-color-forest);
}

.lv-home-trust__icon svg {
	width: 2rem;
	height: 2rem;
}

.lv-home-trust h3 {
	margin-bottom: 0.2rem;
	font-family: var(--lv-font-sans);
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.075em;
	line-height: 1.2;
	text-transform: uppercase;
}

.lv-home-trust p {
	margin: 0;
	color: var(--lv-color-muted);
	font-size: 0.75rem;
	line-height: 1.35;
}

/* Footer shell */

.lv-site-footer {
	border-top: var(--lv-border);
	background: var(--lv-color-ink);
	color: rgb(255 255 255 / 78%);
}

.lv-site-footer a {
	color: var(--lv-color-white);
	text-decoration: none;
}

.lv-site-footer__main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: var(--lv-space-5);
	padding-block: var(--lv-space-6);
}

.lv-site-footer__brand > a {
	font-family: var(--lv-font-display);
	font-size: var(--lv-text-h3);
}

.lv-site-footer__brand p {
	max-width: 36ch;
	margin-top: var(--lv-space-2);
}

.lv-footer-menu {
	display: grid;
	gap: 0.55rem;
}

.lv-site-footer__trust p {
	margin-bottom: 0.35rem;
}

.lv-site-footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--lv-space-3);
	padding-block: var(--lv-space-3);
	border-top: 1px solid rgb(255 255 255 / 14%);
	font-size: var(--lv-text-xs);
}

.lv-site-footer__legal p {
	margin: 0;
}

.lv-legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

/* Posts and empty states */

.lv-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--lv-space-4);
}

.lv-post-card {
	overflow: hidden;
	border: var(--lv-border);
	border-radius: var(--lv-radius-md);
	background: var(--lv-color-paper);
}

.lv-post-card__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.lv-post-card__body {
	padding: var(--lv-space-3);
}

.lv-post-card h2 {
	font-size: var(--lv-text-h3);
}

.lv-post-card h2 a {
	text-decoration: none;
}

.lv-empty-state {
	display: grid;
	justify-items: start;
	align-content: center;
}

/* WooCommerce integration: presentation only */

.lv-shop-shell {
	background: var(--lv-color-canvas);
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	color: var(--lv-color-muted);
	font-size: var(--lv-text-sm);
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--lv-space-4);
}

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

.woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: var(--lv-space-3);
	border: var(--lv-border);
	border-radius: var(--lv-radius-md);
	background: var(--lv-color-paper);
}

.woocommerce ul.products li.product a img {
	margin-bottom: var(--lv-space-3);
	border-radius: calc(var(--lv-radius-md) - 0.2rem);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--lv-color-ink);
	font-family: var(--lv-font-display);
	font-size: var(--lv-text-h3);
	font-weight: 400;
}

.woocommerce ul.products li.product .price {
	color: var(--lv-color-text);
	font-size: var(--lv-text-base);
}

.woocommerce :where(input.input-text, textarea, select) {
	min-height: 2.9rem;
	padding: 0.65rem 0.8rem;
	border: var(--lv-border);
	border-radius: var(--lv-radius-sm);
	background: var(--lv-color-white);
	color: var(--lv-color-text);
}

.woocommerce table.shop_table {
	border-color: var(--lv-color-line);
	border-radius: var(--lv-radius-md);
	background: var(--lv-color-paper);
}

.woocommerce :where(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	border-top-color: var(--lv-color-forest);
	background: var(--lv-color-paper);
	color: var(--lv-color-text);
}

/* Responsive shell */

@media (max-width: 1100px) {
	.lv-product-cards {
		grid-template-columns: 1fr;
		width: min(100%, 48rem);
		margin-inline: auto;
	}

	.lv-product-card {
		grid-template-columns: minmax(13rem, 0.8fr) minmax(17rem, 1.2fr);
		min-height: 16rem;
	}
}

@media (max-width: 960px) {
	.lv-header-main__inner {
		grid-template-columns: auto 1fr auto;
		min-height: 4.25rem;
	}

	.lv-menu-toggle {
		display: grid;
		grid-column: 1;
		grid-row: 1;
	}

	.lv-brand {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
	}

	.lv-header-actions {
		grid-column: 3;
		grid-row: 1;
	}

	.lv-primary-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		max-height: calc(100vh - 7.5rem);
		padding: var(--lv-space-3) var(--lv-gutter) var(--lv-space-5);
		overflow: auto;
		border-top: var(--lv-border);
		background: var(--lv-color-paper);
		box-shadow: var(--lv-shadow-soft);
	}

	.lv-primary-nav.is-open {
		display: block;
	}

	.lv-primary-nav__list {
		display: grid;
		gap: 0;
	}

	.lv-primary-nav a {
		padding-block: 0.9rem;
		border-bottom: var(--lv-border);
	}

	.lv-primary-nav .sub-menu {
		position: static;
		width: auto;
		padding: 0 0 0 1rem;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.lv-site-footer__main {
		grid-template-columns: 1fr 1fr;
	}

	.lv-site-footer__brand {
		grid-column: 1 / -1;
	}

	.lv-post-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lv-home-hero {
		min-height: 43rem;
	}

	.lv-home-hero__inner {
		grid-template-columns: minmax(18rem, 0.9fr) minmax(18rem, 1.1fr);
	}

	.lv-home-hero__benefits li {
		min-width: 7.25rem;
		padding-inline: 0.75rem;
	}

	.lv-home-trust__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lv-home-trust__item:nth-child(2) {
		border-right: 0;
	}

	.lv-home-trust__item:nth-child(-n + 2) {
		border-bottom: 1px solid rgb(31 44 40 / 16%);
	}

	.lv-home-trust__item:nth-child(3) {
		padding-left: 0;
	}
}

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

@media (max-width: 640px) {
	.lv-announcement {
		font-size: 0.875rem;
	}

	.lv-announcement__inner {
		min-height: 2.25rem;
	}

	.lv-brand .custom-logo {
		max-width: 9.25rem;
		height: 2.5rem;
	}

	.lv-header-actions__account {
		display: none;
	}

	.lv-icon-button,
	.lv-menu-toggle {
		width: 2.5rem;
		height: 2.5rem;
	}

	.lv-header-search__form {
		grid-template-columns: 1fr;
	}

	.lv-site-footer__main,
	.lv-post-grid,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.lv-site-footer__legal {
		align-items: flex-start;
		flex-direction: column;
	}

	.lv-home-hero {
		min-height: auto;
		background: var(--lv-surface-tint);
	}

	.lv-home-hero::after {
		background:
			linear-gradient(90deg, rgb(244 240 232 / 88%) 0%, rgb(244 240 232 / 68%) 58%, rgb(244 240 232 / 12%) 100%),
			linear-gradient(180deg, rgb(244 240 232 / 8%) 50%, rgb(244 240 232 / 72%) 100%);
	}

	.lv-home-hero__background {
		position: absolute;
		z-index: -2;
		inset: 0;
		width: 100%;
		height: 100%;
		object-position: left center;
	}

	.lv-home-hero__inner {
		display: grid;
		grid-template-columns: 1fr;
		min-height: inherit;
		margin-top: 0;
	}

	.lv-home-hero__content {
		width: min(100%, 22rem);
		max-width: 100%;
		margin: 0;
		padding: 7rem 0 2rem;
		background: transparent;
		transform: none;
	}

	.lv-home-hero h1 {
		max-width: 9ch;
		font-size: clamp(2.8rem, 13vw, 4rem);
	}

	.lv-home-hero__benefits {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
		margin-top: 1.75rem;
	}

	.lv-home-hero__benefits li {
		display: flex;
		width: 100%;
		min-width: 0;
		align-items: center;
		justify-content: flex-start;
		gap: 0.65rem;
		padding: 0.55rem 0;
		border-right: 0;
		border-bottom: 1px solid rgb(31 44 40 / 18%);
		font-size: 0.625rem;
		letter-spacing: 0.045em;
		line-height: 1.2;
		text-align: left;
	}

	.lv-home-hero__benefits li:last-child {
		border-bottom: 0;
	}

	.lv-home-hero__benefit-icon {
		width: 1.875rem;
		height: 1.875rem;
		flex: 0 0 1.875rem;
	}

	.lv-home-hero__benefit-icon svg {
		width: 1.25rem;
		height: 1.25rem;
	}

	.lv-home-products {
		padding-block: 3.75rem;
	}

	.lv-product-card {
		grid-template-columns: 0.9fr 1.1fr;
		min-height: 15rem;
	}

	.lv-product-card__media {
		padding: 0.75rem 0 0.75rem 0.5rem;
	}

	.lv-product-card__media img {
		width: 118%;
		height: 13rem;
	}

	.lv-product-card__content {
		padding: 1.25rem 1rem;
	}

	.lv-product-card h3 {
		font-size: 1.35rem;
	}

	.lv-product-card__description {
		display: none;
	}

	.lv-home-products__empty {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.lv-home-products__empty img {
		height: 15rem;
	}

	.lv-home-trust__grid {
		grid-template-columns: 1fr;
	}

	.lv-home-trust__item,
	.lv-home-trust__item:first-child,
	.lv-home-trust__item:nth-child(3),
	.lv-home-trust__item:last-child {
		min-height: 6rem;
		padding: 1rem 0;
		border-right: 0;
		border-bottom: 1px solid rgb(31 44 40 / 16%);
	}

	.lv-home-trust__item:last-child {
		border-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
