/* Mafalda Agante – loja de eBooks. Design system leve, sem dependências. */

@font-face { font-family: "DM Serif Display"; src: url(../fonts/DMSerifDisplay-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url(../fonts/DMSerifDisplay-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/DMSans-normal.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
	--cream: #FBF7F1;
	--tint: #F5ECE0;
	--paper: #FFFFFF;
	--ink: #2B1D14;
	--ink-2: #5E4B3E;
	--line: #E8DCCB;
	--gold: #C29E63;
	--gold-ink: #765828;
	--cocoa: #3B2414;
	--cocoa-2: #5A3A24;
	--berry: #A8402B;
	--ok: #2F6B45;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(43, 29, 20, .06), 0 8px 24px -12px rgba(43, 29, 20, .18);
	--shadow-lg: 0 2px 4px rgba(43, 29, 20, .06), 0 24px 48px -20px rgba(43, 29, 20, .30);
	--serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1180px;
	--gutter: 16px;
}
@media (min-width: 700px) { :root { --gutter: 28px; } }

/* Reset mínimo (o CSS do tema/Elementor não é carregado nestas páginas). */
.mf *, .mf *::before, .mf *::after { box-sizing: border-box; }
body.mf { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.mf img { max-width: 100%; height: auto; display: block; }
.mf picture { display: contents; }
.mf picture > source { display: none !important; }
.mf a { color: inherit; }
.mf h1, .mf h2, .mf h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--cocoa); }
.mf h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); }
.mf h2 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.mf h3 { font-size: 1.25rem; }
.mf p { margin: 0 0 1em; }
.mf button { font: inherit; }
.mf :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.mf-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mf-narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.mf-skip { position: absolute; left: -999px; top: 0; background: var(--cocoa); color: #fff; padding: 10px 14px; z-index: 100; }
.mf-skip:focus { left: 8px; top: 8px; }
.mf-icon { flex: none; }
.mf-hide-sm { display: none; }
@media (min-width: 600px) { .mf-hide-sm { display: inline; } }

.mf-eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .7em; }
.mf-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }

/* Botões */
.mf-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.4em; border-radius: 999px; background: var(--cocoa); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 1rem; border: 2px solid var(--cocoa); cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.mf-btn:hover { background: var(--cocoa-2); border-color: var(--cocoa-2); }
.mf-btn:active { transform: translateY(1px); }
.mf-btn--ghost { background: transparent; color: var(--cocoa) !important; border-color: var(--cocoa); }
.mf-btn--ghost:hover { background: var(--cocoa); color: #fff !important; }
.mf-btn--lg { min-height: 56px; font-size: 1.05rem; }
.mf-btn--sm { min-height: 40px; padding: 0 1em; font-size: .92rem; }
.mf-btn.loading { opacity: .6; pointer-events: none; }
.mf-btn.added::after { content: "✓"; }
.mf a.added_to_cart { display: none; }
.mf-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--cocoa); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.mf-link .mf-icon { width: 16px; height: 16px; }

/* Barra de anúncio */
.mf-announce { background: var(--cocoa); color: #FBEFD9; font-size: .9rem; }
.mf-announce a { display: flex; align-items: center; justify-content: center; gap: .6em; padding: 9px var(--gutter); text-decoration: none; text-align: center; }
.mf-announce .mf-icon { width: 18px; height: 18px; color: var(--gold); }
.mf-announce .amount, .mf-announce bdi { font-weight: 700; color: #fff; }

/* Header */
.mf-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 241, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.mf-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.mf-logo img { width: 64px; height: 64px; }
.mf-nav { display: none; gap: 28px; font-weight: 500; }
.mf-nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.mf-nav a:hover { color: var(--cocoa); border-color: var(--gold); }
.mf-header__actions { display: flex; align-items: center; gap: 6px; }
.mf-cart, .mf-menu summary { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--cocoa); cursor: pointer; list-style: none; }
.mf-cart:hover, .mf-menu summary:hover { background: var(--tint); }
.mf-cart .mf-icon, .mf-menu summary .mf-icon { width: 24px; height: 24px; }
.mf-cart__dot { position: absolute; top: 8px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--berry); box-shadow: 0 0 0 2px var(--cream); }
.mf-menu summary::-webkit-details-marker { display: none; }
.mf-menu nav { position: absolute; right: var(--gutter); top: calc(100% + 1px); display: grid; min-width: 240px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; }
.mf-menu nav a { padding: 12px 14px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.mf-menu nav a:hover { background: var(--tint); }
@media (min-width: 960px) {
	.mf-header__in { min-height: 84px; }
	.mf-logo img { width: 76px; height: 76px; }
	.mf-nav { display: flex; }
	.mf-menu { display: none; }
}

/* Hero */
.mf-hero { padding: 36px 0 28px; overflow: hidden; }
.mf-hero__in { display: grid; gap: 32px; align-items: center; }
.mf-hero h1 em { font-style: italic; color: var(--gold-ink); }
.mf-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 18px; }
.mf-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; color: var(--ink-2); font-size: .95rem; }
.mf-ticks li { display: flex; align-items: center; gap: 6px; }
.mf-ticks .mf-icon { color: var(--ok); width: 18px; height: 18px; }
.mf-ticks--col { flex-direction: column; gap: 10px; margin: 22px 0; }
.mf-ticks--col li { align-items: flex-start; }
.mf-ticks--col .mf-icon { color: var(--gold-ink); margin-top: 2px; }
/* Capas lado a lado, em recorte vertical (as imagens são quadradas com margens brancas),
   quase sem sobreposição para não taparem as caras. */
.mf-hero__art { position: relative; max-width: 540px; width: 100%; margin: 0 auto; aspect-ratio: 100 / 62; }
.mf-cover { position: absolute; top: 8%; width: 32%; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper); }
.mf-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.mf-cover--0 { left: 1%; transform: rotate(-4deg); }
.mf-cover--1 { left: 34%; top: 0; z-index: 2; transform: scale(1.06); }
.mf-cover--2 { left: 67%; transform: rotate(4deg); }
.mf-sticker { position: absolute; z-index: 3; right: 4%; bottom: 0; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: var(--gold); color: var(--cocoa); font: 600 .86rem/1.15 var(--sans); text-align: center; padding: 10px; transform: rotate(-8deg); box-shadow: var(--shadow); }
@media (min-width: 900px) {
	.mf-hero { padding: 64px 0 56px; }
	.mf-hero__in { grid-template-columns: 1.05fr .95fr; gap: 48px; }
	.mf-sticker { width: 136px; height: 136px; font-size: .95rem; }
}

/* Media */
.mf-press { border-block: 1px solid var(--line); background: var(--paper); padding: 22px 0; }
.mf-press__label { text-align: center; font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.mf-press__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 34px; }
.mf-press__logos img { height: 28px; width: auto; max-width: 92px; object-fit: contain; filter: brightness(0); opacity: .5; }

/* Secções */
.mf-section { padding: 56px 0; }
.mf-section--tint { background: var(--tint); }
.mf-section__head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.mf-section__head p { color: var(--ink-2); }
.mf-section__head--left { text-align: left; margin-left: 0; }
@media (min-width: 900px) { .mf-section { padding: 84px 0; } }

/* Grelha de cartões */
.mf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 700px) { .mf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1100px) { .mf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mf-grid--packs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mf-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.mf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mf-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--tint); }
.mf-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mf-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 16px; }
.mf-card__kind { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin: 0 0 4px; }
.mf-card__title { font-size: 1.08rem; margin: 0 0 6px; }
.mf-card__title a { text-decoration: none; }
.mf-card__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.mf-card__tag { font-size: .9rem; color: var(--ink-2); line-height: 1.4; margin: 0 0 12px; }
.mf-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mf-card .mf-btn { min-height: 40px; padding: 0 1em; font-size: .9rem; }
@media (max-width: 459px) { .mf-card__foot .mf-btn { width: 100%; } .mf-card__body { padding: 12px; } .mf-card__title { font-size: 1rem; } }
@media (min-width: 700px) { .mf-card__body { padding: 18px 18px 20px; } .mf-card__title { font-size: 1.2rem; } }

.mf-badge { position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--berry); color: #fff; font: 700 .78rem/1 var(--sans); padding: 7px 10px; border-radius: 999px; letter-spacing: .02em; }
.mf-badge--lg { top: 16px; left: 16px; font-size: .95rem; padding: 9px 13px; }

/* Preços */
.mf-price { font-weight: 700; color: var(--cocoa); font-size: 1.08rem; }
.mf-price del { color: var(--ink-2); font-weight: 400; font-size: .85em; margin-right: 4px; opacity: .8; }
.mf-price ins { text-decoration: none; color: var(--berry); }
.mf-price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mf-price--lg { font-size: 1.9rem; font-family: var(--sans); }

/* Oferta Pack Completo */
.mf-offer { background: linear-gradient(160deg, #3B2414 0%, #5A3A24 100%); color: #F7EAD6; }
.mf-offer h2 { color: #fff; }
.mf-offer .mf-eyebrow { color: var(--gold); }
.mf-offer s { opacity: .75; }
.mf-offer strong { color: #fff; }
.mf-offer__in { display: grid; gap: 32px; align-items: center; }
.mf-offer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 420px; margin: 0 auto; transform: rotate(-2deg); }
.mf-offer__grid img { width: 100%; border-radius: 8px; aspect-ratio: 1; object-fit: cover; background: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); }
.mf-offer__gift { display: flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; }
.mf-offer .mf-btn { background: var(--gold); border-color: var(--gold); color: var(--cocoa) !important; }
.mf-offer .mf-btn:hover { background: #D4B47D; border-color: #D4B47D; }
.mf-offer .mf-link { color: #fff; }
@media (min-width: 900px) { .mf-offer__in { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

/* Destaques Masterclass / livro */
.mf-duo { display: grid; gap: 18px; }
@media (min-width: 900px) { .mf-duo { grid-template-columns: 1fr 1fr; gap: 24px; } }
.mf-feature { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-decoration: none; transition: box-shadow .2s; }
.mf-feature:hover { box-shadow: var(--shadow-lg); }
.mf-feature img { border-radius: 10px; aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.mf-feature p { color: var(--ink-2); font-size: .95rem; }
.mf-feature h3 { margin-bottom: .3em; }
@media (min-width: 700px) { .mf-feature { grid-template-columns: 160px 1fr; padding: 24px; gap: 24px; } }

/* Sobre */
.mf-about__in { display: grid; gap: 32px; align-items: center; }
.mf-about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 460px; margin: 0 auto; }
.mf-about__copy > p { color: var(--ink-2); font-size: 1.05rem; }
.mf-facts { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.mf-facts li { padding-left: 26px; position: relative; color: var(--ink-2); }
.mf-facts li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.mf-facts strong { color: var(--cocoa); }
.mf-signature { width: 210px; margin-top: 6px; mix-blend-mode: multiply; }
@media (min-width: 900px) { .mf-about__in { grid-template-columns: .85fr 1.15fr; gap: 64px; } }

/* Como funciona */
.mf-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.mf-steps li { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.mf-steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--cocoa); font-weight: 700; margin-bottom: 12px; }
.mf-steps p { color: var(--ink-2); margin: 0; }
@media (min-width: 800px) { .mf-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* FAQ */
.mf-faq { display: grid; gap: 10px; }
.mf-faq details { background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.mf-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; color: var(--cocoa); }
.mf-faq summary::-webkit-details-marker { display: none; }
.mf-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--gold-ink); }
.mf-faq details[open] summary::after { content: "–"; }
.mf-faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

/* Barra de confiança + rodapé */
.mf-trustbar { background: var(--paper); border-top: 1px solid var(--line); padding: 26px 0; }
.mf-trustbar__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mf-trustbar p { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.35; }
.mf-trustbar strong { display: block; color: var(--cocoa); }
.mf-trustbar .mf-icon { color: var(--gold-ink); width: 24px; height: 24px; }
.mf-trustbar__in > p:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 900px) { .mf-trustbar__in { grid-template-columns: repeat(3, 1fr); } .mf-trustbar__in > p:last-child:nth-child(odd) { grid-column: auto; } }
.mf-footer { background: var(--cocoa); color: #E9DCC9; padding: 48px 0 24px; font-size: .95rem; }
.mf-footer__in { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.mf-footer__brand { grid-column: 1 / -1; }
.mf-footer__brand img { width: 84px; height: 84px; filter: brightness(1.15); margin-bottom: 10px; }
.mf-footer__brand p { max-width: 30em; }
.mf-footer h2 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.mf-footer__col { display: grid; gap: 8px; align-content: start; }
.mf-footer__col a { text-decoration: none; color: #E9DCC9; }
.mf-footer__col a:hover { color: #fff; text-decoration: underline; }
.mf-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #C9B89F; }
.mf-footer__legal p { margin: 0; }
@media (min-width: 900px) { .mf-footer__in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .mf-footer__brand { grid-column: auto; } }

/* Toast */
.mf-toast { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; background: var(--cocoa); color: #fff; padding: 10px 10px 10px 18px; border-radius: 999px; box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100vw - 24px); }
.mf-toast p { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.mf-toast .mf-icon { color: var(--gold); }
.mf-toast .mf-btn { background: var(--gold); border-color: var(--gold); color: var(--cocoa) !important; }

/* Produto */
.mf-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 6px; font-size: .88rem; color: var(--ink-2); }
.mf-crumbs a { text-decoration: none; }
.mf-crumbs a:hover { text-decoration: underline; }
.mf-crumbs [aria-current] { color: var(--cocoa); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.mf-product__top { display: grid; gap: 28px; padding-top: 12px; padding-bottom: 48px; }
@media (min-width: 960px) { .mf-product__top { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; padding-bottom: 72px; } .mf-buy { position: sticky; top: 108px; } }
.mf-gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); aspect-ratio: 1; }
.mf-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.mf-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: thin; }
.mf-thumb { flex: none; width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--paper); cursor: pointer; }
.mf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mf-thumb.is-active { border-color: var(--cocoa); }
.mf-buy__title { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.mf-buy__tag { font-size: 1.12rem; color: var(--ink-2); }
.mf-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 10px 0 2px; }
.mf-save { background: #F6E2DC; color: var(--berry); font-weight: 700; font-size: .9rem; padding: 5px 10px; border-radius: 999px; }
.mf-buy__vat { font-size: .88rem; color: var(--ink-2); }
.mf-buy__cta { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 520px) { .mf-buy__cta { grid-template-columns: 1fr 1fr; } }
.mf-upsell { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--paper); border: 1px dashed var(--gold); text-decoration: none; font-size: .95rem; color: var(--ink-2); }
.mf-upsell img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.mf-upsell strong { color: var(--cocoa); }
.mf-upsell .mf-icon { color: var(--gold-ink); margin-left: auto; }
.mf-upsell:hover { background: #FFFBF4; }
.mf-included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 700px) { .mf-included { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .mf-included { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.mf-included a { display: grid; gap: 4px; text-decoration: none; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 12px; height: 100%; }
.mf-included img { aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 6px; }
.mf-included__t { font-family: var(--serif); color: var(--cocoa); font-size: 1.02rem; padding: 0 12px; line-height: 1.2; }
.mf-included__s { font-size: .84rem; color: var(--ink-2); padding: 0 12px; line-height: 1.35; }
.mf-prose { font-size: 1.06rem; color: var(--ink-2); }
.mf-prose p:first-child { font-size: 1.15rem; color: var(--ink); }
.mf-prose strong { color: var(--cocoa); }
.mf-prose ul { padding-left: 1.2em; }
.mf-prose li { margin-bottom: .4em; }
.mf-peek { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .mf-peek { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.mf-peek figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/5; background: var(--paper); }
.mf-peek img { width: 100%; height: 100%; object-fit: cover; }
.mf-author { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; max-width: 820px; }
.mf-author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.mf-author p { color: var(--ink-2); }
@media (min-width: 700px) { .mf-author { grid-template-columns: 120px 1fr; gap: 32px; } .mf-author img { width: 120px; height: 120px; } }
.mf-sticky { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(43, 29, 20, .25); }
.mf-sticky__info { display: grid; min-width: 0; }
.mf-sticky__t { font-size: .85rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 960px) { .mf-sticky { display: none !important; } }
body.mf-has-sticky .mf-toast { bottom: 84px; }

/* Avisos do WooCommerce */
.mf .woocommerce-notices-wrapper:empty { display: none; }
.mf .woocommerce-message, .mf .woocommerce-info, .mf .woocommerce-error { list-style: none; max-width: var(--wrap); margin: 16px auto 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--paper); border-left: 4px solid var(--ok); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.mf .woocommerce-error { border-color: var(--berry); }
.mf .woocommerce-message .button { order: 2; font-weight: 600; color: var(--cocoa); }

@media (prefers-reduced-motion: reduce) { .mf * { transition: none !important; } }

/* O atributo hidden tem de vencer os display definidos acima. */
.mf [hidden], .mf-toast[hidden], .mf-sticky[hidden], .mf-cart__dot[hidden] { display: none !important; }

/* Correções de layout */
.mf-gallery, .mf-buy, .mf-product__top > * { min-width: 0; }
.mf-buy__cta .mf-btn { white-space: normal; text-align: center; }
.mf img.emoji, .mf img.wp-smiley { display: inline !important; width: 1em !important; height: 1em !important; margin: 0 .1em !important; vertical-align: -.12em !important; box-shadow: none !important; }
/* O separador flutuante do Complianz tapava a barra de compra; no mobile fica o link "Gerir cookies" no rodapé. */
@media (max-width: 959px) { #cmplz-manage-consent > button.cmplz-manage-consent { display: none !important; } }
/* Banner de cookies com contraste AA nas páginas novas. */
.mf .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--cocoa) !important; border-color: var(--cocoa) !important; color: #fff !important; }
.mf .cmplz-cookiebanner .cmplz-link, .mf .cmplz-cookiebanner a { color: var(--gold-ink) !important; }
.mf-prose img[data-emoji], .mf-prose img.an1 { display: inline !important; width: 1.1em !important; height: 1.1em !important; vertical-align: -.15em; }
.mf-emoji { font-style: normal; }

/* =========================================================================
   Carrinho, checkout e obrigado
   ========================================================================= */
.mf-header--min .mf-header__in { min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; }
.mf-header--min .mf-logo img { width: 56px; height: 56px; }
.mf-backlink { justify-self: start; text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .95rem; }
.mf-backlink:hover { color: var(--cocoa); }
.mf-secure { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ok); }
.mf-secure .mf-icon { width: 18px; height: 18px; }
@media (max-width: 459px) { .mf-secure > span { display: none; } }
.mf-footer--min { padding: 0 0 20px; }
.mf-footer--min .mf-footer__legal { margin-top: 0; border-top: 0; }
.mf-footer--min a { color: #E9DCC9; }

.mf-co { padding: 20px 0 48px; }
@media (min-width: 900px) { .mf-co { padding: 32px 0 72px; } }
.mf-steps-bar { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 0 0 24px; font-size: .85rem; color: var(--ink-2); }
.mf-steps-bar li { display: flex; align-items: center; gap: 8px; }
.mf-steps-bar li + li::before { content: ""; width: 22px; height: 1px; background: var(--line); margin-right: 4px; }
.mf-steps-bar a { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.mf-steps-bar span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); font-weight: 700; font-size: .78rem; background: var(--paper); }
.mf-steps-bar .is-current { color: var(--cocoa); font-weight: 600; }
.mf-steps-bar .is-current span { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.mf-steps-bar .is-done span { background: var(--gold); border-color: var(--gold); color: var(--cocoa); }
@media (max-width: 459px) { .mf-steps-bar li:not(.is-current) { font-size: 0; gap: 0; } .mf-steps-bar li:not(.is-current) span { font-size: .78rem; } }
.mf-co__head { text-align: center; max-width: 640px; margin: 0 auto 24px; }
.mf-co__head h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: .3em; }
.mf-co__head p { color: var(--ink-2); }
.mf-co__note { display: inline-flex; gap: 8px; align-items: flex-start; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; margin: 6px 0 0; }
.mf-co__note .mf-icon { color: var(--gold-ink); margin-top: 2px; }
.mf-co__trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 0; margin: 32px 0 0; color: var(--ink-2); font-size: .9rem; }
.mf-co__trust li { display: flex; align-items: center; gap: 8px; }
.mf-co__trust .mf-icon { color: var(--gold-ink); width: 18px; height: 18px; }

/* Upgrade para o pack no carrinho */
.mf-upgrade { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: 980px; margin: 0 auto 22px; padding: 14px 16px; border-radius: var(--radius); background: #FFF8EC; border: 1px dashed var(--gold); }
.mf-upgrade img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.mf-upgrade p { flex: 1 1 260px; margin: 0; color: var(--ink-2); font-size: .95rem; }
.mf-upgrade strong { color: var(--cocoa); }

/* Base de formulários */
.mf-co .woocommerce-notices-wrapper, .mf-co .woocommerce-form-coupon-toggle { max-width: 980px; margin: 0 auto 14px; }
.mf-co .woocommerce-info, .mf-co .woocommerce-message, .mf-co .woocommerce-error { margin: 0 0 12px; }
.mf-co .woocommerce-info { border-left-color: var(--gold); }
.mf-co .woocommerce-info a, .mf-co .showcoupon { color: var(--cocoa); font-weight: 600; }
.mf-co label { display: block; font-weight: 600; font-size: .92rem; color: var(--cocoa); margin-bottom: 6px; }
.mf-co .required { color: var(--berry); text-decoration: none; border: 0; }
.mf-co .optional { color: var(--ink-2); font-weight: 400; }
.mf-co input.input-text, .mf-co select, .mf-co textarea, .mf-co input[type="email"], .mf-co input[type="tel"], .mf-co input[type="text"] { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: 400 1rem/1.3 var(--sans); transition: border-color .15s, box-shadow .15s; }
.mf-co select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235E4B3E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.mf-co input:focus, .mf-co select:focus, .mf-co textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 158, 99, .25); }
.mf-co .woocommerce-invalid input.input-text, .mf-co .woocommerce-invalid select { border-color: var(--berry); }
.mf-co .form-row { margin: 0 0 16px; padding: 0; }
.mf-co .form-row-first, .mf-co .form-row-last { width: 100%; }
@media (min-width: 560px) { .mf-co .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; } .mf-co .form-row-wide { grid-column: 1 / -1; } }
.mf-co .button, .mf-co button.button, .mf-co #place_order, .mf-co .checkout-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 2px solid var(--cocoa); background: var(--cocoa); color: #fff; font: 600 1rem/1 var(--sans); cursor: pointer; text-decoration: none; }
.mf-co .button:hover, .mf-co #place_order:hover, .mf-co .checkout-button:hover { background: var(--cocoa-2); border-color: var(--cocoa-2); color: #fff; }
.mf-co .button:disabled, .mf-co .button.disabled { opacity: .5; }
.mf-co .blockUI.blockOverlay { background: rgba(251, 247, 241, .7) !important; }

/* Cupão */
.mf-co form.checkout_coupon { max-width: 980px; margin: 0 auto 16px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.mf-co form.checkout_coupon p:first-child { flex: 1 0 100%; margin: 0; color: var(--ink-2); font-size: .9rem; }
.mf-co form.checkout_coupon .form-row { margin: 0; flex: 1 1 200px; }
.mf-co form.checkout_coupon .form-row-last { flex: 0 0 auto; }
.mf-co .clear { display: none; }

/* Checkout: 2 colunas (dados | resumo + pagamento) */
.mf-co form.checkout { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) {
	.mf-co form.checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
	.mf-co #customer_details { grid-column: 1; grid-row: 1 / span 3; }
	.mf-co #order_review_heading { grid-column: 2; grid-row: 1; }
	.mf-co #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 90px; }
}
.mf-co #customer_details { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
@media (min-width: 700px) { .mf-co #customer_details { padding: 28px; } }
.mf-co #customer_details .col-1, .mf-co #customer_details .col-2 { width: 100%; float: none; }
.mf-co #customer_details h3, .mf-co #order_review_heading { font-size: 1.35rem; margin: 0 0 16px; }
.mf-co #order_review_heading { margin: 0 0 -8px; }
.mf-co .woocommerce-additional-fields, .mf-co .woocommerce-shipping-fields:empty { display: none; }
.mf-co .woocommerce-account-fields { margin-top: 8px; }
.mf-co .woocommerce-account-fields label.checkbox, .mf-co .form-row label.checkbox, .mf-co .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ink-2); cursor: pointer; }
.mf-co input[type="checkbox"], .mf-co input[type="radio"] { accent-color: var(--cocoa); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }

/* Resumo da encomenda */
.mf-co #order_review { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.mf-co table.shop_table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mf-co table.shop_table th, .mf-co table.shop_table td { padding: 10px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.mf-co table.shop_table thead th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.mf-co table.shop_table td:last-child, .mf-co table.shop_table th:last-child { text-align: right; }
.mf-co .woocommerce-checkout-review-order-table .product-name { color: var(--cocoa); font-weight: 500; padding-right: 10px; }
.mf-co .woocommerce-checkout-review-order-table .product-quantity { display: none; }
.mf-co .order-total th, .mf-co .order-total td { font-size: 1.15rem; color: var(--cocoa); border-bottom: 0; padding-top: 14px; }
.mf-co .order-total .amount { font-weight: 700; }
.mf-co .includes_tax { display: block; font-size: .8rem; color: var(--ink-2); font-weight: 400; }
.mf-co .includes_tax .amount { font-weight: 400; }

/* Pagamento */
.mf-co #payment { margin-top: 16px; }
.mf-co ul.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.mf-co ul.wc_payment_methods > li { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px; background: var(--paper); transition: border-color .15s, background .15s; }
.mf-co ul.wc_payment_methods > li:has(> input:checked) { border-color: var(--cocoa); background: #FFFCF7; }
.mf-co ul.wc_payment_methods > li > input { float: left; margin: 3px 10px 0 0; }
.mf-co ul.wc_payment_methods > li > label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; cursor: pointer; font-weight: 600; }
.mf-co ul.wc_payment_methods > li > label img { max-height: 26px; width: auto; display: inline-block; margin: 0; }
.mf-co ul.wc_payment_methods > li > label a { font-weight: 400; font-size: .85rem; color: var(--ink-2); }
.mf-co .payment_box { margin-top: 10px; font-size: .9rem; color: var(--ink-2); }
.mf-co .payment_box p:last-child { margin-bottom: 0; }
.mf-co .payment_box .form-row { margin-bottom: 0; }
.mf-co .woocommerce-privacy-policy-text { font-size: .82rem; color: var(--ink-2); }
.mf-co .woocommerce-privacy-policy-text a { color: var(--cocoa); }
.mf-co #place_order { width: 100%; min-height: 56px; font-size: 1.08rem; margin-top: 4px; }
.mf-co #ppc-button-ppcp-gateway, .mf-co .ppc-button-wrapper { margin-top: 6px; }

/* Carrinho */
.mf-co .woocommerce-cart-form, .mf-co .cart-collaterals { max-width: 980px; margin: 0 auto; }
.mf-co .mf-co__body > .woocommerce { display: block; max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) {
	.mf-co .mf-co__body > .woocommerce:has(.woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; max-width: 980px; margin: 0 auto; }
	.mf-co .mf-co__body .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.mf-co .cart-collaterals { position: sticky; top: 100px; }
}
.mf-co .woocommerce-cart-form { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 20px 20px; }
.mf-co table.cart thead { display: none; }
.mf-co table.cart tr.cart_item { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "thumb name remove" "thumb price price"; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mf-co table.cart tr.cart_item td { border: 0; padding: 0; text-align: left !important; }
.mf-co table.cart .product-thumbnail { grid-area: thumb; }
.mf-co table.cart .product-thumbnail img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.mf-co table.cart .product-name { grid-area: name; font-weight: 600; }
.mf-co table.cart .product-name a { color: var(--cocoa); text-decoration: none; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; line-height: 1.2; }
.mf-co table.cart .product-price { grid-area: price; color: var(--cocoa); font-weight: 700; }
.mf-co table.cart .product-quantity, .mf-co table.cart .product-subtotal { display: none; }
.mf-co table.cart .product-remove { grid-area: remove; }
.mf-co table.cart a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-2) !important; text-decoration: none; font-size: 1.3rem; background: var(--tint); }
.mf-co table.cart a.remove:hover { background: #F6E2DC; color: var(--berry) !important; }
.mf-co table.cart td.actions { display: block; padding: 16px 0 0; border: 0; }
.mf-co table.cart td.actions button[name="update_cart"] { display: none; }
.mf-co .coupon { display: flex; flex-wrap: wrap; gap: 8px; }
.mf-co .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mf-co .coupon input.input-text { flex: 1 1 160px; min-height: 46px; width: auto; }
.mf-co .coupon .button { background: transparent; color: var(--cocoa); min-height: 46px; }
.mf-co .coupon .button:hover { color: #fff; }
.mf-co .cart_totals { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-top: 20px; }
@media (min-width: 900px) { .mf-co .cart_totals { margin-top: 0; } }
.mf-co .cart_totals h2 { font-size: 1.35rem; }
.mf-co .cart_totals table.shop_table th { width: 40%; }
.mf-co .wc-proceed-to-checkout { margin-top: 14px; }
.mf-co .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 1.08rem; }
.mf-co .cart-empty, .mf-co .return-to-shop { text-align: center; }
.mf-co .cart-empty.woocommerce-info { display: block; border-left: 0; background: transparent; font-size: 1.1rem; }

/* Obrigado */
.mf-co .woocommerce-order { max-width: 760px; margin: 0 auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.mf-co .woocommerce-thankyou-order-received { font-family: var(--serif); font-size: 1.3rem; color: var(--cocoa); }
.mf-co ul.woocommerce-order-overview { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.mf-co ul.woocommerce-order-overview li { background: var(--tint); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .82rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.mf-co ul.woocommerce-order-overview strong { display: block; text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--cocoa); margin-top: 4px; }
.mf-co .woocommerce-order h2 { font-size: 1.35rem; margin-top: 24px; }
.mf-co .woocommerce-order-downloads .button, .mf-co .woocommerce-MyAccount-downloads-file { min-height: 40px; font-size: .9rem; }
.mf-co .woocommerce-customer-details address { font-style: normal; padding: 14px; background: var(--tint); border-radius: var(--radius-sm); }

/* Avisos: o botão do WooCommerce vira link discreto. */
.mf .woocommerce-message .button, .mf .woocommerce-info .button, .mf .woocommerce-error .button { background: transparent !important; border: 0 !important; color: var(--cocoa) !important; min-height: 0 !important; padding: 0 !important; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); }
.mf-co .woocommerce-message, .mf-co .woocommerce-info, .mf-co .woocommerce-error { box-shadow: var(--shadow); }
/* No carrinho, o aviso "foi adicionado" é redundante. */
.woocommerce-cart .mf-co .woocommerce-notices-wrapper .woocommerce-message:not(:has(+ *)) { }
/* Ajudas e erros nos campos */
.mf-co .form-row .description { display: block !important; position: static !important; background: none !important; color: var(--ink-2) !important; padding: 4px 0 0 !important; font-size: .84rem; box-shadow: none !important; }
.mf-co .form-row .description::before { display: none !important; }
.mf-co .checkout-inline-error-message { color: var(--berry); font-size: .84rem; margin: 4px 0 0; }
.mf-co ul.woocommerce-error { padding: 14px 18px; display: grid; gap: 4px; }
.mf-co ul.woocommerce-error li { list-style: none; }
.mf-co ul.woocommerce-error a { text-decoration: none; color: var(--ink); }

/* =========================================================================
   Loja
   ========================================================================= */
.mf-shophead { padding: 8px 0 8px; }
.mf-shophead h1 { margin: 6px 0 .25em; }
.mf-shophead .mf-lead { margin-bottom: 20px; }
.mf-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.mf-chips::-webkit-scrollbar { display: none; }
.mf-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--cocoa); font-weight: 600; font-size: .95rem; cursor: pointer; }
.mf-chip span { font-weight: 500; font-size: .8rem; color: var(--ink-2); background: var(--tint); border-radius: 999px; padding: 2px 8px; }
.mf-chip:hover { border-color: var(--gold); }
.mf-chip[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.mf-chip[aria-pressed="true"] span { background: rgba(255, 255, 255, .18); color: #fff; }
.mf-section--shop { padding-top: 20px; }
.mf-grid__item { display: flex; }
.mf-grid__item > .mf-card { flex: 1; }
.mf-cta-band { display: grid; gap: 18px; align-items: center; }
.mf-cta-band h2 { margin-bottom: .2em; }
.mf-cta-band p:last-child { margin: 0; color: var(--ink-2); }
@media (min-width: 800px) { .mf-cta-band { grid-template-columns: 1fr auto; gap: 40px; } }

/* =========================================================================
   A minha conta
   ========================================================================= */
.mf-acct { padding: 28px 0 56px; }
.mf-acct__body { max-width: 980px; margin: 0 auto; }
.mf-acct.is-logged .mf-acct__body > .woocommerce { display: grid; gap: 20px; }
@media (min-width: 860px) { .mf-acct.is-logged .mf-acct__body > .woocommerce { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; } }
.mf-acct .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; display: flex; gap: 6px; overflow-x: auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); scrollbar-width: none; }
.mf-acct .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
@media (min-width: 860px) { .mf-acct .woocommerce-MyAccount-navigation ul { flex-direction: column; position: sticky; top: 100px; } }
.mf-acct .woocommerce-MyAccount-navigation a { display: block; white-space: nowrap; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.mf-acct .woocommerce-MyAccount-navigation a:hover { background: var(--tint); color: var(--cocoa); }
.mf-acct .woocommerce-MyAccount-navigation .is-active a { background: var(--cocoa); color: #fff; }
.mf-acct .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--berry); }
.mf-acct .woocommerce-MyAccount-content { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; min-width: 0; }
@media (min-width: 700px) { .mf-acct .woocommerce-MyAccount-content { padding: 30px; } }
.mf-acct .woocommerce-MyAccount-content > p:first-child { color: var(--ink-2); }
.mf-acct .woocommerce-MyAccount-content a:not(.mf-btn):not(.button) { color: var(--cocoa); }
.mf-acct__h { font-size: 1.4rem; margin-top: 8px; }
.mf-acct__empty { color: var(--ink-2); }
/* Tabelas (encomendas e downloads) como cartões no mobile */
.mf-acct table.shop_table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mf-acct table.shop_table th, .mf-acct table.shop_table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.mf-acct table.shop_table thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
@media (max-width: 699px) {
	.mf-acct table.shop_table thead { display: none; }
	.mf-acct table.shop_table tr { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.mf-acct table.shop_table td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 12px; }
	.mf-acct table.shop_table td::before { content: attr(data-title); font-weight: 600; color: var(--ink-2); font-size: .85rem; }
}
.mf-acct .button, .mf-acct button.button, .mf-acct .woocommerce-button, .mf-acct .woocommerce-MyAccount-downloads-file { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 1.1em; border-radius: 999px; border: 2px solid var(--cocoa); background: var(--cocoa); color: #fff !important; font: 600 .92rem/1 var(--sans); text-decoration: none; cursor: pointer; }
.mf-acct .button:hover, .mf-acct .woocommerce-MyAccount-downloads-file:hover { background: var(--cocoa-2); border-color: var(--cocoa-2); }
.mf-acct .woocommerce-orders-table__cell-order-actions .button + .button { margin-left: 6px; }
/* Formulários (login, dados, conta) */
.mf-acct label { display: block; font-weight: 600; font-size: .92rem; color: var(--cocoa); margin-bottom: 6px; }
.mf-acct .required { color: var(--berry); text-decoration: none; border: 0; }
.mf-acct input.input-text, .mf-acct input[type="text"], .mf-acct input[type="email"], .mf-acct input[type="password"], .mf-acct input[type="tel"], .mf-acct select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: 400 1rem/1.3 var(--sans); }
.mf-acct input:focus, .mf-acct select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 158, 99, .25); }
.mf-acct .form-row { margin: 0 0 16px; }
.mf-acct fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin: 8px 0 18px; }
.mf-acct legend { font-weight: 600; color: var(--cocoa); padding: 0 6px; }
.mf-acct .password-input { position: relative; display: block; }
.mf-acct .show-password-input { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--ink-2); cursor: pointer; }
.mf-acct .show-password-input::after { content: "Ver"; font-size: .85rem; font-weight: 600; }
.mf-acct .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--ink-2); margin: 4px 0 14px; }
.mf-acct input[type="checkbox"] { accent-color: var(--cocoa); width: 18px; height: 18px; }
.mf-acct.is-guest .mf-acct__body > .woocommerce { max-width: 460px; margin: 0 auto; }
.mf-acct.is-guest .mf-acct__body h2 { display: none; }
.mf-acct .woocommerce-form-login, .mf-acct .woocommerce-ResetPassword, .mf-acct .woocommerce-form-register { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin: 0; }
.mf-acct .woocommerce-form-login__submit, .mf-acct .woocommerce-ResetPassword .button { width: 100%; min-height: 52px; font-size: 1rem; }
.mf-acct .lost_password { text-align: center; margin: 14px 0 0; }
.mf-acct .lost_password a { color: var(--cocoa); font-weight: 600; }
.mf-acct__help { display: flex; gap: 14px; align-items: flex-start; max-width: 460px; margin: 22px auto 0; padding: 18px; border-radius: var(--radius); background: var(--tint); }
.mf-acct__help .mf-icon { color: var(--gold-ink); width: 24px; height: 24px; flex: none; margin-top: 2px; }
.mf-acct__help h2 { font-size: 1.15rem; margin-bottom: .3em; }
.mf-acct__help p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.mf-acct__help a { color: var(--cocoa); font-weight: 600; }
.mf-acct .woocommerce-Addresses { display: grid; gap: 16px; }
.mf-acct .woocommerce-Address address { font-style: normal; background: var(--tint); border-radius: var(--radius-sm); padding: 14px; }
.mf-acct .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mf-acct .woocommerce-Address-title h2 { font-size: 1.2rem; }
.mf-acct mark { background: transparent; color: var(--cocoa); font-weight: 700; }
.mf-acct .woocommerce-pagination { margin-top: 14px; }
/* Texto só para leitores de ecrã (o CSS do WooCommerce/tema não é carregado). */
.mf .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mf .screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
/* Logos com fundo opaco: cinzento em vez de silhueta. */
.mf-press__logos img[title="SIC"] { filter: grayscale(1) contrast(1.1); opacity: .6; mix-blend-mode: multiply; }

/* =========================================================================
   Páginas de conteúdo (políticas)
   ========================================================================= */
.mf-page { padding: 8px 0 64px; }
.mf-page__head { margin: 10px 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mf-page__head h1 { margin-bottom: .2em; }
.mf-page__date { color: var(--ink-2); font-size: .9rem; margin: 0; }
.mf-prose--doc { font-size: 1.02rem; }
.mf-prose--doc p:first-child { font-size: inherit; color: inherit; }
.mf-prose--doc h2 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); margin: 1.6em 0 .5em; }
.mf-prose--doc h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.mf-prose--doc a { color: var(--cocoa); text-decoration-color: var(--gold); }
.mf-prose--doc table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0; display: block; overflow-x: auto; }
.mf-prose--doc th, .mf-prose--doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.mf-page__help { margin-top: 40px; padding: 18px 20px; border-radius: var(--radius); background: var(--tint); color: var(--ink-2); }
.mf-page__help p { margin: 0; }
.mf-page__help a { color: var(--cocoa); font-weight: 600; }
/* Capas clicáveis no bloco do Pack Completo */
.mf-offer__grid a { display: block; border-radius: 8px; transition: transform .2s; }
.mf-offer__grid a:hover { transform: translateY(-4px) rotate(1deg); }
.mf-offer__grid a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* =========================================================================
   Masterclass
   ========================================================================= */
.mf-mc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 6px 0 0; }
.mf-mc-video { width: 100%; max-width: 560px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--cocoa); aspect-ratio: 9 / 16; max-height: 640px; }
.mf-mc-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .mf-mc-video { aspect-ratio: 4 / 5; } }
.mf-mc-grid { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; }
@media (min-width: 800px) { .mf-mc-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.mf-mc-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.mf-mc-card h3 { font-size: 1.35rem; }
.mf-mc-card > p { color: var(--ink-2); }
.mf-mc-for { text-align: center; color: var(--ink-2); margin: 24px auto 0; max-width: 640px; }
.mf-peek--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .mf-peek--3 { grid-template-columns: repeat(3, 1fr); } }
.mf-peek figure { position: relative; }
.mf-peek figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(43, 29, 20, .75)); }
.mf-center { text-align: center; margin-top: 28px; }
.mf-lead label { display: block; font-weight: 600; font-size: .92rem; color: var(--cocoa); margin: 10px 0 6px; }
.mf-lead input[type="text"], .mf-lead input[type="email"] { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font: 400 1rem/1.3 var(--sans); color: var(--ink); }
.mf-lead input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 158, 99, .25); }
.mf-lead .mf-btn { width: 100%; margin-top: 16px; }
.mf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mf-notice-ok { display: flex; gap: 8px; align-items: center; justify-content: center; max-width: 980px; margin: 0 auto 20px; padding: 14px 18px; border-radius: var(--radius-sm); background: #E7F2EA; color: var(--ok); font-weight: 600; }
/* Páginas gerais (404, pesquisa, arquivos) */
.mf-page__head--center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; border-bottom: 0; }
.mf-page__head--center p { color: var(--ink-2); }
.mf-page__empty { text-align: center; color: var(--ink-2); margin: 0 0 20px; }
.mf-grid--4 { margin-top: 8px; }
.mf .search-form { display: flex; gap: 8px; max-width: 460px; margin: 16px auto 0; }
.mf .search-form label { flex: 1; }
.mf .search-form .search-field { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: 400 1rem var(--sans); background: var(--paper); }
.mf .search-form .search-submit { min-height: 48px; padding: 0 1.2em; border-radius: 999px; border: 0; background: var(--cocoa); color: #fff; font-weight: 600; cursor: pointer; }
.mf-postlist article { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mf-postlist h2 { font-size: 1.4rem; margin-bottom: .3em; }
.mf-postlist a { text-decoration: none; }

/* =========================================================================
   Menu móvel: ícone de 2 linhas que vira X + painel deslizante
   ========================================================================= */
.mf-burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--cocoa); cursor: pointer; padding: 0; }
.mf-burger:hover { background: var(--tint); }
.mf-burger__lines { position: relative; display: block; width: 24px; height: 14px; }
.mf-burger__lines span { position: absolute; right: 0; height: 2.2px; border-radius: 2px; background: currentColor; transition: transform .28s cubic-bezier(.2, .8, .2, 1), width .28s, top .28s; }
.mf-burger__lines span:first-child { top: 0; width: 24px; }
.mf-burger__lines span:last-child { top: 11px; width: 15px; }
.mf-burger:hover .mf-burger__lines span:last-child { width: 24px; }
.mf-burger[aria-expanded="true"] .mf-burger__lines span { width: 24px; top: 6px; }
.mf-burger[aria-expanded="true"] .mf-burger__lines span:first-child { transform: rotate(45deg); }
.mf-burger[aria-expanded="true"] .mf-burger__lines span:last-child { transform: rotate(-45deg); }
@media (min-width: 960px) { .mf-burger, .mf-drawer { display: none !important; } }

.mf-drawer { position: fixed; inset: 0; z-index: 80; }
.mf-drawer__backdrop { position: absolute; inset: 0; background: rgba(43, 29, 20, .45); opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); }
.mf-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--cream); display: flex; flex-direction: column; gap: 16px; padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; transform: translateX(100%); transition: transform .34s cubic-bezier(.2, .8, .2, 1); box-shadow: -20px 0 50px -20px rgba(43, 29, 20, .4); }
.mf-drawer.is-open .mf-drawer__backdrop { opacity: 1; }
.mf-drawer.is-open .mf-drawer__panel { transform: none; }
.mf-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.mf-drawer__top img { width: 52px; height: 52px; }
.mf-drawer__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--cocoa); cursor: pointer; }
.mf-drawer__close .mf-icon { width: 22px; height: 22px; }
.mf-drawer__nav { display: grid; gap: 4px; }
.mf-drawer__nav a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; text-decoration: none; color: var(--cocoa); }
.mf-drawer__nav a:hover, .mf-drawer__nav a:focus-visible { background: var(--paper); }
.mf-drawer__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--gold-ink); }
.mf-drawer__txt strong { display: block; font: 400 1.25rem/1.15 var(--serif); color: var(--cocoa); }
.mf-drawer__txt small { display: block; font-size: .84rem; color: var(--ink-2); margin-top: 2px; }
.mf-drawer__nav a > .mf-icon { width: 16px; height: 16px; color: var(--ink-2); opacity: .6; }
.mf-drawer__promo { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius); background: var(--cocoa); color: #F7EAD6; text-decoration: none; }
.mf-drawer__promo img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #fff; }
.mf-drawer__promo small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.mf-drawer__promo strong { display: block; font: 400 1.25rem/1.2 var(--serif); color: #fff; }
.mf-drawer__promo .mf-price, .mf-drawer__promo .mf-price ins { color: #fff; }
.mf-drawer__promo .mf-price del { color: #D9C6AA; }
.mf-drawer__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mf-drawer__quick a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--cocoa); font-weight: 600; font-size: .92rem; }
.mf-drawer__quick .mf-icon { width: 18px; height: 18px; color: var(--gold-ink); }
.mf-drawer__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mf-drawer__foot p { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .8rem; color: var(--ink-2); }
.mf-drawer__foot p .mf-icon { width: 16px; height: 16px; color: var(--ok); flex: none; }
.mf-drawer__social { display: flex; gap: 6px; }
.mf-drawer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--cocoa); }
.mf-drawer__social .mf-icon { width: 18px; height: 18px; }
body.mf-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mf-drawer__panel, .mf-drawer__backdrop, .mf-burger__lines span { transition: none; } }

/* Masterclass B2C */
.mf-mc-invite { font: 400 1.35rem/1.2 var(--serif); color: var(--gold-ink); margin: 18px 0 0; }
.mf-mc-invite + .mf-hero__cta { margin-top: 10px; }
.mf-imagine { text-align: center; }
.mf-imagine__lead { font: 400 clamp(1.25rem, 3.2vw, 1.6rem)/1.35 var(--serif); color: var(--cocoa); margin: 0 0 .7em; }
.mf-imagine > p:not(.mf-imagine__lead):not(.mf-eyebrow):not(.mf-imagine__promise) { color: var(--ink-2); font-size: 1.05rem; margin: 1.4em auto; max-width: 640px; }
.mf-imagine__promise { font-weight: 700; color: var(--berry); font-size: 1.1rem; margin-bottom: 22px; }
.mf-mc-text { margin: 0 auto 28px; }
.mf-mc-text p:first-child { font-size: 1.08rem; }
.mf-peek--3 + .mf-mc-text { margin-top: 32px; }
.mf-mc-quote { max-width: 720px; margin: 36px auto 0; text-align: center; font: 400 italic 1.3rem/1.45 var(--serif); color: var(--cocoa); }
.mf-mc-quote .mf-signature { margin: 14px auto 0; }
.mf-lead--single { max-width: 460px; margin: 0 auto; }
.mf-mc-b2b { text-align: center; color: var(--ink-2); margin-top: 18px; font-size: .95rem; }
.mf-mc-b2b a { color: var(--cocoa); font-weight: 600; }
.mf-about__copy--long > p:not(.mf-eyebrow) { font-size: 1rem; }
/* Formulário MB WAY (Eupago) */
.mf-co #wc-eupago_mbway-mbway-form { border: 0; padding: 0; margin: 10px 0 0; }
.mf-co #wc-eupago_mbway-mbway-form > div { gap: 8px; }
.mf-co #mbway_country_code { width: auto !important; min-width: 130px; height: 50px !important; border: 1.5px solid var(--line) !important; border-radius: var(--radius-sm) !important; margin-right: 0 !important; background-color: var(--paper); }
.mf-co #mbway_phone { flex: 1; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: 400 1rem var(--sans); }
/* Consentimento de conteúdo digital e termos no checkout */
.mf-co .mafalda-waiver, .mf-co .woocommerce-terms-and-conditions-wrapper { margin: 6px 0 14px; font-size: .88rem; }
.mf-co .mafalda-waiver label, .mf-co .woocommerce-terms-and-conditions-wrapper label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
.mf-co .mafalda-waiver abbr { text-decoration: none; color: var(--berry); }
.mf-footer__legal a { color: inherit; }

/* =========================================================================
   Masterclass v2 (interativa)
   ========================================================================= */
.mf-js-reveal .mf-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.mf-js-reveal .mf-reveal.is-in { opacity: 1; transform: none; }
.mf-js-reveal .mf-v2-stats .mf-reveal:nth-child(2), .mf-js-reveal .mf-v2-imagine .mf-reveal:nth-child(2) { transition-delay: .08s; }
.mf-js-reveal .mf-v2-stats .mf-reveal:nth-child(3), .mf-js-reveal .mf-v2-imagine .mf-reveal:nth-child(3) { transition-delay: .16s; }
.mf-js-reveal .mf-v2-stats .mf-reveal:nth-child(4), .mf-js-reveal .mf-v2-imagine .mf-reveal:nth-child(4) { transition-delay: .24s; }

/* Capa de vídeo no topo */
.mf-v2-poster { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--cocoa); max-width: 560px; width: 100%; margin: 0 auto; }
.mf-v2-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mf-v2-poster:hover img { transform: scale(1.03); }
.mf-v2-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(43, 29, 20, .55)); }
.mf-v2-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--cocoa); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.mf-v2-play svg { margin-left: 4px; }
.mf-v2-play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: mf-pulse 2s ease-out infinite; }
@keyframes mf-pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.mf-v2-poster__label { position: absolute; z-index: 2; left: 16px; bottom: 14px; color: #fff; font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
@media (min-width: 900px) { .mf-v2-hero .mf-hero__in { grid-template-columns: 1fr 1fr; } }

/* Números */
.mf-v2-stats { background: var(--cocoa); color: #F2E3CC; padding: 26px 0; }
.mf-v2-stats__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
.mf-v2-stats p { margin: 0; font-size: .92rem; line-height: 1.35; }
.mf-v2-stats strong { display: block; font: 400 2.4rem/1 var(--serif); color: var(--gold); margin-bottom: 4px; }
@media (min-width: 900px) { .mf-v2-stats__in { grid-template-columns: repeat(4, 1fr); } }

/* Imagine… (carrossel no mobile, grelha no desktop) */
.mf-v2-imagine { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.mf-v2-imagine::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .mf-v2-imagine { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0 0 8px; } }
.mf-v2-card { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.mf-v2-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mf-v2-card p { margin: 0; padding: 16px 18px 20px; font: 400 1.12rem/1.35 var(--serif); color: var(--cocoa); }
.mf-v2-card--text { justify-content: center; background: linear-gradient(160deg, #3B2414, #5A3A24); }
.mf-v2-card--text p { color: #fff; font-size: 1.3rem; }
.mf-v2-card--text span { font-size: 2.4rem; padding: 22px 18px 0; }
.mf-v2-card--gold { background: linear-gradient(160deg, #C29E63, #D9BC86); }
.mf-v2-card--gold p { color: var(--cocoa); }
.mf-v2-intro { color: var(--ink-2); font-size: 1.05rem; margin-top: 22px; }

/* Receitas em separadores */
.mf-v2-recipes { display: grid; gap: 18px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .mf-v2-recipes { grid-template-columns: 320px 1fr; gap: 28px; align-items: start; } }
.mf-v2-recipes__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; }
.mf-v2-recipes__tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .mf-v2-recipes__tabs { flex-direction: column; margin: 0; padding: 0; } }
.mf-v2-recipes__tabs button { flex: none; display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--cocoa); font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.mf-v2-recipes__tabs button span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); font-size: .8rem; flex: none; }
.mf-v2-recipes__tabs button[aria-selected="true"] { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.mf-v2-recipes__tabs button[aria-selected="true"] span { background: var(--gold); color: var(--cocoa); }
.mf-v2-recipes__panel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); animation: mf-fade .45s ease; }
.mf-v2-recipes__panel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mf-v2-recipes__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(43, 29, 20, .85)); color: #fff; }
.mf-v2-recipes__cap h3 { color: #fff; margin-bottom: .2em; }
.mf-v2-recipes__cap p { margin: 0; color: #F2E3CC; }
@keyframes mf-fade { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* Vídeo 16:9 */
.mf-v2-player { max-width: 980px; margin: 0 auto; }
.mf-v2-player__item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 9; }
.mf-v2-player__item video { width: 100%; height: 100%; display: block; object-fit: cover; }
.mf-v2-player__cover { position: absolute; inset: 0; border: 0; background: rgba(43, 29, 20, .18); cursor: pointer; }
.mf-v2-player__cover:hover { background: rgba(43, 29, 20, .05); }
.mf-v2-player__switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.mf-v2-player__switch button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--cocoa); font-weight: 600; cursor: pointer; }
.mf-v2-player__switch button small { color: var(--ink-2); font-weight: 500; margin-left: 4px; }
.mf-v2-player__switch button[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.mf-v2-player__switch button[aria-pressed="true"] small { color: #E9DCC9; }

/* eBook incluído */
.mf-v2-ebook { display: grid; gap: 28px; align-items: center; max-width: 1040px; }
@media (min-width: 900px) { .mf-v2-ebook { grid-template-columns: 360px 1fr; gap: 56px; } }
.mf-v2-ebook__cover { position: relative; max-width: 360px; margin: 0 auto; transform: rotate(-2deg); }
.mf-v2-ebook__cover img { border-radius: 12px; box-shadow: var(--shadow-lg); }
.mf-v2-extras { margin-top: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mf-v2-extras summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--cocoa); list-style: none; }
.mf-v2-extras summary::-webkit-details-marker { display: none; }
.mf-v2-extras summary::after { content: " +"; color: var(--gold-ink); }
.mf-v2-extras[open] summary::after { content: " –"; }
.mf-v2-extras ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 18px; margin: 0; }
.mf-v2-extras li { padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--cocoa); font-size: .9rem; }

/* Será para si? */
.mf-v2-check { display: grid; gap: 10px; }
.mf-v2-check > label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; font-weight: 500; color: var(--cocoa); }
.mf-v2-check > label:has(input:checked) { border-color: var(--ok); background: #F1F8F3; }
.mf-v2-check input { accent-color: var(--ok); width: 20px; height: 20px; flex: none; }
.mf-v2-check__result { text-align: center; padding: 18px; border-radius: var(--radius); background: var(--cocoa); color: #F2E3CC; animation: mf-fade .4s ease; }
.mf-v2-check__result strong { color: #fff; }
.mf-v2-check__result .mf-btn { background: var(--gold); border-color: var(--gold); color: var(--cocoa) !important; margin-top: 6px; }

/* Media em movimento */
.mf-v2-marquee { overflow: hidden; }
.mf-v2-marquee__track { display: flex; width: max-content; animation: mf-marquee 38s linear infinite; }
.mf-v2-marquee .mf-press__logos { flex-wrap: nowrap; padding-right: 34px; gap: 34px; }
.mf-v2-marquee:hover .mf-v2-marquee__track { animation-play-state: paused; }
@keyframes mf-marquee { to { transform: translateX(-50%); } }

/* Ler mais e final */
.mf-v2-more summary { cursor: pointer; font-weight: 600; color: var(--cocoa); margin-bottom: 10px; list-style: none; text-decoration: underline; text-decoration-color: var(--gold); }
.mf-v2-more summary::-webkit-details-marker { display: none; }
.mf-v2-more[open] summary { display: none; }
.mf-v2-final h2 { color: #fff; }
.mf-v2-final__price { margin: 6px 0 18px; }
.mf-v2-final .mf-price, .mf-v2-final .mf-price ins { color: #fff; }
.mf-v2-final .mf-price del { color: #D9C6AA; }
.mf-v2-final__ticks { margin-top: 14px; color: #D9C6AA; font-size: .9rem; }

@media (prefers-reduced-motion: reduce) { .mf-v2-marquee__track, .mf-v2-play::before { animation: none; } .mf-js-reveal .mf-reveal { opacity: 1; transform: none; } }
.mf-v2-intro, .mf-imagine__promise { text-align: center; margin-left: auto; margin-right: auto; }

/* =========================================================================
   Promoção / Black Friday
   ========================================================================= */
.mf-announce--bf { background: #141110; color: #F4E6CF; }
.mf-announce--bf a { gap: 10px; flex-wrap: wrap; }
.mf-bf-tag { background: var(--gold); color: #141110; padding: 3px 8px; border-radius: 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.mf-countdown { display: inline-flex; gap: 6px; font-variant-numeric: tabular-nums; }
.mf-countdown > span { display: inline-flex; align-items: baseline; gap: 2px; }
.mf-countdown small { font-size: .7em; opacity: .75; }
.mf-countdown--inline b { color: var(--gold); }
.mf-countdown--inline small { margin-right: 2px; }
.mf-countdown--big { gap: 10px; }
.mf-countdown--big > span { flex-direction: column; align-items: center; min-width: 64px; padding: 10px 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(194, 158, 99, .35); }
.mf-countdown--big b { font: 400 2rem/1 var(--serif); color: #fff; }
.mf-countdown--big small { margin-top: 4px; text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; color: var(--gold); opacity: 1; }
.mf-bf { background: radial-gradient(120% 140% at 0% 0%, #2A211C 0%, #141110 60%); color: #F4E6CF; padding: 26px 0; border-bottom: 3px solid var(--gold); }
.mf-bf__in { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .mf-bf__in { grid-template-columns: 1fr auto; gap: 40px; } .mf-bf { padding: 34px 0; } }
.mf-bf__eyebrow { margin: 0 0 4px; font: 700 .8rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.mf-bf__title { margin: 0; font: 400 clamp(2.6rem, 9vw, 4.2rem)/1 var(--serif); color: #fff; }
.mf-bf__title span { font-size: .45em; color: #F4E6CF; }
.mf-bf__sub { margin: 8px 0 0; color: #D9C6AA; font-size: .95rem; }
.mf-bf__side { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) { .mf-bf__side { justify-items: end; } }
.mf-bf__btn { background: var(--gold); border-color: var(--gold); color: #141110 !important; }
.mf-bf__btn:hover { background: #D4B47D; border-color: #D4B47D; }
.mf-badge--bf, .mf-card .mf-badge { }
body .mf-badge { white-space: nowrap; }
.mf-bf-note { margin: 8px 0 2px; padding: 8px 12px; border-radius: 10px; background: #141110; color: #F4E6CF; font-size: .9rem; display: inline-block; }
.mf-bf-note strong { color: var(--gold); }
.mf-co .mafalda-promo-row th, .mf-co .mafalda-promo-row td { color: var(--berry); font-size: .88rem; }
.mf-promo-ended { display: none !important; }
/* Carrossel de media: tamanho uniforme e pausa ao passar o rato */
.mf-v2-marquee .mf-press__logos img { height: 30px; max-width: 110px; }
.mf-v2-marquee .mf-press__logos img[title="Delicious"], .mf-v2-marquee .mf-press__logos img[title="Elle"], .mf-v2-marquee .mf-press__logos img[title="SAPO"] { height: 22px; }
.mf-v2-marquee .mf-press__logos img[title="SIC Mulher"] { height: 44px; max-width: 60px; }
/* Destaque compacto da promoção (substitui a faixa grande) */
.mf-bfpill-wrap { padding: 16px 0 0; }
.mf-bfpill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--cocoa); font-size: .92rem; }
.mf-bfpill strong { background: #141110; color: var(--gold); padding: 4px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.mf-bfpill .mf-icon { width: 16px; height: 16px; color: var(--gold-ink); }
.mf-bfpill:hover { border-color: var(--gold); }
.mf-v2-hero + .mf-bfpill-wrap, .mf-hero { }

/* Masterclass B2C: vídeo horizontal no topo */
.mf-mc-video--wide, .mf-mc-video.mf-mc-video--wide { aspect-ratio: 16 / 9; max-width: none; max-height: none; }
@media (min-width: 900px) { .mf-mc-video.mf-mc-video--wide { aspect-ratio: 16 / 9; } }

/* Obrigado: instruções de pagamento no topo */
.mf-co .mf-ty-pay { border: 2px solid var(--gold); border-radius: var(--radius); background: #FFF8EC; padding: 18px 20px; margin: 0 0 22px; }
.mf-co .mf-ty-pay__t { font-family: var(--serif); font-size: 1.25rem; color: var(--cocoa); margin: 0 0 10px; }
.mf-co .mf-ty-pay__n { font-size: .9rem; color: var(--ink-2); margin: 12px 0 0; }
.mf-co .mf-ty-pay > :not(p) { margin-top: 0; }
.mf-co ul.woocommerce-order-overview li { min-width: 0; }
.mf-co ul.woocommerce-order-overview strong { overflow-wrap: anywhere; }

/* Masterclass: galeria compacta (grelha de quadrados, sem legendas) */
.mf-mc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 28px 0; }
.mf-mc-gallery img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; object-position: 50% 35%; border-radius: 8px; display: block; }
@media (min-width: 700px) { .mf-mc-gallery { grid-template-columns: repeat(6, 1fr); gap: 8px; } }
.mf-mc-gallery > a { display: block; min-width: 0; border-radius: 8px; overflow: hidden; }
.mf-mc-gallery > a img { transition: transform .35s ease; }
.mf-mc-gallery > a:hover img { transform: scale(1.04); }
.mf-mc-gallery > a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Lightbox */
.mf-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(28, 18, 12, .94); display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.mf-lb[hidden] { display: none !important; }
.mf-lb__img { max-width: min(1100px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.mf-lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 26px; line-height: 1; }
.mf-lb button:hover { background: rgba(255, 255, 255, .25); }
.mf-lb button:focus-visible { outline: 3px solid var(--gold); }
.mf-lb__close { top: 10px; right: 10px; }
.mf-lb__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.mf-lb__next { right: 10px; top: 50%; transform: translateY(-50%); }
.mf-lb__count { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); color: #E9DCC9; font-size: .9rem; }
html.mf-lb-open { overflow: hidden; }

/* Masterclass: capa vertical no topo (abre o vídeo horizontal mais abaixo) */
.mf-v2-poster.mf-v2-poster--tall { aspect-ratio: 4 / 5; max-width: 420px; }
@media (max-width: 899px) { .mf-v2-poster.mf-v2-poster--tall { max-width: 340px; } }

.mf-v2-poster--tall picture, .mf-v2-poster--tall img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mf-mc-hero .mf-hero__copy { order: 1; } .mf-mc-hero .mf-v2-poster { order: 2; }

/* Logos dos media: 23, alturas afinadas para pesos visuais parecidos */
.mf-v2-marquee .mf-press__logos img { max-width: 170px; }
.mf-v2-marquee .mf-press__logos img[title="Observador"] { height: 16px; }
.mf-v2-marquee .mf-press__logos img[title="Diário de Notícias"], .mf-v2-marquee .mf-press__logos img[title="Marketeer"] { height: 18px; }
.mf-v2-marquee .mf-press__logos img[title="Vogue"] { height: 22px; }
.mf-v2-marquee .mf-press__logos img[title="Activa"], .mf-v2-marquee .mf-press__logos img[title="SELFIE"], .mf-v2-marquee .mf-press__logos img[title="Sábado"] { height: 24px; }
.mf-v2-marquee .mf-press__logos img[title="Lux Woman"] { height: 26px; }
.mf-v2-marquee .mf-press__logos img[title="Evasões"] { height: 28px; }
.mf-v2-marquee .mf-press__logos img[title="IOL"] { height: 32px; }
.mf-v2-marquee .mf-press__logos img[title="Saber Viver"] { height: 40px; }
.mf-v2-marquee__track { animation-duration: 70s; }

/* Order bump do checkout */
.mf-co .mf-bump { margin: 4px 0 16px; border: 2px dashed var(--gold); border-radius: var(--radius); background: #FFF8EC; transition: background .2s, border-color .2s; }
.mf-co .mf-bump.is-on { border-style: solid; border-color: var(--ok); background: #F1F8F3; }
.mf-co .mf-bump.is-busy { opacity: .7; pointer-events: none; }
.mf-co .mf-bump__in { display: grid; grid-template-columns: auto 64px 1fr; gap: 12px; align-items: center; padding: 14px; margin: 0; cursor: pointer; font-weight: 400; }
.mf-co .mf-bump__cb { width: 22px; height: 22px; accent-color: var(--ok); margin: 0; }
.mf-co .mf-bump__media img { width: 64px; height: auto; border-radius: 6px; box-shadow: var(--shadow); display: block; }
.mf-co .mf-bump__txt { display: grid; gap: 3px; min-width: 0; }
.mf-co .mf-bump__kicker { font: 700 .7rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--berry); }
.mf-co .mf-bump__title { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; line-height: 1.25; color: var(--cocoa); }
.mf-co .mf-bump__desc { font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.mf-co .mf-bump__price { font-size: .95rem; }
.mf-co .mf-bump__price del { color: var(--ink-2); margin-right: 4px; }
.mf-co .mf-bump__price ins { text-decoration: none; font-weight: 700; color: var(--berry); }
.mf-bump-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--ok); color: #fff; font-size: .7rem; font-weight: 600; vertical-align: middle; }

/* Homepage de Natal (desde 30/11/2026) */
.mf-hero--natal { position: relative; background:
	radial-gradient(circle at 12% 18%, rgba(194, 158, 99, .16) 0 2px, transparent 3px) 0 0 / 46px 46px,
	radial-gradient(circle at 70% 60%, rgba(168, 64, 43, .10) 0 1.5px, transparent 2.5px) 0 0 / 62px 62px,
	linear-gradient(180deg, #FBF3EC 0%, var(--cream) 100%); }
.mf-hero--natal h1 em { color: var(--berry); }
.mf-xmas-star { color: var(--berry); margin-right: 4px; }
.mf-hero__art--natal .mf-cover--1 { box-shadow: 0 0 0 4px #fff, var(--shadow-lg); }
.mf-sticker--natal { background: var(--berry); color: #fff; font-family: var(--serif); font-weight: 400; font-size: .98rem; line-height: 1.15; }
@media (min-width: 900px) { .mf-sticker--natal { font-size: 1.08rem; } }
.mf-hero__art--natal .mf-sticker--natal { right: auto; left: 50%; bottom: -14%; transform: translateX(-50%) rotate(-6deg); width: 104px; height: 104px; font-size: .9rem; }
@media (min-width: 900px) { .mf-hero__art--natal .mf-sticker--natal { width: 118px; height: 118px; font-size: .98rem; } }
a.mf-hero__art--natal { display: block; text-decoration: none; }
a.mf-hero__art--natal .mf-cover { transition: transform .3s ease; }
a.mf-hero__art--natal:hover .mf-cover--0 { transform: rotate(-5deg) translateY(-4px); }
a.mf-hero__art--natal:hover .mf-cover--1 { transform: scale(1.08) translateY(-4px); }
a.mf-hero__art--natal:hover .mf-cover--2 { transform: rotate(5deg) translateY(-4px); }
a.mf-hero__art--natal:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 12px; }
