/* BestEVAccessories public Product decision page. */
/* stylelint-disable no-descending-specificity */
.bbn-product-page {
	--bbn-navy: #08152f;
	--bbn-ink: #0b1730;
	--bbn-muted: #5d6b83;
	--bbn-line: #dce3ec;
	--bbn-soft: #f4f7fa;
	--bbn-blue: #4965ed;
	--bbn-teal: #079b83;
	--bbn-cyan: #68e2d8;
	--bbn-amber: #8a5a08;
	box-sizing: border-box;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(1rem, 3vw, 2.5rem);
	color: var(--bbn-ink);
}

.bbn-product-page *,
.bbn-product-page *::before,
.bbn-product-page *::after {
	box-sizing: border-box;
}

.bbn-product-page [hidden] {
	display: none !important;
}

.bbn-product-page a:focus-visible,
.bbn-product-page button:focus-visible,
.bbn-product-page summary:focus-visible {
	outline: 3px solid var(--bbn-cyan);
	outline-offset: 3px;
}

.bbn-product-breadcrumb {
	margin-bottom: 1.25rem;
}

.bbn-product-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	color: var(--bbn-muted);
	font-size: 0.86rem;
	list-style: none;
}

.bbn-product-breadcrumb li {
	display: inline-flex;
	align-items: center;
}

.bbn-product-breadcrumb li + li::before {
	margin-right: 0.45rem;
	color: #95a1b4;
	content: "›";
}

.bbn-product-breadcrumb a {
	color: #40557d;
}

.bbn-product {
	display: grid;
	gap: 1.5rem;
}

.bbn-product-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(20rem, 0.96fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
	padding: clamp(1.25rem, 3vw, 2.5rem);
	border: 1px solid var(--bbn-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 55px rgb(8 21 47 / 9%);
}

.bbn-product-gallery,
.bbn-product-hero__content {
	min-width: 0;
}

.bbn-product-gallery__stage {
	position: relative;
	display: grid;
	min-height: 300px;
	place-items: center;
	overflow: hidden;
	border: 1px solid #e1e6ee;
	border-radius: 18px;
	background: #fff;
}

.bbn-product-gallery__primary {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	transition: opacity 160ms ease, transform 160ms ease;
}

.bbn-product-gallery.is-loading .bbn-product-gallery__primary {
	opacity: 0.45;
	transform: scale(0.99);
}

.bbn-product-gallery__nav {
	position: absolute;
	top: 50%;
	display: none;
	width: 46px;
	height: 46px;
	place-items: center;
	transform: translateY(-50%);
	border: 1px solid #d5dce7;
	border-radius: 50%;
	background: rgb(255 255 255 / 96%);
	box-shadow: 0 8px 24px rgb(11 29 62 / 14%);
	color: var(--bbn-ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}

.bbn-product-gallery.is-enhanced .bbn-product-gallery__nav {
	display: grid;
}

.bbn-product-gallery__nav--previous {
	left: 1rem;
}

.bbn-product-gallery__nav--next {
	right: 1rem;
}

.bbn-product-gallery__counter {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: rgb(8 21 47 / 82%);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 750;
}

.bbn-product-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
	gap: 0.6rem;
	margin: 0.7rem 0 0;
	padding: 0;
	list-style: none;
}

.bbn-product-gallery__thumbs a {
	display: block;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 10px;
	background: #fff;
	opacity: 0.72;
}

.bbn-product-gallery__thumbs a:hover,
.bbn-product-gallery__thumbs a[aria-current="true"] {
	border-color: var(--bbn-blue);
	opacity: 1;
}

.bbn-product-gallery__thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
}

.bbn-product-eyebrow,
.bbn-product-section-label,
.bbn-related-products__brand {
	margin: 0;
	color: #087b70;
	font-size: 0.73rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bbn-product-hero h1 {
	margin: 0.45rem 0 0.9rem;
	color: var(--bbn-ink);
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.03;
	letter-spacing: -0.04em;
}

.bbn-product-fit-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.1rem;
}

.bbn-product-fit-tags span {
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	padding: 0.3rem 0.58rem;
	border: 1px solid #cde9e5;
	border-radius: 999px;
	background: #eefaf8;
	color: #116f67;
	font-size: 0.78rem;
	font-weight: 700;
}

.bbn-product-verdict h2 {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bbn-product-verdict p {
	margin: 0;
	color: #465675;
	font-size: 1rem;
	line-height: 1.65;
}

.bbn-product-key-strengths,
.bbn-product-decision-list {
	display: grid;
	gap: 0.48rem;
	margin: 1rem 0;
	padding: 0;
	list-style: none;
}

.bbn-product-key-strengths li,
.bbn-product-decision-list li {
	position: relative;
	padding-left: 1.45rem;
	line-height: 1.45;
}

.bbn-product-key-strengths li::before,
.bbn-product-decision-list--positive li::before {
	position: absolute;
	left: 0;
	color: var(--bbn-teal);
	font-weight: 900;
	content: "✓";
}

.bbn-product-main-tradeoff {
	display: grid;
	gap: 0.2rem;
	margin: 1rem 0;
	padding: 0.8rem 0.9rem;
	border: 1px solid #edd9ad;
	border-radius: 11px;
	background: #fff8e9;
	color: #68470b;
}

.bbn-product-main-tradeoff strong {
	font-size: 0.78rem;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.bbn-product-offer-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
	align-items: center;
	margin: 1rem 0;
}

.bbn-product-price,
.bbn-product-availability,
.bbn-product-offer-checked {
	margin: 0;
}

.bbn-product-price {
	display: grid;
}

.bbn-product-price span,
.bbn-product-offer-checked {
	color: var(--bbn-muted);
	font-size: 0.74rem;
}

.bbn-product-price strong {
	font-size: 1.25rem;
}

.bbn-product-availability {
	color: #176f49;
	font-size: 0.85rem;
	font-weight: 750;
}

.bbn-product-offer-checked {
	width: 100%;
}

.bbn-product-amazon,
.bbn-product-finder-cta > a,
.bbn-related-products__analysis {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.72rem 1rem;
	border-radius: 10px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}

.bbn-product-needs ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.bbn-product-needs li {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--bbn-line);
	border-radius: 12px;
	background: #fff;
}

.bbn-product-needs__media {
	display: flex;
	aspect-ratio: 16 / 10;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-bottom: 1px solid var(--bbn-line);
	background: #fff;
}

.bbn-product-needs__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bbn-product-needs__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem;
}

.bbn-product-needs__body > a {
	color: var(--bbn-ink);
	font-weight: 750;
}

.bbn-product-needs__body span {
	color: var(--bbn-muted);
	font-size: 0.86rem;
}

.bbn-product-amazon,
.bbn-product-finder-cta > a {
	background: var(--bbn-blue);
	color: #fff !important;
}

.bbn-product-external-note,
.bbn-product-disclosure {
	margin: 0.55rem 0 0;
	color: var(--bbn-muted);
	font-size: 0.75rem;
}

.bbn-product-context-match {
	display: grid;
	grid-template-columns: minmax(130px, 0.25fr) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
	padding: 1.35rem 1.5rem;
	border: 1px solid #a8b9f3;
	border-radius: 16px;
	background: #f3f6ff;
}

.bbn-product-context-match [data-bbn-context-score] {
	display: block;
	margin-top: 0.2rem;
	color: #2947cf;
	font-size: 2.5rem;
	line-height: 1;
}

.bbn-product-context-match p {
	margin: 0;
}

.bbn-product-context-match ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.65rem 0 0;
	padding: 0;
	list-style: none;
}

.bbn-product-context-match li {
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	background: #fff;
	font-size: 0.8rem;
}

.bbn-product-section,
.bbn-product-linked,
.bbn-product-finder-cta {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--bbn-line);
	border-radius: 18px;
	background: #fff;
}

.bbn-product-section > h2,
.bbn-product-finder-cta h2 {
	margin: 0.25rem 0 0.85rem;
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	letter-spacing: -0.025em;
}

.bbn-product-decision-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
}

.bbn-product-decision-grid > div + div {
	padding-left: 2rem;
	border-left: 1px solid var(--bbn-line);
}

.bbn-product-decision-list--caution li::before {
	position: absolute;
	left: 0;
	color: var(--bbn-amber);
	font-weight: 900;
	content: "!";
}

.bbn-product-why__grid,
.bbn-product-missing__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.bbn-product-why__grid article,
.bbn-product-missing__grid article {
	display: flex;
	gap: 0.7rem;
	padding: 0.9rem;
	border: 1px solid var(--bbn-line);
	border-radius: 11px;
	background: var(--bbn-soft);
}

.bbn-product-why__grid > article > span {
	color: var(--bbn-teal);
	font-weight: 900;
}

.bbn-product-why__grid h3,
.bbn-product-missing__grid h3 {
	margin: 0;
	font-size: 0.9rem;
}

.bbn-product-why__grid p,
.bbn-product-missing__grid p {
	margin: 0.25rem 0 0;
	color: var(--bbn-muted);
	font-size: 0.83rem;
}

.bbn-evidence-lead {
	display: grid;
	grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	margin-bottom: 1rem;
	padding: 1rem;
	border-radius: 12px;
	background: #edf9f7;
}

.bbn-evidence-lead strong {
	color: #08776b;
	font-size: 1.05rem;
}

.bbn-evidence-lead p {
	margin: 0;
	color: #41546e;
}

.bbn-evidence-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
}

.bbn-evidence-summary div {
	padding: 0.85rem;
	border: 1px solid var(--bbn-line);
	border-radius: 10px;
}

.bbn-evidence-summary dt {
	color: var(--bbn-muted);
	font-size: 0.76rem;
	font-weight: 750;
}

.bbn-evidence-summary dd {
	margin: 0.25rem 0 0;
	font-weight: 800;
}

.bbn-product-evidence__details {
	margin-top: 1rem;
}

.bbn-product-evidence__details summary {
	min-height: 44px;
	cursor: pointer;
	color: #314b83;
	font-weight: 750;
	line-height: 44px;
}

.bbn-product-missing {
	border-color: #ead1ca;
	background: #fffaf8;
}

.bbn-product-specifications > .bbn-spec-group {
	margin-top: 0.75rem;
	border: 1px solid var(--bbn-line);
	border-radius: 12px;
	overflow: hidden;
}

.bbn-spec-group summary {
	display: flex;
	min-height: 52px;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	background: var(--bbn-soft);
	cursor: pointer;
}

.bbn-spec-group summary h3 {
	display: inline;
	margin: 0;
	font-size: 1rem;
}

.bbn-spec-group summary span {
	color: var(--bbn-muted);
	font-size: 0.78rem;
}

.bbn-spec-group dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0 1rem 1rem;
	column-gap: 1.5rem;
}

.bbn-spec-group dl div {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: 0.75rem;
	padding: 0.72rem 0;
	border-bottom: 1px solid #e8edf3;
}

.bbn-spec-group dt {
	color: #475873;
}

.bbn-spec-group dd {
	margin: 0;
	font-weight: 750;
	text-align: right;
	overflow-wrap: anywhere;
}

.bbn-product-commerce {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	background: var(--bbn-soft);
}

.bbn-product-commerce p {
	max-width: 680px;
	margin-bottom: 0;
	color: var(--bbn-muted);
}

.bbn-product-commerce .bbn-product-amazon {
	flex: 0 0 auto;
}

.bbn-product-linked a {
	font-weight: 800;
}

.bbn-product-alternatives > p:not(.bbn-product-section-label) {
	max-width: 760px;
	color: var(--bbn-muted);
}

.bbn-related-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.8rem;
	margin-top: 1.2rem;
}

.bbn-related-products article {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--bbn-line);
	border-radius: 12px;
	background: #fff;
}

.bbn-related-products__media {
	display: block;
	aspect-ratio: 4 / 3;
	padding: 0.5rem;
	background: #fff;
}

.bbn-related-products__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bbn-related-products__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0.85rem;
}

.bbn-related-products__content h3 {
	margin: 0.25rem 0;
	font-size: 0.94rem;
	line-height: 1.35;
}

.bbn-related-products__content h3 a {
	color: var(--bbn-ink);
	text-decoration: none;
}

.bbn-related-products__content > p:not(.bbn-related-products__brand) {
	margin: 0.35rem 0 0.8rem;
	color: var(--bbn-muted);
	font-size: 0.8rem;
}

.bbn-related-products__analysis {
	min-height: 42px;
	margin-top: auto;
	border: 1px solid var(--bbn-blue);
	color: var(--bbn-blue);
	font-size: 0.8rem;
}

.bbn-product-finder-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	background: var(--bbn-navy);
	color: #fff;
}

.bbn-product-finder-cta .bbn-product-section-label {
	color: var(--bbn-cyan);
}

.bbn-product-finder-cta h2 {
	color: #fff;
}

.bbn-product-finder-cta p:not(.bbn-product-section-label) {
	margin: 0;
	color: #c0cbe0;
}

@media (max-width: 900px) {

	.bbn-product-hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.bbn-product-gallery {
		max-width: 650px;
		margin: 0 auto;
	}

	.bbn-related-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bbn-product-why__grid,
	.bbn-product-missing__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {

	.bbn-product-page {
		padding-inline: 0.75rem;
	}

	.bbn-product-hero,
	.bbn-product-section,
	.bbn-product-linked,
	.bbn-product-finder-cta {
		border-radius: 14px;
	}

	.bbn-product-gallery__stage {
		min-height: 220px;
	}

	.bbn-product-gallery__nav {
		width: 44px;
		height: 44px;
	}

	.bbn-product-hero h1 {
		font-size: clamp(1.8rem, 9vw, 2.55rem);
		overflow-wrap: anywhere;
	}

	.bbn-product-amazon {
		width: 100%;
	}

	.bbn-product-context-match,
	.bbn-product-decision-grid,
	.bbn-evidence-lead,
	.bbn-evidence-summary,
	.bbn-spec-group dl,
	.bbn-product-why__grid,
	.bbn-product-missing__grid,
	.bbn-related-products {
		grid-template-columns: minmax(0, 1fr);
	}

	.bbn-product-needs ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.bbn-product-decision-grid > div + div {
		padding: 1.25rem 0 0;
		border-top: 1px solid var(--bbn-line);
		border-left: 0;
	}

	.bbn-spec-group dl div {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.3rem;
	}

	.bbn-spec-group dd {
		text-align: left;
	}

	.bbn-product-commerce,
	.bbn-product-finder-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.bbn-product-commerce .bbn-product-amazon,
	.bbn-product-finder-cta > a {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {

	.bbn-product-page *,
	.bbn-product-page *::before,
	.bbn-product-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Editorial-first product guide additions. */
.beva-product-page {
	background: transparent;
}

.beva-product-variant {
	margin: -0.35rem 0 1rem;
	color: var(--bbn-muted);
	font-size: 0.9rem;
}

.beva-quick-take {
	margin: 1.15rem 0;
	padding: 1rem 1.1rem;
	border-left: 4px solid var(--bbn-teal);
	border-radius: 0 12px 12px 0;
	background: #eefaf8;
}

.beva-quick-take h2 {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.beva-quick-take p,
.beva-fitment-note p {
	margin: 0;
	line-height: 1.65;
}

.beva-fitment-note {
	margin: 0 0 1.1rem;
	padding: 0.9rem 1rem;
	border: 1px solid #f0d6a4;
	border-radius: 12px;
	background: #fff8ea;
	color: #63440d;
}

.beva-fitment-note strong {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.beva-no-offer {
	margin: 1rem 0 0;
	padding: 0.8rem;
	border-radius: 10px;
	background: var(--bbn-soft);
	color: var(--bbn-muted);
}

.beva-product-guide {
	padding-inline: clamp(1.25rem, 6vw, 5.5rem);
}

.beva-product-guide__body {
	max-width: 780px;
	margin: 0 auto;
	color: #22314b;
	font-size: clamp(1rem, 1.25vw, 1.08rem);
	line-height: 1.78;
}

.beva-product-guide__body h2 {
	margin: 2.25rem 0 0.75rem;
	color: var(--bbn-ink);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.beva-product-guide__body h2:first-child {
	margin-top: 0.5rem;
}

.beva-product-guide__body h3 {
	margin: 1.6rem 0 0.5rem;
	color: var(--bbn-ink);
	font-size: 1.18rem;
}

.beva-product-guide__body p,
.beva-product-guide__body ul,
.beva-product-guide__body ol {
	margin: 0.8rem 0;
}

.beva-product-guide__body a {
	color: #284fd0;
	text-underline-offset: 0.18em;
}

.beva-product-specs dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid var(--bbn-line);
}

.beva-product-specs dl div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
	gap: 1rem;
	padding: 0.85rem;
	border-bottom: 1px solid var(--bbn-line);
}

.beva-product-specs dt {
	color: var(--bbn-muted);
}

.beva-product-specs dd {
	margin: 0;
	font-weight: 750;
	text-align: right;
}

.beva-product-sources > summary {
	min-height: 44px;
	color: #314b83;
	font-weight: 800;
	cursor: pointer;
}

.beva-product-sources p,
.beva-product-sources li {
	color: var(--bbn-muted);
}

@media (max-width: 600px) {

	.beva-product-guide {
		padding-inline: 1.15rem;
	}

	.beva-product-specs dl {
		grid-template-columns: minmax(0, 1fr);
	}

	.beva-product-specs dl div {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.25rem;
	}

	.beva-product-specs dd {
		text-align: left;
	}
}
