/* IMPRESIONO · precios por cantidad — colores corporativos: negro #0B0B0B, amarillo #FFD20A, blanco */
.icd-tiers {
	--icd-black: #0b0b0b;
	--icd-yellow: #ffd20a;
	--icd-white: #ffffff;
	--icd-line: #2a2a2a;
	margin: 1.25em 0;
	padding: 16px 18px;
	background: var(--icd-black);
	color: var(--icd-white);
	border: 1px solid var(--icd-yellow);
	border-radius: 10px;
	max-width: 420px;
}
.icd-tiers__title {
	margin: 0 0 10px;
	color: var(--icd-yellow);
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	font-size: .9em;
}
.icd-tiers__table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	background: transparent;
	border: 0;
}
.icd-tiers__table th,
.icd-tiers__table td {
	padding: 8px 10px;
	border: 0;
	border-bottom: 1px solid var(--icd-line);
	background: transparent;
	color: var(--icd-white);
	text-align: left;
}
.icd-tiers__table th {
	color: var(--icd-yellow);
	font-size: .8em;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.icd-tiers__table td.icd-tiers__price,
.icd-tiers__table th:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.icd-tiers__table tr.is-active td {
	background: var(--icd-yellow);
	color: var(--icd-black);
	font-weight: 700;
}
.icd-tiers__table tr.is-active td .amount,
.icd-tiers__table tr.is-active td bdi {
	color: var(--icd-black);
}
.icd-tiers__table .amount,
.icd-tiers__table bdi {
	color: var(--icd-white);
}
.icd-tiers__live {
	margin: 12px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: 1.05em;
}
.icd-tiers__live strong {
	color: var(--icd-yellow);
}
.icd-tiers__note {
	margin: 8px 0 0;
	font-size: .8em;
	color: #cfcfcf;
}

/* Total siempre visible */
.icd-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; padding: 14px 16px; background: #141414; border: 1px solid #ffd20a; border-radius: 12px; color: #fff; width: 100%; box-sizing: border-box; clear: both; }
.icd-total__lbl { text-transform: uppercase; letter-spacing: .06em; font-weight: 800; font-size: .8em; color: #cfcfcf; }
.icd-total__amount { color: #ffd20a; font-size: 1.6em; font-weight: 900; line-height: 1; }
.icd-total__detail { color: #a8a8a8; font-size: .85em; flex-basis: 100%; }
.icd-total.is-empty { border-color: #333; }
.icd-total.is-empty .icd-total__amount { color: #666; }

.icd-total { flex-basis: 100%; }

/* Barra fija con el total mientras se baja hasta «Añadir al carrito» */
.icd-totalbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9990; width: calc(100% - 24px); max-width: 560px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; background: #0b0b0b; border: 2px solid #ffd20a; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.6); color: #fff; box-sizing: border-box; transition: opacity .2s, transform .2s; }
.icd-totalbar.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }
.icd-totalbar__info { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.icd-totalbar__lbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #bdbdbd; }
.icd-totalbar__amount { color: #ffd20a; font-size: 1.45em; font-weight: 900; line-height: 1.1; }
.icd-totalbar__detail { flex-basis: 100%; font-size: 12px; color: #a8a8a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icd-totalbar.is-empty .icd-totalbar__amount { color: #666; }
.icd-totalbar__btn { flex: none; border: 0; border-radius: 12px; background: #ffd20a; color: #0b0b0b; font-weight: 900; font-size: 13px; text-transform: uppercase; padding: 12px 14px; cursor: pointer; max-width: 46%; line-height: 1.15; }
.icd-totalbar.is-empty .icd-totalbar__btn { background: #262626; color: #fff; }
body.icd-has-totalbar { padding-bottom: 100px; }
@media (max-width: 760px) { .icd-totalbar { bottom: 82px; } body.icd-has-totalbar { padding-bottom: 170px; } }
