/**
 * Esmeralda Paper — polish profissional (camada final)
 * Unifica claro/escuro, motion, focus e componentes.
 * Carrega por último. Só estilos.
 */

/* ═══════════════════════════════════════════════════════════
   Base
   ═══════════════════════════════════════════════════════════ */
body.ashe-woocommerce-child {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-family: var(--ashe-wc-font-sans);
	font-size: var(--ashe-wc-fs-body);
	color: var(--ashe-wc-ink);
	background-color: var(--ashe-wc-white);
	line-height: 1.65;
}

body.ashe-woocommerce-child .page-content,
body.ashe-woocommerce-child .main-content {
	color: var(--ashe-wc-ink);
}

body.ashe-woocommerce-child h1,
body.ashe-woocommerce-child h2,
body.ashe-woocommerce-child h3,
body.ashe-woocommerce-child .woocommerce-products-header__title,
body.ashe-woocommerce-child .page-title {
	font-family: var(--ashe-wc-font-serif) !important;
	color: var(--ashe-wc-ink);
	letter-spacing: -0.02em;
	text-wrap: balance;
	font-weight: 400 !important;
}

body.ashe-woocommerce-child p {
	color: inherit;
}

body.ashe-woocommerce-child ::selection {
	background: color-mix(in srgb, var(--ashe-wc-moss) 75%, #000) !important;
	color: #fff !important;
}

/* Links genéricos — não forçar cor em botões/chips/nav tools */
body.ashe-woocommerce-child a:not(.button):not(.ashe-wc-chip):not(.ashe-wc-wa-fab):not(.ashe-wc-btn-wa):not(.ashe-wc-footer__link):not(.ashe-wc-footer__social-link):not(.ep-cart-toggle):not(.ashe-wc-nav-filter__link):not(.ashe-wc-nav-account__link) {
	transition: color var(--ashe-wc-dur) var(--ashe-wc-ease);
}

/* FAB bolha + CTA WhatsApp: branco no verde */
body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa-fab,
body.ashe-woocommerce-child .ashe-wc-wa__go,
body.ashe-woocommerce-child .ashe-wc-btn-wa,
body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa.is-closed .ashe-wc-wa-fab,
body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__go,
body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-btn-wa {
	color: #ffffff !important;
}

body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa-fab svg,
body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa-fab svg path,
body.ashe-woocommerce-child .ashe-wc-wa__badge svg,
body.ashe-woocommerce-child .ashe-wc-wa__badge svg path,
body.ashe-woocommerce-child .ashe-wc-btn-wa svg,
body.ashe-woocommerce-child .ashe-wc-btn-wa svg path,
body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa.is-closed .ashe-wc-wa-fab svg,
body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa.is-closed .ashe-wc-wa-fab svg path {
	fill: #ffffff !important;
	color: #ffffff !important;
}

/* Focus unificado */
body.ashe-woocommerce-child :focus {
	outline: none;
}

body.ashe-woocommerce-child a:focus-visible,
body.ashe-woocommerce-child button:focus-visible,
body.ashe-woocommerce-child input:focus-visible,
body.ashe-woocommerce-child select:focus-visible,
body.ashe-woocommerce-child textarea:focus-visible,
body.ashe-woocommerce-child .button:focus-visible {
	outline: none !important;
	box-shadow: var(--ashe-wc-focus) !important;
	border-color: var(--ashe-wc-moss) !important;
}

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

/* ═══════════════════════════════════════════════════════════
   Header
   ═══════════════════════════════════════════════════════════ */
body.ashe-woocommerce-child #main-nav {
	background: color-mix(in srgb, var(--ashe-wc-white) 88%, transparent) !important;
	backdrop-filter: saturate(1.15) blur(14px);
	-webkit-backdrop-filter: saturate(1.15) blur(14px);
	border-bottom: 1px solid var(--ashe-wc-line) !important;
	box-shadow: 0 1px 0 rgba(23, 25, 26, 0.03);
	transition: box-shadow var(--ashe-wc-dur) var(--ashe-wc-ease), border-color var(--ashe-wc-dur) var(--ashe-wc-ease);
}

body.ashe-woocommerce-child #main-nav.is-scrolled {
	box-shadow: 0 10px 28px rgba(23, 25, 26, 0.07) !important;
	border-bottom-color: color-mix(in srgb, var(--ashe-wc-line) 80%, var(--ashe-wc-moss) 20%) !important;
}

body.ashe-woocommerce-child #main-nav #main-menu > li > a {
	position: relative;
	border-radius: 7px;
	transition:
		color var(--ashe-wc-dur) var(--ashe-wc-ease),
		background var(--ashe-wc-dur) var(--ashe-wc-ease);
}

body.ashe-woocommerce-child #main-nav #main-menu > li > a:hover {
	background: var(--ashe-wc-moss-soft);
	color: var(--ashe-wc-moss-deep) !important;
}

body.ashe-woocommerce-child #main-nav li.current-menu-item > a,
body.ashe-woocommerce-child #main-nav li.current-menu-ancestor > a {
	color: var(--ashe-wc-moss-deep) !important;
	font-weight: 600;
}

body.ashe-woocommerce-child .ashe-wc-nav-logo__text {
	font-family: var(--ashe-wc-font-serif) !important;
	font-weight: 500 !important;
	color: var(--ashe-wc-ink) !important;
	letter-spacing: 0.02em;
}

body.ashe-woocommerce-child #main-nav .ashe-wc-nav-searchbar #searchform {
	border-radius: var(--ashe-wc-radius-pill) !important;
	border: 1px solid var(--ashe-wc-line) !important;
	background: var(--ashe-wc-paper) !important;
	transition:
		border-color var(--ashe-wc-dur) var(--ashe-wc-ease),
		box-shadow var(--ashe-wc-dur) var(--ashe-wc-ease),
		background var(--ashe-wc-dur) var(--ashe-wc-ease);
}

body.ashe-woocommerce-child #main-nav .ashe-wc-nav-searchbar #searchform:focus-within {
	border-color: color-mix(in srgb, var(--ashe-wc-moss) 40%, var(--ashe-wc-line)) !important;
	background: var(--ashe-wc-white) !important;
	box-shadow: var(--ashe-wc-focus) !important;
}

/* ═══════════════════════════════════════════════════════════
   Botões
   ═══════════════════════════════════════════════════════════ */
body.ashe-woocommerce-child .page-content .woocommerce a.button,
body.ashe-woocommerce-child .page-content .woocommerce button.button,
body.ashe-woocommerce-child .page-content .woocommerce input.button,
body.ashe-woocommerce-child .page-content .woocommerce a.button.alt,
body.ashe-woocommerce-child .page-content .woocommerce button.button.alt,
body.ashe-woocommerce-child .ep-home .button,
body.ashe-woocommerce-child .ep-home a.button,
body.ashe-woocommerce-child .ashe-wc-contact .button,
body.ashe-woocommerce-child.ashe-wc-account .woocommerce form .button {
	border-radius: var(--ashe-wc-radius) !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	transition:
		background var(--ashe-wc-dur) var(--ashe-wc-ease),
		border-color var(--ashe-wc-dur) var(--ashe-wc-ease),
		color var(--ashe-wc-dur) var(--ashe-wc-ease),
		box-shadow var(--ashe-wc-dur) var(--ashe-wc-ease),
		transform var(--ashe-wc-dur) var(--ashe-wc-ease) !important;
}

body.ashe-woocommerce-child .page-content .woocommerce a.button:hover,
body.ashe-woocommerce-child .page-content .woocommerce button.button:hover,
body.ashe-woocommerce-child .ep-home .button:hover,
body.ashe-woocommerce-child .ep-home a.button:hover {
	box-shadow: var(--ashe-wc-shadow-soft) !important;
	transform: translateY(-1px);
}

body.ashe-woocommerce-child .ep-home .button.ep-btn-outline,
body.ashe-woocommerce-child .ep-home a.button.ep-btn-outline {
	background: transparent !important;
	color: var(--ashe-wc-moss-deep) !important;
	border-color: color-mix(in srgb, var(--ashe-wc-moss) 28%, var(--ashe-wc-line)) !important;
	box-shadow: none !important;
}

body.ashe-woocommerce-child .ep-home .button.ep-btn-outline:hover,
body.ashe-woocommerce-child .ep-home a.button.ep-btn-outline:hover {
	background: var(--ashe-wc-moss-deep) !important;
	border-color: var(--ashe-wc-moss-deep) !important;
	color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   Cards de produto
   ═══════════════════════════════════════════════════════════ */
body.ashe-woocommerce-child .ashe-wc-card {
	border-radius: var(--ashe-wc-radius-lg) !important;
	border: 1px solid var(--ashe-wc-line) !important;
	background: var(--ashe-wc-white) !important;
	box-shadow: none;
	overflow: hidden;
	transition:
		border-color var(--ashe-wc-dur-slow) var(--ashe-wc-ease),
		box-shadow var(--ashe-wc-dur-slow) var(--ashe-wc-ease),
		transform var(--ashe-wc-dur-slow) var(--ashe-wc-ease);
}

body.ashe-woocommerce-child .woocommerce ul.products li.product:hover .ashe-wc-card,
body.ashe-woocommerce-child .ashe-wc-card:hover {
	border-color: color-mix(in srgb, var(--ashe-wc-moss) 22%, var(--ashe-wc-line)) !important;
	box-shadow: var(--ashe-wc-shadow-hover) !important;
	transform: translateY(-3px);
}

body.ashe-woocommerce-child .ashe-wc-card__media {
	background: linear-gradient(180deg, var(--ashe-wc-paper) 0%, color-mix(in srgb, var(--ashe-wc-paper) 70%, #e8e4de) 100%);
}

body.ashe-woocommerce-child .woocommerce ul.products li.product .ashe-wc-card__media img {
	transition: transform 0.55s var(--ashe-wc-ease-out), opacity 0.3s ease !important;
}

body.ashe-woocommerce-child .woocommerce ul.products li.product:hover .ashe-wc-card__media img {
	transform: scale(1.04);
}

body.ashe-woocommerce-child .ashe-wc-card__title {
	font-size: 0.88rem !important;
	line-height: 1.3 !important;
	letter-spacing: -0.01em;
}

body.ashe-woocommerce-child .woocommerce ul.products li.product .price {
	font-variant-numeric: tabular-nums;
	font-weight: 650 !important;
	color: var(--ashe-wc-moss-deep) !important;
}

body.ashe-woocommerce-child .ashe-wc-onsale,
body.ashe-woocommerce-child .woocommerce span.onsale.ashe-wc-onsale {
	border-radius: 6px !important;
	background: color-mix(in srgb, var(--ashe-wc-white) 94%, transparent) !important;
	border: 1px solid color-mix(in srgb, var(--ashe-wc-moss) 14%, transparent) !important;
	color: var(--ashe-wc-moss-deep) !important;
	backdrop-filter: blur(6px);
}

body.ashe-woocommerce-child .woocommerce ul.products li.product .button,
body.ashe-woocommerce-child .ashe-wc-card__actions .button {
	border-radius: var(--ashe-wc-radius) !important;
	font-weight: 600 !important;
	transition:
		background var(--ashe-wc-dur) var(--ashe-wc-ease),
		border-color var(--ashe-wc-dur) var(--ashe-wc-ease),
		color var(--ashe-wc-dur) var(--ashe-wc-ease) !important;
}

body.ashe-woocommerce-child .ashe-wc-chip {
	border-radius: var(--ashe-wc-radius-pill);
	border-color: var(--ashe-wc-line);
	background: var(--ashe-wc-white);
	transition:
		border-color var(--ashe-wc-dur) var(--ashe-wc-ease),
		background var(--ashe-wc-dur) var(--ashe-wc-ease),
		color var(--ashe-wc-dur) var(--ashe-wc-ease),
		box-shadow var(--ashe-wc-dur) var(--ashe-wc-ease);
}

body.ashe-woocommerce-child .ashe-wc-chip:hover {
	background: var(--ashe-wc-moss-soft);
	border-color: color-mix(in srgb, var(--ashe-wc-moss) 22%, var(--ashe-wc-line));
	color: var(--ashe-wc-moss-deep) !important;
}

body.ashe-woocommerce-child .ashe-wc-chip.is-active {
	background: var(--ashe-wc-moss-soft);
	border-color: color-mix(in srgb, var(--ashe-wc-moss) 30%, var(--ashe-wc-line));
	color: var(--ashe-wc-moss-deep) !important;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ashe-wc-moss) 12%, transparent);
}

/* ═══════════════════════════════════════════════════════════
   Home
   ═══════════════════════════════════════════════════════════ */
body.ashe-woocommerce-child .ep-home-hero {
	animation: asheWcHeroIn 0.7s var(--ashe-wc-ease-out) both;
}

@keyframes asheWcHeroIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Hero sem fundo — pseudo-elementos desligados em home.css */
body.ashe-woocommerce-child .ep-home-hero {
	background: transparent !important;
}

body.ashe-woocommerce-child .ep-home-hero::before,
body.ashe-woocommerce-child .ep-home-hero::after {
	content: none !important;
	display: none !important;
	background: none !important;
	border: 0 !important;
}

body.ashe-woocommerce-child .ep-home-hero__eyebrow {
	color: var(--ashe-wc-moss) !important;
}

body.ashe-woocommerce-child .ep-home-hero h1 {
	color: var(--ashe-wc-ink) !important;
}

body.ashe-woocommerce-child .ep-home-hero__rule {
	background: var(--ashe-wc-moss) !important;
}

body.ashe-woocommerce-child .ep-home-hero .ep-lead {
	color: var(--ashe-wc-muted) !important;
}

body.ashe-woocommerce-child .ep-home-pillar {
	border-radius: var(--ashe-wc-radius-lg) !important;
	border: 1px solid var(--ashe-wc-line) !important;
	background: var(--ashe-wc-white) !important;
	transition:
		border-color var(--ashe-wc-dur-slow) var(--ashe-wc-ease),
		box-shadow var(--ashe-wc-dur-slow) var(--ashe-wc-ease),
		transform var(--ashe-wc-dur-slow) var(--ashe-wc-ease);
}

body.ashe-woocommerce-child .ep-home-pillar:hover {
	transform: translateY(-2px);
	box-shadow: var(--ashe-wc-shadow-soft);
	border-color: color-mix(in srgb, var(--ashe-wc-moss) 18%, var(--ashe-wc-line)) !important;
}

body.ashe-woocommerce-child .ep-home-values {
	border-color: var(--ashe-wc-line);
	border-radius: var(--ashe-wc-radius-lg);
	background: color-mix(in srgb, var(--ashe-wc-paper) 80%, var(--ashe-wc-white));
}

body.ashe-woocommerce-child .ep-home-value strong {
	color: var(--ashe-wc-moss-deep);
	font-family: var(--ashe-wc-font-serif);
}

/* ═══════════════════════════════════════════════════════════
   Single product + forms + notices
   ═══════════════════════════════════════════════════════════ */
body.ashe-woocommerce-child.single-product div.product .woocommerce-product-gallery {
	border-radius: var(--ashe-wc-radius-lg);
	overflow: hidden;
	border: 1px solid var(--ashe-wc-line);
	background: var(--ashe-wc-paper);
}

body.ashe-woocommerce-child.single-product div.product .product_title {
	font-family: var(--ashe-wc-font-serif) !important;
	font-weight: 400 !important;
	letter-spacing: -0.02em;
}

body.ashe-woocommerce-child.single-product div.product p.price {
	font-variant-numeric: tabular-nums;
	color: var(--ashe-wc-moss-deep) !important;
	font-weight: 650;
}

body.ashe-woocommerce-child .page-content input[type="text"],
body.ashe-woocommerce-child .page-content input[type="email"],
body.ashe-woocommerce-child .page-content input[type="tel"],
body.ashe-woocommerce-child .page-content input[type="password"],
body.ashe-woocommerce-child .page-content input[type="number"],
body.ashe-woocommerce-child .page-content input[type="search"],
body.ashe-woocommerce-child .page-content select,
body.ashe-woocommerce-child .page-content textarea,
body.ashe-woocommerce-child .woocommerce form .input-text,
body.ashe-woocommerce-child .woocommerce form select,
body.ashe-woocommerce-child .woocommerce form textarea {
	border-radius: var(--ashe-wc-radius) !important;
	border: 1px solid var(--ashe-wc-line) !important;
	background: var(--ashe-wc-white) !important;
	color: var(--ashe-wc-ink) !important;
	transition: border-color var(--ashe-wc-dur) var(--ashe-wc-ease), box-shadow var(--ashe-wc-dur) var(--ashe-wc-ease);
}

body.ashe-woocommerce-child .page-content input:focus,
body.ashe-woocommerce-child .page-content select:focus,
body.ashe-woocommerce-child .page-content textarea:focus,
body.ashe-woocommerce-child .woocommerce form .input-text:focus,
body.ashe-woocommerce-child .woocommerce form select:focus,
body.ashe-woocommerce-child .woocommerce form textarea:focus {
	border-color: color-mix(in srgb, var(--ashe-wc-moss) 42%, var(--ashe-wc-line)) !important;
	box-shadow: var(--ashe-wc-focus) !important;
	outline: none !important;
}

body.ashe-woocommerce-child .woocommerce-message,
body.ashe-woocommerce-child .woocommerce-info,
body.ashe-woocommerce-child .woocommerce-error {
	border-radius: var(--ashe-wc-radius-lg) !important;
	border-top: 0 !important;
	border: 1px solid var(--ashe-wc-line) !important;
	background: var(--ashe-wc-paper) !important;
	color: var(--ashe-wc-ink) !important;
	box-shadow: var(--ashe-wc-shadow-soft);
}

body.ashe-woocommerce-child .woocommerce-message {
	border-left: 3px solid var(--ashe-wc-moss) !important;
}

body.ashe-woocommerce-child .woocommerce-info {
	border-left: 3px solid var(--ashe-wc-info) !important;
}

body.ashe-woocommerce-child .woocommerce-error {
	border-left: 3px solid var(--ashe-wc-danger) !important;
}

/* Pagination */
body.ashe-woocommerce-child.woocommerce nav.woocommerce-pagination ul {
	border: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
}

body.ashe-woocommerce-child.woocommerce nav.woocommerce-pagination ul li {
	border: 0 !important;
}

body.ashe-woocommerce-child.woocommerce nav.woocommerce-pagination ul li a,
body.ashe-woocommerce-child.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px !important;
	min-height: 40px !important;
	border-radius: var(--ashe-wc-radius) !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	transition: background var(--ashe-wc-dur) var(--ashe-wc-ease), color var(--ashe-wc-dur) var(--ashe-wc-ease) !important;
}

/* Account: layout e cards em assets/css/account.css (não duplicar aqui) */

/* Footer: estilos principais em site.css */

/* Contato list: pages.css (fonte de verdade) */

/* ═══════════════════════════════════════════════════════════
   Dark mode — reforços sincronizados com tokens
   ═══════════════════════════════════════════════════════════ */
body.ashe-woocommerce-child.ashe-dark-mode #main-nav {
	background: color-mix(in srgb, var(--ashe-dm-surface) 90%, transparent) !important;
	border-bottom-color: var(--ashe-dm-border) !important;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #main-nav.is-scrolled {
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #main-nav #main-menu > li > a:hover {
	background: var(--ashe-wc-moss-soft);
	color: var(--ashe-dm-accent) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-card,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home-pillar {
	background: var(--ashe-dm-surface) !important;
	border-color: var(--ashe-dm-border) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-card:hover,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home-pillar:hover {
	border-color: color-mix(in srgb, var(--ashe-dm-accent) 35%, var(--ashe-dm-border)) !important;
	box-shadow: var(--ashe-wc-shadow-hover) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-card__media {
	background: #1a1c20;
}

body.ashe-woocommerce-child.ashe-dark-mode .ep-home-hero {
	background: transparent !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ep-home-hero::before,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home-hero::after {
	content: none !important;
	display: none !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ep-home-hero h1 {
	color: var(--ashe-dm-text) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ep-home-hero .ep-lead,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home-section__head p,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home-pillar p,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home-value span {
	color: var(--ashe-dm-text-3) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ep-home-values {
	background: var(--ashe-dm-elevated);
	border-color: var(--ashe-dm-border);
}

body.ashe-woocommerce-child.ashe-dark-mode .ep-home-value strong,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home-pillar__label,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home-hero__eyebrow {
	color: var(--ashe-dm-accent) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .page-content input,
body.ashe-woocommerce-child.ashe-dark-mode .page-content select,
body.ashe-woocommerce-child.ashe-dark-mode .page-content textarea,
body.ashe-woocommerce-child.ashe-dark-mode .woocommerce form .input-text {
	background: var(--ashe-dm-elevated) !important;
	color: var(--ashe-dm-text) !important;
	border-color: var(--ashe-dm-border) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .woocommerce-message,
body.ashe-woocommerce-child.ashe-dark-mode .woocommerce-info,
body.ashe-woocommerce-child.ashe-dark-mode .woocommerce-error {
	background: var(--ashe-dm-elevated) !important;
	border-color: var(--ashe-dm-border) !important;
	color: var(--ashe-dm-text) !important;
}

/* Footer dark: site.css */

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-chip {
	background: var(--ashe-dm-elevated);
	border-color: var(--ashe-dm-border);
	color: var(--ashe-dm-text-2) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-chip.is-active,
body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-chip:hover {
	background: var(--ashe-wc-moss-soft);
	color: var(--ashe-dm-accent) !important;
	border-color: color-mix(in srgb, var(--ashe-dm-accent) 30%, var(--ashe-dm-border));
}

/* Contato dark: pages.css */

/* Botões no dark: kraft sólido legível */
body.ashe-woocommerce-child.ashe-dark-mode .page-content .woocommerce a.button,
body.ashe-woocommerce-child.ashe-dark-mode .page-content .woocommerce button.button,
body.ashe-woocommerce-child.ashe-dark-mode .page-content .woocommerce a.button.alt,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home .button:not(.ep-btn-outline),
body.ashe-woocommerce-child.ashe-dark-mode .ep-home a.button:not(.ep-btn-outline) {
	background-color: var(--ashe-dm-accent-deep) !important;
	border-color: var(--ashe-dm-accent-deep) !important;
	color: #141210 !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .page-content .woocommerce a.button:hover,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home .button:not(.ep-btn-outline):hover {
	background-color: var(--ashe-dm-accent) !important;
	border-color: var(--ashe-dm-accent) !important;
	color: #141210 !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ep-home .button.ep-btn-outline,
body.ashe-woocommerce-child.ashe-dark-mode .ep-home a.button.ep-btn-outline {
	background: transparent !important;
	color: var(--ashe-dm-accent) !important;
	border-color: color-mix(in srgb, var(--ashe-dm-accent) 40%, var(--ashe-dm-border)) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ep-home .button.ep-btn-outline:hover {
	background: var(--ashe-dm-accent) !important;
	color: #141210 !important;
	border-color: var(--ashe-dm-accent) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .woocommerce ul.products li.product .button,
body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-card__actions .button {
	background: transparent !important;
	color: var(--ashe-dm-accent) !important;
	border-color: color-mix(in srgb, var(--ashe-dm-accent) 35%, var(--ashe-dm-border)) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .woocommerce ul.products li.product .button:hover {
	background: var(--ashe-dm-accent) !important;
	color: #141210 !important;
	border-color: var(--ashe-dm-accent) !important;
}

/* ═══════════════════════════════════════════════════════════
   Mobile + print
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
	body.ashe-woocommerce-child .woocommerce ul.products li.product:hover .ashe-wc-card,
	body.ashe-woocommerce-child .ashe-wc-card:hover,
	body.ashe-woocommerce-child .ep-home-pillar:hover,
	body.ashe-woocommerce-child .page-content .woocommerce a.button:hover,
	body.ashe-woocommerce-child .ep-home .button:hover {
		transform: none;
	}
}

/* ═══════════════════════════════════════════════════════════
   NUCLEAR — grelha + filtros (último CSS, vence Ashe/WC/dynamic)
   ═══════════════════════════════════════════════════════════ */
body.ashe-woocommerce-child ul.products,
body.ashe-woocommerce-child .woocommerce ul.products,
body.ashe-woocommerce-child .woocommerce-page ul.products,
body.ashe-woocommerce-child .woocommerce ul.products[class*="columns-"],
body.ashe-woocommerce-child .woocommerce-page ul.products[class*="columns-"],
body.ashe-woocommerce-child .ep-home ul.products {
	display: grid !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	list-style: none !important;
}

body.ashe-woocommerce-child ul.products::before,
body.ashe-woocommerce-child ul.products::after,
body.ashe-woocommerce-child .woocommerce ul.products::before,
body.ashe-woocommerce-child .woocommerce ul.products::after {
	content: none !important;
	display: none !important;
}

body.ashe-woocommerce-child ul.products li.product,
body.ashe-woocommerce-child .woocommerce ul.products li.product,
body.ashe-woocommerce-child .woocommerce-page ul.products li.product,
body.ashe-woocommerce-child .woocommerce ul.products[class*="columns-"] li.product,
body.ashe-woocommerce-child .woocommerce-page ul.products[class*="columns-"] li.product,
body.ashe-woocommerce-child .woocommerce ul.products[class*="columns-"] li.product:nth-child(2n),
body.ashe-woocommerce-child .woocommerce-page ul.products[class*="columns-"] li.product:nth-child(2n) {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/*
 * Painéis do header — fundo opaco via tokens de tema
 * (evita #fff fixo que quebrava o modo escuro; polish carrega por último)
 */
body.ashe-woocommerce-child .ashe-wc-dd,
body.ashe-woocommerce-child .ashe-wc-nav-filter__panel,
body.ashe-woocommerce-child .ashe-wc-nav-account__panel,
body.ashe-woocommerce-child #ashe-wc-filter-panel,
body.ashe-woocommerce-child #ashe-wc-account-panel,
body.ashe-woocommerce-child #ashe-wc-search-panel,
body.ashe-woocommerce-child #ep-side-cart,
body.ashe-woocommerce-child .ashe-wc-nav-filter__nav,
body.ashe-woocommerce-child .ashe-wc-nav-account__body,
body.ashe-woocommerce-child .ashe-wc-search-suggest,
body.ashe-woocommerce-child .ashe-wc-search-suggest__body,
body.ashe-woocommerce-child .ep-side-cart__body {
	background: var(--esmeralda-panel-bg, #fff) !important;
	background-color: var(--esmeralda-panel-bg, #fff) !important;
	background-image: none !important;
	opacity: 1 !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	border-color: var(--esmeralda-panel-border, #e5e1db);
	color: var(--esmeralda-panel-text, #1a1a1a);
}

body.ashe-woocommerce-child .ashe-wc-nav-filter__head,
body.ashe-woocommerce-child .ashe-wc-nav-account__head,
body.ashe-woocommerce-child .ashe-wc-search-suggest__head,
body.ashe-woocommerce-child .ep-side-cart__header,
body.ashe-woocommerce-child .ep-side-cart__footer,
body.ashe-woocommerce-child .ashe-wc-search-suggest__all {
	background: var(--esmeralda-panel-bg-head, #faf9f7) !important;
	background-color: var(--esmeralda-panel-bg-head, #faf9f7) !important;
	border-color: var(--esmeralda-panel-border, #e5e1db) !important;
	color: var(--esmeralda-panel-text, #1a1a1a);
}

body.ashe-woocommerce-child .ashe-wc-nav-filter__title,
body.ashe-woocommerce-child .ashe-wc-nav-account__title,
body.ashe-woocommerce-child .ashe-wc-search-suggest__title,
body.ashe-woocommerce-child .ep-side-cart__title {
	background: transparent !important;
	color: var(--esmeralda-panel-muted, #6a6e6c) !important;
}

body.ashe-woocommerce-child .ashe-wc-nav-filter__link,
body.ashe-woocommerce-child .ashe-wc-nav-account__link,
body.ashe-woocommerce-child .ashe-wc-search-suggest__name {
	color: var(--esmeralda-panel-text, #1a1a1a) !important;
}

body.ashe-woocommerce-child .ashe-wc-nav-filter__link:hover,
body.ashe-woocommerce-child .ashe-wc-nav-filter__link.is-active,
body.ashe-woocommerce-child .ashe-wc-nav-account__link:hover,
body.ashe-woocommerce-child .ashe-wc-search-suggest__link:hover,
body.ashe-woocommerce-child .ashe-wc-search-suggest__link.is-active {
	background: var(--esmeralda-panel-hover, #f3f0ea) !important;
	color: var(--esmeralda-panel-accent, #2f4840) !important;
}

body.ashe-woocommerce-child .ashe-wc-search-suggest__price,
body.ashe-woocommerce-child .ashe-wc-search-suggest__all {
	color: var(--esmeralda-panel-accent, #2f4840) !important;
}

body.ashe-woocommerce-child .ashe-wc-nav-filter__link--child,
body.ashe-woocommerce-child .ashe-wc-search-suggest__empty,
body.ashe-woocommerce-child .ashe-wc-search-suggest__loading,
body.ashe-woocommerce-child .ep-side-cart__count-label {
	color: var(--esmeralda-panel-muted, #6a6e6c) !important;
}

@media screen and (max-width: 1200px) {
	body.ashe-woocommerce-child ul.products,
	body.ashe-woocommerce-child .woocommerce ul.products[class*="columns-"],
	body.ashe-woocommerce-child .ep-home ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media screen and (max-width: 900px) {
	body.ashe-woocommerce-child ul.products,
	body.ashe-woocommerce-child .woocommerce ul.products[class*="columns-"],
	body.ashe-woocommerce-child .ep-home ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media screen and (max-width: 768px) {
	body.ashe-woocommerce-child ul.products,
	body.ashe-woocommerce-child .woocommerce ul.products,
	body.ashe-woocommerce-child .woocommerce-page ul.products,
	body.ashe-woocommerce-child .woocommerce ul.products[class*="columns-"],
	body.ashe-woocommerce-child .woocommerce-page ul.products[class*="columns-"],
	body.ashe-woocommerce-child .ep-home ul.products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.85rem 0.6rem !important;
	}

	body.ashe-woocommerce-child .ashe-wc-card {
		background: #fff !important;
		background-color: #fff !important;
		min-width: 0 !important;
		width: 100% !important;
	}
}

@media screen and (max-width: 420px) {
	body.ashe-woocommerce-child ul.products,
	body.ashe-woocommerce-child .woocommerce ul.products[class*="columns-"],
	body.ashe-woocommerce-child .ep-home ul.products {
		grid-template-columns: 1fr !important;
		gap: 0.95rem !important;
	}
}

@media print {
	body.ashe-woocommerce-child .ashe-wc-wa,
	body.ashe-woocommerce-child .ashe-wc-wa-fab,
	body.ashe-woocommerce-child .scrolltop,
	body.ashe-woocommerce-child .ashe-wc-scrolltop {
		display: none !important;
	}

	body.ashe-woocommerce-child #main-nav {
		position: static !important;
		backdrop-filter: none !important;
		box-shadow: none !important;
	}
}


/* Header fixed só desktop; mobile static (não glass sticky) */
@media screen and (min-width: 980px) {
	body.ashe-woocommerce-child #main-nav {
		/* glass ok no fixed */
	}
}

@media screen and (max-width: 979px) {
	body.ashe-woocommerce-child #main-nav {
		position: static !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		background: var(--ashe-wc-white, #fff) !important;
		box-shadow: none !important;
	}

	body.ashe-woocommerce-child #page-header {
		min-height: 0 !important;
	}

}
