/*
 * BBM Gear Data: product cards and picks table.
 * Fonts come from the theme. Override colors in Additional CSS, e.g.
 *   .bbm-gcard, .bbm-gtable-wrap { --bbm-g-accent: #d9480f; }
 */
.bbm-gcard,
.bbm-gtable-wrap {
	--bbm-g-accent: #d9480f;
	--bbm-g-accent-dark: #b93d0c;
	--bbm-g-accent-soft: #fff4e6;
	--bbm-g-ink: #0f172a;
	--bbm-g-muted: #64748b;
	--bbm-g-border: #e2e8f0;
	--bbm-g-tile: #f8fafc;
	--bbm-g-good: #2b8a3e;
	--bbm-g-good-soft: #ebfbee;
	--bbm-g-radius: 16px;
	box-sizing: border-box;
}
.bbm-gcard *,
.bbm-gtable-wrap * {
	box-sizing: border-box;
}
/* Themes (Zeen) fade images in with their own scripts; always show ours. */
.bbm-gcard img,
.bbm-gtable img {
	opacity: 1 !important;
	visibility: visible !important;
}
.bbm-gicon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

/* ---------- Product card ---------- */
.bbm-gcard {
	position: relative;
	display: grid;
	grid-template-columns: minmax(200px, 36%) minmax(0, 1fr);
	margin: 1.25em 0 1.75em;
	overflow: hidden;
	border: 1px solid var(--bbm-g-border);
	border-radius: var(--bbm-g-radius);
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 6px 20px rgba(15, 23, 42, 0.06);
	line-height: 1.45;
	color: var(--bbm-g-ink);
}
.bbm-gcard-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25em;
	background: #fff;
	border-right: 1px solid #f1f5f9;
}
.bbm-gcard-media > a {
	display: block;
	width: 100%;
	border: 0 !important;
	box-shadow: none !important;
	background: none !important;
}
.bbm-gcard-media img {
	display: block;
	width: 100% !important;
	max-width: 280px !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	margin: 0 auto !important;
	object-fit: contain;
	transition: transform 0.3s ease;
}
.bbm-gcard:hover .bbm-gcard-media img {
	transform: scale(1.04);
}
.bbm-gcard-media.is-wide {
	padding: 0;
}
.bbm-gcard-media.is-wide > a {
	position: absolute;
	inset: 0;
}
.bbm-gcard-media.is-wide img {
	position: absolute;
	inset: 0;
	max-width: none !important;
	height: 100% !important;
	aspect-ratio: auto;
	object-fit: cover;
}
.bbm-gcard-ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5em;
	padding: 3em 0;
	color: var(--bbm-g-muted);
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.bbm-gcard-ph .bbm-gicon {
	width: 56px;
	height: 56px;
	stroke-width: 1.2;
	color: #cbd5e1;
}
.bbm-gcard-credit {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 0.1em 0.45em;
	border-radius: 4px;
	background: rgba(15, 23, 42, 0.55);
	color: #fff;
	font-size: 0.66em;
}
.bbm-gcard-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.1em;
	min-width: 0;
	padding: 1.5em 1.75em 1.4em;
}
.bbm-gcard-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35em;
}
.bbm-gcard-award {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin-bottom: 0.25em;
	padding: 0.3em 0.75em 0.3em 0.6em;
	border-radius: 999px;
	background: var(--bbm-g-accent-soft);
	color: var(--bbm-g-accent-dark);
	font-size: 0.74em;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.3;
	text-transform: uppercase;
}
.bbm-gcard-award .bbm-gicon {
	width: 14px;
	height: 14px;
	stroke-width: 2.2;
}
.bbm-gcard-title {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--bbm-g-ink);
	font-size: 1.4em;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.bbm-gcard-num {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 1.6em;
	height: 1.6em;
	border-radius: 50%;
	background: var(--bbm-g-ink);
	color: #fff;
	font-size: 0.66em;
}
.bbm-gcard-meta {
	margin: 0 !important;
	color: var(--bbm-g-muted);
	font-size: 0.85em;
}
.bbm-gcard-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1.5em;
	margin: 0 !important;
	padding: 0;
}
.bbm-gcard-specs > div {
	padding: 0.65em 0;
	border-top: 1px solid #eef2f6;
	min-width: 0;
}
.bbm-gcard-specs dt {
	display: flex;
	align-items: center;
	gap: 0.4em;
	margin: 0 0 0.15em;
	color: var(--bbm-g-muted);
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.bbm-gcard-specs .bbm-gicon {
	width: 14px;
	height: 14px;
	color: var(--bbm-g-accent);
}
.bbm-gcard-specs dd {
	margin: 0;
	color: var(--bbm-g-ink);
	font-size: 0.92em;
	font-weight: 600;
	line-height: 1.35;
}
.bbm-gcard-hl {
	display: grid;
	gap: 0.3em;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	font-size: 0.92em;
}
.bbm-gcard-hl li {
	display: flex;
	gap: 0.45em;
	margin: 0 !important;
	padding: 0 !important;
}
.bbm-gcard-hl li::before {
	content: none !important;
}
.bbm-gcard-hl .bbm-gicon {
	margin-top: 0.1em;
	padding: 2px;
	border-radius: 50%;
	background: var(--bbm-g-good-soft);
	color: var(--bbm-g-good);
	stroke-width: 2.6;
}
.bbm-gcard-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.9em 1.25em;
	padding-top: 1.1em;
	border-top: 1px solid var(--bbm-g-border);
}
.bbm-gcard-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.4em;
	margin: 0 !important;
	line-height: 1.2;
}
.bbm-gcard-pnum {
	color: var(--bbm-g-ink);
	font-size: 1.55em;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.bbm-gcard-prest {
	color: var(--bbm-g-muted);
	font-size: 0.9em;
	font-weight: 600;
}
.bbm-gcard-plabel,
.bbm-gcard-pnote {
	flex-basis: 100%;
	color: var(--bbm-g-muted);
	font-size: 0.75em;
}
.bbm-gcard-buy {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

/* Buttons */
.bbm-gbtn,
.bbm-gbtn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.72em 1.25em;
	border-radius: 10px;
	font-size: 0.92em;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	background-image: none !important;
	box-shadow: none;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.bbm-gbtn-main,
.bbm-gbtn-main:visited,
.bbm-gcard a.bbm-gbtn.bbm-gbtn-main,
.bbm-gtable-wrap a.bbm-gbtn.bbm-gbtn-main,
.bbm-gcard a.bbm-gbtn.bbm-gbtn-main:visited,
.bbm-gtable-wrap a.bbm-gbtn.bbm-gbtn-main:visited {
	border: 0 !important;
	background-color: var(--bbm-g-accent);
	color: #fff !important;
	box-shadow: 0 2px 6px rgba(217, 72, 15, 0.25);
}
.bbm-gbtn-main:hover,
.bbm-gbtn-main:focus,
.bbm-gcard a.bbm-gbtn.bbm-gbtn-main:hover,
.bbm-gtable-wrap a.bbm-gbtn.bbm-gbtn-main:hover,
.bbm-gcard a.bbm-gbtn.bbm-gbtn-main:focus,
.bbm-gtable-wrap a.bbm-gbtn.bbm-gbtn-main:focus {
	background-color: var(--bbm-g-accent-dark);
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(217, 72, 15, 0.3);
}
.bbm-gbtn-arrow {
	font-size: 1.35em;
	line-height: 0.8;
	margin-top: -0.08em;
}
.bbm-gbtn-alt,
.bbm-gbtn-alt:visited,
.bbm-gcard a.bbm-gbtn.bbm-gbtn-alt,
.bbm-gtable-wrap a.bbm-gbtn.bbm-gbtn-alt,
.bbm-gcard a.bbm-gbtn.bbm-gbtn-alt:visited,
.bbm-gtable-wrap a.bbm-gbtn.bbm-gbtn-alt:visited {
	border: 1px solid #cbd5e1 !important;
	background-color: #fff;
	color: var(--bbm-g-ink) !important;
}
.bbm-gbtn-alt:hover,
.bbm-gbtn-alt:focus,
.bbm-gcard a.bbm-gbtn.bbm-gbtn-alt:hover,
.bbm-gtable-wrap a.bbm-gbtn.bbm-gbtn-alt:hover,
.bbm-gcard a.bbm-gbtn.bbm-gbtn-alt:focus,
.bbm-gtable-wrap a.bbm-gbtn.bbm-gbtn-alt:focus {
	border-color: var(--bbm-g-ink) !important;
	color: var(--bbm-g-ink) !important;
}

/* Higher-specificity selectors above beat Zeen's `.block-html-content span > a { color: inherit !important }` on Tipi pages. */

/* ---------- Picks at a glance ---------- */
.bbm-gtable-wrap {
	margin: 1.25em 0 2em;
	overflow: hidden;
	border: 1px solid var(--bbm-g-border);
	border-radius: var(--bbm-g-radius);
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 6px 20px rgba(15, 23, 42, 0.06);
}
.bbm-gtable {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	color: var(--bbm-g-ink);
	line-height: 1.35;
}
.bbm-gtable-row {
	display: grid;
	grid-template-columns: 1.75em 64px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 0 1em;
	margin: 0 !important;
	padding: 0.85em 1.25em !important;
	border-top: 1px solid #eef2f6;
	transition: background-color 0.15s ease;
}
.bbm-gtable-row::before,
.bbm-gtable-row::marker {
	content: none !important;
}
.bbm-gtable-row:first-child {
	border-top: 0;
}
.bbm-gtable-row:hover {
	background: #fffaf5;
}
.bbm-gtable-rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75em;
	height: 1.75em;
	border-radius: 50%;
	background: var(--bbm-g-ink);
	color: #fff;
	font-size: 0.8em;
	font-weight: 800;
}
.bbm-gtable-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
}
.bbm-gtable-thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: contain;
}
.bbm-gtable-thumb.is-wide img {
	object-fit: cover;
}
.bbm-gtable-thumb.is-ph {
	background: #f8fafc;
}
.bbm-gtable-ph span {
	display: none;
}
.bbm-gtable-ph .bbm-gicon {
	width: 26px;
	height: 26px;
	color: #cbd5e1;
}
.bbm-gtable-names {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
	min-width: 0;
}
.bbm-gtable-award {
	color: var(--bbm-g-accent-dark);
	font-size: 0.7em;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.bbm-gtable-name {
	font-size: 1em;
	font-weight: 800;
}
.bbm-gtable-name a {
	color: var(--bbm-g-ink) !important;
	text-decoration: none !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
}
.bbm-gtable-name a:hover {
	color: var(--bbm-g-accent) !important;
}
.bbm-gtable-specline {
	color: var(--bbm-g-muted);
	font-size: 0.82em;
}
.bbm-gtable-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	white-space: nowrap;
}
.bbm-gtable-pnum {
	font-size: 1.05em;
	font-weight: 800;
}
.bbm-gtable-prest {
	color: var(--bbm-g-muted);
	font-size: 0.75em;
}
.bbm-gtable-buy .bbm-gbtn {
	padding: 0.6em 1em;
	font-size: 0.85em;
}

.bbm-gear-missing {
	padding: 0.6em 0.9em;
	border: 1px dashed #c92a2a;
	color: #c92a2a;
	font-size: 0.9em;
}

/* ---------- Phones ---------- */
@media (max-width: 680px) {
	.bbm-gcard {
		grid-template-columns: 1fr;
	}
	.bbm-gcard-media {
		border-right: 0;
		border-bottom: 1px solid #f1f5f9;
		padding: 1em;
	}
	.bbm-gcard-media img {
		max-width: 220px !important;
	}
	.bbm-gcard-media.is-wide {
		aspect-ratio: 16 / 10;
	}
	.bbm-gcard-body {
		padding: 1.15em 1.15em 1.2em;
	}
	.bbm-gcard-title {
		font-size: 1.25em;
	}
	.bbm-gcard-foot {
		flex-direction: column;
		align-items: stretch;
	}
	.bbm-gcard-buy {
		flex-direction: column;
	}
	.bbm-gcard-buy .bbm-gbtn {
		width: 100%;
	}
	.bbm-gtable-row {
		grid-template-columns: 56px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb names names"
			"thumb price buy";
		gap: 0.4em 0.85em;
		padding: 0.9em 1em !important;
	}
	.bbm-gtable-rank {
		display: none;
	}
	.bbm-gtable-thumb {
		grid-area: thumb;
		align-self: start;
		width: 56px;
		height: 56px;
	}
	.bbm-gtable-names {
		grid-area: names;
	}
	.bbm-gtable-price {
		grid-area: price;
		flex-direction: row;
		align-items: baseline;
		gap: 0.35em;
	}
	.bbm-gtable-buy {
		grid-area: buy;
	}
	.bbm-gtable-specline,
	.bbm-gtable-prest {
		display: none;
	}
}
