/**
 * Site chrome — footer Esmeralda + FAB WhatsApp (child only).
 */

/* ── Footer limpo e alinhado (reset total do Ashe) ── */
body.ashe-woocommerce-child #page-footer,
body.ashe-woocommerce-child #page-footer.ashe-wc-footer,
body.ashe-woocommerce-child #page-footer.clear-fix {
	float: none !important;
	clear: both !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 3.25rem 0 0 !important;
	padding: 0 !important;
	left: auto !important;
	right: auto !important;
	background: var(--ashe-wc-paper, #f7f4ef) !important;
	border: 0 !important;
	border-top: 1px solid var(--ashe-wc-line, #e5e1db) !important;
	color: var(--ashe-wc-ink, #17191a) !important;
	box-sizing: border-box !important;
	text-align: left !important;
}

/* Mata clearfix / floats do Ashe dentro do footer */
body.ashe-woocommerce-child #page-footer::before,
body.ashe-woocommerce-child #page-footer::after,
body.ashe-woocommerce-child #page-footer *::before,
body.ashe-woocommerce-child #page-footer *::after {
	/* não esconder ::before genéricos de SVGs; só clearfix do container */
}

body.ashe-woocommerce-child #page-footer.ashe-wc-footer::before,
body.ashe-woocommerce-child #page-footer.ashe-wc-footer::after,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__inner::before,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__inner::after,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__grid::before,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__grid::after,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__bottom::before,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__bottom::after {
	content: none !important;
	display: none !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__inner,
body.ashe-woocommerce-child #page-footer .boxed-wrapper {
	float: none !important;
	display: block !important;
	width: 100% !important;
	max-width: var(--ashe-wc-max, 1320px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 2.75rem 1.5rem 1.35rem !important;
	box-sizing: border-box !important;
}

/* Parent Ashe: #page-footer a { border } — remove bordas em links */
body.ashe-woocommerce-child #page-footer a {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.ashe-woocommerce-child #page-footer h1,
body.ashe-woocommerce-child #page-footer h2,
body.ashe-woocommerce-child #page-footer h3,
body.ashe-woocommerce-child #page-footer h4,
body.ashe-woocommerce-child #page-footer h5,
body.ashe-woocommerce-child #page-footer h6 {
	border: 0 !important;
	background: none !important;
	padding: 0 !important;
	margin: 0 0 0.75rem !important;
	float: none !important;
}

/* Grelha 4 colunas estável */
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__grid {
	display: grid !important;
	grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr)) !important;
	column-gap: 2rem !important;
	row-gap: 1.75rem !important;
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
	width: 100% !important;
	align-items: start !important;
	justify-items: stretch !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__brand,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative !important;
	text-align: left !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__logo {
	display: inline-block !important;
	float: none !important;
	font-family: var(--ashe-wc-font-serif, "Playfair Display", Georgia, serif) !important;
	font-size: 1.28rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.25 !important;
	color: var(--ashe-wc-moss-deep, #2c3a34) !important;
	text-decoration: none !important;
	margin: 0 0 0.45rem !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__logo:hover {
	color: var(--ashe-wc-moss, #455a51) !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__tagline {
	display: block !important;
	margin: 0 0 0.9rem !important;
	padding: 0 !important;
	font-size: 0.875rem !important;
	line-height: 1.55 !important;
	color: var(--ashe-wc-muted, #6a6e6c) !important;
	max-width: 18rem;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__contact {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__contact li {
	float: none !important;
	display: block !important;
	width: auto !important;
	margin: 0 0 0.4rem !important;
	padding: 0 !important;
	font-size: 0.875rem !important;
	line-height: 1.4 !important;
	color: var(--ashe-wc-muted, #6a6e6c) !important;
	border: 0 !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.4rem !important;
	float: none !important;
	color: var(--ashe-wc-moss-deep, #2c3a34) !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 0.875rem !important;
	border: 0 !important;
	padding: 0 !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__link:hover {
	color: var(--ashe-wc-moss, #455a51) !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__link-ico {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 1rem !important;
	height: 1rem !important;
	opacity: 0.8;
	color: inherit !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__link-ico svg {
	width: 14px !important;
	height: 14px !important;
	fill: currentColor !important;
	color: inherit !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__hours {
	font-size: 0.8rem !important;
	color: var(--ashe-wc-muted, #6a6e6c) !important;
}

/* Social icons — bolinhas suaves, compactas e polidas */
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__social {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.45rem !important;
	margin: 0.9rem 0 0 !important;
	padding: 0 !important;
	float: none !important;
	list-style: none !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__social-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 1.7rem !important;
	height: 1.7rem !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	border: 1px solid var(--ashe-wc-line, #e5e1db) !important;
	border-radius: var(--ashe-wc-radius-pill, 999px) !important;
	background: var(--ashe-wc-white, #ffffff) !important;
	color: var(--ashe-wc-moss-deep, #2c3a34) !important;
	box-shadow: 0 1px 2px rgba(23, 25, 26, 0.04) !important;
	opacity: 1;
	text-decoration: none !important;
	line-height: 0 !important;
	transform: translateY(0);
	transition:
		color var(--ashe-wc-dur, 0.22s) var(--ashe-wc-ease, ease),
		background-color var(--ashe-wc-dur, 0.22s) var(--ashe-wc-ease, ease),
		border-color var(--ashe-wc-dur, 0.22s) var(--ashe-wc-ease, ease),
		box-shadow var(--ashe-wc-dur, 0.22s) var(--ashe-wc-ease, ease),
		transform var(--ashe-wc-dur, 0.22s) var(--ashe-wc-ease, ease);
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__social-link:hover,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__social-link:focus-visible {
	color: #fff !important;
	background: var(--ashe-wc-moss, #455a51) !important;
	border-color: var(--ashe-wc-moss, #455a51) !important;
	box-shadow: 0 4px 12px rgba(44, 58, 52, 0.18) !important;
	transform: translateY(-1px);
	outline: none;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__social-link:active {
	transform: translateY(0);
	box-shadow: 0 1px 3px rgba(44, 58, 52, 0.12) !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__social-link svg {
	width: 13px !important;
	height: 13px !important;
	display: block !important;
	fill: currentColor !important;
	flex-shrink: 0;
	pointer-events: none;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__heading {
	display: block !important;
	margin: 0 0 0.7rem !important;
	padding: 0 !important;
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: var(--ashe-wc-moss-deep, #2c3a34) !important;
	line-height: 1.3 !important;
	border: 0 !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	display: block !important;
	width: 100% !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col li {
	float: none !important;
	display: block !important;
	width: auto !important;
	margin: 0 0 0.42rem !important;
	padding: 0 !important;
	border: 0 !important;
	line-height: 1.35 !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col a {
	display: inline !important;
	float: none !important;
	font-size: 0.875rem !important;
	line-height: 1.4 !important;
	color: var(--ashe-wc-ink, #17191a) !important;
	text-decoration: none !important;
	opacity: 0.82;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col a:hover {
	color: var(--ashe-wc-moss, #455a51) !important;
	opacity: 1;
}

/* Bottom bar */
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__bottom {
	float: none !important;
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 0.5rem 1rem !important;
	margin: 0 !important;
	padding: 1.1rem 0 0 !important;
	border: 0 !important;
	border-top: 1px solid var(--ashe-wc-line, #e5e1db) !important;
	font-size: 0.78rem !important;
	color: var(--ashe-wc-muted, #6a6e6c) !important;
	width: 100% !important;
	clear: both !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__copy,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__legal {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	line-height: 1.45 !important;
	text-align: left !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__sep {
	margin: 0 0.28rem !important;
	opacity: 0.45;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__bottom a {
	color: var(--ashe-wc-moss-deep, #2c3a34) !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	border: 0 !important;
}

body.ashe-woocommerce-child #page-footer .ashe-wc-footer__bottom a:hover {
	color: var(--ashe-wc-moss, #455a51) !important;
}

body.ashe-woocommerce-child #page-footer .credit,
body.ashe-woocommerce-child #page-footer .copyright-info,
body.ashe-woocommerce-child #page-footer .footer-socials,
body.ashe-woocommerce-child #page-footer .footer-widgets {
	display: none !important;
}

/* Esconde restos do menu WP do Ashe se algum plugin reintroduzir */
body.ashe-woocommerce-child #page-footer #footer-menu,
body.ashe-woocommerce-child #page-footer .footer-menu-container,
body.ashe-woocommerce-child #page-footer .ashe-wc-footer__menu-wrap {
	display: none !important;
}

/* Tablet: marca em cima; 3 colunas de links em linha */
@media screen and (max-width: 960px) {
	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__inner {
		padding: 2.25rem 1.25rem 1.25rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		column-gap: 1.15rem !important;
		row-gap: 1.5rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__brand {
		grid-column: 1 / -1 !important;
		padding-bottom: 0.35rem !important;
		border-bottom: 1px solid var(--ashe-wc-line, #e5e1db);
		margin-bottom: 0.15rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__tagline {
		max-width: none !important;
	}
}

/* Mobile: uma coluna, secções bem separadas, sem floats */
@media screen and (max-width: 640px) {
	body.ashe-woocommerce-child #page-footer.ashe-wc-footer {
		margin-top: 2.25rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__inner {
		padding: 1.75rem 1rem 1.1rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__grid {
		display: flex !important;
		flex-direction: column !important;
		grid-template-columns: none !important;
		gap: 0 !important;
		margin: 0 0 1rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__brand,
	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col {
		grid-column: auto !important;
		width: 100% !important;
		padding: 0 0 1.1rem !important;
		margin: 0 0 1.1rem !important;
		border-bottom: 1px solid var(--ashe-wc-line, #e5e1db) !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col:last-child {
		border-bottom: 0 !important;
		margin-bottom: 0 !important;
		padding-bottom: 0.25rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__heading {
		margin: 0 0 0.55rem !important;
		font-size: 0.72rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col ul {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 0.35rem 0.75rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col li {
		margin: 0 !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__col a {
		font-size: 0.84rem !important;
		opacity: 0.9;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__bottom {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 0.45rem !important;
		padding-top: 1rem !important;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__copy,
	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__legal {
		width: 100% !important;
		font-size: 0.75rem !important;
		word-break: break-word;
	}

	body.ashe-woocommerce-child #page-footer .ashe-wc-footer__legal a {
		display: inline !important;
	}
}

/* Dark: separadores mobile */
body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__brand,
body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__col {
	border-bottom-color: var(--ashe-dm-border, #2e3238) !important;
}

/* Dark footer — neutro, sem verde */
body.ashe-woocommerce-child.ashe-dark-mode #page-footer.ashe-wc-footer {
	background: var(--ashe-dm-surface, #16181c) !important;
	border-top-color: var(--ashe-dm-border, #2e3238) !important;
	color: var(--ashe-dm-text-2, #b8b4ae) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__logo {
	color: var(--ashe-dm-text, #f3f0ec) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__tagline,
body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__hours,
body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__contact li {
	color: var(--ashe-dm-text-3, #87837d) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__heading {
	color: var(--ashe-dm-text-2, #b8b4ae) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__link,
body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__link--wa {
	color: var(--ashe-dm-text-2, #b8b4ae) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__link:hover {
	color: var(--ashe-dm-accent, #cbb79c) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__social-link {
	color: var(--ashe-dm-text-2, #b8b4ae) !important;
	background: rgba(255, 255, 255, 0.04) !important;
	border-color: var(--ashe-dm-border, #2e3238) !important;
	box-shadow: none !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__social-link:hover,
body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__social-link:focus-visible {
	color: #1a1c1e !important;
	background: var(--ashe-dm-accent, #cbb79c) !important;
	border-color: var(--ashe-dm-accent, #cbb79c) !important;
	box-shadow: 0 4px 14px rgba(203, 183, 156, 0.22) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__col a {
	color: var(--ashe-dm-text-2, #b8b4ae) !important;
	opacity: 0.88;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__col a:hover {
	color: var(--ashe-dm-accent, #cbb79c) !important;
	opacity: 1;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__bottom {
	border-top-color: var(--ashe-dm-border, #2e3238) !important;
	color: var(--ashe-dm-text-3, #87837d) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__bottom a {
	color: var(--ashe-dm-text-2, #b8b4ae) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode #page-footer .ashe-wc-footer__bottom a:hover {
	color: var(--ashe-dm-accent, #cbb79c) !important;
}

/*
 * Float stack — WhatsApp + scrolltop alinhados (mesma coluna, mesmo tamanho)
 * --float-size / --float-right / --float-bottom / --float-gap
 */
body.ashe-woocommerce-child {
	--float-size: 44px;
	--float-right: 1.05rem;
	--float-bottom: 1.05rem;
	--float-gap: 0.5rem;
}

/* ── WhatsApp FAB → card de confirmação (morph) ── */
body.ashe-woocommerce-child .ashe-wc-wa {
	--wa-size: var(--float-size, 44px);
	--wa-green: #25d366;
	--wa-green-deep: #1ebe57;
	--wa-card-w: min(20.5rem, calc(100vw - 1.75rem));
	position: fixed;
	right: var(--float-right, 1.05rem);
	bottom: var(--float-bottom, 1.05rem);
	z-index: 9990;
	pointer-events: none;
}

body.ashe-woocommerce-child .ashe-wc-wa__surface {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: var(--wa-size);
	min-height: var(--wa-size);
	overflow: hidden;
	border-radius: 999px;
	background: var(--wa-green);
	box-shadow: var(--ashe-wc-shadow-soft, 0 1px 2px rgba(23, 25, 26, 0.04), 0 8px 20px rgba(23, 25, 26, 0.08));
	transform-origin: bottom right;
	pointer-events: auto;
	transition:
		width 0.28s var(--ashe-wc-ease, ease),
		min-height 0.28s var(--ashe-wc-ease, ease),
		border-radius 0.28s var(--ashe-wc-ease, ease),
		background 0.2s ease,
		box-shadow 0.2s ease;
}

body.ashe-woocommerce-child .ashe-wc-wa__toggle.ashe-wc-wa-fab {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	width: var(--wa-size);
	height: var(--wa-size);
	min-width: var(--wa-size);
	padding: 0;
	margin: 0;
	overflow: hidden;
	border: 0 !important;
	border-radius: 999px;
	background: transparent !important;
	color: #ffffff !important;
	cursor: pointer;
	font-weight: 650;
	font-size: 0.8rem;
	line-height: 1;
	text-decoration: none !important;
	opacity: 1;
	transition:
		width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		padding 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.2s ease,
		transform 0.2s ease;
}

body.ashe-woocommerce-child .ashe-wc-wa-fab__icon,
body.ashe-woocommerce-child .ashe-wc-wa__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--wa-size);
	height: var(--wa-size);
	min-width: var(--wa-size);
	flex-shrink: 0;
	line-height: 0;
	color: #ffffff !important;
}

body.ashe-woocommerce-child .ashe-wc-wa-fab__icon svg,
body.ashe-woocommerce-child .ashe-wc-wa-fab__icon svg path,
body.ashe-woocommerce-child .ashe-wc-wa__icon svg,
body.ashe-woocommerce-child .ashe-wc-wa__icon svg path {
	display: block;
	width: 22px;
	height: 22px;
	fill: #ffffff !important;
	color: #ffffff !important;
	stroke: none !important;
}

body.ashe-woocommerce-child .ashe-wc-wa-fab__label,
body.ashe-woocommerce-child .ashe-wc-wa__chip {
	display: block;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	white-space: nowrap;
	padding: 0;
	margin: 0;
	letter-spacing: 0.02em;
	color: #ffffff !important;
	transform: translateX(-4px);
	transition:
		max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.2s ease,
		padding 0.28s ease,
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover da bolha (só quando fechada) — sem elevação */
body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__surface:hover,
body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__surface:focus-within {
	background: var(--wa-green-deep);
	box-shadow: var(--ashe-wc-shadow, 0 1px 2px rgba(23, 25, 26, 0.05), 0 12px 28px rgba(23, 25, 26, 0.09));
}

body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__toggle:hover,
body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__toggle:focus-visible {
	width: auto;
	max-width: 11rem;
	padding: 0 0.9rem 0 0;
}

body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__toggle:hover .ashe-wc-wa-fab__label,
body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__toggle:focus-visible .ashe-wc-wa-fab__label,
body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__toggle:hover .ashe-wc-wa__chip,
body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__toggle:focus-visible .ashe-wc-wa__chip {
	max-width: 6.5rem;
	opacity: 1;
	padding-right: 0.15rem;
	transform: translateX(0);
}

@media (hover: none) {
	body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__toggle:hover {
		width: var(--wa-size);
		max-width: var(--wa-size);
		padding: 0;
	}
	body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__toggle:hover .ashe-wc-wa-fab__label,
	body.ashe-woocommerce-child .ashe-wc-wa.is-closed .ashe-wc-wa__toggle:hover .ashe-wc-wa__chip {
		max-width: 0;
		opacity: 0;
		padding: 0;
	}
}

/* Painel (card) — oculto quando fechado */
body.ashe-woocommerce-child .ashe-wc-wa__panel {
	display: none;
	flex-direction: column;
	padding: 0;
	opacity: 1;
	transform: none;
	pointer-events: none;
}

/* Aberto: morph bolha → card */
body.ashe-woocommerce-child .ashe-wc-wa.is-open .ashe-wc-wa__surface {
	width: var(--wa-card-w);
	min-height: 0;
	border-radius: var(--ashe-wc-radius-lg, 12px);
	background: var(--ashe-wc-white, #fff);
	border: 1px solid var(--ashe-wc-line, #e5e1db);
	box-shadow: var(--ashe-wc-shadow-soft, 0 1px 2px rgba(23, 25, 26, 0.04), 0 8px 20px rgba(23, 25, 26, 0.06));
	transform: none;
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa.is-open .ashe-wc-wa__surface {
	background: var(--ashe-dm-surface, #1c1f24);
	border-color: var(--ashe-dm-border, #2e3238);
	box-shadow: none;
}

body.ashe-woocommerce-child .ashe-wc-wa.is-open .ashe-wc-wa__toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

body.ashe-woocommerce-child .ashe-wc-wa.is-open .ashe-wc-wa__panel {
	display: flex;
	padding: 1rem 1.05rem 1.05rem;
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

body.ashe-woocommerce-child .ashe-wc-wa__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.65rem;
}

body.ashe-woocommerce-child .ashe-wc-wa__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--ashe-wc-radius, 8px);
	background: var(--wa-green);
	color: #fff;
	box-shadow: none;
}

body.ashe-woocommerce-child .ashe-wc-wa__badge svg,
body.ashe-woocommerce-child .ashe-wc-wa__badge svg path {
	width: 18px;
	height: 18px;
	fill: #ffffff !important;
	color: #ffffff !important;
}

body.ashe-woocommerce-child .ashe-wc-wa__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--ashe-wc-accent-soft, rgba(69, 90, 81, 0.08));
	color: var(--ashe-wc-ink, #2c3a34);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}

body.ashe-woocommerce-child .ashe-wc-wa__close:hover,
body.ashe-woocommerce-child .ashe-wc-wa__close:focus-visible {
	background: var(--ashe-wc-accent-soft-2, rgba(69, 90, 81, 0.14));
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__close {
	background: rgba(255, 255, 255, 0.08);
	color: var(--ashe-dm-ink, #f3efe6);
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__close:hover {
	background: rgba(255, 255, 255, 0.14);
}

body.ashe-woocommerce-child .ashe-wc-wa__eyebrow {
	margin: 0 0 0.2rem;
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wa-green-deep);
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__eyebrow {
	color: #6fdf9a;
}

body.ashe-woocommerce-child .ashe-wc-wa__title {
	margin: 0 0 0.45rem;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ashe-wc-ink, #2c3a34);
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__title {
	color: var(--ashe-dm-ink, #f3efe6);
}

body.ashe-woocommerce-child .ashe-wc-wa__text {
	margin: 0 0 0.7rem;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--ashe-wc-muted, #5c6b63);
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__text {
	color: var(--ashe-dm-muted, #b8c2bb);
}

body.ashe-woocommerce-child .ashe-wc-wa__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.3rem 0.4rem;
	margin: 0 0 0.95rem;
	padding: 0.55rem 0.65rem;
	border-radius: 0.7rem;
	background: rgba(37, 211, 102, 0.08);
	font-size: 0.74rem;
	line-height: 1.35;
	color: var(--ashe-wc-muted, #5c6b63);
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__meta {
	background: rgba(37, 211, 102, 0.12);
	color: var(--ashe-dm-muted, #b8c2bb);
}

body.ashe-woocommerce-child .ashe-wc-wa__phone {
	font-weight: 650;
	color: var(--ashe-wc-ink, #2c3a34);
	white-space: nowrap;
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__phone {
	color: var(--ashe-dm-ink, #f3efe6);
}

body.ashe-woocommerce-child .ashe-wc-wa__dot {
	opacity: 0.5;
}

body.ashe-woocommerce-child .ashe-wc-wa__hours {
	flex: 1 1 8rem;
}

body.ashe-woocommerce-child .ashe-wc-wa__actions {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

/* CTA do card FAB — herda .ashe-wc-btn-wa + full width */
body.ashe-woocommerce-child .ashe-wc-wa__go.ashe-wc-btn-wa {
	width: 100%;
	min-height: 42px;
}

body.ashe-woocommerce-child .ashe-wc-wa__cancel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.2rem;
	padding: 0.4rem 0.75rem;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ashe-wc-muted, #5c6b63);
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.18s ease, background 0.18s ease;
}

body.ashe-woocommerce-child .ashe-wc-wa__cancel:hover,
body.ashe-woocommerce-child .ashe-wc-wa__cancel:focus-visible {
	color: var(--ashe-wc-ink, #2c3a34);
	background: var(--ashe-wc-accent-soft, rgba(69, 90, 81, 0.06));
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__cancel {
	color: var(--ashe-dm-muted, #b8c2bb);
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-wa__cancel:hover {
	color: var(--ashe-dm-ink, #f3efe6);
	background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 560px) {
	body.ashe-woocommerce-child {
		--float-size: 42px;
		--float-right: 0.9rem;
		--float-bottom: 0.9rem;
		--float-gap: 0.45rem;
	}
	body.ashe-woocommerce-child .ashe-wc-wa {
		--wa-card-w: min(19.5rem, calc(100vw - 1.5rem));
	}
	body.ashe-woocommerce-child .ashe-wc-wa-fab__icon svg,
	body.ashe-woocommerce-child .ashe-wc-wa__icon svg {
		width: 20px;
		height: 20px;
	}
}

/* Espaço no mobile para não cobrir total do carrinho */
body.ashe-woocommerce-child.woocommerce-cart .ashe-wc-wa,
body.ashe-woocommerce-child.woocommerce-checkout .ashe-wc-wa {
	bottom: 5.25rem;
}
body.ashe-woocommerce-child.woocommerce-cart {
	--float-bottom: 5.25rem;
}
body.ashe-woocommerce-child.woocommerce-checkout {
	--float-bottom: 5.25rem;
}

@media (prefers-reduced-motion: reduce) {
	body.ashe-woocommerce-child .ashe-wc-wa__surface,
	body.ashe-woocommerce-child .ashe-wc-wa__toggle,
	body.ashe-woocommerce-child .ashe-wc-wa-fab__label,
	body.ashe-woocommerce-child .ashe-wc-wa__chip,
	body.ashe-woocommerce-child .ashe-wc-wa__panel,
	body.ashe-woocommerce-child .ashe-wc-wa__go {
		transition: none;
		animation: none;
	}
}

/* ── Scroll top — mesma coluna/tamanho do WhatsApp, acima dele ── */
body.ashe-woocommerce-child .scrolltop,
body.ashe-woocommerce-child .ashe-wc-scrolltop,
body.ashe-woocommerce-child #page-footer .scrolltop {
	display: none; /* jQuery do Ashe faz fadeIn após scroll */
	appearance: none;
	-webkit-appearance: none;
	position: fixed !important;
	right: var(--float-right, 1.05rem) !important;
	/* WA em baixo + gap + mesmo diâmetro */
	bottom: calc(var(--float-bottom, 1.05rem) + var(--float-size, 44px) + var(--float-gap, 0.5rem)) !important;
	left: auto !important;
	top: auto !important;
	z-index: 9985 !important;
	width: var(--float-size, 44px) !important;
	height: var(--float-size, 44px) !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid color-mix(in srgb, var(--ashe-wc-line, #e5e1db) 90%, transparent) !important;
	border-radius: 50% !important;
	background: color-mix(in srgb, var(--ashe-wc-white, #fff) 92%, transparent) !important;
	color: var(--ashe-wc-muted, #6a6e6c) !important;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(23, 25, 26, 0.08) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0.9;
	align-items: center;
	justify-content: center;
	transition:
		transform var(--ashe-wc-dur, 0.22s) var(--ashe-wc-ease, ease),
		box-shadow var(--ashe-wc-dur, 0.22s) var(--ashe-wc-ease, ease),
		background var(--ashe-wc-dur, 0.22s) var(--ashe-wc-ease, ease),
		color var(--ashe-wc-dur, 0.22s) var(--ashe-wc-ease, ease),
		opacity var(--ashe-wc-dur, 0.22s) ease !important;
}

/* quando o jQuery mostra com display block, forçamos flex */
body.ashe-woocommerce-child .scrolltop[style*="block"],
body.ashe-woocommerce-child .scrolltop[style*="inline"] {
	display: inline-flex !important;
}

body.ashe-woocommerce-child .ashe-wc-scrolltop__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

body.ashe-woocommerce-child .ashe-wc-scrolltop__icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

body.ashe-woocommerce-child .scrolltop i,
body.ashe-woocommerce-child .scrolltop .fa-solid {
	display: none !important;
}

body.ashe-woocommerce-child .scrolltop:hover,
body.ashe-woocommerce-child .ashe-wc-scrolltop:hover {
	background: var(--ashe-wc-moss-deep, #2c3a34) !important;
	color: #fff !important;
	border-color: transparent !important;
	opacity: 1;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(23, 25, 26, 0.12) !important;
}

body.ashe-woocommerce-child .scrolltop:focus-visible {
	outline: none;
	opacity: 1;
	box-shadow: var(--ashe-wc-focus) !important;
}

/* cart/checkout: float-bottom sobe; scrolltop segue via calc() */

/* Dark */
body.ashe-woocommerce-child.ashe-dark-mode .scrolltop,
body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-scrolltop {
	background: var(--ashe-dm-elevated, #22252a) !important;
	color: var(--ashe-dm-accent, #c9b8a0) !important;
	border-color: var(--ashe-dm-border, #32363c) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .scrolltop:hover {
	background: var(--ashe-dm-accent, #c9b8a0) !important;
	color: #141210 !important;
}

/* ── Página Contato: layout em pages.css (evita grid 7rem a partir tel/email) ── */
body.ashe-woocommerce-child .ashe-wc-contact {
	max-width: min(36rem, 100%);
}

body.ashe-woocommerce-child .ashe-wc-contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 1.25rem 0;
}

/* ═══════════════════════════════════════════════════════════
   Botão WhatsApp (.ashe-wc-btn-wa)
   Mesmo ritmo dos botões do site: sólido, radius 8, sem animação
   ═══════════════════════════════════════════════════════════ */
body.ashe-woocommerce-child a.ashe-wc-btn-wa,
body.ashe-woocommerce-child .ashe-wc-btn-wa.wp-element-button,
body.ashe-woocommerce-child .ashe-wc-btn-wa.wp-block-button__link,
body.ashe-woocommerce-child .wp-block-button.ashe-wc-btn-wa > .wp-block-button__link,
body.ashe-woocommerce-child a.ashe-wc-wa__go.ashe-wc-btn-wa,
body.ashe-woocommerce-child.ashe-dark-mode a.ashe-wc-btn-wa,
body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-btn-wa.wp-element-button,
body.ashe-woocommerce-child.ashe-dark-mode .wp-block-button.ashe-wc-btn-wa > .wp-block-button__link,
body.ashe-woocommerce-child.ashe-dark-mode a.ashe-wc-wa__go.ashe-wc-btn-wa {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	min-height: 42px;
	padding: 0.65rem 1.25rem !important;
	border: 1px solid #1ebe57 !important;
	border-radius: var(--ashe-wc-radius, 8px) !important;
	background: #25d366 !important;
	background-color: #25d366 !important;
	color: #ffffff !important;
	font-family: var(--ashe-wc-font-sans, "Open Sans", system-ui, sans-serif) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
	transform: none !important;
	filter: none !important;
}

/* Ícone oficial (mask) se o botão não tiver SVG no HTML */
body.ashe-woocommerce-child a.ashe-wc-btn-wa::before,
body.ashe-woocommerce-child .ashe-wc-btn-wa.wp-element-button::before,
body.ashe-woocommerce-child .ashe-wc-btn-wa.wp-block-button__link::before,
body.ashe-woocommerce-child .wp-block-button.ashe-wc-btn-wa > .wp-block-button__link::before,
body.ashe-woocommerce-child a.ashe-wc-wa__go.ashe-wc-btn-wa::before {
	content: "";
	display: inline-block;
	width: 1.05rem;
	height: 1.05rem;
	flex-shrink: 0;
	background-color: #ffffff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.76.46 3.42 1.27 4.86L2 22l5.39-1.41a9.86 9.86 0 0 0 4.65 1.18h.01c5.46 0 9.91-4.45 9.91-9.91C21.96 6.45 17.5 2 12.04 2zm5.79 14.04c-.24.68-1.4 1.25-1.93 1.33-.5.08-1.13.11-1.82-.11-.42-.14-.96-.31-1.65-.61-2.9-1.26-4.79-4.18-4.94-4.38-.14-.2-1.18-1.57-1.18-3 0-1.42.74-2.12 1-2.41.26-.29.57-.36.76-.36h.55c.17 0 .41-.06.64.49.24.56.81 1.97.88 2.11.07.14.12.31.02.5-.1.19-.14.31-.28.48-.14.17-.3.37-.42.5-.14.14-.29.29-.12.56.17.28.74 1.22 1.59 1.98 1.1.98 2.02 1.28 2.3 1.42.28.14.45.12.61-.07.17-.19.7-.81.89-1.09.19-.28.38-.23.64-.14.26.1 1.66.78 1.95.93.28.14.47.21.54.33.07.12.07.68-.17 1.36z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.76.46 3.42 1.27 4.86L2 22l5.39-1.41a9.86 9.86 0 0 0 4.65 1.18h.01c5.46 0 9.91-4.45 9.91-9.91C21.96 6.45 17.5 2 12.04 2zm5.79 14.04c-.24.68-1.4 1.25-1.93 1.33-.5.08-1.13.11-1.82-.11-.42-.14-.96-.31-1.65-.61-2.9-1.26-4.79-4.18-4.94-4.38-.14-.2-1.18-1.57-1.18-3 0-1.42.74-2.12 1-2.41.26-.29.57-.36.76-.36h.55c.17 0 .41-.06.64.49.24.56.81 1.97.88 2.11.07.14.12.31.02.5-.1.19-.14.31-.28.48-.14.17-.3.37-.42.5-.14.14-.29.29-.12.56.17.28.74 1.22 1.59 1.98 1.1.98 2.02 1.28 2.3 1.42.28.14.45.12.61-.07.17-.19.7-.81.89-1.09.19-.28.38-.23.64-.14.26.1 1.66.78 1.95.93.28.14.47.21.54.33.07.12.07.68-.17 1.36z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.ashe-woocommerce-child a.ashe-wc-btn-wa:has(svg)::before,
body.ashe-woocommerce-child .ashe-wc-btn-wa:has(svg)::before,
body.ashe-woocommerce-child .wp-block-button.ashe-wc-btn-wa > .wp-block-button__link:has(svg)::before {
	display: none !important;
}

body.ashe-woocommerce-child a.ashe-wc-btn-wa:hover,
body.ashe-woocommerce-child a.ashe-wc-btn-wa:focus-visible,
body.ashe-woocommerce-child .ashe-wc-btn-wa.wp-element-button:hover,
body.ashe-woocommerce-child .ashe-wc-btn-wa.wp-block-button__link:hover,
body.ashe-woocommerce-child .wp-block-button.ashe-wc-btn-wa > .wp-block-button__link:hover,
body.ashe-woocommerce-child a.ashe-wc-wa__go.ashe-wc-btn-wa:hover,
body.ashe-woocommerce-child a.ashe-wc-wa__go.ashe-wc-btn-wa:focus-visible,
body.ashe-woocommerce-child.ashe-dark-mode a.ashe-wc-btn-wa:hover,
body.ashe-woocommerce-child.ashe-dark-mode .wp-block-button.ashe-wc-btn-wa > .wp-block-button__link:hover {
	background: #1ebe57 !important;
	background-color: #1ebe57 !important;
	border-color: #1aa84d !important;
	color: #ffffff !important;
	filter: none !important;
	transform: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

body.ashe-woocommerce-child a.ashe-wc-btn-wa:active,
body.ashe-woocommerce-child .wp-block-button.ashe-wc-btn-wa > .wp-block-button__link:active,
body.ashe-woocommerce-child a.ashe-wc-wa__go.ashe-wc-btn-wa:active {
	transform: none !important;
	box-shadow: none !important;
}

body.ashe-woocommerce-child a.ashe-wc-btn-wa:focus-visible,
body.ashe-woocommerce-child .wp-block-button.ashe-wc-btn-wa > .wp-block-button__link:focus-visible,
body.ashe-woocommerce-child a.ashe-wc-wa__go.ashe-wc-btn-wa:focus-visible {
	outline: 2px solid rgba(37, 211, 102, 0.4) !important;
	outline-offset: 2px;
}

body.ashe-woocommerce-child .ashe-wc-btn-wa svg,
body.ashe-woocommerce-child .ashe-wc-btn-wa svg path,
body.ashe-woocommerce-child a.ashe-wc-wa__go svg,
body.ashe-woocommerce-child a.ashe-wc-wa__go svg path {
	display: block;
	width: 1.05rem;
	height: 1.05rem;
	flex-shrink: 0;
	fill: #ffffff !important;
	color: #ffffff !important;
}

body.ashe-woocommerce-child .ashe-wc-contact .wp-block-buttons {
	gap: 0.65rem;
}

body.ashe-woocommerce-child .ashe-wc-btn-mail {
	background: var(--ashe-wc-moss, #3d5c52) !important;
	color: #fff !important;
}

body.ashe-woocommerce-child .ashe-wc-btn-mail:hover {
	background: var(--ashe-wc-moss-deep, #2f4840) !important;
	color: #fff !important;
}

/* Dark mode */
body.ashe-woocommerce-child.ashe-dark-mode #page-footer.ashe-wc-footer {
	background: var(--ashe-dm-surface, #1a1f1d) !important;
	border-color: var(--ashe-dm-border, #343c38);
	color: var(--ashe-dm-text, #eceeea);
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-footer__logo {
	color: var(--ashe-dm-accent, #c9b8a0) !important;
}

body.ashe-woocommerce-child.ashe-dark-mode .ashe-wc-footer__col a {
	color: var(--ashe-dm-text-2, #b4bcb7) !important;
}

/* Contato dark: pages.css (tokens completos) */
