/**
 * Shop / category archive UX (catalog-only).
 */

body.ev-catalog-view {
	--ev-catalog-max: 80rem;
	--ev-catalog-pad: clamp(1rem, 2.4vw, 1.5rem);
	--ev-catalog-gap: clamp(1.25rem, 2vw, 1.75rem);
	--ev-catalog-image-bg: #fff;
	--ev-catalog-intro: #5b5450;
	--ev-catalog-text-xs: 0.8125rem;
	--ev-catalog-text-sm: 0.875rem;
	--ev-catalog-text-md: 0.9375rem;
	--ev-catalog-title-size: clamp(1.875rem, 3.2vw, 2.25rem);
	--ev-catalog-section-y: clamp(1rem, 2.5vw, 1.5rem);
	--ev-catalog-rhythm-sm: 0.625rem;
	--ev-catalog-rhythm-md: clamp(0.875rem, 2vw, 1.125rem);
	--ev-catalog-rhythm-lg: clamp(1.25rem, 2.5vw, 1.75rem);
	--ev-catalog-image-inset: 86%;
	--ev-link: var(--ev-brand-ink, #1a1512);
	--ev-link-hover: var(--ev-brand-accent, #8a4b2a);
	--ev-focus-ring: 0 0 0 2px #fff, 0 0 0 4px var(--ev-brand-ink, #1a1512);
	font-weight: 400;
}

body.ev-catalog-view .ev-catalog-container,
body.ev-catalog-view .ev-catalog-breadcrumb-wrap,
body.ev-catalog-view .ev-catalog-title-wrap {
	max-width: var(--ev-catalog-max);
	margin-inline: auto;
	padding-inline: var(--ev-catalog-pad);
	width: 100%;
	box-sizing: border-box;
}

body.ev-catalog-view .ev-catalog-title-wrap {
	padding-top: var(--ev-catalog-rhythm-md);
	padding-bottom: var(--ev-catalog-rhythm-sm);
	margin-bottom: 0;
}

body.ev-catalog-view .ev-site-header__bar.alignwide {
	max-width: var(--ev-catalog-max);
	margin-inline: auto;
	padding-inline: var(--ev-catalog-pad);
	width: 100%;
	box-sizing: border-box;
}

body.ev-catalog-view a:link,
body.ev-catalog-view a:visited {
	color: var(--ev-link);
}

body.ev-catalog-view a:hover,
body.ev-catalog-view a:active {
	color: var(--ev-link-hover);
}

body.ev-catalog-view a:focus-visible {
	outline: none;
	box-shadow: var(--ev-focus-ring);
	border-radius: 2px;
}

body.ev-catalog-view .ev-site-footer a:link,
body.ev-catalog-view .ev-site-footer a:visited {
	color: var(--ev-link);
}

body.ev-catalog-view .ev-site-footer__heading {
	color: var(--ev-brand-ink, #1a1512) !important;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.ev-catalog-view .wp-block-woocommerce-product-collection.alignwide {
	max-width: var(--ev-catalog-max);
	margin-inline: auto;
	padding-inline: var(--ev-catalog-pad);
	width: 100%;
	box-sizing: border-box;
}

/* Grid */

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

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

@media (min-width: 1024px) {
	body.ev-catalog-view ul.wc-block-product-template.wc-block-product-template__responsive {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 400px) {
	body.ev-catalog-view ul.wc-block-product-template.wc-block-product-template__responsive {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1.25rem !important;
	}
}

/* Product cards */

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

body.ev-catalog-view li.wc-block-product .wp-block-post-title {
	font-size: var(--ev-catalog-text-md);
	font-weight: 500;
	color: var(--ev-brand-ink, #1a1512);
	min-height: 2.55em;
	line-height: 1.35;
	margin: 0.5rem 0 0.25rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

body.ev-catalog-view li.wc-block-product .wp-block-post-title a {
	color: inherit;
}

body.ev-catalog-view li.wc-block-product .wp-block-post-title a:focus-visible {
	outline: none;
	box-shadow: var(--ev-focus-ring);
	border-radius: 2px;
}

body.ev-catalog-view .wc-block-components-product-image,
body.ev-catalog-view .wp-block-woocommerce-product-image {
	aspect-ratio: 4 / 5 !important;
	width: 100% !important;
	height: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
	background: var(--ev-catalog-image-bg) !important;
	position: relative;
}

body.ev-catalog-view .wc-block-components-product-image > a,
body.ev-catalog-view .wp-block-woocommerce-product-image > a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	height: 100%;
}

body.ev-catalog-view .wc-block-components-product-image img,
body.ev-catalog-view .wp-block-woocommerce-product-image img {
	width: auto !important;
	height: auto !important;
	max-width: var(--ev-catalog-image-inset, 88%) !important;
	max-height: var(--ev-catalog-image-inset, 88%) !important;
	aspect-ratio: unset !important;
	object-fit: contain !important;
	object-position: center center;
	background: transparent;
	mix-blend-mode: normal;
	box-sizing: border-box;
}

body.ev-catalog-view li.wc-block-product .ev-catalog-card__price-slot {
	min-height: 1.25rem;
	margin: 0.25rem 0 0.5rem;
	font-size: var(--ev-catalog-text-sm);
}

body.ev-catalog-view .wc-block-components-product-image {
	overflow: hidden;
}

body.ev-catalog-view .wc-block-components-product-sale-badge,
body.ev-catalog-view .wc-block-components-product-image .wc-block-components-product-sale-badge {
	top: 0.75rem !important;
	left: 0.75rem !important;
	right: auto !important;
	width: auto !important;
	height: auto !important;
	min-height: 0;
	padding: 0.25rem 0.5rem !important;
	border-radius: 999px !important;
	font-size: 0.75rem !important;
	font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
	body.ev-catalog-view .wc-block-components-product-image:not(.ev-has-hover-image) img {
		transition: transform 300ms ease;
	}

	body.ev-catalog-view li.wc-block-product:hover .wc-block-components-product-image:not(.ev-has-hover-image) img,
	body.ev-catalog-view li.wc-block-product:focus-within .wc-block-components-product-image:not(.ev-has-hover-image) img {
		transform: scale(1.03);
	}
}

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

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 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 2.75rem;
	padding: 0.65rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 0;
	box-sizing: border-box;
}

body.ev-catalog-view li.wc-block-product .wp-block-woocommerce-product-button .wp-element-button:focus-visible {
	outline: none;
	box-shadow: var(--ev-focus-ring);
}

body.ev-catalog-view .ev-catalog-badge {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	z-index: 2;
	padding: 0.25rem 0.55rem;
	background: var(--ev-brand-ink, #1a1512);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.3;
}

/* Page header */

body.ev-catalog-view .wp-block-query-title,
body.ev-catalog-view h1.wp-block-query-title {
	font-size: var(--ev-catalog-title-size);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.5rem;
}

body.ev-catalog-view .ev-catalog-intro {
	max-width: none;
	width: 100%;
	font-size: var(--ev-catalog-text-md);
	line-height: 1.5;
	color: var(--ev-catalog-intro);
	text-align: left;
	margin: 0;
}

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

body.ev-catalog-view .ev-category-pills__link {
	min-height: 2.5rem;
	padding: 0 1.1rem;
	font-size: 0.875rem;
	color: var(--ev-link);
}

body.ev-catalog-view .ev-category-pills__link:visited {
	color: var(--ev-link);
}

body.ev-catalog-view .ev-category-pills__link.is-active,
body.ev-catalog-view .ev-category-pills__link[aria-current="page"] {
	color: #fff;
}

body.ev-catalog-view .ev-category-pills__link:hover {
	border-color: var(--ev-brand-accent, #8a4b2a);
}

body.ev-catalog-view .ev-category-pills__link:focus-visible {
	outline: none;
	box-shadow: var(--ev-focus-ring);
}

/* Controls row */

body.ev-catalog-view .ev-catalog-controls {
	border-top: none;
	padding-top: 0;
	margin-bottom: 0;
}

body.ev-catalog-view .ev-catalog-controls__row.ev-catalog-controls__toolbar {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.65rem 1rem;
	min-height: 2.75rem;
	padding-bottom: 0.625rem;
	margin-bottom: 0.625rem;
	border-bottom: 1px solid var(--ev-brand-border, #e8e1d9);
}

body.ev-catalog-view .ev-catalog-controls__count,
body.ev-catalog-view .ev-catalog-controls__count .woocommerce-result-count {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ev-catalog-intro);
	flex: 1 1 auto;
	min-width: 0;
	white-space: nowrap;
}

body.ev-catalog-view .ev-catalog-controls__sort {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
}

body.ev-catalog-view .ev-catalog-controls__sort-label {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--ev-catalog-intro);
	white-space: nowrap;
	margin: 0;
	cursor: pointer;
}

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

body.ev-catalog-view .ev-catalog-controls__sort select.orderby {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	min-height: 2.625rem;
	min-width: 9.5rem;
	max-width: min(100%, 14rem);
	padding: 0.45rem 2.125rem 0.45rem 0.875rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.01em;
	border: 1px solid var(--ev-brand-border, #e8e1d9);
	border-radius: 6px;
	background-color: #fff;
	color: var(--ev-brand-ink, #1a1512);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c6570' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
	background-size: 14px;
}

body.ev-catalog-view .ev-catalog-controls__sort select.orderby:hover {
	border-color: #cfc7be;
}

body.ev-catalog-view .ev-catalog-controls__sort select.orderby:focus-visible {
	outline: none;
	border-color: var(--ev-brand-ink, #1a1512);
	box-shadow: var(--ev-focus-ring);
}

body.ev-catalog-view .ev-catalog-active-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0 0 1rem;
}

body.ev-catalog-view .ev-catalog-filter-clear--bar {
	font-size: 0.875rem;
	min-height: 2.75rem;
	display: inline-flex;
	align-items: center;
}

/* Sidebar categories (was top pills — now in sidebar) */

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

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

body.ev-catalog-view .ev-catalog-sidebar-categories__heading {
	margin: 0 0 0.5rem;
	font-size: var(--ev-catalog-text-sm, 0.875rem);
	font-weight: 600;
	color: var(--ev-brand-ink, #1a1512);
	letter-spacing: 0.04em;
	line-height: 1.35;
}

body.ev-catalog-view .ev-catalog-sidebar-categories__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

body.ev-catalog-view .ev-catalog-sidebar-categories__link {
	display: flex;
	align-items: center;
	min-height: 2.375rem;
	padding: 0.35rem 0.5rem;
	font-size: var(--ev-catalog-text-sm, 0.875rem);
	line-height: 1.35;
	color: var(--ev-link, var(--ev-brand-ink, #1a1512));
	text-decoration: none;
	border-radius: 6px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

body.ev-catalog-view .ev-catalog-sidebar-categories__link:visited {
	color: var(--ev-link, var(--ev-brand-ink, #1a1512));
}

body.ev-catalog-view .ev-catalog-sidebar-categories__link:hover {
	color: var(--ev-link-hover, var(--ev-brand-accent, #8a4b2a));
	background: var(--ev-brand-soft, #faf8f5);
}

body.ev-catalog-view .ev-catalog-sidebar-categories__link.is-active,
body.ev-catalog-view .ev-catalog-sidebar-categories__link[aria-current="page"] {
	font-weight: 600;
	color: var(--ev-brand-ink, #1a1512);
	background: var(--ev-brand-soft, #faf8f5);
}

body.ev-catalog-view .ev-catalog-sidebar-categories__link:focus-visible {
	outline: none;
	box-shadow: var(--ev-focus-ring);
}

/* Sidebar + layout */

body.ev-catalog-view .wp-block-woocommerce-product-collection .ev-catalog-layout {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding-inline: 0;
}

body.ev-catalog-view .ev-catalog-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ev-catalog-rhythm-md);
	margin: 0 0 var(--ev-catalog-rhythm-md);
	width: 100%;
	box-sizing: border-box;
}

body.ev-catalog-view .ev-catalog-layout__main {
	min-width: 0;
	width: 100%;
}

@media (min-width: 901px) {
	body.ev-catalog-view .ev-catalog-sidebar-categories {
		margin-top: 0;
	}

	body.ev-catalog-view .ev-catalog-sidebar {
		position: sticky;
		top: calc(var(--ev-header-bar-min, 4.625rem) + 0.75rem);
		align-self: start;
		max-height: calc(100vh - var(--ev-header-bar-min, 4.625rem) - 2rem);
		overflow: auto;
		padding-right: clamp(0.75rem, 1.5vw, 1.25rem) !important;
		border-right: 1px solid var(--ev-brand-border, #e8e1d9) !important;
	}

	body.ev-catalog-view .ev-catalog-layout {
		grid-template-columns: minmax(220px, 17rem) minmax(0, 1fr);
		gap: clamp(1.25rem, 2.5vw, 2rem);
		align-items: start;
	}

	body.ev-catalog-view .ev-catalog-filters-open,
	body.ev-catalog-view .ev-catalog-drawer {
		display: none !important;
	}
}

@media (max-width: 900px) {
	body.ev-catalog-view .ev-catalog-sidebar {
		display: none;
	}

	body.ev-catalog-view .ev-catalog-filters-open {
		display: inline-flex;
		align-items: center;
		min-height: 2.75rem;
	}
}

body.ev-catalog-view .ev-catalog-filter-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: 2.75rem;
	margin: 0 0 0.25rem;
	padding: 0 0 0.75rem;
	border-bottom: 1px solid var(--ev-brand-border, #e8e1d9);
}

body.ev-catalog-view .ev-catalog-filter-head__title {
	margin: 0;
	font-size: var(--ev-catalog-text-sm, 0.875rem);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ev-brand-ink, #1a1512);
	line-height: 1.35;
}

body.ev-catalog-view .ev-catalog-filter-clear--head {
	font-size: var(--ev-catalog-text-sm, 0.875rem);
	font-weight: 500;
	color: var(--ev-catalog-intro, #5b5450);
	text-decoration: none;
	white-space: nowrap;
	min-height: 2.75rem;
	display: inline-flex;
	align-items: center;
}

body.ev-catalog-view .ev-catalog-filter-clear--head:hover {
	color: var(--ev-link-hover, #8a4b2a);
}

body.ev-catalog-view .ev-catalog-filter-clear--head:focus-visible {
	outline: none;
	box-shadow: var(--ev-focus-ring);
	border-radius: 2px;
}

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

body.ev-catalog-view .ev-catalog-filter-group--price .ev-catalog-filter-group__body {
	padding-top: 0.15rem;
	padding-bottom: 0.25rem;
}

body.ev-catalog-view .ev-catalog-filter-foot {
	display: none !important;
}

body.ev-catalog-view .ev-catalog-filter-group__title {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--ev-brand-ink, #1a1512);
	min-height: 2.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	list-style: none;
}

body.ev-catalog-view .ev-catalog-filter-group__title::-webkit-details-marker {
	display: none;
}

body.ev-catalog-view .ev-catalog-filter-group__title::after {
	content: "";
	flex-shrink: 0;
	width: 0.45rem;
	height: 0.45rem;
	margin-left: auto;
	border-right: 2px solid currentcolor;
	border-bottom: 2px solid currentcolor;
	transform: rotate(45deg);
	transition: transform 200ms ease;
}

body.ev-catalog-view .ev-catalog-filter-group[open] > .ev-catalog-filter-group__title::after {
	transform: rotate(-135deg);
}

body.ev-catalog-view .ev-catalog-filter-group__body {
	padding-top: 0.15rem;
}

body.ev-catalog-view ul.ev-catalog-size-chips {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 0.4rem;
}

body.ev-catalog-view .ev-catalog-size-chips__item--full {
	grid-column: 1 / -1;
}

body.ev-catalog-view .ev-catalog-size-chip--full .ev-catalog-size-chip__label {
	white-space: normal;
	text-align: center;
	padding: 0.25rem 0;
}

body.ev-catalog-view .ev-catalog-size-chips > li {
	min-width: 0;
}

body.ev-catalog-view .ev-catalog-size-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	min-height: 2.5rem;
	padding: 0 0.35rem;
	border: 1px solid var(--ev-brand-border, #e8e1d9);
	cursor: pointer;
	box-sizing: border-box;
	position: relative;
}

body.ev-catalog-view .ev-catalog-size-chip input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

body.ev-catalog-view .ev-catalog-size-chip__label {
	font-size: 0.875rem;
	line-height: 1.2;
	color: var(--ev-brand-ink, #1a1512) !important;
	text-align: center;
}

body.ev-catalog-view .ev-catalog-color-option__text {
	color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view label.ev-catalog-size-chip,
body.ev-catalog-view label.ev-catalog-color-option {
	color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-size-chip.is-selected {
	border-color: var(--ev-brand-ink, #1a1512);
	background: var(--ev-brand-ink, #1a1512);
	color: #fff;
}

body.ev-catalog-view .ev-catalog-size-chip.is-selected .ev-catalog-size-chip__label {
	color: #fff;
	font-weight: 600;
}

body.ev-catalog-view .ev-catalog-size-chip.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Woo block pagination — custom .ev-catalog-footer is the only control */

body.ev-catalog-view .wp-block-query-pagination,
body.ev-catalog-view .woocommerce-pagination {
	display: none !important;
}

/* Catalog footer — pagination + show per page */

body.ev-catalog-view .ev-catalog-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-top: clamp(1.5rem, 3vw, 2rem);
	padding-top: clamp(1rem, 2vw, 1.25rem);
	border-top: 1px solid var(--ev-brand-border, #e8e1d9);
}

body.ev-catalog-view .ev-catalog-pagination__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ev-catalog-view .ev-catalog-pagination__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	min-height: 2.25rem;
	padding: 0 0.5rem;
	border: 0;
	background: transparent;
	color: var(--ev-brand-ink, #1a1512);
	font-size: var(--ev-catalog-text-sm, 0.875rem);
	text-decoration: none;
}

body.ev-catalog-view .ev-catalog-pagination__link.is-current {
	background: #e8e4de;
	color: var(--ev-brand-ink, #1a1512);
	border-radius: 2px;
	font-weight: 500;
}

body.ev-catalog-view .ev-catalog-pagination__link--next {
	font-size: 1.125rem;
	line-height: 1;
}

body.ev-catalog-view .ev-catalog-pagination__link:hover:not(.is-current) {
	color: var(--ev-link-hover, #8a4b2a);
}

body.ev-catalog-view .ev-catalog-pagination__link:focus-visible {
	outline: none;
	box-shadow: var(--ev-focus-ring);
	border-radius: 2px;
}

body.ev-catalog-view .ev-catalog-show {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem 0.5rem;
	margin-left: auto;
	font-size: var(--ev-catalog-text-sm, 0.875rem);
	color: #5b7a9a;
}

body.ev-catalog-view .ev-catalog-show__label,
body.ev-catalog-view .ev-catalog-show__suffix {
	margin: 0;
}

body.ev-catalog-view .ev-catalog-show__select {
	min-height: 2.25rem;
	padding: 0.25rem 1.75rem 0.25rem 0.65rem;
	border: 1px solid var(--ev-brand-ink, #1a1512);
	border-radius: 2px;
	background: #fff;
	color: var(--ev-brand-ink, #1a1512);
	font-size: var(--ev-catalog-text-sm, 0.875rem);
	font-weight: 500;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1512' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.45rem center;
}

body.ev-catalog-view .ev-catalog-show__select:focus-visible {
	outline: none;
	box-shadow: var(--ev-focus-ring);
}

@media (max-width: 640px) {
	body.ev-catalog-view .ev-catalog-footer {
		flex-direction: column;
		align-items: stretch;
	}

	body.ev-catalog-view .ev-catalog-show {
		margin-left: 0;
		justify-content: flex-start;
	}
}

/* Dual-handle price range (single track) */

body.ev-catalog-view .ev-dual-range {
	position: relative;
	height: 2.25rem;
	margin: 0;
}

body.ev-catalog-view .ev-dual-range--minimal {
	height: 2rem;
}

body.ev-catalog-view .ev-dual-range__track {
	position: absolute;
	inset-inline: 0;
	top: 50%;
	height: 2px;
	transform: translateY(-50%);
	background: var(--ev-brand-border, #e8e1d9);
	border-radius: 999px;
	pointer-events: none;
}

body.ev-catalog-view .ev-dual-range__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: var(--ev-brand-ink, #1a1512);
	border-radius: 999px;
}

body.ev-catalog-view .ev-dual-range input[type="range"]::-webkit-slider-runnable-track {
	height: 4px;
	background: transparent !important;
	border: 0;
}

body.ev-catalog-view .ev-dual-range input[type="range"]::-moz-range-track {
	height: 4px;
	background: transparent !important;
	border: 0;
}

body.ev-catalog-view .ev-dual-range input[type="range"] {
	position: absolute;
	inset-inline: 0;
	top: 0;
	width: 100%;
	height: 2.25rem;
	margin: 0;
	padding: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

body.ev-catalog-view .ev-dual-range--minimal input[type="range"] {
	height: 2rem;
}

body.ev-catalog-view .ev-dual-range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: auto;
	width: 0.875rem;
	height: 0.875rem;
	border-radius: 50%;
	border: 1px solid var(--ev-brand-ink, #1a1512);
	background: #fff;
	box-shadow: 0 1px 2px rgb(26 21 18 / 15%);
	cursor: pointer;
}

body.ev-catalog-view .ev-dual-range input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 0.875rem;
	height: 0.875rem;
	border-radius: 50%;
	border: 1px solid var(--ev-brand-ink, #1a1512);
	background: #fff;
	box-shadow: 0 1px 2px rgb(26 21 18 / 15%);
	cursor: pointer;
}

body.ev-catalog-view .ev-dual-range input[type="range"]:focus-visible::-webkit-slider-thumb {
	box-shadow: var(--ev-focus-ring);
}

body.ev-catalog-view .ev-dual-range input[type="range"]:focus-visible::-moz-range-thumb {
	box-shadow: var(--ev-focus-ring);
}

body.ev-catalog-view .ev-dual-range__max {
	z-index: 2;
}

body.ev-catalog-view .ev-dual-range__min {
	z-index: 1;
}

body.ev-catalog-view .ev-catalog-price-label {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
	color: var(--ev-brand-ink, #1a1512);
	line-height: 1.3;
}

/* Colour rows */

body.ev-catalog-view .ev-catalog-color-option {
	min-height: 2.75rem;
	padding: 0.2rem 0;
	position: relative;
}

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;
}

body.ev-catalog-view .ev-catalog-color-option__dot,
body.ev-catalog-view .ev-catalog-color-option__text,
body.ev-catalog-view .ev-catalog-filter-count {
	pointer-events: none;
}

body.ev-catalog-view .ev-catalog-color-option.is-disabled {
	opacity: 0.45;
}

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.is-selected .ev-catalog-color-option__text {
	font-weight: 600;
}

body.ev-catalog-view .ev-catalog-filter-count {
	margin-left: auto;
	min-width: auto;
	height: auto;
	padding: 0;
	border-radius: 0;
	background: transparent !important;
	font-size: 0.8125rem;
	color: var(--ev-catalog-intro) !important;
}

body.ev-catalog-view .ev-catalog-sidebar__apply,
body.ev-catalog-view .ev-catalog-drawer__apply {
	width: 100%;
	min-height: 2.75rem;
	text-transform: none;
	letter-spacing: 0.03em;
	font-size: 0.875rem;
}


/* Toolbar + breadcrumb alignment */

body.ev-catalog-view .wp-block-woocommerce-breadcrumb:not(.ev-catalog-breadcrumb-inline *),
body.ev-catalog-view .wp-block-woocommerce-breadcrumbs:not(.ev-catalog-breadcrumb-inline *) {
	max-width: var(--ev-catalog-max);
	margin-inline: auto;
	padding-inline: var(--ev-catalog-pad);
	width: 100%;
	box-sizing: border-box;
}

body.ev-catalog-view {
	--ev-breadcrumb-link: #4a7eb8;
	--ev-breadcrumb-link-hover: #356394;
	--ev-breadcrumb-current: #2f2a26;
	--ev-breadcrumb-sep: #b0b6bf;
	--ev-breadcrumb-home: #5c6570;
}

body.ev-catalog-view .ev-catalog-breadcrumb-inline {
	margin: 0 0 var(--ev-catalog-rhythm-sm);
	padding: 0;
	background: transparent;
	font-size: var(--ev-catalog-text-sm);
	font-weight: 400;
	line-height: 1.45;
}

body.ev-catalog-view .ev-catalog-breadcrumb-inline .alignwide,
body.ev-catalog-view .ev-catalog-breadcrumb-inline .wp-block-woocommerce-breadcrumbs,
body.ev-catalog-view .ev-catalog-breadcrumb-inline .wp-block-woocommerce-breadcrumb,
body.ev-catalog-view .ev-breadcrumb-trail-block {
	max-width: none;
	margin: 0;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

body.ev-catalog-view .ev-breadcrumb-trail {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

body.ev-catalog-view .ev-breadcrumb-trail__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.ev-catalog-view .ev-breadcrumb-trail__item,
body.ev-catalog-view .ev-breadcrumb-trail__sep {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

body.ev-catalog-view .ev-breadcrumb-trail__link {
	color: var(--ev-breadcrumb-link);
	text-decoration: none;
	font-weight: 500;
}

body.ev-catalog-view .ev-breadcrumb-trail__link:hover,
body.ev-catalog-view .ev-breadcrumb-trail__link:focus-visible {
	color: var(--ev-breadcrumb-link-hover);
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

body.ev-catalog-view .ev-breadcrumb-trail__link--home {
	display: inline-flex;
	align-items: center;
	color: var(--ev-breadcrumb-home);
}

body.ev-catalog-view .ev-breadcrumb-trail__link--home:hover,
body.ev-catalog-view .ev-breadcrumb-trail__link--home:focus-visible {
	color: var(--ev-breadcrumb-link-hover);
}

body.ev-catalog-view .ev-breadcrumb-trail__home-icon {
	display: block;
}

body.ev-catalog-view .ev-breadcrumb-trail__current {
	color: var(--ev-breadcrumb-current);
	font-weight: 500;
}

body.ev-catalog-view .ev-breadcrumb-trail__sep {
	color: var(--ev-breadcrumb-sep);
	line-height: 0;
}

body.ev-catalog-view .wp-block-woocommerce-breadcrumb a:link,
body.ev-catalog-view .wp-block-woocommerce-breadcrumb a:visited,
body.ev-catalog-view .woocommerce-breadcrumb a:link,
body.ev-catalog-view .woocommerce-breadcrumb a:visited {
	color: var(--ev-link);
}

body.ev-catalog-view .wp-block-woocommerce-breadcrumb a:hover,
body.ev-catalog-view .woocommerce-breadcrumb a:hover {
	color: var(--ev-link-hover);
}

body.ev-catalog-view {
	overflow-x: clip;
}

body.ev-catalog-view .ev-catalog-controls__count,
body.ev-catalog-view .ev-catalog-controls__count .woocommerce-result-count {
	font-size: 0.875rem !important;
	font-weight: 400;
	line-height: 1.4;
}

body.ev-catalog-view .ev-catalog-controls {
	padding-left: 0;
	padding-right: 0;
}

body.ev-catalog-view .ev-has-bottom-nav {
	padding-bottom: calc(var(--ev-bottom-nav-h, 0px) + 4.5rem);
}

body.ev-catalog-view .ev-whatsapp-float {
	bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
	right: 1.25rem;
}

@media (max-width: 781px) {
	body.ev-catalog-view.ev-has-bottom-nav .ev-whatsapp-float {
		bottom: calc(var(--ev-bottom-nav-h, 3.75rem) + 1rem);
	}
}

/* Footer trust bar (catalog / category only) */

body.ev-catalog-view .ev-catalog-footer-trust {
	margin: var(--ev-catalog-rhythm-lg) 0 0;
	padding: clamp(1.15rem, 2vw, 1.5rem) 0;
	background: #f5f2ee;
	border-block-start: 1px solid var(--ev-brand-border, #e8e1d9);
	border-block-end: none;
}

body.ev-catalog-view .ev-catalog-footer-trust__inner {
	max-width: var(--ev-catalog-max);
	margin-inline: auto;
	padding-inline: var(--ev-catalog-pad);
}

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

body.ev-catalog-view .ev-catalog-footer-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	min-width: 0;
	padding-inline: clamp(0.5rem, 2vw, 1.25rem);
	border-inline-end: 1px solid color-mix(in srgb, var(--ev-brand-border, #e8e1d9) 85%, #fff);
}

body.ev-catalog-view .ev-catalog-footer-trust__item:last-child {
	border-inline-end: none;
}

body.ev-catalog-view .ev-catalog-footer-trust__icon {
	flex: 0 0 auto;
	width: 1.75rem;
	height: 1.75rem;
	margin-top: 0.1rem;
	background: var(--ev-brand-ink, #1a1512);
	opacity: 0.92;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

body.ev-catalog-view .ev-catalog-footer-trust__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");
}

body.ev-catalog-view .ev-catalog-footer-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");
}

body.ev-catalog-view .ev-catalog-footer-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='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");
}

body.ev-catalog-view .ev-catalog-footer-trust__text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

body.ev-catalog-view .ev-catalog-footer-trust__title {
	font-family: var(--ev-font-display, Georgia, "Times New Roman", Times, serif);
	font-size: clamp(1rem, 1.35vw, 1.125rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-footer-trust__lede {
	font-family: var(--ev-font-family, "Figtree", system-ui, sans-serif);
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--ev-catalog-intro, #6b625a);
}

@media (max-width: 768px) {
	body.ev-catalog-view .ev-catalog-footer-trust__list {
		grid-template-columns: 1fr;
		gap: 1.15rem;
	}

	body.ev-catalog-view .ev-catalog-footer-trust__item {
		border-inline-end: none;
		padding-inline: 0;
	}
}

/* Footer */

body.ev-catalog-view .ev-site-footer > .alignwide {
	max-width: var(--ev-catalog-max);
	padding-inline: var(--ev-catalog-pad);
}

body.ev-catalog-view .ev-site-footer .wp-block-spacer {
	display: none !important;
}

body.ev-catalog-view .ev-site-footer {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	padding-top: clamp(2rem, 3vw, 2.75rem) !important;
	padding-bottom: clamp(2rem, 4vw, 2.5rem) !important;
}

body.ev-catalog-view main.wp-block-group {
	padding-top: 0;
	padding-bottom: 0;
}

@media (min-width: 782px) {
	body.ev-catalog-view .ev-site-footer__top {
		display: grid;
		grid-template-columns: 1.5fr repeat(3, 1fr);
		gap: clamp(1.25rem, 2.5vw, 2rem);
		align-items: start;
	}

	body.ev-catalog-view .ev-site-footer__columns {
		display: contents;
	}

	body.ev-catalog-view .ev-site-footer__brand-col {
		grid-column: 1;
	}

	body.ev-catalog-view .ev-site-footer__col:nth-of-type(1) {
		grid-column: 2;
	}

	body.ev-catalog-view .ev-site-footer__col:nth-of-type(2) {
		grid-column: 3;
	}

	body.ev-catalog-view .ev-site-footer__col:nth-of-type(3) {
		grid-column: 4;
	}

	body.ev-catalog-view .ev-site-footer__social {
		margin-top: 0.65rem;
	}

	body.ev-catalog-view .ev-site-footer__location {
		margin-top: 0.3rem;
	}

	body.ev-catalog-view .ev-site-footer__nav a {
		font-size: 0.875rem;
		line-height: 1.35;
		padding-block: 0.35rem;
		min-height: 0;
		display: inline-flex;
	}
}

@media (max-width: 782px) and (min-width: 481px) {
	body.ev-catalog-view .ev-site-footer__top {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (max-width: 480px) {
	body.ev-catalog-view .ev-site-footer__top {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}

body.ev-catalog-view .ev-catalog-empty-state {
	text-align: center;
	padding: 2.5rem 1rem 3rem;
}

body.ev-catalog-view .ev-catalog-empty-state__text {
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 400;
	color: var(--ev-brand-ink, #1a1512);
}

body.ev-catalog-view .ev-catalog-empty-state__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding-inline: 1.25rem;
	text-decoration: none;
}

/* Catalog controls + filters */

body.ev-catalog-view .wp-block-woocommerce-product-results-count,
body.ev-catalog-view .wc-block-product-results-count {
	display: none !important;
}

body.ev-catalog-view .ev-catalog-sidebar__form,
body.ev-catalog-view .ev-catalog-drawer__form {
	font-size: var(--ev-catalog-text-sm);
}

body.ev-catalog-view .ev-catalog-controls__row:not(.ev-catalog-controls__toolbar) {
	gap: 0.625rem 0.875rem;
}

body.ev-catalog-view .ev-catalog-controls__count,
body.ev-catalog-view .ev-catalog-controls__count .woocommerce-result-count {
	font-size: var(--ev-catalog-text-sm);
	line-height: 1.45;
}

body.ev-catalog-view .ev-catalog-filters-open {
	min-height: 2.625rem;
	padding: 0 1rem;
	border: 1px solid var(--ev-brand-border, #e8e1d9);
	border-radius: 6px;
	background: #fff;
	font-size: var(--ev-catalog-text-sm);
	font-weight: 500;
}

body.ev-catalog-view li.wc-block-product .wp-block-woocommerce-product-button {
	padding-top: 0.35rem;
}

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 {
	font-size: var(--ev-catalog-text-sm);
	padding: 0.6rem 1rem;
}

body.ev-catalog-view .ev-catalog-filter-group__title {
	font-size: var(--ev-catalog-text-sm);
	min-height: 2.625rem;
}

body.ev-catalog-view .ev-catalog-filter-count {
	font-size: var(--ev-catalog-text-xs);
}

/* Grid / list toolbar */

body.ev-catalog-view .ev-catalog-controls__toolbar .ev-catalog-layout-toggle {
	flex: 0 0 auto;
}

body.ev-catalog-view .ev-catalog-layout-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

body.ev-catalog-view .ev-catalog-layout-toggle__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #9a948e;
	text-decoration: none;
	cursor: pointer;
	border-radius: 4px;
}

body.ev-catalog-view .ev-catalog-layout-toggle__btn:hover {
	color: var(--ev-brand-ink, #1a1512);
}

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

body.ev-catalog-view .ev-catalog-layout-toggle__btn:focus-visible {
	outline: none;
	box-shadow: var(--ev-focus-ring);
}

body.ev-catalog-view .ev-catalog-layout-toggle__icon {
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	position: relative;
}

body.ev-catalog-view .ev-catalog-layout-toggle__icon--grid::before {
	content: "";
	display: block;
	width: 4px;
	height: 4px;
	margin: 0 auto;
	border-radius: 50%;
	background: currentcolor;
	box-shadow:
		7px 0 0 currentcolor,
		0 7px 0 currentcolor,
		7px 7px 0 currentcolor;
}

body.ev-catalog-view .ev-catalog-layout-toggle__icon--list::before {
	content: "";
	display: block;
	width: 14px;
	height: 2px;
	margin: 0 auto;
	background: currentcolor;
	box-shadow:
		0 5px 0 currentcolor,
		0 10px 0 currentcolor,
		0 15px 0 currentcolor;
	opacity: 0.75;
}

body.ev-catalog-view .ev-catalog-layout-toggle__btn.is-active .ev-catalog-layout-toggle__icon--list::before,
body.ev-catalog-view .ev-catalog-layout-toggle__btn[aria-current="true"] .ev-catalog-layout-toggle__icon--list::before {
	opacity: 1;
}

body.ev-catalog-view .ev-catalog-result-count,
body.ev-catalog-view .ev-catalog-controls__count .woocommerce-result-count {
	margin: 0 !important;
	font-size: var(--ev-catalog-text-sm) !important;
	color: var(--ev-catalog-intro, #5b5450) !important;
	font-weight: 400;
	line-height: 1.45;
}

/* List layout */

body.ev-catalog-view .ev-catalog-card__excerpt {
	display: none;
	margin: 0;
	font-size: var(--ev-catalog-text-sm, 0.875rem);
	line-height: 1.45;
	color: var(--ev-catalog-intro, #5b5450);
}

body.ev-catalog-view li.wc-block-product > .wc-block-components-product-price__value {
	display: none !important;
}

body.ev-catalog-layout-list ul.wc-block-product-template.wc-block-product-template__responsive {
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 0 !important;
}

body.ev-catalog-layout-list li.wc-block-product {
	display: grid !important;
	grid-template-columns: clamp(5.75rem, 20vw, 8.5rem) minmax(0, 1fr);
	column-gap: clamp(1rem, 2.5vw, 1.35rem);
	row-gap: 0.35rem;
	align-items: start;
	padding: 1.15rem 0;
	border-bottom: 1px solid var(--ev-brand-border, #e8e1d9);
	height: auto;
}

body.ev-catalog-layout-list li.wc-block-product > .wp-block-woocommerce-product-image,
body.ev-catalog-layout-list li.wc-block-product > .wc-block-components-product-image {
	grid-column: 1;
	grid-row: 1 / span 4;
	margin: 0;
	align-self: start;
}

body.ev-catalog-layout-list li.wc-block-product > .wp-block-post-title {
	grid-column: 2;
	grid-row: 1;
	margin: 0 !important;
	min-height: 0 !important;
	text-align: left !important;
	align-self: start;
}

body.ev-catalog-layout-list li.wc-block-product > .wp-block-post-title a {
	text-align: left;
}

body.ev-catalog-layout-list li.wc-block-product > .ev-catalog-card__excerpt {
	display: block;
	grid-column: 2;
	grid-row: 2;
	margin: 0.15rem 0 0.35rem !important;
}

body.ev-catalog-layout-list li.wc-block-product > .wp-block-woocommerce-product-price,
body.ev-catalog-layout-list li.wc-block-product > .ev-catalog-card__price-slot {
	grid-column: 2;
	grid-row: 3;
	margin: 0 !important;
	min-height: 0 !important;
	text-align: left !important;
}

body.ev-catalog-layout-list li.wc-block-product > .wp-block-woocommerce-product-price .wc-block-components-product-price,
body.ev-catalog-layout-list li.wc-block-product > .wp-block-woocommerce-product-price .has-text-align-center {
	text-align: left !important;
	justify-content: flex-start;
}

body.ev-catalog-layout-list li.wc-block-product > .wp-block-woocommerce-product-button {
	grid-column: 2;
	grid-row: 4;
	padding-top: 0.5rem !important;
	margin: 0 !important;
	justify-self: start;
	text-align: left !important;
}

body.ev-catalog-layout-list li.wc-block-product > .wp-block-woocommerce-product-button .wp-block-button__link,
body.ev-catalog-layout-list li.wc-block-product > .wp-block-woocommerce-product-button .has-text-align-center {
	margin-bottom: 0 !important;
	text-align: left;
}

body.ev-catalog-layout-list li.wc-block-product > .ev-catalog-card__rating {
	grid-column: 2;
	grid-row: 5;
	margin: 0;
}

body.ev-catalog-layout-list li.wc-block-product > .wp-block-woocommerce-product-image,
body.ev-catalog-layout-list li.wc-block-product > .wc-block-components-product-image {
	aspect-ratio: 4 / 5;
	width: 100%;
}

body.ev-catalog-layout-list li.wc-block-product .wc-block-components-product-image img,
body.ev-catalog-layout-list li.wc-block-product .wp-block-woocommerce-product-image img {
	object-fit: contain;
	max-width: var(--ev-catalog-image-inset, 88%);
	max-height: var(--ev-catalog-image-inset, 88%);
	width: auto;
	height: auto;
}

@media (max-width: 900px) {
	body.ev-catalog-view .ev-catalog-controls__row.ev-catalog-controls__toolbar {
		flex-wrap: wrap;
		row-gap: 0.5rem;
	}

	body.ev-catalog-view .ev-catalog-controls__sort {
		margin-left: auto;
		flex: 0 0 auto;
	}

	body.ev-catalog-view .ev-catalog-controls__count {
		flex: 1 1 auto;
		order: 0;
	}

	body.ev-catalog-view .ev-catalog-filters-open {
		flex: 0 0 auto;
		margin-right: auto;
	}

	body.ev-catalog-view .ev-catalog-controls__toolbar .ev-catalog-layout-toggle {
		order: 1;
	}
}

@media (max-width: 781px) {
	body.ev-catalog-view {
		padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
	}

	body.ev-catalog-view .ev-whatsapp-float {
		bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
	}
}
