/*
Theme Name: Finance with Mary
Theme URI: https://financewithmary.com/
Author: Finance with Mary
Description: A complete personal-finance website: soft, feminine blog design, a built-in shop with 5 ready-to-sell digital products (WooCommerce ready, download files included), 30 starter articles, About, Contact and legal pages, Google AdSense support with automatic ads.txt, and automatic one-time setup.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: financewithmary
Tags: blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
	--fwm-cream: #fbf6f1;
	--fwm-blush: #f6dcd6;
	--fwm-blush-dark: #ecc3bb;
	--fwm-rose: #b8606d;
	--fwm-rose-dark: #9a4a57;
	--fwm-navy: #1f2a44;
	--fwm-text: #3a3f4f;
	--fwm-muted: #6e7385;
	--fwm-gold: #d4a56a;
	--fwm-white: #ffffff;
	--fwm-border: #eadfd7;
	--fwm-radius: 18px;
	--fwm-radius-sm: 10px;
	--fwm-shadow: 0 10px 30px rgba(31, 42, 68, 0.08);
	--fwm-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--fwm-sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--fwm-max: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--fwm-sans);
	font-size: 17px;
	line-height: 1.7;
	color: var(--fwm-text);
	background: var(--fwm-cream);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fwm-rose); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--fwm-rose-dark); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--fwm-serif);
	color: var(--fwm-navy);
	line-height: 1.25;
	margin: 0 0 .6em;
	font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2em; }
blockquote {
	margin: 1.8em 0;
	padding: 1.2em 1.6em;
	background: var(--fwm-blush);
	border-left: 4px solid var(--fwm-rose);
	border-radius: 0 var(--fwm-radius-sm) var(--fwm-radius-sm) 0;
	font-family: var(--fwm-serif);
	font-style: italic;
	color: var(--fwm-navy);
}
table { width: 100%; border-collapse: collapse; margin: 1.5em 0; background: var(--fwm-white); }
th, td { padding: .7em 1em; border: 1px solid var(--fwm-border); text-align: left; }
th { background: var(--fwm-blush); color: var(--fwm-navy); }
input, textarea, select {
	font: inherit;
	padding: .75em 1em;
	border: 1px solid var(--fwm-border);
	border-radius: var(--fwm-radius-sm);
	background: var(--fwm-white);
	width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--fwm-blush-dark); border-color: var(--fwm-rose); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000;
	top: 10px; left: 10px; padding: 10px 16px; background: var(--fwm-navy); color: #fff;
}
.container { width: 100%; max-width: var(--fwm-max); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn, button, input[type="submit"], .wp-block-button__link {
	display: inline-block;
	font-family: var(--fwm-sans);
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .02em;
	padding: .85em 1.8em;
	border-radius: 999px;
	border: 2px solid var(--fwm-rose);
	background: var(--fwm-rose);
	color: var(--fwm-white);
	cursor: pointer;
	transition: all .2s ease;
	width: auto;
}
.btn:hover, button:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
	background: var(--fwm-rose-dark); border-color: var(--fwm-rose-dark); color: var(--fwm-white);
	transform: translateY(-1px);
}
.btn--outline { background: transparent; color: var(--fwm-rose); }
.btn--outline:hover { background: var(--fwm-rose); color: #fff; }
.btn--navy { background: var(--fwm-navy); border-color: var(--fwm-navy); }
.btn--navy:hover { background: #121a2e; border-color: #121a2e; }

/* ---------- Header ---------- */
.topbar {
	background: var(--fwm-navy); color: #f3e7e2; font-size: .85rem; text-align: center; padding: .5em 1em;
}
.topbar a { color: var(--fwm-gold); font-weight: 700; }
.site-header {
	background: rgba(251, 246, 241, .95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--fwm-border);
	position: sticky; top: 0; z-index: 100;
}
.admin-bar .site-header { top: 32px; }
.site-header .container {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img { max-height: 56px; width: auto; }
.site-title { font-family: var(--fwm-serif); font-size: 1.6rem; font-weight: 700; margin: 0; line-height: 1.1; }
.site-title a { color: var(--fwm-navy); }
.site-title span { color: var(--fwm-rose); font-style: italic; }
.site-description { margin: 0; font-size: .8rem; color: var(--fwm-muted); letter-spacing: .05em; }

.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block; padding: .5em .9em; color: var(--fwm-navy); font-weight: 600; font-size: .95rem; border-radius: 999px;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a { background: var(--fwm-blush); color: var(--fwm-rose-dark); }
.main-navigation ul ul {
	display: none; position: absolute; top: 100%; left: 0; min-width: 210px; flex-direction: column; align-items: stretch;
	background: #fff; border-radius: var(--fwm-radius-sm); box-shadow: var(--fwm-shadow); padding: 8px;
}
.main-navigation li:hover > ul, .main-navigation li:focus-within > ul { display: flex; }
.main-navigation ul ul a { border-radius: 8px; }
.main-navigation .menu-wrap { display: flex; align-items: center; gap: 8px; }
.header-cta { margin-left: 8px; }
.menu-toggle {
	display: none; background: transparent; border: 2px solid var(--fwm-navy); color: var(--fwm-navy);
	padding: .45em .9em; border-radius: 10px;
}
.menu-toggle:hover { background: var(--fwm-navy); color: #fff; transform: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, var(--fwm-blush) 0%, var(--fwm-cream) 70%);
	padding: 80px 0 90px;
}
.hero::after {
	content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
	border-radius: 50%; background: rgba(184, 96, 109, .08);
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero__eyebrow {
	display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--fwm-rose); background: #fff; padding: .4em 1em; border-radius: 999px; margin-bottom: 1.2em;
}
.hero h1 em { color: var(--fwm-rose); }
.hero__text { font-size: 1.15rem; color: var(--fwm-muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.hero__image { position: relative; width: 100%; }
.hero__image img {
	border-radius: 200px 200px var(--fwm-radius) var(--fwm-radius); box-shadow: var(--fwm-shadow);
	width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 8px solid #fff;
}
.hero__placeholder {
	aspect-ratio: 4/5; border-radius: 200px 200px var(--fwm-radius) var(--fwm-radius);
	background: linear-gradient(160deg, var(--fwm-blush-dark), var(--fwm-rose));
	display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--fwm-serif);
	font-size: 4rem; border: 8px solid #fff; box-shadow: var(--fwm-shadow);
}
.hero__badge {
	position: absolute; left: -20px; bottom: 40px; background: #fff; padding: 14px 20px; border-radius: 14px;
	box-shadow: var(--fwm-shadow); font-weight: 700; color: var(--fwm-navy); font-size: .9rem;
}
.hero__badge strong { display: block; font-family: var(--fwm-serif); font-size: 1.4rem; color: var(--fwm-rose); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--white { background: var(--fwm-white); }
.section--blush { background: var(--fwm-blush); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section__eyebrow {
	font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--fwm-rose); margin-bottom: .5em; display: block;
}
.section__head p { color: var(--fwm-muted); }
.section__foot { text-align: center; margin-top: 40px; }

/* Topic cards */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.topic-card {
	background: var(--fwm-cream); border: 1px solid var(--fwm-border); border-radius: var(--fwm-radius);
	padding: 30px 24px; text-align: center; transition: all .25s ease; color: var(--fwm-text); display: block;
}
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--fwm-shadow); background: #fff; color: var(--fwm-text); }
.topic-card__icon {
	width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--fwm-blush);
	display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
.topic-card h3 { font-size: 1.15rem; margin-bottom: .3em; }
.topic-card p { font-size: .9rem; color: var(--fwm-muted); margin: 0; }
.topic-card__count { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 700; color: var(--fwm-rose); }

/* Post cards */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card {
	background: #fff; border-radius: var(--fwm-radius); overflow: hidden; box-shadow: 0 2px 10px rgba(31,42,68,.04);
	display: flex; flex-direction: column; transition: all .25s ease; border: 1px solid var(--fwm-border);
}
.post-card:hover { box-shadow: var(--fwm-shadow); transform: translateY(-3px); }
.post-card__thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--fwm-blush); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__thumb--empty { display: flex; align-items: center; justify-content: center; font-family: var(--fwm-serif); font-size: 2.4rem; color: var(--fwm-rose); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat {
	align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
	background: var(--fwm-blush); color: var(--fwm-rose-dark); padding: .3em .8em; border-radius: 999px; margin-bottom: 12px;
}
.post-card__title { font-size: 1.25rem; margin-bottom: .5em; }
.post-card__title a { color: var(--fwm-navy); }
.post-card__title a:hover { color: var(--fwm-rose); }
.post-card__excerpt { font-size: .95rem; color: var(--fwm-muted); flex: 1; }
.post-card__excerpt p { margin: 0; }
.post-card__meta { font-size: .82rem; color: var(--fwm-muted); margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--fwm-border); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about__image img { border-radius: var(--fwm-radius); box-shadow: var(--fwm-shadow); width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.about__image { position: relative; }
.about__image::before {
	content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 2px solid var(--fwm-rose); border-radius: var(--fwm-radius); z-index: -1;
}
.about__signature { font-family: var(--fwm-serif); font-style: italic; font-size: 1.6rem; color: var(--fwm-rose); margin: .2em 0 1em; }
.about__stats { display: flex; gap: 30px; margin: 1.5em 0; flex-wrap: wrap; }
.about__stats div strong { display: block; font-family: var(--fwm-serif); font-size: 1.8rem; color: var(--fwm-navy); }
.about__stats div span { font-size: .85rem; color: var(--fwm-muted); }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
	background: #fff; border-radius: var(--fwm-radius); padding: 28px; text-align: center; border: 1px solid var(--fwm-border);
	display: flex; flex-direction: column; transition: all .25s;
}
.product-card:hover { box-shadow: var(--fwm-shadow); transform: translateY(-3px); }
.product-card__img { aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; margin-bottom: 20px; background: var(--fwm-blush); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__img--empty { display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.product-card h3 { font-size: 1.2rem; }
.product-card p { color: var(--fwm-muted); font-size: .95rem; flex: 1; }
.product-card__price { font-family: var(--fwm-serif); font-size: 1.5rem; color: var(--fwm-rose); font-weight: 700; margin-bottom: 14px; }

/* Newsletter */
.newsletter {
	background: var(--fwm-navy); color: #e9e4ea; border-radius: 28px; padding: 60px; display: grid;
	grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.newsletter::before {
	content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
	background: rgba(246, 220, 214, .08); right: -80px; bottom: -120px;
}
.newsletter h2 { color: #fff; }
.newsletter h2 em { color: var(--fwm-blush-dark); }
.newsletter p { color: #c9c6d3; }
.newsletter__form { position: relative; z-index: 1; }
.newsletter__form form { display: flex; flex-direction: column; gap: 12px; }
.newsletter__form input[type="email"], .newsletter__form input[type="text"] { border: none; padding: 1em 1.2em; border-radius: 999px; }
.newsletter__form input[type="submit"], .newsletter__form button { width: 100%; background: var(--fwm-rose); }
.newsletter__note { font-size: .8rem; color: #9b98a8; margin-top: 10px; }

/* ---------- Content layout ---------- */
.page-header-band { background: var(--fwm-blush); padding: 60px 0 50px; text-align: center; }
.page-header-band p { color: var(--fwm-muted); max-width: 640px; margin: 0 auto; }
.content-area { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; padding: 60px 0 80px; }
.content-area--full { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; }
.content-area .posts-grid { grid-template-columns: repeat(2, 1fr); }

.entry { background: #fff; border-radius: var(--fwm-radius); padding: 50px; border: 1px solid var(--fwm-border); }
.entry-header { text-align: center; margin-bottom: 30px; }
.entry-meta { font-size: .9rem; color: var(--fwm-muted); }
.entry-meta a { color: var(--fwm-rose); font-weight: 700; }
.entry-thumbnail { margin: 0 0 36px; }
.entry-thumbnail img { border-radius: var(--fwm-radius); width: 100%; }
.entry-content { font-size: 1.06rem; }
.entry-content h2 { margin-top: 1.6em; font-size: 1.8rem; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--fwm-rose); }
.entry-content img { border-radius: var(--fwm-radius-sm); }
.entry-content .alignwide { margin-left: -40px; margin-right: -40px; max-width: none; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--fwm-muted); text-align: center; margin-top: .5em; }
.entry-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--fwm-border); }
.tags-links a {
	display: inline-block; font-size: .8rem; background: var(--fwm-cream); border: 1px solid var(--fwm-border);
	padding: .25em .8em; border-radius: 999px; margin: 0 6px 6px 0; color: var(--fwm-text);
}
.disclaimer {
	font-size: .85rem; color: var(--fwm-muted); background: var(--fwm-cream); border-radius: var(--fwm-radius-sm);
	padding: 14px 18px; margin-bottom: 28px; border: 1px dashed var(--fwm-blush-dark);
}
.author-box {
	display: flex; gap: 20px; align-items: center; background: var(--fwm-blush); border-radius: var(--fwm-radius);
	padding: 26px; margin-top: 36px;
}
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box h4 { margin-bottom: .2em; }
.author-box p { margin: 0; font-size: .95rem; }

.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.post-navigation a {
	display: block; background: #fff; border: 1px solid var(--fwm-border); border-radius: var(--fwm-radius-sm); padding: 18px 22px; color: var(--fwm-navy);
}
.post-navigation .nav-next { text-align: right; }
.post-navigation .meta-nav { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fwm-rose); font-weight: 800; }

.pagination, .nav-links { margin-top: 40px; text-align: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; margin: 0 3px;
	padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--fwm-border); color: var(--fwm-navy); font-weight: 700;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--fwm-rose); border-color: var(--fwm-rose); color: #fff; }

/* Sidebar */
.widget-area .widget {
	background: #fff; border-radius: var(--fwm-radius); padding: 26px; margin-bottom: 26px; border: 1px solid var(--fwm-border);
}
.widget-title, .widget h2 { font-size: 1.2rem; margin-bottom: 1em; padding-bottom: .5em; border-bottom: 2px solid var(--fwm-blush); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .45em 0; border-bottom: 1px dashed var(--fwm-border); }
.widget li:last-child { border-bottom: none; }
.widget a { color: var(--fwm-text); }
.widget a:hover { color: var(--fwm-rose); }
.widget--about { text-align: center; }
.widget--about img { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; margin: 0 auto 14px; border: 5px solid var(--fwm-blush); }
.widget--cta { background: var(--fwm-navy) !important; color: #ddd; text-align: center; border: none !important; }
.widget--cta h3 { color: #fff; }

.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-submit { padding: .7em 1.2em; }

/* Comments */
.comments-area { margin-top: 40px; background: #fff; border-radius: var(--fwm-radius); padding: 40px; border: 1px solid var(--fwm-border); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--fwm-border); }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-metadata { font-size: .8rem; }
.comment-respond { margin-top: 30px; }
.comment-form p { margin-bottom: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--fwm-navy); color: #c9c6d3; padding: 70px 0 0; margin-top: 0; }
.site-footer a { color: #e9e4ea; }
.site-footer a:hover { color: var(--fwm-blush-dark); }
.footer-widgets { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3, .site-footer .widget-title { color: #fff; font-size: 1.1rem; border: none; }
.site-footer .widget { background: transparent; border: none; padding: 0; }
.site-footer .widget li { border-color: rgba(255,255,255,.08); }
.footer-brand .site-title a { color: #fff; }
.footer-brand p { font-size: .95rem; }
.footer-menu ul { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: .5em; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
	width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
}
.social-links a:hover { background: var(--fwm-rose); color: #fff; }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.site-info {
	border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; display: flex;
	justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* 404 */
.error-404 { text-align: center; padding: 100px 0; }
.error-404 .big { font-family: var(--fwm-serif); font-size: 7rem; color: var(--fwm-rose); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.topics { grid-template-columns: repeat(2, 1fr); }
	.posts-grid, .products { grid-template-columns: repeat(2, 1fr); }
	.footer-widgets { grid-template-columns: 1fr 1fr; }
	.content-area { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.menu-toggle { display: inline-block; }
	.main-navigation { position: relative; }
	.main-navigation .menu-wrap {
		display: none; flex-direction: column; align-items: stretch; position: absolute; right: 0; top: calc(100% + 18px); background: #fff; border-radius: var(--fwm-radius);
		box-shadow: var(--fwm-shadow); padding: 14px; min-width: 260px;
	}
	.main-navigation.toggled .menu-wrap { display: flex; }
	.main-navigation ul { flex-direction: column; align-items: stretch; }
	.main-navigation ul ul { display: flex; position: static; box-shadow: none; padding: 0 0 0 14px; }
	.header-cta { margin: 10px 0 0; text-align: center; }
	.hero { padding: 50px 0 60px; }
	.hero .container, .about, .newsletter { grid-template-columns: 1fr; }
	.hero__image { max-width: 380px; margin: 0 auto; }
	.newsletter { padding: 40px 28px; }
	.entry { padding: 28px 22px; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.section { padding: 56px 0; }
	.topics, .posts-grid, .products, .content-area .posts-grid, .footer-widgets, .post-navigation { grid-template-columns: 1fr; }
	.container { padding: 0 16px; }
	.hero__badge { left: 0; }
	.author-box { flex-direction: column; text-align: center; }
	.admin-bar .site-header { top: 0; }
}

/* Header button keeps button colors inside the nav */
.main-navigation .header-cta a.btn { color: #fff; background: var(--fwm-rose); padding: .7em 1.4em; }
.main-navigation .header-cta a.btn:hover { background: var(--fwm-rose-dark); color: #fff; }

/* =========================================================
   Shop, products & marketing (v2)
   ========================================================= */
.section--tight { padding: 50px 0; }
.narrow { max-width: 820px; }
.badge {
	position: absolute; top: 14px; right: 14px; background: var(--fwm-navy); color: #fff; font-size: .72rem; font-weight: 800;
	letter-spacing: .08em; text-transform: uppercase; padding: .4em .9em; border-radius: 999px; z-index: 2;
}
.badge--static { position: static; display: inline-block; margin-bottom: 12px; background: var(--fwm-rose); }
.fwm-price { display: inline-flex; align-items: baseline; gap: 8px; }
.fwm-price del { color: var(--fwm-muted); font-size: .75em; font-weight: 600; }
.fwm-price ins { text-decoration: none; }
.save { display: inline-block; background: #e3f1e6; color: #2e7d4f; font-weight: 800; font-size: .78rem; padding: .3em .7em; border-radius: 999px; margin-left: 8px; vertical-align: middle; font-family: var(--fwm-sans); }
.btn--buy { background: var(--fwm-rose); }
.btn--big { font-size: 1.08rem; padding: 1em 2.2em; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--fwm-navy); border-color: #fff; }
.fwm-admin-note { font-size: .8rem; background: #fff3cd; color: #7a5b00; padding: 8px 12px; border-radius: 8px; margin-top: 10px; }

/* product cards */
.products--4 { grid-template-columns: repeat(4, 1fr); }
.products--one { grid-template-columns: minmax(0, 360px); justify-content: center; margin: 2em 0; }
.product-card { padding: 0; text-align: left; overflow: hidden; }
.product-card__img { position: relative; display: block; aspect-ratio: 4/3; margin: 0; border-radius: 0; background: var(--fwm-blush); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card__img img { transform: scale(1.03); }
.product-card__img--empty { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3rem; }
.product-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card__format { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fwm-rose); margin-bottom: 8px; }
.product-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.product-card h3 a { color: var(--fwm-navy); }
.product-card p { font-size: .92rem; }
.product-card__price { font-family: var(--fwm-serif); font-size: 1.5rem; color: var(--fwm-rose); font-weight: 700; margin: 6px 0 16px; text-align: left; }
.product-card__price--big { font-size: 2.2rem; margin: 10px 0 18px; }
.product-card__actions .btn { width: 100%; text-align: center; }

/* bundle banner */
.bundle-banner {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--fwm-navy); color: #e9e4ea; border-radius: 26px; overflow: hidden;
	margin-top: 36px; box-shadow: var(--fwm-shadow);
}
.bundle-banner__img { display: block; background: var(--fwm-blush); }
.bundle-banner__img img { width: 100%; height: 100%; object-fit: cover; }
.bundle-banner__body { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.bundle-banner h3 { color: #fff; font-size: 2rem; }
.bundle-banner p { color: #c9c6d3; }
.bundle-banner .product-card__price { color: #fff; }
.bundle-banner .fwm-price del { color: #9b98a8; }
.bundle-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* shop page */
.shop-hero h1 { max-width: 760px; margin-left: auto; margin-right: auto; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; font-weight: 700; color: var(--fwm-navy); }
.trust li::before { content: "✓ "; color: #2e7d4f; font-weight: 800; }
.trust--center { justify-content: center; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--fwm-radius); border: 1px solid var(--fwm-border); }
.compare { margin: 0; min-width: 760px; background: #fff; }
.compare th, .compare td { text-align: center; border: none; border-bottom: 1px solid var(--fwm-border); padding: 14px 12px; }
.compare th { background: var(--fwm-navy); }
.compare th a { color: #fff; font-family: var(--fwm-serif); font-size: 1rem; }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 700; color: var(--fwm-navy); }
.compare .is-bundle { background: var(--fwm-blush); }
.compare th.is-bundle { background: var(--fwm-rose); }
.compare .yes { color: #2e7d4f; font-weight: 800; font-size: 1.2rem; }
.compare .no { color: #c9c6d3; }
.compare .price-row td { font-family: var(--fwm-serif); font-weight: 700; color: var(--fwm-rose); font-size: 1.15rem; }
.faq details { background: #fff; border: 1px solid var(--fwm-border); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--fwm-navy); padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--fwm-rose); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--fwm-muted); }
.shop-help { text-align: center; color: var(--fwm-muted); font-size: .92rem; margin-top: 24px; }

/* product page */
.product-hero { background: linear-gradient(135deg, var(--fwm-blush) 0%, var(--fwm-cream) 70%); padding: 60px 0 70px; }
.product-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: start; }
.product-hero__main { position: relative; border-radius: var(--fwm-radius); overflow: hidden; box-shadow: var(--fwm-shadow); background: #fff; }
.product-hero__main img { width: 100%; height: auto; }
.product-hero__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1/1; }
.thumb:hover { transform: none; background: #fff; border-color: var(--fwm-blush-dark); }
.thumb.is-active { border-color: var(--fwm-rose); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-hero__info h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3em; }
.product-hero__sub { font-size: 1.12rem; color: var(--fwm-text); }
.product-hero__peek { font-size: .9rem; color: var(--fwm-muted); margin-top: 18px; }
.sale-note { background: #fff; border: 1px dashed var(--fwm-rose); border-radius: 12px; padding: 10px 14px; font-size: .92rem; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; font-size: .85rem; }
.share span { font-weight: 700; color: var(--fwm-navy); }
.share a { background: #fff; border: 1px solid var(--fwm-border); border-radius: 999px; padding: .3em .9em; color: var(--fwm-text); font-weight: 600; }
.share a:hover { border-color: var(--fwm-rose); color: var(--fwm-rose); }
.product-desc { font-size: 1.1rem; text-align: center; }
.inside-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.inside-list li { background: var(--fwm-cream); border: 1px solid var(--fwm-border); border-radius: 12px; padding: 14px 18px 14px 48px; position: relative; font-weight: 600; color: var(--fwm-navy); }
.inside-list li::before { content: "✓"; position: absolute; left: 16px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--fwm-rose); color: #fff; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.peek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.peek figure { margin: 0; background: #fff; border-radius: var(--fwm-radius); padding: 14px; box-shadow: var(--fwm-shadow); }
.peek img { width: 100%; height: 420px; object-fit: contain; border-radius: 8px; }
.who-how { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.who-list { list-style: none; padding: 0; }
.who-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px dashed var(--fwm-border); }
.who-list li::before { content: "♥"; position: absolute; left: 4px; color: var(--fwm-rose); }
.steps-list { list-style: none; padding: 0; counter-reset: s; }
.steps-list li { counter-increment: s; position: relative; padding: 4px 0 18px 62px; display: flex; flex-direction: column; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--fwm-navy); color: #fff; font-family: var(--fwm-serif); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.steps-list strong { color: var(--fwm-navy); font-family: var(--fwm-serif); font-size: 1.15rem; }
.steps-list span { color: var(--fwm-muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: #fff; border: 1px solid var(--fwm-border); border-left: 4px solid var(--fwm-rose); }
.review cite { display: block; font-style: normal; font-weight: 700; font-family: var(--fwm-sans); font-size: .9rem; color: var(--fwm-rose); margin-top: 8px; }
.final-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; background: var(--fwm-blush); border-radius: 26px; padding: 40px 46px; }
.final-cta h2 { margin-bottom: .2em; }
.final-cta p { margin: 0; color: var(--fwm-muted); }
.final-cta__buy { text-align: center; flex-shrink: 0; }
.buybar { display: none; }

/* recommended product in posts */
.fwm-recommend { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: var(--fwm-blush); border-radius: var(--fwm-radius); padding: 22px; margin: 2.5em 0 1em; }
.fwm-recommend__img img { border-radius: 12px; width: 100%; height: auto; }
.fwm-recommend h3 { margin: .2em 0 .3em; font-size: 1.35rem; }
.fwm-recommend h3 a { color: var(--fwm-navy); }
.fwm-recommend p { margin: 0 0 12px; font-size: .95rem; }
.fwm-recommend__buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-family: var(--fwm-serif); font-size: 1.3rem; font-weight: 700; color: var(--fwm-rose); }

/* sale bar */
.salebar {
	background: var(--fwm-rose); color: #fff; text-align: center; padding: .55em 1em; font-size: .9rem; font-weight: 600;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
}
.salebar__code { background: #fff; color: var(--fwm-rose-dark); border: 2px dashed #fff; padding: .15em .8em; border-radius: 6px; font-weight: 800; letter-spacing: .08em; font-size: .85rem; }
.salebar__code:hover { background: var(--fwm-navy); color: #fff; transform: none; border-color: var(--fwm-navy); }
.salebar__code.copied::after { content: " ✓ copied"; }
.salebar__timer { display: inline-flex; align-items: baseline; gap: 3px; }
.salebar__timer b { background: rgba(0,0,0,.18); border-radius: 5px; padding: 0 .35em; font-variant-numeric: tabular-nums; }
.salebar__timer small { opacity: .85; margin-right: 4px; }
.salebar__ends { margin-right: 4px; }
.salebar__link { color: #fff; text-decoration: underline; font-weight: 800; }
.salebar__link:hover { color: var(--fwm-navy); }

@media (max-width: 1024px) {
	.products--4 { grid-template-columns: repeat(2, 1fr); }
	.product-hero__grid, .who-how { grid-template-columns: 1fr; }
	.bundle-banner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.peek, .reviews { grid-template-columns: 1fr; }
	.peek img { height: auto; max-height: 520px; }
	.inside-list { grid-template-columns: 1fr; }
	.final-cta { flex-direction: column; text-align: center; padding: 32px 24px; }
	.bundle-banner__body { padding: 30px 24px; }
	.fwm-recommend { grid-template-columns: 1fr; }
	.product-page { padding-bottom: 70px; }
	.buybar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #fff; box-shadow: 0 -6px 20px rgba(31,42,68,.12);
		padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px;
	}
	.buybar__info { display: flex; flex-direction: column; font-size: .85rem; line-height: 1.2; }
	.buybar__info .fwm-price { font-family: var(--fwm-serif); font-size: 1.15rem; color: var(--fwm-rose); font-weight: 700; }
	.buybar .btn { padding: .7em 1.3em; }
	.buybar .fwm-admin-note { display: none; }
}
@media (max-width: 600px) {
	.salebar { font-size: .78rem; gap: 4px 8px; padding: .5em .6em; }
	.salebar__ends { display: none; }
	.products--4 { grid-template-columns: 1fr; }
	.product-hero { padding: 36px 0 50px; }
}

/* =========================================================
   v3: contact form, ads, WooCommerce basics
   ========================================================= */
.fwm-form { background: #fff; border: 1px solid var(--fwm-border); border-radius: var(--fwm-radius); padding: 28px; margin: 1.5em 0; }
.fwm-form label { display: block; font-weight: 700; color: var(--fwm-navy); font-size: .9rem; margin-bottom: 6px; }
.fwm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.fwm-form__note { font-size: .82rem; color: var(--fwm-muted); }
.fwm-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.fwm-form-ok { background: #e3f1e6; color: #2e7d4f; border-radius: 12px; padding: 16px 20px; font-weight: 700; }
.fwm-form-error { background: #f7d9d9; color: #b03a3a; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-weight: 600; }
.fwm-ad { margin: 2em 0; text-align: center; min-height: 120px; }
.fwm-ad__label { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fwm-muted); margin-bottom: 6px; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button { border-radius: 999px !important; background: var(--fwm-rose) !important; color: #fff !important; }
.woocommerce-checkout .entry, .woocommerce-cart .entry { padding: 36px; }
@media (max-width: 600px) { .fwm-form__row { grid-template-columns: 1fr; } .fwm-form { padding: 20px; } }
