/**
 * LoteSuite — aviso de oferta por colección.
 *
 * Los colores salen de variables con alternativa, para que tome los del tema
 * si los define y se vea bien si no.
 */

.lote-aviso {
	--lote-texto: var(--rjk-text, #1f2430);
	--lote-tinta: #6b3fa0;
	--lote-fondo: #f4f0fb;
	--lote-borde: rgba(107, 63, 160, .25);

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 14px 0;
	padding: 11px 14px;
	border: 1px solid var(--lote-borde);
	border-radius: 8px;
	background: var(--lote-fondo);
	color: var(--lote-texto);
	font-size: .95em;
	line-height: 1.45;
}

.lote-icono {
	flex: 0 0 auto;
	width: 1.1em;
	height: 1.1em;
	background: var(--lote-tinta);
	-webkit-mask: var(--lote-svg) center / contain no-repeat;
	mask: var(--lote-svg) center / contain no-repeat;
	--lote-svg: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 7h-3.2A3 3 0 0 0 12 3.3 3 3 0 0 0 7.2 7H4a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1v8a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1m-5-2a1 1 0 1 1 0 2h-1V6a1 1 0 0 1 1-1M9 5a1 1 0 0 1 1 1v1H9a1 1 0 0 1 0-2m2 15H6v-7h5zm0-9H5V9h6zm7 9h-5v-7h5zm1-9h-6V9h6z'/%3E%3C/svg%3E");
}

.lote-texto strong { font-weight: 700; }

.lote-enlace {
	margin-inline-start: auto;
	font-size: .9em;
	font-weight: 600;
	color: var(--lote-tinta);
	white-space: nowrap;
}

/* En el carrito, un poco más de aire por arriba */
.woocommerce-cart .lote-aviso,
.wp-block-woocommerce-cart .lote-aviso { margin: 0 0 18px; }
