/* BP9 Core components. Colors come from the Kadence global palette (Trust Navy) with fallbacks. */
:root {
	--bp9-accent: var(--global-palette1, #0C7A4F);
	--bp9-navy: var(--global-palette2, #0B2545);
	--bp9-text: var(--global-palette4, #26364D);
	--bp9-muted: var(--global-palette6, #5B6B80);
	--bp9-border: var(--global-palette7, #E3E9F0);
	--bp9-bg: var(--global-palette8, #F3F6F9);
	--bp9-radius: 10px;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bp9-hint { background: #fff8e1; border: 1px dashed #b7791f; color: #5f370e; padding: .5rem .75rem; border-radius: 6px; font-size: .9rem; }
.bp9-disclosure { background: var(--bp9-bg); border-left: 4px solid var(--bp9-accent); padding: .75rem 1rem; font-size: .9rem; color: var(--bp9-text); margin: 0 0 1.25rem; }
.bp9-updated { color: var(--bp9-muted); font-size: .875rem; margin-top: 1.5rem; }

.bp9-box { border: 1px solid var(--bp9-border); border-radius: var(--bp9-radius); padding: 1.25rem; margin: 1.5rem 0; background: #fff; }
.bp9-box > h2 { margin-top: 0; font-size: 1.25rem; }

/* buttons */
.bp9-cta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.bp9-btn { display: inline-block; background: var(--bp9-accent); color: #fff !important; font-weight: 700; text-decoration: none !important; padding: .7rem 1.1rem; border-radius: 8px; min-height: 44px; line-height: 1.3; }
.bp9-btn:hover, .bp9-btn:focus-visible { background: var(--bp9-navy); }
.bp9-btn:focus-visible, .bp9-link:focus-visible, .bp9-faq summary:focus-visible { outline: 3px solid var(--bp9-navy); outline-offset: 2px; }
.bp9-cta--small { margin: 0; }
.bp9-cta--small .bp9-btn { padding: .45rem .8rem; font-size: .875rem; min-height: 36px; }

/* score */
.bp9-score { display: inline-flex; align-items: baseline; gap: 2px; background: var(--bp9-navy); color: #fff; padding: .25rem .65rem; border-radius: 8px; margin: 0; }
.bp9-score strong { font-size: 1.35rem; }
.bp9-score span { font-size: .8rem; opacity: .85; }

/* summary (top of single review) */
.bp9-summary { border: 1px solid var(--bp9-border); border-radius: var(--bp9-radius); background: var(--bp9-bg); padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.bp9-summary__tag { font-size: 1.1rem; font-weight: 600; margin: 0 0 .6rem; color: var(--bp9-navy); }
.bp9-summary__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; color: var(--bp9-text); }

/* top-pick card */
.bp9-card { display: grid; grid-template-columns: 1fr; gap: 1rem; border: 1px solid var(--bp9-border); border-radius: var(--bp9-radius); padding: 1.25rem; margin: 1.25rem 0; background: #fff; position: relative; }
.bp9-card__badge { display: inline-block; background: var(--bp9-accent); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .02em; padding: .2rem .6rem; border-radius: 999px; margin: 0; justify-self: start; }
.bp9-card__body h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.bp9-card__tag { margin: 0 0 .5rem; color: var(--bp9-text); }
.bp9-card__price { margin: 0 0 .5rem; font-weight: 600; }
.bp9-card__img { max-width: 100%; height: auto; border-radius: 8px; }
.bp9-link { display: inline-block; margin-top: .25rem; font-weight: 600; }
@media (min-width: 640px) { .bp9-card:has(.bp9-card__media) { grid-template-columns: 180px 1fr; align-items: start; } }

/* table */
.bp9-table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--bp9-border); border-radius: var(--bp9-radius); }
.bp9-table-wrap:focus-visible { outline: 3px solid var(--bp9-navy); }
.bp9-table { width: 100%; border-collapse: collapse; min-width: 560px; margin: 0; }
.bp9-table th, .bp9-table td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid var(--bp9-border); vertical-align: middle; }
.bp9-table thead th { background: var(--bp9-navy); color: #fff; font-size: .85rem; position: sticky; top: 0; }
.bp9-table tbody tr:nth-child(even) { background: var(--bp9-bg); }
.bp9-table tbody tr:last-child td, .bp9-table tbody tr:last-child th { border-bottom: 0; }

/* rating bars */
.bp9-ratings ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.bp9-bar { display: grid; grid-template-columns: 9.5rem 1fr 2.5rem; align-items: center; gap: .75rem; margin: 0; }
.bp9-bar__track { display: block; height: 10px; background: var(--bp9-border); border-radius: 999px; overflow: hidden; }
.bp9-bar__track i { display: block; height: 100%; background: var(--bp9-accent); border-radius: 999px; }
.bp9-bar__val { font-weight: 700; text-align: right; }
@media (max-width: 520px) { .bp9-bar { grid-template-columns: 1fr 2.5rem; } .bp9-bar__track { grid-column: 1 / -1; order: 3; } }

/* pros / cons (icons so meaning is not color-only) */
.bp9-proscons { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.25rem 0; }
@media (min-width: 640px) { .bp9-proscons { grid-template-columns: 1fr 1fr; } }
.bp9-pros, .bp9-cons { border: 1px solid var(--bp9-border); border-radius: var(--bp9-radius); padding: 1rem 1.25rem; background: #fff; }
.bp9-pros { border-top: 4px solid var(--bp9-accent); }
.bp9-cons { border-top: 4px solid #B3261E; }
.bp9-proscons h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.bp9-proscons ul { list-style: none; margin: 0; padding: 0; }
.bp9-proscons li { position: relative; padding-left: 1.6rem; margin-bottom: .4rem; }
.bp9-pros li::before { content: "\2713"; position: absolute; left: 0; color: var(--bp9-accent); font-weight: 800; }
.bp9-cons li::before { content: "\2715"; position: absolute; left: 0; color: #B3261E; font-weight: 800; }

/* specs */
.bp9-specs { width: 100%; border-collapse: collapse; margin: 0; }
.bp9-specs th, .bp9-specs td { text-align: left; padding: .55rem .25rem; border-bottom: 1px solid var(--bp9-border); }
.bp9-specs th { width: 38%; color: var(--bp9-muted); font-weight: 600; }

/* verdict, trust, author */
.bp9-verdict { border-left: 4px solid var(--bp9-accent); background: var(--bp9-bg); }
.bp9-trust ul { margin: 0; padding-left: 1.2rem; }
.bp9-author { display: flex; gap: 1rem; align-items: center; }
.bp9-author img { border-radius: 50%; flex: none; }
.bp9-author p { margin: 0; }
.bp9-author__name { font-weight: 700; }

/* FAQ */
.bp9-faq { margin: 1.5rem 0; }
.bp9-faq__item { border: 1px solid var(--bp9-border); border-radius: 8px; padding: .75rem 1rem; margin-bottom: .5rem; background: #fff; }
.bp9-faq summary { cursor: pointer; font-weight: 600; }
.bp9-faq__item p { margin: .6rem 0 0; }

/* sticky mobile CTA */
.bp9-sticky { display: none; }
@media (max-width: 767px) {
	.bp9-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: .75rem; align-items: center; justify-content: space-between; background: #fff; border-top: 1px solid var(--bp9-border); padding: .6rem 1rem; box-shadow: 0 -4px 16px rgba(11, 37, 69, .12); }
	.bp9-sticky__name { font-weight: 700; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.bp9-sticky .bp9-cta { margin: 0; flex: none; }
	body.single-bp_product { padding-bottom: 4.5rem; }
}
@media (prefers-reduced-motion: no-preference) { .bp9-btn { transition: background-color .15s ease; } }

/* unavailable merchant + Amazon statement */
.bp9-btn--off { background: var(--bp9-border); color: var(--bp9-muted) !important; cursor: not-allowed; }
.bp9-amazon { color: var(--bp9-muted); font-size: .85rem; margin-top: 1.5rem; }

/* forms + advisor */
.bp9-signup label, .bp9-advisor label { display: block; font-weight: 600; margin-bottom: .25rem; }
.bp9-signup input[type=email], .bp9-signup input[type=text], .bp9-advisor select, .bp9-advisor textarea { width: 100%; max-width: 480px; padding: .6rem .7rem; border: 1px solid var(--bp9-muted); border-radius: 6px; min-height: 44px; font: inherit; }
.bp9-signup fieldset { border: 1px solid var(--bp9-border); border-radius: 8px; padding: .75rem 1rem; margin: 0 0 1rem; }
.bp9-check label, label.bp9-check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
.bp9-check input { margin-top: .3rem; }
.bp9-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.bp9-form-msg { min-height: 1.4em; font-weight: 600; color: var(--bp9-navy); }
.bp9-form-fine { color: var(--bp9-muted); font-size: .85rem; }
.bp9-adv-item { margin: 1.5rem 0; }
.bp9-adv-why { margin: 0 0 .25rem; color: var(--bp9-text); }
.bp9-btn[disabled] { opacity: .6; cursor: wait; }