/* WooCommerce Premium Styling Overrides — Archive & Loop Styles */

/* Temporary highlight for a product deep-linked from the instant search dropdown */
.evo-product-highlight {
	box-shadow: 0 0 0 3px #ed1b24, 0 8px 20px -4px rgba(237, 27, 36, 0.35) !important;
	transition: box-shadow 0.3s ease !important;
}

/* Shop Loop Grid & Cards */
.woocommerce ul.products,
ul.products,
.products.layout-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0.75rem !important;
	margin: 1.5rem 0 !important;
}

@media (min-width: 640px) {
	.woocommerce ul.products,
	ul.products,
	.products.layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 1.5rem !important;
	}
}

@media (min-width: 1024px) {
	.woocommerce ul.products,
	ul.products,
	.products.layout-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 2rem !important;
	}
}

/* Grade 4 colunas — especificidade elevada para superar .woocommerce ul.products (0,2,1) */
.woocommerce ul.products.layout-grid-4,
ul.products.layout-grid-4,
.products.layout-grid-4 {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0.75rem !important;
	margin: 1.5rem 0 !important;
}
@media (min-width: 640px) {
	.woocommerce ul.products.layout-grid-4,
	ul.products.layout-grid-4,
	.products.layout-grid-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 1rem !important;
	}
}
@media (min-width: 1024px) {
	.woocommerce ul.products.layout-grid-4,
	ul.products.layout-grid-4,
	.products.layout-grid-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 1.25rem !important;
	}
}

/* Cards mais compactos no grid-4 */
.products.layout-grid-4 .evo-layout-card {
	padding: 0.625rem; /* p-2.5 */
}
.products.layout-grid-4 li.product {
	padding: 0 !important;
}
.products.layout-grid-4 .evo-layout-card .text-sm {
	font-size: 0.75rem !important;
	line-height: 1.2 !important;
}
.products.layout-grid-4 .evo-layout-card .text-base {
	font-size: 0.8125rem !important;
}
.products.layout-grid-4 .evo-qty-selector {
	width: 80px !important;
}
@media (min-width: 640px) {
	.products.layout-grid-4 .evo-layout-card {
		padding: 0.75rem; /* p-3 */
	}
}

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

.woocommerce ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	background: #ffffff !important;
	border: 1px solid #f1f5f9 !important;
	border-radius: 1rem !important;
	padding: 0.375rem !important;
	display: flex !important;
	flex-direction: column !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01) !important;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
	border-color: #ed1b24 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
	text-decoration: none !important;
}

.woocommerce ul.products li.product img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1/1 !important;
	object-fit: cover !important;
	border-radius: 0.75rem !important;
	margin-bottom: 1rem !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	color: #0f172a !important;
	margin: 0.5rem 0 !important;
	line-height: 1.4 !important;
	flex-grow: 1 !important;
}

.woocommerce ul.products li.product h3 a {
	color: #0f172a !important;
	transition: color 0.2s ease !important;
}

.woocommerce ul.products li.product h3 a:hover {
	color: #ed1b24 !important;
}

.woocommerce ul.products li.product .evo-loop-price,
.woocommerce ul.products li.product .evo-loop-price .price {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0.35rem !important;
	line-height: 1.2 !important;
	color: #ed1b24 !important;
	font-weight: 700 !important;
	font-size: 1.125rem !important;
	margin-bottom: 1rem !important;
}

/* Active Price styling inside the loop */
.woocommerce ul.products li.product .evo-loop-price ins,
.woocommerce ul.products li.product .evo-loop-price ins bdi,
.woocommerce ul.products li.product .evo-loop-price ins .amount,
.woocommerce ul.products li.product .evo-loop-price > bdi,
.woocommerce ul.products li.product .evo-loop-price > .amount,
.woocommerce ul.products li.product .evo-loop-price .price > bdi,
.woocommerce ul.products li.product .evo-loop-price .price > .amount {
	font-size: 1.125rem !important;
	font-weight: 700 !important;
	color: #ed1b24 !important;
	text-decoration: none !important;
	background: transparent !important;
}

/* Old crossed out price styling inside the loop */
.woocommerce ul.products li.product .evo-loop-price del,
.woocommerce ul.products li.product .evo-loop-price del bdi,
.woocommerce ul.products li.product .evo-loop-price del .amount {
	font-size: 0.75rem !important;
	font-weight: 400 !important;
	color: #94a3b8 !important;
	text-decoration: line-through !important;
	margin-right: 0.125rem !important;
}

/* "Starting from" label for variable prices */
.woocommerce ul.products li.product .evo-loop-price .price-from {
	font-size: 0.85rem !important;
	color: #64748b !important;
	font-weight: 500 !important;
	margin-right: 0.15rem !important;
	text-decoration: none !important;
}

.woocommerce ul.products li.product .button {
	margin-top: auto !important;
	width: 100% !important;
}

/* Layout Switcher Styles */
.products.layout-grid {
	/* Uses standard responsive columns */
}

.woocommerce ul.products.layout-ifood,
ul.products.layout-ifood,
.products.layout-ifood {
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	gap: 1rem !important;
}

@media (min-width: 768px) {
	.woocommerce ul.products.layout-ifood,
	ul.products.layout-ifood,
	.products.layout-ifood {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 1.25rem !important;
	}
}

@media (min-width: 1024px) {
	.woocommerce ul.products.layout-ifood,
	ul.products.layout-ifood,
	.products.layout-ifood {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 1.5rem !important;
	}
}

.products.layout-grid .evo-layout-card {
	display: flex !important;
}

.products.layout-grid .evo-layout-ifood {
	display: none !important;
}

.products.layout-ifood .evo-layout-card {
	display: none !important;
}

.products.layout-ifood .evo-layout-ifood {
	display: flex !important;
}

.products.layout-ifood li.product {
	padding: 0.75rem 1rem !important;
	border-radius: 0.75rem !important;
}

.woocommerce ul.products li.product .evo-layout-ifood {
	padding: 0 !important;
}

@keyframes evo-spinner {
	to { transform: rotate(360deg); }
}

/* WooCommerce custom add to cart buttons visual states (loading/success) */
.woocommerce ul.products li.product .add_to_cart_button {
	position: relative !important;
	overflow: hidden !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #000000 !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	padding: 0 !important;
	height: 2.25rem !important; /* h-9 */
	font-size: 10px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	border-radius: 0.5rem !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	cursor: pointer !important;
	text-decoration: none !important;
}

.woocommerce ul.products li.product .add_to_cart_button:hover {
	background-color: #ed1b24 !important; /* Brand red */
	color: #ffffff !important;
	box-shadow: 0 4px 6px -1px rgba(237, 27, 36, 0.2) !important;
}

/* Reset margin for prices in horizontal rows */
.woocommerce ul.products.layout-ifood li.product .evo-loop-price,
.woocommerce ul.products.layout-ifood li.product .evo-loop-price .price {
	margin-bottom: 0 !important;
}

/* Specific widths for button - keep them compact square (2.5rem) for both layouts */
.woocommerce ul.products li.product .add_to_cart_button {
	width: 2.5rem !important;
	flex-shrink: 0 !important;
}

/* Loading State */
.woocommerce ul.products li.product .add_to_cart_button.loading {
	color: transparent !important;
	pointer-events: none !important;
}

.woocommerce ul.products li.product .add_to_cart_button.loading * {
	opacity: 0 !important;
}

.woocommerce ul.products li.product .add_to_cart_button.loading::after {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 1.1rem !important;
	height: 1.1rem !important;
	margin-top: -0.55rem !important;
	margin-left: -0.55rem !important;
	border: 2px solid rgba(255, 255, 255, 0.35) !important;
	border-top-color: #ffffff !important;
	border-radius: 50% !important;
	animation: evo-spinner 0.6s linear infinite !important;
	display: block !important;
}

/* Tinta login button — força cor sobre o seletor global `a` do DaisyUI */
.evo-tinta-login-btn {
	color: #ffffff !important;
	background-color: #ed1b24 !important;
}
.evo-tinta-login-btn:hover {
	background-color: #c0111a !important;
	color: #ffffff !important;
}

/* Success / Added State */
.woocommerce ul.products li.product .add_to_cart_button.btn-success-state,
.woocommerce ul.products li.product .add_to_cart_button.added {
	background-color: #10b981 !important; /* Emerald green */
	color: #ffffff !important;
	border-color: #10b981 !important;
	box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 0 2px 4px -1px rgba(16, 185, 129, 0.1) !important;
}

.woocommerce ul.products li.product .add_to_cart_button.btn-success-state:hover,
.woocommerce ul.products li.product .add_to_cart_button.added:hover {
	background-color: #059669 !important;
	border-color: #059669 !important;
}

/* Hide WooCommerce default "View Cart" text link in products listing */
.woocommerce ul.products li.product .added_to_cart,
.products .added_to_cart {
	display: none !important;
}

/* Force SKU/Stock metadata inside the products loop to be inline and not wrap */
.woocommerce ul.products li.product .evo-sku-row {
	display: flex !important;
	flex-wrap: nowrap !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 6px !important;
	width: 100% !important;
	overflow: hidden !important;
}

.woocommerce ul.products li.product .evo-sku-row span,
.woocommerce ul.products li.product .evo-sku-row strong {
	display: inline-flex !important;
	align-items: center !important;
	flex-direction: row !important;
	width: auto !important;
	float: none !important;
	white-space: nowrap !important;
}

/* Stack quantity selector and add-to-cart button vertically on very small mobile viewports for Grid Card */
@media (max-width: 480px) {
	.woocommerce ul.products li.product .evo-layout-card .evo-qty-selector {
		width: 100% !important;
	}
	.woocommerce ul.products li.product .evo-layout-card .add_to_cart_button {
		width: 100% !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
	}
	.woocommerce ul.products li.product .evo-layout-card .flex.items-center.justify-between {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 0.5rem !important;
	}
	.woocommerce ul.products li.product .evo-layout-card .shrink-0 {
		width: 100% !important;
	}
}

/* Adjust top spacing on brand profile pages after breadcrumbs removal */
.tax-product_brand #main,
.tax-pa_marca #main {
	padding-top: 1rem !important;
}

@media (min-width: 768px) {
	.tax-product_brand #main,
	.tax-pa_marca #main {
		padding-top: 2rem !important;
	}
}

/* ─── Barra de filtros (dropdown + AJAX) ─────────────────────── */

/* Ícone compartilhado */
.evo-ficon {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
}

/* Container da barra unificada */
.evo-filter-bar {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: .375rem;
	padding: .4rem .75rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: .875rem;
	margin-bottom: 1rem;
	position: relative;
}

/* Campo de busca */
.evo-fsearch {
	display: flex;
	align-items: center;
	gap: .375rem;
	border: 1.5px solid #e2e8f0;
	border-radius: .5rem;
	padding: .3rem .625rem;
	background: #fff;
	transition: border-color .15s;
	min-width: 120px;
	width: 180px;
	flex-shrink: 0;
}
.evo-fsearch:focus-within {
	border-color: #97082a;
}
.evo-fsearch__input {
	flex: 1;
	border: none;
	outline: none;
	font-size: .8rem;
	color: #0f172a;
	background: transparent;
	padding: 0;
	min-width: 0;
	height: 22px;
}
.evo-fsearch__input::placeholder { color: #a0aec0; }
.evo-fsearch__x {
	font-size: 15px;
	color: #94a3b8;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	line-height: 1;
	flex-shrink: 0;
	transition: color .15s;
}
.evo-fsearch__x:hover { color: #374151; }

/* Grupo de toggles (Em Promoção / Novos) */
.evo-fbar-toggles {
	display: flex;
	gap: .3rem;
	flex-shrink: 0;
}

/* Separador vertical */
.evo-fbar-sep {
	width: 1px;
	height: 18px;
	background: #e2e8f0;
	flex-shrink: 0;
	align-self: center;
}

/* Grupo de dropdowns */
.evo-fbar-drops {
	display: flex;
	gap: .3rem;
	flex-shrink: 0;
}

/* Espaço elástico entre Limpar e Catálogo */
.evo-fbar-spacer {
	flex: 1;
	min-width: .25rem;
}

/* Título "Catálogo de Produtos" */
.evo-fbar-title {
	font-size: .75rem;
	font-weight: 700;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: .06em;
	white-space: nowrap;
	flex-shrink: 0;
}

/* ≤1024px — esconde título, mantém tudo em linha */
@media (max-width: 1024px) {
	.evo-fbar-title   { display: none; }
	.evo-fbar-spacer  { display: none; }
}

/* ≤768px — 2 linhas: (1) busca + toggles + drops + limpar / (2) layout toggle */
@media (max-width: 768px) {
	.evo-filter-bar   { flex-wrap: wrap; gap: .375rem .3rem; padding: .5rem .625rem; }
	.evo-fbar-sep     { display: none; }
	/* Layout toggle vai para segunda linha empurrado pela quebra */
	.evo-filter-bar > .flex.items-center.gap-1 {
		order: 10;
		margin-left: auto;
		width: 100%;
		justify-content: flex-end;
		border-top: 1px solid #f1f5f9;
		padding-top: .375rem;
		margin-top: .125rem;
	}
}

/* ≤540px — busca ocupa linha inteira; drops lado a lado */
@media (max-width: 540px) {
	.evo-fsearch      { width: 100%; max-width: none; min-width: 0; flex-shrink: 1; }
	.evo-fbar-drops   { flex: 1; min-width: 0; }
	.evo-fdrop        { flex: 1; min-width: 0; }
	.evo-fdrop__trigger { width: 100%; justify-content: space-between; }
	.evo-fdrop__panel { min-width: 100%; left: 0; right: 0; max-width: none; }
}

/* ── Toggle pills ───────────────────────────────────────────── */
.evo-ftoggle {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .375rem .875rem;
	border: 1.5px solid #e2e8f0;
	border-radius: 99px;
	background: #fff;
	color: #374151;
	font-size: .75rem;
	font-weight: 600;
	cursor: pointer;
	transition: all .15s;
	white-space: nowrap;
	line-height: 1;
}

.evo-ftoggle--promo:not(.is-active) {
	border-color: #fcd34d;
	color: #92400e;
	background: #fffbeb;
}
.evo-ftoggle--promo:not(.is-active):hover { background: #fef9c3; border-color: #f59e0b; }
.evo-ftoggle--promo.is-active             { background: #d97706; border-color: #d97706; color: #fff; }

.evo-ftoggle--new:not(.is-active) {
	border-color: #c4b5fd;
	color: #5b21b6;
	background: #f5f3ff;
}
.evo-ftoggle--new:not(.is-active):hover { background: #ede9fe; border-color: #a78bfa; }
.evo-ftoggle--new.is-active             { background: #7c3aed; border-color: #7c3aed; color: #fff; }

/* × nos toggle pills (visível só quando ativo) */
.evo-ftoggle__x {
	display: none;
	font-size: 14px;
	line-height: 1;
	opacity: .75;
	margin-left: .1rem;
}
.evo-ftoggle.is-active .evo-ftoggle__x { display: inline; }

/* ── Dropdown ───────────────────────────────────────────────── */
.evo-fdrop {
	position: relative;
}

.evo-fdrop__trigger {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .375rem .875rem;
	border: 1.5px solid #e2e8f0;
	border-radius: .625rem;
	background: #fff;
	color: #374151;
	font-size: .8125rem;
	font-weight: 600;
	cursor: pointer;
	transition: all .15s;
	white-space: nowrap;
	line-height: 1;
}

.evo-fdrop__trigger:hover {
	border-color: #97082a;
	color: #97082a;
}

.evo-fdrop.has-value .evo-fdrop__trigger {
	border-color: #97082a;
	background: #fdf2f3;
	color: #97082a;
}

.evo-fdrop__arrow {
	transition: transform .2s;
}
.evo-fdrop.is-open .evo-fdrop__arrow {
	transform: rotate(180deg);
}
.evo-fdrop.has-value .evo-fdrop__arrow {
	display: none;
}

/* Label do trigger — trunca nomes longos */
.evo-fdrop__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 120px;
}

/* × para remover o filtro do dropdown */
.evo-fdrop__x {
	display: none;
	font-size: 15px;
	line-height: 1;
	color: #97082a;
	opacity: .65;
	flex-shrink: 0;
	cursor: pointer;
	transition: opacity .15s;
	padding: 0 .1rem;
}
.evo-fdrop__x:hover { opacity: 1; }
.evo-fdrop.has-value .evo-fdrop__x { display: block; }

/* Painel flutuante */
.evo-fdrop__panel {
	position: absolute;
	top: calc(100% + .375rem);
	left: 0;
	min-width: 220px;
	width: max-content;
	max-width: 280px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: .875rem;
	box-shadow: 0 8px 30px rgba(15,23,42,.1), 0 2px 8px rgba(15,23,42,.05);
	z-index: 10001;
	overflow: hidden;
	animation: evo-drop-in .15s ease;
}
.evo-fdrop__panel.opens-left {
	left: auto;
	right: 0;
}

@keyframes evo-drop-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Campo de busca */
.evo-fdrop__search-row {
	display: flex;
	align-items: center;
	gap: .4rem;
	padding: .5rem .625rem;
	border-bottom: 1px solid #f1f5f9;
}

.evo-fdrop__input {
	flex: 1;
	border: none;
	outline: none;
	font-size: .8rem;
	color: #0f172a;
	background: transparent;
	padding: 0;
}
.evo-fdrop__input::placeholder { color: #a0aec0; }

/* Lista de itens */
.evo-fdrop__list {
	max-height: 230px;
	overflow-y: auto;
	padding: .25rem;
	scrollbar-width: thin;
	scrollbar-color: #e2e8f0 transparent;
}

.evo-fdrop__item {
	display: flex;
	align-items: center;
	width: 100%;
	padding: .4rem .5rem;
	border: none;
	border-radius: .4rem;
	background: none;
	cursor: pointer;
	font-size: .8rem;
	color: #374151;
	text-align: left;
	transition: background .1s, color .1s;
	gap: .4rem;
	line-height: 1.3;
}

.evo-fdrop__item:hover {
	background: #f8fafc;
	color: #0f172a;
}

.evo-fdrop__item.is-active {
	background: #fdf2f3;
	color: #97082a;
	font-weight: 700;
}

.evo-fdrop__check {
	opacity: 0;
	color: #97082a;
	transition: opacity .1s;
	flex-shrink: 0;
}
.evo-fdrop__item.is-active .evo-fdrop__check { opacity: 1; }

.evo-fdrop__item > span { flex: 1; min-width: 0; }

/* Badge de quantidade */
.evo-fdrop__count {
	font-size: .68rem;
	font-weight: 700;
	color: #97082a;
	background: #fdf2f3;
	border: 1px solid #fecdd3;
	border-radius: 99px;
	padding: .15rem .45rem;
	flex-shrink: 0;
	min-width: 20px;
	text-align: center;
	line-height: 1.4;
}
.evo-fdrop__item.is-active .evo-fdrop__count {
	background: #97082a;
	border-color: #97082a;
	color: #fff;
}

/* Item incompatível com o filtro oposto — ocultado pela constraint */
.evo-fdrop__item.evo-constrained { display: none !important; }

/* ── Botão Limpar ───────────────────────────────────────────── */
.evo-fbar-clear {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .375rem .75rem;
	border: 1.5px solid #fca5a5;
	border-radius: 99px;
	background: #fff;
	color: #dc2626;
	font-size: .75rem;
	font-weight: 600;
	cursor: pointer;
	transition: all .15s;
	margin-left: auto;
	white-space: nowrap;
}
.evo-fbar-clear:hover { background: #fef2f2; border-color: #dc2626; }

.evo-fhidden { display: none !important; }

/* Offset para scroll não ficar sob o header fixo */
#evo-products-wrap {
	scroll-margin-top: calc(var(--evo-header-h, 4rem) + 8px);
}

/* Estado de carregamento */
#evo-products-wrap.evo-loading {
	opacity: .45;
	pointer-events: none;
	transition: opacity .2s;
}

@media (max-width: 640px) {
	.evo-fbar-sep { display: none; }
	.evo-fbar-drops { width: 100%; }
	.evo-fdrop { flex: 1; min-width: 0; }
	.evo-fdrop__trigger { width: 100%; justify-content: space-between; }
	.evo-fdrop__panel { min-width: 100%; left: 0; max-width: none; }
}

/* ─── Paginação de produtos ───────────────────────────────────── */
.evo-pagination {
	display: flex;
	justify-content: center;
	margin: 2.5rem 0 1rem;
}

/* Reset da lista que paginate_links gera com type:'list' */
.evo-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .375rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Todos os itens (li) */
.evo-pagination ul.page-numbers li {
	margin: 0;
	padding: 0;
}

/* Botão base */
.evo-pagination ul.page-numbers li a.page-numbers,
.evo-pagination ul.page-numbers li span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 .75rem;
	border: 1.5px solid #e2e8f0;
	border-radius: .625rem;
	background: #ffffff;
	color: #374151;
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: border-color .15s, background .15s, color .15s, transform .15s, box-shadow .15s;
	cursor: pointer;
	white-space: nowrap;
	gap: .375rem;
}

/* Hover em números */
.evo-pagination ul.page-numbers li a.page-numbers:hover {
	border-color: #97082a;
	color: #97082a;
	background: #fdf2f3;
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(151,8,42,.12);
}

/* Página atual */
.evo-pagination ul.page-numbers li span.page-numbers.current {
	background: #97082a;
	border-color: #97082a;
	color: #ffffff;
	font-weight: 700;
	box-shadow: 0 3px 10px rgba(151,8,42,.25);
}

/* Reticências */
.evo-pagination ul.page-numbers li span.page-numbers.dots {
	background: transparent;
	border-color: transparent;
	color: #94a3b8;
	cursor: default;
	font-weight: 400;
	box-shadow: none;
	min-width: 24px;
	padding: 0 .25rem;
}

/* Anterior / Próxima */
.evo-pagination ul.page-numbers li a.page-numbers.prev,
.evo-pagination ul.page-numbers li a.page-numbers.next {
	padding: 0 1rem;
	gap: .375rem;
}

.evo-pagination ul.page-numbers li a.page-numbers.prev:hover,
.evo-pagination ul.page-numbers li a.page-numbers.next:hover {
	border-color: #97082a;
	color: #97082a;
	background: #fdf2f3;
}

/* Lucide icons dentro dos botões prev/next */
.evo-pagination ul.page-numbers li a.page-numbers i,
.evo-pagination ul.page-numbers li a.page-numbers svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

@media (max-width: 480px) {
	.evo-pagination ul.page-numbers li a.page-numbers.prev span,
	.evo-pagination ul.page-numbers li a.page-numbers.next span {
		display: none;
	}
	.evo-pagination ul.page-numbers li a.page-numbers.prev,
	.evo-pagination ul.page-numbers li a.page-numbers.next {
		padding: 0 .625rem;
	}
}

/* ─── Toolbar: resultado + ordenação ────────────────────────── */
.evo-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: .5rem;
	padding: .5rem .875rem;
	background: #fff;
	border: 1px solid #f1f5f9;
	border-radius: .875rem;
	margin-bottom: .75rem;
}
.evo-shop-toolbar .evo-fdrop { margin-left: auto; }
.evo-shop-toolbar .evo-fbar-clear { margin-left: 0; }
.evo-shop-toolbar .evo-ordering { margin-left: 0; }

/* Contador de resultados */
.evo-result-count {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .8rem;
	color: #6b7280;
	margin: 0;
	white-space: nowrap;
}
.evo-result-count [data-lucide] { color: #97082a; }
.evo-result-count__range {
	color: #97082a;
	font-weight: 700;
}
.evo-result-count__total {
	color: #0f172a;
	font-weight: 700;
}

/* Select de ordenação */
.evo-ordering { margin: 0; }

.evo-select-wrap {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	border: 1.5px solid #e2e8f0;
	border-radius: .625rem;
	padding: .35rem .625rem;
	background: #fff;
	transition: border-color .15s;
	cursor: pointer;
}
.evo-select-wrap:focus-within {
	border-color: #97082a;
}
.evo-select-wrap [data-lucide] { color: #94a3b8; }
.evo-select-wrap:focus-within [data-lucide] { color: #97082a; }

.evo-select-wrap .orderby {
	border: none;
	outline: none;
	font-size: .8125rem;
	font-weight: 600;
	color: #374151;
	background: transparent;
	cursor: pointer;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	min-width: 170px;
}
.evo-select-wrap:focus-within .orderby { color: #97082a; }

@media (max-width: 540px) {
	.evo-shop-toolbar .evo-result-count { flex: 1; min-width: 0; }
	.evo-shop-toolbar .evo-fdrop { flex: none; margin-left: 0; }
	.evo-shop-toolbar .evo-fbar-clear { margin-left: 0; }
	.evo-shop-toolbar .evo-ordering { flex-shrink: 0; margin-left: 0; }
	.evo-shop-toolbar .evo-select-wrap { max-width: 105px; }
	.evo-shop-toolbar .evo-select-wrap .orderby { min-width: 0; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
