/**
 * EV Store — TechTie3D brand theme
 */

:root {
	--ev-primary: #2DDC7A;
	--ev-primary-hover: #22c55e;
	--ev-primary-soft: #ecfdf5;
	--ev-ink: #1a124d;
	--ev-text: #1f2937;
	--ev-muted: #6b7280;
	--ev-border: #e5e7eb;
	--ev-bg: #ffffff;
	--ev-bg-soft: #f8fafc;
	--ev-footer-bg: #0f0f10;
	--ev-radius: 8px;
	--ev-radius-lg: 12px;
	--ev-shadow: 0 8px 24px rgba(26, 18, 77, 0.08);
	--ev-cols: 4;
	--ev-font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Elementor eicons used across EV UI */
.ev-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
	font-weight: normal;
	speak: never;
	vertical-align: middle;
}

.ev-actions__ico .ev-icon,
.ev-card__wish .ev-icon,
.ev-mega__ico .ev-icon,
.ev-cat-tree__ico .ev-icon,
.ev-cats__icon .ev-icon,
.ev-filters__all-ico .ev-icon,
.ev-search__icon .ev-icon {
	display: inline-flex;
}

/* Override Hello Elementor / theme default pink link color (#c36) */
body.ev-store-active a {
	color: inherit;
	text-decoration: none;
}

body.ev-store-active a:hover,
body.ev-store-active a:focus,
body.ev-store-active a:active {
	color: var(--ev-primary);
}

/*
 * Kill Hello Elementor reset pink (#c36) on ALL buttons.
 * Hello sets: border/color #c36, hover fill #c36 — that paints the shop sort bar.
 */
body.ev-store-active button,
body.ev-store-active [type="button"],
body.ev-store-active [type="submit"],
body.ev-store-active [type="reset"] {
	background-color: #fff !important;
	background-image: none !important;
	border-color: var(--ev-border) !important;
	color: var(--ev-ink) !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body.ev-store-active button:hover,
body.ev-store-active button:focus,
body.ev-store-active button:active,
body.ev-store-active button:focus-visible,
body.ev-store-active [type="button"]:hover,
body.ev-store-active [type="button"]:focus,
body.ev-store-active [type="button"]:active,
body.ev-store-active [type="submit"]:hover,
body.ev-store-active [type="submit"]:focus,
body.ev-store-active [type="submit"]:active {
	background-color: #fff !important;
	background-image: none !important;
	color: var(--ev-ink) !important;
	border-color: rgba(45, 220, 122, 0.55) !important;
}

/* Icon / ghost controls — keep transparent after the global button kill */
body.ev-store-active .ev-actions__item,
body.ev-store-active .ev-actions__item:hover,
body.ev-store-active .ev-actions__item:focus,
body.ev-store-active .ev-pass__toggle,
body.ev-store-active .ev-pass__toggle:hover,
body.ev-store-active .ev-pass__toggle:focus,
body.ev-store-active .ev-card__wish,
body.ev-store-active .ev-mini__remove,
body.ev-store-active .ev-mini__remove:hover,
body.ev-store-active .ev-qty button,
body.ev-store-active .ev-qty button:hover,
body.ev-store-active .ev-search__clear,
body.ev-store-active .ev-drawer__close,
body.ev-store-active .ev-mega__close,
body.ev-store-active .ev-filters-drawer__close,
body.ev-store-active .ev-single-wish,
body.ev-store-active .ev-single-wish:hover {
	background: transparent !important;
	background-color: transparent !important;
}

body.ev-store-active .ev-card__wish:hover,
body.ev-store-active .ev-card__wish.is-active,
body.ev-store-active .ev-pass__toggle:hover,
body.ev-store-active .ev-pass__toggle:focus {
	background: rgba(15, 15, 16, 0.06) !important;
	background-color: rgba(15, 15, 16, 0.06) !important;
}

body.ev-store-active .ev-card__wish:hover,
body.ev-store-active .ev-card__wish.is-active {
	background: var(--ev-primary-soft) !important;
	background-color: var(--ev-primary-soft) !important;
}

body.ev-store-active .ev-buy-now,
body.ev-store-active button.ev-buy-now,
body.ev-store-active .ev-buy-now:hover,
body.ev-store-active button.ev-buy-now:hover {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-width: 0 !important;
	box-shadow: none !important;
	color: var(--ev-ink) !important;
	text-decoration: none !important;
}

/* Re-assert green primary CTAs after the global pink kill */
body.ev-store-active .ev-btn--primary,
body.ev-store-active .ev-btn--primary:hover,
body.ev-store-active .ev-btn--primary:focus,
body.ev-store-active .ev-actions__signin,
body.ev-store-active .ev-actions__signin:hover,
body.ev-store-active .ev-actions__signin:focus,
body.ev-store-active .single_add_to_cart_button:not(.ev-buy-now),
body.ev-store-active .single_add_to_cart_button:not(.ev-buy-now):hover,
body.ev-store-active .single_add_to_cart_button:not(.ev-buy-now):focus,
body.ev-store-active .ev-card__atc,
body.ev-store-active .ev-card__atc:hover,
body.ev-store-active .checkout-button,
body.ev-store-active .checkout-button:hover,
body.ev-store-active #place_order,
body.ev-store-active #place_order:hover,
body.ev-store-active .ev-auth__submit,
body.ev-store-active .ev-auth__submit:hover,
body.ev-store-active .ev-nav__cats.is-active,
body.ev-store-active .ev-nav__cats[aria-expanded="true"],
body.ev-store-active button.alt,
body.ev-store-active .button.alt,
body.ev-store-active button.alt:hover,
body.ev-store-active .button.alt:hover,
body.ev-store-active .ev-filters__apply,
body.ev-store-active .ev-filters__apply:hover,
body.ev-store-active .ev-filters__form .ev-btn--primary,
body.ev-store-active .ev-filters__form .ev-btn--primary:hover {
	background: var(--ev-primary) !important;
	background-color: var(--ev-primary) !important;
	border-color: var(--ev-primary) !important;
	color: #0f0f10 !important;
}

/* Shop sort control — absolute last word vs Hello #c36 */
body.ev-store-active .woocommerce-ordering button,
body.ev-store-active .woocommerce-ordering .ev-select__btn,
body.ev-store-active .woocommerce-ordering button.ev-select__btn,
body.ev-store-active .ev-shop-toolbar .ev-select__btn,
body.ev-store-active .ev-select--orderby .ev-select__btn,
body.ev-store-active .ev-select--orderby button {
	background: #fff !important;
	background-color: #fff !important;
	background-image: none !important;
	border: 1px solid var(--ev-border) !important;
	color: var(--ev-ink) !important;
	box-shadow: none !important;
}

body.ev-store-active .woocommerce-ordering button:hover,
body.ev-store-active .woocommerce-ordering button:focus,
body.ev-store-active .woocommerce-ordering .ev-select__btn:hover,
body.ev-store-active .woocommerce-ordering .ev-select__btn:focus,
body.ev-store-active .ev-select--orderby .ev-select__btn:hover,
body.ev-store-active .ev-select--orderby .ev-select__btn:focus {
	background: #fff !important;
	background-color: #fff !important;
	border-color: rgba(45, 220, 122, 0.55) !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active .ev-shop a:hover,
body.ev-store-active .ev-card a:hover,
body.ev-store-active .woocommerce-breadcrumb a:hover {
	color: var(--ev-primary);
}

body.ev-store-active button:focus,
body.ev-store-active button:focus-visible,
body.ev-store-active .button:focus,
body.ev-store-active .button:focus-visible {
	outline: 2px solid var(--ev-primary);
	outline-offset: 2px;
}

/* Reduce double-header clash with common themes when EV header is on */
body.ev-has-header #site-header,
body.ev-has-header .site-header,
body.ev-has-header header.site-header,
body.ev-has-header header.dynamic-header,
body.ev-has-header .site-header.dynamic-header,
body.ev-has-header header.wp-block-template-part,
body.ev-store-active.ev-has-header #site-header,
body.ev-store-active.ev-has-header .site-header {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

/* Hide Hello Elementor / theme default footer ("3D Shop / All rights reserved") */
body.ev-store-active.ev-has-footer footer.site-footer,
body.ev-store-active.ev-has-footer .site-footer,
body.ev-store-active.ev-has-footer footer:not(.ev-footer),
body.ev-store-active.ev-has-footer .footer-inner,
body.ev-store-active.ev-has-footer .site-info {
	display: none !important;
}

/* —— Top bar —— */
.ev-topbar {
	background: #0f0f10;
	color: var(--ev-primary) !important;
	text-align: center;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-bottom: 1px solid rgba(45, 220, 122, 0.25);
}

.ev-topbar a {
	color: var(--ev-primary) !important;
}

.ev-topbar__icon {
	display: inline-flex;
}

/* —— Header (sticky search + categories; topbar stays outside so it can scroll away) —— */
.ev-header-wrap {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	box-shadow: 0 1px 0 var(--ev-border), 0 8px 24px rgba(15, 15, 16, 0.04);
}

/* Sticky fails if an ancestor clips overflow (Elementor / theme wrappers). */
body.ev-has-header,
body.ev-has-header #page,
body.ev-has-header #content,
body.ev-has-header .site,
body.ev-has-header .site-content,
body.ev-has-header .elementor,
body.ev-has-header .elementor-location-header,
body.ev-has-header .e-con,
body.ev-has-header .e-con-inner {
	overflow: visible !important;
}

/*
 * Admin bar is position:fixed only on desktop (≥783px).
 * Below that WP makes #wpadminbar position:absolute so it scrolls away —
 * keeping top:46px left an empty gap under the sticky header.
 */
@media screen and (min-width: 783px) {
	body.admin-bar .ev-header-wrap {
		top: 32px;
	}
}

.ev-header {
	background: #fff;
	border-bottom: 1px solid var(--ev-border);
	position: relative;
	z-index: 1;
}

.ev-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 20px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 24px;
	align-items: center;
}

.ev-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--ev-ink);
	font-weight: 700;
	font-size: 1.15rem;
	white-space: nowrap;
}

.ev-logo img,
.ev-logo__img {
	max-height: 56px;
	width: auto;
	border-radius: 50%;
	display: block;
}

.ev-logo--footer img {
	max-height: 72px;
}

.ev-logo__mark {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ev-primary);
	display: inline-block;
}

.ev-header__search {
	min-width: 0;
}

/* —— Search —— */
.ev-search {
	position: relative;
}

.ev-search__field {
	display: flex;
	align-items: center;
	background: var(--ev-bg-soft);
	border: 1px solid var(--ev-border);
	border-radius: 999px;
	padding: 0 6px 0 6px;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ev-search__field:focus-within {
	border-color: var(--ev-primary);
	box-shadow: 0 0 0 3px var(--ev-primary-soft);
	background: #fff;
}

.ev-search__icon {
	color: var(--ev-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	cursor: pointer;
	border-radius: 50%;
	padding: 0;
}

.ev-search__icon:hover {
	color: var(--ev-primary);
	background: var(--ev-primary-soft);
}

.ev-search__input,
body.ev-store-active .ev-search__input,
body.ev-store-active .ev-search input[type="search"],
body.ev-store-active .ev-search input[type="text"] {
	flex: 1;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	padding: 12px 10px !important;
	font-size: 14px !important;
	outline: none !important;
	min-width: 0;
	width: auto !important;
	font-family: inherit;
	color: var(--ev-text) !important;
	line-height: 1.4 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

body.ev-store-active .ev-search__input:focus,
body.ev-store-active .ev-search input[type="search"]:focus {
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

body.ev-store-active .ev-search__icon,
body.ev-store-active .ev-search__cats-btn {
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: inherit;
}

body.ev-store-active .ev-search__icon:hover,
body.ev-store-active .ev-search__icon:focus {
	background: var(--ev-primary-soft) !important;
	color: var(--ev-primary) !important;
	border: 0 !important;
}

body.ev-store-active .ev-search__cats-btn:hover,
body.ev-store-active .ev-search__cats-btn:focus {
	background: transparent !important;
	color: var(--ev-ink) !important;
	border: 0 !important;
}

.ev-search__cats {
	position: relative;
	flex-shrink: 0;
	border-left: 1px solid var(--ev-border);
	margin-left: 4px;
}

.ev-search__cats-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 0;
	background: transparent;
	padding: 10px 14px;
	font-size: 13px;
	color: var(--ev-text);
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
}

.ev-search__cats-list {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	min-width: 220px;
	max-height: 320px;
	overflow: auto;
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius);
	box-shadow: var(--ev-shadow);
	list-style: none;
	margin: 0;
	padding: 6px 0;
	z-index: 1100;
}

.ev-search__cats-list li {
	padding: 10px 14px;
	cursor: pointer;
	font-size: 13px;
}

.ev-search__cats-list li:hover,
.ev-search__cats-list li.is-active {
	background: var(--ev-primary-soft);
	color: var(--ev-primary);
}

/* —— Custom selects (shop sort, checkout, account, etc.) —— */
.ev-select-native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	background: transparent !important;
	color: inherit !important;
	z-index: -1 !important;
}

/* Checkout styles target `select` with higher specificity — keep native control inert */
body.ev-store-active .ev-checkout select.ev-select-native,
body.ev-store-active .ev-widget-checkout select.ev-select-native,
body.ev-store-active .woocommerce form select.ev-select-native,
body.ev-store-active.woocommerce-checkout select.ev-select-native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	max-height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	background: transparent !important;
	box-shadow: none !important;
	z-index: -1 !important;
}

.ev-select {
	position: relative;
	display: inline-block;
	min-width: 200px;
	max-width: 100%;
	vertical-align: middle;
	z-index: 1;
}

.ev-select.is-open {
	z-index: 80;
}

.ev-select__btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	width: 100% !important;
	min-height: 42px !important;
	padding: 10px 14px !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	background-color: #fff !important;
	color: var(--ev-ink) !important;
	font: inherit !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	text-align: left !important;
	box-shadow: none !important;
	text-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	line-height: 1.3 !important;
	box-sizing: border-box !important;
	user-select: none !important;
	-webkit-user-select: none !important;
	position: relative !important;
	z-index: 2 !important;
}

.ev-select__btn:hover,
.ev-select__btn:focus,
.ev-select__btn:active,
.ev-select__btn:focus-visible {
	border-color: rgba(45, 220, 122, 0.55) !important;
	background: #fff !important;
	background-color: #fff !important;
	color: var(--ev-ink) !important;
	box-shadow: 0 0 0 3px rgba(45, 220, 122, 0.15) !important;
	outline: none !important;
}

.ev-select.is-open .ev-select__btn {
	border-color: var(--ev-primary) !important;
	box-shadow: 0 0 0 3px rgba(45, 220, 122, 0.18) !important;
}

.ev-select.is-disabled .ev-select__btn {
	opacity: 0.55 !important;
	cursor: not-allowed !important;
}

.ev-select__label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ev-select__btn .ev-icon {
	flex-shrink: 0;
	color: var(--ev-muted);
	transform: rotate(0deg);
	transition: transform 0.15s ease, color 0.15s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ev-select.is-open .ev-select__btn .ev-icon {
	transform: rotate(90deg);
	color: var(--ev-primary);
}

.ev-select__list {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	min-width: 100%;
	max-height: 280px;
	overflow: auto;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: 12px;
	box-shadow: var(--ev-shadow);
	z-index: 1200;
}

/* WC Select2 — hide whenever our custom select wraps the field */
body.ev-store-active .ev-select .select2-container,
body.ev-store-active #billing_country_field .select2-container,
body.ev-store-active #shipping_country_field .select2-container,
body.ev-store-active #billing_state_field .select2-container,
body.ev-store-active #shipping_state_field .select2-container,
body.ev-store-active #calc_shipping_country_field .select2-container,
body.ev-store-active #calc_shipping_state_field .select2-container {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

body.ev-store-active .woocommerce form .form-row,
body.ev-store-active .ev-checkout .form-row,
body.ev-store-active .ev-widget-checkout .form-row,
body.ev-store-active #billing_country_field,
body.ev-store-active #shipping_country_field {
	overflow: visible !important;
	position: relative;
}

.ev-select__group {
	padding: 8px 14px 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ev-muted);
	pointer-events: none;
}

.ev-select__option {
	padding: 10px 14px;
	font-size: 13px;
	color: var(--ev-text);
	cursor: pointer;
}

.ev-select__option:hover {
	background: var(--ev-primary-soft);
	color: var(--ev-ink);
}

.ev-select__option.is-active {
	background: var(--ev-primary-soft);
	color: var(--ev-ink);
	font-weight: 600;
}

.ev-select__option.is-active::after {
	content: "✓";
	float: right;
	color: var(--ev-primary);
	font-weight: 700;
}

.ev-select__option.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.ev-select--orderby {
	min-width: 220px;
}

.woocommerce-ordering {
	margin: 0 0 16px !important;
}

.woocommerce-ordering .ev-select {
	width: 100%;
	max-width: 280px;
}

/* Native sort select fallback (before JS enhance / if JS blocked) — never Hello pink #c36 */
body.ev-store-active .woocommerce-ordering,
body.ev-store-active form.woocommerce-ordering {
	width: 100%;
	max-width: 320px;
}

body.ev-store-active .woocommerce-ordering select.orderby,
body.ev-store-active .woocommerce-ordering select,
body.ev-store-active .ev-shop-toolbar select.orderby,
body.ev-store-active select.orderby {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 42px !important;
	height: 42px !important;
	padding: 0 40px 0 14px !important;
	margin: 0 !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 10px !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.4 0.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 12px 8px !important;
	color: var(--ev-ink) !important;
	font: inherit !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 42px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	cursor: pointer !important;
}

body.ev-store-active .woocommerce-ordering select.orderby:hover,
body.ev-store-active .woocommerce-ordering select.orderby:focus,
body.ev-store-active select.orderby:hover,
body.ev-store-active select.orderby:focus {
	border-color: rgba(45, 220, 122, 0.55) !important;
	background-color: #fff !important;
	color: var(--ev-ink) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(45, 220, 122, 0.15) !important;
}

/* Checkout / account / cart form selects */
.woocommerce form .ev-select,
.woocommerce-page form .ev-select,
.ev-cart .ev-select,
.ev-checkout .ev-select,
.ev-account .ev-select {
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0;
}

.woocommerce form .form-row .ev-select__btn,
.woocommerce-page form .form-row .ev-select__btn,
.ev-checkout .ev-select__btn,
.ev-widget-checkout .ev-select__btn {
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 500;
	background: #f8fafc;
	color: var(--ev-text);
}

.ev-select__search {
	display: none;
	width: calc(100% - 16px);
	margin: 8px 8px 0;
	padding: 10px 12px;
	border: 1px solid var(--ev-border);
	border-radius: 8px;
	font: inherit;
	font-size: 13px;
	box-sizing: border-box;
	background: #fff;
}

.ev-select.is-open.ev-select--searchable .ev-select__search {
	display: block;
}

.ev-select--country .ev-select__list,
.ev-select--searchable .ev-select__list {
	max-height: min(320px, 50vh);
}

/* —— Actions —— */
.ev-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Kill Hello Elementor pink (#c36) on header action buttons */
body.ev-store-active .ev-actions__item,
body.ev-store-active button.ev-actions__item,
body.ev-store-active .ev-actions__item:hover,
body.ev-store-active .ev-actions__item:focus,
body.ev-store-active .ev-actions__item:active,
body.ev-store-active .ev-actions__item[aria-expanded="true"] {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	color: var(--ev-text) !important;
	text-decoration: none !important;
	position: relative;
	padding: 6px !important;
	border-radius: 10px !important;
	transition: background 0.15s, color 0.15s;
	appearance: none !important;
	-webkit-appearance: none !important;
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	cursor: pointer;
	font: inherit;
	width: auto !important;
	white-space: nowrap;
	box-shadow: none !important;
}

body.ev-store-active .ev-actions__item:hover,
body.ev-store-active .ev-actions__item:focus,
body.ev-store-active .ev-actions__item:focus-visible,
body.ev-store-active .ev-actions__item[aria-expanded="true"] {
	background: var(--ev-primary-soft) !important;
	background-color: var(--ev-primary-soft) !important;
	color: var(--ev-ink) !important;
	outline: none;
}

body.ev-store-active .ev-actions__ico {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--ev-bg-soft) !important;
	border: 1px solid var(--ev-border) !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active .ev-actions__item:hover .ev-actions__ico,
body.ev-store-active .ev-actions__item:focus .ev-actions__ico,
body.ev-store-active .ev-actions__item[aria-expanded="true"] .ev-actions__ico {
	border-color: var(--ev-primary) !important;
	color: var(--ev-primary) !important;
	background: #fff !important;
}

.ev-actions__badge {
	position: absolute;
	top: -6px;
	right: -8px;
	background: var(--ev-primary);
	color: #0f0f10;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

.ev-actions__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ev-primary-soft);
	color: var(--ev-primary);
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	line-height: 1 !important;
	text-align: center;
	padding: 0 !important;
}

.ev-actions__name {
	font-size: 13px;
	font-weight: 500;
}

/* Guest Sign in button */
body.ev-store-active .ev-actions__signin {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 16px !important;
	border-radius: 999px !important;
	background: var(--ev-primary) !important;
	border: 1.5px solid var(--ev-primary) !important;
	color: #0f0f10 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: none !important;
	transition: filter 0.15s ease, transform 0.15s ease;
}

body.ev-store-active .ev-actions__signin:hover,
body.ev-store-active .ev-actions__signin:focus {
	filter: brightness(0.96);
	color: #0f0f10 !important;
	outline: none;
}

.ev-actions__signin-ico {
	display: inline-flex;
	line-height: 1;
}

/* Account dropdown */
.ev-account-menu {
	position: relative;
}

.ev-account-menu__chev {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease;
	opacity: 0.7;
}

.ev-account-menu__chev .ev-icon {
	transform: rotate(90deg);
}

.ev-account-menu.is-open .ev-account-menu__chev {
	transform: rotate(180deg);
}

.ev-account-menu__panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 1200;
	width: min(280px, calc(100vw - 24px));
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(15, 15, 16, 0.12);
	overflow: hidden;
	padding: 0;
}

.ev-account-menu__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 14px 12px;
	background: var(--ev-primary-soft);
	border-bottom: 1px solid var(--ev-border);
}

.ev-account-menu__head strong {
	display: block;
	font-size: 13px;
	color: var(--ev-ink);
	line-height: 1.2;
}

.ev-account-menu__head span {
	display: block;
	font-size: 11.5px;
	color: var(--ev-muted);
	margin-top: 2px;
	word-break: break-all;
}

.ev-account-menu__list {
	list-style: none;
	margin: 0;
	padding: 8px;
}

.ev-account-menu__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	text-decoration: none !important;
	color: var(--ev-ink) !important;
	font-size: 13px;
	font-weight: 600;
}

.ev-account-menu__list a:hover,
.ev-account-menu__list a:focus {
	background: var(--ev-bg-soft);
	outline: none;
}

.ev-account-menu__count {
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ev-primary);
	color: #0f0f10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ev-account-menu__foot {
	padding: 8px 10px 10px;
	border-top: 1px solid var(--ev-border);
}

.ev-account-menu__logout,
body.ev-store-active .ev-account__logout-btn,
body.ev-store-active .ev-account__nav-item--logout a,
body.ev-store-active .woocommerce-MyAccount-navigation-link--customer-logout a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 8px 14px !important;
	border-radius: 10px !important;
	background: #0f0f10 !important;
	border: 1.5px solid #0f0f10 !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	box-sizing: border-box;
	white-space: nowrap;
}

body.ev-store-active .ev-account__logout-btn:hover,
body.ev-store-active .ev-account-menu__logout:hover,
body.ev-store-active .ev-account__nav-item--logout a:hover,
body.ev-store-active .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background: #1f2937 !important;
	border-color: #1f2937 !important;
	color: #fff !important;
}

body.ev-store-active .ev-account__nav-item--logout,
body.ev-store-active .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-left: 6px;
}

body.ev-store-active .ev-account__nav-item--logout a,
body.ev-store-active .woocommerce-MyAccount-navigation-link--customer-logout a {
	width: auto;
	min-width: 88px;
	border-radius: 999px !important;
	background: #0f0f10 !important;
}

.ev-dash__logout {
	margin: 24px 0 0;
	text-align: center;
}

.ev-dash__logout .ev-account__logout-btn {
	width: auto;
	min-width: 160px;
}


/* —— Nav —— */
.ev-nav {
	border-top: 1px solid var(--ev-border);
	background: #fff;
}

.ev-nav__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 56px;
}

.ev-nav__cats {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--ev-border) !important;
	background: #fff !important;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	padding: 10px 16px !important;
	font-family: inherit;
	color: var(--ev-ink) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
	height: auto !important;
	min-height: 0 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}
.ev-nav__cats:hover,
.ev-nav__cats.is-active,
.ev-nav__cats[aria-expanded="true"] {
	background: var(--ev-primary) !important;
	border-color: var(--ev-primary) !important;
	color: #0f0f10 !important;
}

.ev-nav__burger {
	width: 18px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.ev-nav__links,
.ev-nav__menu {
	display: flex;
	align-items: center;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Language switcher — top-right actions (wishlist / cart / lang / account) */
.ev-lang {
	position: relative;
	margin: 0;
}

.ev-actions__lang {
	display: inline-flex;
	align-items: center;
}

.ev-lang__toggle {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	min-height: 40px !important;
	padding: 6px 8px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--ev-ink) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

.ev-lang__toggle:hover,
.ev-lang__toggle:focus,
.ev-lang__toggle[aria-expanded="true"] {
	border-color: transparent !important;
	background: var(--ev-primary-soft) !important;
	background-color: var(--ev-primary-soft) !important;
	color: var(--ev-ink) !important;
}

.ev-lang__ico,
.ev-lang__chev {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ev-muted);
}

.ev-lang__code {
	letter-spacing: 0.02em;
}

.ev-lang__chev {
	transition: transform 0.15s ease;
}

.ev-lang.is-open .ev-lang__chev {
	transform: rotate(90deg);
}

.ev-lang__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 148px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(15, 15, 16, 0.12);
	z-index: 1300;
}

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

.ev-lang__menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ev-ink) !important;
	text-decoration: none !important;
}

.ev-lang__menu a:hover,
.ev-lang__menu a.is-active {
	background: var(--ev-primary-soft);
	color: var(--ev-ink) !important;
}

.ev-nav__links a,
.ev-nav__menu a {
	text-decoration: none !important;
	color: var(--ev-ink) !important;
	font-size: 13px;
	font-weight: 500;
	transition: color 0.15s ease;
}

.ev-nav__links a:hover,
.ev-nav__links a:focus,
.ev-nav__links a.is-active,
.ev-nav__links a[aria-current="page"],
.ev-nav__menu a:hover,
.ev-nav__menu a:focus,
.ev-nav__menu .current-menu-item > a,
.ev-nav__menu .current_page_item > a {
	color: var(--ev-primary) !important;
}

/* —— Categories widget —— */
.ev-cats {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	overflow: hidden;
}

.ev-cats__title {
	margin: 0;
	padding: 14px 16px;
	font-size: 15px;
	border-bottom: 1px solid var(--ev-border);
}

.ev-cats__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ev-cats__item a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	text-decoration: none;
	color: var(--ev-text);
	font-size: 14px;
	border-bottom: 1px solid var(--ev-border);
}

.ev-cats__item:last-child a {
	border-bottom: 0;
}

.ev-cats__item a:hover {
	background: var(--ev-primary-soft);
	color: var(--ev-primary);
}

.ev-cats__icon {
	color: var(--ev-muted);
	display: flex;
}

.ev-cats__name {
	flex: 1;
}

.ev-cats__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.ev-cats__hint {
	font-size: 11px;
	font-weight: 500;
	color: var(--ev-muted);
	line-height: 1.2;
}

.ev-cats__count {
	color: var(--ev-muted);
	font-size: 12px;
}

.ev-cats__chev {
	color: var(--ev-muted);
}

/* —— Product cards —— */
.ev-products {
	margin: 28px 0;
}

.ev-products__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	gap: 12px;
}

.ev-products__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--ev-ink);
}

.ev-products__all {
	color: var(--ev-primary);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

.ev-products__grid {
	display: grid;
	grid-template-columns: repeat(var(--ev-cols), minmax(0, 1fr));
	gap: 28px 22px;
}

.ev-card {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius);
	overflow: hidden;
	transition: border-color 0.15s;
	display: flex;
	flex-direction: column;
	box-shadow: none;
}

.ev-card:hover {
	box-shadow: none;
	border-color: #d1d5db;
}

.ev-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	background: var(--ev-bg-soft);
	overflow: hidden;
}

.ev-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ev-card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: var(--ev-primary);
	color: #0f0f10;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 7px;
	border-radius: 4px;
	z-index: 1;
}

.ev-card__wish {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--ev-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ev-muted);
}

.ev-card__body {
	padding: 12px 12px 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ev-card__cat {
	font-size: 11px;
	color: var(--ev-muted);
}

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

.ev-card__title {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.ev-card__title a {
	color: var(--ev-text);
	text-decoration: none;
}

.ev-card__title a:hover {
	color: var(--ev-primary);
}

.ev-card__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
}

.ev-card__price del {
	color: var(--ev-muted);
	font-weight: 400;
	font-size: 13px;
}

.ev-card__price ins {
	text-decoration: none;
	color: var(--ev-text);
}

.ev-card__discount {
	color: var(--ev-primary);
	font-size: 12px;
	font-weight: 700;
}

.ev-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
}

.ev-card__atc,
.ev-card__buy,
a.ev-card__atc,
a.ev-card__buy {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 36px !important;
	padding: 8px 10px !important;
	border-radius: 8px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
	white-space: nowrap;
}

body.ev-store-active .ev-card__atc,
body.ev-store-active a.ev-card__atc,
body.ev-store-active .ev-card__atc:hover,
body.ev-store-active a.ev-card__atc:hover {
	background: var(--ev-primary) !important;
	background-color: var(--ev-primary) !important;
	border: 2px solid var(--ev-primary) !important;
	color: #0f0f10 !important;
}

body.ev-store-active .ev-card__buy,
body.ev-store-active a.ev-card__buy,
body.ev-store-active .ev-card__buy:hover,
body.ev-store-active a.ev-card__buy:hover,
body.ev-store-active .ev-card__buy.ev-buy-now,
body.ev-store-active a.ev-card__buy.ev-buy-now {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-width: 0 !important;
	box-shadow: none !important;
	color: var(--ev-ink) !important;
	text-decoration: none !important;
}

.ev-card__atc--wide {
	grid-column: 1 / -1;
}

.ev-card__actions .added_to_cart,
.ev-card__actions a.added_to_cart,
.ev-card__actions a.wc-forward {
	grid-column: 1 / -1 !important;
	display: block !important;
	width: 100% !important;
	margin: 2px 0 0 !important;
	padding: 4px 0 0 !important;
	min-height: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: center !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: var(--ev-muted) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	white-space: normal !important;
}

.ev-card__actions .added_to_cart:hover,
.ev-card__actions a.added_to_cart:hover,
.ev-card__actions a.wc-forward:hover {
	color: var(--ev-ink) !important;
	background: transparent !important;
}

.ev-card__oos {
	grid-column: 1 / -1;
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--ev-muted);
	text-align: center;
	padding: 8px 0 2px;
}

.ev-card.is-oos {
	border-color: #e5e7eb;
}

.ev-card.is-oos .ev-card__media img,
.ev-card.is-oos .ev-card__body {
	filter: grayscale(1);
}

.ev-card.is-oos .ev-card__body {
	opacity: 0.72;
}

.ev-card__oos-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 15, 16, 0.42);
	z-index: 2;
	pointer-events: none;
}

.ev-card__oos-label {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(15, 15, 16, 0.88);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.2;
	text-align: center;
}

@media (max-width: 520px) {
	.ev-card__actions {
		grid-template-columns: 1fr;
	}
}

/* —— Trust bar —— */
.ev-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	padding: 24px 0;
	border-top: 1px solid var(--ev-border);
	border-bottom: 1px solid var(--ev-border);
	margin: 24px 0;
}

.ev-trust__item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ev-trust__icon {
	color: var(--ev-primary);
	flex-shrink: 0;
}

.ev-trust__item strong {
	display: block;
	font-size: 14px;
}

.ev-trust__item span {
	display: block;
	font-size: 12px;
	color: var(--ev-muted);
}

/* —— Shop layout —— */
.ev-shop__inner {
	max-width: 1280px;
	margin: 24px auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 28px;
	align-items: start;
}

/* Desktop: keep filters visible while scrolling the product grid. */
@media (min-width: 901px) {
	.ev-shop__sidebar {
		position: sticky;
		top: 96px; /* clears sticky .ev-header */
		align-self: start;
		max-height: calc(100vh - 112px);
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		z-index: 4;
		padding-right: 4px;
	}

	.ev-shop__sidebar::-webkit-scrollbar {
		width: 6px;
	}

	.ev-shop__sidebar::-webkit-scrollbar-thumb {
		background: rgba(15, 15, 16, 0.18);
		border-radius: 999px;
	}

	/* Sticky fails if an ancestor clips overflow (Elementor / theme wrappers). */
	body.woocommerce-shop .elementor-section,
	body.woocommerce-shop .elementor-container,
	body.woocommerce-shop .elementor-column,
	body.woocommerce-shop .elementor-widget-wrap,
	body.woocommerce-shop .e-con,
	body.woocommerce-shop .e-con-inner,
	body.tax-product_cat .elementor-section,
	body.tax-product_cat .elementor-container,
	body.tax-product_cat .elementor-column,
	body.tax-product_cat .elementor-widget-wrap,
	body.tax-product_cat .e-con,
	body.tax-product_cat .e-con-inner,
	body.post-type-archive-product .elementor-section,
	body.post-type-archive-product .elementor-container,
	body.post-type-archive-product .elementor-column,
	body.post-type-archive-product .elementor-widget-wrap,
	body.post-type-archive-product .e-con,
	body.post-type-archive-product .e-con-inner,
	.ev-shop,
	.ev-shop__inner {
		overflow: visible !important;
	}
}

.ev-filters {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 4px 4px 8px 0;
}

.ev-filters__title {
	margin: 0 0 14px;
	font-size: 16px;
}

.ev-filters__toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--ev-border);
	font-size: 13px;
	cursor: pointer;
}

.ev-filters__price {
	margin-top: 16px;
}

.ev-filters__price strong {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
}

.ev-filters__price-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 10px;
}

.ev-filters__price-row input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--ev-border);
	border-radius: 6px;
	font-size: 13px;
}

.ev-filters__cats {
	margin-top: 18px;
}

.ev-filters__cats strong {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
}

.ev-filters__cats ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ev-filters__cats a {
	display: block;
	padding: 6px 0;
	color: var(--ev-text);
	text-decoration: none;
	font-size: 13px;
}

.ev-filters__cats a:hover {
	color: var(--ev-primary);
}

/* —— Buttons —— */
.ev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ev-btn--primary {
	background: var(--ev-primary);
	color: #0f0f10;
	border-color: var(--ev-primary);
}

.ev-btn--primary:hover {
	background: var(--ev-primary-hover);
	color: #0f0f10;
}

.ev-btn--outline {
	background: #fff;
	color: var(--ev-primary);
	border-color: var(--ev-primary);
	border-radius: 999px;
}

.ev-btn--outline:hover {
	background: var(--ev-primary-soft);
}

.ev-btn--ghost {
	background: var(--ev-bg-soft);
	color: var(--ev-text);
	border-color: var(--ev-border);
	width: 100%;
	padding: 14px;
	margin-top: 16px;
}

.ev-btn--block {
	width: 100%;
}

/* —— Single product —— */
.ev-product {
	max-width: 1280px;
	margin: 0 auto;
	padding: 8px 20px 0;
}

/* Product gallery: tap opens PhotoSwipe lightbox (zoom disabled — it breaks on mobile) */
body.ev-store-active .woocommerce-product-gallery {
	position: relative;
	margin-bottom: 16px;
}

body.ev-store-active .woocommerce-product-gallery__wrapper {
	margin: 0;
}

body.ev-store-active .woocommerce-product-gallery__image {
	border-radius: 12px;
	overflow: hidden;
	background: var(--ev-bg-soft);
}

body.ev-store-active .woocommerce-product-gallery__image a {
	display: block;
	cursor: pointer;
}

body.ev-store-active .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

/* Kill leftover jQuery Zoom layer if a cached script still inits it */
body.ev-store-active .woocommerce-product-gallery .zoomImg,
body.ev-store-active .woocommerce-product-gallery .zoomLens {
	display: none !important;
	pointer-events: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

body.ev-store-active .woocommerce-product-gallery__trigger {
	display: none !important;
}

body.ev-store-active .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

body.ev-store-active .flex-control-thumbs li {
	width: calc(25% - 6px);
	margin: 0;
	padding: 0;
}

body.ev-store-active .flex-control-thumbs img {
	border-radius: 8px;
	border: 1px solid var(--ev-border);
	opacity: 1;
	cursor: pointer;
}

body.ev-store-active .flex-control-thumbs img.flex-active,
body.ev-store-active .flex-control-thumbs img:hover {
	border-color: var(--ev-primary);
	box-shadow: 0 0 0 2px rgba(45, 220, 122, 0.25);
}

/* PhotoSwipe — light overlay, X only (no zoom / fullscreen) */
body.ev-store-active .pswp {
	z-index: 100000 !important;
}

body.ev-store-active .pswp__bg {
	background: rgba(15, 15, 16, 0.42) !important;
	opacity: 1 !important;
}

body.ev-store-active .pswp__img,
body.ev-store-active .pswp__img--placeholder {
	background: transparent !important;
	box-shadow: none !important;
}

body.ev-store-active .pswp__top-bar {
	background: transparent !important;
	height: 0 !important;
	opacity: 1 !important;
}

body.ev-store-active .pswp__ui--idle .pswp__top-bar {
	opacity: 1 !important;
}

body.ev-store-active .pswp__button--zoom,
body.ev-store-active .pswp__button--fs,
body.ev-store-active .pswp__button--share,
body.ev-store-active .pswp__counter,
body.ev-store-active .pswp__caption,
body.ev-store-active .pswp__preloader,
body.ev-store-active .pswp__share-modal {
	display: none !important;
}

body.ev-store-active .pswp__button--arrow--left,
body.ev-store-active .pswp__button--arrow--right {
	background: rgba(255, 255, 255, 0.88) !important;
	background-image: none !important;
	border-radius: 50%;
	width: 40px !important;
	height: 40px !important;
	margin-top: -20px !important;
	opacity: 1 !important;
}

body.ev-store-active .pswp__button--arrow--left::before,
body.ev-store-active .pswp__button--arrow--right::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid #0f0f10;
	border-right: 2px solid #0f0f10;
	box-sizing: border-box;
}

body.ev-store-active .pswp__button--arrow--left::before {
	transform: translate(-30%, -50%) rotate(-135deg);
}

body.ev-store-active .pswp__button--arrow--right::before {
	transform: translate(-70%, -50%) rotate(45deg);
}

body.ev-store-active .pswp__button--close {
	position: fixed !important;
	top: 16px !important;
	right: 16px !important;
	left: auto !important;
	float: none !important;
	z-index: 100001 !important;
	width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	background: rgba(255, 255, 255, 0.95) !important;
	background-image: none !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 12px rgba(15, 15, 16, 0.18) !important;
	cursor: pointer !important;
}

body.ev-store-active .pswp__button--close::before,
body.ev-store-active .pswp__button--close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: #0f0f10;
	border-radius: 1px;
}

body.ev-store-active .pswp__button--close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

body.ev-store-active .pswp__button--close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

body.ev-store-active .pswp__button--close:hover {
	background: #fff !important;
}

@media (max-width: 768px) {
	body.ev-store-active .woocommerce-product-gallery__image a {
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
	}

	body.ev-store-active .pswp__button--close {
		top: 12px !important;
		right: 12px !important;
	}
}

.single-product div.product .price {
	color: var(--ev-primary) !important;
	font-size: 1.65rem;
	font-weight: 700;
}

.single-product div.product .woocommerce-product-details__short-description {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ev-text);
	max-width: 36em;
	margin: 12px 0 16px;
}

.single-product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.single-product form.cart .quantity {
	margin: 0 !important;
}

.single-product .single_add_to_cart_button:not(.ev-buy-now),
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
	background: var(--ev-primary) !important;
	border: 2px solid var(--ev-primary) !important;
	color: #0f0f10 !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	padding: 12px 22px !important;
	margin: 0 !important;
	min-height: 48px;
	line-height: 1.2 !important;
}

.single-product .single_add_to_cart_button:not(.ev-buy-now):hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--ev-primary-hover) !important;
	border-color: var(--ev-primary-hover) !important;
}

.single-product .ev-buy-now {
	background: transparent !important;
	border: 0 !important;
	border-width: 0 !important;
	color: var(--ev-ink) !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	padding: 12px 22px !important;
	margin: 0 !important;
	min-height: 48px;
	line-height: 1.2 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.single-product .ev-buy-now:hover {
	background: var(--ev-bg-soft) !important;
	border: 0 !important;
	color: var(--ev-ink) !important;
}

.ev-product__pills {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.ev-product__pills li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--ev-border);
	font-size: 12px;
	line-height: 1.35;
	color: var(--ev-muted);
	min-width: 0;
}

.ev-product__pill-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--ev-primary-soft);
	color: var(--ev-ink);
	flex-shrink: 0;
}

.ev-product__pill-txt {
	min-width: 0;
}

@media (max-width: 720px) {
	.ev-product__pills {
		grid-template-columns: 1fr;
	}
}

.woocommerce-tabs {
	max-width: 1280px;
	margin: 28px auto 0;
	padding: 0 20px;
}

.woocommerce-tabs ul.tabs {
	padding-left: 0 !important;
	margin-bottom: 0 !important;
	border-bottom: 1px solid var(--ev-border) !important;
}

.woocommerce-tabs ul.tabs li {
	background: transparent !important;
	border: 0 !important;
	margin: 0 18px 0 0 !important;
	padding: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
	font-weight: 600 !important;
	padding: 12px 0 !important;
	color: var(--ev-muted) !important;
}

.woocommerce-tabs ul.tabs li.active a {
	color: var(--ev-ink) !important;
	border-bottom: 2px solid var(--ev-primary) !important;
}

.woocommerce-Tabs-panel {
	padding: 22px 0 8px !important;
	border: 0 !important;
}

/* Rich product description blocks */
.ev-desc__lead {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ev-text);
	margin: 0 0 22px;
	max-width: 52em;
}

.ev-desc__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 28px;
	margin-bottom: 22px;
}

.ev-desc__h {
	margin: 0 0 12px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ev-muted);
}

.ev-desc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ev-desc__list li {
	position: relative;
	padding: 10px 0 10px 22px;
	border-bottom: 1px solid var(--ev-border);
	font-size: 14px;
	line-height: 1.45;
	color: var(--ev-text);
}

.ev-desc__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ev-primary);
}

.ev-desc__facts {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid var(--ev-border);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.ev-desc__fact {
	display: grid;
	grid-template-columns: minmax(100px, 38%) 1fr;
	gap: 12px;
	align-items: baseline;
	padding: 12px 14px;
	border-bottom: 1px solid var(--ev-border);
}

.ev-desc__fact:last-child {
	border-bottom: 0;
}

.ev-desc__fact-k {
	font-size: 12px;
	font-weight: 600;
	color: var(--ev-muted);
	text-align: left;
}

.ev-desc__fact-v {
	font-size: 14px;
	font-weight: 600;
	color: var(--ev-ink);
	text-align: left;
}

/* Legacy table markup (if filter misses) */
.ev-desc__specs {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	border: 1px solid var(--ev-border);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.ev-desc__specs th,
.ev-desc__specs td {
	padding: 12px 14px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--ev-border) !important;
	text-align: left !important;
	vertical-align: middle !important;
	line-height: 1.4;
}

.ev-desc__specs tr:last-child th,
.ev-desc__specs tr:last-child td {
	border-bottom: 0 !important;
}

.ev-desc__specs th {
	width: 38%;
	color: var(--ev-muted);
	font-weight: 600;
	background: #f8fafc;
}

.ev-desc__specs td {
	color: var(--ev-ink);
	font-weight: 600;
	background: #fff;
}

.ev-desc__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ev-desc__tag {
	display: inline-flex;
	flex-direction: row;
	align-items: baseline;
	gap: 6px;
	padding: 8px 12px;
	border: 1px solid var(--ev-border);
	border-radius: 999px;
	background: #f8fafc;
	line-height: 1.25;
	max-width: 100%;
}

.ev-desc__tag-k {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--ev-muted);
}

.ev-desc__tag-v {
	font-size: 13px;
	font-weight: 700;
	color: var(--ev-ink);
}

body.ev-store-active .product_meta {
	display: none !important;
}

/* Additional information (Detajet) attribute table */
body.ev-store-active .woocommerce-product-attributes,
body.ev-store-active table.shop_attributes,
body.ev-store-active .woocommerce-Tabs-panel--additional_information table {
	width: 100%;
	max-width: 640px;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	margin: 0 0 8px !important;
}

body.ev-store-active .woocommerce-product-attributes th,
body.ev-store-active .woocommerce-product-attributes td,
body.ev-store-active table.shop_attributes th,
body.ev-store-active table.shop_attributes td,
body.ev-store-active .woocommerce-Tabs-panel--additional_information table th,
body.ev-store-active .woocommerce-Tabs-panel--additional_information table td {
	padding: 12px 14px !important;
	text-align: left !important;
	vertical-align: middle !important;
	border: 0 !important;
	border-bottom: 1px solid var(--ev-border) !important;
	border-left: 0 !important;
	border-right: 0 !important;
	line-height: 1.4;
	font-size: 14px;
}

body.ev-store-active .woocommerce-product-attributes tr:last-child th,
body.ev-store-active .woocommerce-product-attributes tr:last-child td,
body.ev-store-active table.shop_attributes tr:last-child th,
body.ev-store-active table.shop_attributes tr:last-child td,
body.ev-store-active .woocommerce-Tabs-panel--additional_information table tr:last-child th,
body.ev-store-active .woocommerce-Tabs-panel--additional_information table tr:last-child td {
	border-bottom: 0 !important;
}

body.ev-store-active .woocommerce-product-attributes th,
body.ev-store-active table.shop_attributes th,
body.ev-store-active .woocommerce-Tabs-panel--additional_information table th,
body.ev-store-active .woocommerce-product-attributes-item__label {
	width: 40%;
	font-weight: 600 !important;
	color: var(--ev-muted) !important;
	background: #f8fafc !important;
}

body.ev-store-active .woocommerce-product-attributes td,
body.ev-store-active table.shop_attributes td,
body.ev-store-active .woocommerce-Tabs-panel--additional_information table td,
body.ev-store-active .woocommerce-product-attributes-item__value {
	font-weight: 600;
	color: var(--ev-ink) !important;
	background: #fff !important;
	font-style: normal !important;
}

body.ev-store-active .woocommerce-Tabs-panel--additional_information > h2,
body.ev-store-active .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label {
	text-align: left !important;
}

body.ev-store-active .woocommerce-Tabs-panel--additional_information > h2 {
	margin: 0 0 14px;
	font-size: 1.1rem;
	color: var(--ev-ink);
}

.ev-desc__note {
	padding: 16px 18px;
	border-radius: 12px;
	background: var(--ev-primary-soft);
	border: 1px solid rgba(45, 220, 122, 0.35);
	margin-bottom: 16px;
}

.ev-desc__note strong {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: var(--ev-ink);
}

.ev-desc__note p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ev-text);
}

.ev-desc__foot {
	margin: 0;
	font-size: 12px;
	color: var(--ev-muted);
}

@media (max-width: 800px) {
	.ev-desc__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* —— Category / shop archive hero —— */
.ev-archive-hero {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0 0 14px;
	border: 0;
	border-bottom: 1px solid var(--ev-border);
	border-radius: 0;
	background: transparent;
}

.ev-archive-hero__main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 24px;
}

.ev-archive-hero__text {
	min-width: 0;
	flex: 1 1 auto;
}

.ev-archive-hero__eyebrow {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ev-muted);
}

.ev-archive-hero__title {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.2;
	color: var(--ev-ink);
}

.ev-archive-hero__desc {
	margin: 6px 0 0;
	max-width: 40em;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ev-muted);
}

.ev-archive-hero__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex: 0 0 auto;
	padding-top: 2px;
}

.ev-archive-hero__tools .woocommerce-ordering,
.ev-archive-hero__tools .ev-select--orderby {
	margin: 0 !important;
	width: auto;
	min-width: 180px;
	max-width: 240px;
}

.ev-archive-hero__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ev-archive-hero__bar .woocommerce-result-count {
	margin: 0 !important;
	font-size: 13px;
	color: var(--ev-muted);
}

.ev-archive-hero__count {
	display: none !important;
}

.ev-related {
	max-width: 1280px;
	margin: 40px auto;
	padding: 0 20px;
}

.ev-related__title {
	font-size: 1.35rem;
	margin: 0 0 16px;
}

.ev-related-more {
	max-width: 1280px;
	margin: 0 auto 40px;
	padding: 0 20px;
}

.ev-related-more__btn {
	width: 100%;
	padding: 14px;
	border: 1px solid var(--ev-border);
	background: var(--ev-bg-soft);
	color: var(--ev-text);
	font-weight: 600;
	cursor: pointer;
}

.ev-related-more__btn:disabled {
	opacity: 0.6;
	cursor: default;
}

/* —— Cart / checkout —— */
.ev-cart,
.ev-checkout {
	max-width: 1100px;
	margin: 24px auto;
	padding: 0 20px;
}

.ev-cart .shop_table,
.ev-checkout .woocommerce-checkout {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	padding: 20px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #place_order {
	background: var(--ev-primary) !important;
	border-radius: 6px !important;
}

/* —— Footer —— */
.ev-footer {
	background: var(--ev-footer-bg);
	border-top: 1px solid rgba(45, 220, 122, 0.2);
	margin-top: 48px;
	padding: 48px 0 0;
	color: #d1d5db;
}

.ev-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px 36px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 28px;
}

.ev-footer h4 {
	margin: 0 0 12px;
	font-size: 14px;
	color: #fff;
	letter-spacing: 0.02em;
}

.ev-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ev-footer li {
	margin-bottom: 8px;
}

.ev-footer a {
	color: #9ca3af;
	text-decoration: none;
	font-size: 13px;
}

.ev-footer a:hover {
	color: var(--ev-primary);
}

.ev-footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ev-footer__contact li {
	margin-bottom: 8px;
	line-height: 1.45;
}

.ev-footer__contact a,
.ev-footer__contact span {
	color: #9ca3af;
	font-size: 13px;
	line-height: 1.45;
	text-decoration: none;
	word-break: break-word;
}

.ev-footer__contact a:hover {
	color: var(--ev-primary);
}

.ev-footer__about {
	color: #9ca3af;
	font-size: 13px;
	line-height: 1.55;
	margin: 12px 0 0;
}

.ev-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.ev-footer__social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #1a1a1c;
	border: 1px solid rgba(45, 220, 122, 0.35);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ev-primary) !important;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ev-footer__social-link:hover {
	background: var(--ev-primary);
	border-color: var(--ev-primary);
	color: #0f0f10 !important;
}

.ev-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 14px 20px;
	font-size: 12px;
	color: #6b7280;
}

.ev-footer__bottom-inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
}

.ev-footer__copy,
.ev-footer__credit {
	line-height: 1.45;
}

.ev-footer__credit {
	margin-left: auto;
	text-align: right;
}

.ev-footer__credit a {
	color: var(--ev-primary) !important;
	text-decoration: none;
	font-weight: 600;
}

.ev-footer__credit a:hover {
	text-decoration: underline;
}

@media (max-width: 720px) {
	.ev-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.ev-footer__credit {
		margin-left: 0;
		text-align: left;
	}
}

/* —— Banners —— */
.ev-banners {
	margin: 24px 0;
}

.ev-banners__title {
	margin: 0 0 16px;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--ev-ink);
}

.ev-banners__grid {
	display: grid;
	grid-template-columns: repeat(var(--ev-banner-cols, 2), minmax(0, 1fr));
	gap: 16px;
}

.ev-banners--stack .ev-banners__grid {
	grid-template-columns: 1fr;
}

.ev-banner,
a.ev-banner,
a.ev-banner:visited {
	position: relative;
	display: block;
	min-height: 180px;
	border-radius: var(--ev-radius-lg);
	overflow: hidden;
	background: #111 center / cover no-repeat;
	text-decoration: none !important;
	color: #fff !important;
	isolation: isolate;
}

a.ev-banner:hover,
a.ev-banner:focus,
a.ev-banner:active,
body.ev-store-active a.ev-banner:hover,
body.ev-store-active a.ev-banner:focus,
body.ev-store-active a.ev-banner:active {
	color: #fff !important;
	text-decoration: none !important;
	outline: none;
}

/* Top full-width banner — keep bottoms (medium) as-is */
body.ev-store-active .ev-banners__grid > .ev-banner--hero,
body.ev-store-active .ev-banners__grid > a.ev-banner--hero,
body.ev-store-active .ev-banner.ev-banner--hero:not(.ev-banner--slide) {
	grid-column: 1 / -1;
	min-height: 480px !important;
	height: 480px !important;
	max-height: none !important;
}

.ev-banner--large {
	min-height: 240px;
}

.ev-banner--medium {
	min-height: 280px;
}

.ev-banner--small {
	min-height: 140px;
}

.ev-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(15, 15, 16, 0.75) 0%, rgba(15, 15, 16, 0.25) 70%);
	z-index: 0;
	transition: background 0.2s ease;
}

a.ev-banner:hover .ev-banner__overlay {
	background: linear-gradient(120deg, rgba(15, 15, 16, 0.82) 0%, rgba(15, 15, 16, 0.4) 70%);
}

.ev-banner__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	height: 100%;
	min-height: 100%;
	padding: 24px 28px;
	box-sizing: border-box;
}

.ev-banner__heading,
a.ev-banner .ev-banner__heading,
a.ev-banner:visited .ev-banner__heading {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	transition: color 0.15s ease;
}

.ev-banner__sub,
a.ev-banner .ev-banner__sub,
a.ev-banner:visited .ev-banner__sub {
	font-size: 0.9rem;
	opacity: 0.95;
	color: #fff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	transition: color 0.15s ease;
}

a.ev-banner:hover .ev-banner__heading,
a.ev-banner:focus .ev-banner__heading,
a.ev-banner:hover .ev-banner__sub,
a.ev-banner:focus .ev-banner__sub,
body.ev-store-active a.ev-banner:hover .ev-banner__heading,
body.ev-store-active a.ev-banner:focus .ev-banner__heading,
body.ev-store-active a.ev-banner:hover .ev-banner__sub,
body.ev-store-active a.ev-banner:focus .ev-banner__sub {
	color: var(--ev-primary) !important;
}

.ev-banner__btn,
a.ev-banner .ev-banner__btn,
a.ev-banner:hover .ev-banner__btn,
a.ev-banner:focus .ev-banner__btn,
body.ev-store-active a.ev-banner .ev-banner__btn,
body.ev-store-active a.ev-banner:hover .ev-banner__btn {
	display: inline-flex;
	align-self: flex-start;
	margin-top: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--ev-primary) !important;
	color: #0f0f10 !important;
	font-size: 12px;
	font-weight: 700;
	transition: background 0.15s ease, color 0.15s ease;
}

a.ev-banner:hover .ev-banner__btn,
a.ev-banner:focus .ev-banner__btn {
	background: #fff !important;
	color: #0f0f10 !important;
}

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

	body.ev-store-active .ev-banners__grid > .ev-banner--hero,
	body.ev-store-active .ev-banners__grid > a.ev-banner--hero,
	body.ev-store-active .ev-banner.ev-banner--hero:not(.ev-banner--slide) {
		min-height: 320px !important;
		height: 320px !important;
	}

	.ev-banner--medium {
		min-height: 220px;
	}
}

/* —— Banner slider (same width as hero / product rows) —— */
.ev-banner-slider {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 24px 0;
	box-sizing: border-box;
}

/* Legacy full-bleed class — keep contained like the top hero grid */
.ev-banner-slider--full {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.ev-banner-slider__title {
	margin: 0 0 16px;
	padding: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--ev-ink);
}

.ev-banner-slider__viewport {
	position: relative;
	overflow: hidden;
	border-radius: var(--ev-radius-lg);
}

.ev-banner-slider__track {
	position: relative;
	width: 100%;
}

.ev-banner-slider__slide {
	display: none;
	width: 100%;
}

.ev-banner-slider__slide.is-active {
	display: block;
	animation: evBannerFade 0.45s ease;
}

@keyframes evBannerFade {
	from { opacity: 0.35; }
	to { opacity: 1; }
}

.ev-banner-slider .ev-banner--slide,
.ev-banner-slider a.ev-banner--slide {
	border-radius: var(--ev-radius-lg);
	width: 100%;
	min-height: inherit;
}

.ev-banner-slider .ev-banner--hero {
	min-height: 480px !important;
	height: 480px !important;
}

.ev-banner-slider .ev-banner--large {
	min-height: 320px;
}

.ev-banner-slider .ev-banner--medium {
	min-height: 260px;
}

.ev-banner-slider .ev-banner--small {
	min-height: 200px;
}

.ev-banner-slider .ev-banner__content {
	max-width: none;
	margin: 0;
	padding: 28px 32px;
	width: 100%;
	box-sizing: border-box;
}

.ev-banner-slider .ev-banner__heading {
	font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.ev-banner-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #0f0f10;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(15, 15, 16, 0.18);
	transition: background 0.15s ease, transform 0.15s ease;
}

.ev-banner-slider__arrow:hover,
.ev-banner-slider__arrow:focus {
	background: #fff;
	outline: none;
}

.ev-banner-slider__arrow--prev {
	left: 16px;
}

.ev-banner-slider__arrow--next {
	right: 16px;
}

.ev-banner-slider__dots {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	gap: 8px;
	align-items: center;
}

.ev-banner-slider__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease, width 0.15s ease;
}

.ev-banner-slider__dot.is-active {
	width: 22px;
	background: var(--ev-primary, #2DDC7A);
}

.ev-banner-slider__dot:hover,
.ev-banner-slider__dot:focus {
	background: #fff;
	outline: none;
}

@media (max-width: 768px) {
	.ev-banner-slider .ev-banner--hero {
		min-height: 320px !important;
		height: 320px !important;
	}

	.ev-banner-slider .ev-banner--large {
		min-height: 240px;
	}

	.ev-banner-slider .ev-banner__content {
		padding: 28px 20px 48px;
	}

	.ev-banner-slider__arrow {
		width: 38px;
		height: 38px;
	}

	.ev-banner-slider__arrow--prev {
		left: 10px;
	}

	.ev-banner-slider__arrow--next {
		right: 10px;
	}
}

/* —— Woo loop cleanup when using EV cards —— */
ul.products li.product {
	list-style: none;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(var(--ev-cols, 4), minmax(0, 1fr));
	gap: 16px;
}

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

.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
	.ev-products__grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ev-shop__inner {
		grid-template-columns: 220px 1fr;
	}

	.ev-trust {
		grid-template-columns: repeat(2, 1fr);
	}

	.ev-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.ev-header__inner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"logo actions"
			"search search";
		gap: 10px 12px;
		padding: 10px 14px;
	}

	.ev-logo {
		grid-area: logo;
	}

	.ev-logo img,
	.ev-logo__img {
		max-height: 42px;
	}

	.ev-actions {
		grid-area: actions;
		justify-self: end;
		gap: 8px;
	}

	.ev-actions__name {
		display: none;
	}

	.ev-account-menu__chev {
		display: none;
	}

	.ev-actions__signin {
		padding: 8px 12px !important;
		min-height: 36px;
	}

	.ev-actions__signin-label {
		display: none;
	}

	.ev-lang__code {
		font-size: 11px;
	}

	.ev-header__search {
		grid-area: search;
		width: 100%;
	}

	.ev-nav__inner {
		padding: 0 14px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 12px;
	}

	.ev-nav__inner::-webkit-scrollbar {
		display: none;
	}

	.ev-nav__links,
	.ev-nav__menu {
		flex-wrap: nowrap;
		white-space: nowrap;
	}

	.ev-shop__inner {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 0 12px 88px;
	}

	.ev-products__grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.ev-trust {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 10px;
		padding-bottom: 4px;
	}

	.ev-trust::-webkit-scrollbar {
		display: none;
	}

	.ev-trust__item {
		flex: 0 0 auto;
		min-width: 200px;
	}

	.ev-footer__inner {
		grid-template-columns: 1fr;
	}

	body.ev-store-active {
		padding-bottom: 64px;
	}
}

/* —— Live search suggestions —— */
.ev-search__suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	box-shadow: var(--ev-shadow);
	z-index: 1200;
	max-height: 420px;
	overflow: auto;
	padding: 8px;
}

.ev-suggest__label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ev-muted);
	padding: 6px 8px 4px;
	font-weight: 700;
}

.ev-suggest__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--ev-text);
}

.ev-suggest__item:hover {
	background: var(--ev-primary-soft);
}

.ev-suggest__item img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 6px;
	background: var(--ev-bg-soft);
	border: 1px solid var(--ev-border);
}

.ev-suggest__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ev-suggest__meta strong {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ev-suggest__meta em,
.ev-suggest__item--cat em {
	font-style: normal;
	font-size: 12px;
	color: var(--ev-muted);
}

.ev-suggest__item--cat {
	justify-content: space-between;
}

.ev-suggest__all {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px;
	border: 0;
	border-radius: 8px;
	background: var(--ev-primary-soft);
	color: var(--ev-ink);
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
}

.ev-suggest__empty {
	padding: 16px;
	text-align: center;
	color: var(--ev-muted);
	font-size: 13px;
}


/* —— Gjirafa-style mega menu —— */
.ev-nav {
	position: relative;
	z-index: 1001;
}

.ev-nav__bar {
	border-top: 1px solid var(--ev-border);
	background: #fff;
}

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

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

.ev-mega.is-open {
	display: block !important;
}

.ev-mega__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 15, 16, 0.35);
	z-index: 1002;
}

.ev-mega__panel {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 100%;
	width: min(1200px, calc(100vw - 32px));
	display: grid;
	grid-template-columns: 280px 1fr;
	min-height: 420px;
	max-height: min(70vh, 560px);
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: 0 0 12px 12px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
	overflow: hidden;
	z-index: 1003;
}

.ev-mega__mobile-head {
	display: none;
}

.ev-mega__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ev-ink);
	cursor: pointer;
}

.ev-mega__side {
	border-right: 1px solid var(--ev-border);
	background: #fff;
	overflow: auto;
}

.ev-mega__all,
.ev-mega__cat {
	display: flex !important;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 16px !important;
	border: 0 !important;
	border-left: 3px solid transparent !important;
	background: transparent !important;
	color: var(--ev-text) !important;
	text-align: left;
	font: inherit;
	font-size: 14px !important;
	font-weight: 500 !important;
	cursor: pointer;
	text-decoration: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	text-transform: none !important;
	height: auto !important;
	line-height: 1.3 !important;
}

.ev-mega__all:hover,
.ev-mega__cat:hover,
.ev-mega__cat.is-active {
	background: var(--ev-primary-soft) !important;
	color: var(--ev-ink) !important;
	border-left-color: var(--ev-primary) !important;
}

.ev-mega__ico {
	display: inline-flex;
	width: 22px;
	justify-content: center;
	color: var(--ev-muted);
	flex-shrink: 0;
}

.ev-mega__cat.is-active .ev-mega__ico,
.ev-mega__cat:hover .ev-mega__ico {
	color: var(--ev-primary);
}

.ev-mega__name { flex: 1; }
.ev-mega__chev { display: inline-flex; color: #c4c4c4; margin-left: auto; }

.ev-mega__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	min-width: 0;
}

.ev-mega__hint {
	font-size: 11px;
	font-weight: 500;
	color: var(--ev-muted);
	line-height: 1.2;
}

.ev-mega__cat.is-active .ev-mega__hint,
.ev-mega__cat:hover .ev-mega__hint {
	color: #5a5a5a;
}

.ev-mega__cats {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ev-mega__main {
	overflow: auto;
	padding: 20px 24px;
	background: #fafafa;
}

.ev-mega__pane[hidden] { display: none !important; }
.ev-mega__pane.is-active { display: block !important; }

.ev-mega__pane-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.ev-mega__pane-titles h3 {
	margin: 0;
	font-size: 1.15rem;
	color: var(--ev-ink);
}

.ev-mega__pane-sub {
	margin: 4px 0 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--ev-muted);
}

.ev-mega__pane-head a {
	color: var(--ev-primary);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	padding-top: 2px;
}

.ev-mega__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 28px;
}

.ev-mega__col-title {
	display: block;
	font-weight: 700;
	font-size: 14px;
	color: var(--ev-ink);
	text-decoration: none;
	margin-bottom: 8px;
}

.ev-mega__col-title:hover { color: var(--ev-primary); }

.ev-mega__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ev-mega__col a {
	display: block;
	padding: 4px 0;
	font-size: 13px;
	color: #555;
	text-decoration: none;
}

.ev-mega__col a:hover { color: var(--ev-primary); }

.ev-mega__more {
	color: #999 !important;
	font-size: 12px !important;
}

.ev-mega__count {
	font-size: 12px;
	color: var(--ev-muted);
}

.ev-mega__empty {
	margin: 40px 0;
}

body.ev-mega-open { overflow: hidden; }

/* When parked on body (JS), keep mega above sticky header + bottom nav. */
body > .ev-mega.is-open {
	position: fixed;
	inset: 0;
	z-index: 13000;
	display: block !important;
}

body > .ev-mega.is-open .ev-mega__backdrop {
	z-index: 13000;
}

body > .ev-mega.is-open .ev-mega__panel {
	z-index: 13001;
}

/* Kill Hello Elementor / WP button redesign on our chrome (#c36 pink) */
body.ev-store-active .ev-header-wrap button,
body.ev-store-active .ev-header-wrap .button,
body.ev-store-active .ev-nav__cats,
body.ev-store-active .ev-mega__cat,
body.ev-store-active .ev-drawer button,
body.ev-store-active .ev-drawer [type="button"],
body.ev-store-active .ev-bottom-nav button,
body.ev-store-active .ev-bottom-nav [type="button"],
body.ev-store-active .ev-select__btn,
body.ev-store-active .ev-shop-toolbar__filter,
body.ev-store-active .ev-lang__toggle,
body.ev-store-active .ev-pass__toggle,
body.ev-store-active .ev-filters-drawer button {
	appearance: none !important;
	-webkit-appearance: none !important;
}

/* Global: never paint Hello Elementor #c36 onto storefront controls */
body.ev-store-active .ev-select__btn,
body.ev-store-active button.ev-select__btn,
body.ev-store-active .ev-shop-toolbar__filter {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--ev-border) !important;
	color: var(--ev-ink) !important;
	box-shadow: none !important;
}

body.ev-store-active .ev-lang__toggle,
body.ev-store-active .ev-pass__toggle {
	background: transparent !important;
	background-color: transparent !important;
	border-color: transparent !important;
	color: var(--ev-ink) !important;
	box-shadow: none !important;
}

body.ev-store-active .ev-pass__toggle {
	color: var(--ev-muted) !important;
}

body.ev-store-active .ev-select__btn:hover,
body.ev-store-active .ev-select__btn:focus,
body.ev-store-active .ev-select__btn:active,
body.ev-store-active button.ev-select__btn:hover,
body.ev-store-active button.ev-select__btn:focus,
body.ev-store-active .ev-shop-toolbar__filter:hover,
body.ev-store-active .ev-shop-toolbar__filter:focus {
	background: #fff !important;
	background-color: #fff !important;
	border-color: rgba(45, 220, 122, 0.55) !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active .ev-lang__toggle:hover,
body.ev-store-active .ev-lang__toggle:focus,
body.ev-store-active .ev-lang__toggle[aria-expanded="true"] {
	background: var(--ev-primary-soft) !important;
	background-color: var(--ev-primary-soft) !important;
	border-color: transparent !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active .ev-shop-toolbar__filter {
	border-color: var(--ev-primary) !important;
}

body.ev-store-active .ev-header-wrap button:not(.button):not([type="submit"]):not(.ev-nav__cats),
body.ev-store-active .ev-header-wrap [type="button"]:not(.ev-nav__cats),
body.ev-store-active .ev-drawer button:not(.button):not([type="submit"]):not(.checkout-button),
body.ev-store-active .ev-drawer [type="button"]:not(.button),
body.ev-store-active .ev-bottom-nav button,
body.ev-store-active .ev-bottom-nav [type="button"] {
	background: transparent !important;
	background-color: transparent !important;
	border-color: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
}

body.ev-store-active .ev-header-wrap button:not(.button):not([type="submit"]):not(.ev-nav__cats):hover,
body.ev-store-active .ev-header-wrap button:not(.button):not([type="submit"]):not(.ev-nav__cats):focus,
body.ev-store-active .ev-header-wrap [type="button"]:not(.ev-nav__cats):hover,
body.ev-store-active .ev-header-wrap [type="button"]:not(.ev-nav__cats):focus,
body.ev-store-active .ev-drawer button:not(.button):not([type="submit"]):not(.checkout-button):hover,
body.ev-store-active .ev-drawer button:not(.button):not([type="submit"]):not(.checkout-button):focus,
body.ev-store-active .ev-bottom-nav button:hover,
body.ev-store-active .ev-bottom-nav button:focus {
	background: var(--ev-primary-soft) !important;
	background-color: var(--ev-primary-soft) !important;
	border-color: transparent !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active .ev-header-wrap .wp-block-button__link,
body.ev-store-active .ev-header-wrap .elementor-button {
	all: unset;
}

@media (max-width: 900px) {
	/* Full-screen categories — covers bottom nav cleanly. */
	body.ev-mega-open .ev-bottom-nav {
		display: none !important;
	}

	.ev-mega__panel,
	body > .ev-mega.is-open .ev-mega__panel {
		position: fixed;
		inset: 0;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		width: 100%;
		max-width: none;
		height: 100%;
		height: 100dvh;
		max-height: none;
		min-height: 0;
		transform: none;
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		grid-template-rows: none;
		border-radius: 0;
		border: 0;
		box-shadow: none;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		background: #fff;
		padding-top: env(safe-area-inset-top, 0px);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}

	.ev-mega__mobile-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: sticky;
		top: 0;
		z-index: 2;
		flex-shrink: 0;
		padding: 14px 16px;
		border-bottom: 1px solid var(--ev-border);
		background: #fff;
	}

	.ev-mega__mobile-head strong {
		font-size: 1.05rem;
		color: var(--ev-ink);
	}

	.ev-mega__side {
		flex: 0 0 auto;
		max-height: none;
		overflow: visible;
		border-right: 0;
		border-bottom: 1px solid var(--ev-border);
		background: #fff;
	}

	.ev-mega__main {
		flex: 0 0 auto;
		min-height: auto;
		overflow: visible;
		padding: 16px;
		background: #fafafa;
	}

	.ev-mega__cols {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.ev-mega__pane-head {
		flex-wrap: wrap;
		margin-bottom: 14px;
	}

	.ev-mega__all,
	.ev-mega__cat {
		padding: 16px !important;
	}
}

/* —— Sidebar category tree —— */
.ev-filters__all {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	margin: -4px -4px 12px;
	border-radius: 10px;
	text-decoration: none !important;
	color: var(--ev-ink) !important;
	font-weight: 700;
	font-size: 14px;
	background: #fff;
	border: 1px solid var(--ev-border);
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ev-filters__all:hover {
	border-color: rgba(45, 220, 122, 0.55);
	background: var(--ev-primary-soft);
	color: var(--ev-ink) !important;
}

.ev-filters__all.is-active {
	background: var(--ev-primary);
	border-color: var(--ev-primary);
	color: #0f0f10 !important;
}

.ev-filters__all.is-active:hover {
	background: var(--ev-primary-hover);
	border-color: var(--ev-primary-hover);
	color: #0f0f10 !important;
}

.ev-filters__all-ico,
.ev-filters__chev {
	display: inline-flex;
}

.ev-filters__chev {
	margin-left: auto;
}

.ev-filters__heading {
	display: block;
	margin: 16px 0 10px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ev-muted);
}

/* —— Accordion filter panels —— */
.ev-acc {
	border-bottom: 1px solid var(--ev-border);
	margin: 0;
}

.ev-acc__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 12px 2px;
	margin: 0;
	border: 0;
	background: transparent !important;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ev-ink) !important;
	text-align: left;
	box-shadow: none !important;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

.ev-acc__toggle:hover {
	color: var(--ev-primary) !important;
	background: transparent !important;
}

.ev-acc__toggle:focus,
.ev-acc__toggle:focus-visible,
.ev-acc__toggle:active {
	background: transparent !important;
	color: var(--ev-ink) !important;
	outline: 2px solid var(--ev-primary);
	outline-offset: 2px;
	box-shadow: none !important;
}

.ev-acc.is-open > .ev-acc__toggle {
	color: var(--ev-ink) !important;
	background: transparent !important;
}

.ev-acc__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ev-acc__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ev-primary);
	color: #0f0f10;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.ev-acc__arrow {
	display: inline-flex;
	color: var(--ev-muted);
	transition: transform 0.18s ease;
	transform: rotate(0deg);
}

.ev-acc.is-open > .ev-acc__toggle .ev-acc__arrow {
	transform: rotate(90deg);
	color: var(--ev-primary);
}

.ev-acc__body {
	display: none;
	padding: 0 0 12px;
}

.ev-acc.is-open > .ev-acc__body {
	display: block;
}

.ev-filters__form .ev-btn {
	margin-top: 14px;
}

.ev-cat-tree {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}

.ev-cat-tree__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 8px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--ev-text);
	font-size: 14px;
}

.ev-cat-tree__link:hover,
.ev-cat-tree__item.is-active > .ev-cat-tree__link {
	background: var(--ev-primary-soft);
	color: var(--ev-ink);
}

.ev-cat-tree__ico {
	display: inline-flex;
	color: var(--ev-muted);
}

.ev-cat-tree__name {
	flex: 1;
}

.ev-cat-tree__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.ev-cat-tree__hint {
	font-size: 11px;
	font-weight: 500;
	color: var(--ev-muted);
	line-height: 1.2;
}

.ev-cat-tree__count {
	font-size: 12px;
	color: var(--ev-muted);
}

.ev-cat-tree__chev {
	display: inline-flex;
	transition: transform 0.15s;
}

.ev-cat-tree__item.is-open > .ev-cat-tree__link .ev-cat-tree__chev {
	transform: rotate(90deg);
}

.ev-cat-tree__children {
	list-style: none;
	margin: 0;
	padding: 0 0 6px 36px;
	display: none;
}

.ev-cat-tree__item.is-open > .ev-cat-tree__children {
	display: block;
}

.ev-cat-tree__children a {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 13px;
	color: var(--ev-muted);
	text-decoration: none;
}

.ev-cat-tree__children li.is-active a,
.ev-cat-tree__children a:hover {
	color: var(--ev-primary);
}

.ev-cats__all {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--ev-border);
	text-decoration: none;
	color: var(--ev-ink);
	font-weight: 700;
	font-size: 14px;
	background: var(--ev-primary-soft);
}

.ev-cats__sub {
	list-style: none;
	margin: 0;
	padding: 0 0 0 42px;
	background: var(--ev-bg-soft);
}

.ev-cats__sub a {
	display: flex;
	justify-content: space-between;
	padding: 8px 14px 8px 0;
	font-size: 13px;
	color: var(--ev-muted);
	text-decoration: none;
	border-bottom: 1px solid var(--ev-border);
}

.ev-cats__sub a:hover {
	color: var(--ev-primary);
}

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

/* —— Attribute filters + chips —— */
.ev-filters__checks {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: none;
	overflow: visible;
}

.ev-filters__checks label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	font-size: 13px;
	cursor: pointer;
	color: var(--ev-text);
}

.ev-filters__checks input {
	accent-color: var(--ev-primary);
}

.ev-filters__checks span { flex: 1; }
.ev-filters__checks em {
	font-style: normal;
	font-size: 11px;
	color: var(--ev-muted);
}

.ev-filters__attrs {
	margin-top: 8px;
	padding-top: 4px;
	border-top: 1px solid var(--ev-border);
}

.ev-subchips-wrap {
	margin: 0 0 18px;
}

.ev-subchips__label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--ev-muted);
}

.ev-subchips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.ev-subchips__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid var(--ev-border);
	border-radius: 999px;
	background: #fff;
	color: var(--ev-text);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
}

.ev-subchips__item em {
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	color: var(--ev-muted);
	background: var(--ev-bg-soft);
	padding: 2px 7px;
	border-radius: 999px;
}

.ev-subchips__item:hover,
.ev-subchips__item.is-active {
	border-color: var(--ev-primary);
	background: var(--ev-primary-soft);
	color: var(--ev-ink);
}

.ev-subchips__item.is-active em {
	background: var(--ev-primary);
	color: #0f0f10;
}

/* —— Product card wishlist button —— */
.ev-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	background: var(--ev-bg-soft);
	overflow: hidden;
}

.ev-card__link {
	display: block;
	height: 100%;
	color: inherit;
}

.ev-card__wish {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--ev-border);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ev-muted);
	cursor: pointer;
	z-index: 2;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	text-decoration: none !important;
	pointer-events: auto;
}

.ev-card__wish .ev-wish-ico,
.ev-card__wish .ev-icon {
	pointer-events: none;
}

a.ev-card__wish--guest {
	color: var(--ev-muted) !important;
}

.ev-card__wish:hover,
.ev-card__wish.is-active {
	color: var(--ev-primary);
	border-color: rgba(45, 220, 122, 0.55);
	background: var(--ev-primary-soft);
}

.ev-wish-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	line-height: 1;
}

.ev-wish-ico .eicon-heart {
	display: none;
}

.ev-card__wish.is-active .ev-wish-ico .eicon-heart-o,
.ev-single-wish.is-active .ev-wish-ico .eicon-heart-o,
.ev-actions__wish.is-active .ev-wish-ico .eicon-heart-o {
	display: none;
}

.ev-card__wish.is-active .ev-wish-ico .eicon-heart,
.ev-single-wish.is-active .ev-wish-ico .eicon-heart,
.ev-actions__wish.is-active .ev-wish-ico .eicon-heart {
	display: inline-block;
	color: var(--ev-primary);
}

/* —— My Account (top tabs) —— */
.ev-account {
	max-width: 1100px;
	margin: 28px auto 48px;
	padding: 0 20px;
}

.ev-account__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: stretch;
}

.ev-account__inner--login {
	max-width: 560px;
	margin: 0 auto;
	width: 100%;
	padding: 4px 0 20px;
}

/* —— Auth (sign in / register / lost password) —— */
.ev-auth {
	width: 100%;
}

.ev-auth--stack {
	display: flex;
	justify-content: center;
}

.ev-auth__panel {
	width: 100%;
	max-width: 480px;
}

.ev-auth--register .ev-auth__panel {
	max-width: 540px;
}

.ev-auth__grid2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 12px;
}

.ev-auth__grid2 .form-row-first,
.ev-auth__grid2 .form-row-last {
	width: 100% !important;
	float: none !important;
}

@media (max-width: 520px) {
	.ev-auth__grid2 {
		grid-template-columns: 1fr;
	}
}

.ev-auth__banner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	margin: 0 0 12px;
	border-radius: 12px;
	background: var(--ev-primary-soft);
	border: 1px solid rgba(45, 220, 122, 0.35);
}

.ev-auth__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ev-primary);
	color: #0f0f10;
	flex-shrink: 0;
}

.ev-auth__banner strong {
	display: block;
	font-size: 1.05rem;
	color: var(--ev-ink);
	margin-bottom: 4px;
}

.ev-auth__banner p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--ev-muted);
}

.ev-auth__card {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: 14px;
	padding: 22px 22px 20px;
	box-shadow: 0 8px 24px rgba(26, 18, 77, 0.04);
}

.ev-auth__head {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ev-border);
}

.ev-auth__head h2 {
	margin: 0 0 4px;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ev-ink);
}

.ev-auth__head p {
	margin: 0;
	font-size: 13.5px;
	color: var(--ev-muted);
	line-height: 1.5;
}

.ev-auth__form .form-row {
	margin: 0 0 16px !important;
	float: none !important;
	width: 100% !important;
}

.ev-auth__form label {
	display: block;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: var(--ev-muted) !important;
	margin: 0 0 8px !important;
}

.ev-auth__form .input-text {
	width: 100% !important;
	min-height: 50px !important;
	padding: 12px 14px !important;
	font-size: 14px !important;
	border-radius: 10px !important;
	border: 1px solid var(--ev-border) !important;
	background: #f8fafc !important;
	box-sizing: border-box;
}

.ev-auth__form .input-text:focus {
	border-color: var(--ev-primary) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(45, 220, 122, 0.2);
	background: #fff !important;
}

.ev-pass {
	position: relative;
	display: block;
}

.ev-pass .input-text {
	padding-right: 48px !important;
	min-height: 50px;
	box-sizing: border-box;
}

/* Pin eye to the input row — strength meter / errors must not shift it */
.ev-pass__toggle {
	position: absolute;
	top: 0;
	right: 8px;
	transform: none;
	width: 36px;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: var(--ev-muted);
	cursor: pointer;
	border-radius: 8px;
	padding: 0;
	line-height: 1;
	z-index: 2;
}

.ev-pass__toggle:hover,
.ev-pass__toggle:focus {
	color: var(--ev-ink);
	background: rgba(15, 15, 16, 0.06);
	outline: none;
}

.ev-pass .woocommerce-password-strength,
.ev-pass .woocommerce-password-hint {
	display: block;
	width: 100%;
	margin-top: 8px;
	clear: both;
}

.ev-pass__ico--hide {
	display: none;
}

.ev-pass.is-visible .ev-pass__ico--show {
	display: none;
}

.ev-pass.is-visible .ev-pass__ico--hide {
	display: inline-flex;
}

.ev-auth__form label .optional {
	font-weight: 500;
	color: var(--ev-muted);
	text-transform: none;
}

.ev-auth__row--remember {
	margin: 0 0 18px !important;
}

.ev-auth__row--remember label {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--ev-ink) !important;
	margin: 0 !important;
	cursor: pointer;
}

.ev-auth__hint {
	font-size: 13px;
	color: var(--ev-muted);
	line-height: 1.5;
	margin: 0 0 16px;
}

.ev-auth__submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 52px !important;
	padding: 14px 18px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	border-radius: 12px !important;
	background: var(--ev-primary) !important;
	border: 1.5px solid var(--ev-primary) !important;
	color: #0f0f10 !important;
	margin: 0 !important;
	text-decoration: none !important;
	box-sizing: border-box;
	cursor: pointer;
}

.ev-auth__submit:hover,
.ev-auth__submit:focus {
	filter: brightness(0.97);
	color: #0f0f10 !important;
}

.ev-auth__submit--link {
	text-align: center;
}

.ev-auth__links {
	margin: 18px 0 0;
	text-align: center;
}

.ev-auth__links-row {
	margin: 0 0 12px;
}

.ev-auth__links-row a,
.ev-auth__lost {
	font-size: 14px;
	font-weight: 600;
	color: var(--ev-ink) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ev-auth__links-row a:hover,
.ev-auth__lost:hover {
	color: #166534 !important;
}

.ev-auth__links-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 10px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--ev-border);
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
	color: var(--ev-muted);
}

.ev-auth__links-box a {
	font-weight: 700;
	color: var(--ev-ink) !important;
	text-decoration: none;
	border-bottom: 2px solid var(--ev-primary);
}

.ev-auth__links-box a:hover {
	color: #166534 !important;
}

.ev-auth__confirm-text {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ev-muted);
}

.ev-auth__confirm-actions {
	margin: 0;
}

/* Kill legacy split layout if cached markup appears */
.ev-auth__grid,
.ev-auth__grid--split,
.ev-auth__grid--single {
	display: block;
	max-width: 480px;
	margin: 0 auto;
}

@media (max-width: 640px) {
	.ev-account__inner--login {
		max-width: 100%;
		padding: 0 0 20px;
	}

	.ev-auth__panel {
		max-width: 100%;
	}

	.ev-auth__card {
		padding: 22px 18px 20px;
		border-radius: 14px;
	}

	.ev-auth__banner {
		padding: 14px 16px;
		margin-bottom: 12px;
	}

	.ev-auth__head h2 {
		font-size: 1.2rem;
	}

	.ev-auth__submit {
		min-height: 48px !important;
	}
}

.ev-account__top {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	overflow: hidden;
}

.ev-account__nav-head {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 16px 18px;
	border-bottom: 1px solid var(--ev-border);
	background: var(--ev-primary-soft);
}

.ev-account__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ev-primary);
	color: #0f0f10;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	line-height: 1 !important;
	text-align: center;
	flex-shrink: 0;
	padding: 0 !important;
	margin: 0;
}

.ev-account__nav-head strong {
	display: block;
	font-size: 14px;
	color: var(--ev-ink);
}

.ev-account__nav-head > div span {
	display: block;
	font-size: 12px;
	color: var(--ev-muted);
}

.ev-account__nav,
.woocommerce-MyAccount-navigation {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.ev-account__nav ul,
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 8px 10px;
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ev-account__nav ul::-webkit-scrollbar,
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
	display: none;
}

.ev-account__nav li,
.woocommerce-MyAccount-navigation li {
	margin: 0;
	flex: 0 0 auto;
}

.ev-account__nav a,
.woocommerce-MyAccount-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	text-decoration: none !important;
	color: var(--ev-text) !important;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	border: 1px solid transparent;
	background: transparent;
}

.ev-account__nav .is-active a,
.woocommerce-MyAccount-navigation .is-active a,
.ev-account__nav a:hover,
.woocommerce-MyAccount-navigation a:hover {
	background: var(--ev-primary-soft) !important;
	border-color: rgba(45, 220, 122, 0.45);
	color: var(--ev-ink) !important;
}

.ev-account__nav-count {
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	background: var(--ev-primary);
	color: #0f0f10;
	min-width: 18px;
	height: 18px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
}

.ev-account__content,
.woocommerce-MyAccount-content {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	padding: 28px 24px;
	float: none !important;
	width: 100% !important;
}

.ev-account-page .woocommerce-MyAccount-content,
.ev-account-page .woocommerce-MyAccount-navigation {
	float: none !important;
	width: 100% !important;
}

/* Dashboard cards */
.ev-dash__head {
	margin-bottom: 22px;
	text-align: center;
}

.ev-dash__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ev-muted);
}

.ev-dash__title {
	margin: 0 0 8px;
	font-size: 1.45rem;
	color: var(--ev-ink);
}

.ev-dash__sub {
	margin: 0;
	color: var(--ev-muted);
	font-size: 14px;
}

.ev-dash__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ev-dash__card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 16px;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	text-decoration: none !important;
	color: var(--ev-text) !important;
	background: #fafafa;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.ev-dash__card:hover {
	background: var(--ev-primary-soft);
	border-color: rgba(45, 220, 122, 0.5);
	box-shadow: var(--ev-shadow);
	color: var(--ev-ink) !important;
}

.ev-dash__card-ico {
	display: inline-flex;
	color: var(--ev-primary);
	margin-bottom: 4px;
}

.ev-dash__card strong {
	font-size: 15px;
	color: var(--ev-ink);
}

.ev-dash__card span {
	font-size: 13px;
	color: var(--ev-muted);
	line-height: 1.4;
}

.ev-dash__logout {
	margin: 24px 0 0;
	text-align: center;
}

.ev-dash__logout a.ev-account__logout-btn {
	color: #fff !important;
	text-decoration: none !important;
}

.ev-dash__logout a.ev-account__logout-btn:hover {
	color: #fff !important;
}

/* Addresses (Adresa) */
.ev-addresses__head {
	margin-bottom: 22px;
	text-align: center;
}

.ev-addresses__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ev-muted);
}

.ev-addresses__back {
	color: var(--ev-muted) !important;
	text-decoration: none !important;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	font-size: 13px;
}

.ev-addresses__back:hover {
	color: var(--ev-ink) !important;
}

.ev-addresses__title {
	margin: 0 0 8px;
	font-size: 1.45rem;
	color: var(--ev-ink);
}

.ev-addresses__sub {
	margin: 0 auto;
	max-width: 36em;
	color: var(--ev-muted);
	font-size: 14px;
	line-height: 1.5;
}

.ev-addresses__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.ev-addresses__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ev-addresses__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px 18px;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	background: #fafafa;
	min-height: 100%;
}

.ev-addresses__card--empty {
	background: #fff;
	border-style: dashed;
}

.ev-addresses__card-top {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ev-addresses__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--ev-primary-soft, rgba(45, 220, 122, 0.18));
	color: var(--ev-primary);
	flex-shrink: 0;
}

.ev-addresses__card-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ev-ink);
}

.ev-addresses__body {
	flex: 1;
}

.ev-addresses__text {
	margin: 0;
	font-style: normal;
	font-size: 14px;
	line-height: 1.65;
	color: var(--ev-text);
	white-space: pre-line;
}

.ev-addresses__empty {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ev-muted);
}

.ev-addresses__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
}

.ev-addresses__actions .ev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	border-radius: 8px;
	width: 100%;
}

body.ev-store-active .ev-addresses__actions .ev-btn--primary,
body.ev-store-active .ev-addresses__form-actions .ev-btn--primary {
	background: var(--ev-primary) !important;
	border: 1px solid var(--ev-primary) !important;
	color: #0f0f10 !important;
}

body.ev-store-active .ev-addresses__actions .ev-btn--outline {
	background: #fff !important;
	border: 1px solid var(--ev-border) !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active .ev-addresses__actions .ev-btn--outline:hover {
	border-color: rgba(45, 220, 122, 0.55) !important;
	background: var(--ev-primary-soft, rgba(45, 220, 122, 0.12)) !important;
}

.ev-addresses__form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 18px 0 0 !important;
}

.ev-addresses__form-actions .ev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none !important;
}

body.ev-store-active .ev-addresses__form-actions .ev-btn--ghost {
	background: transparent !important;
	border: 1px solid transparent !important;
	color: var(--ev-muted) !important;
}

body.ev-store-active .ev-addresses__form-actions .ev-btn--ghost:hover {
	color: var(--ev-ink) !important;
}

/* Fallback if default WC address markup is shown */
.ev-account-page .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.ev-account-page .woocommerce-Address-title h2,
.ev-account-page .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 1.05rem;
}

.ev-account-page .woocommerce-Address .edit,
.ev-account-page .woocommerce-Address-title .edit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	text-decoration: none !important;
	background: var(--ev-primary) !important;
	border: 1px solid var(--ev-primary) !important;
	color: #0f0f10 !important;
}

.ev-account-page .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ev-account-page .woocommerce-Address {
	padding: 18px;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	background: #fafafa;
}

/* —— Shared Woo form fields (account, address, lost password, etc.) —— */
body.ev-store-active .ev-account-page .woocommerce form .form-row,
body.ev-store-active .woocommerce-account .woocommerce form .form-row,
body.ev-store-active .woocommerce-EditAccountForm .form-row,
body.ev-store-active .woocommerce-address-fields .form-row,
body.ev-store-active .woocommerce-ResetPassword .form-row,
body.ev-store-active .ev-addresses__form .form-row {
	margin: 0 0 16px !important;
	padding: 0 !important;
	float: none !important;
}

body.ev-store-active .ev-account-page .woocommerce form .form-row-first,
body.ev-store-active .ev-account-page .woocommerce form .form-row-last,
body.ev-store-active .woocommerce-account .woocommerce form .form-row-first,
body.ev-store-active .woocommerce-account .woocommerce form .form-row-last,
body.ev-store-active .woocommerce-address-fields .form-row-first,
body.ev-store-active .woocommerce-address-fields .form-row-last,
body.ev-store-active .ev-addresses__form .form-row-first,
body.ev-store-active .ev-addresses__form .form-row-last {
	width: 48% !important;
	display: inline-block;
	vertical-align: top;
}

body.ev-store-active .ev-account-page .woocommerce form .form-row-first,
body.ev-store-active .woocommerce-account .woocommerce form .form-row-first,
body.ev-store-active .woocommerce-address-fields .form-row-first,
body.ev-store-active .ev-addresses__form .form-row-first {
	margin-right: 4% !important;
}

body.ev-store-active .ev-account-page .woocommerce form .form-row-wide,
body.ev-store-active .woocommerce-account .woocommerce form .form-row-wide,
body.ev-store-active .woocommerce-address-fields .form-row-wide,
body.ev-store-active .ev-addresses__form .form-row-wide {
	width: 100% !important;
	display: block;
	clear: both;
}

body.ev-store-active .ev-account-page .woocommerce form label,
body.ev-store-active .woocommerce-account .woocommerce form label,
body.ev-store-active .woocommerce-EditAccountForm label,
body.ev-store-active .woocommerce-address-fields label,
body.ev-store-active .woocommerce-ResetPassword label,
body.ev-store-active .ev-addresses__form label {
	display: block !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: var(--ev-muted) !important;
	margin: 0 0 8px !important;
	line-height: 1.35 !important;
}

body.ev-store-active .ev-account-page .woocommerce form .input-text,
body.ev-store-active .ev-account-page .woocommerce form textarea,
body.ev-store-active .ev-account-page .woocommerce form select,
body.ev-store-active .woocommerce-account .woocommerce form .input-text,
body.ev-store-active .woocommerce-account .woocommerce form textarea,
body.ev-store-active .woocommerce-account .woocommerce form select,
body.ev-store-active .woocommerce-EditAccountForm .input-text,
body.ev-store-active .woocommerce-EditAccountForm textarea,
body.ev-store-active .woocommerce-address-fields .input-text,
body.ev-store-active .woocommerce-address-fields textarea,
body.ev-store-active .woocommerce-address-fields select,
body.ev-store-active .woocommerce-ResetPassword .input-text,
body.ev-store-active .ev-addresses__form .input-text,
body.ev-store-active .ev-addresses__form textarea,
body.ev-store-active .ev-addresses__form select,
body.ev-store-active .ev-account-page .select2-selection--single {
	width: 100% !important;
	min-height: 50px !important;
	height: auto !important;
	padding: 12px 14px !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	font-weight: 500 !important;
	color: var(--ev-ink, #0f0f10) !important;
	border: 1px solid var(--ev-border, #e5e7eb) !important;
	border-radius: 10px !important;
	background: #f8fafc !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
	appearance: none;
	-webkit-appearance: none;
}

body.ev-store-active .ev-account-page .woocommerce form textarea,
body.ev-store-active .woocommerce-account .woocommerce form textarea,
body.ev-store-active .woocommerce-address-fields textarea,
body.ev-store-active .ev-addresses__form textarea {
	min-height: 96px !important;
	resize: vertical;
}

body.ev-store-active .ev-account-page .woocommerce form .input-text:focus,
body.ev-store-active .ev-account-page .woocommerce form textarea:focus,
body.ev-store-active .ev-account-page .woocommerce form select:focus,
body.ev-store-active .woocommerce-account .woocommerce form .input-text:focus,
body.ev-store-active .woocommerce-account .woocommerce form textarea:focus,
body.ev-store-active .woocommerce-EditAccountForm .input-text:focus,
body.ev-store-active .woocommerce-address-fields .input-text:focus,
body.ev-store-active .woocommerce-address-fields textarea:focus,
body.ev-store-active .woocommerce-address-fields select:focus,
body.ev-store-active .woocommerce-ResetPassword .input-text:focus,
body.ev-store-active .ev-addresses__form .input-text:focus,
body.ev-store-active .ev-addresses__form textarea:focus,
body.ev-store-active .ev-addresses__form select:focus {
	background: #fff !important;
	border-color: rgba(45, 220, 122, 0.75) !important;
	box-shadow: 0 0 0 3px rgba(45, 220, 122, 0.18) !important;
	outline: none !important;
}

body.ev-store-active .ev-account-page .ev-select__btn,
body.ev-store-active .woocommerce-account .ev-select__btn,
body.ev-store-active .ev-addresses__form .ev-select__btn {
	min-height: 50px !important;
	border-radius: 10px !important;
	border: 1px solid var(--ev-border) !important;
	background: #f8fafc !important;
	padding: 12px 14px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active .ev-account-page .ev-select.is-open .ev-select__btn,
body.ev-store-active .woocommerce-account .ev-select.is-open .ev-select__btn,
body.ev-store-active .ev-addresses__form .ev-select.is-open .ev-select__btn,
body.ev-store-active .ev-account-page .ev-select__btn:focus,
body.ev-store-active .woocommerce-account .ev-select__btn:focus {
	background: #fff !important;
	border-color: rgba(45, 220, 122, 0.75) !important;
	box-shadow: 0 0 0 3px rgba(45, 220, 122, 0.18) !important;
}

body.ev-store-active .ev-account-page fieldset,
body.ev-store-active .woocommerce-EditAccountForm fieldset {
	border: 1px solid var(--ev-border) !important;
	border-radius: 12px !important;
	padding: 16px 18px 8px !important;
	margin: 8px 0 18px !important;
	background: #fff;
}

body.ev-store-active .ev-account-page fieldset legend,
body.ev-store-active .woocommerce-EditAccountForm fieldset legend {
	padding: 0 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ev-ink);
}

body.ev-store-active .ev-account-page .woocommerce-Button,
body.ev-store-active .ev-account-page button[type="submit"],
body.ev-store-active .ev-account-page button[name="save_address"],
body.ev-store-active .ev-account-page button[name="save_account_details"],
body.ev-store-active .ev-addresses__form-actions .ev-btn--primary,
body.ev-store-active .woocommerce-ResetPassword button {
	min-height: 48px !important;
	padding: 0 22px !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	background: var(--ev-primary, #2DDC7A) !important;
	border: 1px solid var(--ev-primary, #2DDC7A) !important;
	color: #0f0f10 !important;
	cursor: pointer;
}

body.ev-store-active .ev-account-page .woocommerce-Button:hover,
body.ev-store-active .ev-account-page button[type="submit"]:hover,
body.ev-store-active .ev-account-page button[name="save_address"]:hover {
	filter: brightness(0.97);
}

@media (max-width: 700px) {
	body.ev-store-active .ev-account-page .woocommerce form .form-row-first,
	body.ev-store-active .ev-account-page .woocommerce form .form-row-last,
	body.ev-store-active .woocommerce-account .woocommerce form .form-row-first,
	body.ev-store-active .woocommerce-account .woocommerce form .form-row-last,
	body.ev-store-active .woocommerce-address-fields .form-row-first,
	body.ev-store-active .woocommerce-address-fields .form-row-last,
	body.ev-store-active .ev-addresses__form .form-row-first,
	body.ev-store-active .ev-addresses__form .form-row-last {
		width: 100% !important;
		display: block;
		margin-right: 0 !important;
	}
}

/* Centered empty states */
.ev-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px 20px;
	min-height: 240px;
	gap: 10px;
}

.ev-empty__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--ev-primary-soft);
	border: 1px solid rgba(45, 220, 122, 0.35);
	color: var(--ev-primary);
	margin-bottom: 6px;
}

.ev-empty__title {
	font-size: 1.15rem;
	color: var(--ev-ink);
	font-weight: 700;
}

.ev-empty__text {
	margin: 0 0 8px;
	max-width: 28em;
	color: var(--ev-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* —— 404 page —— */
.ev-404 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(68vh, 640px);
	padding: 48px 20px 64px;
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 220, 122, 0.14), transparent 55%),
		linear-gradient(180deg, #f7faf8 0%, #fff 55%);
}

.ev-404__inner {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.ev-404__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 18px;
	padding: 0 18px;
	min-height: 56px;
	border-radius: 14px;
	background: #0f0f10;
	color: var(--ev-primary, #2DDC7A);
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
}

.ev-404__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ev-muted);
}

.ev-404__title {
	margin: 0 0 10px;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 800;
	color: var(--ev-ink, #0f0f10);
	line-height: 1.2;
}

.ev-404__text {
	margin: 0 auto 22px;
	max-width: 34em;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ev-muted);
}

.ev-404__search {
	display: flex;
	gap: 8px;
	align-items: stretch;
	margin: 0 0 18px;
	padding: 6px;
	border: 1px solid var(--ev-border, #e5e7eb);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 15, 16, 0.04);
}

.ev-404__input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
	padding: 10px 12px !important;
	font-size: 15px !important;
	color: var(--ev-ink) !important;
}

.ev-404__search-btn {
	flex-shrink: 0;
	min-height: 44px !important;
	padding: 0 18px !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
}

body.ev-store-active .ev-404__actions .ev-btn--primary,
body.ev-store-active .ev-404__search-btn {
	background: var(--ev-primary, #2DDC7A) !important;
	border-color: var(--ev-primary, #2DDC7A) !important;
	color: #0f0f10 !important;
}

.ev-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 28px;
}

.ev-404__actions .ev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	font-weight: 700;
	text-decoration: none !important;
	border-radius: 8px;
}

body.ev-store-active .ev-404__actions .ev-btn--outline {
	background: #fff !important;
	border: 1px solid var(--ev-border) !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active .ev-404__actions .ev-btn--outline:hover {
	border-color: rgba(45, 220, 122, 0.55) !important;
	background: rgba(45, 220, 122, 0.1) !important;
}

.ev-404__cats-label {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ev-muted);
}

.ev-404__cat-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ev-404__cat-list a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--ev-border);
	background: #fff;
	color: var(--ev-ink) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color 0.15s, background 0.15s;
}

.ev-404__cat-list a:hover {
	border-color: rgba(45, 220, 122, 0.55);
	background: rgba(45, 220, 122, 0.1);
}

body.ev-404-page .site-main:not(.ev-404) {
	display: none;
}

@media (max-width: 560px) {
	.ev-404 {
		padding: 36px 16px 48px;
		min-height: auto;
	}

	.ev-404__search {
		flex-direction: column;
	}

	.ev-404__actions {
		flex-direction: column;
	}

	.ev-404__actions .ev-btn {
		width: 100%;
	}
}


.ev-wishlist__head {
	margin-bottom: 16px;
}

.ev-wishlist__head h2 {
	margin: 0 0 4px;
	font-size: 1.25rem;
}

.ev-wishlist__head p {
	color: var(--ev-muted);
	margin: 0;
}

/* —— Cart / Checkout page polish —— */
.ev-page--cart,
.ev-page--checkout,
.ev-cart,
.ev-checkout {
	max-width: 1100px;
	margin: 24px auto 48px;
	padding: 0 20px;
}

.ev-cart-page .woocommerce,
.ev-checkout-page .woocommerce {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	padding: 20px;
}

.ev-cart-page .checkout-button,
.ev-checkout-page #place_order,
.ev-account-page .woocommerce-button,
.ev-account-page .button {
	background: var(--ev-primary) !important;
	border-color: var(--ev-primary) !important;
	color: #0f0f10 !important;
	border-radius: 8px !important;
}

@media (max-width: 700px) {
	.ev-dash__cards {
		grid-template-columns: 1fr;
	}

	.ev-addresses__grid--2,
	.ev-account-page .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}

	.ev-account__content,
	.woocommerce-MyAccount-content {
		padding: 20px 16px;
	}
}

.ev-single-wish {
	margin: 0 !important;
	vertical-align: middle;
	gap: 0;
	min-height: 48px;
	min-width: 48px;
	padding: 0 12px !important;
	justify-content: center;
}

.ev-single-wish--icon {
	width: 48px;
	padding: 0 !important;
}

.ev-single-wish.is-active {
	background: var(--ev-primary-soft) !important;
	border-color: rgba(45, 220, 122, 0.55) !important;
	color: var(--ev-ink) !important;
}

/* —— EV Cart / Checkout / Account widgets (Elementor & shortcodes) —— */
.ev-widget-cart,
.ev-widget-checkout,
.ev-widget-account {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.ev-widget-cart__layout,
.ev-widget-checkout__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: 28px;
	align-items: start;
}

.ev-widget-cart__main,
.ev-widget-checkout__main {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	padding: 18px 20px;
}

.ev-widget-cart__side,
.ev-widget-checkout__side {
	min-width: 0;
}

.ev-widget-cart__sticky,
.ev-widget-checkout__sticky {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	padding: 18px 20px;
}

.ev-widget-cart--sticky .ev-widget-cart__sticky,
.ev-widget-checkout--sticky .ev-widget-checkout__sticky {
	position: sticky;
	top: 96px;
	z-index: 5;
}

.ev-widget-checkout__heading {
	margin: 0 0 14px;
	font-size: 1.15rem;
}

.ev-widget-cart .cart-collaterals .cart_totals,
.ev-widget-cart .cart-collaterals .cross-sells {
	width: 100% !important;
	float: none !important;
}

.ev-widget-cart .wc-proceed-to-checkout a.checkout-button,
.ev-widget-checkout #place_order {
	background: var(--ev-primary) !important;
	border-color: var(--ev-primary) !important;
	color: #0f0f10 !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	width: 100%;
}

.ev-widget-cart__empty {
	text-align: center;
	padding: 48px 24px;
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
}

.ev-widget-cart__empty strong {
	display: block;
	font-size: 1.2rem;
	margin-bottom: 8px;
}

.ev-widget-cart__empty p {
	margin: 0 0 18px;
	color: var(--ev-muted);
}

.ev-widget-checkout .col2-set {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	width: 100% !important;
}

.ev-widget-checkout .col2-set .col-1,
.ev-widget-checkout .col2-set .col-2 {
	width: 100% !important;
	float: none !important;
}

.ev-widget-account .ev-account {
	max-width: none;
	margin: 0;
	padding: 0;
}

.ev-widget-account .ev-account__content {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	padding: 22px 24px;
	min-height: 280px;
}

@media (max-width: 960px) {
	.ev-widget-cart__layout,
	.ev-widget-checkout__layout {
		grid-template-columns: 1fr;
	}

	.ev-widget-cart--sticky .ev-widget-cart__sticky,
	.ev-widget-checkout--sticky .ev-widget-checkout__sticky {
		position: static;
	}
}

/* —— Shop pagination (EV design, not theme pink) —— */
body.ev-store-active .woocommerce-pagination,
body.ev-store-active .ev-shop .woocommerce-pagination,
body.ev-store-active nav.woocommerce-pagination {
	margin: 28px 0 8px !important;
	text-align: center;
}

body.ev-store-active .woocommerce-pagination ul.page-numbers,
body.ev-store-active ul.page-numbers {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.ev-store-active .woocommerce-pagination ul.page-numbers li,
body.ev-store-active ul.page-numbers li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	float: none !important;
	display: inline-flex;
}

body.ev-store-active .woocommerce-pagination .page-numbers,
body.ev-store-active ul.page-numbers .page-numbers,
body.ev-store-active .woocommerce-pagination a.page-numbers,
body.ev-store-active .woocommerce-pagination span.page-numbers {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px !important;
	margin: 0 !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--ev-ink) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

body.ev-store-active .woocommerce-pagination a.page-numbers:hover,
body.ev-store-active .woocommerce-pagination a.page-numbers:focus,
body.ev-store-active ul.page-numbers a.page-numbers:hover,
body.ev-store-active ul.page-numbers a.page-numbers:focus {
	background: var(--ev-primary-soft) !important;
	border-color: var(--ev-primary) !important;
	color: var(--ev-ink) !important;
	outline: none !important;
}

body.ev-store-active .woocommerce-pagination .page-numbers.current,
body.ev-store-active ul.page-numbers .page-numbers.current,
body.ev-store-active .woocommerce-pagination span.page-numbers.current {
	background: var(--ev-primary) !important;
	border-color: var(--ev-primary) !important;
	color: #0f0f10 !important;
	cursor: default;
}

body.ev-store-active .woocommerce-pagination .page-numbers.dots,
body.ev-store-active ul.page-numbers .page-numbers.dots {
	border-color: transparent !important;
	background: transparent !important;
	color: var(--ev-muted) !important;
	min-width: 28px;
	pointer-events: none;
}

body.ev-store-active .woocommerce-pagination .page-numbers.prev,
body.ev-store-active .woocommerce-pagination .page-numbers.next {
	min-width: 44px;
	font-size: 16px !important;
}

body.ev-store-active .woocommerce-breadcrumb,
body.ev-store-active .woocommerce-breadcrumb a {
	color: var(--ev-muted) !important;
	font-size: 13px;
}

body.ev-store-active .woocommerce-breadcrumb {
	margin: 12px 0 10px !important;
	padding: 0 20px;
	max-width: 1280px;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}

body.single-product.ev-store-active .woocommerce-breadcrumb,
body.ev-store-active.single-product .woocommerce-breadcrumb {
	margin-top: 28px !important;
	margin-bottom: 18px !important;
}

body.ev-store-active .woocommerce-breadcrumb a:hover {
	color: var(--ev-primary) !important;
}

body.ev-store-active .woocommerce-result-count {
	color: var(--ev-muted);
	font-size: 13px;
}

/* —— Shop toolbar remnants (filter lives in archive hero tools) —— */
.ev-shop-toolbar {
	display: none;
}

.ev-shop-toolbar__filter {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid var(--ev-primary);
	border-radius: 10px;
	background: #fff;
	color: var(--ev-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.ev-archive-hero__tools .ev-shop-toolbar__filter {
	display: none;
}

.ev-shop-toolbar__filter .ev-icon {
	color: var(--ev-primary);
}

.ev-filters-drawer__head {
	display: none;
}

.ev-filters-backdrop {
	display: none;
}

.ev-bottom-nav {
	display: none;
}

/* —— Mobile Gjirafa-style patterns —— */
@media (max-width: 900px) {
	.ev-shop-toolbar__filter,
	.ev-archive-hero__tools .ev-shop-toolbar__filter {
		display: inline-flex;
	}

	.ev-archive-hero__main {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.ev-archive-hero__tools {
		justify-content: stretch;
		width: 100%;
	}

	.ev-archive-hero__tools .woocommerce-ordering,
	.ev-archive-hero__tools .ev-select--orderby {
		flex: 1 1 auto;
		min-width: 0;
		max-width: none;
	}

	.ev-archive-hero__tools .ev-shop-toolbar__filter {
		flex: 0 0 auto;
	}

	.ev-filters-drawer__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 14px 16px;
		border-bottom: 1px solid var(--ev-border);
		position: sticky;
		top: 0;
		background: #fff;
		z-index: 2;
	}

	.ev-filters-drawer__head strong {
		font-size: 16px;
		color: var(--ev-ink);
	}

	.ev-filters-drawer__close {
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 50%;
		background: var(--ev-bg-soft);
		color: var(--ev-ink);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}

	.ev-shop__sidebar {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(100%, 360px);
		max-width: 100%;
		z-index: 1300;
		background: #fff;
		border: 0;
		border-radius: 0;
		padding: 0;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(105%);
		transition: transform 0.22s ease;
		box-shadow: -8px 0 28px rgba(15, 15, 16, 0.12);
	}

	.ev-shop__sidebar .ev-filters {
		border: 0;
		border-radius: 0;
		padding: 12px 16px 28px;
	}

	body.ev-filters-open .ev-shop__sidebar {
		transform: translateX(0);
	}

	.ev-filters-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1250;
		background: rgba(15, 15, 16, 0.45);
		border: 0;
		padding: 0;
		margin: 0;
		cursor: pointer;
	}

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

	body.ev-filters-open {
		overflow: hidden;
	}

	/* Horizontal scroll chips / tabs */
	.ev-subchips {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin: 0;
		padding-bottom: 2px;
	}

	.ev-subchips-wrap {
		margin: 0 0 14px;
	}

	.ev-subchips::-webkit-scrollbar {
		display: none;
	}

	.ev-subchips__item {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	body.ev-store-active .woocommerce-tabs ul.tabs {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 4px;
	}

	body.ev-store-active .woocommerce-tabs ul.tabs::-webkit-scrollbar {
		display: none;
	}

	body.ev-store-active .woocommerce-tabs ul.tabs li {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	body.ev-store-active .woocommerce-breadcrumb {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 4px;
		margin: 20px 0 12px !important;
		padding: 0 16px;
		font-size: 12px !important;
		white-space: nowrap;
	}

	body.single-product.ev-store-active .woocommerce-breadcrumb,
	body.ev-store-active.single-product .woocommerce-breadcrumb {
		margin-top: 24px !important;
	}

	body.ev-store-active .woocommerce-breadcrumb::-webkit-scrollbar {
		display: none;
	}

	.ev-archive-hero {
		padding: 0 0 12px;
		margin-bottom: 12px;
		gap: 8px;
	}

	.ev-archive-hero__title {
		font-size: 1.3rem;
	}

	/* Sticky bottom nav — cart/wishlist live here; hide duplicates from the top header.
	   Higher specificity beats body.ev-store-active .ev-actions__item { display: inline-flex !important }. */
	body.ev-store-active .ev-header-wrap .ev-actions__wish,
	body.ev-store-active .ev-header-wrap .ev-actions__cart,
	body.ev-store-active .ev-header .ev-actions__wish,
	body.ev-store-active .ev-header .ev-actions__cart {
		display: none !important;
	}

	.ev-bottom-nav {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1200;
		background: #fff;
		border-top: 1px solid var(--ev-border);
		padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
		box-shadow: 0 -6px 20px rgba(15, 15, 16, 0.06);
	}

	.ev-bottom-nav__item {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		padding: 6px 2px;
		border: 0;
		background: transparent;
		color: var(--ev-muted);
		text-decoration: none !important;
		font: inherit;
		font-size: 10px;
		font-weight: 600;
		cursor: pointer;
		min-height: 52px;
		min-width: 0;
	}

	.ev-bottom-nav__item > span {
		display: block;
		max-width: 100%;
		padding: 0 2px;
		line-height: 1.15;
		font-size: 9px;
		font-weight: 600;
		text-align: center;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.ev-bottom-nav__item .ev-icon {
		font-size: 20px;
		line-height: 1;
		color: inherit;
		flex-shrink: 0;
	}

	.ev-bottom-nav__item.is-active,
	.ev-bottom-nav__item:hover,
	.ev-bottom-nav__item:focus {
		color: var(--ev-primary) !important;
	}

	.ev-bottom-nav__badge {
		position: absolute;
		top: 2px;
		right: calc(50% - 18px);
		min-width: 16px;
		height: 16px;
		padding: 0 4px;
		border-radius: 999px;
		background: var(--ev-primary);
		color: #0f0f10;
		font-size: 10px;
		font-style: normal;
		font-weight: 700;
		line-height: 16px;
		text-align: center;
	}

	.ev-bottom-nav__badge[hidden],
	.ev-bottom-nav__badge:empty {
		display: none !important;
	}
}

/* —— WooCommerce notices (success / error / info) —— */
body.ev-store-active .ev-notice,
body.ev-store-active .woocommerce-message,
body.ev-store-active .woocommerce-info,
body.ev-store-active .woocommerce-error,
body.ev-store-active .woocommerce-noreviews,
body.ev-store-active p.no-comments {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 16px !important;
	padding: 14px 16px !important;
	border: 1px solid var(--ev-border) !important;
	border-top: 1px solid var(--ev-border) !important;
	border-top-color: var(--ev-border) !important;
	border-radius: var(--ev-radius-lg) !important;
	background: #fff !important;
	box-shadow: 0 4px 16px rgba(26, 18, 77, 0.04);
	color: var(--ev-text) !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	list-style: none !important;
	outline: none !important;
}

body.ev-store-active .ev-notice--success,
body.ev-store-active .woocommerce-message {
	background: var(--ev-primary-soft) !important;
	border-color: rgba(45, 220, 122, 0.45) !important;
	border-top-color: rgba(45, 220, 122, 0.45) !important;
}

body.ev-store-active .ev-notice--info,
body.ev-store-active .woocommerce-info {
	background: #f8fafc !important;
	border-color: #dbe3ee !important;
	border-top-color: #dbe3ee !important;
}

body.ev-store-active .ev-notice--error,
body.ev-store-active .woocommerce-error {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: #fff5f5 !important;
	border-color: #fecaca !important;
	border-top-color: #fecaca !important;
	padding: 10px 14px !important;
}

body.ev-store-active .woocommerce-error .ev-notice__item,
body.ev-store-active .woocommerce-error li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: #991b1b;
	font-size: 14px;
	line-height: 1.45;
}

body.ev-store-active .ev-notice__ico {
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 1px;
	color: var(--ev-primary);
}

body.ev-store-active .ev-notice--info .ev-notice__ico,
body.ev-store-active .woocommerce-info .ev-notice__ico {
	color: #64748b;
}

body.ev-store-active .ev-notice--error .ev-notice__ico,
body.ev-store-active .woocommerce-error .ev-notice__ico {
	color: #dc2626;
}

body.ev-store-active .ev-notice__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
}

body.ev-store-active .ev-notice__body a,
body.ev-store-active .woocommerce-message a,
body.ev-store-active .woocommerce-info a,
body.ev-store-active .woocommerce-error a {
	color: var(--ev-ink) !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.ev-store-active .ev-notice__body a:hover,
body.ev-store-active .woocommerce-message a:hover,
body.ev-store-active .woocommerce-info a:hover,
body.ev-store-active .woocommerce-error a:hover {
	color: var(--ev-primary) !important;
}

body.ev-store-active .woocommerce-message .button,
body.ev-store-active .woocommerce-info .button,
body.ev-store-active .woocommerce-error .button,
body.ev-store-active .ev-notice .button {
	display: inline-flex;
	align-items: center;
	order: 2;
	margin: 0 !important;
	padding: 8px 14px !important;
	border-radius: 8px !important;
	border: 1px solid transparent !important;
	background: var(--ev-primary) !important;
	color: #0f0f10 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	float: none !important;
	line-height: 1.2 !important;
	white-space: nowrap;
}

body.ev-store-active .woocommerce-message .button:hover,
body.ev-store-active .woocommerce-info .button:hover,
body.ev-store-active .ev-notice .button:hover {
	background: var(--ev-primary-hover) !important;
	color: #0f0f10 !important;
}

/* Coupon / login toggles */
body.ev-store-active .woocommerce-form-coupon-toggle .woocommerce-info,
body.ev-store-active .woocommerce-form-login-toggle .woocommerce-info {
	margin-bottom: 12px !important;
}

body.ev-store-active .checkout_coupon,
body.ev-store-active .woocommerce-form-login {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	padding: 16px 18px;
	margin: 0 0 18px;
}

/* Cart / checkout coupon row */
body.ev-store-active .coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

body.ev-store-active .coupon .input-text,
body.ev-store-active #coupon_code {
	min-width: 160px;
	flex: 1 1 160px;
	height: 42px;
	padding: 0 12px !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--ev-text) !important;
	box-shadow: none !important;
}

body.ev-store-active .coupon .button,
body.ev-store-active .coupon button,
body.ev-store-active button[name="apply_coupon"],
body.ev-store-active input[name="apply_coupon"],
body.ev-store-active .woocommerce-cart .coupon .button,
body.ev-store-active .woocommerce button.button:not(.alt):not(.checkout-button):not([name="update_cart"]):not(#place_order) {
	appearance: none !important;
	-webkit-appearance: none !important;
	background: #fff !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 8px !important;
	color: var(--ev-ink) !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	padding: 10px 16px !important;
	height: 42px !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body.ev-store-active .coupon .button:hover,
body.ev-store-active button[name="apply_coupon"]:hover,
body.ev-store-active .coupon .ev-btn--outline:hover {
	background: var(--ev-primary-soft) !important;
	border-color: rgba(45, 220, 122, 0.55) !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active button[name="update_cart"],
body.ev-store-active .woocommerce button[name="update_cart"],
body.ev-store-active .ev-btn--primary,
body.ev-store-active .checkout-button,
body.ev-store-active #place_order {
	background: var(--ev-primary) !important;
	border: 1px solid var(--ev-primary) !important;
	color: #0f0f10 !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body.ev-store-active .woocommerce a.button,
body.ev-store-active .woocommerce button.button,
body.ev-store-active .woocommerce input.button,
body.ev-store-active .woocommerce #respond input#submit {
	background: var(--ev-primary) !important;
	border-color: var(--ev-primary) !important;
	color: #0f0f10 !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body.ev-store-active .woocommerce a.button:hover,
body.ev-store-active .woocommerce button.button:hover,
body.ev-store-active .woocommerce input.button:hover {
	background: var(--ev-primary-hover) !important;
	border-color: var(--ev-primary-hover) !important;
	color: #0f0f10 !important;
}

/* Keep outline coupon secondary */
body.ev-store-active .coupon .button,
body.ev-store-active button[name="apply_coupon"] {
	background: #fff !important;
	border-color: var(--ev-border) !important;
	color: var(--ev-ink) !important;
}

/* Form validation */
body.ev-store-active .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.ev-store-active .woocommerce form .form-row.woocommerce-invalid select,
body.ev-store-active .woocommerce form .form-row.woocommerce-invalid textarea,
body.ev-store-active .woocommerce form .form-row.woocommerce-invalid .ev-select__btn {
	border-color: #f87171 !important;
	box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

body.ev-store-active .woocommerce form .form-row.woocommerce-validated input.input-text,
body.ev-store-active .woocommerce form .form-row.woocommerce-validated select,
body.ev-store-active .woocommerce form .form-row.woocommerce-validated textarea,
body.ev-store-active .woocommerce form .form-row.woocommerce-validated .ev-select__btn {
	border-color: rgba(45, 220, 122, 0.7) !important;
}

body.ev-store-active .woocommerce-error[role="alert"] + .checkout,
body.ev-store-active .woocommerce-NoticeGroup-checkout {
	margin-bottom: 8px;
}

body.ev-store-active .required {
	color: #dc2626 !important;
	font-weight: 600;
	text-decoration: none !important;
}

/* Password strength — sit below the field, never under the eye icon */
body.ev-store-active .woocommerce-password-strength {
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	margin-top: 8px;
	position: relative;
	z-index: 0;
}

body.ev-store-active .woocommerce-password-hint {
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--ev-muted);
}

body.ev-store-active .woocommerce-password-strength.short,
body.ev-store-active .woocommerce-password-strength.bad {
	background: #fff5f5;
	color: #991b1b;
}

body.ev-store-active .woocommerce-password-strength.good {
	background: #fffbeb;
	color: #92400e;
}

body.ev-store-active .woocommerce-password-strength.strong {
	background: var(--ev-primary-soft);
	color: #166534;
}

/* —— Order received / thank you —— */
body.ev-store-active .ev-order,
body.ev-store-active .woocommerce-order {
	max-width: 1080px;
	margin: 0 auto;
}

body.ev-store-active.ev-order-received-page .ev-checkout--endpoint,
body.ev-store-active.ev-order-received-page .ev-checkout,
body.ev-store-active.ev-order-received-page .ev-widget-checkout,
body.ev-store-active.ev-order-received-page .ev-page--checkout {
	max-width: 1120px;
	margin: 0 auto;
	padding: 16px 20px 40px;
}

/* Widen Elementor boxed sections on confirmation */
body.ev-store-active.ev-order-received-page .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1140px;
}

body.ev-store-active .ev-order-panel {
	background: #fff;
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	padding: 22px 24px 20px;
	box-shadow: none;
}

body.ev-store-active .ev-order-hero {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 16px;
	padding: 16px 18px;
	border-radius: 12px;
	border: 1px solid rgba(45, 220, 122, 0.35);
	background: #ecfdf5;
	box-shadow: none;
}

body.ev-store-active .ev-order-hero--error {
	border-color: #fecaca;
	background: #fff5f5;
}

body.ev-store-active .ev-order-hero--muted {
	border-color: var(--ev-border);
	background: #fff;
}

body.ev-store-active .ev-order-hero__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(45, 220, 122, 0.35);
	color: var(--ev-primary);
	flex-shrink: 0;
	box-shadow: none;
}

body.ev-store-active .ev-order-hero--error .ev-order-hero__ico {
	border-color: #fecaca;
	color: #dc2626;
}

body.ev-store-active .ev-order-hero__eyebrow {
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ev-muted);
}

body.ev-store-active .ev-order-hero__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ev-ink);
	line-height: 1.35;
}

body.ev-store-active .ev-order-hero__sub {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--ev-muted);
	line-height: 1.4;
}

body.ev-store-active .ev-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 0;
	padding: 16px 0 0;
	border: 0;
	border-top: 1px solid var(--ev-border);
	background: transparent;
	box-shadow: none;
}

body.ev-store-active .ev-order-actions .ev-btn,
body.ev-store-active .ev-order-actions .button {
	min-height: 44px !important;
	padding: 10px 18px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

body.ev-store-active .ev-checkout--endpoint {
	max-width: 1120px;
	margin: 0 auto;
	padding: 8px 0 28px;
}

body.ev-store-active.ev-order-received-page .ev-checkout--endpoint .woocommerce-form.woocommerce-form-login {
	max-width: 420px;
	margin: 12px 0 0;
	padding: 16px;
	border: 1px solid var(--ev-border);
	border-radius: 12px;
	background: #fff;
}

/* Order meta — 4-column key/value table */
body.ev-store-active .ev-order-meta {
	width: 100%;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	margin: 0 0 18px !important;
	table-layout: fixed;
}

body.ev-store-active .ev-order-meta th,
body.ev-store-active .ev-order-meta td {
	padding: 12px 14px !important;
	border: 1px solid var(--ev-border) !important;
	vertical-align: middle;
	font-size: 14px;
	line-height: 1.4;
	word-break: break-word;
}

body.ev-store-active .ev-order-meta th {
	width: 14%;
	background: #f8faf9 !important;
	color: var(--ev-muted);
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: left;
}

body.ev-store-active .ev-order-meta td {
	width: 36%;
	background: #fff !important;
	color: var(--ev-ink);
	font-weight: 600;
}

body.ev-store-active .ev-order-pay-note {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(45, 220, 122, 0.3);
	background: #f0fdf6;
	font-size: 13px;
	color: var(--ev-text);
	line-height: 1.45;
}

body.ev-store-active .ev-order-pay-note p {
	margin: 0;
}

body.ev-store-active .woocommerce-order-details,
body.ev-store-active .woocommerce-customer-details,
body.ev-store-active .ev-order-addresses {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0 0 20px;
	box-shadow: none;
}

body.ev-store-active .woocommerce-order-details__title,
body.ev-store-active .woocommerce-column__title,
body.ev-store-active .woocommerce-order-downloads__title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ev-ink);
}

body.ev-store-active .ev-order-addresses__hint {
	margin: -4px 0 12px;
	font-size: 13px;
	color: var(--ev-muted);
}

/* Standard bordered order table */
body.ev-store-active .woocommerce-table--order-details,
body.ev-store-active .woocommerce-table--order-downloads,
body.ev-store-active .shop_table.order_details {
	width: 100%;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 10px;
	overflow: hidden;
	margin: 0;
	box-shadow: none !important;
}

body.ev-store-active .woocommerce-table--order-details th,
body.ev-store-active .woocommerce-table--order-details td,
body.ev-store-active .shop_table.order_details th,
body.ev-store-active .shop_table.order_details td {
	padding: 12px 14px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--ev-border) !important;
	font-size: 14px;
	vertical-align: middle;
	line-height: 1.45;
	background: #fff !important;
}

body.ev-store-active .woocommerce-table--order-details thead th,
body.ev-store-active .shop_table.order_details thead th {
	background: #f8faf9 !important;
	color: var(--ev-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

body.ev-store-active .woocommerce-table--order-details td.product-total,
body.ev-store-active .woocommerce-table--order-details th.product-total,
body.ev-store-active .shop_table.order_details td.product-total,
body.ev-store-active .shop_table.order_details th.product-total,
body.ev-store-active .woocommerce-table--order-details tfoot td,
body.ev-store-active .shop_table.order_details tfoot td {
	text-align: right;
	white-space: nowrap;
}

body.ev-store-active .woocommerce-table--order-details tfoot th,
body.ev-store-active .shop_table.order_details tfoot th {
	text-align: right;
	font-weight: 600;
	color: var(--ev-muted);
	background: #fafafa !important;
}

body.ev-store-active .woocommerce-table--order-details tfoot td,
body.ev-store-active .shop_table.order_details tfoot td {
	font-weight: 600;
	background: #fafafa !important;
}

body.ev-store-active .woocommerce-table--order-details tfoot tr:last-child th,
body.ev-store-active .woocommerce-table--order-details tfoot tr:last-child td,
body.ev-store-active .shop_table.order_details tfoot tr:last-child th,
body.ev-store-active .shop_table.order_details tfoot tr:last-child td {
	border-bottom: 0 !important;
	color: var(--ev-ink);
	font-size: 15px;
	font-weight: 700;
	background: #f0fdf6 !important;
}

body.ev-store-active .ev-order-addresses__card {
	padding: 16px 18px;
	border: 1px solid var(--ev-border);
	border-radius: 10px;
	background: #fafafa;
}

body.ev-store-active .ev-order-addresses__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

body.ev-store-active .woocommerce-customer-details .woocommerce-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

body.ev-store-active .ev-order-addresses address,
body.ev-store-active .woocommerce-customer-details address {
	font-style: normal;
	line-height: 1.55;
	color: var(--ev-text);
	margin: 0;
	font-size: 14px;
}

body.ev-store-active .woocommerce-customer-details--phone,
body.ev-store-active .woocommerce-customer-details--email {
	margin: 8px 0 0;
	font-size: 14px;
}

/* Legacy overview list (view-order etc.) — keep usable */
body.ev-store-active .ev-order-overview,
body.ev-store-active .woocommerce-order-overview {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 !important;
	list-style: none !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	overflow: hidden !important;
	box-shadow: none !important;
}

body.ev-store-active .ev-order-overview li,
body.ev-store-active .woocommerce-order-overview li {
	flex: none !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 0 !important;
	border-right: 1px solid var(--ev-border) !important;
	border-bottom: 1px solid var(--ev-border) !important;
	background: transparent !important;
	list-style: none !important;
}

body.ev-store-active .ev-order-overview li:nth-child(3n),
body.ev-store-active .woocommerce-order-overview li:nth-child(3n) {
	border-right: 0 !important;
}

body.ev-store-active .ev-order-overview__label,
body.ev-store-active .woocommerce-order-overview > li > *:not(strong) {
	display: block;
	margin-bottom: 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--ev-muted);
}

body.ev-store-active .ev-order-overview strong,
body.ev-store-active .woocommerce-order-overview strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--ev-ink);
	line-height: 1.35;
	word-break: break-word;
}

@media (max-width: 800px) {
	body.ev-store-active .ev-order-meta,
	body.ev-store-active .ev-order-meta tbody,
	body.ev-store-active .ev-order-meta tr,
	body.ev-store-active .ev-order-meta th,
	body.ev-store-active .ev-order-meta td {
		display: block;
		width: 100% !important;
	}

	body.ev-store-active .ev-order-meta tr {
		border-bottom: 1px solid var(--ev-border);
		margin-bottom: 0;
	}

	body.ev-store-active .ev-order-meta th {
		border-bottom: 0 !important;
		padding-bottom: 4px !important;
	}

	body.ev-store-active .ev-order-meta td {
		border-top: 0 !important;
		padding-top: 0 !important;
		margin-bottom: 8px;
	}

	body.ev-store-active .ev-order-overview,
	body.ev-store-active .woocommerce-order-overview {
		grid-template-columns: 1fr 1fr !important;
	}

	body.ev-store-active .ev-order-overview li:nth-child(3n),
	body.ev-store-active .woocommerce-order-overview li:nth-child(3n) {
		border-right: 1px solid var(--ev-border) !important;
	}

	body.ev-store-active .ev-order-overview li:nth-child(2n),
	body.ev-store-active .woocommerce-order-overview li:nth-child(2n) {
		border-right: 0 !important;
	}

	body.ev-store-active .ev-order-addresses__grid,
	body.ev-store-active .woocommerce-customer-details .woocommerce-columns {
		grid-template-columns: 1fr;
	}

	body.ev-store-active .ev-order-panel {
		padding: 16px;
	}
}

@media (max-width: 480px) {
	body.ev-store-active .ev-order-hero {
		align-items: flex-start;
	}

	body.ev-store-active .ev-order-actions {
		flex-direction: column;
	}

	body.ev-store-active .ev-order-actions .ev-btn,
	body.ev-store-active .ev-order-actions .button {
		width: 100%;
		justify-content: center;
	}
}

body.ev-store-active .woocommerce-MyAccount-content .woocommerce-Message,
body.ev-store-active .woocommerce-MyAccount-content .woocommerce-message {
	margin-top: 4px;
}

/* —— Account orders —— */
.ev-orders__toolbar,
.ev-view-order .ev-orders__toolbar {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 18px;
}

.ev-orders__back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ev-muted);
	text-decoration: none;
	padding: 0;
	border: 0;
	background: none;
	line-height: 1.3;
}

.ev-orders__back:hover {
	color: var(--ev-ink);
}

.ev-orders__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ev-ink);
	line-height: 1.3;
}

.ev-orders__table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.ev-store-active .woocommerce-orders-table,
body.ev-store-active .woocommerce-MyAccount-orders,
body.ev-store-active .ev-orders__table {
	width: 100%;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	overflow: visible;
	background: transparent !important;
	box-shadow: none !important;
}

body.ev-store-active .woocommerce-orders-table th,
body.ev-store-active .woocommerce-orders-table td,
body.ev-store-active .woocommerce-MyAccount-orders th,
body.ev-store-active .woocommerce-MyAccount-orders td,
body.ev-store-active .ev-orders__table th,
body.ev-store-active .ev-orders__table td {
	padding: 14px 16px 14px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--ev-border, #e5e7eb) !important;
	border-left: 0 !important;
	border-right: 0 !important;
	font-size: 13px !important;
	text-align: left !important;
	vertical-align: middle !important;
	background: transparent !important;
}

body.ev-store-active .woocommerce-orders-table th:first-child,
body.ev-store-active .woocommerce-orders-table td:first-child,
body.ev-store-active .woocommerce-MyAccount-orders th:first-child,
body.ev-store-active .woocommerce-MyAccount-orders td:first-child,
body.ev-store-active .ev-orders__table th:first-child,
body.ev-store-active .ev-orders__table td:first-child {
	padding-left: 0 !important;
}

body.ev-store-active .woocommerce-orders-table th:last-child,
body.ev-store-active .woocommerce-orders-table td:last-child,
body.ev-store-active .woocommerce-MyAccount-orders th:last-child,
body.ev-store-active .woocommerce-MyAccount-orders td:last-child,
body.ev-store-active .ev-orders__table th:last-child,
body.ev-store-active .ev-orders__table td:last-child {
	padding-right: 0 !important;
	text-align: right !important;
}

body.ev-store-active .woocommerce-orders-table thead th,
body.ev-store-active .woocommerce-MyAccount-orders thead th,
body.ev-store-active .ev-orders__table thead th {
	background: transparent !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--ev-muted) !important;
	padding-top: 0 !important;
	padding-bottom: 10px !important;
	border-bottom: 2px solid rgba(15, 15, 16, 0.14) !important;
}

body.ev-store-active .woocommerce-orders-table tbody tr:last-child td,
body.ev-store-active .woocommerce-MyAccount-orders tbody tr:last-child td,
body.ev-store-active .ev-orders__table tbody tr:last-child td {
	border-bottom: 1px solid var(--ev-border, #e5e7eb) !important;
}

.ev-orders__num {
	font-weight: 700;
	color: var(--ev-ink);
	text-decoration: none;
}

.ev-orders__num:hover {
	color: var(--ev-primary-dark, #0f0f10);
	text-decoration: underline;
}

.ev-orders__status {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	background: #f3f4f6;
	color: var(--ev-ink);
	line-height: 1.3;
}

.ev-orders__status--processing,
.ev-orders__status--on-hold {
	background: var(--ev-primary-soft, #ecfdf5);
	color: #166534;
}

.ev-orders__status--completed {
	background: #ecfdf5;
	color: #166534;
}

.ev-orders__status--cancelled,
.ev-orders__status--failed,
.ev-orders__status--refunded {
	background: #fef2f2;
	color: #991b1b;
}

.ev-orders__total {
	display: block;
	font-weight: 700;
	color: var(--ev-ink);
}

.ev-orders__qty {
	display: block;
	font-size: 12px;
	color: var(--ev-muted);
	margin-top: 2px;
}

.ev-orders__actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

body.ev-store-active .woocommerce-orders-table .woocommerce-button,
body.ev-store-active .woocommerce-MyAccount-orders .button,
body.ev-store-active .woocommerce-order-details .button {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px !important;
	border-radius: 8px !important;
	background: var(--ev-primary-soft) !important;
	border: 0 !important;
	color: var(--ev-ink) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

body.ev-store-active .woocommerce-orders-table .woocommerce-button:hover,
body.ev-store-active .woocommerce-MyAccount-orders .button:hover {
	background: var(--ev-primary) !important;
	color: #0f0f10 !important;
}

.ev-orders__pager {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

/* View order detail */
.ev-view-order__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin: 0 0 20px;
	padding: 0 0 16px;
	border-bottom: 1px solid rgba(15, 15, 16, 0.08);
}

.ev-view-order__meta-item {
	min-width: 0;
}

.ev-view-order__meta-label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--ev-muted);
	margin-bottom: 2px;
}

.ev-view-order__meta-item strong {
	font-size: 13px;
	font-weight: 700;
	color: var(--ev-ink);
}

.ev-view-order__notes {
	margin: 0 0 18px;
}

.ev-view-order__notes h3 {
	margin: 0 0 10px;
	font-size: 0.95rem;
}

/* Order details table inside account — left labels, no vertical rules */
body.ev-store-active .ev-account .shop_table.order_details,
body.ev-store-active .ev-view-order .shop_table.order_details,
body.ev-store-active .woocommerce-MyAccount-content .shop_table.order_details {
	width: 100%;
	border: 0 !important;
	border-collapse: collapse !important;
}

body.ev-store-active .ev-account .shop_table.order_details th,
body.ev-store-active .ev-account .shop_table.order_details td,
body.ev-store-active .ev-view-order .shop_table.order_details th,
body.ev-store-active .ev-view-order .shop_table.order_details td,
body.ev-store-active .woocommerce-MyAccount-content .shop_table.order_details th,
body.ev-store-active .woocommerce-MyAccount-content .shop_table.order_details td {
	text-align: left !important;
	padding: 10px 12px 10px 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	background: transparent !important;
}

body.ev-store-active .ev-account .shop_table.order_details td.product-total,
body.ev-store-active .ev-account .shop_table.order_details tfoot td,
body.ev-store-active .ev-view-order .shop_table.order_details td.product-total,
body.ev-store-active .ev-view-order .shop_table.order_details tfoot td,
body.ev-store-active .woocommerce-MyAccount-content .shop_table.order_details td.product-total,
body.ev-store-active .woocommerce-MyAccount-content .shop_table.order_details tfoot td {
	text-align: right !important;
	padding-right: 0 !important;
	white-space: nowrap;
}

body.ev-store-active .ev-account .shop_table.order_details tfoot th,
body.ev-store-active .ev-view-order .shop_table.order_details tfoot th,
body.ev-store-active .woocommerce-MyAccount-content .shop_table.order_details tfoot th {
	text-align: left !important;
	width: 70%;
	font-weight: 600;
}

body.ev-store-active .woocommerce-MyAccount-content .woocommerce-order-details,
body.ev-store-active .woocommerce-MyAccount-content .woocommerce-customer-details,
body.ev-store-active .ev-view-order .woocommerce-order-details,
body.ev-store-active .ev-view-order .woocommerce-customer-details {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 0 20px !important;
}

body.ev-store-active mark,
body.ev-store-active .woocommerce-badge,
body.ev-store-active .order-status {
	background: var(--ev-primary-soft);
	color: #166534;
	border-radius: 6px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 600;
}

@media (max-width: 700px) {
	body.ev-store-active .woocommerce-orders-table.shop_table_responsive tr,
	body.ev-store-active .woocommerce-MyAccount-orders.shop_table_responsive tr {
		display: block;
		border-bottom: 1px solid rgba(15, 15, 16, 0.1);
		padding: 12px 0;
		margin: 0;
	}

	body.ev-store-active .woocommerce-orders-table.shop_table_responsive td,
	body.ev-store-active .woocommerce-orders-table.shop_table_responsive th,
	body.ev-store-active .woocommerce-MyAccount-orders.shop_table_responsive td,
	body.ev-store-active .woocommerce-MyAccount-orders.shop_table_responsive th {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		padding: 6px 0 !important;
		border: 0 !important;
		text-align: left !important;
	}

	body.ev-store-active .woocommerce-orders-table.shop_table_responsive td:last-child,
	body.ev-store-active .woocommerce-MyAccount-orders.shop_table_responsive td:last-child {
		text-align: left !important;
		justify-content: space-between;
	}

	body.ev-store-active .woocommerce-message .button,
	body.ev-store-active .woocommerce-info .button,
	body.ev-store-active .ev-notice .button {
		display: inline-flex;
		margin: 10px 0 0;
	}
}

/* —— Floating toasts (bottom right) —— */
.ev-toasts {
	position: fixed;
	top: auto;
	bottom: 24px;
	right: 20px;
	z-index: 10050;
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
	width: min(380px, calc(100vw - 32px));
	pointer-events: none;
}

.ev-toast {
	pointer-events: auto;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 14px 14px 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--ev-border);
	box-shadow: 0 16px 40px rgba(15, 15, 16, 0.14);
	transform: translateY(24px);
	opacity: 0;
	transition: transform 0.28s ease, opacity 0.28s ease;
}

.ev-toast.is-in {
	transform: translateY(0);
	opacity: 1;
}

.ev-toast.is-out {
	transform: translateY(24px);
	opacity: 0;
}

.ev-toast--success {
	border-color: rgba(45, 220, 122, 0.45);
	background: linear-gradient(135deg, #ecfdf5 0%, #fff 55%);
}

.ev-toast--error {
	border-color: #fecaca;
	background: linear-gradient(135deg, #fff5f5 0%, #fff 55%);
}

.ev-toast--info {
	border-color: #e5e7eb;
	background: #fff;
}

.ev-toast__ico {
	display: inline-flex;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(45, 220, 122, 0.35);
	color: var(--ev-primary);
	font-size: 18px;
}

.ev-toast--error .ev-toast__ico {
	border-color: #fecaca;
	color: #dc2626;
}

.ev-toast--info .ev-toast__ico {
	border-color: #e5e7eb;
	color: #64748b;
}

.ev-toast__body {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ev-text);
	padding-top: 6px;
}

.ev-toast__body a {
	color: var(--ev-ink) !important;
	font-weight: 600;
}

.ev-toast__body a:hover {
	color: var(--ev-primary) !important;
}

.ev-toast__body .button,
.ev-toast__body a.button {
	display: inline-flex !important;
	align-items: center;
	margin: 8px 0 0 !important;
	padding: 8px 12px !important;
	border-radius: 8px !important;
	background: var(--ev-primary) !important;
	border: 1px solid var(--ev-primary) !important;
	color: #0f0f10 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	float: none !important;
}

.ev-toast__close {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--ev-muted);
	cursor: pointer;
	padding: 4px;
	line-height: 1;
	border-radius: 6px;
}

.ev-toast__close:hover {
	color: var(--ev-ink);
	background: var(--ev-bg-soft);
}

body.ev-store-active .woocommerce-message::before,
body.ev-store-active .woocommerce-info::before,
body.ev-store-active .woocommerce-error::before,
body.ev-store-active .woocommerce-message::after,
body.ev-store-active .woocommerce-info::after,
body.ev-store-active .woocommerce-error::after {
	display: none !important;
	content: none !important;
	background: none !important;
}

body.ev-store-active .woocommerce-notices-wrapper:empty,
body.ev-store-active .woocommerce-NoticeGroup:empty {
	display: none !important;
}

/* —— Checkout aesthetic —— */
.ev-checkout--grid,
.ev-checkout {
	max-width: 1180px;
	margin: 24px auto 48px;
	padding: 0 20px;
}

.ev-checkout__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
	gap: 28px;
	align-items: start;
}

.ev-checkout__card,
.ev-checkout__summary,
.ev-widget-checkout__main,
.ev-widget-checkout__sticky {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 8px 0 24px !important;
	box-shadow: none;
}

.ev-checkout__side,
.ev-widget-checkout__side {
	min-width: 0;
	align-self: start;
}

.ev-checkout__summary,
.ev-checkout__sticky,
.ev-widget-checkout--sticky .ev-widget-checkout__sticky {
	position: sticky;
	top: 104px;
	z-index: 5;
}

/* Sticky breaks if a parent clips overflow (Elementor containers). */
body.woocommerce-checkout .elementor-section,
body.woocommerce-checkout .elementor-container,
body.woocommerce-checkout .elementor-column,
body.woocommerce-checkout .elementor-widget-wrap,
body.woocommerce-checkout .e-con,
body.woocommerce-checkout .e-con-inner,
body.woocommerce-checkout .ev-checkout,
body.woocommerce-checkout .ev-widget-checkout,
body.woocommerce-checkout .ev-checkout__layout,
body.woocommerce-checkout .ev-widget-checkout__layout {
	overflow: visible !important;
}

.ev-checkout__summary h3,
.ev-checkout #order_review_heading,
.ev-widget-checkout__heading {
	margin: 0 0 18px !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: var(--ev-ink) !important;
	line-height: 1.3 !important;
}

.ev-checkout__details.col2-set {
	display: flex;
	flex-direction: column;
	gap: 22px;
	width: 100%;
}

.ev-checkout__details .col-1,
.ev-checkout__details .col-2,
.ev-widget-checkout .col2-set .col-1,
.ev-widget-checkout .col2-set .col-2 {
	width: 100% !important;
	float: none !important;
}

body.ev-store-active .ev-checkout .woocommerce-billing-fields > h3,
body.ev-store-active .ev-checkout .woocommerce-shipping-fields > h3:not(#ship-to-different-address),
body.ev-store-active .ev-checkout .woocommerce-additional-fields > h3,
body.ev-store-active .ev-widget-checkout .woocommerce-billing-fields > h3,
body.ev-store-active .ev-widget-checkout .woocommerce-shipping-fields > h3:not(#ship-to-different-address) {
	margin: 0 0 20px !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: var(--ev-ink) !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid rgba(15, 15, 16, 0.08) !important;
	line-height: 1.3 !important;
}

/* Checkout line selection */
.ev-checkout-item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	margin: 0 !important;
	cursor: pointer !important;
	font-weight: inherit !important;
}

.ev-checkout-item__check {
	margin: 4px 0 0 !important;
	width: 16px !important;
	height: 16px !important;
	flex: 0 0 auto !important;
	accent-color: var(--ev-primary, #2DDC7A) !important;
	cursor: pointer !important;
}

.ev-checkout-item__body {
	min-width: 0;
	flex: 1;
}

.ev-checkout-item--off .ev-checkout-item__body,
.ev-checkout-item--off .product-name {
	opacity: 0.45;
}

.ev-checkout-item__skip {
	font-size: 12px;
	color: var(--ev-muted, #6b7280);
	font-weight: 500;
	white-space: nowrap;
}

.ev-checkout-select-hint-row td {
	padding: 12px 0 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.ev-checkout__layout {
	gap: 40px;
}

/* Ship to different address — checkbox row, not a section title */
body.ev-store-active #ship-to-different-address,
body.ev-store-active .woocommerce-shipping-fields #ship-to-different-address {
	margin: 4px 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: 1.4 !important;
	background: transparent !important;
}

body.ev-store-active #ship-to-different-address label,
body.ev-store-active .woocommerce-shipping-fields #ship-to-different-address .woocommerce-form__label-for-checkbox {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--ev-ink) !important;
	line-height: 1.4 !important;
	cursor: pointer;
	border: 0 !important;
}

body.ev-store-active #ship-to-different-address span,
body.ev-store-active #ship-to-different-address .woocommerce-form__label-for-checkbox span {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--ev-ink) !important;
}

body.ev-store-active #ship-to-different-address-checkbox {
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	flex-shrink: 0;
}

body.ev-store-active .ev-checkout .form-row,
body.ev-store-active .ev-widget-checkout .form-row {
	margin: 0 0 18px !important;
	padding: 0 !important;
}

body.ev-store-active .ev-checkout .form-row label,
body.ev-store-active .ev-widget-checkout .form-row label {
	display: block !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: var(--ev-muted) !important;
	margin: 0 0 8px !important;
	line-height: 1.35 !important;
}

body.ev-store-active .ev-checkout .input-text,
body.ev-store-active .ev-checkout textarea,
body.ev-store-active .ev-checkout select,
body.ev-store-active .ev-widget-checkout .input-text,
body.ev-store-active .ev-widget-checkout textarea,
body.ev-store-active .ev-widget-checkout select,
body.ev-store-active .ev-checkout .select2-selection--single {
	border: 1px solid var(--ev-border) !important;
	border-radius: 10px !important;
	min-height: 48px !important;
	height: auto !important;
	padding: 12px 14px !important;
	font-size: 13.5px !important;
	line-height: 1.45 !important;
	background: #f8fafc !important;
	box-shadow: none !important;
	color: var(--ev-text) !important;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
	width: 100% !important;
	box-sizing: border-box !important;
}

body.ev-store-active .ev-checkout textarea,
body.ev-store-active .ev-widget-checkout textarea {
	min-height: 88px !important;
	padding-top: 12px !important;
}

body.ev-store-active .ev-checkout .input-text:focus,
body.ev-store-active .ev-checkout textarea:focus,
body.ev-store-active .ev-widget-checkout .input-text:focus,
body.ev-store-active .ev-widget-checkout textarea:focus {
	background: #fff !important;
	border-color: rgba(45, 220, 122, 0.7) !important;
	box-shadow: 0 0 0 3px rgba(45, 220, 122, 0.15) !important;
	outline: none !important;
}

/* Order review table — breathing room */
body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table,
body.ev-store-active #order_review .woocommerce-checkout-review-order-table {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	table-layout: fixed !important;
	margin: 4px 0 20px !important;
	border: 0 !important;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table th,
body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table td,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table th,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table td,
body.ev-store-active #order_review .woocommerce-checkout-review-order-table th,
body.ev-store-active #order_review .woocommerce-checkout-review-order-table td {
	padding: 14px 8px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--ev-border) !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	vertical-align: middle !important;
	word-break: break-word;
	background: transparent !important;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table thead th,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table thead th,
body.ev-store-active #order_review .woocommerce-checkout-review-order-table thead th {
	border-bottom: 1px solid var(--ev-border) !important;
	color: var(--ev-muted) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	padding: 0 8px 12px !important;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table tbody tr:last-child td,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table tbody tr:last-child td {
	border-bottom-color: var(--ev-border) !important;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table .product-name,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table .product-name {
	width: 68%;
	padding-right: 14px !important;
	font-weight: 500 !important;
	color: var(--ev-text) !important;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table .product-name .product-quantity,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table .product-name .product-quantity {
	color: var(--ev-muted) !important;
	font-weight: 500 !important;
	font-size: 12px !important;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table .product-total,
body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table tfoot td,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table .product-total,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table tfoot td,
body.ev-store-active #order_review .woocommerce-checkout-review-order-table .product-total,
body.ev-store-active #order_review .woocommerce-checkout-review-order-table tfoot td {
	width: 32%;
	text-align: right !important;
	white-space: nowrap;
	font-weight: 600 !important;
	font-size: 13px !important;
	padding-left: 8px !important;
}

/* Hint spans both columns — must wrap (overrides tfoot nowrap above). */
body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table tfoot tr.ev-checkout-select-hint-row td,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table tfoot tr.ev-checkout-select-hint-row td,
body.ev-store-active #order_review .woocommerce-checkout-review-order-table tfoot tr.ev-checkout-select-hint-row td {
	width: 100% !important;
	max-width: 0 !important; /* force table cell to respect fixed layout */
	text-align: left !important;
	white-space: normal !important;
	font-weight: 400 !important;
	padding: 12px 8px 4px !important;
	border-bottom: 0 !important;
}

.ev-checkout-select-hint {
	margin: 0 !important;
	font-size: 12px !important;
	line-height: 1.45 !important;
	color: var(--ev-muted, #6b7280) !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
	max-width: 100% !important;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table tfoot th,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table tfoot th {
	text-align: left !important;
	font-weight: 600 !important;
	color: var(--ev-muted) !important;
	font-size: 12.5px !important;
	padding: 14px 8px !important;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table .shipping td,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table .shipping td {
	text-align: right !important;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table .shipping ul,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table .shipping ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

body.ev-store-active .ev-checkout .woocommerce-checkout-review-order-table .shipping label,
body.ev-store-active .ev-widget-checkout .woocommerce-checkout-review-order-table .shipping label {
	font-size: 12.5px !important;
	font-weight: 500 !important;
	color: var(--ev-text) !important;
	line-height: 1.45 !important;
}

body.ev-store-active .ev-checkout .order-total th,
body.ev-store-active .ev-checkout .order-total td,
body.ev-store-active .ev-widget-checkout .order-total th,
body.ev-store-active .ev-widget-checkout .order-total td {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--ev-ink) !important;
	padding-top: 16px !important;
	padding-bottom: 4px !important;
	border-bottom: 0 !important;
}

body.ev-store-active .ev-checkout #payment,
body.ev-store-active .ev-widget-checkout #payment {
	margin-top: 8px !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

body.ev-store-active .ev-checkout #payment .payment_methods,
body.ev-store-active .ev-widget-checkout #payment .payment_methods {
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: 0 !important;
}

body.ev-store-active .ev-checkout #payment .woocommerce-info,
body.ev-store-active .ev-checkout #payment .woocommerce-notice,
body.ev-store-active .ev-widget-checkout #payment .woocommerce-info {
	margin: 0 0 16px !important;
	padding: 14px 16px !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	border-radius: 12px !important;
}

body.ev-store-active .ev-checkout .woocommerce-terms-and-conditions-wrapper,
body.ev-store-active .ev-widget-checkout .woocommerce-terms-and-conditions-wrapper {
	margin: 0 0 16px !important;
	font-size: 12px !important;
	line-height: 1.55 !important;
	color: var(--ev-muted) !important;
}

body.ev-store-active .ev-checkout #place_order,
body.ev-store-active .ev-widget-checkout #place_order,
body.ev-store-active.woocommerce-checkout #place_order {
	margin-top: 8px !important;
	min-height: 52px !important;
	padding: 14px 20px !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	border-radius: 12px !important;
	width: 100% !important;
}

/* Coupon / login toggles */
.ev-checkout-coupon,
.ev-checkout-login-toggle {
	max-width: 1180px;
	margin: 0 auto 18px;
	padding: 0 20px;
}

.ev-checkout-coupon--side,
.ev-checkout__summary .ev-checkout-coupon,
.ev-widget-checkout__sticky .ev-checkout-coupon,
#order_review .ev-checkout-coupon,
.woocommerce-checkout-payment .ev-checkout-coupon {
	max-width: none;
	margin: 0 0 16px;
	padding: 0;
}

/* If a stale duplicate survived a prior AJAX update, hide extras */
#order_review .ev-checkout-coupon ~ .ev-checkout-coupon,
.woocommerce-checkout-payment .ev-checkout-coupon ~ .ev-checkout-coupon {
	display: none !important;
}

.ev-checkout-coupon__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid var(--ev-border);
	border-radius: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font: inherit;
	box-shadow: 0 4px 14px rgba(26, 18, 77, 0.04);
	text-decoration: none !important;
	color: inherit !important;
	box-sizing: border-box;
}

.ev-checkout-coupon__toggle:hover,
.ev-checkout-coupon__toggle:focus {
	border-color: rgba(45, 220, 122, 0.5);
	background: var(--ev-primary-soft);
	color: inherit !important;
}

.ev-checkout-coupon__ico {
	display: inline-flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--ev-primary-soft);
	color: var(--ev-primary);
	flex-shrink: 0;
}

.ev-checkout-coupon__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ev-checkout-coupon__text strong {
	font-size: 14px;
	color: var(--ev-ink);
	font-weight: 700;
	font-style: normal;
}

.ev-checkout-coupon__text em {
	font-size: 12px;
	color: var(--ev-muted);
	font-style: normal;
}

.ev-checkout-coupon__chev {
	color: var(--ev-muted);
	transition: transform 0.15s;
}

.ev-checkout-coupon.is-open .ev-checkout-coupon__chev,
.ev-checkout-coupon__toggle[aria-expanded="true"] .ev-checkout-coupon__chev {
	transform: rotate(90deg);
}

.ev-checkout-coupon__form {
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 14px;
	padding: 16px;
	border: 1px solid var(--ev-border);
	border-radius: 14px;
	background: #fafafa;
}

.ev-checkout-coupon__form[style*="display: block"],
.ev-checkout-coupon__form[style*="display:block"],
.ev-checkout-coupon.is-open .ev-checkout-coupon__form {
	display: flex !important;
	align-items: stretch;
}

.ev-checkout-coupon__form[style*="display: none"],
.ev-checkout-coupon__form[style*="display:none"] {
	display: none !important;
}

.ev-checkout-coupon__form .input-text {
	flex: 1 1 200px;
	min-height: 48px !important;
	padding: 12px 14px !important;
	font-size: 13.5px !important;
	margin: 0 !important;
}

.ev-checkout-coupon__form .button,
.ev-checkout-coupon__form button[type="submit"] {
	min-height: 48px !important;
	padding: 12px 18px !important;
	font-size: 13.5px !important;
	margin: 0 !important;
	border-radius: 10px !important;
}

/* Payment methods */
body.ev-store-active .ev-payment,
body.ev-store-active .ev-checkout #payment .payment_box,
body.ev-store-active .ev-widget-checkout #payment .payment_box {
	background: #f8fafc;
	border: 1px solid var(--ev-border);
	border-radius: 14px;
	padding: 14px 16px;
	margin-top: 8px;
}

body.ev-store-active .ev-checkout #payment,
body.ev-store-active .ev-widget-checkout #payment {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin-top: 8px !important;
}

body.ev-store-active .wc_payment_methods {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

body.ev-store-active .wc_payment_method {
	margin: 0 0 8px;
	padding: 12px 14px;
	border: 1px solid var(--ev-border);
	border-radius: 12px;
	background: #fff;
}

body.ev-store-active .wc_payment_method > label {
	font-weight: 600;
	color: var(--ev-ink);
}

body.ev-store-active .payment_box {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--ev-bg-soft);
	border: 1px solid var(--ev-border);
	font-size: 13px;
	color: var(--ev-muted);
}

body.ev-store-active .ev-pay-alert {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	padding: 14px !important;
	border: 1px solid rgba(45, 220, 122, 0.35) !important;
	border-radius: 12px !important;
	background: var(--ev-primary-soft) !important;
	color: var(--ev-text);
	font-size: 13px;
	line-height: 1.45;
	list-style: none !important;
}

body.ev-store-active .ev-pay-alert__text {
	flex: 1;
	min-width: 0;
}

body.ev-store-active .ev-pay-alert__text .e-description,
body.ev-store-active .ev-pay-alert .woocommerce-no-available-payment-methods-message {
	display: inline;
	font-size: inherit;
	color: inherit;
}

body.ev-store-active .ev-pay-alert__ico {
	color: var(--ev-primary);
	flex-shrink: 0;
}

body.ev-store-active #place_order {
	width: 100%;
	margin-top: 8px;
	padding: 14px 18px !important;
	font-size: 15px !important;
}

body.ev-store-active .woocommerce-privacy-policy-text {
	font-size: 12px;
	color: var(--ev-muted);
	line-height: 1.5;
	margin-bottom: 10px;
}

body.ev-store-active .woocommerce-shipping-methods {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.ev-store-active .woocommerce-shipping-methods li {
	padding: 8px 0;
}

@media (max-width: 900px) {
	.ev-toasts {
		top: auto;
		bottom: 84px;
		right: 12px;
		left: 12px;
		width: auto;
	}

	.ev-toast {
		transform: translateY(16px);
	}

	.ev-toast.is-in {
		transform: translateY(0);
	}

	.ev-toast.is-out {
		transform: translateY(16px);
	}

	.ev-checkout__layout {
		grid-template-columns: 1fr;
	}

	.ev-checkout__summary,
	.ev-checkout__sticky,
	.ev-widget-checkout--sticky .ev-widget-checkout__sticky {
		position: static;
	}
}

/* —— Checkout fields: hide state / county —— */
body.ev-store-active #billing_state_field,
body.ev-store-active #shipping_state_field,
body.ev-store-active .woocommerce-billing-fields #billing_state_field,
body.ev-store-active .woocommerce-shipping-fields #shipping_state_field,
body.ev-store-active .ev-field-hidden,
body.ev-store-active .form-row.ev-field-hidden,
body.ev-store-active .wc-block-components-address-form__state,
body.ev-store-active .wc-block-components-address-form .wc-block-components-state-input,
body.ev-store-active .wc-block-checkout__billing-fields .wc-block-components-address-form__state,
body.ev-store-active .wc-block-checkout__shipping-fields .wc-block-components-address-form__state {
	display: none !important;
}

/* —— Classic checkout form polish —— */
body.ev-store-active.ev-checkout-fields .ev-checkout,
body.ev-store-active.ev-checkout-page .ev-checkout,
body.ev-store-active .ev-widget-checkout {
	font-family: var(--ev-font);
}

body.ev-store-active .ev-checkout .form-row-first,
body.ev-store-active .ev-checkout .form-row-last,
body.ev-store-active .ev-widget-checkout .form-row-first,
body.ev-store-active .ev-widget-checkout .form-row-last {
	width: 48% !important;
	float: left;
	clear: none;
}

body.ev-store-active .ev-checkout .form-row-last,
body.ev-store-active .ev-widget-checkout .form-row-last {
	float: right;
}

body.ev-store-active .ev-checkout .form-row-wide,
body.ev-store-active .ev-widget-checkout .form-row-wide {
	width: 100% !important;
	clear: both;
	float: none;
}

body.ev-store-active .ev-checkout .woocommerce-billing-fields__field-wrapper::after,
body.ev-store-active .ev-checkout .woocommerce-shipping-fields__field-wrapper::after,
body.ev-store-active .ev-widget-checkout .woocommerce-billing-fields__field-wrapper::after,
body.ev-store-active .ev-widget-checkout .woocommerce-shipping-fields__field-wrapper::after {
	content: "";
	display: table;
	clear: both;
}

body.ev-store-active .ev-checkout .select2-container .select2-selection--single,
body.ev-store-active .ev-widget-checkout .select2-container .select2-selection--single,
body.ev-store-active.woocommerce-checkout .select2-container .select2-selection--single {
	height: 48px !important;
	min-height: 48px !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 10px !important;
	background: #f8fafc !important;
}

body.ev-store-active .ev-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
body.ev-store-active.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 46px !important;
	padding-left: 14px !important;
	font-size: 13.5px !important;
	color: var(--ev-text) !important;
}

body.ev-store-active .ev-checkout .select2-container--default .select2-selection--single .select2-selection__arrow,
body.ev-store-active.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px !important;
}

body.ev-store-active .ev-checkout .select2-container,
body.ev-store-active.woocommerce-checkout .select2-container {
	width: 100% !important;
	z-index: 30 !important;
}

body.ev-store-active .select2-container--open {
	z-index: 10050 !important;
}

body.ev-store-active .select2-dropdown {
	z-index: 10051 !important;
	border-radius: 10px !important;
	border-color: var(--ev-border) !important;
	overflow: hidden;
}

/* Native country select only before custom enhance (not when wrapped as .ev-select-native) */
body.ev-store-active.woocommerce-checkout #billing_country:not(.ev-select-native),
body.ev-store-active.woocommerce-checkout #shipping_country:not(.ev-select-native),
body.ev-store-active.woocommerce-checkout #calc_shipping_country:not(.ev-select-native) {
	width: 100% !important;
	min-height: 48px !important;
	padding: 10px 14px !important;
	border: 1px solid var(--ev-border) !important;
	border-radius: 10px !important;
	background: #f8fafc !important;
	font-size: 13.5px !important;
	color: var(--ev-text) !important;
}

/* Phone required marker */
body.ev-store-active #billing_phone_field label .optional,
body.ev-store-active #shipping_phone_field label .optional {
	display: none !important;
}

/* —— WooCommerce Blocks checkout (Contact / Order summary UI) —— */
body.ev-store-active .wp-block-woocommerce-checkout,
body.ev-store-active .wc-block-checkout,
body.ev-store-active .wc-block-components-sidebar-layout {
	max-width: 1180px;
	margin: 0 auto;
	font-family: var(--ev-font);
}

body.ev-store-active .wc-block-checkout__main,
body.ev-store-active .wc-block-components-main {
	padding-right: 12px;
}

body.ev-store-active .wc-block-checkout h2,
body.ev-store-active .wc-block-components-checkout-step__heading,
body.ev-store-active .wc-block-components-title {
	color: var(--ev-ink) !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
}

body.ev-store-active .wc-block-components-checkout-step {
	border: 1px solid var(--ev-border);
	border-radius: 16px;
	padding: 20px 22px !important;
	margin: 0 0 16px !important;
	background: #fff;
	box-shadow: 0 8px 24px rgba(26, 18, 77, 0.04);
}

body.ev-store-active .wc-block-components-checkout-step__container {
	margin: 0;
}

body.ev-store-active .wc-block-components-text-input input,
body.ev-store-active .wc-block-components-textarea textarea,
body.ev-store-active .wc-block-components-combobox input,
body.ev-store-active .wc-block-components-select select,
body.ev-store-active .wc-block-components-address-form input,
body.ev-store-active .wc-block-components-address-form select {
	border: 1px solid var(--ev-border) !important;
	border-radius: 10px !important;
	background: #fafafa !important;
	min-height: 48px !important;
	box-shadow: none !important;
	font-size: 14px !important;
	color: var(--ev-text) !important;
}

body.ev-store-active .wc-block-components-text-input.is-active input,
body.ev-store-active .wc-block-components-text-input input:focus,
body.ev-store-active .wc-block-components-textarea textarea:focus,
body.ev-store-active .wc-block-components-address-form input:focus {
	background: #fff !important;
	border-color: rgba(45, 220, 122, 0.75) !important;
	box-shadow: 0 0 0 3px rgba(45, 220, 122, 0.16) !important;
	outline: none !important;
}

body.ev-store-active .wc-block-components-text-input label,
body.ev-store-active .wc-block-components-textarea label {
	color: var(--ev-muted) !important;
}

body.ev-store-active .wc-block-components-sidebar,
body.ev-store-active .wc-block-checkout__sidebar {
	border: 1px solid var(--ev-border);
	border-radius: 16px;
	padding: 20px !important;
	background: #fff;
	box-shadow: 0 8px 24px rgba(26, 18, 77, 0.04);
}

body.ev-store-active .wc-block-components-order-summary,
body.ev-store-active .wc-block-components-totals-wrapper {
	border: 0 !important;
}

body.ev-store-active .wc-block-components-panel,
body.ev-store-active .wc-block-components-totals-coupon {
	border: 1px solid var(--ev-border) !important;
	border-radius: 12px !important;
	background: #fafafa !important;
}

body.ev-store-active .wc-block-components-notice-banner,
body.ev-store-active .wc-block-components-validation-error,
body.ev-store-active .wc-block-checkout .wc-block-components-notice-banner.is-error {
	border: 1px solid rgba(45, 220, 122, 0.4) !important;
	border-left: 1px solid rgba(45, 220, 122, 0.4) !important;
	border-radius: 12px !important;
	background: var(--ev-primary-soft) !important;
	color: var(--ev-text) !important;
	box-shadow: none !important;
}

body.ev-store-active .wc-block-components-notice-banner.is-error {
	border-color: #fecaca !important;
	background: #fff5f5 !important;
}

body.ev-store-active .wc-block-components-notice-banner__content,
body.ev-store-active .wc-block-components-notice-banner svg {
	color: inherit !important;
	fill: currentColor;
}

body.ev-store-active .wc-block-components-checkout-place-order-button,
body.ev-store-active .wc-block-components-button:not(.is-link),
body.ev-store-active button.wc-block-components-checkout-place-order-button {
	background: var(--ev-primary) !important;
	border: 1px solid var(--ev-primary) !important;
	color: #0f0f10 !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	box-shadow: none !important;
	min-height: 48px !important;
}

body.ev-store-active .wc-block-components-checkout-place-order-button:hover,
body.ev-store-active .wc-block-components-button:not(.is-link):hover {
	background: var(--ev-primary-hover) !important;
	border-color: var(--ev-primary-hover) !important;
	color: #0f0f10 !important;
}

body.ev-store-active .wc-block-components-checkbox .wc-block-components-checkbox__label,
body.ev-store-active .wc-block-checkout__terms {
	font-size: 13px;
	color: var(--ev-muted);
}

body.ev-store-active .wc-block-components-radio-control-accordion-option,
body.ev-store-active .wc-block-components-radio-control__option {
	border: 1px solid var(--ev-border) !important;
	border-radius: 12px !important;
	background: #fff !important;
	margin-bottom: 8px !important;
	padding: 12px !important;
}

body.ev-store-active .wc-block-components-radio-control__input:checked + .wc-block-components-radio-control__option-layout,
body.ev-store-active .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	border-color: rgba(45, 220, 122, 0.55) !important;
	background: var(--ev-primary-soft) !important;
}

/* Kill Elementor / theme pink on checkout buttons */
body.ev-store-active.woocommerce-checkout .button,
body.ev-store-active.woocommerce-checkout button[type="submit"],
body.ev-store-active.woocommerce-checkout #place_order,
body.ev-store-active .woocommerce-checkout #place_order {
	background: var(--ev-primary) !important;
	border-color: var(--ev-primary) !important;
	color: #0f0f10 !important;
}

@media (max-width: 700px) {
	body.ev-store-active .ev-checkout .form-row-first,
	body.ev-store-active .ev-checkout .form-row-last,
	body.ev-store-active .ev-widget-checkout .form-row-first,
	body.ev-store-active .ev-widget-checkout .form-row-last {
		width: 100% !important;
		float: none;
	}
}

/* —— Mini-cart drawer (right) —— */
.ev-drawer[hidden] { display: none !important; }

.ev-drawer.is-open {
	display: block !important;
}

.ev-drawer__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 15, 16, 0.4);
	z-index: 10060;
}

.ev-drawer__panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(400px, 100vw);
	background: #fff;
	z-index: 10061;
	display: flex;
	flex-direction: column;
	box-shadow: -12px 0 40px rgba(0, 0, 0, 0.14);
	transform: translateX(100%);
	transition: transform 0.28s ease;
}

.ev-drawer.is-open .ev-drawer__panel {
	transform: translateX(0);
}

.ev-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--ev-border);
}

.ev-drawer__head h2 {
	margin: 0;
	font-size: 1rem;
	color: var(--ev-ink);
}

.ev-drawer__close {
	appearance: none;
	border: 0;
	background: var(--ev-bg-soft);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--ev-ink);
}

.ev-drawer__close:hover {
	background: var(--ev-primary-soft);
	color: var(--ev-primary);
}

.ev-drawer__body {
	flex: 1;
	overflow: auto;
	padding: 12px 16px 20px;
}

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

.ev-mini__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ev-mini__item {
	display: grid;
	grid-template-columns: 64px 1fr 24px;
	gap: 10px;
	align-items: start;
	padding: 12px 0;
	border-bottom: 1px solid var(--ev-border);
}

.ev-mini__thumb {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	background: #fafafa;
	border: 1px solid var(--ev-border);
}

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

.ev-mini__name {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ev-ink) !important;
	line-height: 1.35;
	margin-bottom: 4px;
}

.ev-mini__qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	margin: 4px 0 6px;
	padding: 0;
	border-radius: 8px;
	background: #f3f4f6;
	border: 1px solid var(--ev-border, #e5e7eb);
	overflow: hidden;
	width: fit-content;
	max-width: 100%;
}

.ev-mini__qty-btn {
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--ev-ink, #0f0f10) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	cursor: pointer;
	box-shadow: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

.ev-mini__qty-btn:hover,
.ev-mini__qty-btn:focus {
	background: var(--ev-primary-soft, rgba(45, 220, 122, 0.18)) !important;
	color: var(--ev-ink, #0f0f10) !important;
}

.ev-mini__qty-input,
body.ev-store-active .ev-mini__qty-input {
	width: 42px !important;
	min-width: 42px !important;
	height: 32px !important;
	margin: 0 !important;
	padding: 0 4px !important;
	border: 0 !important;
	border-left: 1px solid var(--ev-border, #e5e7eb) !important;
	border-right: 1px solid var(--ev-border, #e5e7eb) !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	text-align: center !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--ev-ink, #0f0f10) !important;
	-moz-appearance: textfield;
}

.ev-mini__qty-input::-webkit-outer-spin-button,
.ev-mini__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ev-mini__item.is-updating {
	opacity: 0.55;
	pointer-events: none;
}

.ev-mini__price {
	display: block;
	font-size: 13px;
	color: var(--ev-ink);
	font-weight: 700;
	margin-top: 2px;
}

.ev-mini__remove {
	color: var(--ev-muted) !important;
	font-size: 20px;
	line-height: 1;
	text-decoration: none !important;
	text-align: center;
}

.ev-mini__remove:hover {
	color: #dc2626 !important;
}

.ev-mini__footer {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--ev-border);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ev-mini__subtotal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.ev-mini__subtotal strong {
	font-size: 15px;
	color: var(--ev-ink);
}

.ev-mini__hint {
	margin: 0 0 4px;
	font-size: 12px;
	color: var(--ev-muted);
}

.ev-mini__empty {
	text-align: center;
	padding: 40px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.ev-mini__empty-ico {
	display: inline-flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--ev-primary-soft);
	color: var(--ev-primary);
	margin-bottom: 4px;
}

.ev-mini__empty strong {
	font-size: 15px;
	color: var(--ev-ink);
}

.ev-mini__empty p {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--ev-muted);
}

/* —— Cart page: lighter table, smaller type —— */
body.ev-store-active.woocommerce-cart .shop_table.cart,
body.ev-store-active .ev-cart .shop_table,
body.ev-store-active .ev-widget-cart .shop_table {
	border: 0 !important;
	border-collapse: collapse;
	background: transparent !important;
	padding: 0 !important;
	font-size: 13px;
}

body.ev-store-active.woocommerce-cart .shop_table.cart th,
body.ev-store-active.woocommerce-cart .shop_table.cart td,
body.ev-store-active .ev-cart .shop_table th,
body.ev-store-active .ev-cart .shop_table td,
body.ev-store-active .ev-widget-cart .shop_table th,
body.ev-store-active .ev-widget-cart .shop_table td {
	border: 0 !important;
	border-bottom: 1px solid var(--ev-border) !important;
	padding: 12px 8px !important;
	font-size: 13px;
	background: transparent !important;
	vertical-align: middle;
}

body.ev-store-active.woocommerce-cart .shop_table.cart thead th,
body.ev-store-active .ev-cart .shop_table thead th,
body.ev-store-active .ev-widget-cart .shop_table thead th {
	font-size: 11px !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ev-muted) !important;
	border-bottom: 1px solid var(--ev-border) !important;
	padding-top: 0 !important;
}

body.ev-store-active.woocommerce-cart .shop_table.cart .actions,
body.ev-store-active .ev-cart .shop_table .actions,
body.ev-store-active .ev-widget-cart .shop_table .actions {
	border-bottom: 0 !important;
	padding-top: 16px !important;
}

body.ev-store-active .ev-cart,
body.ev-store-active .ev-widget-cart__main {
	font-size: 13px;
}

body.ev-store-active .ev-cart .product-name a,
body.ev-store-active .ev-widget-cart .product-name a {
	font-size: 13px;
	font-weight: 600;
	color: var(--ev-ink) !important;
}

body.ev-store-active .cart_totals h2,
body.ev-store-active .ev-widget-cart .cart_totals h2 {
	font-size: 1rem !important;
	margin: 0 0 12px !important;
}

body.ev-store-active .cart_totals .shop_table th,
body.ev-store-active .cart_totals .shop_table td {
	font-size: 13px !important;
	padding: 10px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--ev-border) !important;
	background: transparent !important;
}

body.ev-store-active .cart_totals .shop_table {
	border: 0 !important;
}

body.ev-store-active .ev-cart-page .woocommerce,
body.ev-store-active .ev-widget-cart__main,
body.ev-store-active .ev-widget-cart__sticky {
	box-shadow: none;
}

body.ev-store-active .ev-cart .coupon .input-text,
body.ev-store-active .ev-widget-cart .coupon .input-text {
	font-size: 13px;
	min-height: 40px;
}

body.ev-store-active .ev-cart .quantity .qty,
body.ev-store-active .ev-widget-cart .quantity .qty,
body.ev-store-active .woocommerce-cart-form .quantity .qty,
body.ev-store-active form.cart .quantity .qty {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--ev-ink, #0f0f10) !important;
	width: 72px !important;
	min-height: 42px !important;
	text-align: center !important;
	border-radius: 8px !important;
	border: 2px solid #cbd5e1 !important;
	background: #fff !important;
	box-shadow: none !important;
}

body.ev-store-active .ev-cart .quantity .qty:focus,
body.ev-store-active .ev-widget-cart .quantity .qty:focus,
body.ev-store-active .woocommerce-cart-form .quantity .qty:focus,
body.ev-store-active form.cart .quantity .qty:focus {
	border-color: var(--ev-primary, #2DDC7A) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(45, 220, 122, 0.25) !important;
}

@media (max-width: 700px) {
	.ev-drawer__panel {
		width: 100vw;
	}

	body.ev-store-active.woocommerce-cart .shop_table.cart td::before {
		font-size: 11px;
		color: var(--ev-muted);
	}
}
