/* Header + announcement — Twenty Twenty-Five palette. */

:root {
	--ev-brand-ink: #1a1512;
	--ev-brand-body: #3a332d;
	--ev-brand-muted: #6b625a;
	--ev-brand-accent: #8a4b2a;
	--ev-brand-border: #e8e1d9;
	--ev-brand-soft: #faf8f5;
	--ev-font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ev-font-display: Georgia, "Times New Roman", Times, serif;
	--ev-fw-light: 300;
	--ev-fw-regular: 400;
	--ev-fw-medium: 500;
	--ev-fw-semibold: 600;
	--ev-fw-bold: 700;
	--wp--preset--font-family--body: var(--ev-font-family);
	--wp--preset--font-family--heading: var(--ev-font-family);
	--ev-header-ink: var(--ev-brand-ink);
	--ev-header-bar-min: 4.75rem;
	--ev-header-nav-gap: 2rem;
	--ev-header-icon-box: 2.75rem;
	--ev-header-icon-size: 1.375rem;
}

/* Figtree: lighter body copy, darker semibold headings & UI labels. */

body,
button,
input,
select,
textarea,
.wp-site-blocks {
	font-family: var(--ev-font-family);
}

body {
	font-weight: var(--ev-fw-regular);
	color: var(--ev-brand-body);
	font-feature-settings: "kern" 1, "liga" 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks :where(h1, h2, h3, h4, h5, h6, .wp-block-post-title) {
	font-family: var(--ev-font-family);
	font-weight: var(--ev-fw-semibold);
	color: var(--ev-brand-ink);
	letter-spacing: -0.01em;
}

.ev-announcement {
	margin: 0 !important;
	min-height: 2.375rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: 0.5rem;
	padding-inline: max(1rem, var(--wp--style--root--padding-left, 1.25rem));
}

.ev-announcement p,
.ev-announcement .ev-announcement__text {
	margin: 0;
	font-size: 0.8125rem !important;
	line-height: 1.35;
	letter-spacing: 0.03em;
}

.ev-announcement__text--mobile {
	display: none;
}

.ev-announcement__rotator {
	display: none;
	width: 100%;
	text-align: center;
}

.ev-announcement__slide {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.35;
	letter-spacing: 0.03em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ev-announcement__slide[hidden] {
	display: none !important;
}

html,
body {
	overflow-x: clip;
	width: 100%;
	max-width: 100%;
}

.wp-site-blocks,
.wp-site-blocks > main {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Text wordmark — header + footer (no image logo). */

.ev-text-logo {
	margin: 0;
	line-height: 1.2;
}

.ev-text-logo__link {
	display: inline-block;
	max-width: 100%;
	text-decoration: none;
	color: inherit;
}

.ev-text-logo__link:hover,
.ev-text-logo__link:focus-visible {
	color: inherit;
	opacity: 0.85;
}

.ev-text-logo--header .ev-text-logo__name {
	display: block;
	font-family: var(--ev-font-family);
	font-size: clamp(1.375rem, 1.35vw, 1.5rem);
	font-weight: var(--ev-fw-semibold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--ev-header-ink);
}

.ev-text-logo__wordmark {
	display: inline;
	white-space: nowrap;
}

.ev-text-logo--footer .ev-text-logo__name {
	font-family: var(--ev-font-family);
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	font-weight: var(--ev-fw-semibold);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ev-site-header__brand.ev-text-logo {
	flex: 0 0 auto;
	min-width: 0;
}

.ev-site-header__tools.is-layout-flex {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: center;
}

.ev-site-header__tools .ev-site-header__search,
.ev-site-header__tools .wp-block-search {
	display: flex;
	align-items: center;
	align-self: center;
	margin: 0;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
}

.ev-site-header__search .wp-block-search__button-only {
	margin: 0;
}

.ev-site-header__search .wp-block-search__inside-wrapper {
	width: auto !important;
	max-width: none;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.ev-site-header__search.wp-block-search__searchfield-hidden .wp-block-search__input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ev-site-header__search .wp-block-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	min-width: var(--ev-header-icon-box);
	width: var(--ev-header-icon-box);
	height: var(--ev-header-icon-box);
	background: transparent;
	color: var(--ev-header-ink);
	border: 0;
	line-height: 1;
	vertical-align: middle;
}

.ev-site-header__search .wp-block-search__button svg {
	display: block;
	width: var(--ev-header-icon-size);
	height: var(--ev-header-icon-size);
}

/* TT5 adds ~1.2rem margin between template parts and main — flush hero to header. */
.wp-site-blocks > header + main,
.wp-site-blocks > .wp-block-template-part + main {
	margin-block-start: 0 !important;
}

.wp-site-blocks > header {
	margin-block-end: 0 !important;
}

.ev-site-header-placeholder {
	display: block;
	height: 0;
}

.ev-site-header-placeholder[hidden] {
	display: none;
}

.ev-site-header {
	position: relative;
	z-index: 100;
	margin-block-end: 0 !important;
	background: var(--wp--preset--color--base, #fff);
	border-bottom: 1px solid #e8e1d9;
	transition:
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.ev-site-header.is-pinned {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
}

.ev-site-header.is-scrolled,
.ev-site-header.is-pinned {
	border-bottom-color: transparent;
	box-shadow:
		0 1px 0 color-mix(in srgb, var(--ev-header-ink) 6%, transparent),
		0 6px 20px color-mix(in srgb, var(--ev-header-ink) 6%, transparent);
}

.ev-site-header__bar.is-layout-flex {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: clamp(0.75rem, 2vw, 1.5rem);
	min-height: var(--ev-header-bar-min);
	padding-block: 0.65rem;
	flex-wrap: nowrap !important;
}

.ev-site-header__brand.ev-text-logo {
	grid-column: 1;
	justify-self: start;
	align-self: center;
}

.ev-site-header__nav {
	grid-column: 2;
	justify-self: center;
	min-width: 0;
}

.ev-site-header__nav .wp-block-navigation__container {
	justify-content: center;
}

.ev-site-header__tools {
	grid-column: 3;
	justify-self: end;
	flex-wrap: nowrap;
	gap: 0;
	align-items: center;
}

.ev-site-header__tools .wc-block-customer-account,
.ev-site-header__tools .wc-block-mini-cart {
	margin: 0;
	flex: 0 0 auto;
}

.ev-site-header__tools .wc-block-customer-account__visual,
.ev-site-header__tools .wc-block-mini-cart__quantity-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.ev-site-header__tools .wc-block-mini-cart__icon {
	width: var(--ev-header-icon-size);
	height: var(--ev-header-icon-size);
}

.ev-site-header__nav .wp-block-navigation__container {
	gap: var(--ev-header-nav-gap);
}

.ev-site-header__nav .wp-block-navigation-item__content:link,
.ev-site-header__nav .wp-block-navigation-item__content:visited {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ev-header-ink);
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: none;
}

.ev-site-header__nav .wp-block-navigation-item__content:hover,
.ev-site-header__nav .wp-block-navigation-item__content:active,
.ev-site-header__nav .wp-block-navigation-item__content:focus-visible {
	color: var(--ev-brand-accent, #8a4b2a);
	text-decoration: underline;
	text-underline-offset: 0.22em;
	text-decoration-thickness: 1px;
}

.ev-site-header__nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.ev-site-header__nav .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-item__content,
.ev-site-header__nav .wp-block-navigation-item__content[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 0.22em;
	text-decoration-thickness: 2px;
	font-weight: 600;
}

@media (min-width: 782px) {
	.ev-site-header__nav .ev-nav-drawer-extra {
		display: none !important;
	}
}

.ev-site-header__nav .wp-block-navigation__submenu-container {
	border: 1px solid color-mix(in srgb, var(--ev-header-ink) 12%, transparent);
	border-radius: 2px;
	padding: 0.35rem 0;
	min-width: 12.5rem;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--ev-header-ink) 8%, transparent);
}

.ev-site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 0.8125rem;
	padding: 0.45rem 1rem;
}

.ev-site-header__tools .wc-block-customer-account,
.ev-site-header__tools .wc-block-mini-cart,
.ev-site-header__tools .wc-block-customer-account a,
.ev-site-header__tools .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ev-site-header__tools .wc-block-customer-account a,
.ev-site-header__tools .wc-block-mini-cart__button {
	width: var(--ev-header-icon-box);
	height: var(--ev-header-icon-box);
	padding: 0;
	color: var(--ev-header-ink);
	text-decoration: none;
}

.ev-site-header__tools .wc-block-customer-account svg,
.ev-site-header__tools .wc-block-mini-cart__button svg {
	width: var(--ev-header-icon-size);
	height: var(--ev-header-icon-size);
}

.ev-site-header__tools .wc-block-customer-account svg path {
	fill: none !important;
	stroke: currentColor;
	stroke-width: 1.5;
}

.ev-site-header__tools .wc-block-mini-cart__badge {
	background: var(--ev-header-ink);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 600;
	line-height: 1;
	min-width: 1.125rem;
	height: 1.125rem;
	padding: 0 0.25rem;
	border-radius: 999px;
}

@media (max-width: 781px) {
	:root {
		--ev-header-bar-min: 3.5rem;
	}

	.ev-announcement {
		min-height: 2.25rem;
		max-height: 2.5rem;
		padding-block: 0.4rem;
	}

	.ev-announcement__text--desktop {
		display: none !important;
	}

	.ev-announcement__text--mobile {
		display: block;
		margin: 0;
		text-align: center;
		font-size: 0.75rem !important;
		line-height: 1.35;
		padding-inline: 0.25rem;
	}

	.ev-announcement__rotator {
		display: none !important;
	}

	.ev-site-header__bar.is-layout-flex {
		grid-template-columns: auto minmax(0, 1fr) auto;
		column-gap: 0.35rem;
		min-height: var(--ev-header-bar-min);
		height: var(--ev-header-bar-min);
		padding-block: 0;
	}

	.ev-site-header__nav {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		min-width: 0;
	}

	.ev-site-header__brand.ev-text-logo {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		text-align: center;
		min-width: 0;
		max-width: 100%;
	}

	.ev-site-header__tools {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		flex-shrink: 0;
	}

	.ev-site-header__tools .wc-block-customer-account {
		display: none;
	}

	.ev-text-logo--header .ev-text-logo__name {
		font-size: clamp(0.875rem, 3.8vw, 1rem);
		letter-spacing: 0.1em;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.ev-site-header__nav.wp-block-navigation {
		width: auto;
		max-width: none;
	}

	.ev-site-header__nav:not(.has-modal-open) .wp-block-navigation__container {
		display: none !important;
	}

	.ev-site-header__nav .wp-block-navigation__responsive-container-open,
	.ev-site-header__nav .wp-block-navigation__responsive-container-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: var(--ev-header-icon-box);
		height: var(--ev-header-icon-box);
		padding: 0;
		color: var(--ev-header-ink);
	}

	.ev-site-header__nav .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed;
		inset: 0;
		z-index: 200;
		padding: max(1.25rem, env(safe-area-inset-top)) 1.25rem 1.25rem;
		background: #fff;
		overflow-y: auto;
	}

	.ev-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		gap: 0.25rem;
		align-items: stretch;
		width: 100%;
	}

	.ev-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		min-height: 2.75rem;
		padding-block: 0.35rem;
		font-size: 1rem;
		width: 100%;
	}

	.ev-site-header__nav .ev-nav-drawer-extra .wp-block-navigation-item__content {
		font-weight: 500;
	}

	.ev-site-header__nav .ev-nav-drawer-extra:first-of-type {
		margin-top: 1rem;
		padding-top: 1rem;
		border-top: 1px solid var(--ev-brand-border);
	}
}

/* Front page: no stray gap between hero and products */

:root {
	--ev-section-y: clamp(5rem, 6vw, 6rem);
	--ev-section-y-tight: clamp(3rem, 4vw, 3.5rem);
	--ev-section-x: max(
		1.25rem,
		var(--wp--style--root--padding-left, 1.5rem),
		var(--wp--style--root--padding-right, 1.5rem)
	);
}

main.wp-block-group.alignfull.is-layout-flow {
	gap: 0;
	margin-block-start: 0 !important;
}

main.wp-block-group.alignfull.is-layout-flow > section {
	margin-block: 0;
}

main.wp-block-group.alignfull.is-layout-flow > .ev-hero:first-child {
	margin-block-start: 0;
}

.ev-categories__inner,
.ev-best-sellers__inner,
.ev-brand-story__inner,
.ev-craftsmanship__inner,
.ev-reviews__inner,
.ev-shipping-band__inner,
.ev-journal-home__inner,
.ev-newsletter__inner {
	padding-inline: var(--ev-section-x);
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 1340px);
}

.ev-newsletter__inner {
	max-width: 40rem;
}

/* Section row (mockup: title + link) */

.ev-section-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.ev-section-row__title {
	margin: 0;
	font-family: var(--ev-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: var(--ev-fw-semibold);
	line-height: 1.15;
	color: var(--ev-brand-ink);
}

.ev-section-row__link {
	font-size: var(--wp--preset--font-size--medium, 1rem);
	font-weight: 400;
	text-decoration: none !important;
	color: inherit;
	opacity: 0.88;
	white-space: nowrap;
}

.ev-section-row__link:visited,
.ev-section-row__link:active {
	text-decoration: none !important;
	color: inherit;
	opacity: 0.88;
}

.ev-section-row__link:hover,
.ev-section-row__link:focus-visible {
	opacity: 1;
	text-decoration: underline !important;
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1px;
}

/* Shop by category */

.ev-categories {
	margin: 0;
	padding-block: var(--ev-section-y);
	background: var(--wp--preset--color--base, #fff);
}

.ev-categories__inner {
	padding-inline: var(--ev-section-x);
}

.ev-home-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: clamp(1rem, 2.5vw, 1.5rem) 0 0;
	padding: 0;
	list-style: none;
}

.ev-categories + .ev-best-sellers {
	padding-top: var(--ev-section-y);
	border-top: 1px solid color-mix(in srgb, currentColor 8%, transparent);
}

.ev-categories:has(+ .ev-best-sellers) {
	padding-bottom: var(--ev-section-y-tight);
}

.ev-best-sellers .ev-section-row {
	margin-bottom: 1.15rem;
}

.ev-best-sellers .ev-shop-pills-wrap {
	margin: 0 0 1.35rem;
}

.ev-best-sellers .ev-home-grid {
	margin-top: 0;
}

.ev-category-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.ev-category-card__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ev-brand-soft, #faf8f5);
}

.ev-category-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: var(--ev-brand-soft, #faf8f5);
	transition: transform 400ms ease;
}

.ev-category-card:hover .ev-category-card__media img,
.ev-category-card:focus-visible .ev-category-card__media img {
	transform: scale(1.03);
}

.ev-category-card__label {
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
}

.ev-categories .ev-home-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) and (min-width: 782px) {
	.ev-categories .ev-home-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.ev-home-grid:not(.ev-home-grid--one-row-four) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Catalog grid — shop + category archives (Phase 4) */

body.ev-catalog-view ul.wc-block-product-template.wc-block-product-template__responsive {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

@media (min-width: 782px) {
	body.ev-catalog-cols-2 ul.wc-block-product-template.wc-block-product-template__responsive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.ev-catalog-cols-3 ul.wc-block-product-template.wc-block-product-template__responsive {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.ev-catalog-cols-4 ul.wc-block-product-template.wc-block-product-template__responsive {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.ev-home-grid:not(.ev-home-grid--one-row-four):not(.ev-categories__grid) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	:root {
		--ev-section-y: clamp(2.5rem, 6vw, 3rem);
		--ev-section-y-tight: clamp(2rem, 5vw, 2.75rem);
		--ev-section-x: 1rem;
	}

	.ev-categories__inner,
	.ev-best-sellers__inner,
	.ev-brand-story__inner,
	.ev-craftsmanship__inner,
	.ev-trust__inner,
	.ev-shipping-band__inner,
	.ev-newsletter__inner {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.ev-categories__inner {
		overflow-x: clip;
	}

	.ev-categories .ev-home-grid.ev-categories__grid {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		grid-template-columns: unset;
		gap: 0.75rem;
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
		padding-inline: 0;
		padding-bottom: 0.35rem;
		scrollbar-width: none;
		box-sizing: border-box;
	}

	.ev-categories .ev-home-grid.ev-categories__grid::-webkit-scrollbar {
		display: none;
	}

	.ev-categories__item {
		flex: 0 0 calc((100% - 0.75rem) / 2.35);
		max-width: calc((100% - 0.75rem) / 2.35);
		min-width: 0;
		scroll-snap-align: start;
	}

	.ev-category-card__label {
		font-size: 0.9375rem;
	}
}

/* Homepage product rows: exactly 4 cards in one row (Best Sellers + New Arrivals) */

.ev-home-grid.ev-home-grid--one-row-four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ev-home-grid--one-row-four .ev-product-card__title {
	font-size: clamp(0.875rem, 1.6vw, 1rem);
	line-height: 1.35;
	min-height: calc(2 * 1.35em);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.ev-home-grid--one-row-four .ev-product-card__leadtime {
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--ev-brand-body, #3a332d);
}

.ev-home-grid--one-row-four .ev-product-card__price {
	font-size: 1rem;
}

.ev-home-grid--one-row-four .ev-product-card__actions .button,
.ev-home-grid--one-row-four .ev-product-card__actions a.button {
	font-size: 0.8125rem;
	min-height: 1.875rem;
	padding: 0.4rem 0.55rem;
	line-height: 1.2;
	font-weight: 500;
}

@media (max-width: 900px) {
	.ev-home-grid.ev-home-grid--one-row-four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.65rem;
	}
}

@media (max-width: 781px) {
	.ev-best-sellers__inner {
		overflow-x: clip;
		max-width: 100%;
	}

	.ev-shop-pills-wrap {
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin-bottom: 0.75rem;
	}

	.ev-shop-pills-wrap::-webkit-scrollbar {
		display: none;
	}

	.ev-shop-pills-wrap .ev-category-pills {
		flex-wrap: nowrap;
		width: max-content;
		max-width: none;
		margin-bottom: 0;
		padding-bottom: 0.25rem;
	}

	.ev-home-grid.ev-home-grid--one-row-four {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6875rem;
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}

	.ev-home-grid--one-row-four > .ev-best-sellers__item {
		flex: unset;
		max-width: none;
		min-width: 0;
	}

	.ev-home-grid--one-row-four .ev-product-card {
		min-width: 0;
	}

	.ev-home-grid--one-row-four .ev-product-card__title {
		min-height: calc(2 * 1.35em);
		font-size: 0.8125rem;
		line-height: 1.35;
	}

	.ev-home-grid--one-row-four .ev-product-card__leadtime {
		font-size: 0.6875rem;
		line-height: 1.4;
	}

	.ev-home-grid--one-row-four .ev-product-card__price {
		font-size: 0.8125rem;
	}

	.ev-home-grid--one-row-four .ev-product-card__actions .button,
	.ev-home-grid--one-row-four .ev-product-card__actions a.button {
		font-size: 0.6875rem;
		min-height: 2rem;
		padding: 0.35rem 0.45rem;
		width: 100%;
	}
}

/* Best sellers (home) — matches Shop by Category section */

.ev-best-sellers {
	margin: 0;
	padding-block: var(--ev-section-y);
	background: var(--wp--preset--color--base, #fff);
}

.ev-best-sellers__inner {
	padding-inline: var(--ev-section-x);
}

.ev-best-sellers__item {
	display: flex;
}

.ev-product-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	height: 100%;
	margin: 0;
}

.ev-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ev-brand-soft, #faf8f5);
}

.ev-product-card__media img,
.ev-product-card__img,
.wp-block-woocommerce-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover !important;
	object-position: center;
	background: var(--ev-brand-soft, #faf8f5);
}

.ev-best-sellers .ev-product-card__media img,
.ev-best-sellers .ev-product-card__img,
.ev-new-arrivals .ev-product-card__media img,
.ev-new-arrivals .ev-product-card__img {
	object-fit: cover !important;
	object-position: center 82%;
}

@media (min-width: 1025px) and (hover: hover) {
	.ev-best-sellers .ev-product-card__img-hover,
	.ev-new-arrivals .ev-product-card__img-hover {
		object-position: center 82%;
	}
}

.ev-product-card__media:not(.ev-has-hover-image) img,
.wp-block-woocommerce-product-image:not(.ev-has-hover-image) img {
	transition: transform 400ms ease;
}

.wp-block-woocommerce-product-image {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ev-brand-soft, #faf8f5);
}

.eh-badge {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	z-index: 1;
	padding: 0.2rem 0.45rem;
	background: #1c1c1c;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}

/* Sale badge: discount % in a circle (WooCommerce blocks + classic). */

.wc-block-components-product-image .wc-block-components-product-sale-badge,
.wc-block-components-product-sale-badge,
.woocommerce span.onsale {
	position: absolute !important;
	top: 0.65rem !important;
	right: 0.65rem !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 2;
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50%;
	background: #1c1c1c !important;
	color: #fff !important;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: 0;
	text-transform: none;
	text-align: center;
}

.wc-block-components-product-sale-badge__text {
	display: block;
	padding: 0 0.15rem;
}

li.wc-block-product {
	display: flex;
	flex-direction: column;
	height: 100%;
}

li.wc-block-product .wp-block-post-title {
	min-height: 2.8em;
}

li.wc-block-product .wp-block-woocommerce-product-button {
	margin-top: auto;
}

li.wc-block-product .wp-block-woocommerce-product-button .wp-element-button,
li.wc-block-product .wp-block-button__link {
	box-sizing: border-box;
	width: 100%;
}

/* Catalog cards — match homepage product card rhythm */

body.ev-catalog-view li.wc-block-product {
	text-align: left;
}

body.ev-catalog-view li.wc-block-product .wp-block-post-title,
body.ev-catalog-view li.wc-block-product .wp-block-post-title a,
body.ev-catalog-view li.wc-block-product .wp-block-woocommerce-product-price,
body.ev-catalog-view li.wc-block-product .wc-block-components-product-price {
	text-align: left !important;
}

body.ev-catalog-view li.wc-block-product .wp-block-post-title {
	margin: 0.65rem 0 0.35rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.35;
	min-height: 2.8em;
}

body.ev-catalog-view li.wc-block-product .wc-block-components-product-image,
body.ev-catalog-view li.wc-block-product .wc-block-components-product-image--aspect-ratio-1-1 {
	aspect-ratio: 4 / 5 !important;
}

body.ev-catalog-view li.wc-block-product .wc-block-components-product-image img {
	aspect-ratio: 4 / 5 !important;
	object-fit: cover !important;
}

body.ev-catalog-view .ev-catalog-card__leadtime {
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--ev-brand-body, #3a332d);
}

body.ev-catalog-view .ev-catalog-card__price-note {
	font-size: 0.8125rem;
	color: var(--ev-brand-muted, #6b625a);
}

body.ev-catalog-view .ev-catalog-card__rating {
	margin: 0.25rem 0 0;
	min-height: 1.25rem;
}

body.ev-catalog-view .ev-catalog-card__rating .star-rating {
	margin: 0;
}

body.ev-catalog-view li.wc-block-product .wp-block-woocommerce-product-button {
	margin-top: auto;
	width: 100%;
}

body.ev-catalog-view li.wc-block-product .wp-block-woocommerce-product-button .wp-element-button,
body.ev-catalog-view li.wc-block-product .wp-block-woocommerce-product-button .wp-block-button__link {
	width: auto;
	max-width: 100%;
	min-height: 2.75rem;
	padding: 0.65rem 1.15rem;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 0;
	background: var(--ev-brand-ink, #1a1512);
	color: #fff;
}

body.ev-catalog-view .wp-block-query-title,
body.ev-catalog-view h1.wp-block-query-title {
	font-family: var(--ev-font-family);
	font-size: clamp(2.25rem, 4vw, 2.75rem);
	font-weight: 400;
	line-height: 1.12;
	text-align: left !important;
	margin: 0 0 0.75rem;
}

body.ev-catalog-view .ev-catalog-intro {
	margin: 0 0 1.25rem;
	max-width: none;
	width: 100%;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--ev-brand-body, #3a332d);
}

body.ev-catalog-view .wp-block-woocommerce-breadcrumb:not(.ev-catalog-breadcrumb-inline *),
body.ev-catalog-view .woocommerce-breadcrumb:not(.ev-catalog-breadcrumb-inline *) {
	margin: 1.5rem 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--ev-brand-muted, #6b625a);
}

body.ev-catalog-view .ev-catalog-breadcrumb-inline .woocommerce-breadcrumb {
	margin: 0;
}

body.ev-catalog-view .wp-block-woocommerce-breadcrumb a,
body.ev-catalog-view .woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

body.ev-catalog-view .wp-block-woocommerce-breadcrumb a:hover,
body.ev-catalog-view .wp-block-woocommerce-breadcrumb a:focus-visible,
body.ev-catalog-view .woocommerce-breadcrumb a:hover,
body.ev-catalog-view .woocommerce-breadcrumb a:focus-visible {
	color: var(--ev-brand-ink, #1a1512);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.ev-catalog-view .ev-catalog-toolbar {
	margin: 0 0 1rem;
}

body.ev-catalog-view .ev-catalog-toolbar__help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	font-size: 0.8125rem;
	color: var(--ev-brand-body, #3a332d);
}

body.ev-catalog-view .ev-catalog-toolbar__link {
	color: var(--ev-brand-ink, #1a1512);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

body.ev-catalog-view .ev-catalog-toolbar__sep {
	opacity: 0.5;
}

body.ev-catalog-view .ev-shop-pills-wrap {
	margin: 0 0 0.75rem;
	padding: 0;
}

body.ev-catalog-view .ev-catalog-toolbar {
	margin: 0 0 0.75rem;
	padding: 0;
}

/* Catalog toolbar — filters, show count, sorting */

body.ev-catalog-view .wp-block-group.alignwide:has(> .wc-block-product-results-count) {
	display: none;
}

body.ev-catalog-view .ev-catalog-sidebar__form,
body.ev-catalog-view .ev-catalog-drawer__form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.ev-catalog-view .ev-catalog-sidebar__form .ev-catalog-filter-group,
body.ev-catalog-view .ev-catalog-drawer__form .ev-catalog-filter-group {
	width: 100%;
}

body.ev-catalog-view .ev-catalog-color-filters > li,
body.ev-catalog-view .ev-catalog-size-filters > li {
	width: 100%;
	margin: 0;
	padding: 0;
}

body.ev-catalog-view .ev-catalog-sidebar__apply {
	width: 100%;
	min-height: 2.75rem;
	margin-top: 0.35rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.8125rem;
	background: var(--ev-brand-ink, #1a1512) !important;
	color: #fff !important;
	border: 0;
}

body.ev-catalog-view .ev-catalog-filter-foot {
	display: grid;
	gap: 0.65rem;
	margin-top: 0.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ev-brand-border, #e8e1d9);
}

body.ev-catalog-view .ev-catalog-filter-clear {
	text-align: center;
	font-size: 0.8125rem;
	color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-filter-count {
	margin-left: auto;
	min-width: 1.75rem;
	height: 1.75rem;
	padding: 0 0.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--ev-brand-soft, #faf8f5);
	font-size: 0.75rem;
	color: var(--ev-brand-body, #3a332d);
}

body.ev-catalog-view .ev-catalog-color-option {
	width: 100%;
}

body.ev-catalog-view .ev-catalog-color-option__text,
body.ev-catalog-view .ev-catalog-size-option__label {
	flex: 1 1 auto;
}

body.ev-catalog-view .ev-catalog-size-option {
	justify-content: flex-start;
	width: 100%;
	padding: 0.15rem 0;
	box-sizing: border-box;
}

body.ev-catalog-view .ev-catalog-size-option input {
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0;
	accent-color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-size-option.is-selected .ev-catalog-size-option__label {
	font-weight: 600;
	color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-controls {
	margin: 0 0 1rem;
	padding: 0.75rem 0 0;
	border-top: 1px solid var(--ev-brand-border, #e8e1d9);
}

body.ev-catalog-view .ev-catalog-controls__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.65rem 1rem;
}

@media (max-width: 991px) {
	body.ev-catalog-view .ev-catalog-controls__sort {
		flex: 1 1 100%;
		margin-left: 0;
	}

	body.ev-catalog-view .ev-catalog-controls__sort select {
		width: 100%;
	}
}

@media (min-width: 992px) {
	body.ev-catalog-view .ev-catalog-controls__sort {
		margin-left: auto;
	}
}

body.ev-catalog-view .ev-catalog-controls__sort .woocommerce-ordering {
	margin: 0;
}

body.ev-catalog-view .ev-catalog-view {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.ev-catalog-view .ev-catalog-view__list {
	display: flex;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ev-catalog-view .ev-catalog-view__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.625rem;
	height: 2.625rem;
	border: 1px solid var(--ev-brand-border, #e8e1d9);
	background: #fff;
	color: var(--ev-brand-ink, #1a1512);
	text-decoration: none;
}

body.ev-catalog-view .ev-catalog-view__btn.is-active,
body.ev-catalog-view .ev-catalog-view__btn[aria-current="true"] {
	border-color: var(--ev-brand-ink, #1a1512);
	background: var(--ev-brand-ink, #1a1512);
	color: #fff;
}

body.ev-catalog-view .ev-catalog-view__icon {
	display: grid;
	gap: 2px;
	width: 1rem;
	height: 1rem;
}

body.ev-catalog-view .ev-catalog-view__btn--cols-2 .ev-catalog-view__icon {
	grid-template-columns: repeat(2, 1fr);
}

body.ev-catalog-view .ev-catalog-view__btn--cols-3 .ev-catalog-view__icon {
	grid-template-columns: repeat(3, 1fr);
}

body.ev-catalog-view .ev-catalog-view__btn--cols-4 .ev-catalog-view__icon {
	grid-template-columns: repeat(4, 1fr);
}

body.ev-catalog-view .ev-catalog-view__icon::before {
	content: "";
	display: block;
	grid-column: 1 / -1;
	height: 2px;
	background: currentcolor;
	box-shadow:
		0 4px 0 currentcolor,
		0 8px 0 currentcolor;
}

body.ev-catalog-view .ev-catalog-filters-open {
	min-height: 2.625rem;
	padding: 0 1.15rem;
	border: 1px solid var(--ev-brand-ink, #1a1512);
	border-radius: 0;
	background: #fff;
	color: var(--ev-brand-ink, #1a1512);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
}

body.ev-catalog-view .ev-catalog-controls__show {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.ev-catalog-view .ev-catalog-controls__label {
	font-size: 0.8125rem;
	color: var(--ev-brand-body, #3a332d);
}

body.ev-catalog-view .ev-catalog-per-page {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ev-catalog-view .ev-catalog-per-page__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0 0.75rem;
	border: 1px solid var(--ev-brand-ink, #1a1512);
	border-radius: 999px;
	font-size: 0.875rem;
	text-decoration: none;
	color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-per-page__link.is-active,
body.ev-catalog-view .ev-catalog-per-page__link[aria-current="true"] {
	background: var(--ev-brand-ink, #1a1512);
	color: #fff;
}

body.ev-catalog-view .ev-catalog-sort-wrap .wc-block-components-sort-select,
body.ev-catalog-view .ev-catalog-sort-wrap select {
	min-height: 2.625rem;
	font-size: 0.875rem;
	border-color: var(--ev-brand-border, #e8e1d9);
}

body.ev-catalog-view .ev-catalog-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.65rem 0 0;
	padding: 0;
	list-style: none;
}

body.ev-catalog-view .ev-catalog-chips__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 2.25rem;
	padding: 0 0.65rem;
	border: 1px solid var(--ev-brand-border, #e8e1d9);
	border-radius: 999px;
	font-size: 0.8125rem;
	text-decoration: none;
	color: var(--ev-brand-ink, #1a1512);
	background: var(--ev-brand-soft, #faf8f5);
}

body.ev-catalog-view .ev-catalog-drawer {
	position: fixed;
	inset: 0;
	z-index: 160;
}

body.ev-catalog-view .ev-catalog-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(17 17 17 / 45%);
}

body.ev-catalog-view .ev-catalog-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(100%, 22rem);
	height: 100%;
	overflow: auto;
	padding: 1rem 1.15rem 1.25rem;
	background: #fff;
	box-shadow: -8px 0 24px rgb(17 17 17 / 12%);
}

body.ev-catalog-view .ev-catalog-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

body.ev-catalog-view .ev-catalog-drawer__title {
	margin: 0;
	font-family: var(--ev-font-family);
	font-size: 1.35rem;
	font-weight: 400;
}

body.ev-catalog-view .ev-catalog-drawer__close {
	min-width: 44px;
	min-height: 44px;
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

body.ev-catalog-view .ev-catalog-filter-group {
	margin: 0 0 1rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid var(--ev-brand-border, #e8e1d9);
}

body.ev-catalog-view .ev-catalog-filter-group:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

body.ev-catalog-view .ev-catalog-filter-group__title {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-price-label {
	margin: 0 0 0.65rem;
	font-size: 0.8125rem;
	color: var(--ev-brand-body, #3a332d);
}

body.ev-catalog-view .ev-catalog-price-sliders {
	display: grid;
	gap: 0.65rem;
	padding: 0.15rem 0 0.35rem;
}

body.ev-catalog-view .ev-catalog-price-sliders input[type="range"] {
	width: 100%;
	margin: 0;
	accent-color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-color-filters,
body.ev-catalog-view .ev-catalog-size-filters {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

body.ev-catalog-view .ev-catalog-color-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.15rem 0;
	cursor: pointer;
	box-sizing: border-box;
}

body.ev-catalog-view .ev-catalog-color-option input.ev-filter-color-cb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
	overflow: visible;
	clip: auto;
	white-space: normal;
	border: 0;
}

body.ev-catalog-view .ev-catalog-color-option__dot {
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 999px;
	background: var(--ev-swatch, #8a8a8a);
	box-shadow: inset 0 0 0 1px rgb(17 17 17 / 12%);
}

body.ev-catalog-view .ev-catalog-color-option.is-selected .ev-catalog-color-option__dot {
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-color-option__text,
body.ev-catalog-view .ev-catalog-size-option span {
	font-size: 0.8125rem;
	color: var(--ev-brand-body, #3a332d);
}

body.ev-catalog-view .ev-catalog-size-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	cursor: pointer;
}

body.ev-catalog-view .ev-catalog-drawer__apply {
	min-height: 2.75rem;
	width: 100%;
	background: var(--ev-brand-ink, #1a1512) !important;
	color: #fff !important;
	border: 0;
}

body.ev-catalog-view .ev-catalog-drawer__clear {
	text-align: center;
	font-size: 0.8125rem;
	color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-drawer-open {
	overflow: hidden;
}

body.ev-catalog-view main.wp-block-group {
	padding-bottom: clamp(3.75rem, 5vw, 5rem);
}

.ev-product-card__media:not(.ev-has-hover-image):not(.ev-hover-zoom-only):hover img,
.ev-product-card__media:not(.ev-has-hover-image):not(.ev-hover-zoom-only):focus-visible img {
	transform: scale(1.03);
}

/* Catalog cards: fade + zoom second gallery image on hover (desktop). */

@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
	.wc-block-components-product-image.ev-has-hover-image > a {
		display: block;
		position: relative;
		height: 100%;
		overflow: hidden;
	}

	.ev-product-card__img-hover {
		position: absolute;
		inset: 0;
		z-index: 1;
		width: 100%;
		height: 100%;
		object-fit: cover !important;
		object-position: center;
		background: var(--ev-brand-soft, #faf8f5);
		opacity: 0;
		transform: scale(1);
		pointer-events: none;
		transition:
			opacity 0.5s ease,
			transform 2s cubic-bezier(0, 0, 0.44, 1.18);
	}

	.ev-product-card__media.ev-has-hover-image:hover .ev-product-card__img-hover,
	.ev-product-card__media.ev-has-hover-image:focus-visible .ev-product-card__img-hover,
	.wc-block-components-product-image.ev-has-hover-image:hover .ev-product-card__img-hover,
	.wc-block-components-product-image.ev-has-hover-image:focus-within .ev-product-card__img-hover {
		opacity: 1;
		transform: scale(1.09);
	}

	.ev-product-card__media.ev-hover-zoom-only img.ev-product-card__img--primary,
	.ev-product-card__media.ev-hover-zoom-only img.ev-product-card__img,
	.wc-block-components-product-image.ev-hover-zoom-only img[data-testid="product-image"],
	.wc-block-components-product-image.ev-hover-zoom-only img.ev-product-card__img--primary {
		transition: transform 2s cubic-bezier(0, 0, 0.44, 1.18);
		transform-origin: center center;
	}

	.ev-product-card__media.ev-hover-zoom-only:hover img,
	.ev-product-card__media.ev-hover-zoom-only:focus-visible img,
	.wc-block-components-product-image.ev-hover-zoom-only:hover img,
	.wc-block-components-product-image.ev-hover-zoom-only:focus-within img {
		transform: scale(1.09);
	}
}

.ev-product-card__title {
	margin: 0;
	min-height: 2.8em;
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.35;
}

.ev-product-card__rating {
	min-height: 1.25rem;
	margin: -0.15rem 0 0;
}

.ev-product-card__rating .star-rating {
	margin: 0;
}

.ev-product-card__title a {
	text-decoration: none;
	color: inherit;
}

.ev-product-card__title a:hover,
.ev-product-card__title a:focus-visible {
	text-decoration: underline;
}

.ev-product-card__price {
	min-height: 1.4em;
	font-size: 1.0625rem;
	color: var(--ev-brand-ink, #1a1512);
	line-height: 1.3;
}

.ev-product-card__price .amount {
	font-weight: 500;
}

.ev-product-card__leadtime {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--ev-brand-body, #3a332d);
}

.ev-product-card__actions {
	margin-top: auto;
}

.ev-product-card__actions .button,
.ev-product-card__actions .add_to_cart_button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 1.875rem;
	text-align: center;
	border-radius: 0;
	padding: 0.4rem 0.85rem;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.ev-product-card__actions .button:hover,
.ev-product-card__actions .button:focus-visible,
.ev-product-card__actions .add_to_cart_button:hover,
.ev-product-card__actions .add_to_cart_button:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--contrast, #111) 72%, #3a332d);
	color: var(--wp--preset--color--base, #fff);
}

/* Shared pill CTA (brand story, hero) */

.ev-pill-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.85rem 1.65rem;
	border-radius: 999px;
	background: var(--wp--preset--color--contrast, #111);
	color: var(--wp--preset--color--base, #fff);
	font-size: var(--wp--preset--font-size--medium, 1rem);
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 200ms ease;
}

.ev-pill-cta:hover,
.ev-pill-cta:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--contrast, #111) 82%, transparent);
	color: var(--wp--preset--color--base, #fff);
}

/* Brand story */

.ev-brand-story {
	margin: 0;
	padding-block: var(--ev-section-y);
	background: var(--wp--preset--color--accent-5, #fbfaf3);
}

.ev-brand-story__inner {
	padding-inline: var(--ev-section-x);
}

.ev-brand-story__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.ev-brand-story__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ev-brand-story__copy .ev-section-kicker {
	margin-bottom: 0.65rem;
}

.ev-brand-story__media {
	overflow: hidden;
	background: color-mix(in srgb, currentColor 6%, transparent);
}

.ev-brand-story__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}

.ev-brand-story__title {
	margin: 0 0 1rem;
	font-family: var(--ev-font-display);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: var(--ev-fw-semibold);
	line-height: 1.12;
	color: var(--ev-brand-ink);
}

.ev-brand-story__body {
	margin: 0 0 1.5rem;
	max-width: 46ch;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ev-brand-body, #3a332d);
}

/* Craftsmanship */

.ev-craftsmanship {
	margin: 0;
	padding-block: var(--ev-section-y);
	background: var(--wp--preset--color--base, #fff);
}

.ev-craftsmanship__inner {
	padding-inline: var(--ev-section-x);
	text-align: left;
}

.ev-craftsmanship__title {
	margin: 0 0 clamp(1.5rem, 3vw, 2rem);
	font-family: var(--ev-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: var(--ev-fw-semibold);
	line-height: 1.16;
	color: var(--ev-brand-ink);
}

.ev-craftsmanship__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ev-craftsmanship__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
}

.ev-craftsmanship__photo {
	display: block;
	width: 100%;
	max-width: 22rem;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--ev-brand-soft, #faf8f5);
}

.ev-craftsmanship__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ev-craftsmanship__item:first-child .ev-craftsmanship__photo img {
	object-position: center 38%;
}

.ev-craftsmanship__item-title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: var(--ev-fw-semibold);
	line-height: 1.35;
	color: var(--ev-brand-ink);
}

.ev-craftsmanship__item-lede {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ev-brand-body, #3a332d);
	line-height: 1.55;
	max-width: 36ch;
}

/* Reviews */

.ev-reviews {
	margin: 0;
	padding-block: var(--ev-section-y);
	background: var(--wp--preset--color--accent-5, #fbfaf3);
}

.ev-reviews__inner {
	text-align: center;
}

.ev-reviews__title {
	margin: 0 0 clamp(2rem, 4vw, 2.75rem);
	font-family: var(--ev-font-family);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 400;
	line-height: 1.15;
}

.ev-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.ev-review-card {
	margin: 0;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	height: 100%;
}

.ev-review-card::before {
	content: "\201C";
	display: block;
	font-family: var(--ev-font-family);
	font-size: 2rem;
	line-height: 1;
	opacity: 0.25;
	margin-bottom: 0.35rem;
}

.ev-review-card__quote {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.55;
	color: #1c1c1c;
}

.ev-review-card__stars {
	margin: 0 0 0.5rem;
	color: #1c1c1c;
	letter-spacing: 0.08em;
	font-size: 0.9375rem;
}

.ev-review-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin-top: 1rem;
	font-size: 0.875rem;
	color: #1c1c1c;
}

@media (max-width: 900px) {
	.ev-brand-story__layout {
		grid-template-columns: 1fr;
	}

	.ev-craftsmanship__grid,
	.ev-reviews__grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 901px) and (max-width: 1100px) {
	.ev-reviews__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ev-reviews__grid .ev-reviews__item:last-child {
		grid-column: 1 / -1;
		max-width: 50%;
		margin-inline: auto;
		width: 100%;
	}
}

/* Shipping & Returns band */

.ev-shipping-band {
	position: relative;
	margin: 0;
	padding-block: var(--ev-section-y-tight);
	background: var(--ev-brand-ink, #1a1512);
	color: #fff;
	overflow: hidden;
}

.ev-shipping-band + .ev-newsletter {
	padding-top: clamp(3.75rem, 5vw, 5rem);
}

.ev-shipping-band:has(+ .ev-newsletter) {
	padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.ev-shipping-band.has-texture::after {
	content: "";
	position: absolute;
	inset: 0;
	left: 45%;
	background-image: var(--ev-shipping-texture);
	background-size: cover;
	background-position: center;
	opacity: 0.35;
	pointer-events: none;
}

.ev-shipping-band__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	padding-inline: var(--ev-section-x);
}

.ev-shipping-band__col {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.ev-shipping-band__divider {
	width: 1px;
	align-self: stretch;
	min-height: 4rem;
	background: color-mix(in srgb, currentColor 25%, transparent);
}

.ev-shipping-band__icon {
	flex: 0 0 auto;
	width: 2rem;
	height: 2rem;
	background: currentColor;
	opacity: 0.95;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.ev-shipping-band__icon--made {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M4 7h16v12H4zM4 7l2-4h12l2 4M9 11h6'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M4 7h16v12H4zM4 7l2-4h12l2 4M9 11h6'/%3E%3C/svg%3E");
}

.ev-shipping-band__icon--ship {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M3 7h11v8H3zM14 10h4l3 3v2h-7v-5zM6 19a2 2 0 100-4 2 2 0 000 4zm10 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M3 7h11v8H3zM14 10h4l3 3v2h-7v-5zM6 19a2 2 0 100-4 2 2 0 000 4zm10 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E");
}

.ev-shipping-band__icon--returns {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M4 9h11a5 5 0 010 10h-4'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M4 9h11a5 5 0 010 10h-4'/%3E%3C/svg%3E");
}

.wp-site-blocks .ev-shipping-band .ev-shipping-band__title {
	margin: 0 0 0.35rem;
	font-family: var(--ev-font-family);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: var(--ev-fw-semibold, 600);
	line-height: 1.15;
	color: #fff;
}

.wp-site-blocks .ev-shipping-band .ev-shipping-band__lede {
	margin: 0;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.45;
	color: color-mix(in srgb, #fff 82%, transparent);
}

@media (max-width: 768px) {
	.ev-shipping-band__inner {
		grid-template-columns: 1fr;
	}

	.ev-shipping-band__divider {
		display: none;
	}

	.ev-shipping-band.has-texture::after {
		left: 0;
		opacity: 0.2;
	}
}

/* Journal home */

.ev-journal-home {
	margin: 0;
	padding-block: var(--ev-section-y);
	background: var(--wp--preset--color--accent-5, #fbfaf3);
}

.ev-journal-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ev-journal-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: color-mix(in srgb, currentColor 6%, transparent);
}

.ev-journal-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.ev-journal-card__media:hover img,
.ev-journal-card__media:focus-visible img {
	transform: scale(1.03);
}

.ev-journal-card__category {
	margin: 0.35rem 0 0;
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.75;
}

.ev-journal-card__title {
	margin: 0;
	font-family: var(--ev-font-family);
	font-size: var(--wp--preset--font-size--medium, 1rem);
	font-weight: 400;
	line-height: 1.35;
}

.ev-journal-card__title a {
	color: inherit;
	text-decoration: none;
}

.ev-journal-card__title a:hover,
.ev-journal-card__title a:focus-visible {
	text-decoration: underline;
}

.ev-journal-card__link {
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	text-decoration: none;
	color: inherit;
	opacity: 0.88;
	margin-top: 0.15rem;
}

.ev-journal-card__link:hover,
.ev-journal-card__link:focus-visible {
	opacity: 1;
	text-decoration: underline;
}

/* Newsletter */

.ev-newsletter {
	position: relative;
	margin: 0;
	padding-block: var(--ev-section-y);
	color: var(--wp--preset--color--base, #fff);
	background-color: var(--wp--preset--color--contrast, #111);
	background-image: var(--ev-newsletter-bg);
	background-size: cover;
	background-position: center;
}

.ev-newsletter__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			to bottom,
			color-mix(in srgb, #111 72%, transparent) 0%,
			color-mix(in srgb, #111 58%, transparent) 100%
		),
		color-mix(in srgb, #111 45%, transparent);
	pointer-events: none;
}

.ev-newsletter__inner {
	position: relative;
	z-index: 1;
	padding-inline: var(--ev-section-x);
	text-align: center;
}

.ev-newsletter__title {
	margin: 0 0 0.75rem;
	font-family: var(--ev-font-display);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: var(--ev-fw-semibold);
	line-height: 1.1;
	color: #fff !important;
	text-shadow: 0 1px 18px rgb(0 0 0 / 45%);
}

.ev-newsletter__lede {
	margin: 0 0 1.15rem;
	font-size: 1.0625rem;
	opacity: 0.96;
	line-height: 1.5;
	color: #fff;
}

.ev-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.ev-newsletter__input {
	flex: 1 1 14rem;
	min-width: 0;
	max-width: 22rem;
	min-height: 3.25rem;
	padding: 0.75rem 1.15rem;
	border: 0;
	border-radius: 0;
	font-size: 1rem;
	background: var(--wp--preset--color--accent-5, #fbfaf3);
	color: var(--wp--preset--color--contrast, #111);
	box-sizing: border-box;
}

.ev-newsletter__submit {
	flex: 0 0 auto;
	min-height: 3.25rem;
	padding: 0.75rem 1.85rem;
	border: 0;
	border-radius: 0;
	background: var(--ev-brand-accent, #8a4b2a);
	color: #fff;
	cursor: pointer;
	font-size: 1rem;
	font-weight: var(--ev-fw-semibold);
	box-sizing: border-box;
}

.ev-newsletter__submit:hover,
.ev-newsletter__submit:focus-visible {
	background: color-mix(in srgb, var(--ev-brand-accent, #8a4b2a) 88%, #fff);
	color: #fff;
}

.ev-newsletter__status {
	flex: 1 1 100%;
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #fff;
}

.ev-newsletter__form.is-success .ev-newsletter__status {
	color: #f4f1ea;
}

.ev-newsletter__form.is-error .ev-newsletter__status {
	color: #ffd4c8;
}

.ev-newsletter__legal,
.ev-newsletter__privacy {
	margin: 0;
	font-size: 0.8125rem;
	opacity: 0.94;
	line-height: 1.45;
	max-width: 36rem;
	margin-inline: auto;
	color: #fff;
}

.ev-newsletter__privacy a {
	color: inherit;
}

@media (max-width: 480px) {
	.ev-newsletter__form {
		flex-direction: column;
		align-items: stretch;
	}

	.ev-newsletter__input {
		max-width: none;
	}
}

.ev-section-kicker,
.ev-story-hero__kicker,
.ev-journal__kicker {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.85;
}

.ev-section-title,
.ev-story-hero__title,
.ev-journal__title {
	font-family: var(--ev-font-family);
	font-weight: 400;
	line-height: 1.12;
}

.ev-section-lede,
.ev-story-hero__lede {
	margin: 0;
	opacity: 0.82;
	line-height: 1.5;
}

/* Our Story + Journal */

.ev-story-page .ev-story-hero__title,
.ev-journal-page .ev-journal__title {
	text-align: center;
}

.ev-journal-page .wp-block-post-template {
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.ev-journal-page .wp-block-post-title {
	font-family: var(--ev-font-family);
	font-weight: 400;
}

/* Hero slider */

.ev-hero {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100vw;
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--contrast, #111);
	color: var(--wp--preset--color--base, #fff);
}

/* Banners are 2560×1086 — height ≈ 42.4vw at full width (avoid short box that crops heads). */
.ev-hero__track {
	position: relative;
	display: grid;
	width: 100%;
	aspect-ratio: 2560 / 1086;
	min-height: clamp(15rem, 42.42vw, 54rem);
	max-height: min(85vh, 54rem);
}

.ev-hero__slide {
	position: relative;
	grid-area: 1 / 1;
	width: 100%;
	height: 100%;
	min-height: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 600ms ease, visibility 600ms ease;
}

.ev-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.ev-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	object-position: center 42%;
}

.ev-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(17, 17, 17, 0.65) 0%, rgba(17, 17, 17, 0.28) 42%, rgba(17, 17, 17, 0) 68%);
	pointer-events: none;
}

.ev-hero__copy {
	position: absolute;
	left: max(
		var(--ev-section-x),
		calc((100vw - min(100vw, var(--wp--style--global--wide-size, 1340px))) / 2 + var(--ev-section-x))
	);
	right: auto;
	bottom: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem) 0;
	max-width: min(34rem, calc(100% - 2 * var(--ev-section-x)));
	z-index: 1;
}

.ev-hero__kicker {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.9;
}

.ev-hero__title {
	margin: 0 0 0.75rem;
	font-family: var(--ev-font-display);
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: var(--ev-fw-semibold);
	line-height: 1.08;
	color: inherit;
}

.ev-hero__lede {
	margin: 0 0 1.5rem;
	font-size: clamp(1.2rem, 2.4vw, 1.45rem);
	color: #fff;
	max-width: 36ch;
	line-height: 1.5;
}

.ev-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.ev-hero__cta {
	text-decoration: none;
}

.ev-hero__cta--primary {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.85rem 1.65rem;
	border-radius: 999px;
	background: #f4f1ea;
	color: #1c1c1c;
	font-size: var(--wp--preset--font-size--medium, 1rem);
	border: 1px solid transparent;
	transition: background 200ms ease, color 200ms ease;
}

.ev-hero__cta--primary:hover,
.ev-hero__cta--primary:focus-visible {
	background: #fff;
	color: #111;
}

.ev-hero__cta--secondary {
	color: inherit;
	font-size: var(--wp--preset--font-size--medium, 1rem);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	opacity: 0.95;
}

.ev-hero__cta--secondary:hover,
.ev-hero__cta--secondary:focus-visible {
	opacity: 1;
}

/* Trust strip (mockup band under hero) */

.ev-trust {
	margin: 0;
	background: var(--wp--preset--color--accent-5, #fbfaf3);
	color: var(--wp--preset--color--contrast, #111);
	border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.ev-trust__inner {
	padding: clamp(1.25rem, 3vw, 1.75rem) var(--ev-section-x);
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 1340px);
}

.ev-trust__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ev-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.ev-trust__icon {
	flex: 0 0 auto;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: 0.15rem;
	background: currentColor;
	opacity: 0.85;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.ev-trust__icon--secure {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M12 3l8 4v5c0 5-3.5 9-8 9s-8-4-8-9V7l8-4z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M12 3l8 4v5c0 5-3.5 9-8 9s-8-4-8-9V7l8-4z'/%3E%3C/svg%3E");
}

.ev-trust__icon--ship {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M3 7h11v8H3zM14 10h4l3 3v2h-7v-5zM6 19a2 2 0 100-4 2 2 0 000 4zm10 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M3 7h11v8H3zM14 10h4l3 3v2h-7v-5zM6 19a2 2 0 100-4 2 2 0 000 4zm10 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E");
}

.ev-trust__icon--returns {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M4 7h12v10H4zM16 10h4v7h-4zM8 11v4M10 13H6'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M4 7h12v10H4zM16 10h4v7h-4zM8 11v4M10 13H6'/%3E%3C/svg%3E");
}

.ev-trust__icon--support {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M4 14a8 8 0 0116 0v2a2 2 0 01-2 2h-1v-5h2M6 18H5a2 2 0 01-2-2v-2M8 21h8'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M4 14a8 8 0 0116 0v2a2 2 0 01-2 2h-1v-5h2M6 18H5a2 2 0 01-2-2v-2M8 21h8'/%3E%3C/svg%3E");
}

.ev-trust__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.ev-trust__title {
	font-family: var(--ev-font-display);
	font-size: 1rem;
	font-weight: var(--ev-fw-semibold);
	line-height: 1.35;
	color: var(--ev-brand-ink, #1a1512);
}

.ev-trust__lede {
	font-size: 0.875rem;
	color: var(--ev-brand-body, #3a332d);
	line-height: 1.45;
}

@media (max-width: 900px) {
	.ev-trust__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.ev-trust__inner {
		padding-block: 0.875rem;
	}

	.ev-trust__list {
		gap: 0.875rem 0.75rem;
	}

	.ev-trust__item {
		align-items: flex-start;
		gap: 0.65rem;
	}

	.ev-trust__title {
		font-size: 0.875rem;
		line-height: 1.35;
	}

	.ev-trust__lede {
		font-size: 0.8125rem;
		line-height: 1.45;
	}

	.ev-brand-story__media,
	.ev-brand-story__media img {
		width: 100%;
		max-width: 100%;
	}

	.ev-brand-story__copy {
		padding-top: 1.125rem;
	}

	.ev-craftsmanship__grid {
		gap: 1.75rem;
	}

	.ev-craftsmanship__item {
		gap: 0.55rem;
	}

	.ev-shipping-band__inner {
		gap: 1.25rem;
		padding-block: 1.25rem;
	}

	.ev-newsletter__form {
		flex-direction: column;
		align-items: stretch;
	}

	.ev-newsletter__input {
		max-width: none;
		width: 100%;
	}

	.ev-newsletter__submit {
		width: 100%;
	}

	.ev-site-footer__top {
		flex-direction: column;
		gap: 1.25rem;
	}

	.ev-site-footer__columns {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem 0.75rem;
		width: 100%;
	}

	.ev-site-footer__col {
		min-width: 0;
	}

	.ev-site-footer > .alignwide > .wp-block-spacer {
		height: 1rem !important;
	}

	.ev-site-footer__base {
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}

	.ev-site-footer__payments {
		flex-wrap: wrap;
	}
}

@media (max-width: 781px) {
	.ev-hero {
		max-width: 100%;
	}

	.ev-hero__track {
		aspect-ratio: 4 / 5;
		width: 100%;
		max-width: 100%;
		min-height: min(70vh, 40rem);
		max-height: 70vh;
		height: auto;
	}

	.ev-hero__img {
		object-position: center 22%;
	}

	.ev-hero__scrim {
		background: linear-gradient(
			to top,
			rgba(17, 17, 17, 0.92) 0%,
			rgba(17, 17, 17, 0.55) 42%,
			rgba(17, 17, 17, 0.08) 68%,
			rgba(17, 17, 17, 0) 100%
		);
	}

	.ev-hero__copy {
		top: auto;
		justify-content: flex-end;
		align-items: flex-start;
		text-align: left;
		max-width: none;
		padding: 0.75rem var(--ev-section-x) clamp(3.25rem, 11vw, 4rem);
	}

	.ev-hero__kicker {
		display: none;
	}

	.ev-hero__title {
		font-size: clamp(1.45rem, 6.2vw, 1.85rem);
		margin-bottom: 0.45rem;
		max-width: 16ch;
	}

	.ev-hero__lede {
		font-size: 0.9375rem;
		margin-bottom: 0.85rem;
		max-width: 26ch;
		line-height: 1.4;
	}

	.ev-hero__actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		width: 100%;
		max-width: 14.5rem;
	}

	.ev-hero__cta--primary {
		width: 100%;
		justify-content: center;
		min-height: 3rem;
		padding: 0.75rem 1.25rem;
		font-size: 1rem;
		font-weight: 600;
	}

	.ev-hero__cta--secondary {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		overflow: visible;
		clip: auto;
		white-space: normal;
		border: 0;
		font-size: 0.8125rem;
		opacity: 0.92;
		text-decoration: underline;
	}

	.ev-hero__arrow {
		width: 2.75rem;
		height: 2.75rem;
		min-width: 44px;
		min-height: 44px;
	}

	.ev-announcement .ev-announcement__slide {
		font-size: 0.75rem;
	}
}

.ev-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid color-mix(in srgb, #fff 28%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, #111 22%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: inherit;
	cursor: pointer;
	font-size: 1.35rem;
	line-height: 1;
	transform: translateY(-50%);
	transition: background 200ms ease, border-color 200ms ease;
}

.ev-hero__arrow:hover,
.ev-hero__arrow:focus-visible {
	background: color-mix(in srgb, #111 38%, transparent);
	border-color: color-mix(in srgb, #fff 45%, transparent);
	outline: none;
}

.ev-hero__arrow--prev {
	left: clamp(0.75rem, 2.5vw, 1.5rem);
}

.ev-hero__arrow--next {
	right: clamp(0.75rem, 2.5vw, 1.5rem);
}

.ev-hero__dots-bar {
	position: absolute;
	left: 50%;
	bottom: clamp(1rem, 2.5vw, 1.75rem);
	z-index: 2;
	transform: translateX(-50%);
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, #fff 22%, transparent);
	background: color-mix(in srgb, #111 18%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 4px 24px color-mix(in srgb, #000 18%, transparent);
}

.ev-hero__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.ev-hero__dot {
	position: relative;
	width: 0.75rem;
	height: 0.75rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: color-mix(in srgb, #fff 38%, transparent);
	cursor: pointer;
	transition: width 280ms ease, background 280ms ease, opacity 280ms ease;
	opacity: 0.85;
}

.ev-hero__dot::before {
	content: "";
	position: absolute;
	inset: -0.55rem;
}

.ev-hero__dot:hover {
	opacity: 1;
	background: color-mix(in srgb, #fff 55%, transparent);
}

.ev-hero__dot.is-active {
	width: 1.35rem;
	opacity: 1;
	background: color-mix(in srgb, #fff 88%, transparent);
}

@media (prefers-reduced-motion: reduce) {
	.ev-hero__slide {
		transition: none;
	}
}

/* Footer — brand column plus live shop and company links. */

.ev-site-footer {
	margin-block: 0 !important;
	padding-top: clamp(3.75rem, 5vw, 5rem) !important;
	padding-bottom: var(--wp--preset--spacing--50, 2.5rem) !important;
	background: var(--wp--preset--color--base, #fff);
	color: #1c1c1c;
}

.ev-site-footer > .alignwide {
	padding-inline: var(--ev-section-x);
	max-width: var(--wp--style--global--wide-size, 1340px);
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}

.ev-site-footer > .alignwide > .ev-site-footer__top,
.ev-site-footer > .alignwide > .ev-site-footer__base {
	max-width: none;
	width: 100%;
	margin-inline: 0;
	padding-inline: 0;
}

.ev-site-footer .wp-block-navigation {
	padding: 0;
}

.ev-site-footer .wp-block-navigation .wp-block-navigation-item__content:link,
.ev-site-footer .wp-block-navigation .wp-block-navigation-item__content:visited {
	padding-inline: 0;
	font-size: 0.875rem;
	color: var(--ev-brand-ink, #1a1512);
	text-decoration: none;
}

.ev-site-footer .wp-block-navigation .wp-block-navigation-item__content:hover,
.ev-site-footer .wp-block-navigation .wp-block-navigation-item__content:active,
.ev-site-footer .wp-block-navigation .wp-block-navigation-item__content:focus-visible {
	color: var(--ev-brand-accent, #8a4b2a);
}

.wp-site-blocks > footer {
	margin-block-start: 0 !important;
}

@media (min-width: 782px) {
	.ev-site-footer__top {
		display: grid;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr);
		gap: clamp(2rem, 4vw, 3rem);
		align-items: start;
		width: 100%;
	}

	.ev-site-footer__columns {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: clamp(1.25rem, 2.5vw, 2rem);
		flex: unset;
		margin-left: 0;
		justify-content: stretch;
	}
}

.ev-site-footer__top {
	width: 100%;
	gap: 2.5rem 4rem;
}

.ev-site-footer__brand-col {
	flex: 1 1 16rem;
	max-width: 22rem;
	align-items: flex-start;
	margin-left: 0;
	padding-left: 0;
}

.ev-site-footer__brand-col > *,
.ev-site-footer__brand,
.ev-site-footer__brand-col .wp-block-site-title,
.ev-site-footer__tagline,
.ev-site-footer__location,
.ev-site-footer__contact {
	margin-left: 0;
	padding-left: 0;
	text-align: left;
}

.ev-site-footer__brand.ev-text-logo a {
	text-decoration: none;
	color: inherit;
}

.ev-site-footer__tagline {
	margin: 0.75rem 0 0;
	max-width: 32ch;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--ev-brand-body, #3a332d);
}

.ev-site-footer__location {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--ev-brand-body, #3a332d);
}

.ev-site-footer__contact {
	margin: 0.65rem 0 0;
	font-size: 1rem;
	color: #1a1512;
}

.ev-site-footer__contact a {
	color: inherit;
	text-decoration: none;
}

.ev-site-footer__contact a:hover,
.ev-site-footer__contact a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ev-site-footer__social {
	margin: 0.75rem 0 0;
	padding: 0;
	gap: 0.45rem;
	flex-wrap: wrap;
	max-width: 100%;
}

.ev-site-footer__social .wp-social-link,
.ev-site-footer__social .wp-block-social-link {
	margin: 0;
	width: 2.75rem;
	height: 2.75rem;
}

.ev-site-footer__social .wp-block-social-link-anchor {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	color: #1a1512;
}

.ev-site-footer__social .wp-block-social-link-anchor svg {
	width: 22px;
	height: 22px;
}

.ev-site-footer__social .wp-social-link-tiktok svg {
	width: 20px;
	height: 20px;
}

.ev-site-footer__columns {
	gap: clamp(2rem, 4vw, 4.5rem);
}

.ev-site-footer__col {
	min-width: 8rem;
}

.ev-site-footer__heading {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #1a1512;
}

.ev-site-footer__nav {
	min-width: 8rem;
}

.ev-site-footer__nav a:link,
.ev-site-footer__nav a:visited {
	font-size: 0.875rem;
	line-height: 1.5;
	text-decoration: none;
	color: var(--ev-brand-ink, #1a1512);
}

.ev-site-footer__nav a:hover,
.ev-site-footer__nav a:active,
.ev-site-footer__nav a:focus-visible {
	color: var(--ev-brand-accent, #8a4b2a);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ev-site-header .wp-block-navigation-item__content:link,
.ev-site-header .wp-block-navigation-item__content:visited,
.ev-site-header .wp-block-navigation a:link,
.ev-site-header .wp-block-navigation a:visited {
	color: var(--ev-brand-ink, #1a1512);
	text-decoration: none;
}

.ev-site-header .wp-block-navigation-item__content:hover,
.ev-site-header .wp-block-navigation-item__content:active,
.ev-site-header .wp-block-navigation-item__content:focus-visible,
.ev-site-header .wp-block-navigation a:hover,
.ev-site-header .wp-block-navigation a:active,
.ev-site-header .wp-block-navigation a:focus-visible {
	color: var(--ev-brand-accent, #8a4b2a);
}

.ev-site-footer__base {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	width: 100%;
	align-items: center;
	gap: 0.85rem 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	color: #3a332d;
}

.ev-site-footer__copyright,
.ev-site-footer__legal,
.ev-site-footer__base .has-small-font-size {
	font-size: 0.9375rem !important;
	line-height: 1.5;
}

.ev-site-footer__base > p,
.ev-site-footer__base > ul {
	margin: 0;
}

@media (max-width: 768px) {
	.ev-site-footer__base {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.ev-site-footer__payments {
		width: 100%;
	}
}

.ev-site-footer__payments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
	--ev-footer-payment-w: 3rem;
	--ev-footer-payment-h: 2rem;
}

.ev-site-footer__payment-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--ev-footer-payment-w);
	height: var(--ev-footer-payment-h);
	flex-shrink: 0;
}

.ev-site-footer__payments svg {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 4px;
}

.ev-site-footer__legal a {
	color: inherit;
	text-decoration: none;
}

.ev-site-footer__legal a:hover,
.ev-site-footer__legal a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

@media (max-width: 700px) {
	.ev-site-footer__columns.is-layout-flex {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}

	.ev-site-footer__col {
		min-width: 0;
		width: 100%;
	}
}

@media (max-width: 600px) {
	.ev-hero__arrow {
		width: 2.15rem;
		height: 2.15rem;
		font-size: 1.15rem;
	}

	.ev-hero__dots-bar {
		padding: 0.4rem 0.75rem;
	}
}

/* Variable product: Color / Size swatches instead of dropdowns. */

.single-product form.variations_form table.variations {
	margin: 0 0 1.25rem;
	border: 0;
}

.single-product form.variations_form table.variations tbody,
.single-product form.variations_form table.variations tr {
	display: block;
	border: 0;
}

.single-product form.variations_form table.variations tr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
	margin-bottom: 0.85rem;
}

.single-product form.variations_form table.variations th.label {
	padding: 0;
	border: 0;
	width: auto;
}

.single-product form.variations_form table.variations th.label label {
	font-size: var(--wp--preset--font-size--medium, 1rem);
	font-weight: 500;
	margin: 0;
}

.single-product form.variations_form table.variations th.label label::after {
	content: ":";
}

.single-product form.variations_form table.variations td.value {
	padding: 0;
	border: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.single-product form.variations_form .ev-variation-swatches {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	vertical-align: middle;
}

.single-product form.variations_form .ev-swatch {
	margin: 0;
	padding: 0;
	cursor: pointer;
	background: transparent;
	font: inherit;
	line-height: 1;
	transition: box-shadow 160ms ease, opacity 160ms ease, border-color 160ms ease;
}

.single-product form.variations_form .ev-swatch--color {
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	background: var(--ev-swatch-color, #888);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 35%, transparent);
}

.single-product form.variations_form .ev-swatch--color.is-selected {
	box-shadow:
		0 0 0 2px var(--wp--preset--color--base, #fff),
		0 0 0 3px var(--wp--preset--color--contrast, #111);
}

.single-product form.variations_form .ev-swatch--size {
	min-width: 2.35rem;
	padding: 0.45rem 0.65rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	background: var(--wp--preset--color--base, #fff);
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
}

.single-product form.variations_form .ev-swatch--size.is-selected {
	border-color: var(--wp--preset--color--contrast, #111);
	background: var(--wp--preset--color--contrast, #111);
	color: var(--wp--preset--color--base, #fff);
}

.single-product form.variations_form .ev-swatch:disabled,
.single-product form.variations_form .ev-swatch.is-unavailable {
	opacity: 0.35;
	cursor: not-allowed;
}

.single-product form.variations_form .ev-swatch:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast, #111);
	outline-offset: 2px;
}

.single-product form.variations_form a.reset_variations {
	margin-left: 0.35rem;
	font-size: 0.8125rem;
	opacity: 0.75;
}

/* Product / cart quantity stepper (−  qty  +). */

.single-product form.cart:not(.variations_form),
.single-product form.variations_form .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.65rem;
	width: 100%;
	max-width: 28rem;
}

.single-product form.cart:not(.variations_form) .single_add_to_cart_button,
.single-product form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	flex: 1 1 12rem;
	align-self: stretch;
	min-height: var(--ev-qty-size, 3rem);
	margin: 0 !important;
	padding-top: 0.65rem;
	padding-bottom: 0.65rem;
	border-radius: 0;
}

.single-product form.cart .quantity.ev-quantity,
.woocommerce-cart-form .quantity.ev-quantity,
.woocommerce .quantity.ev-quantity {
	--ev-qty-size: 3rem;
	--ev-qty-border: color-mix(in srgb, currentColor 18%, transparent);

	display: inline-flex;
	flex: 0 0 auto;
	align-items: stretch;
	vertical-align: middle;
	margin: 0;
	border: 1px solid var(--ev-qty-border);
	background: var(--wp--preset--color--base, #fff);
}

.single-product form.cart .quantity.ev-quantity .ev-qty-btn,
.woocommerce-cart-form .quantity.ev-quantity .ev-qty-btn,
.woocommerce .quantity.ev-quantity .ev-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 var(--ev-qty-size);
	width: var(--ev-qty-size);
	height: var(--ev-qty-size);
	padding: 0;
	margin: 0;
	border: 0;
	border-right: 1px solid var(--ev-qty-border);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.single-product form.cart .quantity.ev-quantity .ev-qty-btn--plus,
.woocommerce-cart-form .quantity.ev-quantity .ev-qty-btn--plus,
.woocommerce .quantity.ev-quantity .ev-qty-btn--plus {
	border-right: 0;
}

.single-product form.cart .quantity.ev-quantity .qty,
.woocommerce-cart-form .quantity.ev-quantity .qty,
.woocommerce .quantity.ev-quantity .qty {
	flex: 0 0 var(--ev-qty-size);
	width: var(--ev-qty-size);
	height: var(--ev-qty-size);
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-right: 1px solid var(--ev-qty-border);
	border-radius: 0;
	text-align: center;
	font-size: 1rem;
	line-height: var(--ev-qty-size);
	box-sizing: border-box;
	-moz-appearance: textfield;
	background: transparent;
}

.single-product form.cart .quantity.ev-quantity .qty::-webkit-outer-spin-button,
.single-product form.cart .quantity.ev-quantity .qty::-webkit-inner-spin-button,
.woocommerce-cart-form .quantity.ev-quantity .qty::-webkit-outer-spin-button,
.woocommerce-cart-form .quantity.ev-quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity.ev-quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity.ev-quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.single-product form.cart .quantity.ev-quantity .ev-qty-btn:focus-visible,
.woocommerce .quantity.ev-quantity .ev-qty-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast, #111);
	outline-offset: -2px;
}

.single-product form.cart .quantity.ev-quantity .ev-qty-btn:hover,
.woocommerce .quantity.ev-quantity .ev-qty-btn:hover {
	background: color-mix(in srgb, currentColor 4%, transparent);
}

@media (max-width: 480px) {
	.single-product form.cart:not(.variations_form),
	.single-product form.variations_form .woocommerce-variation-add-to-cart {
		max-width: none;
	}

	.single-product form.cart:not(.variations_form) .single_add_to_cart_button,
	.single-product form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
		flex: 1 1 100%;
	}
}

/* Product meta: SKU, then category, then brand — each on its own line. */

.single-product .wp-block-woocommerce-product-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	margin-top: 0.75rem;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.5;
	opacity: 0.88;
}

.single-product .wp-block-woocommerce-product-meta > .wp-block-group.is-layout-flex {
	flex-direction: column !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	gap: 0.35rem;
	width: 100%;
}

.single-product .wp-block-woocommerce-product-meta > .wp-block-group.is-layout-flex > * {
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100%;
}

.single-product .wp-block-woocommerce-product-meta .wp-block-woocommerce-product-sku,
.single-product .wp-block-woocommerce-product-meta .taxonomy-product_cat,
.single-product .wp-block-woocommerce-product-meta .taxonomy-product_brand {
	display: block;
	width: 100%;
	margin: 0;
}

.single-product .wp-block-woocommerce-product-meta .wp-block-post-terms a {
	color: inherit;
}

.single-product .wp-block-woocommerce-product-meta .wp-block-post-terms a:hover,
.single-product .wp-block-woocommerce-product-meta .wp-block-post-terms a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* Single product: vertical thumbnails left of main image (desktop). */

.single-product .wp-block-woocommerce-product-image-gallery {
	max-width: none;
}

.single-product .woocommerce-product-gallery {
	--ev-gallery-thumb-w: 5.5rem;
	--ev-gallery-thumb-gap: 0.65rem;
	position: relative;
}

.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	background: var(--wp--preset--color--base, #fff);
}

.single-product .woocommerce-product-gallery__trigger {
	top: auto !important;
	left: auto !important;
	right: 0.75rem !important;
	bottom: 0.75rem !important;
	z-index: 5;
}

/* Single product main image: hover second image / alt color / zoom-only. */

@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
	.single-product .woocommerce-product-gallery .flex-viewport.ev-pdp-hover-root {
		position: relative;
		overflow: hidden;
	}

	.single-product .woocommerce-product-gallery .ev-pdp-hover-img {
		position: absolute;
		inset: 0;
		z-index: 2;
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: center;
		background: var(--wp--preset--color--base, #fff);
		opacity: 0;
		transform: scale(1);
		pointer-events: none;
		transition:
			opacity 0.5s ease,
			transform 2s cubic-bezier(0, 0, 0.44, 1.18);
	}

	.single-product .woocommerce-product-gallery.ev-pdp-has-hover .flex-viewport.ev-pdp-hover-root:hover .ev-pdp-hover-img {
		opacity: 1;
		transform: scale(1.09);
	}

	.single-product .woocommerce-product-gallery.ev-pdp-zoom-only .flex-viewport.ev-pdp-hover-root .flex-active-slide img,
	.single-product .woocommerce-product-gallery.ev-pdp-zoom-only .flex-viewport.ev-pdp-hover-root .woocommerce-product-gallery__image img {
		transition: transform 2s cubic-bezier(0, 0, 0.44, 1.18);
		transform-origin: center center;
	}

	.single-product .woocommerce-product-gallery.ev-pdp-zoom-only .flex-viewport.ev-pdp-hover-root:hover .flex-active-slide img,
	.single-product .woocommerce-product-gallery.ev-pdp-zoom-only .flex-viewport.ev-pdp-hover-root:hover .woocommerce-product-gallery__image img {
		transform: scale(1.09);
	}
}

@media (min-width: 782px) {
	.single-product .woocommerce-product-gallery.woocommerce-product-gallery--with-images {
		display: grid;
		grid-template-columns: var(--ev-gallery-thumb-w) minmax(0, 1fr);
		gap: var(--ev-gallery-thumb-gap);
		align-items: start;
	}

	.single-product
		.woocommerce-product-gallery.woocommerce-product-gallery--with-images:not(
			:has(.flex-control-thumbs li:nth-child(2))
		) {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
	.single-product .woocommerce-product-gallery .flex-viewport {
		grid-column: 2;
		grid-row: 1;
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}

	.single-product
		.woocommerce-product-gallery:not(:has(.flex-control-thumbs li:nth-child(2)))
		.woocommerce-product-gallery__wrapper,
	.single-product
		.woocommerce-product-gallery:not(:has(.flex-control-thumbs li:nth-child(2)))
		.flex-viewport {
		grid-column: 1;
	}

	.single-product div.product div.images .flex-control-thumbs,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs {
		grid-column: 1;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		float: none !important;
		width: var(--ev-gallery-thumb-w);
		min-width: var(--ev-gallery-thumb-w);
		max-height: min(32rem, 70vh);
		margin: 0 !important;
		padding: 0;
		overflow-x: hidden;
		overflow-y: auto;
		list-style: none;
		scrollbar-width: thin;
	}

	.single-product div.product div.images .flex-control-thumbs li,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs li {
		float: none !important;
		width: var(--ev-gallery-thumb-w) !important;
		margin: 0 !important;
		padding: 0;
		list-style: none;
	}

	.single-product div.product div.images .flex-control-thumbs li img,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs li img {
		display: block;
		box-sizing: border-box;
		width: 100% !important;
		height: var(--ev-gallery-thumb-w) !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0;
		border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
		object-fit: cover;
		cursor: pointer;
		opacity: 0.72;
		transition: opacity 150ms ease, border-color 150ms ease;
	}

	.single-product div.product div.images .flex-control-thumbs li img:hover,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs li img:hover {
		opacity: 1;
	}

	.single-product div.product div.images .flex-control-thumbs li.flex-active img,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs li.flex-active img,
	.single-product div.product div.images .flex-control-thumbs li img.flex-active,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs li img.flex-active {
		border-color: var(--wp--preset--color--contrast, #1c1c1c);
		opacity: 1;
	}

}

@media (max-width: 781px) {
	.single-product .woocommerce-product-gallery.woocommerce-product-gallery--with-images {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.65rem;
	}

	.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
	.single-product .woocommerce-product-gallery .flex-viewport {
		grid-column: 1;
		grid-row: 1;
		width: 100% !important;
		max-width: 100%;
	}

	.single-product div.product div.images .flex-control-thumbs,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs {
		grid-column: 1;
		grid-row: 2;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0.5rem;
		float: none !important;
		width: 100%;
		margin: 0 !important;
		padding: 0 0 0.15rem;
		overflow-x: auto;
		overflow-y: hidden;
		list-style: none;
		-webkit-overflow-scrolling: touch;
	}

	.single-product div.product div.images .flex-control-thumbs li,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs li {
		float: none !important;
		flex: 0 0 auto;
		width: 4.25rem !important;
		margin: 0 !important;
		padding: 0;
	}

	.single-product div.product div.images .flex-control-thumbs li img,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs li img {
		box-sizing: border-box;
		width: 4.25rem !important;
		height: 4.25rem !important;
		max-width: none !important;
		object-fit: cover;
		border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	}

	.single-product div.product div.images .flex-control-thumbs li.flex-active img,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs li.flex-active img,
	.single-product div.product div.images .flex-control-thumbs li img.flex-active,
	.single-product .woocommerce-product-gallery.images .flex-control-thumbs li img.flex-active {
		border-color: var(--wp--preset--color--contrast, #1c1c1c);
	}

	/* Main image bottom-right, above the horizontal thumb row. */
	.single-product
		.woocommerce-product-gallery:has(.flex-control-thumbs li:nth-child(2))
		.woocommerce-product-gallery__trigger {
		bottom: calc(4.25rem + 0.65rem + 0.75rem) !important;
	}
}

/* Single product: tab row already labels each panel. */
.single-product .wp-block-woocommerce-product-details .woocommerce-Tabs-panel > h2:first-child {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
