/* BestMugsGuide Pro - main stylesheet
 * Design tokens are driven by the Customizer; CSS vars are injected inline.
 * Fallbacks below allow rendering before the inline override loads. */

:root {
	--bmg-cream:      #f7f1e6;
	--bmg-espresso:   #3b2517;
	--bmg-caramel:    #c8843c;
	--bmg-latte:      #ece1cd;
	--bmg-terracotta: #b86244;
	--bmg-sage:       #8aa37b;
	--bmg-blush:      #e7c4b8;
	--bmg-charcoal:   #2a1f17;
	--bmg-gold:       #b8893a;
	--bmg-bg:         var(--bmg-cream);
	--bmg-surface:    #fffaf2;
	--bmg-line:       rgba(59, 37, 23, 0.12);

	--bmg-radius:     16px;
	--bmg-radius-sm:  10px;
	--bmg-radius-lg:  24px;

	--bmg-shadow-sm:  0 1px 2px rgba(59,37,23,.06), 0 1px 1px rgba(59,37,23,.04);
	--bmg-shadow:     0 8px 24px rgba(59,37,23,.08), 0 2px 4px rgba(59,37,23,.04);
	--bmg-shadow-lg:  0 24px 60px rgba(59,37,23,.12), 0 8px 16px rgba(59,37,23,.06);

	--bmg-container:  1180px;
	--bmg-container-narrow: 760px;

	--bmg-font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--bmg-font-display: 'Fraunces', Georgia, serif;
	--bmg-font-mono:    'Space Grotesk', ui-monospace, monospace;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bmg-bg);
	color: var(--bmg-charcoal);
	font-family: var(--bmg-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--bmg-espresso); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bmg-caramel); }

h1, h2, h3, h4 { font-family: var(--bmg-font-display); color: var(--bmg-espresso); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
small, .bmg-small { font-size: .85rem; color: #5a4738; }

.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; }
.bmg-skip-link { position:absolute; left:-9999px; top:0; background:var(--bmg-espresso); color:#fff; padding:8px 12px; z-index:9999; }
.bmg-skip-link:focus { left:8px; top:8px; }

/* ---------- Layout ---------- */
.bmg-container { width: 100%; max-width: var(--bmg-container); margin: 0 auto; padding: 0 20px; }
.bmg-container--narrow { max-width: var(--bmg-container-narrow); }
.bmg-main { min-height: 50vh; }

/* ---------- Disclosure bar / safety ---------- */
.bmg-disclosure-bar { background: var(--bmg-latte); border-bottom: 1px solid var(--bmg-line); padding: 6px 0; font-size: .82rem; text-align: center; color: #5a4738; }
.bmg-disclosure-bar small { letter-spacing: .01em; }
.bmg-disclosure { background: rgba(184,137,58,.08); border: 1px solid rgba(184,137,58,.25); padding: 10px 14px; border-radius: var(--bmg-radius-sm); font-size: .88rem; color: #5a4738; margin: 1rem 0; }
.bmg-disclosure--compact { padding: 6px 10px; font-size: .78rem; margin: .5rem 0 0; }
.bmg-disclosure--top { margin-bottom: 1.5rem; }
.bmg-disclosure__label { font-weight: 600; color: var(--bmg-gold); margin-right: 4px; }

.bmg-safety { background: rgba(138,163,123,.12); border-left: 4px solid var(--bmg-sage); padding: 14px 18px; border-radius: var(--bmg-radius-sm); color: #3d4736; margin: 1.5rem 0; font-size: .95rem; }
.bmg-safety--compact { padding: 10px 14px; font-size: .85rem; }

/* ---------- Header ---------- */
.bmg-site-header { background: var(--bmg-surface); border-bottom: 1px solid var(--bmg-line); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(120%) blur(6px); }
.bmg-site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.bmg-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--bmg-font-display); font-weight: 700; color: var(--bmg-espresso); text-decoration: none; font-size: 1.15rem; }
.bmg-brand__mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--bmg-caramel); color: #fff; font-size: 1.1rem; }

.bmg-primary-nav { display: none; }
.bmg-primary-nav__list { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.bmg-primary-nav__list a { text-decoration: none; color: var(--bmg-espresso); font-weight: 500; font-size: .95rem; }
.bmg-primary-nav__list a:hover { color: var(--bmg-caramel); }

.bmg-menu-toggle { background: transparent; border: 1px solid var(--bmg-line); border-radius: 10px; width: 42px; height: 42px; display: grid; place-items: center; gap: 4px; padding: 0; cursor: pointer; }
.bmg-menu-toggle__bar { width: 20px; height: 2px; background: var(--bmg-espresso); display: block; }

.bmg-mobile-nav { background: var(--bmg-surface); border-top: 1px solid var(--bmg-line); padding: 14px 20px 20px; }
.bmg-mobile-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bmg-mobile-nav a { display: block; padding: 10px 12px; border-radius: 10px; background: var(--bmg-cream); text-decoration: none; color: var(--bmg-espresso); }

@media (min-width: 880px) {
	.bmg-primary-nav { display: block; }
	.bmg-menu-toggle { display: none; }
	.bmg-mobile-nav { display: none !important; }
}

/* ---------- Buttons ---------- */
a.bmg-btn, button.bmg-btn, .bmg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; font-weight: 600; font-size: .95rem; border-radius: 999px; text-decoration: none; border: 1px solid transparent; transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease; cursor: pointer; }
a.bmg-btn--primary, button.bmg-btn--primary, .bmg-btn--primary { background: var(--bmg-caramel); color: #fff; box-shadow: 0 4px 10px rgba(200,132,60,.35); }
a.bmg-btn--primary:hover, button.bmg-btn--primary:hover, .bmg-btn--primary:hover { transform: translateY(-1px); background: var(--bmg-terracotta); color: #fff; }
a.bmg-btn--ghost, button.bmg-btn--ghost, .bmg-btn--ghost { background: transparent; color: var(--bmg-espresso); border-color: var(--bmg-line); }
a.bmg-btn--ghost:hover, button.bmg-btn--ghost:hover, .bmg-btn--ghost:hover { background: var(--bmg-latte); color: var(--bmg-espresso); }

.bmg-link { text-decoration: underline; text-underline-offset: 3px; }
.bmg-link--amazon { color: var(--bmg-caramel); font-weight: 600; }
/* Plain (non-button) amazon link */
.bmg-amazon-link:not(.bmg-btn) { color: var(--bmg-caramel); font-weight: 600; text-decoration: underline; }
/* When the link is also a button, inherit button color + suppress underline */
.bmg-amazon-link.bmg-btn { text-decoration: none; }
.bmg-amazon-link.bmg-btn--primary { color: #fff; }
.bmg-amazon-link.bmg-btn--primary:hover { color: #fff; }
.bmg-amazon-link.bmg-btn--ghost { color: var(--bmg-espresso); }
.bmg-amazon-link__icon { display: inline-block; margin-left: 4px; transition: transform .15s ease; }
.bmg-amazon-link:hover .bmg-amazon-link__icon { transform: translateX(2px); }

/* ---------- Hero ---------- */
.bmg-hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--bmg-cream) 0%, var(--bmg-latte) 100%); position: relative; overflow: hidden; }
.bmg-hero__inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.bmg-hero__eyebrow { font-family: var(--bmg-font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--bmg-gold); margin: 0 0 .8rem; }
.bmg-hero__headline { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: .6rem; }
.bmg-hero__sub { font-size: 1.1rem; color: #5a4738; max-width: 38ch; }
.bmg-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.bmg-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.bmg-hero__chips li { background: rgba(255,255,255,.7); border: 1px solid var(--bmg-line); padding: 6px 12px; border-radius: 999px; font-size: .82rem; }
.bmg-hero__visual { display: grid; place-items: center; }
.bmg-hero__svg { width: clamp(220px, 38vw, 360px); aspect-ratio: 1; filter: drop-shadow(0 30px 40px rgba(59,37,23,.18)); }
.bmg-steam { animation: bmg-steam 3.5s ease-in-out infinite; transform-origin: center bottom; }
@keyframes bmg-steam { 0%,100%{opacity:.55; transform:translateY(0)} 50%{opacity:.85; transform:translateY(-6px)} }

@media (min-width: 880px) {
	.bmg-hero__inner { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- Quick start ---------- */
.bmg-quickstart { padding: 56px 0; }
.bmg-section__header { text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.bmg-section__title { margin: 0 0 .4rem; }
.bmg-section__sub { color: #5a4738; margin: 0; }
.bmg-quickstart__grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.bmg-quickstart__card { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 20px; background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); text-decoration: none; color: var(--bmg-espresso); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; box-shadow: var(--bmg-shadow-sm); }
.bmg-quickstart__card:hover { transform: translateY(-2px); box-shadow: var(--bmg-shadow); border-color: var(--bmg-caramel); color: var(--bmg-espresso); }
.bmg-quickstart__label { font-weight: 600; }
.bmg-quickstart__arrow { color: var(--bmg-caramel); font-weight: 700; }

/* ---------- Sections / shared ---------- */
.bmg-section { padding: 56px 0; }
.bmg-section--quiz { background: var(--bmg-surface); border-top: 1px solid var(--bmg-line); border-bottom: 1px solid var(--bmg-line); }
.bmg-section--categories { background: var(--bmg-cream); }
.bmg-section--compare { padding: 56px 0; }
.bmg-section--accessories { background: var(--bmg-surface); }
.bmg-section--buying { padding: 56px 0; }
.bmg-section--faq { background: var(--bmg-cream); }
.bmg-section--newsletter { background: linear-gradient(180deg, var(--bmg-latte), var(--bmg-cream)); }
.bmg-section--trust { padding: 56px 0; }

/* ---------- Quiz ---------- */
.bmg-quiz { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius-lg); padding: 28px; box-shadow: var(--bmg-shadow); }
.bmg-quiz__header { text-align: center; margin-bottom: 18px; }
.bmg-quiz__title { font-size: 1.6rem; margin-bottom: .3rem; }
.bmg-quiz__subtitle { color: #5a4738; margin: 0; }
.bmg-quiz__progress { height: 6px; background: var(--bmg-latte); border-radius: 999px; overflow: hidden; margin: 18px 0 22px; }
.bmg-quiz__progress-bar { height: 100%; background: var(--bmg-caramel); width: 0; transition: width .3s ease; }
.bmg-quiz__body { min-height: 220px; }
.bmg-quiz__question h3 { font-family: var(--bmg-font-display); font-size: 1.35rem; margin: 0 0 .6rem; }
.bmg-quiz__options { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin: 0 0 1.2rem; padding: 0; list-style: none; }
@media (max-width: 600px) { .bmg-quiz__options { grid-template-columns: 1fr; } }
.bmg-quiz__option { display: block; width: 100%; text-align: left; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--bmg-line); background: var(--bmg-cream); color: var(--bmg-espresso); font-size: .95rem; cursor: pointer; transition: border-color .15s ease, transform .12s ease, background .15s ease; }
.bmg-quiz__option:hover { border-color: var(--bmg-caramel); transform: translateY(-1px); }
.bmg-quiz__option[aria-pressed="true"] { background: var(--bmg-caramel); color: #fff; border-color: var(--bmg-caramel); }
.bmg-quiz__nav { display: flex; justify-content: space-between; gap: 10px; }
.bmg-quiz__nav .bmg-btn { padding: 10px 16px; }
.bmg-quiz__result { padding: 0; }
.bmg-quiz__result h3 { margin: 0 0 .25rem; font-size: 1.6rem; }
.bmg-quiz__result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; }
.bmg-quiz__result-meta span { background: var(--bmg-latte); padding: 4px 10px; border-radius: 999px; font-size: .82rem; color: #5a4738; }
.bmg-quiz__result-check { background: rgba(138,163,123,.12); border-left: 4px solid var(--bmg-sage); padding: 12px 16px; border-radius: 10px; }
.bmg-quiz__result-check ul { margin: 8px 0 0; padding-left: 18px; }
.bmg-quiz__result-cta { display: flex; gap: 10px; margin: 18px 0 0; flex-wrap: wrap; }
.bmg-quiz__noscript { background: rgba(184,98,68,.1); border-left: 4px solid var(--bmg-terracotta); padding: 12px 16px; border-radius: 8px; }

/* ---------- Category grid ---------- */
.bmg-cat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bmg-cat-card { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--bmg-shadow-sm); }
.bmg-cat-card__title { margin: 0; font-size: 1.2rem; }
.bmg-cat-card__title a { text-decoration: none; color: var(--bmg-espresso); }
.bmg-cat-card__material { font-family: var(--bmg-font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--bmg-gold); margin: 0; }
.bmg-cat-card__desc { color: #5a4738; margin: 0; flex: 1; }
.bmg-cat-card__actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--bmg-line); }

/* ---------- Compare table ---------- */
.bmg-compare__wrap { overflow-x: auto; border-radius: var(--bmg-radius); border: 1px solid var(--bmg-line); background: var(--bmg-surface); box-shadow: var(--bmg-shadow-sm); }
.bmg-compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.bmg-compare th, .bmg-compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--bmg-line); font-size: .92rem; }
.bmg-compare thead th { background: var(--bmg-latte); font-family: var(--bmg-font-display); }
.bmg-compare tbody th { font-weight: 600; color: var(--bmg-espresso); }
.bmg-compare tbody tr:last-child td, .bmg-compare tbody tr:last-child th { border-bottom: none; }

/* ---------- Accessories ---------- */
.bmg-acc__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; padding: 0; margin: 0; }
.bmg-acc__card { background: var(--bmg-cream); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bmg-acc__title { margin: 0; font-size: 1rem; font-family: var(--bmg-font-body); font-weight: 600; color: var(--bmg-espresso); }

/* ---------- Buying hub ---------- */
.bmg-buying__list { list-style: none; counter-reset: bmg-step; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.bmg-buying__list li { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); padding: 20px 24px; counter-increment: bmg-step; position: relative; padding-left: 64px; }
.bmg-buying__list li::before { content: counter(bmg-step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--bmg-caramel); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: var(--bmg-font-mono); }
.bmg-buying__list h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.bmg-buying__list p { margin: 0; color: #5a4738; }
@media (min-width: 760px) { .bmg-buying__list { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.bmg-faq__list { display: grid; gap: 10px; }
.bmg-faq__item { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius-sm); padding: 14px 18px; }
.bmg-faq__item summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--bmg-espresso); }
.bmg-faq__item summary::-webkit-details-marker { display: none; }
.bmg-faq__item summary::after { content: '+'; font-size: 1.4rem; color: var(--bmg-caramel); transition: transform .15s ease; }
.bmg-faq__item[open] summary::after { content: '−'; }
.bmg-faq__answer { padding-top: 8px; color: #5a4738; }

/* ---------- Newsletter ---------- */
.bmg-newsletter { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius-lg); padding: 36px; text-align: center; box-shadow: var(--bmg-shadow); }
.bmg-newsletter__heading { margin: 0 0 .5rem; }
.bmg-newsletter__sub { color: #5a4738; }
.bmg-newsletter__form { display: flex; gap: 10px; margin: 1.2rem auto 0; max-width: 460px; }
.bmg-newsletter__form input[type="email"] { flex: 1; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--bmg-line); font-size: 1rem; background: #fff; }
.bmg-newsletter__form button { white-space: nowrap; }

/* ---------- Trust ---------- */
.bmg-trust__grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bmg-trust__grid li { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); padding: 20px 22px; }
.bmg-trust__grid h3 { margin: 0 0 .4rem; }
.bmg-trust__grid p { color: #5a4738; margin: 0 0 .6rem; }

/* ---------- Article ---------- */
.bmg-article { max-width: 760px; margin: 0 auto; padding: 24px 0 60px; }
.bmg-article__kicker { font-family: var(--bmg-font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--bmg-gold); text-decoration: none; }
.bmg-article__title { margin: .25rem 0 .6rem; }
.bmg-article__meta { color: #5a4738; font-size: .9rem; }
.bmg-article__sep { margin: 0 8px; color: var(--bmg-line); }
.bmg-article__media { margin: 1.5rem 0; border-radius: var(--bmg-radius-lg); overflow: hidden; }
.bmg-article__content { font-size: 1.06rem; }
.bmg-article__content h2 { margin-top: 2.2rem; }
.bmg-article__content h3 { margin-top: 1.6rem; font-family: var(--bmg-font-display); font-size: 1.3rem; }
.bmg-article__content a:not(.bmg-btn):not(.bmg-amazon-link) { color: var(--bmg-terracotta); }
.bmg-article__content blockquote { border-left: 4px solid var(--bmg-caramel); margin: 1.5rem 0; padding: 6px 18px; color: #5a4738; font-style: italic; }
.bmg-article__content ul, .bmg-article__content ol { padding-left: 1.4rem; }
.bmg-article__content img { border-radius: var(--bmg-radius-sm); }

/* ---------- Product Box block ---------- */
.bmg-product-box { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius-lg); overflow: hidden; box-shadow: var(--bmg-shadow); margin: 1.5rem 0; display: grid; grid-template-columns: 1fr; }
.bmg-product-box--hero { background: linear-gradient(180deg, var(--bmg-surface), var(--bmg-cream)); }
.bmg-product-box__image img { width: 100%; height: 100%; object-fit: cover; }
.bmg-product-box__body { padding: 24px 26px; }
.bmg-product-box__kicker { font-family: var(--bmg-font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--bmg-gold); margin: 0 0 .4rem; }
.bmg-product-box__title { margin: 0 0 .25rem; }
.bmg-product-box__subtitle { color: #5a4738; margin: 0 0 .8rem; }
.bmg-product-box__chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 8px; }
.bmg-product-box__chips li { background: var(--bmg-latte); border-radius: 999px; padding: 6px 12px; font-size: .82rem; color: #5a4738; }
.bmg-product-box__chips span { font-weight: 700; color: var(--bmg-espresso); margin-right: 4px; }
.bmg-product-box__procon { display: grid; gap: 16px; margin: 0 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .bmg-product-box__procon { grid-template-columns: 1fr 1fr; } }
.bmg-product-box__pros h4 { color: var(--bmg-sage); }
.bmg-product-box__cons h4 { color: var(--bmg-terracotta); }
.bmg-product-box__pros ul, .bmg-product-box__cons ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.bmg-product-box__care { background: var(--bmg-latte); border-radius: 10px; padding: 10px 14px; font-size: .88rem; color: #5a4738; margin: 0 0 1rem; }
.bmg-product-box__cta .bmg-btn { font-size: 1rem; padding: 14px 22px; }
@media (min-width: 760px) {
	.bmg-product-box { grid-template-columns: 340px 1fr; }
	.bmg-product-box--inline { grid-template-columns: 1fr; }
}

/* Pros/cons grid block */
.bmg-procon-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 1.5rem 0; }
@media (min-width: 600px) { .bmg-procon-grid { grid-template-columns: 1fr 1fr; } }
.bmg-procon-grid__col { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); padding: 18px 20px; }
.bmg-procon-grid__col h3 { margin: 0 0 .4rem; }
.bmg-procon-grid__col--pros h3 { color: var(--bmg-sage); }
.bmg-procon-grid__col--cons h3 { color: var(--bmg-terracotta); }

.bmg-quick-answer { background: var(--bmg-latte); border-radius: var(--bmg-radius); padding: 18px 22px; margin: 1.2rem 0; border-left: 4px solid var(--bmg-caramel); }
.bmg-quick-answer__q { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--bmg-espresso); }
.bmg-quick-answer__a { margin: 0; color: #5a4738; }

.bmg-cta { margin: 1.5rem 0; }

/* ---------- Cards / blog ---------- */
.bmg-archive { padding: 32px 0 60px; }
.bmg-archive__header { text-align: center; margin: 0 auto 2rem; max-width: 720px; }
.bmg-archive__desc { color: #5a4738; }
.bmg-card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bmg-card { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); overflow: hidden; box-shadow: var(--bmg-shadow-sm); }
.bmg-card__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.bmg-card__body { padding: 16px 18px; }
.bmg-card__title { margin: 0 0 .4rem; font-size: 1.1rem; }
.bmg-card__title a { color: var(--bmg-espresso); text-decoration: none; }
.bmg-card__excerpt { color: #5a4738; margin: 0; font-size: .92rem; }

.bmg-pagination { margin-top: 2rem; text-align: center; }

/* ---------- Breadcrumb ---------- */
.bmg-breadcrumb { font-size: .85rem; color: #5a4738; margin: 1rem 0 1.4rem; }
.bmg-breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bmg-breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--bmg-line); }
.bmg-breadcrumb a { color: #5a4738; }

/* ---------- 404 ---------- */
.bmg-error { padding: 32px 0 60px; display: grid; gap: 2rem; }
.bmg-error__nav h1 { font-size: 1.6rem; }
.bmg-error__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bmg-error__links a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--bmg-latte); text-decoration: none; color: var(--bmg-espresso); }

/* ---------- Search form ---------- */
.bmg-search { display: flex; gap: 8px; max-width: 480px; margin: 1rem 0; }
.bmg-search input[type="search"] { flex: 1; padding: 10px 14px; border: 1px solid var(--bmg-line); border-radius: 999px; font-size: 1rem; background: var(--bmg-surface); }

/* ---------- Footer ---------- */
.bmg-site-footer { background: var(--bmg-espresso); color: #efe0c8; padding: 56px 0 0; margin-top: 64px; }
.bmg-site-footer a { color: #efe0c8; }
.bmg-site-footer a:hover { color: var(--bmg-caramel); }
.bmg-site-footer__inner { display: grid; gap: 36px; grid-template-columns: 1fr; }
.bmg-site-footer__brand .bmg-brand { color: #fff; }
.bmg-site-footer__brand .bmg-disclosure, .bmg-site-footer__brand .bmg-safety { background: rgba(255,255,255,.06); color: #efe0c8; border-color: rgba(255,255,255,.12); }
.bmg-site-footer__tagline { color: #d9c4a6; }
.bmg-site-footer__menus { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.bmg-site-footer__menu h4 { color: #fff; font-family: var(--bmg-font-display); margin: 0 0 .6rem; font-size: 1rem; }
.bmg-site-footer__menu ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.bmg-site-footer__rule { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding: 18px 0; color: #c0a989; }

@media (min-width: 880px) {
	.bmg-site-footer__inner { grid-template-columns: 1.2fr 2fr; }
}

/* ---------- Category landing ---------- */
.bmg-cat { display: grid; gap: 36px; margin: 16px 0 40px; }
.bmg-cat__intro { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); padding: 22px 24px; }
.bmg-cat__lede { font-size: 1.08rem; color: var(--bmg-charcoal); margin: 0 0 .6rem; }
.bmg-cat__picks h2, .bmg-cat__compare h2, .bmg-cat__faq h2, .bmg-cat__related h2 { font-family: var(--bmg-font-display); margin: 0 0 1rem; font-size: 1.5rem; }
.bmg-cat__pick-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bmg-cat__pick { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--bmg-shadow-sm); }
.bmg-cat__pick-rank { font-family: var(--bmg-font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--bmg-gold); margin: 0; }
.bmg-cat__pick h3 { margin: 0; font-size: 1.1rem; }
.bmg-cat__pick-why { color: #5a4738; margin: 0; flex: 1; font-size: .92rem; }
.bmg-cat__pick .bmg-btn { align-self: flex-start; }
.bmg-cat__related-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bmg-cat__related-list a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--bmg-latte); text-decoration: none; color: var(--bmg-espresso); border: 1px solid var(--bmg-line); }
.bmg-cat__related-list a:hover { background: var(--bmg-caramel); color: #fff; border-color: var(--bmg-caramel); }

/* ---------- Gift generator bundle list ---------- */
.bmg-giftgen__bundle { background: rgba(184,137,58,.08); border-left: 4px solid var(--bmg-gold); padding: 12px 16px; border-radius: 10px; margin: 0 0 1rem; }
.bmg-giftgen__bundle ul { margin: 8px 0 0; padding-left: 18px; }

/* ---------- Style visualizer ---------- */
.bmg-styleviz { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius-lg); padding: 28px; box-shadow: var(--bmg-shadow); }
.bmg-styleviz__layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bmg-styleviz__layout { grid-template-columns: 1fr 1fr; align-items: start; } }
.bmg-styleviz__preview { background: var(--bmg-cream); border-radius: var(--bmg-radius); padding: 16px; display: grid; place-items: center; min-height: 320px; }
.bmg-styleviz__svg { width: 100%; max-width: 360px; filter: drop-shadow(0 20px 40px rgba(59,37,23,.18)); }
.bmg-styleviz__steam { animation: bmg-steam 3.5s ease-in-out infinite; transform-origin: center bottom; }
.bmg-styleviz__controls { display: grid; gap: 16px; }
.bmg-styleviz__group { border: 0; padding: 0; margin: 0; }
.bmg-styleviz__group legend { font-family: var(--bmg-font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bmg-gold); margin-bottom: 8px; }
.bmg-styleviz__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bmg-styleviz__opt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--bmg-line); border-radius: 999px; background: var(--bmg-cream); cursor: pointer; font-size: .9rem; transition: border-color .15s ease, background .15s ease, color .15s ease; color: var(--bmg-espresso); }
.bmg-styleviz__opt[aria-pressed="true"] { background: var(--bmg-caramel); border-color: var(--bmg-caramel); color: #fff; }
.bmg-styleviz__swatch { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }
.bmg-styleviz__result { background: var(--bmg-latte); border-radius: var(--bmg-radius); padding: 16px 18px; display: grid; gap: 8px; }
.bmg-styleviz__result-label { font-family: var(--bmg-font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--bmg-gold); margin: 0; }
.bmg-styleviz__result-kw { margin: 0; font-size: 1.1rem; color: var(--bmg-espresso); }

/* ---------- Trackers ---------- */
.bmg-tracker { background: var(--bmg-surface); border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius-lg); padding: 28px; box-shadow: var(--bmg-shadow); }
.bmg-tracker__header { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1.2rem; }
.bmg-tracker__title { margin: 0; font-size: 1.4rem; }
.bmg-tracker__subtitle { color: #5a4738; margin: 4px 0 0; }
.bmg-tracker__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bmg-tracker__actions .bmg-btn { padding: 10px 14px; font-size: .9rem; }
.bmg-tracker__table-wrap { overflow-x: auto; border: 1px solid var(--bmg-line); border-radius: var(--bmg-radius); background: var(--bmg-cream); }
.bmg-tracker__table { width: 100%; border-collapse: collapse; }
.bmg-tracker__table th, .bmg-tracker__table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--bmg-line); font-size: .92rem; }
.bmg-tracker__table thead th { background: var(--bmg-latte); font-family: var(--bmg-font-display); font-weight: 600; }
.bmg-tracker__table tbody tr:last-child td { border-bottom: 0; }
.bmg-tracker__row-actions { display: flex; gap: 10px; align-items: center; }
.bmg-tracker__row-actions button.bmg-link { background: none; border: 0; color: var(--bmg-terracotta); cursor: pointer; padding: 0; }
.bmg-tracker__empty { padding: 32px 16px; text-align: center; color: #5a4738; }
.bmg-tracker__privacy { margin-top: 12px; font-size: .85rem; color: #5a4738; }
.bmg-tracker__privacy a { color: var(--bmg-terracotta); }
.bmg-tracker__dialog { border: 0; border-radius: var(--bmg-radius-lg); padding: 0; max-width: 620px; width: calc(100% - 32px); background: var(--bmg-surface); box-shadow: var(--bmg-shadow-lg); }
.bmg-tracker__dialog::backdrop { background: rgba(59,37,23,.5); }
.bmg-tracker__form { padding: 24px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .bmg-tracker__form { grid-template-columns: 1fr; } }
.bmg-tracker__form-h { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.bmg-tracker__form-h h3 { margin: 0; }
.bmg-tracker__field { display: flex; flex-direction: column; gap: 6px; }
.bmg-tracker__field > span { font-size: .8rem; color: #5a4738; font-weight: 600; letter-spacing: .02em; }
.bmg-tracker__field input, .bmg-tracker__field select, .bmg-tracker__field textarea { padding: 10px 12px; border: 1px solid var(--bmg-line); border-radius: 10px; font-size: .95rem; background: var(--bmg-cream); font-family: inherit; color: inherit; width: 100%; }
.bmg-tracker__field--full { grid-column: 1 / -1; }
.bmg-tracker__field textarea { resize: vertical; min-height: 76px; }
.bmg-tracker__form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.bmg-tracker__empty { padding: 36px 16px; text-align: center; color: #5a4738; background: var(--bmg-cream); border: 2px dashed var(--bmg-line); border-radius: var(--bmg-radius); margin: 4px 0; }
.bmg-tracker__empty p { margin: 0; }
.bmg-tracker__table th, .bmg-tracker__table td { padding: 12px 14px; }
.bmg-tracker__table tbody tr:nth-child(even) { background: rgba(236,225,205,.4); }
.bmg-tracker__row-actions { white-space: nowrap; }

/* ---------- Sticky mobile CTA ---------- */
.bmg-mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; }
.bmg-mobile-cta__btn { width: 100%; justify-content: center; padding: 14px 18px; box-shadow: 0 12px 28px rgba(59,37,23,.25); }
@media (max-width: 720px) { .bmg-mobile-cta { display: block; } body { padding-bottom: 76px; } }

/* ---------- Misc utilities ---------- */
.bmg-page { padding: 24px 0 60px; }
