/* ============================================================
   MELLA DOURA — Identidade visual (brief da marca)
   Paleta, tipografia e componentes. Aplica sobre o Astra.
   ============================================================ */

:root {
	/* Paleta oficial Mell Doura (do design) */
	--md-pearl:     #F8F4EC; /* Off-White Mell — fundo principal */
	--md-coffee:    #1D1A14; /* texto principal (quase preto quente) */
	--md-gold:      #C9A24A; /* Ouro Mel — acento */
	--md-nude:      #EFE3CC; /* Champagne — fundos editoriais */
	--md-terra:     #B88A2E; /* (legado) -> dourado profundo */
	--md-cocoa:     #5A3A1C; /* Marrom Âmbar — contraste secundário */
	--md-gold-soft: #E3D3B2; /* champagne dourado claro */
	--md-line:      #E7DCC6; /* filete sobre claro */

	--md-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--md-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	--md-radius: 14px;
	--md-shadow: 0 10px 30px rgba(43, 33, 29, 0.08);
}

/* ---------- Base ---------- */
body,
.ast-container {
	background-color: var(--md-pearl);
	color: var(--md-coffee);
	font-family: var(--md-font-body);
}

h1, h2, h3, h4, .entry-title,
.woocommerce-loop-product__title,
.product_title {
	font-family: var(--md-font-display) !important;
	color: var(--md-coffee);
	letter-spacing: -0.01em;
	font-weight: 600;
}

a { color: var(--md-terra); }
a:hover { color: var(--md-cocoa); }

/* ---------- Header / logo ---------- */
.site-header,
.ast-primary-header-bar {
	background-color: var(--md-pearl) !important;
	border-bottom: 1px solid var(--md-line);
}

.main-header-menu a,
.ast-builder-menu .main-header-menu .menu-link {
	font-family: var(--md-font-body);
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--md-coffee);
	text-transform: none;
}
.main-header-menu a:hover { color: var(--md-terra); }

.custom-logo-link img,
.site-logo-img img { max-height: 60px; width: auto; }

/* ---------- Barra de beneficios ---------- */
.mella-benefits-bar {
	background: var(--md-cocoa);
	color: var(--md-pearl);
}
.mella-benefits-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	justify-content: center;
	align-items: center;
}
.mella-benefit {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}
.mella-benefit-icon { color: var(--md-gold-soft); font-size: 14px; }
@media (max-width: 768px) {
	.mella-benefit { font-size: 11px; }
	.mella-benefits-inner { gap: 6px 16px; }
}

/* ---------- Botoes ---------- */
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background-color: var(--md-terra) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	font-family: var(--md-font-body) !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	padding: 0.9em 1.9em !important;
	transition: background-color .2s ease, transform .15s ease;
	text-transform: none !important;
}
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background-color: var(--md-cocoa) !important;
	transform: translateY(-1px);
}

.mella-btn-gold,
.wp-block-button.is-style-gold .wp-block-button__link {
	background-color: var(--md-gold) !important;
	color: var(--md-coffee) !important;
}

/* ---------- Cards de produto ---------- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: var(--md-radius);
	padding: 14px 14px 20px;
	box-shadow: var(--md-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
	text-align: center;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(43, 33, 29, 0.14);
}
.woocommerce ul.products li.product img {
	border-radius: 10px;
	margin-bottom: 12px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.15rem;
	padding: 4px 0;
}
.woocommerce ul.products li.product .price {
	color: var(--md-cocoa);
	font-weight: 600;
	font-family: var(--md-font-body);
}
.woocommerce ul.products li.product .price del { color: #b9a89a; }
.woocommerce ul.products li.product .price ins { color: var(--md-terra); text-decoration: none; }

/* selo de promo */
.woocommerce span.onsale {
	background: var(--md-gold) !important;
	color: var(--md-coffee) !important;
	border-radius: 999px;
	font-weight: 600;
	min-height: auto;
	min-width: auto;
	padding: 4px 12px;
	line-height: 1.4;
}

/* ---------- Pagina de produto ---------- */
.woocommerce div.product .product_title { font-size: 2.4rem; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--md-cocoa);
	font-family: var(--md-font-body);
	font-weight: 700;
	font-size: 1.7rem;
}
.mella-payment-hint {
	margin: 6px 0 18px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-family: var(--md-font-body);
	font-size: 0.95rem;
	color: var(--md-coffee);
}
.mella-pay-pix strong { color: var(--md-terra); }

/* ---------- WhatsApp flutuante ---------- */
.mella-whatsapp-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	background: var(--md-terra);
	color: #fff !important;
	border-radius: 999px;
	padding: 12px 18px;
	font-family: var(--md-font-body);
	font-weight: 600;
	font-size: 0.95rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 8px 22px rgba(185, 110, 80, 0.45);
	text-decoration: none;
	transition: transform .15s ease, background .2s ease;
}
.mella-whatsapp-float:hover { background: var(--md-cocoa); transform: translateY(-2px); color: #fff !important; }
.mella-wa-icon { font-size: 1.15rem; }
@media (max-width: 600px) { .mella-wa-text { display: none; } .mella-whatsapp-float { padding: 14px; } }

/* ---------- Blocos da Home ---------- */
.mella-hero {
	background: linear-gradient(120deg, var(--md-nude) 0%, var(--md-pearl) 60%);
	border-radius: var(--md-radius);
	padding: 64px 40px;
	text-align: center;
	margin-bottom: 40px;
}
.mella-hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	margin-bottom: 12px;
}
.mella-hero p {
	font-size: 1.15rem;
	max-width: 640px;
	margin: 0 auto 26px;
	color: var(--md-cocoa);
}
.mella-hero .button { margin: 6px; }

.mella-section-title {
	text-align: center;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	margin: 48px 0 8px;
}
.mella-section-sub {
	text-align: center;
	color: var(--md-terra);
	margin-bottom: 28px;
	font-style: italic;
	font-family: var(--md-font-display);
	font-size: 1.2rem;
}

.mella-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
	margin: 24px 0 48px;
}
.mella-cat-card {
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: var(--md-radius);
	padding: 28px 12px;
	text-align: center;
	font-family: var(--md-font-display);
	font-size: 1.25rem;
	color: var(--md-coffee);
	text-decoration: none;
	box-shadow: var(--md-shadow);
	transition: all .2s ease;
}
.mella-cat-card:hover {
	background: var(--md-cocoa);
	color: var(--md-pearl);
	transform: translateY(-3px);
}

.mella-proof {
	background: var(--md-cocoa);
	color: var(--md-pearl);
	border-radius: var(--md-radius);
	padding: 48px 32px;
	text-align: center;
	margin: 48px 0;
}
.mella-proof h2 { color: var(--md-pearl); }
.mella-proof-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin-top: 28px;
}
.mella-proof-card {
	background: rgba(250, 246, 239, 0.06);
	border: 1px solid rgba(216, 189, 132, 0.3);
	border-radius: 12px;
	padding: 22px;
	font-size: 0.98rem;
}
.mella-proof-stars { color: var(--md-gold-soft); letter-spacing: 2px; margin-bottom: 8px; }

.mella-cta-band {
	text-align: center;
	background: var(--md-nude);
	border-radius: var(--md-radius);
	padding: 40px 24px;
	margin: 48px 0;
}
.mella-cta-band h2 { margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer,
.ast-small-footer,
footer.site-footer {
	background: var(--md-cocoa) !important;
	color: var(--md-pearl) !important;
}
.site-footer a { color: var(--md-gold-soft) !important; }
.site-footer a:hover { color: #fff !important; }

/* ---------- Tipografia geral de leitura ---------- */
.entry-content p,
.woocommerce-product-details__short-description,
.woocommerce-Tabs-panel p { line-height: 1.7; }

/* ---------- Logo da marca ---------- */
.mella-logo-img { max-height: 56px; width: auto; display: block; }
@media (max-width: 600px) { .mella-logo-img { max-height: 44px; } }

/* ---------- Hero editorial com imagem ---------- */
.mella-hero--image {
	position: relative;
	background-size: cover;
	background-position: center;
	color: #fff;
	min-height: 62vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 72px 40px;
	overflow: hidden;
}
.mella-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(43,33,29,.62) 0%, rgba(43,33,29,.30) 50%, rgba(43,33,29,.12) 100%);
	border-radius: var(--md-radius);
}
.mella-hero--image > * { position: relative; z-index: 1; }
.mella-hero--image h1,
.mella-hero--image p { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.mella-hero--image .mella-eyebrow {
	font-family: var(--md-font-body);
	text-transform: uppercase;
	letter-spacing: .28em;
	font-size: .8rem;
	color: var(--md-gold-soft);
	margin-bottom: 14px;
}
@media (max-width: 600px) { .mella-hero--image { min-height: 70vh; padding: 56px 22px; } }

/* ---------- Vitrines de produtos na home ---------- */
.mella-vitrine { margin: 8px 0 40px; }
.mella-vitrine .woocommerce { margin: 0; }
.mella-home-actions { text-align: center; margin: 8px 0 8px; }

/* ============================================================
   HEADER PREMIUM (override do visual genérico do Astra)
   ============================================================ */

/* Esconde o título "Início" e descrições de arquivo na home */
body.home .entry-title,
body.home .ast-archive-description,
body.page-id-1197 .entry-title { display: none !important; }

/* Logo maior e com presença */
.mella-logo-img { max-height: 66px; }
@media (max-width: 921px) { .mella-logo-img { max-height: 52px; } }

/* Barra principal com mais respiro */
.main-header-bar { padding-top: 10px; padding-bottom: 10px; }

/* Menu: tipografia editorial (caixa alta fina + espaçamento) */
.main-header-menu .menu-link,
.ast-builder-menu .main-header-menu .menu-link,
.main-header-menu a {
	font-family: var(--md-font-body);
	font-size: 0.82rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: var(--md-coffee);
}

/* Sublinhado dourado animado no hover/ativo */
.ast-builder-menu .main-header-menu > .menu-item > .menu-link { position: relative; }
.ast-builder-menu .main-header-menu > .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: -2px;
	height: 2px;
	background: var(--md-gold);
	transition: right .25s ease;
}
.ast-builder-menu .main-header-menu > .menu-item:hover > .menu-link::after,
.ast-builder-menu .main-header-menu > .current-menu-item > .menu-link::after { right: 0; }
.main-header-menu > .current-menu-item > .menu-link { color: var(--md-terra); }

/* Ícones de conta e sacola à direita */
.main-header-menu .mella-ico { display: inline-flex; align-items: center; }
.main-header-menu .mella-ico-account { margin-left: 14px; }
.main-header-menu .mella-ico > .menu-link,
.main-header-menu .mella-ico > a {
	color: var(--md-coffee);
	padding: 0 9px !important;
	display: inline-flex;
	align-items: center;
}
.main-header-menu .mella-ico > a::after { display: none !important; }
.main-header-menu .mella-ico > a:hover { color: var(--md-terra); background: transparent !important; }
.mella-ico-cart > a { position: relative; }
.mella-cart-count {
	position: absolute;
	top: -6px; right: -2px;
	background: var(--md-terra);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Barra de benefícios mais fina e discreta */
.mella-benefits-inner { padding: 7px 20px; }
.mella-benefit { font-size: 12px; letter-spacing: 0.04em; }

/* ---------- Barra de busca (e-commerce / referência Amazon) ---------- */
.mella-searchbar { background: var(--md-pearl); border-bottom: 1px solid var(--md-line); }
.mella-searchbar-inner { max-width: 1240px; margin: 0 auto; padding: 12px 20px; }
.mella-search {
	display: flex;
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: 999px;
	overflow: hidden;
	box-shadow: var(--md-shadow);
}
.mella-search:focus-within { border-color: var(--md-gold); box-shadow: 0 0 0 3px rgba(198,161,91,.18); }
.mella-search-input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	padding: 13px 22px;
	font-family: var(--md-font-body);
	font-size: 0.95rem;
	color: var(--md-coffee);
}
.mella-search-input::placeholder { color: #b6a596; }
.mella-search-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
	cursor: pointer;
	background: var(--md-terra);
	color: #fff;
	padding: 0 24px;
	font-family: var(--md-font-body);
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: background .2s ease;
}
.mella-search-btn:hover { background: var(--md-cocoa); }
@media (max-width: 600px) {
	.mella-search-btn span { display: none; }
	.mella-search-btn { padding: 0 16px; }
	.mella-searchbar-inner { padding: 10px 14px; }
}

/* ============================================================
   HEADER ESTILO MERCADO LIVRE
   ============================================================ */
/* Esconde o header padrão do Astra (usamos o nosso) */
#masthead.site-header,
.site-header.ast-primary-header-bar,
header.site-header { display: none !important; }

.mella-mlh { position: sticky; top: 0; z-index: 999; font-family: var(--md-font-body); box-shadow: 0 2px 10px rgba(43,33,29,.08); }
.mella-mlh-wrap { max-width: 1280px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 22px; }

/* Linha 1 — dourado champagne */
.mella-mlh-top { background: var(--md-gold); }
.mella-mlh-top .mella-mlh-wrap { min-height: 66px; padding-top: 11px; padding-bottom: 11px; }
.mella-mlh-logo img { height: 46px; width: auto; display: block; }
.mella-mlh-search { flex: 1; max-width: 720px; display: flex; background: #fff; border-radius: 9px; overflow: hidden; box-shadow: 0 2px 6px rgba(43,33,29,.16); }
.mella-mlh-search input[type="search"] { flex: 1; border: 0; outline: 0; background: transparent; padding: 12px 18px; font-size: 0.95rem; color: var(--md-coffee); font-family: var(--md-font-body); }
.mella-mlh-search input::placeholder { color: #a8978a; }
.mella-mlh-search button { border: 0; background: transparent; color: #8a7a6a; padding: 0 16px; cursor: pointer; display: flex; align-items: center; }
.mella-mlh-search button:hover { color: var(--md-terra); }
.mella-mlh-acct { display: flex; align-items: center; gap: 22px; }
.mella-mlh-acct a { color: var(--md-coffee); display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; }
.mella-mlh-acct a:hover { color: #fff; }
.mella-mlh-cart { position: relative; }
.mella-mlh-count { position: absolute; top: -8px; right: -10px; background: var(--md-terra); color: #fff; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Linha 2 — champagne suave, navegação */
.mella-mlh-nav { background: var(--md-gold-soft); border-bottom: 1px solid rgba(43,33,29,.10); }
.mella-mlh-nav .mella-mlh-wrap { min-height: 44px; gap: 0; }
.mella-mlh-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.mella-mlh-links a { color: var(--md-coffee); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.015em; padding: 8px 13px; display: inline-block; border-radius: 6px; }
.mella-mlh-links a:hover { background: rgba(255,255,255,.55); color: var(--md-terra); }
.mella-link-strong a { font-weight: 700; }
.mella-mlh-ship { margin-left: auto; font-size: 0.78rem; color: var(--md-cocoa); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mella-nav-t, .mella-burger { display: none; }

@media (max-width: 921px) {
	.mella-mlh-top .mella-mlh-wrap { flex-wrap: wrap; gap: 12px; }
	.mella-mlh-search { order: 3; flex-basis: 100%; max-width: none; }
	.mella-mlh-acct { margin-left: auto; }
	.mella-mlh-acct .mella-mlh-acct-link span { display: none; }
	.mella-burger { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; padding: 9px 4px; font-weight: 600; font-size: 0.85rem; color: var(--md-coffee); }
	.mella-mlh-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
	.mella-nav-t:checked ~ .mella-mlh-links { display: flex; }
	.mella-mlh-links a { padding: 13px 6px; border-bottom: 1px solid rgba(43,33,29,.07); }
	.mella-mlh-ship { display: none; }
}

/* ---------- Login / Cadastro (estilo Mercado Livre) ---------- */
.woocommerce-account .woocommerce > .u-columns { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.woocommerce-account .col-1,
.woocommerce-account .col-2 {
	flex: 1 1 320px;
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: 14px;
	padding: 32px;
	box-shadow: var(--md-shadow);
}
.woocommerce-account h2 { font-family: var(--md-font-display); font-size: 1.6rem; margin-bottom: 16px; }
.woocommerce form .form-row label { font-size: 0.85rem; font-weight: 500; color: var(--md-cocoa); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="tel"] {
	width: 100%;
	border: 1px solid var(--md-line);
	border-radius: 9px;
	padding: 12px 14px;
	font-family: var(--md-font-body);
	background: #fff;
}
.woocommerce form .form-row input:focus { border-color: var(--md-gold); outline: none; box-shadow: 0 0 0 3px rgba(198,161,91,.18); }

/* ---------- Página de produto: caixa de compra (buy box ML) ---------- */
.single-product div.product .summary.entry-summary {
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: 14px;
	padding: 26px 26px 30px;
	box-shadow: var(--md-shadow);
}
.single-product div.product form.cart .button { width: 100%; padding: 1em 1.6em !important; font-size: 1.05rem; justify-content: center; }
.single-product div.product .summary .price { margin-bottom: 8px; }

/* Títulos de loja/categoria com a fonte da marca */
.woocommerce-products-header__title,
.page-title { font-family: var(--md-font-display); }

/* ============================================================
   AJUSTES FINAIS — header sem logo e centralizado, paleta enxuta,
   banner full-width, sem a faixa de benefícios.
   (sobrescreve regras anteriores)
   ============================================================ */
body { overflow-x: hidden; } /* evita scroll horizontal por causa do banner 100vw */

/* Linha 1 do header centralizada (sem logo) */
.mella-mlh-top .mella-mlh-wrap { justify-content: center; position: relative; }
.mella-mlh-search { max-width: 860px; }
.mella-mlh-acct { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); }

/* Linha 2 em creme/pérola (remove o 2º dourado "embaralhado") e centralizada */
.mella-mlh-nav { background: var(--md-pearl); border-bottom: 1px solid var(--md-line); }
.mella-mlh-nav .mella-mlh-wrap { justify-content: center; }
.mella-mlh-links a { color: var(--md-coffee); }
.mella-mlh-links a:hover { background: rgba(198,161,91,.16); color: var(--md-terra); }

/* Banner full-width, encostado no header, sem cantos arredondados */
.mella-hero--image {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 0;
	border-radius: 0;
	min-height: 72vh;
}
.mella-hero--image::before { border-radius: 0; }
.home #content .ast-container,
.home .site-content > .ast-container { padding-top: 0; }

@media (max-width: 921px) {
	.mella-mlh-acct { position: static; transform: none; margin-left: auto; }
	.mella-mlh-top .mella-mlh-wrap { justify-content: flex-start; }
	.mella-hero--image { min-height: 58vh; }
}

/* ---------- Carrossel do hero ---------- */
.mella-hero-carousel { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.mella-hero-carousel .mella-hero-slide { display: none; width: 100%; margin: 0; }
.mella-hero-carousel .mella-hero-slide.is-active { display: flex; }
.mella-hero-carousel .mella-hero--image { width: 100%; margin-left: 0; margin-right: 0; }
.mella-hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; gap: 9px; justify-content: center; z-index: 3; }
.mella-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: all .2s; }
.mella-dot.is-active { background: #fff; width: 26px; }
.mella-hero-prev, .mella-hero-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255,255,255,.85); color: var(--md-coffee); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.mella-hero-prev { left: 18px; }
.mella-hero-next { right: 18px; }
.mella-hero-prev:hover, .mella-hero-next:hover { background: #fff; }
@media (max-width: 600px) { .mella-hero-prev, .mella-hero-next { display: none; } }

/* ---------- Dropdown "Todas as categorias" ---------- */
.mella-has-dd { position: relative; }
.mella-dd-caret { font-size: .8em; }
.mella-dd { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--md-line); border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(43,33,29,.16); padding: 8px 0; z-index: 50; }
.mella-has-dd:hover .mella-dd { display: block; }
.mella-dd ul { list-style: none; margin: 0; padding: 0; }
.mella-dd li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; font-size: .86rem; color: var(--md-coffee); }
.mella-dd li a:hover { background: var(--md-pearl); color: var(--md-terra); }
.mella-dd-count { color: #b6a596; font-size: .75rem; }
@media (max-width: 921px) {
	.mella-dd { position: static; box-shadow: none; border: 0; border-radius: 0; min-width: 0; padding: 0 0 6px 14px; background: transparent; }
	.mella-has-dd:hover .mella-dd { display: none; }
}

/* ---------- Harmoniza as faixas da home (paleta enxuta) ---------- */
.mella-cta-band { background: var(--md-pearl); border: 1px solid var(--md-gold-soft); }
.mella-cta-band h2 { color: var(--md-coffee); }
.mella-proof { background: var(--md-pearl); border: 1px solid var(--md-line); color: var(--md-coffee); }
.mella-proof h2 { color: var(--md-coffee); }
.mella-proof-card { background: #fff; border: 1px solid var(--md-line); color: var(--md-coffee); box-shadow: var(--md-shadow); }
.mella-proof-stars { color: var(--md-gold); }

/* ============================================================
   ANIMAÇÕES (com bom gosto, leves no mobile)
   ============================================================ */
html { scroll-behavior: smooth; }

/* Revelar ao rolar (fade-up) */
.mella-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.mella-reveal.mella-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mella-reveal { opacity: 1 !important; transform: none !important; } }

/* Carrossel com cross-fade (em vez de troca seca) */
.mella-hero-track { position: relative; min-height: 72vh; }
.mella-hero-carousel .mella-hero-slide { position: absolute; inset: 0; display: flex !important; opacity: 0; visibility: hidden; transition: opacity .7s ease; }
.mella-hero-carousel .mella-hero-slide.is-active { opacity: 1; visibility: visible; }
@media (max-width: 600px) { .mella-hero-track { min-height: 58vh; } }

/* Dropdown com fade suave */
.mella-dd { transition: opacity .2s ease, transform .2s ease; }
.mella-has-dd .mella-dd { opacity: 0; transform: translateY(6px); }
.mella-has-dd:hover .mella-dd { opacity: 1; transform: none; }

/* Microinterações */
.mella-cat-card, .woocommerce ul.products li.product, .button, .mella-search-btn { will-change: transform; }
.woocommerce ul.products li.product img { transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.woocommerce ul.products li.product:hover img { transform: scale(1.045); }

/* ============================================================
   "Notes" (depoimentos) na cor do header (dourado champagne)
   ============================================================ */
.mella-proof { background: var(--md-gold); border: 0; color: var(--md-coffee); }
.mella-proof h2 { color: var(--md-coffee); }
.mella-proof-card { background: #fff; border: 1px solid rgba(255,255,255,.7); color: var(--md-coffee); box-shadow: 0 10px 26px rgba(43,33,29,.14); }
.mella-proof-stars { color: var(--md-gold); }

/* ============================================================
   BOTÕES na cor do header (dourado champagne) — texto escuro,
   hover cacau. Remove a terracota dos CTAs.
   ============================================================ */
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.single-product div.product form.cart .button {
	background-color: var(--md-gold) !important;
	color: var(--md-coffee) !important;
	border: 0 !important;
}
.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background-color: var(--md-cocoa) !important;
	color: #fff !important;
}

/* ============================================================
   ESQUEMA PRETO + DOURADO MEL
   (preto = cor principal · dourado mel = detalhes/acentos)
   ============================================================ */
:root { --md-ink: #15120F; }

/* Header preto com detalhes dourados */
.mella-mlh-top { background: var(--md-ink); }
.mella-mlh-nav { background: var(--md-ink); border-bottom: 1px solid rgba(198,161,91,.38); }
.mella-mlh-acct a { color: #f2ead9; }
.mella-mlh-acct a:hover { color: var(--md-gold); }
.mella-mlh-count { background: var(--md-gold); color: var(--md-ink); }
.mella-mlh-links a { color: #f2ead9; }
.mella-mlh-links a:hover { background: rgba(255,255,255,.08); color: var(--md-gold); }
.mella-link-strong a { color: #fff; }
.mella-dd-caret { color: var(--md-gold); }

/* Dropdown escuro */
.mella-dd { background: #1d1a16; border-color: rgba(198,161,91,.3); }
.mella-dd li a { color: #f2ead9; }
.mella-dd li a:hover { background: rgba(255,255,255,.07); color: var(--md-gold); }
.mella-dd-count { color: rgba(242,234,217,.5); }

/* Botões: preto com texto e borda dourados; hover invertido */
.button, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce .button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.single-product div.product form.cart .button {
	background-color: var(--md-ink) !important;
	color: #ffffff !important;
	border: 1px solid var(--md-gold) !important;
}
.button:hover, .wp-block-button__link:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce .button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background-color: var(--md-gold) !important;
	color: var(--md-ink) !important;
	border-color: var(--md-gold) !important;
}

/* Links gerais: escuro com hover dourado (sai a terracota) */
a { color: var(--md-cocoa); }
a:hover { color: var(--md-gold); }
.woocommerce-MyAccount-navigation ul li a { color: var(--md-coffee); }
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover { color: var(--md-gold); }

/* Depoimentos: preto com dourado */
.mella-proof { background: var(--md-ink); border: 0; color: #f2ead9; }
.mella-proof h2 { color: #fff; }
.mella-proof-card { background: rgba(255,255,255,.05); border: 1px solid rgba(198,161,91,.28); color: #f2ead9; }
.mella-proof-stars { color: var(--md-gold); }

/* Cupom: claro com moldura dourada (alterna com as faixas pretas) */
.mella-cta-band { background: var(--md-pearl); border: 1px solid var(--md-gold); }
.mella-cta-band h2 { color: var(--md-ink); }

/* Cartões de categoria: hover preto + dourado */
.mella-cat-card:hover { background: var(--md-ink); color: var(--md-gold); }

/* Footer preto, links dourados */
.site-footer, .ast-small-footer, footer.site-footer { background: var(--md-ink) !important; color: #f2ead9 !important; }
.site-footer a { color: var(--md-gold) !important; }
.site-footer a:hover { color: #fff !important; }

/* Botão flutuante "Fale conosco" no esquema preto + dourado */
.mella-whatsapp-float {
	background: var(--md-ink) !important;
	color: #ffffff !important;
	border: 1px solid var(--md-gold);
	box-shadow: 0 8px 22px rgba(0,0,0,.32) !important;
}
.mella-whatsapp-float .mella-wa-icon,
.mella-whatsapp-float .mella-wa-text { color: #ffffff !important; }

/* ============================================================
   FASE 1 — DESIGN SYSTEM (preto dominante + dourado mel)
   ============================================================ */
:root {
	--md-ink:       #11100E;   /* Preto Doura — principal */
	--md-ink-2:     #1A1916;   /* superfície escura secundária */
	--md-cream:     #F4ECDD;   /* texto/conteúdo sobre escuro */
	--md-line-dark: rgba(201,162,74,.24);
	--md-section:   clamp(56px, 7vw, 100px); /* respiro entre seções */
}

/* Home preto-dominante (chrome/seções escuras; cards de produto seguem claros) */
/* Fundo da loja CLARO (pérola). Preto/dourado ficam no chrome e detalhes. */
body, body.home { background: var(--md-pearl); }

/* Títulos de seção escuros, subtítulos dourados */
.mella-section-title { color: var(--md-coffee); margin-top: var(--md-section); }
.mella-section-sub { color: var(--md-gold); }

/* Cartões de categoria claros, hover preto + dourado */
.mella-cat-card { background: #fff; color: var(--md-coffee); border-color: var(--md-line); }
.mella-cat-card:hover { background: var(--md-ink); color: var(--md-gold); }

/* Faixa do cupom clara com moldura dourada */
.mella-cta-band { background: var(--md-pearl) !important; border: 1px solid var(--md-gold) !important; }
.mella-cta-band h2, .mella-cta-band p { color: var(--md-coffee) !important; }

/* Produtos seguem em card claro (fotos têm fundo branco) — legibilidade garantida */
body.home .woocommerce ul.products li.product { background: #fff; }
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--md-coffee); }
body.home .woocommerce ul.products li.product .price { color: var(--md-cocoa); }

/* ===== FASE 2 — Rodapé premium (esconde o rodapé padrão do Astra) ===== */
footer.site-footer { display: none !important; }
.mella-footer { background: var(--md-ink); color: var(--md-cream); border-top: 1px solid var(--md-line-dark); }
.mella-footer-inner { max-width: 1240px; margin: 0 auto; padding: 56px 22px 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.mella-footer-logo { font-family: var(--md-font-display); font-size: 1.7rem; color: #fff; margin-bottom: 12px; }
.mella-footer-brand p { color: rgba(243,235,221,.72); font-size: .92rem; line-height: 1.7; max-width: 320px; }
.mella-footer-social { margin-top: 14px; }
.mella-footer-social a { color: var(--md-gold); font-weight: 600; font-size: .9rem; }
.mella-footer-col h4 { color: #fff; font-family: var(--md-font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.mella-footer-col ul { list-style: none; margin: 0; padding: 0; }
.mella-footer-col li { margin-bottom: 9px; }
.mella-footer-col a { color: rgba(243,235,221,.8); font-size: .9rem; }
.mella-footer-col a:hover { color: var(--md-gold); }
.mella-footer-hours { color: rgba(243,235,221,.6); font-size: .82rem; margin: 14px 0 10px; }
.mella-footer-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mella-footer-pay span { font-size: .72rem; letter-spacing: .03em; color: var(--md-cream); border: 1px solid var(--md-line-dark); border-radius: 5px; padding: 4px 8px; }
.mella-footer-secure { font-size: .8rem; color: var(--md-gold-soft); }
.mella-footer-bottom { border-top: 1px solid var(--md-line-dark); text-align: center; padding: 18px; font-size: .8rem; color: rgba(243,235,221,.6); }
@media (max-width: 880px) { .mella-footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .mella-footer-inner { grid-template-columns: 1fr; text-align: left; } }

/* ===== FASE 2 — Mega menu (dropdown de categorias em 3 colunas) ===== */
.mella-has-dd .mella-dd { min-width: 600px; padding: 18px 20px; border-radius: 0 0 14px 14px; }
.mella-has-dd .mella-dd ul { columns: 3; column-gap: 10px; }
.mella-has-dd .mella-dd li { break-inside: avoid; }
.mella-has-dd .mella-dd li a { padding: 8px 10px; border-radius: 8px; }
@media (max-width: 921px) { .mella-has-dd .mella-dd { min-width: 0; padding: 0 0 6px 14px; } .mella-has-dd .mella-dd ul { columns: 1; } }

/* ===== FASE 2 — Card: 2ª imagem no hover ===== */
.woocommerce ul.products li.product { position: relative; }
.mella-2nd-img {
	position: absolute;
	top: 14px; left: 14px;
	width: calc(100% - 28px);
	border-radius: 10px;
	opacity: 0;
	transition: opacity .4s ease;
	z-index: 2;
	pointer-events: none;
}
.woocommerce ul.products li.product:hover .mella-2nd-img { opacity: 1; }
/* botão de favoritos (wishlist) discreto no card */
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button { margin-top: 8px; }

/* ===== FASE 2 — Carrinho lateral (drawer) ===== */
#mella-cart-overlay { position: fixed; inset: 0; background: rgba(20,17,14,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 1000; }
#mella-cart-overlay.mella-open { opacity: 1; visibility: visible; }
#mella-cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: 384px; max-width: 88vw; background: #fff; z-index: 1001; transform: translateX(100%); transition: transform .32s cubic-bezier(.22,.61,.36,1); display: flex; flex-direction: column; box-shadow: -12px 0 44px rgba(0,0,0,.22); }
#mella-cart-drawer.mella-open { transform: none; }
.mella-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--md-ink); font-family: var(--md-font-display); font-size: 1.3rem; }
.mella-drawer-head span { color: #fff; }
.mella-drawer-close { background: none; border: 0; color: var(--md-gold); font-size: 1.9rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.mella-drawer-body { padding: 18px 22px; overflow-y: auto; flex: 1; }
.mella-drawer-body .woocommerce-mini-cart__total { font-size: 1.05rem; margin: 14px 0; }
.mella-drawer-body .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 8px; }
.mella-drawer-body .woocommerce-mini-cart__buttons .button { width: 100%; text-align: center; margin: 0; }
.mella-drawer-body .woocommerce-mini-cart__empty-message { color: var(--md-cocoa); }

/* ============================================================
   APLICAÇÃO DO DESIGN MELL DOURA — logo no header + tipografia
   ============================================================ */
.mella-mlh-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--md-gold); font-family: var(--md-font-display); font-size: 1.55rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap; text-decoration: none; flex: none; }
.mella-mlh-logo:hover { color: var(--md-gold-soft); }
.mella-logo-spark { color: var(--md-gold); flex: none; }
.mella-mlh-top .mella-mlh-wrap { justify-content: space-between; position: static; gap: 24px; }
.mella-mlh-search { flex: 1; max-width: 620px; }
.mella-mlh-acct { position: static; transform: none; margin-left: 0; }
@media (max-width: 921px) {
	.mella-mlh-logo { font-size: 1.3rem; order: 1; }
	.mella-mlh-acct { order: 2; margin-left: auto; }
	.mella-mlh-search { order: 3; flex-basis: 100%; max-width: none; }
	.mella-mlh-top .mella-mlh-wrap { flex-wrap: wrap; }
}

/* corpo em Jost, títulos em Cormorant (reforço) */
body, .ast-container, button, input, select, textarea { font-family: var(--md-font-body); }
h1, h2, h3, h4, .entry-title, .product_title, .woocommerce-loop-product__title, .mella-section-title { font-family: var(--md-font-display) !important; }

/* ===== FASE 2/3 — Selos de confiança + dúvida + sticky add-to-cart ===== */
.mella-trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }
.mella-trust li { position: relative; padding-left: 20px; font-size: .82rem; color: var(--md-cocoa); }
.mella-trust li::before { content: "✓"; position: absolute; left: 0; color: var(--md-gold); font-weight: 700; }
.mella-wa-ask { margin-top: 14px; font-size: .9rem; }
.mella-wa-ask a { color: var(--md-gold); font-weight: 600; }
.mella-wa-ask a:hover { color: var(--md-cocoa); }

#mella-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; border-top: 1px solid var(--md-line); box-shadow: 0 -6px 20px rgba(0,0,0,.1); display: flex; align-items: center; gap: 12px; padding: 10px 16px; transform: translateY(120%); transition: transform .3s ease; }
#mella-sticky-atc.show { transform: none; }
.mella-sticky-name { font-weight: 600; color: var(--md-coffee); font-size: .9rem; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mella-sticky-price { font-weight: 700; color: var(--md-cocoa); }
.mella-sticky-price .amount { white-space: nowrap; }
.mella-sticky-btn { white-space: nowrap; }
@media (min-width: 769px) { #mella-sticky-atc { display: none; } }

/* ===== FASE 4 — Páginas institucionais (leitura, FAQ, tabelas, 404) ===== */
.entry-content h3 { font-family: var(--md-font-display); color: var(--md-coffee); margin-top: 1.6em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .92rem; }
.entry-content th, .entry-content td { border: 1px solid var(--md-line); padding: 10px 14px; text-align: left; }
.entry-content thead th { background: var(--md-ink); color: var(--md-cream); font-family: var(--md-font-body); font-weight: 500; }
.entry-content tbody tr:nth-child(even) { background: #fff; }

/* FAQ — accordion nativo (details/summary) */
.entry-content details { border: 1px solid var(--md-line); border-radius: 12px; background: #fff; margin: 10px 0; padding: 0 18px; box-shadow: var(--md-shadow); }
.entry-content summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--md-font-display); font-size: 1.15rem; color: var(--md-coffee); display: flex; justify-content: space-between; align-items: center; }
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::after { content: "+"; color: var(--md-gold); font-size: 1.4rem; font-family: var(--md-font-body); }
.entry-content details[open] summary::after { content: "–"; }
.entry-content details[open] summary { border-bottom: 1px solid var(--md-line); }
.entry-content details p { padding: 14px 0; color: var(--md-cocoa); line-height: 1.7; }

/* 404 */
.mella-404 { max-width: 640px; margin: 80px auto; text-align: center; padding: 0 22px; }
.mella-404 h1 { font-family: var(--md-font-display); font-size: clamp(2rem,5vw,3rem); color: var(--md-coffee); margin: 10px 0 14px; }
.mella-404 p { color: var(--md-cocoa); margin-bottom: 20px; }
.mella-404-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.mella-404-cats a { border: 1px solid var(--md-gold); color: var(--md-coffee); border-radius: 999px; padding: 8px 18px; font-size: .85rem; }
.mella-404-cats a:hover { background: var(--md-ink); color: var(--md-gold); }

/* ===== FASE 3 — Barra de filtros da loja ===== */
.mella-filters { background: #fff; border: 1px solid var(--md-line); border-radius: 14px; padding: 18px 22px; margin: 0 0 26px; box-shadow: var(--md-shadow); }
.mella-filters-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; }
.mella-filters .widget { margin: 0; }
.mella-filters .widgettitle, .mella-filters .widget-title { font-family: var(--md-font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--md-cocoa); margin: 0 0 10px; }
.mella-filters .price_slider_wrapper .ui-slider { background: var(--md-line); border-radius: 999px; height: 4px; }
.mella-filters .ui-slider .ui-slider-range { background: var(--md-gold); }
.mella-filters .ui-slider .ui-slider-handle { background: var(--md-ink); border: 2px solid var(--md-gold); border-radius: 999px; width: 16px; height: 16px; top: -7px; }
.mella-filters .price_slider_amount .button { background: var(--md-ink) !important; color: #fff !important; border: 1px solid var(--md-gold) !important; padding: .6em 1.4em !important; }
.mella-filters .price_label { color: var(--md-cocoa); font-size: .85rem; }
.mella-filters .woocommerce-widget-layered-nav-list, .mella-filters ul { list-style: none; margin: 0; padding: 0; }
/* contagem de resultados + ordenação mais elegantes */
.woocommerce-result-count { color: var(--md-cocoa); font-size: .88rem; }
.woocommerce-ordering select { border: 1px solid var(--md-line); border-radius: 8px; padding: 8px 12px; font-family: var(--md-font-body); background: #fff; }
@media (max-width: 600px) { .mella-filters-inner { gap: 18px; } }

/* ===== Acessibilidade: foco visível ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .mella-mlh-links a:focus-visible { outline: 2px solid var(--md-gold); outline-offset: 2px; }

/* ===== Logo Mell Doura — Fredoka empilhado + gota de mel (design v2) ===== */
:root { --md-font-logo: 'Fredoka', var(--md-font-body); }
.mella-mlh-logo { font-family: var(--md-font-logo) !important; color: var(--md-gold); gap: 9px; align-items: center; }
.mella-mlh-logo .mella-logo-drop { color: var(--md-gold); flex: none; }
.mella-mlh-logo .mella-logo-text { font-family: var(--md-font-logo); font-weight: 600; letter-spacing: -.02em; line-height: .82; font-size: 1.15rem; text-transform: lowercase; text-align: left; }
.mella-mlh-logo:hover { color: var(--md-gold-soft); }
.mella-footer-logo { font-family: var(--md-font-logo) !important; font-weight: 600; letter-spacing: -.02em; text-transform: lowercase; color: var(--md-gold); display: inline-flex; align-items: center; }
@media (max-width: 921px) { .mella-mlh-logo .mella-logo-text { font-size: 1rem; } }

/* ============================================================
   LOGO maior e alinhado + ANIMAÇÕES PREMIUM
   ============================================================ */
.mella-mlh-top .mella-mlh-wrap { align-items: center; }
.mella-mlh-logo { align-items: center; gap: 12px; }
.mella-mlh-logo .mella-logo-drop { width: 36px; height: 44px; }
.mella-mlh-logo .mella-logo-text { font-size: 1.7rem; line-height: .78; }
@media (max-width: 921px) {
	.mella-mlh-logo .mella-logo-drop { width: 28px; height: 34px; }
	.mella-mlh-logo .mella-logo-text { font-size: 1.3rem; }
}
/* gota "pulsa" de leve sempre, e balança no hover do logo */
.mella-mlh-logo .mella-logo-drop { animation: mella-drop-glow 3.6s ease-in-out infinite; transform-origin: center; }
.mella-mlh-logo:hover .mella-logo-drop { animation: mella-bob .6s ease; }
@keyframes mella-drop-glow { 0%,100% { opacity: 1; } 50% { opacity: .72; } }
@keyframes mella-bob { 0%,100% { transform: translateY(0); } 45% { transform: translateY(-4px) scale(1.06); } }

/* Botões — brilho dourado deslizante no hover */
.button, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce .button,
.single_add_to_cart_button, .mella-search-btn { position: relative; overflow: hidden; }
.button::after, .woocommerce a.button::after, .woocommerce button.button::after,
.woocommerce .button::after, .single_add_to_cart_button::after {
	content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
	transform: skewX(-18deg); transition: left .6s ease; pointer-events: none;
}
.button:hover::after, .woocommerce a.button:hover::after, .woocommerce button.button:hover::after,
.woocommerce .button:hover::after, .single_add_to_cart_button:hover::after { left: 130%; }

/* Cards de produto — hover premium (elevação + sombra + borda dourada) */
.woocommerce ul.products li.product { transition: transform .38s cubic-bezier(.22,.61,.36,1), box-shadow .38s ease, border-color .38s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-7px); box-shadow: 0 24px 54px rgba(17,16,14,.18); border-color: var(--md-gold-soft); }

/* Cartões de categoria — hover com leve escala */
.mella-cat-card { transition: transform .35s cubic-bezier(.22,.61,.36,1), background .3s ease, color .3s ease, box-shadow .35s ease; }
.mella-cat-card:hover { transform: translateY(-5px) scale(1.015); box-shadow: 0 20px 44px rgba(17,16,14,.16); }

/* Menu — underline dourado que cresce */
.mella-mlh-links > li:not(.mella-has-dd) > a { position: relative; }
.mella-mlh-links > li:not(.mella-has-dd) > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1px;
	background: var(--md-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.mella-mlh-links > li:not(.mella-has-dd) > a:hover::after { transform: scaleX(1); }

/* Hero — Ken Burns lento na imagem do slide ativo */
.mella-hero-carousel .mella-hero-slide.is-active.mella-hero--image { animation: mella-kenburns 16s ease-out both; }
@keyframes mella-kenburns { from { background-size: 106%; } to { background-size: 118%; } }
/* texto re-anima a cada troca de slide (entrada premium escalonada) */
.mella-hero-slide.is-active .mella-eyebrow { animation: mella-hero-in .9s cubic-bezier(.22,.61,.36,1) both; }
.mella-hero-slide.is-active h1 { animation: mella-hero-in 1s cubic-bezier(.22,.61,.36,1) .1s both; }
.mella-hero-slide.is-active p { animation: mella-hero-in 1s cubic-bezier(.22,.61,.36,1) .22s both; }
.mella-hero-slide.is-active .button { animation: mella-hero-in 1s cubic-bezier(.22,.61,.36,1) .34s both; }
@keyframes mella-hero-in { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes mella-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* barra de progresso do autoplay (dourada) */
.mella-hero-carousel { overflow: hidden; }
.mella-hero-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--md-gold), var(--md-gold-soft)); z-index: 4; }
@keyframes mella-prog { from { width: 0; } to { width: 100%; } }
/* dots refinados */
.mella-hero-dots { bottom: 26px; }

/* Reveal com leve stagger nos grids */
.mella-cat-grid .mella-cat-card:nth-child(2) { transition-delay: .06s; }
.mella-cat-grid .mella-cat-card:nth-child(3) { transition-delay: .12s; }
.mella-cat-grid .mella-cat-card:nth-child(4) { transition-delay: .18s; }
.mella-cat-grid .mella-cat-card:nth-child(5) { transition-delay: .24s; }
.mella-cat-grid .mella-cat-card:nth-child(6) { transition-delay: .30s; }
.woocommerce ul.products li.product:nth-child(2) { transition-delay: .05s; }
.woocommerce ul.products li.product:nth-child(3) { transition-delay: .10s; }
.woocommerce ul.products li.product:nth-child(4) { transition-delay: .15s; }

/* Página de produto — entrada premium */
.single-product div.product .woocommerce-product-gallery { animation: mella-fade-up .8s cubic-bezier(.22,.61,.36,1) both; }
.single-product div.product .summary.entry-summary { animation: mella-fade-up .8s cubic-bezier(.22,.61,.36,1) .12s both; }
.single-product div.product .woocommerce-tabs, .single-product .related.products { animation: mella-fade-up .8s ease .2s both; }
.single-product .summary .single_add_to_cart_button { transition: transform .2s ease, background-color .25s ease, color .25s ease; }
.single-product .summary .single_add_to_cart_button:hover { transform: translateY(-2px); }

/* Acessibilidade: respeitar redução de movimento */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ============================================================
   LOGO PREMIUM — linha única, dourado metálico com shimmer
   (sobrescreve o lockup empilhado anterior)
   ============================================================ */
.mella-mlh-logo { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.mella-mlh-logo .mella-logo-drop { width: 30px; height: 36px; flex: none; animation: none; filter: drop-shadow(0 2px 7px rgba(201,162,74,.35)); }
.mella-mlh-logo:hover .mella-logo-drop { animation: mella-bob .6s ease; }
.mella-mlh-logo .mella-logo-text {
	font-family: var(--md-font-logo);
	font-weight: 600;
	font-size: 2rem;
	line-height: 1;
	letter-spacing: -0.012em;
	text-transform: lowercase;
	white-space: nowrap;
	color: var(--md-gold);
	background: linear-gradient(100deg, #EFE3CC 0%, #C9A24A 28%, #F6ECD2 48%, #B88A2E 70%, #EFE3CC 100%);
	background-size: 240% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: mella-logo-shimmer 7s linear infinite;
}
@keyframes mella-logo-shimmer { to { background-position: 240% center; } }
@media (max-width: 921px) {
	.mella-mlh-logo .mella-logo-text { font-size: 1.5rem; }
	.mella-mlh-logo .mella-logo-drop { width: 26px; height: 31px; }
}
.mella-whatsapp-float:hover { background: var(--md-gold) !important; color: var(--md-ink) !important; }

/* ============================================================
   v4.9 — hairline dourada no header, Minha Conta + páginas premium,
   Central de Ajuda
   ============================================================ */

/* Linha dourada elegante entre a linha 1 (logo/busca) e a nav */
.mella-mlh-top { position: relative; }
.mella-mlh-top::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201,162,74,.65) 16%, rgba(201,162,74,.65) 84%, transparent);
}
.mella-mlh-nav { border-bottom-color: rgba(201,162,74,.18); }

/* Páginas em geral — leitura premium (não-home) */
.page:not(.home) .entry-content, .single-post .entry-content,
.woocommerce-page:not(.home) .entry-content { max-width: 880px; }
/* A home tem classe woocommerce-page (usa shortcodes de produto): NÃO pode
   ser limitada a 880px, senão hero/categorias encolhem e vazam pra esquerda. */
body.home .entry-content { max-width: none !important; width: 100% !important; margin: 0 !important; }
.entry-content { font-size: 1.02rem; line-height: 1.8; color: var(--md-cocoa); }
.entry-content > h2 { font-family: var(--md-font-display); color: var(--md-coffee); font-size: clamp(1.6rem,3vw,2.2rem); margin-top: 1.4em; }
.entry-content > p:first-of-type { font-size: 1.1rem; color: var(--md-coffee); }
.ast-separate-container .ast-article-single { border-radius: 16px; }

/* Minha Conta — layout premium (logado) */
body.logged-in.woocommerce-account .woocommerce { display: flex; gap: 34px; flex-wrap: wrap; align-items: flex-start; }
body.logged-in .woocommerce-MyAccount-navigation { flex: 0 0 240px; background: var(--md-ink); border-radius: 16px; padding: 14px; box-shadow: var(--md-shadow); }
body.logged-in .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
body.logged-in .woocommerce-MyAccount-navigation li { margin: 0; }
body.logged-in .woocommerce-MyAccount-navigation li a { display: block; padding: 13px 16px; border-radius: 10px; color: var(--md-cream); font-size: .92rem; border: 0; }
body.logged-in .woocommerce-MyAccount-navigation li.is-active a,
body.logged-in .woocommerce-MyAccount-navigation li a:hover { background: rgba(201,162,74,.16); color: var(--md-gold); }
body.logged-in .woocommerce-MyAccount-content { flex: 1; min-width: 300px; background: #fff; border: 1px solid var(--md-line); border-radius: 16px; padding: 30px; box-shadow: var(--md-shadow); }
.woocommerce-account .woocommerce-MyAccount-content a { color: var(--md-gold); }

/* Central de Ajuda */
.mella-help-hero { text-align: center; padding: 54px 20px 6px; }
.mella-help-hero h1 { font-family: var(--md-font-display); font-size: clamp(2.1rem,5.5vw,3.2rem); color: var(--md-coffee); margin: 8px 0 12px; }
.mella-help-hero p { color: var(--md-cocoa); max-width: 560px; margin: 0 auto; }
.mella-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 18px; margin: 34px 0 54px; }
.mella-help-card { background: #fff; border: 1px solid var(--md-line); border-radius: 16px; padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 5px; box-shadow: var(--md-shadow); transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s; }
.mella-help-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(17,16,14,.15); border-color: var(--md-gold-soft); }
.mella-help-ico { font-size: 1.7rem; color: var(--md-gold); line-height: 1; }
.mella-help-card strong { font-family: var(--md-font-display); font-size: 1.3rem; color: var(--md-coffee); }
.mella-help-card small { color: var(--md-cocoa); font-size: .88rem; }
.mella-help-contact { background: var(--md-ink); color: var(--md-cream); border-radius: 18px; padding: 46px 30px; text-align: center; margin: 44px 0; }
.mella-help-contact h2 { color: #fff; font-family: var(--md-font-display); }
.mella-help-contact p { color: rgba(243,235,221,.85); }

/* ============================================================
   v5.0 — Banner rotativo + Glassmorphism + cantos arredondados
   ============================================================ */

/* Cantos mais suaves em todo o site (acolhedor) */
:root { --md-radius: 20px; }
.woocommerce ul.products li.product img { border-radius: 16px; }
.mella-mlh-search { border-radius: 16px; }
.mella-filters, .mella-help-card, .woocommerce-MyAccount-content,
.mella-proof-card, .mella-cat-card, .entry-content details,
.woocommerce #respond input#submit, .ast-separate-container .ast-article-single { border-radius: 20px; }
.woocommerce-account .col-1, .woocommerce-account .col-2 { border-radius: 20px; }

/* Banner fininho rotativo (entre header e hero) */
.mella-ann { background: var(--md-ink); }
.mella-ann-track { position: relative; height: 40px; max-width: 1240px; margin: 0 auto; }
.mella-ann-item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: .82rem; letter-spacing: .05em; color: var(--md-gold-soft); opacity: 0; transform: translateY(7px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.mella-ann-item.on { opacity: 1; transform: none; }

/* Glassmorphism — header em vidro fosco */
.mella-mlh-top { background: rgba(17,16,14,.74); -webkit-backdrop-filter: blur(16px) saturate(125%); backdrop-filter: blur(16px) saturate(125%); }
.mella-mlh-nav { background: rgba(17,16,14,.6); -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%); }

/* Dropdown de categorias — painel de vidro flutuante, arredondado */
.mella-dd { background: rgba(26,25,22,.88) !important; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(201,162,74,.28); border-radius: 18px !important; margin-top: 8px; }

/* Carrinho lateral — cantos arredondados + leve vidro no topo */
#mella-cart-drawer { border-top-left-radius: 22px; border-bottom-left-radius: 22px; }
.mella-drawer-head { border-top-left-radius: 22px; }

/* Busca — input mais macio */
.mella-mlh-search { box-shadow: 0 4px 18px rgba(17,16,14,.18); }
.mella-mlh-search:focus-within { box-shadow: 0 6px 22px rgba(201,162,74,.28); }

/* ============================================================
   v5.1 — CORREÇÃO DE ALINHAMENTO + ajustes premium
   ============================================================ */

/* 1) Mata o full-bleed 100vw (causava overflow horizontal e desalinhamento).
      O hero passa a ser contido e arredondado, alinhado com o resto. */
html, body { overflow-x: clip; }
.mella-hero-carousel {
	width: auto !important;
	margin: 24px 0 44px !important;
	border-radius: 24px;
	overflow: hidden;
}
.mella-hero--image { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; border-radius: 24px; }
.mella-hero-carousel .mella-hero--image { width: 100% !important; }

/* 2) Setas do carrossel on-brand (corrige o azul/quadrado) */
.mella-hero-prev, .mella-hero-next {
	background: rgba(17,16,14,.5) !important;
	color: #fff !important;
	border: 1px solid rgba(255,255,255,.45) !important;
	width: 46px; height: 46px;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mella-hero-prev:hover, .mella-hero-next:hover { background: var(--md-gold) !important; color: var(--md-ink) !important; border-color: var(--md-gold) !important; }

/* 3) Header em vidro MAIS escuro */
.mella-mlh-top { background: rgba(17,16,14,.92) !important; }
.mella-mlh-nav { background: rgba(17,16,14,.85) !important; }

/* 4) Faixa de benefícios sólida e robusta */
.mella-ann { background: var(--md-ink); border-bottom: 1px solid rgba(201,162,74,.18); }
.mella-ann-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 34px; padding: 13px 20px; }
.mella-ann-item { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; letter-spacing: .03em; color: var(--md-cream); white-space: nowrap; }
.mella-ann-ico { color: var(--md-gold); font-style: normal; font-size: .95rem; line-height: 1; }
@media (max-width: 680px) { .mella-ann-inner { gap: 8px 18px; padding: 11px 14px; } .mella-ann-item { font-size: .72rem; } .mella-ann-item:nth-child(n+4) { display: none; } }

/* 5) Barra de perfil (Minha Conta) — premium, sem as bordas feias */
body.logged-in .woocommerce-MyAccount-navigation { padding: 12px; }
body.logged-in .woocommerce-MyAccount-navigation ul { border: 0 !important; }
body.logged-in .woocommerce-MyAccount-navigation ul li { border: 0 !important; margin: 0 0 3px !important; }
body.logged-in .woocommerce-MyAccount-navigation ul li a { border: 0 !important; padding: 13px 16px; border-radius: 12px; color: var(--md-cream); font-weight: 500; }
body.logged-in .woocommerce-MyAccount-navigation ul li.is-active a,
body.logged-in .woocommerce-MyAccount-navigation ul li a:hover { background: rgba(201,162,74,.18); color: var(--md-gold); }
.woocommerce-account .woocommerce-MyAccount-content { color: var(--md-coffee); }

/* ============================================================
   v5.2 — ALINHAMENTO GERAL (conteúdo = header = rodapé) +
   fonte Inter forçada + glass no rodapé + perfil premium
   ============================================================ */

/* 1) Desliga o "box layout" do Astra e unifica a largura do conteúdo */
body.ast-box-layout #page { max-width: 100% !important; box-shadow: none !important; background: var(--md-pearl) !important; }
.site-content > .ast-container,
.ast-narrow-container .site-content > .ast-container,
.ast-separate-container .site-content > .ast-container {
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 22px !important;
	padding-right: 22px !important;
}
.mella-mlh-wrap, .mella-footer-inner, .mella-ann-inner { max-width: 1280px; }

/* 2) Fonte Inter no corpo (força sobre o Astra) */
body, button, input, select, textarea, .ast-container,
.entry-content, .woocommerce, p, li, td, th, label, .price, .menu-link {
	font-family: var(--md-font-body) !important;
}
h1, h2, h3, h4, .entry-title, .product_title, .woocommerce-loop-product__title,
.mella-section-title, .mella-help-hero h1, .mella-footer-logo, .mella-mlh-logo .mella-logo-text {
	font-family: var(--md-font-display) !important;
}
.mella-mlh-logo .mella-logo-text { font-family: var(--md-font-logo) !important; }

/* 3) Rodapé com vidro fosco (consistente com o header) + hairline dourada */
.mella-footer { position: relative; background: rgba(17,16,14,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mella-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,74,.6) 18%, rgba(201,162,74,.6) 82%, transparent); }

/* 4) Minha Conta — premium de verdade */
body.logged-in.woocommerce-account .woocommerce { display: flex; gap: 34px; flex-wrap: wrap; align-items: flex-start; }
body.logged-in .woocommerce-MyAccount-navigation { flex: 0 0 250px; background: var(--md-ink); border-radius: 20px; padding: 16px; box-shadow: 0 18px 44px rgba(17,16,14,.18); }
body.logged-in .woocommerce-MyAccount-navigation ul { list-style: none !important; margin: 0; padding: 0; }
body.logged-in .woocommerce-MyAccount-navigation ul li { border: 0 !important; margin: 0 0 4px !important; padding: 0 !important; list-style: none !important; }
body.logged-in .woocommerce-MyAccount-navigation ul li a { display: block; border: 0 !important; padding: 13px 18px; border-radius: 12px; color: var(--md-cream); font-weight: 500; font-size: .92rem; transition: background .2s, color .2s; }
body.logged-in .woocommerce-MyAccount-navigation ul li.is-active a,
body.logged-in .woocommerce-MyAccount-navigation ul li a:hover { background: rgba(201,162,74,.16); color: var(--md-gold); }
body.logged-in .woocommerce-MyAccount-content { flex: 1; min-width: 300px; background: #fff; border: 1px solid var(--md-line); border-radius: 20px; padding: 34px; box-shadow: var(--md-shadow); color: var(--md-coffee); }
body.logged-in .woocommerce-MyAccount-content a { color: var(--md-gold); }
body.logged-in .woocommerce-MyAccount-content a:hover { color: var(--md-cocoa); }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address, .woocommerce-account address { border-radius: 14px; }

/* ============================================================
   v5.3 — HERO: corrige imagem duplicada/estourada (slides
   empilhavam por min-height:72vh). Agora sobrepostos de verdade,
   altura previsível por aspect-ratio, contido e alinhado.
   ============================================================ */
.mella-hero-carousel {
	position: relative;
	width: 100% !important;
	max-width: 100%;
	margin: 0 0 52px !important;
	border-radius: 22px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	box-shadow: 0 34px 70px -34px rgba(17,16,14,.55);
}
.mella-hero-track {
	position: absolute !important;
	inset: 0;
	min-height: 0 !important;
	height: 100%;
}
.mella-hero-carousel .mella-hero-slide {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100%;
	min-height: 0 !important;
	margin: 0 !important;
	display: flex !important;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease;
	border-radius: 22px;
}
.mella-hero-carousel .mella-hero-slide.is-active { opacity: 1; visibility: visible; }
.mella-hero-carousel .mella-hero--image {
	background-size: cover !important;
	background-position: center 20% !important;
	background-repeat: no-repeat !important;
}
@media (max-width: 700px) {
	.mella-hero-carousel { aspect-ratio: 3 / 4; }
	.mella-hero-carousel .mella-hero--image { background-position: center 16% !important; padding: 40px 22px !important; }
	.mella-hero-carousel .mella-hero--image h1 { font-size: 2rem; }
}

/* ============================================================
   v5.4 — DE-IA (auditoria de design): tira a cara de IA/genérico.
   Ícones SVG, logo estático, superfícies sólidas, sombra real em
   2 camadas, raio sóbrio, menos movimento, ouro tonal, hero editorial.
   ============================================================ */
:root {
	--md-radius: 12px;
	--md-shadow: 0 1px 2px rgba(17,16,14,.06), 0 10px 26px -8px rgba(17,16,14,.12);
	--md-shadow-hover: 0 2px 5px rgba(17,16,14,.08), 0 18px 40px -12px rgba(17,16,14,.16);
	--gold-hi: #E6CE94;
	--gold-deep: #9B7A2E;
}

/* 1) Ícones de linha (SVG) no lugar dos emojis */
.mella-ico { display: inline-block; vertical-align: middle; }
.mella-ann-ico { display: inline-flex; align-items: center; justify-content: center; color: var(--md-gold); }
.mella-footer-secure { display: inline-flex; align-items: center; gap: 7px; }
.mella-footer-secure .mella-ico { color: var(--md-gold); }

/* 2) Logo estático (mata o shimmer animado — tell de cripto/IA) */
.mella-mlh-logo .mella-logo-text {
	animation: none !important;
	background: linear-gradient(180deg, #E9C977 0%, #C9A24A 55%, #A9842F 100%) !important;
	background-size: 100% 100% !important;
	-webkit-background-clip: text !important; background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	color: #D8B25E; /* fallback se o clip não for suportado: texto dourado sólido */
}

/* 3) Superfícies sólidas (o glass sobre preto não aparecia, só custava GPU) */
.mella-mlh-top { background: #11100E !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.mella-mlh-nav { background: #15140F !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.mella-footer  { background: #11100E !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.mella-dd { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* 4) Corta excesso de movimento (mantém fade-up + 2ª imagem no hover) */
.mella-hero-carousel .mella-hero-slide.is-active.mella-hero--image { animation: none !important; }
.mella-hero-progress { display: none !important; }
.button::after, .woocommerce a.button::after, .woocommerce button.button::after,
.woocommerce .button::after, .single_add_to_cart_button::after { display: none !important; }

/* 5) Hero editorial: raio sóbrio, overlay com profundidade, texto embaixo-esquerda */
.mella-hero-carousel, .mella-hero-carousel .mella-hero-slide { border-radius: 16px !important; }
.mella-hero--image::before {
	background: linear-gradient(to top right, rgba(17,16,14,.82) 0%, rgba(17,16,14,.42) 34%, rgba(17,16,14,.08) 60%, rgba(17,16,14,0) 80%) !important;
	border-radius: 16px !important;
}
.mella-hero-carousel .mella-hero-slide.mella-hero--image {
	justify-content: center !important;
	align-items: flex-start !important;
	text-align: left !important;
	padding: 40px 0 !important;
}
.mella-hero-carousel .mella-hero--image > * { width: 100%; max-width: 600px; padding-left: 96px; }
/* mata os <p> vazios e <br> que o wpautop injeta e esticam o bloco */
.mella-hero--image > p:empty, .mella-hero--image br { display: none !important; }
.mella-hero--image .mella-eyebrow { margin-bottom: 10px !important; }
.mella-hero--image h1 { letter-spacing: 0 !important; font-weight: 500; margin: 0 0 14px !important; line-height: 1.02; }
.mella-hero--image .mella-eyebrow { color: var(--gold-hi); }
@media (max-width: 700px) {
	.mella-hero-carousel .mella-hero--image > * { padding-left: 24px; padding-right: 24px; max-width: 100%; }
}

/* 6) "Por que comprar": ícone premium em círculo, card menos flat */
.mella-proof-card { background: #16140F !important; border: 1px solid rgba(201,162,74,.20) !important; box-shadow: none !important; border-radius: var(--md-radius) !important; padding: 38px 26px !important; }
.mella-proof-card p { color: rgba(248,244,236,.84) !important; line-height: 1.62; margin: 0; }
.mella-proof-stars { color: var(--md-gold) !important; display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin: 0 auto 18px !important; border-radius: 999px; border: 1px solid rgba(201,162,74,.32); background: radial-gradient(circle at 50% 32%, rgba(201,162,74,.14), transparent 70%); letter-spacing: 0 !important; }
.mella-proof-stars .mella-ico { width: 30px; height: 30px; }

/* 7) Sombra real (2 camadas) nos hovers */
.mella-cat-card:hover, .mella-help-card:hover,
.woocommerce ul.products li.product:hover { box-shadow: var(--md-shadow-hover) !important; }

/* 8) Ouro tonal: preço sólido (sem mostarda chapado) */
.woocommerce .price, .woocommerce ul.products li.product .price { color: var(--md-coffee) !important; font-weight: 700; }

/* 9) Cormorant mais leve nos títulos grandes (o charme está no 400-500) */
.mella-section-title, .mella-hero--image h1, .mella-proof h2, .mella-help-hero h1 {
	font-weight: 500 !important; letter-spacing: 0 !important;
}

/* v5.4.4 — setas: uma de cada lado, centralizadas, círculos limpos.
   O texto fica num quadro à esquerda com 96px de respiro, então a seta
   esquerda (gutter ~16-62px) nunca encosta no título. */
.mella-hero-prev, .mella-hero-next { top: 50% !important; bottom: auto !important; transform: translateY(-50%) !important; width: 46px !important; height: 46px !important; border-radius: 999px !important; }
.mella-hero-prev { left: 16px !important; right: auto !important; }
.mella-hero-next { right: 16px !important; left: auto !important; }
.mella-hero-dots { bottom: 26px !important; }

/* ============================================================
   v5.5.1 — ajustes: logo só texto, faixa de benefícios visível
   (preenche o vão header→hero), home cola o hero embaixo da faixa
   ============================================================ */

/* Logo só com o nome (gota removida do markup) */
.mella-mlh-logo { gap: 0 !important; }

/* Faixa de benefícios SÓLIDA e visível — mata os resquícios da versão rotativa */
.mella-ann { background: #15140F; border-top: 1px solid rgba(201,162,74,.14); border-bottom: 1px solid rgba(201,162,74,.14); }
.mella-ann-track { display: none !important; }
.mella-ann-inner { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 11px 40px; max-width: 1280px; margin: 0 auto; padding: 14px 22px; }
.mella-ann-item { position: static !important; inset: auto !important; opacity: 1 !important; transform: none !important; display: inline-flex !important; align-items: center; gap: 9px; font-size: .82rem; letter-spacing: .04em; color: var(--md-cream); white-space: nowrap; }
.mella-ann-ico { display: inline-flex !important; align-items: center; color: var(--md-gold); }
@media (max-width: 860px) { .mella-ann-item:nth-child(n+4) { display: none !important; } }

/* Home: tira o cabeçalho de página vazio e cola o hero logo abaixo da faixa */
body.home .entry-header { display: none !important; }
body.home #content > .ast-container { padding-top: 20px !important; padding-bottom: 36px !important; }

/* ============================================================
   v5.5.1 — Minha Conta: conteúdo arrumadinho (endereços/forms)
   (a navegação lateral já estava boa; aqui é o conteúdo)
   ============================================================ */

/* Endereços: grid de 2 cards limpos, sem bordas aninhadas */
.woocommerce-MyAccount-content .woocommerce-Addresses { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.woocommerce-MyAccount-content .woocommerce-Address { width: auto !important; float: none !important; border: 1px solid var(--md-line) !important; border-radius: 14px !important; padding: 22px !important; background: #fff !important; margin: 0 !important; }
.woocommerce-MyAccount-content .woocommerce-Address header,
.woocommerce-MyAccount-content .woocommerce-Address address { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
.woocommerce-MyAccount-content .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.woocommerce-MyAccount-content .woocommerce-Address-title h2 { font-size: 1.12rem; margin: 0; }
.woocommerce-MyAccount-content .woocommerce-Address-title .edit { font-size: .8rem; white-space: nowrap; color: var(--md-gold) !important; font-style: normal; font-family: var(--md-font-body); }
.woocommerce-MyAccount-content address { font-style: normal !important; color: var(--md-cocoa); line-height: 1.6; font-size: .92rem; }
@media (max-width: 680px) { .woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: 1fr !important; } }

/* Conteúdo geral da conta: respiro e títulos consistentes */
.woocommerce-MyAccount-content > p { color: var(--md-cocoa); line-height: 1.7; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content fieldset legend { font-family: var(--md-font-display); color: var(--md-coffee); }
.woocommerce-MyAccount-content .woocommerce-MyAccount-content a:not(.button):not(.edit) { color: var(--md-gold); }
/* Formulário de detalhes: 2 colunas para nome/sobrenome, campos consistentes */
.woocommerce-EditAccountForm .woocommerce-form-row { margin-bottom: 16px; }
.woocommerce-EditAccountForm fieldset { border: 1px solid var(--md-line); border-radius: 14px; padding: 18px 20px; margin-top: 24px; }

/* v5.5.2 — aperta o vão entre a faixa de benefícios e o hero (era ~80px) */
body.home #content > .ast-container { padding-top: 24px !important; padding-bottom: 36px !important; }
body.home #primary, body.home #main, body.home .ast-article-single { padding-top: 0 !important; margin-top: 0 !important; }
body.home .entry-content, body.home .ast-article-single > .entry-content { padding-top: 0 !important; margin-top: 0 !important; }

/* v5.5.3 — mata o clearfix ::before/::after do Woo que vira célula fantasma no grid (endereços diagonais) */
.woocommerce-MyAccount-content .woocommerce-Addresses::before,
.woocommerce-MyAccount-content .woocommerce-Addresses::after { display: none !important; content: none !important; }
.woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: 1fr 1fr !important; align-items: start; }

/* ============================================================
   v5.5.4 — Minha Conta: tira o contorno pontilhado do foco,
   cards de endereço com altura igual, sem vazão branco
   ============================================================ */

/* Foco limpo na navegação da conta (mata a borda dotted do Astra) */
body.logged-in .woocommerce-MyAccount-navigation ul li a:focus,
body.logged-in .woocommerce-MyAccount-navigation ul li a:focus-visible,
body.logged-in .woocommerce-MyAccount-navigation ul li a:active {
	border: 0 !important; outline: none !important; box-shadow: none !important;
	background: rgba(201,162,74,.16); color: var(--md-gold) !important;
}

/* Conteúdo da conta não estica até a altura do menu (sem vazão branco embaixo) */
body.logged-in.woocommerce-account .woocommerce { align-items: flex-start !important; }
body.logged-in .woocommerce-MyAccount-content { align-self: flex-start; }

/* Endereços: cards com a MESMA altura, alinhados */
.woocommerce-MyAccount-content .woocommerce-Addresses { align-items: stretch !important; }

/* ============================================================
   v5.6 — Painel "Minha Conta" premium (saudação + cards de ação)
   ============================================================ */
body.mella-acc-dashboard .woocommerce-MyAccount-content > p { display: none !important; }

.mella-acc-hello { margin: 0 0 24px; }
.mella-acc-hello .mella-eyebrow { display: block; font-family: var(--md-font-body); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--gold-deep); margin-bottom: 8px; }
.mella-acc-hello h2 { font-family: var(--md-font-display); font-weight: 500; color: var(--md-coffee); font-size: 1.9rem; margin: 0 0 6px; letter-spacing: 0; }
.mella-acc-hello p { color: var(--md-cocoa); margin: 0; line-height: 1.6; max-width: 52ch; }

.mella-acc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mella-acc-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px; border: 1px solid var(--md-line); border-radius: 14px; background: #fff; text-decoration: none; transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s, border-color .25s; }
.mella-acc-card:hover { transform: translateY(-3px); border-color: rgba(201,162,74,.5); box-shadow: var(--md-shadow-hover); }
.mella-acc-card-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--md-gold); background: radial-gradient(circle at 50% 35%, rgba(201,162,74,.16), rgba(201,162,74,.06)); border: 1px solid rgba(201,162,74,.22); margin-bottom: 12px; }
.mella-acc-card-tt { font-family: var(--md-font-display); font-size: 1.18rem; color: var(--md-coffee); line-height: 1.1; }
.mella-acc-card-sub { font-size: .85rem; color: #9b8e7e; }
@media (max-width: 700px) { .mella-acc-cards { grid-template-columns: 1fr; } .mella-acc-hello h2 { font-size: 1.6rem; } }

/* v5.6.1 — Endereços: colunas REALMENTE iguais (min-width:0) + tudo à esquerda */
.woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: 1fr 1fr !important; }
.woocommerce-MyAccount-content .woocommerce-Address { min-width: 0 !important; }
.woocommerce-MyAccount-content .woocommerce-Address-title,
.woocommerce-MyAccount-content .woocommerce-Address-title h2,
.woocommerce-MyAccount-content .woocommerce-Address-title h3,
.woocommerce-MyAccount-content .woocommerce-Address address { text-align: left !important; }
.woocommerce-MyAccount-content .woocommerce-Address-title { display: block !important; margin-bottom: 6px; }
.woocommerce-MyAccount-content .woocommerce-Address-title h2,
.woocommerce-MyAccount-content .woocommerce-Address-title h3 { margin: 0 0 8px !important; font-size: 1.1rem; }
.woocommerce-MyAccount-content .woocommerce-Address-title .edit { display: inline-block; margin-bottom: 12px; }

/* v5.6.2 — título do card de endereço à esquerda (alinha com link e texto) */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address * { text-align: left !important; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 { text-align: left !important; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address .edit { margin-left: 0 !important; padding-left: 0 !important; }

/* v5.6.3 — link "Adicionar/Editar" do endereço: tira o float:right do Astra
   (estava estourando pra fora do card). Vira link normal abaixo do título. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
	float: none !important; display: inline-block !important; width: auto !important;
	margin: 0 0 14px !important; padding: 0 !important; font-size: .85rem;
}
