.bbc-page {
	margin-bottom: 24px;
}

.bbc-updated {
	font-size: 14px;
	color: #555;
}

.bbc-highlights-heading {
	margin-top: 8px;
	margin-bottom: 14px;
}

.bbc-highlights {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 24px;
	align-items: stretch;
}

.bbc-highlight-card {
	display: flex;
	gap: 14px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-left: 4px solid #c0c0c0;
	border-radius: 8px;
	padding: 16px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	height: 100%;
}

.bbc-highlight-card--gold {
	border-left-color: #d4af37;
}

.bbc-highlight-card--silver {
	border-left-color: #c0c0c0;
}

.bbc-highlight-card--platinum {
	border-left-color: #e5e4e2;
}

.bbc-highlight-card--palladium {
	border-left-color: #ced0ce;
}

.bbc-metal-page .bbc-highlights {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.bbc-faq-item summary::-webkit-details-marker {
	margin-right: 6px;
}

.bbc-metal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 8px 0 16px;
	font-size: 14px;
}

.bbc-highlight-media img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: contain;
	border-radius: 4px;
	background: #f7f7f7;
}

.bbc-highlight-body {
	flex: 1 1 auto;
	min-width: 0;
}

.bbc-highlight-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.bbc-highlight-title a {
	color: inherit;
	text-decoration: none;
}

.bbc-highlight-title a:hover,
.bbc-highlight-title a:focus {
	color: #337ab7;
	text-decoration: underline;
}

.bbc-highlight-price {
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 4px;
}

.bbc-highlight-dealer {
	font-size: 13px;
	color: #555;
	margin-bottom: 6px;
}

.bbc-highlight-spreads {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 13px;
	margin-bottom: 6px;
}

.bbc-highlight-count {
	font-size: 12px;
	color: #777;
	margin-bottom: 8px;
}

.bbc-highlight-source {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
}

@media (max-width: 767px) {
	.bbc-highlights {
		grid-template-columns: 1fr;
	}
}

.bbc-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 8px 0 16px;
	padding-bottom: 4px;
}

.bbc-tab {
	flex: 0 0 auto;
	appearance: none;
	border: 1px solid #ccc;
	background: #fff;
	color: #333;
	border-radius: 4px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.bbc-tab:hover,
.bbc-tab:focus {
	border-color: #337ab7;
	outline: none;
}

.bbc-tab.is-active {
	background: #337ab7;
	border-color: #337ab7;
	color: #fff;
}

.bbc-table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fff;
}

.bbc-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	font-size: 14px;
}

.bbc-table th,
.bbc-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
	text-align: left;
	vertical-align: middle;
}

.bbc-table thead th {
	background: #f7f7f7;
	font-weight: 700;
	white-space: nowrap;
	border-bottom: 1px solid #ddd;
}

.bbc-summary-row {
	cursor: pointer;
}

.bbc-summary-row:hover,
.bbc-summary-row:focus {
	background: #f5f9fc;
	outline: none;
}

.bbc-summary-row.is-open {
	background: #eef5fb;
}

.bbc-summary-row.is-open .bbc-expand-hint {
	transform: rotate(90deg);
}

.bbc-expand-hint {
	display: inline-block;
	width: 1em;
	margin-right: 4px;
	color: #888;
	transition: transform 0.12s ease;
}

.bbc-col-product {
	min-width: 180px;
	font-weight: 600;
}

.bbc-best-price {
	font-weight: 700;
	white-space: nowrap;
}

.bbc-metal {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.bbc-metal--gold {
	background: #fff3cd;
	color: #856404;
}

.bbc-metal--silver {
	background: #e9ecef;
	color: #495057;
}

.bbc-metal--platinum {
	background: #d6eaf8;
	color: #1a5276;
}

.bbc-metal--palladium {
	background: #e8daef;
	color: #5b2c6f;
}

.bbc-spread-pos {
	color: #1e7e34;
	font-weight: 600;
}

.bbc-spread-neg {
	color: #c0392b;
	font-weight: 600;
}

.bbc-dealer-count-btn {
	appearance: none;
	border: none;
	background: transparent;
	color: #337ab7;
	font-weight: 600;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
}

.bbc-detail-row > td {
	padding: 0;
	background: #fafbfc;
	border-bottom: 1px solid #ddd;
}

.bbc-detail-inner {
	padding: 12px 16px 16px;
}

.bbc-detail-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	overflow: hidden;
}

.bbc-detail-table th,
.bbc-detail-table td {
	padding: 8px 10px;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.bbc-detail-table thead th {
	background: #f0f0f0;
	font-size: 12px;
}

.bbc-detail-best td {
	background: #eaf7ee !important;
}

.bbc-detail-table a {
	font-weight: 600;
}

.bbc-count {
	margin-top: 10px;
	font-size: 13px;
}

.bbc-support p {
	max-width: 720px;
	line-height: 1.6;
}

@media (max-width: 640px) {
	.bbc-detail-table,
	.bbc-detail-table thead,
	.bbc-detail-table tbody,
	.bbc-detail-table th,
	.bbc-detail-table td,
	.bbc-detail-table tr {
		display: block;
	}

	.bbc-detail-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.bbc-detail-table tr {
		border-bottom: 1px solid #ddd;
		padding: 10px 12px;
		margin: 0;
	}

	.bbc-detail-table td {
		border: none;
		padding: 4px 0;
	}

	.bbc-detail-table td::before {
		content: attr(data-label);
		display: block;
		font-size: 11px;
		font-weight: 700;
		color: #777;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	.bbc-detail-best td {
		box-shadow: inset 3px 0 0 #28a745;
	}
}
