/* MBP Text Quote & SMS Shield. Section look copied from mbp-battery-finder v0.1.2 (.mbp-bf__quote).
   0.2.0: colours, radius and fonts are CSS custom properties set per site from the settings (inline style);
   the fallbacks below are the 0.1.x values. */
.mbp-tq {
	--mbp-accent: #0b6e4f;
	--mbp-accent-dark: #084f39;
	--mbp-ink: #13212e;
	--mbp-muted: #5b6875;
	--mbp-line: #d8dee4;
	--mbp-soft: #f3f6f8;
	box-sizing: border-box;
	clear: both;
	padding: 28px 16px 32px;
	background: var(--mbp-section-bg, #fff);
	scroll-margin-bottom: 96px;
}
.mbp-tq *, .mbp-tq *::before, .mbp-tq *::after { box-sizing: border-box; }
.mbp-tq [hidden] { display: none !important; }
.mbp-tq__box {
	max-width: 760px;
	margin: 0 auto;
	padding: 18px 16px;
	border-radius: var(--mbp-radius, 12px);
	background: var(--mbp-soft);
	border: 1px solid var(--mbp-line);
	text-align: center;
	color: var(--mbp-ink);
	font-family: var(--mbp-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	font-size: 16px;
	line-height: 1.45;
}
.mbp-tq .mbp-tq__title {
	margin: 0 0 6px;
	font-family: var(--mbp-h-font, inherit);
	font-size: 1.1rem;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: var(--mbp-h-tt, none);
	color: var(--mbp-ink);
}
.mbp-tq .mbp-tq__body { margin: 0 0 14px; color: var(--mbp-muted); font-size: 1rem; }
.mbp-tq .mbp-tq__btn:not(.mbp-tq__btn--theme) {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	width: 100%; max-width: 320px; min-height: 50px; padding: 12px 18px;
	border-radius: var(--mbp-btn-radius, 12px); border: 2px solid transparent;
	background: var(--mbp-accent); color: var(--mbp-btn-ink, #fff);
	font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: normal; text-transform: var(--mbp-btn-tt, none);
	text-decoration: none; cursor: pointer; box-shadow: none;
}
.mbp-tq .mbp-tq__btn:not(.mbp-tq__btn--theme):hover { background: var(--mbp-accent-dark); color: var(--mbp-btn-ink, #fff); }
/* 0.2.0: button wearing the theme's own button classes ("Button classes" setting). Zero-specificity
   defaults only (beat the browser's <button> styles, lose to every theme rule), so the theme's colours,
   gradient, border, radius, font and hover apply exactly as on its own buttons. */
:where(.mbp-tq .mbp-tq__btn--theme) {
	-webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	font: inherit; margin: 0; border: 0; cursor: pointer; text-decoration: none; max-width: 100%;
}
.mbp-tq .mbp-tq__btn:focus-visible { outline: 3px solid rgba(11,110,79,.35); outline-offset: 2px; }
.mbp-tq .mbp-tq__note { margin: 8px 0 0; font-size: .85rem; color: var(--mbp-muted); }
body.mbp-tech .mbp-tq { display: none !important; }

/* Below the hero (0.1.1). The next theme section brings its own top padding (1.5-2.5rem), so keep the
   bottom tight; add it back when the next section has its own background band. Box width follows the
   theme's .wrap gutters. */
.mbp-tq.mbp-tq--hero { padding: 28px var(--gutter, 16px) 6px; background: transparent; }
.mbp-tq--hero:has(+ .blog-strip), .mbp-tq--hero:has(+ .mbp-map-section), .mbp-tq--hero:has(+ .cta-band), .mbp-tq--hero:has(+ .reviews) { padding-bottom: 28px; }
@media (max-width: 38rem) {
	.mbp-tq.mbp-tq--hero { padding: 20px var(--gutter, 16px) 2px; }
	.mbp-tq--hero:has(+ .blog-strip), .mbp-tq--hero:has(+ .mbp-map-section), .mbp-tq--hero:has(+ .cta-band), .mbp-tq--hero:has(+ .reviews) { padding-bottom: 20px; }
}

/* SMS Shield: converted sms:/tel: links keep the theme's own element + classes; only add a pointer. */
[data-mbp-tq-sms] { cursor: pointer; }
a.mbp-tq-inline { text-decoration: underline; color: inherit; }
/* Optional <button> mode: make the button inherit the surrounding look. */
button.mbp-tq-sms {
	-webkit-appearance: none; appearance: none; background: none; border: 0; border-radius: 0; margin: 0; padding: 0;
	font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit; text-align: inherit;
}
button.mbp-tq-inline { text-decoration: underline; }
