.bc2 {
	--bc2-text: #172334;
	--bc2-muted: #687484;
	--bc2-soft: #f0f0f0;
	--bc2-line: #c5ccd5;
	--bc2-accent: var(--nectar-accent-color, #f39400);
	--bc2-on-accent: #172334;
	container-type: inline-size;
	display: grid;
	gap: 12px;
	color: var(--bc2-text);
}

.bc2 *,
.bc2 *::before,
.bc2 *::after { box-sizing: border-box; }

.bc2__title { margin: 0; font-size: 22px; line-height: 1.15; }

/* Superficie y margen siempre en una fila, alineados por abajo */
.bc2__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-items: end;
}

.bc2__field { display: grid; gap: 4px; min-width: 0; }

.bc2__field label {
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bc2__field input,
.bc2__field select {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--bc2-line);
	border-radius: 4px;
	background: #fff;
	color: var(--bc2-text);
	font: inherit;
	font-size: 16px;
	font-weight: 400;
}

.bc2__field select:disabled { background: var(--bc2-soft); color: var(--bc2-text); opacity: 1; }

.bc2__results {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 10px;
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--bc2-soft);
}

.bc2__results > div { min-width: 0; }

.bc2__results small {
	display: block;
	margin-bottom: 2px;
	color: var(--bc2-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.bc2__results strong {
	display: block;
	font-size: 24px;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
	white-space: nowrap;
}

.bc2__results span { display: block; margin-top: 2px; color: var(--bc2-muted); font-size: 12px; }

.bc2__note { margin: 0; color: var(--bc2-muted); font-size: 13px; line-height: 1.45; }

.bc2__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 10px 18px;
	border: 2px solid var(--bc2-accent);
	border-radius: 4px;
	background: var(--bc2-accent);
	color: var(--bc2-on-accent);
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.bc2__button:hover { filter: brightness(1.05); }
.bc2__button:disabled { cursor: not-allowed; filter: none; opacity: .55; }
.bc2__button--outline { background: #fff; }
.bc2__button--outline:hover { background: var(--bc2-soft); filter: none; }

.bc2 :focus-visible { outline: 2px solid var(--bc2-text); outline-offset: 2px; }

.bc2__status { margin: 0; font-size: 14px; }
.bc2__status:empty { display: none; }

.bc2__status a,
.bc2__link {
	color: var(--bc2-text);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bc2__link { justify-self: center; font-size: 14px; }

.bc2--product { gap: 10px; margin-bottom: 20px; padding: 18px; border-radius: 15px; background: #fafafa; }
.bc2--product .bc2__results { background: #fff; }
.bc2--product .bc2__title { font-size: 18px; }

/* Según el ancho de la caja, no de la pantalla */
@container (max-width: 420px) {
	.bc2__results { gap: 8px; padding: 10px; }
	.bc2__results strong { font-size: 19px; }
}

@container (max-width: 300px) {
	.bc2__results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bc2__results > div:last-child { grid-column: 1 / -1; }
}
